/* ==========================================================
  RESET & BASE LAYOUT
========================================================== */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #29403D;
  background-color: #F7F9FC;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #25605A;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #D7813C;
}
ul, ol {
  margin-left: 20px;
}
strong {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #E0E5EC;
  margin: 32px 0;
}

/* ==========================================================
  VARIABLES (with fallbacks for browsers not supporting CSS vars)
========================================================== */
:root {
  --primary: #25605A;
  --primary-dark: #204F4A;
  --secondary: #82C7B6;
  --accent: #F7F9FC;
  --brand-orange: #FFB984;
  --brand-yellow: #FFE7C6;
  --brand-dark: #29403D;
  --border: #E0E5EC;
  --shadow: 0 3px 18px 0 rgba(215, 129, 60, 0.08), 0 1.5px 6px 0 rgba(130, 199, 182, 0.05);
}

/* ==========================================================
  TYPOGRAPHY
========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary, #25605A);
  letter-spacing: 0.01em;
}
h1 {font-size: 2.25rem; margin-bottom: 20px; line-height: 1.15;}
h2 {font-size: 1.75rem; margin-bottom: 16px; line-height: 1.2;}
h3 {font-size: 1.25rem; margin-bottom: 10px; line-height: 1.2;}
h4, h5, h6 {font-size: 1.125rem; margin-bottom: 8px;}
p, ul, ol, blockquote {
  font-size: 1rem;
  color: #29403D;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  background: var(--brand-yellow, #FFE7C6);
  border-left: 5px solid var(--brand-orange, #FFB984);
  margin: 0 0 16px 0;
  padding: 16px 24px;
  border-radius: 16px;
  color: var(--primary, #25605A);
}
cite {
  display: block;
  font-style: normal;
  color: var(--primary-dark, #204F4A);
  margin-top: 8px;
  font-weight: 500;
}

/* ==========================================================
  LAYOUT UTILITIES & CONTAINERS
========================================================== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 24px 0 rgba(37, 96, 90, 0.12), 0 2px 8px 0 rgba(215,129,60,0.08);
  transform: translateY(-3px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  margin-top: 20px;
  min-width: 0;
  flex-direction: column;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid,
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
/* --- Custom for .feature-grid --- */
.feature-grid .feature {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 18px 22px 18px;
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .2s, transform .2s;
  margin-bottom: 20px;
  min-width: 210px;
}
.feature-grid .feature:hover {
  box-shadow: 0 6px 24px 0 rgba(130, 199, 182,0.11);
  transform: translateY(-4px) scale(1.027);
}
/* --- Shared with .values-grid --- */
.values-grid .value-item {
  flex: 1 1 180px;
  background: #fff9f3;
  border-radius: 16px;
  padding: 18px 16px 14px 16px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

ul.benefits-list, ul.service-highlights, ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  align-items: center;
  margin-top: 0px;
  padding-left: 0px;
}
ul.benefits-list li, ul.service-highlights li, ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-yellow, #FFE7C6);
  border-radius: 13px;
  padding: 8px 16px;
  font-size: 1rem;
  color: var(--primary, #25605A);
}

ol {
  list-style: decimal inside;
  margin-bottom: 24px;
}

/* ==========================================================
  HEADER & NAVIGATION
========================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(37, 96, 90, 0.05);
  border-bottom: 2px solid var(--border);
  padding: 0 0 0 0;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 0;
}
header a img {
  max-height: 48px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 15px;
  border-radius: 28px;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background .18s, color .2s;
  font-size: 1rem;
}
.main-nav a:hover {
  background: var(--secondary);
  color: #fff;
}
.main-nav .primary-cta {
  background: var(--brand-orange, #FFB984);
  color: var(--primary, #25605A);
  font-weight: 700;
  margin-left: 16px;
  padding: 8px 24px;
  border-radius: 32px;
  box-shadow: 0 4px 18px 0 rgba(255,185,132,0.10);
  transition:.19s;
  border: none;
  letter-spacing: 0.01em;
}
.main-nav .primary-cta:hover {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(37,96,90,0.08);
}

/* ===================
  BURGER MOBILE MENU
=================== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--brand-orange, #FFB984);
  color: var(--primary, #25605A);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 16px;
  transition: background .16s, box-shadow .23s;
  box-shadow: 0 2px 12px rgba(255,185,132,0.17);
  z-index: 1202;
}
.mobile-menu-toggle:active {
  background: var(--brand-yellow, #FFE7C6);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 5px 32px 0 rgba(37,96,90,0.13);
  transform: translateX(-110vw);
  transition: transform .42s cubic-bezier(.85,0,.17,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 12px 0;
  font-size: 2rem;
  background: var(--brand-orange, #FFB984);
  color: var(--primary, #25605A);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: background .18s;
  box-shadow: 0 2px 12px rgba(255,185,132,0.13);
  cursor: pointer;
  z-index: 1201;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100vw;
  align-items: center;
  margin-top: 30px;
  padding-bottom: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--primary, #25605A);
  padding: 12px 36px;
  border-radius: 26px;
  font-weight: 500;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-yellow, #FFE7C6);
  color: #D7813C;
}
/* Hide navigation for mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================
  HERO, CTA, AND SPECIAL SECTIONS
=================== */
.hero-section {
  background: linear-gradient(90deg, #FFE7C6 0%, #fffbf7 100%);
  padding-top: 62px;
  padding-bottom: 62px;
}
.hero-section h1 {
  color: var(--primary, #25605A);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.3rem;
}
.hero-section p {
  color: var(--primary-dark, #204F4A);
}
.cta-section {
  background: var(--brand-yellow, #FFE7C6);
  border-radius: 26px;
  box-shadow: var(--shadow);
  margin: 50px 0 0 0;
  padding: 52px 18px 48px 18px;
  text-align: center;
}
.cta-section .cta-button {
  margin-top: 22px;
}
.thank-you-section {
  text-align: center;
  padding: 70px 15px;
}

/* ===================
  BUTTONS & CALL-TO-ACTION
=================== */
.cta-button, .btn, button, input[type="submit"] {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--brand-orange, #FFB984);
  color: var(--primary, #25605A);
  font-weight: 700;
  padding: 12px 36px;
  border: none;
  border-radius: 32px;
  font-size: 1.13rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255,185,132,0.11);
  transition: background .3s, color .2s, box-shadow .18s, transform .18s;
  text-align: center;
}
.cta-button:hover, .btn:hover, button:hover, input[type="submit"]:hover,
.cta-button:focus, .btn:focus, button:focus, input[type="submit"]:focus {
  background: var(--secondary, #82C7B6);
  color: #fff;
  box-shadow: 0 0 0 4px var(--brand-yellow, #FFE7C6);
  outline: none;
  transform: translateY(-2px) scale(1.03);
}

/* --- Cookie banner specific buttons --- */
.cookie-banner .btn-accept {
  background: var(--secondary, #82C7B6);
  color: #fff;
}
.cookie-banner .btn-accept:hover { background: var(--primary, #25605A); }
.cookie-banner .btn-reject {
  background: var(--brand-yellow, #FFE7C6);
  color: var(--primary, #25605A);
}
.cookie-banner .btn-settings {
  background: var(--brand-orange, #FFB984);
  color: var(--primary, #25605A);
}
.cookie-banner .btn-settings:hover { background: var(--secondary, #82C7B6); color: #fff; }

/* ===================
  TABLES (PRICING TABLES)
=================== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.pricing-table th, .pricing-table td {
  font-size: 1rem;
  text-align: left;
  padding: 17px 14px;
  border-bottom: 1px solid var(--border);
}
.pricing-table th {
  background: var(--accent, #F7F9FC);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary, #25605A);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table td {
  color: var(--brand-dark, #29403D);
}

/* ===================
  FAQ ACCORDION (basic styles)
=================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
  transition: box-shadow .18s;
  cursor: pointer;
}
.faq-item:hover, .faq-item.active {
  box-shadow: 0 5px 16px 0 rgba(130,199,182,0.12);
}
.faq-item h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary, #25605A);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.faq-answer {
  padding-top: 4px;
}

/* ===================
  STAR RATING
=================== */
.star-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.star-rating img {
  width: 24px;
  height: 24px;
  display: inline-block;
}

/* ===================
  MAP PLACEHOLDER (CONTACT PAGE)
=================== */
.map-placeholder {
  background: var(--border, #E0E5EC);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.map-placeholder img {
  width: 38px;
  height: 38px;
}
.map-placeholder p {
  margin: 0;
}

/* ===================
  FOOTER
=================== */
footer {
  background: var(--primary, #25605A);
  color: #fff;
  padding: 46px 0 0 0;
  margin-top: 60px;
  font-size: 1rem;
  box-shadow: 0 -2px 24px 0 rgba(37,96,90,0.09);
}
footer .container {
  gap: 32px;
}
footer .branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1.11rem;
  margin-bottom: 18px;
}
footer .branding img {
  max-width: 50px;
}
.footer-links {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 32px;
  margin-bottom: 18px;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a, .legal-nav a {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2px;
  transition: color .18s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .legal-nav a:hover {
  color: var(--brand-orange, #FFB984);
}
.footer-contact {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact p {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-size: 1rem;
}
.footer-contact a {
  color: #fff;
  font-weight: 400;
}
.footer-contact a:hover { text-decoration: underline; }
.footer-contact img {
  width: 20px;
  height: 20px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0 0 0;
}
.footer-social img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff9f7;
  padding: 5px;
  transition: box-shadow .23s;
  box-shadow: 0 2px 8px 0 rgba(255,185,132,0.08);
}
.footer-social img:hover {
  box-shadow: 0 4px 12px rgba(255,185,132,0.18);
}

/* ===================
  COOKIE BANNER
=================== */
.cookie-banner {
  position: fixed;
  z-index: 2000;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(37,96,90,0.09);
  border-top: 2px solid var(--brand-orange, #FFB984);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 20px 20px 20px;
  gap: 16px;
  font-size: 1rem;
  flex-wrap: wrap;
}
.cookie-banner p {
  color: var(--primary, #25605A);
  margin-bottom: 0;
  max-width: 420px;
}
.cookie-banner button {
  margin-left: 12px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 28px;
  padding: 9px 22px;
  box-shadow: 0 1px 8px 0 rgba(255,185,132,0.11);
}
/* Cookie Consent MODAL (Settings) */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(37,96,90,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2070;
  transition: opacity .22s;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px 24px 32px;
  box-shadow: 0 10px 32px rgba(215,129,60,0.13);
  min-width: 330px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modal-in .36s cubic-bezier(.77,.09,.34,.93);
}
@keyframes modal-in {
  from { opacity: .3; transform: translateY(38px) scale(.93); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  margin-bottom: 8px; font-size: 1.4rem;
  color: var(--primary, #25605A);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  background: var(--brand-yellow, #FFE7C6);
  border-radius: 14px;
  padding: 11px 15px 7px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--primary, #25605A);
  margin-bottom: 4px;
}
.cookie-category .toggle {
  margin-left: auto;
  font-size: 1.5em;
  cursor: pointer;
  background: var(--brand-orange, #FFB984);
  border-radius: 12px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .13s;
}
.cookie-category .toggle[aria-checked="true"] {
  background: var(--secondary, #82C7B6);
  color: #fff;
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 13px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary, #25605A);
  cursor: pointer;
  z-index: 2;
}
.modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 12px;
}
@media (max-width: 600px) {
  .cookie-modal {
    min-width: 0;
    padding: 28px 8px 18px 8px;
    font-size: 0.97rem;
  }
}

/* ==========================================================
  RESPONSIVE DESIGN (mobile-first, then up)
========================================================== */
@media (max-width: 990px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .feature-grid, .values-grid, .card-container, .content-grid {
    gap: 18px;
    flex-direction: column;
  }
  .cta-section {
    border-radius: 18px;
    padding: 32px 8px;
    margin-top: 22px;
  }
  .hero-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .main-nav .primary-cta {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .container, .content-wrapper {
    padding-left: 0;
    padding-right: 0;
    gap: 14px;
  }
  .section {
    padding: 22px 4px;
    margin-bottom: 38px;
  }
  .feature-grid .feature,
  .values-grid .value-item {
    min-width: 0;
    width: 100%;
    padding: 17px 9px 13px 9px;
  }
  .testimonial-card,
  .card {
    padding: 14px 9px;
  }
  .footer-links {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 10px;
  }
  .footer-contact p {
    font-size: 0.96rem;
  }
  .map-placeholder {
    flex-direction: column;
    gap: 11px;
    text-align: center;
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
  }
  .star-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.45rem;
  }
  h1 { font-size: 1.6rem;}
  h2 { font-size: 1.19rem; }
  .cta-button, .btn, button, input[type="submit"] {
    width: 100%;
    padding: 14px 0px;
    font-size: 1rem;
    border-radius: 16px;
  }
  .pricing-table th, .pricing-table td {
    padding: 12px 5px;
    font-size: 0.98rem;
  }
  .footer-social img {
    width: 25px; height: 25px;
    padding: 2px;
  }
  .cookie-banner { font-size: 0.99rem; flex-direction: column; gap: 8px; }
  .cookie-banner button {margin-left: 0; width: 100%; }
}

/* ==========================================================
  MISCELLANEOUS: Cards & Lists
========================================================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-item {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px 18px;
  margin-bottom: 20px;
}
.service-item h2 {
  margin-top: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary, #25605A);
  font-size: 1.18rem;
}
.text-section {
  margin-bottom: 0;
}

/* Fix for ie/edge old versions */
@media all and (-ms-high-contrast:none) {
  .feature-grid, .values-grid, .card-container, .content-grid, .service-list {
    display: flex;
    flex-direction: column;
  }
}
