/* ===================== 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;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, serif;
  background: #F2F2F2;
  color: #122B3A;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #122B3A;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #39B5AE;
  outline: none;
}
ul, ol {
  padding-left: 32px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: 'Open Sans', Arial, serif;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #E4E4E4;
}
th {
  background: #e7ecee;
  font-weight: bold;
}

/* ===================== BRAND FONTS & TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #122B3A;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #18445D;
}
strong {
  font-weight: 600;
}
.subheadline {
  font-size: 1.125rem;
  color: #446175;
  font-family: 'Open Sans', Arial, serif;
  margin-bottom: 16px;
  font-style: italic;
}
p, li {
  color: #253b4a;
  font-size: 1rem;
  margin-bottom: 12px;
}

/* ========== CONTAINER & LAYOUTS ========== */
.container {
  max-width: 1100px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(18,43,58,0.04);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 340px;
  padding: 28px 24px;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
  border: 1px solid #eee;
}
.card:hover {
  box-shadow: 0 6px 40px 0 rgba(18,43,58,0.14);
  transform: translateY(-4px) scale(1.02);
}
.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;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(18,43,58,0.07);
  border: 1px solid #e4e4e4;
  margin-bottom: 20px;
  flex: 1 1 320px;
  max-width: 520px;
  min-width: 220px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Extra spacing to prevent overlap as enforced */
section, .section {
  margin-bottom: 60px !important;
}
section:last-child, .section:last-child {
  margin-bottom: 0!important;
}

/* ========== HEADER & NAV ========== */
header {
  background: #fff;
  border-bottom: 1px solid #e4e4e4;
  box-shadow: 0 1px 10px 0 rgba(18,43,58,0.04);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 20px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  color: #122B3A;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #39B5AE;
  color: #fff;
}
.main-nav img {
  height: 38px;
  margin-right: 18px;
}
.nav-cta {
  background: #39B5AE;
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 18px;
  margin-left: 18px;
  box-shadow: 0 2px 10px rgba(57,181,174,0.08);
  transition: box-shadow 0.18s, background 0.16s;
}
.nav-cta:hover, .nav-cta:focus {
  background: #122B3A;
  color: #fff;
  box-shadow: 0 4px 20px rgba(18,43,58,0.13);
}

/* ========== HERO SECTION ========== */
.hero {
  background: #e7ecee; /* light-muted brand accent */
  padding: 60px 0 48px 0;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}

/* ========== FEATURES & CARDS ========== */
.features {
  padding-bottom: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.feature-grid > div {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  box-shadow: 0 2px 11px 0 rgba(18,43,58,0.06);
  padding: 26px 18px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  flex: 1 1 250px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(57,181,174,0.16);
  transform: translateY(-3px) scale(1.015);
}
.feature-grid img {
  width: 36px;
  margin-bottom: 6px;
  filter: grayscale(25%);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: #122B3A;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(57,181,174,0.13);
  margin-bottom: 60px;
  padding: 36px 0;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}
.cta-banner .cta-btn {
  margin-top: 16px;
  background: #39B5AE;
  color: #fff;
  border-radius: 22px;
  padding: 13px 32px;
  font-size: 1.125rem;
  box-shadow: 0 2px 10px rgba(57,181,174,0.12);
}
.cta-banner .cta-btn:hover, .cta-banner .cta-btn:focus {
  background: #fff;
  color: #122B3A;
  box-shadow: 0 5px 24px rgba(18,43,58,0.17);
}

/* ========== TESTIMONIALS ========== */
.testimonials-preview .testimonials-short,
.customer-success-stories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.stars {
  font-family: 'Montserrat', serif;
  font-size: 20px;
  color: #FFD700;
  letter-spacing: 4px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #1c2832;
  margin-bottom: 0;
  font-family: 'Open Sans', Arial, serif;
}
.testimonial-card strong {
  display: inline-block;
  margin-top: 8px;
  color: #446175;
  font-weight: 500;
  font-size: 1em;
}

/* ==== PRICING TABLE ==== */
.pricing-table {
  border: 1px solid #e4e4e4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 2px 13px 0 rgba(18,43,58,0.06);
  margin-bottom: 32px;
  overflow: hidden;
}

/* ========== ACCORDION FAQ ========== */
.faq-accordion h3 {
  cursor: pointer;
  position: relative;
  padding-right: 34px;
  transition: color 0.18s;
  margin-bottom: 0;
}
.faq-accordion h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #39B5AE;
  font-weight: bold;
  font-size: 1.2em;
}
.faq-accordion h3.active {
  color: #39B5AE;
}
.faq-accordion h3.active::after {
  content: '-';
  color: #39B5AE;
}
.faq-accordion .text-section {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.33s cubic-bezier(.4,0,.2,1), opacity 0.2s;
  background: #f8fafc;
  padding: 0 18px;
  border-radius: 0 0 8px 8px;
  font-size: 1rem;
}
.faq-accordion .text-section.open {
  max-height: 300px;
  opacity: 1;
  padding: 12px 18px 16px 18px;
}

/* ========== SUCCESS PAGE ========== */
.success {
  background: #e7ecee;
  border-radius: 14px;
  padding: 50px 24px;
}
.success-message {
  color: #03967e;
  font-size: 1.08rem;
  margin-bottom: 20px;
  font-family: 'Open Sans', Arial, serif;
}

/* ========== LEGAL/TEXT SECTIONS ========== */
.legal .text-section, .about .text-section, .contact .text-section {
  background: #fff;
  padding: 20px 18px;
  border-radius: 9px;
  border: 1px solid #efefef;
  margin-bottom: 16px;
}
.legal h1, .legal h2, .legal h3 {
  margin-bottom: 14px;
}

/* ========== FOOTER ========== */
footer {
  background: #18445D;
  color: #fff;
  padding: 40px 0 28px 0;
  margin-top: 64px;
}
footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 18px;
}
footer .footer-nav a {
  color: #fff;
  opacity: 0.88;
  font-family: 'Montserrat', serif;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 1rem;
  transition: background 0.15s, opacity 0.14s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  background: #fff;
  color: #122B3A;
  opacity: 1;
}
footer p {
  color: #e5e7eb;
  font-size: 0.98rem;
  text-align: center;
}

/* ========== BUTTONS & CTA ========== */
.cta-btn {
  background: #122B3A;
  color: #fff;
  padding: 13px 32px;
  border-radius: 22px;
  font-family: 'Montserrat', serif;
  font-size: 1.125rem;
  font-weight: 600;
  transition: background 0.18s, color 0.145s, box-shadow 0.16s, transform 0.13s;
  box-shadow: 0 2px 10px rgba(18,43,58,0.07);
  display: inline-block;
  margin-top: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #39B5AE;
  color: #fff;
  box-shadow: 0 6px 26px rgba(57,181,174,0.10);
  transform: translateY(-2px) scale(1.03);
}
.more-link {
  display: inline-block;
  color: #39B5AE;
  font-weight: 600;
  border-bottom: 1.5px solid #39B5AE;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.6;
  transition: color 0.17s, border-bottom 0.18s;
}
.more-link:hover, .more-link:focus {
  color: #122B3A;
  border-bottom: 1.5px solid #122B3A;
}

/* ========== FORMS (if present) ========== */
input, textarea, select {
  font-family: 'Open Sans', Arial, serif;
  border: 1px solid #d2dadf;
  border-radius: 7px;
  padding: 11px 12px;
  margin-bottom: 16px;
  width: 100%;
  font-size: 1rem;
  background: #F8FAFB;
  transition: border 0.18s, box-shadow 0.16s;
  color: #122B3A;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #39B5AE;
  outline: none;
  box-shadow: 0 2px 8px rgba(57,181,174,0.10);
}

/* ========== MOBILE BURGER MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #122B3A;
  font-size: 2rem;
  padding: 8px 17px;
  border-radius: 10px;
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: 111;
  box-shadow: 0 2px 9px rgba(18,43,58,0.05);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus {
  background: #39B5AE;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.5,0,.2,1);
  z-index: 9999;
  box-shadow: 0 2px 32px rgba(18,43,58,0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 22px;
  background: none;
  color: #122B3A;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 10001;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.16s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e7ecee;
  color: #39B5AE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 91px 34px 28px 34px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #122B3A;
  font-family: 'Montserrat', serif;
  font-size: 1.1rem;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.17s, color 0.13s;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #39B5AE;
  color: #fff;
}

/* MOBILE BREAKPOINT: Show Burger Menu, Hide Main Nav */
@media (max-width: 990px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  html, body {
    font-size: 15px;
  }
  .container {
    padding: 0 9px;
  }
  .hero, .section, .cta-banner {
    padding-left: 0px!important;
    padding-right: 0px!important;
    padding-top: 34px !important;
    padding-bottom: 30px !important;
  }
  .feature-grid, .testimonials-preview .testimonials-short, .customer-success-stories, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .testimonial-card, .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-nav {
    gap: 11px;
  }
  .cta-banner {
    border-radius: 12px;
    margin-bottom: 32px;
    box-shadow: none;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .about-preview .container, .about .container, .contact .container {
    padding: 0 7px;
  }
  .success {
    padding: 30px 8px;
  }
  table, .pricing-table {
    font-size: 0.98rem;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .hero {
    padding: 28px 0 24px 0 !important;
  }
  .cta-btn, .nav-cta {
    font-size: 0.97rem;
    padding: 10px 17px;
  }
  .testimonials-preview .testimonials-short, .customer-success-stories, .card-container, .feature-grid {
    gap: 10px;
  }
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  z-index: 12000;
  background: #fff;
  border-top: 2px solid #e4e4e4;
  box-shadow: 0 -2px 24px rgba(18,43,58,0.09);
  padding: 26px 8px 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  animation: ccbFadeIn 0.66s cubic-bezier(.5,0,.2,1);
}
@keyframes ccbFadeIn {
  from { transform: translateY(100%) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-banner__desc {
  color: #1c2832;
  font-size: 1rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #39B5AE;
  color: #fff;
  border-radius: 16px;
  padding: 9px 21px;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  margin: 0 3px;
  transition: background 0.15s, color 0.13s, box-shadow 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #122B3A;
  color: #fff;
  box-shadow: 0 2px 13px rgba(18,43,58,0.08);
}
.cookie-btn.secondary {
  background: #fff;
  border: 1.5px solid #39B5AE;
  color: #39B5AE;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #39B5AE;
  color: #fff;
}
.cookie-btn.settings {
  background: #e7ecee;
  color: #122B3A;
  border: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #39B5AE;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  z-index: 13000;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 440px;
  transform: translate(-50%, -50%) scale(1.02);
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 10px 54px rgba(18,43,58,0.23);
  padding: 38px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalPop .4s cubic-bezier(.5,0,.2,1);
}
@keyframes cookieModalPop {
  from { transform: translate(-50%, 30%) scale(0.98); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1.02); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.11rem;
  margin-bottom: 6px;
  color: #18445D;
}
.cookie-modal__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 12px;
  margin-bottom: 11px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #E4E4E4;
  border-radius: 10px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: #39B5AE;
}
.cookie-toggle:disabled {
  background: #d2dadf;
  cursor: default;
}
.cookie-toggle:after {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(18,43,58,0.03);
  transition: transform 0.18s;
}
.cookie-toggle:checked:after {
  transform: translateX(18px);
}

.cookie-modal__footer {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}

.cookie-modal .close-modal {
  position: absolute;
  right: 17px; top: 13px;
  background: none;
  border: none;
  color: #446175;
  font-size: 1.49rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #39B5AE;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 22px 6vw 17px 6vw;
    max-width: 99vw;
  }
}

/* ========== ANIMATIONS & ACCESSIBILITY ========== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #E4E4E4;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: #fbfbfb;
}
:focus {
  outline: 2px solid #39B5AE;
  outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body, html {
    background: #fff;
    color: #122B3A;
  }
}

/* ========== VISUAL POLISH EXTRAS ========== */
hr {
  border: none;
  border-top: 1px solid #e4e4e4;
  margin: 32px 0;
}

