/* =============================
   RESET & BASE STYLES
   ============================= */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #23414B;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 600; }


/* =============================
   TYPOGRAPHY
   ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #23414B;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.125rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 12px; }
p, ul, ol { margin-bottom: 16px; }

@media (min-width: 600px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}


/* =============================
   LAYOUT & CONTAINERS
   ============================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

@media (min-width: 900px) {
  .section {
    padding: 60px 0px;
  }
  .container {
    padding: 0 32px;
  }
}


/* =============================
   HEADER / NAVIGATION
   ============================= */
header {
  background: #fff;
  border-bottom: 1px solid #F3F5F0;
  width: 100%;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
header nav {
  display: none;
}
header nav a {
  padding: 8px 18px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #23414B;
  transition: background 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #F3F5F0;
}
.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #23414B;
  color: #fff;
  box-shadow: 0 2px 12px rgba(35,65,75,0.07);
  transition: background 0.22s, box-shadow 0.22s, transform 0.15s;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #9EC4B7;
  color: #23414B;
  box-shadow: 0 4px 24px rgba(35,65,75,0.08);
  transform: translateY(-1px) scale(1.03);
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: #23414B;
  font-size: 2rem;
  border-radius: 50%;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 1401;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F3F5F0;
}

@media (min-width: 900px) {
  header nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
  .mobile-menu-toggle {
    display: none;
  }
}


/* =============================
   MOBILE MENU
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #23414B;
  color: #fff;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.86,0,0.07,1);
  padding: 0 0 0 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -4px 0 16px rgba(35,65,75,0.09);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 22px 0 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  transition: background 0.16s;
  z-index: 2001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #9EC4B7;
  color: #23414B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding: 36px 32px;
  gap: 16px;
  flex: 1;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  padding: 14px 0;
  width: 100%;
  text-align: left;
  transition: background 0.17s, color 0.17s;
  border-radius: 8px;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #9EC4B7;
  color: #23414B;
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}


/* =============================
   HERO SECTION
   ============================= */
.hero {
  background: #F3F5F0;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding-top: 48px;
  padding-bottom: 52px;
}
.hero .container {
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 20px;
}
.hero h1 {
  color: #23414B;
  margin-bottom: 10px;
}
.hero p {
  color: #23414B;
  margin-bottom: 22px;
  font-size: 1.125rem;
}

@media (min-width: 900px) {
  .hero {
    min-height: 420px;
    padding-top: 68px;
    padding-bottom: 72px;
  }
  .hero .content-wrapper {
    gap: 32px;
  }
}


/* =============================
   FEATURE GRIDS & CARDS
   ============================= */
.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(35,65,75,0.05);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 0;
  transition: box-shadow 0.16s;
}
.feature-grid > div img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 32px rgba(35,65,75,0.12);
}

@media (min-width: 700px) {
  .feature-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
  .feature-grid > div {
    flex: 1 1 240px;
    min-width: 220px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(35,65,75,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(35,65,75,0.10);
  transform: translateY(-2px) scale(1.02);
}


/* =============================
   TESTIMONIALS & STAR RATINGS
   ============================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #23414B;
  box-shadow: 0 2px 18px rgba(35,65,75,0.07);
  border-radius: 16px;
  margin-bottom: 20px;
  max-width: 650px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card strong {
  color: #23414B;
  font-weight: 600;
  font-size: 1rem;
}
.star-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  height: 30px;
}
.star-rating img {
  width: 24px; height: 24px;
  display: inline-block;
}

@media (min-width: 700px) {
  .testimonial-card {
    gap: 18px;
  }
}


/* =============================
   FAQ ACCORDION
   ============================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(35,65,75,0.07);
  padding: 22px 16px;
  margin-bottom: 4px;
  transition: box-shadow 0.16s;
}
.faq-item h3 {
  font-size: 1.1rem;
  cursor: pointer;
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 1rem;
}
.faq-item:hover {
  box-shadow: 0 6px 24px rgba(35,65,75,0.08);
}


/* =============================
   TABLES
   ============================= */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(35,65,75,0.06);
  overflow: hidden;
  margin-bottom: 20px;
}
th, td {
  padding: 16px 14px;
  text-align: left;
  font-size: 1rem;
  color: #23414B;
}
th {
  background: #F3F5F0;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
tr:not(:last-child) {
  border-bottom: 1px solid #F3F5F0;
}


/* =============================
   TEXT-IMAGE SECTIONS & GRIDS
   ============================= */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.text-section img {
  vertical-align: middle;
  margin-right: 8px;
  width: 20px;
  height: 20px;
}


/* =============================
   FOOTER
   ============================= */
footer {
  background: #23414B;
  color: #fff;
  padding-top: 38px;
  padding-bottom: 32px;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.footer-content > a img {
  width: 120px;
  height: auto;
  margin-bottom: 4px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #F3F5F0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.85;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #9EC4B7;
  opacity: 1;
  text-decoration: underline;
}
footer .text-section {
  color: #F3F5F0;
  font-size: 1rem;
  gap: 5px;
}
footer .text-section a {
  color: #F3F5F0;
  opacity: 0.9;
  border-bottom: 1px dotted #9EC4B7;
  transition: color 0.18s, border-color 0.18s;
}
footer .text-section a:hover, footer .text-section a:focus {
  color: #9EC4B7;
  border-color: #23414B;
}

@media (min-width: 900px) {
  .footer-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 36px;
    justify-content: space-between;
  }
  .footer-nav {
    flex-direction: row;
    gap: 26px;
  }
}


/* =============================
   SPACING PATTERNS & UTILITIES
   ============================= */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Add global gap utilities as needed */
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }


/* =============================
   BUTTONS & INTERACTIVES
   ============================= */
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
}
button:focus-visible, .cta-btn:focus-visible, .mobile-menu-close:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2px solid #9EC4B7;
  outline-offset: 2px;
}


/* =============================
   RESPONSIVE DESIGN (MOBILE FIRST)
   ============================= */
@media (max-width: 899px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 28px 8px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 38px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .feature-grid > div {
    padding: 20px 12px 18px 12px;
  }
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  z-index: 18000;
  left: 0;
  right: 0;
  bottom: 0;
  background: #23414B;
  color: #fff;
  width: 100vw;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -8px 28px rgba(35,65,75,0.11);
  gap: 20px;
  animation: fadeInBottom 0.7s cubic-bezier(.48,.07,.75,1);
}
@keyframes fadeInBottom {
  0% { transform: translateY(100%); opacity:0;} 
  100% { transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2px;
  text-align: center;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookie-accept {
  background: #9EC4B7;
  color: #23414B;
}
.cookie-reject {
  background: #F3F5F0;
  color: #23414B;
}
.cookie-settings {
  background: transparent;
  color: #fff;
  border: 2px solid #9EC4B7;
}
.cookie-accept:hover, .cookie-accept:focus { background: #F3F5F0; color:#23414B; }
.cookie-reject:hover, .cookie-reject:focus { background: #9EC4B7; color:#23414B;}
.cookie-settings:hover, .cookie-settings:focus { background: #9EC4B7; color:#23414B; border-color:#23414B;}

@media (min-width: 600px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 18px 46px;
  }
  .cookie-btns {
    gap: 20px;
    width: auto;
  }
}

/* ----- Cookie Modal Popup ----- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,65,75,0.22);
  z-index: 19000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBackdrop 0.3s cubic-bezier(.48,.07,.75,1);
}
@keyframes fadeInBackdrop {
  0% { opacity:0; }  100% { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #23414B;
  max-width: 400px;
  width: 88vw;
  border-radius: 18px;
  box-shadow: 0 10px 54px rgba(35,65,75,0.17);
  position: relative;
  padding: 34px 26px 26px 26px;
  animation: modalAppear 0.43s cubic-bezier(.48,.07,.75,1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes modalAppear {
  0% { transform:scale(.90) translateY(30px); opacity:0; }
  87% { opacity:1; }
  100% { transform:scale(1) translateY(0); opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 8px;
  background: transparent;
  color: #23414B;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #9EC4B7;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.cookie-pref-cat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 6px;
}
.cookie-pref-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cookie-pref-row label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #9EC4B7;
  border-radius: 18px;
  position: relative;
  outline: none;
  margin-left: 0;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: #23414B;
}
.cookie-toggle:disabled {
  opacity: 0.48;
  background: #F3F5F0;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-toggle:disabled::before {
  background: #ccc;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  border: none;
  background: #9EC4B7;
  color: #23414B;
  border-radius: 18px;
  padding: 8px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #23414B;
  color: #fff;
}


/* =============================
   MISC UTILITIES
   ============================= */
.hide { display: none !important; }
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}


/* =============================
   PRINT (Optional)
   ============================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-backdrop {
    display: none !important;
  }
  body, .container {
    background: #fff !important;
    color: #000 !important;
  }
}
