/* ===== CSS RESET & BASE ===== */
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F9FBFA;
  color: #222D25;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { 
  color: #236E5F; 
  text-decoration: none; 
  transition: color .2s; 
}
a:hover, a:focus {
  color: #164e42;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
strong {
  font-weight: 700;
}
/* ===== BRAND FONTS ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #19493F;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* ===== LAYOUT HELPERS ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* Prevents overlap, ensures vertical rhythm */
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(29,58,51,0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(29,58,51,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.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: #E3EEF2;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(35, 110, 95, 0.08);
  margin-bottom: 20px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Spacing helpers */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(40,60,60,.03);
  padding-top: 16px;
  padding-bottom: 16px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
header a > img {
  height: 40px;
  width: auto;
  margin-right: 18px;
}
nav {
  display: flex;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #236E5F;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
nav a:hover, nav a:focus {
  background: #E3EEF2;
  color: #17483E;
}
.cta-btn {
  background: #236E5F;
  color: #fff !important;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 24px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px 0 rgba(35, 110, 95, .09);
  cursor: pointer;
  outline: none;
  margin-left: 24px;
  display: inline-block;
  letter-spacing: 0.5px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #17483E;
  box-shadow: 0 4px 12px 0 rgba(35,110,95,0.15);
}

/* ===== HERO ===== */
.hero {
  background: #E3EEF2;
  border-radius: 0 0 32px 32px;
  padding: 60px 0 40px 0;
  margin-bottom: 44px;
}
.hero h1 {
  color: #17483E;
  font-size: 2.1rem;
  margin-bottom: 18px;
}
.hero p {
  max-width: 570px;
  font-size: 1.2rem;
  color: #236E5F;
  margin-bottom: 26px;
}
/* ===== FEATURES GRID & LISTS ===== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.feature {
  background: #F9FBFA;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(29, 58, 51, 0.07);
  padding: 20px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.2s;
}
.feature img {
  width: 38px;
  height: 38px;
}
.feature:hover {
  box-shadow: 0 4px 18px 0 rgba(35, 110, 95, 0.13);
}

ul li, ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
ul li img, ol li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* ===== PRICING TABLE ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(35,110,95,0.07);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 1rem;
}
.pricing-table thead {
  background: #E3EEF2;
}
.pricing-table tbody tr:nth-child(even) {
  background: #F6F8F7;
}
.pricing-table th {
  color: #236E5F;
  font-weight: 700;
}
.pricing-descriptions p, .discount-highlights p {
  margin-bottom: 8px;
}
.discount-highlights ul li {
  font-weight: 500;
  color: #19493F;
}

/* ===== TESTIMONIALS ===== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #E3EEF2;
  color: #1A2B22;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 16px;
  box-shadow: 0 1.5px 6px 0 rgba(29,58,51,0.10);
  font-size: 1.07rem;
  min-width: 250px;
  min-height: 140px;
  max-width: 420px;
  position: relative;
}
.testimonial-card p {
  margin-bottom: 18px;
  color: #17483E;
  line-height: 1.55;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #236E5F;
  font-weight: 600;
}
.star-ratings,
.rating-summary {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1rem;
  margin-top: 16px;
  color: #19493F;
  font-weight: 500;
}
.star-ratings img, .rating-summary img {
  width: 20px;
  height: 20px;
}
.review-summary {
  background: #F6F8F7;
  border-radius: 14px;
  padding: 18px 20px;
  color: #1A2B22;
  font-size: 1rem;
  margin-bottom: 18px;
}

/* ===== FAQ (Accordion style structure) ===== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #F9FBFA;
  border-radius: 10px;
  box-shadow: 0 1px 5px 0 rgba(35,110,95,0.05);
  padding: 18px 22px;
  transition: box-shadow 0.18s;
}
.faq-item:hover {
  box-shadow: 0 2px 12px 0 rgba(35,110,95,0.09);
}
.faq-item h3 {
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.faq-item p {
  font-size: 0.97rem;
  color: #236E5F;
}

/* ===== FOOTER ===== */
footer {
  background: #E3EEF2;
  border-radius: 24px 24px 0 0;
  padding: 32px 0 20px 0;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-info {
  font-size: 1rem;
  color: #17483E;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-info address {
  font-style: normal;
  color: #19493F;
  line-height: 1.6;
  font-size: 0.99rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #236E5F;
  font-size: 0.98rem;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.footer-nav a:hover { background: #c7dadf; }
.social-links {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}
.social-links a img {
  width: 32px;
  height: 32px;
  filter: grayscale(15%); 
}
.social-links a:hover img {
  filter: grayscale(0%) brightness(1.2);
}

/* ===== MAP/ADDRESS Sections ===== */
.map {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F6F8F7;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 1rem;
  color: #236E5F;
  margin-bottom: 12px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -4px 16px rgba(35,110,95,0.10);
  border-radius: 22px 22px 0 0;
  width: 95vw;
  max-width: 540px;
  margin: 0 auto;
  padding: 24px 26px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: cookieBannerRise 0.55s cubic-bezier(.4,1.8,.6,1) 1;
}
@keyframes cookieBannerRise {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #222D25;
  font-size: 0.99rem;
  margin-bottom: 5px;
  line-height: 1.6;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #236E5F;
  transition: background 0.18s, box-shadow 0.2s;
  cursor: pointer;
}
.cookie-btn.reject {
  background: #19493F;
}
.cookie-btn.settings {
  background: #FAE57E;
  color: #19493F;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #17483E;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #efd84a;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(20,50,43,0.25);
  z-index: 1100;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #F9FBFA;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(35,110,95, .16);
  padding: 32px 28px;
  width: 90vw;
  max-width: 420px;
  z-index: 1110;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cookieModalIn 0.45s cubic-bezier(.4,1.5,.5,1.02) 1;
}
@keyframes cookieModalIn {
  from { opacity:0; transform: translate(-50%,-40%) scale(.93); }
  to   { opacity:1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.21rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category label {
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #236E5F;
  margin-right: 5px;
}
.cookie-category .essential {
  color: #19493F;
  font-weight: 600;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  top: 16px; right: 16px;
  font-size: 2rem;
  color: #19493F;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  z-index: 99;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ddd;
}

/* ===== MOBILE MENU (BURGER) ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top:18px;
  right: 24px;
  z-index: 1201;
  background: #236E5F;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 16px;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(35,110,95,0.12);
  cursor: pointer;
  transition: background 0.20s, box-shadow 0.20s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #19493F;
}
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1202;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.48,1.6,.5,1);
  box-shadow: 0 1px 32px 0 rgba(29,58,51,0.13);
  flex-direction: column;
  padding-top: 64px;
  padding-left: 32px;
  padding-right: 32px;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 28px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #17483E;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1211;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E3EEF2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 30px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #236E5F;
  padding: 10px 4px 10px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E3EEF2;
  color: #17483E;
  text-decoration: none;
}

/* ===== RESPONSIVE DESIGN (MOBILE-FIRST) ===== */
@media (max-width: 1020px) {
  .container { max-width: 100%; }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 900px) {
  nav { gap: 14px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    gap: 12px;
  }
  .hero {
    padding: 34px 0 24px 0;
  }
  .content-wrapper {
    gap: 16px;
  }
  .features-grid, .testimonial-slider, .testimonial-list {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature, .testimonial-card { max-width: 100%; min-width: unset; }
  .section {
    padding: 24px 8px;
    margin-bottom: 42px;
    border-radius: 12px;
  }
  .footer .content-wrapper, footer .content-wrapper {
    gap: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }
  .map {
    flex-direction: column;
    gap: 6px;
    font-size: 0.99rem;
  }
  .testimonial-card {
    padding: 14px 12px;
  }
  .review-summary { padding: 12px 10px; }
  .pricing-table th, .pricing-table td { padding: 10px 8px; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  header .container {
    flex-direction: row;
    gap: 7px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .section, .hero {
    border-radius: 0;
    margin-bottom: 24px;
  }
  .footer, footer {
    border-radius: 0 !important;
    padding-left: 0;
    padding-right: 0;
  }
  .cookie-banner {
    max-width: 99vw;
    border-radius: 10px 10px 0 0;
    left: 0;
    right: 0;
    padding: 10px 6vw;
  }
  .cookie-modal { padding: 16px 10px; }
}
@media (max-width: 870px) {
  /* Show burger icon, hide nav bar */
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 871px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
    transform: none !important;
  }
}
/* ===== MISC ===== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.certifications {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #17483E;
}
.certifications img {
  width: 30px;
  height: 30px;
}
.team-intro {
  background: #F6F8F7;
  border-radius: 12px;
  padding: 16px 16px;
  color: #1A2B22;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ===== INPUTS, FORMS (if present in extensions) ===== */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  border-radius: 7px;
  outline: none;
}
input[type=text], input[type=email], textarea {
  border: 1.5px solid #E3EEF2;
  padding: 9px 12px;
  transition: border-color 0.18s, box-shadow 0.18s;
  background: #FAFDFD;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: #236E5F;
  box-shadow: 0 1px 7px 0 rgba(35,110,95,0.12);
}

/* ===== MICRO-INTERACTIONS ===== */
.card, .feature, .testimonial-card, .faq-item,
.pricing-table, .team-intro, .review-summary {
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover, .feature:hover {
  box-shadow: 0 6px 18px 0 rgba(35,110,95,0.14);
  transform: translateY(-2px) scale(1.014);
}
.cta-btn, .cookie-btn {
  transition: background 0.19s, color 0.17s, box-shadow 0.18s;
}
.cta-btn:active, .cookie-btn:active {
  box-shadow: 0 1px 4px 0 rgba(35,110,95,0.15);
}

/* ===== TYPOGRAPHY ===== */
body, p, li, address, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}

/* ===== GENERIC FLEX CONTAINERS ===== */
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== Z-INDEX LAYERING ===== */
.mobile-menu, .mobile-menu.active {
  z-index: 1202;
}
.mobile-menu-close {
  z-index: 1211;
}

/* ===== ENSURE NO OVERLAP & MINIMUM SPACING ===== */
.card, .feature, .testimonial-card, .faq-item, .section, .team-intro, .review-summary, .map {
  margin-bottom: 20px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 9px;
  background: #F6F8F7;
}
::-webkit-scrollbar-thumb {
  background: #c4ded5;
  border-radius: 10px;
}

/* ===== DIALOG ACCESSIBILITY ===== */
[role="dialog"]:focus {
  outline: 2px solid #236E5F;
}

/* ===== END ===== */
