/* --- 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,
figure, figcaption, footer, header, hgroup,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  line-height: 1.5;
  scroll-behavior: smooth;
  background: #fff;
  color: #171717;
}
body {
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #171717;
  min-height: 100vh;
  word-break: break-word;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #171717;
  text-decoration: none;
  transition: color 0.25s;
}
a:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}
ul, ol {
  list-style-position: inside;
}
strong { font-weight: 700; }

/* --- BRAND COLORS/TYPOGRAPHY --- */
:root {
  --primary: #171717;
  --secondary: #4d4d4d;
  --accent: #F9F9F9;
  --brand-blue: #1A365D;
  --brand-aqua: #58A6A6;
  --white: #fff;
  --black: #171717;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #BDBDBD;
  --gray-400: #828282;
  --gray-500: #636363;
  --shadow: 0 2px 24px rgba(23,23,23,0.08), 0 1.5px 6px rgba(26,54,93,0.10);
  --radius: 14px;
}

body {
  background: var(--accent);
  color: var(--primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.2;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p, ul, ol, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem; /* 18px */
  color: var(--primary);
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 16px;
  padding-left: 0;
  margin-bottom: 20px;
}

/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.header-row, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

@media (max-width: 900px) {
  .header-row, .footer-row {
    gap: 18px;
  }
}

/* --- MAIN SECTION SPACING --- */
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* --- FLEXBOX LAYOUTS --- */
.card-container, .feature-grid, .services-list, .benefit-grid, .faq-accordion, .testimonial-grid, .testimonials-slider, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
}
.feature-grid > div, .benefit-grid > div, .services-list > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.25s, border-color 0.2s;
}
.feature-grid > div:hover, .benefit-grid > div:hover, .services-list > div:hover {
  box-shadow: 0 4px 30px rgba(23,23,23,0.15);
  border-color: var(--brand-aqua);
}

.testimonial-grid {
  gap: 32px;
  margin-bottom: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 24px 18px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 8px rgba(23,23,23,0.06);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 340px;
  border: 1.5px solid var(--gray-200);
  transition: box-shadow 0.25s, border-color 0.18s;
}
.testimonial-card:hover, .testimonial-card.featured {
  box-shadow: 0 4px 32px rgba(26,54,93,0.08);
  border-color: var(--brand-blue);
}
.testimonial-card p {
  color: var(--primary);
  font-style: italic;
  font-size: 1.15rem;
}
.testimonial-card span {
  color: var(--secondary);
  font-size: 1rem;
  font-style: normal;
}

.rating-summary, .star-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.rating-summary img, .star-rating img {
  width: 28px; height: 28px;
}
.rating-summary span, .star-rating span {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 1.15rem;
}

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 32px 24px;
  gap: 16px;
}
.cta-box h2 {
  font-size: 2rem;
  text-align: center;
  color: var(--brand-blue);
  margin-bottom: 16px;
}

.step-timeline, .steps-list ol {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style-type: decimal;
}
.step-timeline li, .steps-list li {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(26,54,93,0.06);
  padding: 18px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.13rem;
  margin-bottom: 10px;
}

.success-story {
  border-left: 4px solid var(--brand-blue);
  background: var(--gray-100);
  padding: 20px 20px 20px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 24px;
}

/* --- BUTTONS & CTA --- */
.cta, .primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-blue);
  color: var(--accent);
  border-radius: var(--radius);
  padding: 15px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.20s, transform 0.18s;
  box-shadow: 0 0.5px 8px rgba(26,54,93,0.05);
  text-decoration: none;
  margin-top: 18px;
}
.cta:hover, .primary:hover, .cta:focus, .primary:focus {
  background: var(--black);
  color: var(--brand-aqua);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 28px rgba(42, 44, 66, 0.14);
}

/* --- HEADER NAVIGATION --- */
header {
  background: var(--white);
  box-shadow: 0 1px 10px rgba(26,54,93,0.05);
  margin-bottom: 0;
}
.nav-main {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-main a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 0;
  position: relative;
  transition: color 0.22s;
  font-weight: 600;
}
.nav-main a.cta {
  background: var(--brand-blue);
  color: var(--accent);
  padding: 10px 22px;
  border-radius: 21px;
  font-weight: 700;
  transition: background 0.18s, color 0.14s;
}
.nav-main a.cta:hover {
  background: var(--black);
  color: var(--brand-aqua);
}
.nav-main a:hover, .nav-main a:focus {
  color: var(--brand-blue);
}

header img {
  height: 36px; width: auto;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--brand-blue);
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.17s, color 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--gray-200);
  color: var(--black);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  display: none; /* Shown on .active */
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(17,17,17,0.87);
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  transition: transform 0.35s cubic-bezier(.8,.2,.4,1), opacity 0.28s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu.slide-in {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu.slide-out {
  transform: translateX(100vw);
  opacity: 0;
}
.mobile-menu-close {
  background: transparent;
  color: var(--accent);
  border: none;
  font-size: 2.2rem;
  padding: 18px 25px 8px 5px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.14s, background 0.16s;
  z-index: 1250;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-aqua);
  background: rgba(120,120,120,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-end;
  padding: 44px 32px 24px 0;
  width: 100vw;
  height: 100vh;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.16s, color 0.12s;
  margin-left: auto;
  min-width: 60vw;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* Only show burger on mobile */
@media (max-width: 1024px) {
  .nav-main {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none!important;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(180deg, var(--white) 65%, var(--gray-100) 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 48px;
  margin-bottom: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 630px;
}
.hero h1 {
  color: var(--brand-blue);
  font-size: 2.4rem;
  text-shadow: 0 2px 10px rgba(23,23,23,0.04);
}
.hero p {
  font-size: 1.22rem;
  color: var(--gray-500);
}

/* --- FOOTER --- */
footer {
  background: var(--brand-blue);
  color: var(--white);
  font-size: 1rem;
  margin-top: 68px;
  box-shadow: 0 -1px 14px rgba(26,54,93,0.09);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer-row a img {
  height: 38px; width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-aqua);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--accent);
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 5px;
  vertical-align: text-bottom;
  opacity: 0.88;
}
.footer-contact span {
  font-size: 1rem;
  line-height: 1.7;
  display: flex;
  align-items: center;
}
.footer-copyright {
  text-align: center;
  color: var(--gray-200);
  font-size: 0.98rem;
  padding: 12px 0;
  background: var(--brand-blue);
}

/* --- FORMATTING for Lists, FAQ, Other Features --- */
.benefits-list, .value-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 22px;
}
.benefits-list li, .value-list li {
  background: var(--gray-100);
  border-radius: 9px;
  padding: 9px 17px;
  font-size: 1.06rem;
  margin-bottom: 3px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 7px;
}
.faq-accordion > div {
  background: var(--white);
  padding: 20px 20px;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 1px 7px rgba(23,23,23,0.04);
  transition: box-shadow 0.13s;
}
.faq-accordion > div:hover {
  box-shadow: 0 2px 16px rgba(26,54,93,0.09);
}

.contact-info p, .content-wrapper > p {
  font-size: 1.11rem;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--secondary);
}
.contact-info img {
  width: 18px; height: 18px;
  opacity: 0.65;
}

/* --- MICRO-INTERACTIONS, BUTTONS TRANSITION --- */
button, .cta, .primary, .mobile-menu-toggle, .mobile-menu-close {
  transition: all 0.18s cubic-bezier(.59,.17,.55,1.01);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  box-shadow: 0 -1px 12px rgba(26,54,93,0.09);
  padding: 24px 28px;
  z-index: 2000;
  gap: 26px;
  opacity: 1;
  transition: transform 0.36s cubic-bezier(.9,.1,.5,1), opacity 0.28s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  font-size: 1.08rem;
  color: var(--primary);
  margin-right: 18px;
  flex: 2;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}
.cookie-btn, .cookie-btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  background: var(--gray-200);
  color: var(--black);
  font-weight: 700;
  margin-left: 0;
  transition: background 0.17s, color 0.12s;
}
.cookie-btn-primary {
  background: var(--brand-blue);
  color: var(--white);
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: var(--black);
  color: var(--brand-aqua);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--gray-300);
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,23,23,0.74);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.hide {
  opacity: 0 !important;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  box-shadow: 0 8px 48px rgba(17,17,17,0.17);
  border-radius: var(--radius);
  width: 96%;
  max-width: 420px;
  padding: 40px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: transform 0.35s cubic-bezier(.7,.2,.2,1), opacity 0.26s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translateY(80px) scale(0.99);
}
.cookie-modal-title {
  font-size: 1.4rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-100);
  border-radius: 9px;
  padding: 9px 16px;
}
.cookie-switch {
  width: 42px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--gray-300);
  border-radius: 24px;
  transition: background .2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--brand-blue);
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  color: var(--black);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--brand-aqua);
}

/* --- VISUAL ELEMENTS --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- SPACING & VISUAL HIERARCHY --- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:last-of-type {
  margin-bottom: 0;
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 1130px) {
  .container {
    max-width: 95vw;
  }
  .feature-grid > div, .benefit-grid > div, .services-list > div {
    min-width: 170px;
  }
}
@media (max-width: 920px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  .feature-grid, .benefit-grid, .services-list,
  .testimonial-grid, .testimonials-slider, .content-grid {
    gap: 14px;
  }
  .benefit-grid > div, .feature-grid > div { padding: 16px 10px; }
}
@media (max-width: 768px) {
  .header-row, .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding-top: 9px; padding-bottom: 9px;
  }
  .footer-row { padding-top: 18px; padding-bottom: 12px; }
  .section, main section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .content-wrapper, .cta-box {
    gap: 13px;
    padding: 12px 0;
  }
  .testimonial-grid, .testimonials-slider {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid, .benefit-grid, .services-list {
    flex-direction: column;
    gap: 14px;
  }
  .cta-box h2 { font-size: 1.25rem; }
  .footer-contact, .footer-nav {
    flex-direction: column;
    gap: 7px;
    font-size: 1rem;
  }
  .hero {
    min-height: 250px;
    padding: 22px 0 30px 0;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.03rem; }
  .container {
    padding-left: 7px;
    padding-right: 7px;
    max-width: 100vw;
  }
  .cta, .primary {
    font-size: 1rem;
    padding: 11px 16px;
    margin-top: 7px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .step-timeline, .steps-list ol {
    gap: 10px;
  }
}

@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    gap: 13px;
  }
  .footer-row {
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact span { font-size: .93rem; }
}

/* --- FOCUS STATES FOR ACCESSIBILITY --- */
.cta:focus, .primary:focus, a.cta:focus, .cookie-btn:focus, .cookie-btn-primary:focus {
  outline: 2px solid var(--brand-aqua);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(88,166,166,.19);
}
.mobile-nav a:focus {
  background: var(--brand-aqua);
  color: var(--black);
}

/* --- MISC --- */
::-webkit-input-placeholder { color: var(--gray-400); }
::-moz-placeholder { color: var(--gray-400); }
:-ms-input-placeholder { color: var(--gray-400); }
::placeholder { color: var(--gray-400); opacity: 1; }

/* --- PRINT --- */
@media print {
  * {
    background: transparent!important;
    color: #000!important;
    box-shadow: none!important;
    text-shadow: none!important;
  }
  a, a:visited { text-decoration: underline; }
  .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none!important;
  }
  footer, .footer-copyright {
    color: #000;
    background: transparent;
  }
}
