/* ======= 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,
b, 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, fieldset,
figcaption, figure, footer, header, hgroup, main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F6F8FC;
  color: #1d2650;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s linear;
}
ul, ol {
  list-style: none;
}
button, [type="button"], [type="submit"] {
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}


/* ======= BRAND VARIABLES ======= */
:root {
  --primary: #294381;
  --secondary: #22A39F;
  --accent: #FFFFFF;
  --text-main: #1d2650;
  --text-light: #495078;
  --bg-light: #F6F8FC;
  --bg-card: #fff;
  --shadow-main: 0 4px 24px 0 rgba(41,67,129,.09);
  --radius: 16px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}


/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

p, li, table, th, td, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
}
p {
  margin-bottom: 16px;
}
.subheadline {
  color: var(--secondary);
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 28px;
}
strong, b {
  font-weight: 700;
}
blockquote {
  border-left: 4px solid var(--secondary);
  margin: 0 0 16px 0;
  padding: 0 0 0 20px;
  font-style: italic;
  color: var(--primary);
  background: #f3fbfa;
  border-radius: var(--radius-sm);
}

/* Geometric, structured numeric/figure font for pricing/tables */
.pricing-grid .plan-card p,
.comparison-table td, .comparison-table th {
  font-family: var(--font-display);
}


/* ======= LAYOUT CONTAINER CLASSES ======= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
/* Section spacing & alignment patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container,
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-main);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 24px;
}
.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;
  padding: 20px;
  margin-bottom: 20px;
  background: #f9fafc;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 18px 0 rgba(41,67,129,.04);
  border-left: 4px solid var(--primary);
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(41,67,129,0.15);
  transform: translateY(-2px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-main);
  padding: 18px 24px;
}


/* ======= HEADER, NAV & LOGO ======= */
header {
  background: var(--accent);
  box-shadow: 0 2px 20px 0 rgba(41,67,129,.09);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
}
header a img {
  height: 36px;
  width: auto;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 10px 0;
  position: relative;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
nav a.cta {
  background: var(--secondary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 48px;
  margin-left: 12px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px 0 rgba(34,163,159,.08);
  transition: background .18s, box-shadow .2s, color .2s;
  font-weight: 800;
  letter-spacing: .02em;
  border: 2px solid var(--secondary);
}
nav a.cta:hover,
nav a.cta:focus {
  background: #17b4b1;
  color: #fff;
  box-shadow: 0 6px 16px 0 rgba(34,163,159,.11);
}
nav a:hover, nav a:focus {
  color: var(--secondary);
  background: #e8fafd;
}
.mobile-menu-toggle {
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 16px;
  background: var(--primary);
  color: #fff;
  margin-left: 16px;
  display: none;
  align-items: center;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 0 0 2px #d7efee;
}
@media (max-width: 1024px) {
  nav {
    gap: 16px;
  }
}

/* ======= MOBILE MENU ======= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.8,0,.22,1);
  z-index: 9990;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 16px 0 rgba(41,67,129,0.05);
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--primary);
  background: transparent;
  margin: 0 24px 24px 0;
  border-radius: 8px;
  transition: background .15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #f1fbfb;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.12rem;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}


/* ======= FOOTER ======= */
footer {
  background: #fff;
  border-top: 3px solid #e3e8f6;
  padding: 48px 0 24px 0;
  margin-top: 40px;
}
footer .container {
  align-items: flex-start;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
footer nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 0;
  border-radius: 4px;
}
footer nav a:hover,
footer nav a:focus {
  background: #f3fbfa;
  color: var(--secondary);
}
footer section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
footer h4 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
footer ul li {
  display: flex;
  align-items: center;
  font-size: .98rem;
  margin-bottom: 7px;
  color: var(--text-light);
  gap: 12px;
}
footer ul li img {
  width: 18px;
  height: 18px;
}
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 24px 0 0 0;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f4f6fb;
  width: 40px; height: 40px;
  transition: background .2s;
}
.social-links a:hover {
  background: var(--secondary);
}
footer p {
  font-size: 0.93rem;
  color: #7481a5;
  margin-top: 18px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* ======= HERO/BANNER SECTION ======= */
.hero {
  width: 100%;
  padding: 56px 0 48px 0;
  background: linear-gradient(90deg,#f8fafd 70%,#f0fcf7 100%);
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}
.hero h1 {
  font-size: 2.25rem;
  color: var(--primary);
  font-family: var(--font-display);
}
.hero p.subheadline {
  font-size: 1.19rem;
  color: var(--secondary);
}


/* ======= CTA BUTTON ======= */
.cta {
  background: var(--secondary);
  color: #fff!important;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .02em;
  padding: 12px 34px;
  border-radius: 48px;
  font-size: 1.08rem;
  outline: none;
  border: 2px solid var(--secondary);
  box-shadow: 0 2px 10px 0 rgba(34,163,159,.08);
  transition: background .18s, box-shadow .22s, color .19s;
  text-align: center;
  margin-top: 12px;
  display: inline-block;
}
.cta:hover,
.cta:focus {
  background: #17b4b1;
  color: #fff;
  box-shadow: 0 6px 16px 0 rgba(34,163,159,.11);
}



/* ======= CARDS (Service, Plan, FAQ) ======= */
.service-card, .plan-card, .faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-main);
  padding: 32px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 330px;
  border: 2.5px solid #e3e8f6;
}
.service-card h3, .plan-card h3 {
  color: var(--primary);
  font-size: 1.18rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.service-card p, .plan-card p, .faq p {
  font-size: 1rem;
  color: var(--text-main);
}
.plan-card p {
  font-size: 1.09rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  margin-top: 6px;
}

@media (max-width:900px) {
  .card-container, .pricing-grid {
    gap: 16px;
    justify-content: center!important;
  }
  .service-card, .plan-card {
    min-width: 90vw;
    max-width: 100vw;
    padding: 18px 5vw;
  }
}


/* ======= TESTIMONIALS & REVIEWS ======= */
.testimonials {
  background: #f7fafd;
  margin-bottom: 50px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.testimonial-card blockquote {
  font-size: 1.01rem;
  color: var(--primary);
  margin-bottom: 0;
  background: none;
  border-radius: 0;
  border: none;
  padding: 0;
}
.testimonial-card p {
  color: var(--text-main);
  font-size: .98rem;
  margin: 0 0 0 0;
}
.testimonial-card strong {
  color: var(--secondary);
  font-weight: 700;
}
@media (max-width: 650px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 13px 12px;
  }
}


/* ======= PRICING GRID & COMPARISON TABLE ======= */
.pricing-grid {
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.plan-card ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 0;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 32px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px 0 rgba(41,67,129,.06);
  overflow: hidden;
}
.comparison-table th, .comparison-table td {
  text-align: center;
  padding: 13px 7px;
  border-bottom: 1.2px solid #e3e8f6;
}
.comparison-table th {
  background: #f3fbfa;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.01rem;
  text-transform: uppercase;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table td {
  color: #3c4c7b;
  font-size: .97rem;
}
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--secondary);
}


/* ======= FAQ SECTION ======= */
.faq h3 {
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--primary);
  margin: 18px 0 6px 0;
}
.faq p {
  color: var(--text-light);
  font-size: .99rem;
}

/* ======= BLOG/ARTICLE ======= */
article {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-main);
  padding: 32px 24px;
  margin-bottom: 24px;
  border-left: 4px solid var(--secondary);
}
article h2 {
  color: var(--primary);
  font-size: 1.19rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 8px;
}
article p {
  margin-bottom: 0;
}

/* ======= LEGAL / POLICY SECTION ======= */
.legal, .legal .text-section {
  background: #f9fafc;
  border-radius: var(--radius);
  box-shadow: 0 2px 18px 0 rgba(41,67,129,0.05);
  padding: 32px 28px;
  margin-bottom: 30px;
}
.legal .text-section h2 {
  font-size: 1.075rem;
  margin-top: 16px;
  color: var(--secondary);
}
.legal .text-section ul {
  margin-left: 18px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-main);
}

/* ======= MAP & CONTACT SECTIONS ======= */
.office-info {
  background: #f7fafd;
  border-radius: var(--radius);
  box-shadow: 0 2px 18px 0 rgba(41,67,129,0.05);
  margin-bottom: 34px;
  padding: 18px 20px 12px 20px;
}
.office-info ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}
.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-main);
  padding: 22px 20px;
}
.map-embed {
  border-radius: var(--radius);
  background: #f3fbfa;
  padding: 18px;
  margin-top: 18px;
}

/* ======= THANK YOU PAGE ======= */
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 38px 0 48px;
}
.thank-you h1 {
  color: var(--secondary);
}


/* ======= COOKIE BANNER & MODAL ======= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -3px 24px 0 rgba(41,67,129,.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 20px 15vw 20px 24px;
  z-index: 99999;
  font-size: 1rem;
  transition: transform .28s cubic-bezier(.7,0,.25,1), opacity .2s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; transform: translateY(100%); }
.cookie-banner p { color: var(--primary); font-size: 1rem; max-width: 700px; }
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.015em;
  border-radius: var(--radius-sm);
  border: none;
  padding: 10px 22px;
  font-size: 1rem;
  margin-right: 2px;
  transition: background .18s, color .2s, box-shadow .22s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #17b4b1;
  color: #fff;
  box-shadow: 0 0 0 2px #e7f1f1;
}
.cookie-btn.secondary {
  background: #F6F8FC;
  color: var(--primary);
  border: 1.5px solid #e3e8f6;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #e7eef1;
  color: var(--secondary);
}

.cookie-modal-backdrop {
  position: fixed; z-index: 99999;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(29,38,80,0.36);
  opacity: 1;
  transition: opacity .18s;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 44px 0 rgba(41,67,129,.10);
  padding: 38px 30px 24px 30px;
  min-width: 350px;
  min-height: 240px;
  max-width: 98vw;
  z-index: 999999;
  position: relative;
  font-size: 1rem;
  display: flex; flex-direction: column; gap: 24px;
}
.cookie-modal h2 {
  font-size: 1.14rem;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-left: 6px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e3e8f6;
  border-radius: 16px;
  transition: background .2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(41,67,129,.07);
  transition: transform .2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 24px;
  font-size: 1.6rem;
  background: none;
  color: var(--primary);
  border-radius: 8px;
  padding: 2px 10px;
  transition: background .18s;
}
.cookie-modal-close:hover {
  background: #f7fafd;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-category label {
  font-family: var(--font-display);
  font-size: 1rem;
}
.cookie-category .cookie-desc {
  font-size: .92rem;
  color: #495078;
}
.cookie-category .always-on {
  background: #e3e8f6;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 4px 10px;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 20px 6vw 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: .99rem;
  }
  .cookie-modal {
    min-width: 94vw;
    max-width: 99vw;
    padding: 26px 10px 18px 10px;
  }
}


/* ======= RESPONSIVE BEHAVIOR ======= */
@media (max-width: 1024px) {
  .container {
    max-width: 970px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.14rem; }
  section, .section { padding: 32px 0; }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.04rem; }
  .section, section { padding: 18px 0; margin-bottom: 32px; }
  .hero {
    padding: 24px 0 16px 0;
  }
  .content-grid, .card-container, .pricing-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}


/* ======= FINE DETAILS & MICRO-INTERACTIONS ======= */
.card,
.service-card, .plan-card, .feature-item {
  transition: box-shadow .17s, transform .17s;
}
.card:hover, .service-card:hover, .plan-card:hover, .feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(41,67,129,0.13);
  transform: translateY(-3px) scale(1.0115);
}

::-webkit-scrollbar {
  width: 10px; background: #e3e8f6;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 16px;
}

/* ======= ACCESSIBILITY & HOVER SUPPORT ======= */
@media (hover: none) {
  .cta:hover, .cta:focus, nav a:hover, nav a:focus, .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--secondary);
    color: #fff;
  }
}

/* ======= UTILITIES ======= */
.text-section {
  margin-bottom: 12px;
}
.gap-8 { gap: 8px!important; }
.gap-16 { gap: 16px!important; }
.gap-24 { gap: 24px!important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }

