/* === CSS RESET & NORMALIZE === */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #E6E9F2;
  min-height: 100vh;
  color: #2D4D9B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

ul,ol {
  list-style: none;
}
img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2D4D9B;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #FFB300;
}
button, input, select, textarea {
  font-family: inherit;
}

/* === BRAND COLORS & TYPOGRAPHY === */
:root {
  --primary: #2D4D9B;
  --primary-dark: #244080;
  --secondary: #E6E9F2;
  --accent: #FFB300;
  --white: #fff;
  --black: #191C22;
  --shadow: 0 8px 24px rgba(45,77,155,0.08);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary-dark);
}
p { margin-bottom: 20px; }

strong, b { color: var(--primary); font-weight: 700; }

.subheadline {
  font-size: 1.25rem;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 28px;
  font-weight: 500;
}

/* === CONTAINER & LAYOUT UTILS (FLEX PATTERNS) === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-container {
  display: flex; flex-wrap: wrap;
  gap: 24px;
}
.card { margin-bottom: 20px; position: relative; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }

.content-grid {
  display: flex; flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px 20px 20px;
  min-width: 210px; max-width: 340px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.2s;
}

.feature-item:hover, .feature-item:focus-within {
  transform: translateY(-6px) scale(1.023) rotate(-1deg);
  box-shadow: 0 12px 32px rgba(255,179,0,0.08), var(--shadow);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.steps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px; max-width: 340px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover {
  transform: translateY(-3px) scale(1.025) rotate(1deg);
  box-shadow: 0 16px 38px rgba(45,77,155,0.10), var(--shadow);
}
.step img { width: 44px; margin-bottom: 16px; }

.faq-list, .text-section ul {
  margin: 0 0 12px 0;
}

.faq-list, .text-section ul, .usp ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  margin-bottom: 10px;
}

.usp ul li, .text-section ul li, .comparison ul li {
  position: relative;
  padding-left: 36px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.usp ul li img, .text-section ul li img, .comparison ul li img {
  position: absolute;
  left: 0; top: 2px;
  width: 24px;
  height: 24px;
}

.map-embed {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  margin-top: 16px;
  padding: 20px;
  font-style: italic;
}
.office-hours ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fee-explanation {
  font-size: .97rem;
  color: var(--primary-dark);
  margin-top: 10px;
  margin-bottom: 18px;
}

/* === HERO & CTA SECTIONS === */
.hero {
  background: var(--accent);
  color: #244080;
  padding: 70px 0 90px 0;
  border-radius: 0 0 36px 36px;
  position: relative;
  box-shadow: 0 8px 40px rgba(255,179,0,.12);
  overflow: hidden;
  animation: heroFadeIn 1.0s cubic-bezier(0.55,1.4,0.4,1) 0s 1;
}
@keyframes heroFadeIn {
  0% { opacity:0; transform:translateY(-24px); }
  100% { opacity:1; transform:translateY(0); }
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1,
.hero .subheadline {
  color: #244080;
}

.cta-section {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 20px;
  text-align: center;
  animation: ctaJump 0.8s cubic-bezier(0.72,1.45,0.41,0.87) 0s 1;
}
@keyframes ctaJump {
  0% { transform:scale(0.97) translateY(12px); opacity:.2; }
  80% { transform:scale(1.037) translateY(-4px) }
  100% { transform:scale(1.0) translateY(0); opacity:1; }
}
.cta-section h2, .cta-section p {
  color: #244080;
}

.cta-btn {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  border-radius: 32px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 13px 38px;
  margin-top: 18px;
  margin-bottom: 6px;
  box-shadow: 0 4px 14px rgba(45,77,155,.14);
  cursor: pointer;
  transition: background .18s, box-shadow .16s, color .2s;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: #244080 !important;
  box-shadow: 0 8px 32px rgba(255,179,0,.18);
  outline: none;
}

/* === HEADER & NAVIGATION (DESKTOP) === */
header {
  background: var(--white);
  box-shadow: 0 3px 20px rgba(45,77,155,.06);
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 22px 0 15px 0;
  position: relative;
  z-index: 10;
}
header img {
  width: 154px;
  margin-right: 32px;
}
header nav {
  display: flex;
  gap: 18px;
  font-family: var(--font-display);
  flex-wrap: wrap;
}
header nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 22px;
  transition: background 0.13s, color 0.16s;
  color: var(--primary-dark);
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
header .cta-btn {
  margin-left: 22px;
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #244080;
  font-size: 2.2rem;
  border: none;
  border-radius: 12px;
  position: fixed; top: 20px; right: 16px;
  z-index: 106;
  padding: 7px 20px 6px 20px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,179,0,0.13);
  transition: background .18s, color .19s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(44,64,128,0.93);
  z-index: 120;
  transform: translateX(100%);
  transition: transform .37s cubic-bezier(.77,1.6,.44,.96);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--accent);
  color: #244080;
  font-size: 2.1rem;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  align-self: flex-end;
  margin: 24px 22px 0 0;
  padding: 4px 16px 6px 16px;
  box-shadow: 0 3px 15px rgba(255,179,0,.11);
  transition: background .18s, color .19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: transparent;
  padding: 13px 0;
  display: block;
  border-radius: 18px;
  width: 100vw;
  text-align: center;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #244080;
}

@media (max-width: 1020px) {
  header { flex-wrap: wrap; gap: 12px; }
  header img { margin-bottom: 10px; }
}
@media (max-width: 950px) {
  header nav { gap: 7px; }
}
@media (max-width: 870px) {
  .container { padding-left: 7px; padding-right: 7px; }
  header .cta-btn { margin-left: 12px; }
}
@media (max-width: 760px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 10px 0;
  }
  header img { margin-bottom: 8px; margin-right: 0; }
}
@media (max-width: 1080px) {
  .features-grid, .steps-list {
    gap: 20px;
  }
}
@media (max-width: 850px) {
  .features-grid, .steps-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item, .step {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
}

/* === RESPONSIVE: MOBILE FIRST === */
@media (max-width: 768px) {
  .hero { padding: 38px 0 36px 0; border-radius: 0 0 23px 23px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.3rem; }
  .subheadline { font-size: 1.05rem; }
  .section, .cta-section { padding: 14px 7px; margin-bottom: 36px; border-radius: 12px; }
  .testimonial-card, .feature-item, .step, .faq-item { padding: 14px 12px; border-radius: 10px; }
  .card-container, .features-grid, .content-grid, .steps-list { gap: 14px; }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav, header .cta-btn {
    display: none;
  }
  .text-image-section { flex-direction: column !important; gap: 20px; align-items: stretch; }
  .testimonials .content-wrapper { padding: 0; }
}

/* === TABLES (PRICING TABLE) === */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  padding: 14px 24px;
  text-align: left;
}
.pricing-table thead {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
}
.pricing-table tbody tr {
  border-top: 1px solid #e7e9ef;
}
.pricing-table td {
  color: var(--primary-dark);
}
@media (max-width: 650px) {
  .pricing-table, .pricing-table thead, .pricing-table tbody, .pricing-table th, .pricing-table td, .pricing-table tr {
    display: block;
  }
  .pricing-table th, .pricing-table td {
    padding: 9px 12px;
  }
}

/* === TESTIMONIALS === */
.testimonials .testimonial-card {
  background: var(--white);
  color: #20233c;
  border-left: 7px solid var(--accent);
  box-shadow: 0 3px 16px rgba(255,179,0,0.11), var(--shadow);
  margin-bottom: 24px;
  transition: transform .14s, box-shadow .19s;
}
.testimonial-card:hover {
  transform: scale(1.025) translateY(-3px) rotate(-1deg);
  box-shadow: 0 10px 39px rgba(255,179,0,0.17), var(--shadow);
}
.testimonial-meta {
  font-style: italic;
  font-size: .98rem;
  color: var(--primary-dark);
  margin-left: 13px;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 34px 0 20px 0;
  font-size: .98rem;
  font-family: var(--font-body);
  box-shadow: 0 -5px 34px rgba(45,77,155,0.07);
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 22px;
}
.footer-nav a {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: .95rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--white);
}
.company-info {
  margin-bottom: 18px;
  line-height: 1.45;
}
.company-info img {
  vertical-align: middle;
  width: 18px;
  margin: 0 3px 0 10px;
}
.legal-info p {
  font-size: .92rem;
  color: #BCC7E3;
  margin-top: 15px;
}
@media (max-width: 640px) {
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 10px;
  }
}

/* === COOKIE CONSENT === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 28px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 28px rgba(45,77,155,0.18);
  z-index: 200;
  animation: bannerSlideIn .6s cubic-bezier(.66,2.02,.5,1.07) 0s 1;
}
@keyframes bannerSlideIn {
  0% { transform: translateY(100%); opacity:.1; }
  70% { transform: translateY(-16px); }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: var(--white);
  font-size: .98rem;
  margin-bottom: 0;
  margin-right: 18px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 2px 14px rgba(255,179,0,0.12);
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .accept {
  background: var(--accent);
  color: #244080;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--white);
  color: var(--accent);
}
.cookie-banner .reject {
  background: var(--white);
  color: var(--primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--accent);
  color: #244080;
}
.cookie-banner .settings {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--white);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--accent);
  color: #244080;
}
@media (max-width: 690px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 11px;
  }
  .cookie-banner p {
    margin-right: 0;
  }
}
/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 210;
  background: rgba(44,64,128,0.75);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .19s;
  animation: cookieModalFade .23s cubic-bezier(.97,0,1,1.34) 0s 1;
}
@keyframes cookieModalFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 24px;
  min-width: 330px;
  max-width: 90vw;
  box-shadow: 0 12px 42px rgba(45,77,155,0.13);
  padding: 30px 40px 24px 40px;
  font-family: var(--font-body);
  position: relative;
  animation: modalPop 0.38s cubic-bezier(.64,1.75,.42,.85);
}
@keyframes modalPop {
  0% { transform: scale(.88) translateY(42px); opacity: .17; }
  70% { transform: scale(1.06) translateY(-8px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #244080;
  font-size: 1.7rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .13s, color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-modal h2 {
  color: var(--primary-dark);
  font-size: 1.23rem;
  margin-bottom: 14px;
}
.cookie-modal-category {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-modal-category label {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--accent);
  margin-left: 10px;
}
.cookie-modal-category .essential {
  color: #989aab;
  font-size: .99rem;
  font-weight: 500;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-actions .save {
  background: var(--accent);
  color: #244080;
}
.cookie-modal-actions .save:hover, .cookie-modal-actions .save:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-modal-actions .cancel {
  background: var(--white);
  color: var(--primary);
  border: 1.2px solid var(--accent);
}
.cookie-modal-actions .cancel:hover, .cookie-modal-actions .cancel:focus {
  background: var(--accent);
  color: #244080;
}
@media (max-width: 500px) {
  .cookie-modal { padding: 20px 7px 18px 7px; min-width: unset; }
}

/* === GENERAL: ANIMATED ELEMENTS & FUN FONTS === */
h1, h2, h3 {
  text-shadow: 0 2px 0 rgba(255,255,255,0.18), 0 4px 12px rgba(255,179,0,0.05);
  letter-spacing: 0.01em;
}
.feature-item img, .step img {
  filter: drop-shadow(0 2px 2px rgba(255,179,0,.13));
  animation: shakeIcon 1.5s cubic-bezier(.38,1.8,.29,.73) infinite alternate;
}
@keyframes shakeIcon {
  0% { transform: rotate(-4deg) scale(1); }
  100% { transform: rotate(7deg) scale(1.09); }
}
.cta-btn {
  animation: pulse 2.2s cubic-bezier(.22,1.2,.38,.96) infinite alternate;
}
@keyframes pulse {
  0% {box-shadow: 0 0 0 rgba(255,179,0,0.14);}
  100% {box-shadow: 0 6px 32px rgba(255,179,0,.23), 0 0 24px rgba(255,179,0,0.06);}
}

/* === SPACING BETWEEN CARDS & SECTIONS === */
.features-grid > *, .steps-list > *, .faq-list > *, .card-container > *, .content-grid > * {
  margin-bottom: 0 !important;
}
section {
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

/* === TABLES (OTHER) === */
table { border-spacing: 0; }
th, td { margin: 0; }

/* === FOCUS STATES === */
a:focus, button:focus {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
}

/* === PRINT ASSIST === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  main { padding: 0; }
  .container, .section, .content-wrapper { box-shadow: none !important; }
}
