/* ==== RESET & NORMALIZATION ==== */
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F4F9F4;
  color: #16372F;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F4F9F4;
}
a {
  color: #247768;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
a:hover, a:focus {
  color: #FFD166;
  background: #247768;
  outline: none;
  border-radius: 6px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,ol {
  padding-left: 20px;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* ==== VARIABLES (FALLBACKS) ==== */
:root {
  --color-primary: #247768;
  --color-secondary: #16372F;
  --color-accent: #FFD166;
  --color-bg: #F4F9F4;
  --color-dark-text: #16372F;
  --color-light-text: #F4F9F4;
  --radius-main: 18px;
  --radius-card: 14px;
  --shadow-main: 0 6px 30px 0 rgba(36,119,104,0.11);
  --shadow-card: 0 2px 8px 0 rgba(36,119,104,0.14);
}

/* ==== TYPOGRAPHY ==== */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
h1, .hero-subtitle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: #247768;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #16372F;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #247768;
  font-weight: 700;
  margin-bottom: 0.7em;
}
p, ul, ol {
  margin-bottom: 12px;
  font-size: 1rem;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: #FFD166;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-address, .footer-legal, .brand-tagline {
  font-size: 1rem;
}
.disclaimer {
  color: #247768;
  font-size: 0.97rem;
  margin-top: 10px;
}

/* ==== LAYOUT STRUCTURE AND CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
main {
  min-height: 68vh;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F4F9F4;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 32px;
  }
}

/* ==== HEADER ==== */
header {
  background: #247768;
  width: 100%;
  box-shadow: 0 3px 12px rgba(36, 119, 104, 0.07);
  position: sticky;
  top: 0;
  z-index: 950;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 6px;
  padding-bottom: 6px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 12px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.main-nav a {
  color: #F4F9F4;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.cta, .main-nav a.cta:visited {
  background: #FFD166;
  color: #16372F;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 7px 18px;
  border-radius: 24px;
  border: none;
  box-shadow: var(--shadow-card);
  text-transform: uppercase;
  margin-left: 18px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #247768;
  color: #FFD166;
  box-shadow: 0 4px 20px 0 rgba(255, 209, 102, 0.14);
}
.main-nav a:hover, .main-nav a:focus {
  background-color: #FFD166;
  color: #247768;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  background: #FFD166;
  border: none;
  border-radius: 9px;
  color: #16372F;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px 0 rgba(36,119,104,0.08);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFD166;
  outline-offset: 2px;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  z-index: 1200;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #247768;
  transform: translateX(-105vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.43s cubic-bezier(0.7, 0.11, 0.1, 0.91);
  box-shadow: 0 8px 32px rgba(22, 55, 47, 0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 8px 0;
  background: none;
  border: none;
  color: #FFD166;
  font-size: 2.3rem;
  cursor: pointer;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 24px 30px 0 35px;
}
.mobile-nav a {
  color: #FFD166;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 10px 8px;
  margin-bottom: 3px;
  border-radius: 8px;
  transition: background 0.22s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD166;
  color: #247768;
  outline: none;
}

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

/* ==== CARDS, GRIDS, & LAYOUTS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(36,119,104,0.17);
  transform: translateY(-2px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
  }
}

/* ==== TESTIMONIALS ==== */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 15px;
}
.testimonial-card {
  background: #FFD166;
  color: #16372F;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(36, 119, 104, 0.11);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 270px;
  max-width: 370px;
  flex: 1 1 280px;
  font-size: 1.05rem;
  position: relative;
  transition: box-shadow 0.18s;
}
.testimonial-card blockquote {
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  font-size: 1rem;
  color: #16372F;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 700;
  color: #247768;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card:after {
  content: '★';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.5rem;
  color: #FFCF34;
  opacity: 0.75;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px 0 rgba(36, 119, 104, 0.16);
}

/* ==== FEATURE ITEMS ==== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F4F9F4;
  border-radius: var(--radius-card);
  box-shadow: 0 1px 6px 0 rgba(36, 119, 104, 0.06);
  padding: 18px 16px;
  margin-bottom: 20px;
}

/* ==== BUTTONS & CALLS TO ACTION ==== */
.cta,
button, input[type="submit"], .cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFD166;
  color: #16372F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.09rem;
  text-transform: uppercase;
  border-radius: 24px;
  box-shadow: 0 3px 12px 0 rgba(36,119,104,0.06);
  padding: 12px 30px;
  min-width: 164px;
  min-height: 44px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  letter-spacing: 0.5px;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s, transform 0.08s;
}
.cta:hover, button:hover, input[type="submit"]:hover, .cta:focus, button:focus {
  background: #247768;
  color: #FFD166;
  box-shadow: 0 8px 30px 0 rgba(36,119,104,0.11);
  outline: none;
  transform: translateY(-2px) scale(1.03);
}

/* ==== TABLES (e.g. PRICING) ==== */
.pricing-table {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: #FFF;
  margin: 14px 0 10px 0;
  border-collapse: collapse;
}
.pricing-table th,
.pricing-table td {
  padding: 16px 8px;
  border-bottom: 1px solid #F4F9F4;
  font-size: 1.06rem;
  color: #16372F;
  text-align: left;
}
.pricing-table th {
  background: #247768;
  color: #FFD166;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ==== FOOTER ==== */
footer {
  background: #247768;
  color: #F4F9F4;
  padding: 45px 0 28px 0;
  width: 100%;
  box-shadow: 0 -4px 12px rgba(36,119,104,0.04);
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 44px !important;
  margin-bottom: 9px;
  width: auto;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 350px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #FFD166;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
  padding: 4px 0;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #247768;
  background: #FFD166;
}
.footer-legal {
  color: #F4F9F488;
  font-size: 0.89rem;
  margin-top: 20px;
  width: 100%;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ==== MISCELLANEOUS ==== */
.map-embed {
  width: 100%;
  max-width: 500px;
  min-height: 160px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(36,119,104,0.10);
  margin-top: 10px;
}
.text-section {
  display: flex;
  flex-direction: column;
}
.text-section ul {
  margin-bottom: 10px;
}
.text-section li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  line-height: 1.35;
}
.text-section li img {
  height: 27px;
  width: 27px;
}
.content-wrapper ul li img {
  height: 22px !important;
  width: 22px !important;
  margin-right: 5px;
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #247768;
  color: #FFD166;
  box-shadow: 0 -4px 24px 0 rgba(22,55,47,0.09);
  z-index: 1500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 22px 36px;
  font-size: 1rem;
  animation: slideInBanner 0.5s ease;
}
@keyframes slideInBanner {
  from { transform: translateY(180%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 250px;
}
.cookie-banner-btns {
  display: flex;
  gap: 16px;
}
.cookie-banner .cta, .cookie-banner button {
  background: #FFD166;
  color: #247768;
  padding: 9px 18px;
  font-size: 1rem;
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(22,55,47,0.11);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.21s, color 0.17s;
}
.cookie-banner .cta:hover, .cookie-banner button:hover {
  background: #16372F;
  color: #FFD166;
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 6px;
    font-size: 0.97rem;
  }
  .cookie-banner-btns {
    gap: 8px;
  }
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,119,104,0.65);
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.4s cubic-bezier(.61,.01,.68,1.19);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  border-radius: 18px;
  padding: 42px 30px 26px 30px;
  box-shadow: 0 6px 28px rgba(36,119,104,0.19);
  min-width: 310px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #247768;
  position: relative;
  animation: popInModal 0.4s cubic-bezier(.61,.01,.68,1.19);
}
@keyframes popInModal {
  from { transform: scale(0.9); opacity:0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #247768;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 1.01rem;
}
.cookie-modal .cookie-switch {
  width: 32px; height: 16px;
  border-radius: 10px;
  background: #F4F9F4;
  border: 1.5px solid #FFD166;
  position: relative;
  margin-left: 12px;
  transition: background 0.19s;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(22,55,47,0.07);
  display: inline-flex;
  align-items: center;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch span {
  display: block;
  width: 14px; height: 14px;
  background: #FFD166;
  border-radius: 50%;
  position: absolute;
  top: 1px; left: 2px;
  transition: left 0.18s, background 0.18s;
}
.cookie-switch input[type="checkbox"]:checked + span {
  left: 15px;
  background: #247768;
}
.cookie-modal .cta, .cookie-modal button {
  margin-top: 10px;
  padding: 9px 24px;
  font-size: 1rem;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 22px;
  top: 16px;
  background: none;
  border: none;
  color: #247768;
  font-size: 1.6rem;
  cursor: pointer;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 19px 7vw 18px 7vw;
  }
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 700px) {
  .container {
    padding-left: 6px; padding-right: 6px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  .footer-brand img {
    height: 36px !important;
  }
  .card, .testimonial-card, .feature-item {
    padding: 14px 7px;
  }
  .pricing-table th, .pricing-table td {
    padding: 9px 4px;
    font-size: 0.99rem;
  }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  h1 { font-size: 1.4rem; margin-bottom: 10px; }
  h2 { font-size: 1.07rem; }
  .footer-brand img { height: 28px !important; }
  .cookie-banner { font-size: 0.93rem; padding: 7px 2px; }
  .cta, button, input[type="submit"] { font-size: 0.96rem; min-width: 0; min-height: 38px; padding: 8px 13px; }
}

/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
.cta, button, input[type="submit"], .card, .testimonial-card, .main-nav a, .footer-menu a, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, transform 0.12s;
}

.card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 8px 26px 0 rgba(36,119,104,0.13);
  transform: scale(1.01);
}

/* ==== SCROLL TO TOP BUTTON (if needed) ==== */
.scroll-to-top {
  display: none;
  position: fixed;
  right: 32px; bottom: 42px;
  background: #FFD166;
  color: #247768;
  font-size: 2rem;
  border: none;
  border-radius: 17px;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(36,119,104,0.12);
  z-index: 1300;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
}
.scroll-to-top.show {
  display: flex;
}
.scroll-to-top:hover {
  background: #247768;
  color: #FFD166;
}

/* ==== HIGH-VISUAL ENERGY COLOR ACCENTS ==== */
.card, .feature-item {
  border-left: 5px solid #FFD166;
}
.card:nth-child(2n) {
  border-left-color: #247768;
}
.section {
  border-radius: 18px;
  box-shadow: 0 1px 7px 0 rgba(36, 119, 104, 0.07);
  margin-bottom: 60px;
  background: #F4F9F4;
}
main section:first-child .container {
  background: #24776811;
  border-radius: 18px;
  box-shadow: 0 3px 32px 0 rgba(36,119,104,0.04);
}

/* ==== UTILITIES ==== */
.mb-20 { margin-bottom: 20px !important; }
.mt-12 { margin-top: 12px !important; }
.gap-20 { gap: 20px !important; }

/* ==== SCROLLBAR (Webkit) ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #F4F9F4;
}
::-webkit-scrollbar-thumb {
  background: #FFD166CC;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #247768BB;
}

/* ==== DARK TEXT ON ACCENT BG FOR TESTIMONIALS/REVIEWS ==== */
.testimonial-card, .testimonial-card span, .testimonial-card blockquote {
  color: #16372F !important;
}

/* ==== END OF CSS ==== */
