/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #F6F1E7;
  color: #232B2F;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #27613B;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #8B3915;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
}
li + li {
  margin-top: 0.5em;
}
h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', Georgia, serif;
  color: #21354A;
  margin-bottom: 0.5em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 11px; }
h3 { font-size: 1.32rem; line-height: 1.3; margin-bottom: 8px; }
small, .footer-copy { font-size: 0.95rem; color: #6C7683; }
strong { font-weight: 700; color: #21354A; }
blockquote {
  border-left: 4px solid #27613B;
  background: #e8f3ee;
  padding: 16px 24px;
  margin-bottom: 20px;
  border-radius: 6px;
  color: #21354A;
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
}
blockquote span {
  font-size: 1rem;
  color: #8B3915;
  display: block;
  margin-top: 8px;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.text-section {
  background: #f0f4f8;
  border-radius: 12px;
  padding: 32px 26px;
  margin-bottom: 40px;
  box-shadow: 0 1px 4px rgba(33,53,74,0.04);
}

/* ===== MAIN NAVIGATION (DESKTOP & MOBILE) ===== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(33,53,74,0.06);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
}
.main-nav .logo-link {
  margin-right: 30px;
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 7px;
  border-radius: 5px;
  transition: background 0.17s, color 0.17s;
  color: #21354A;
  font-weight: 500;
  position: relative;
}
.main-nav a:not(.cta-button):hover, .main-nav a:not(.cta-button):focus {
  background: #e8f3ee;
  color: #27613B;
}
.cta-button {
  background: #27613B;
  color: #fff !important;
  font-weight: bold;
  border-radius: 24px;
  padding: 8px 20px;
  margin-left: 18px;
  box-shadow: 0 2px 12px 0 rgba(39,97,59,0.09);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.12s;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: center;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #8B3915;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(139,57,21,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger button */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  background: #27613B;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #8B3915;
  color: #fff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33, 53, 74, 0.98);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  will-change: transform;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin: 24px 0 0 24px;
  background: #8B3915;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #27613B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  margin: 60px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #fff;
  padding: 10px 0px;
  border-radius: 6px;
  width: 100%;
  font-weight: 600;
  transition: background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8B3915;
  color: #fff !important;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 14px;
    padding: 16px 10px;
  }
  .main-nav .logo-link {
    margin-right: 18px;
  }
  .cta-button {
    padding: 7px 18px;
    margin-left: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(.logo-link):not(.cta-button) {
    font-size: 0.97rem;
    padding: 7px 3px;
  }
}
@media (max-width: 820px) {
  .main-nav a:not(.logo-link):not(.cta-button) {
    font-size: 0.93rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background-color: #27613B;
  background-image: none;
  color: #fff;
  display: flex;
  align-items: stretch;
  padding-top: 32px;
  padding-bottom: 54px;
  min-height: 280px;
  width: 100%;
}
.hero .container {
  width: 100%;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}
.hero h1 {
  color: #fff;
}
.hero p {
  color: #e3e5eb;
  font-size: 1.18rem;
}
.hero .cta-button {
  margin-top: 8px;
  background: #8B3915;
  color: #fff;
}
.hero .cta-button:hover, .hero .cta-button:focus {
  background: #fff;
  color: #8B3915;
}

/* ===== FEATURES, CARDS & FLEX UTILITIES ===== */
.feature-grid, .statistics-grid, .schedule-timeline, .service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 18px;
}
.feature-grid li, .statistics-grid li, .schedule-timeline li, .service-list li {
  background: #fff;
  padding: 18px 19px;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(39,97,59,0.07);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  color: #21354A;
  min-width: 230px;
  flex: 1 1 0px;
  margin-bottom: 0;
}
.feature-grid img, .statistics-grid img, .schedule-timeline img {
  width: 38px;
  min-width: 32px;
  height: 38px;
  object-fit: contain;
}

.service-cards {
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.service-card {
  flex: 1 0 278px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 10px 0 rgba(33,53,74,0.06);
  padding: 28px 20px;
  margin-bottom: 20px;
  min-width: 235px;
  min-height: 173px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid #e3e5eb;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 7px 24px 0 rgba(39,97,59,0.13);
  transform: translateY(-4px) scale(1.01);
  border: 1.6px solid #27613B;
}

.service-list {
  flex-wrap: wrap;
  gap: 20px;
}
.service-list li {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  background: #fff;
  border-radius: 10px;
  padding: 26px 19px;
  margin-bottom: 0;
  box-shadow: 0 2px 10px 0 rgba(33,53,74,0.04);
  border: 1px solid #e3e5eb;
}
.service-list h3 span {
  color: #27613B;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 7px;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 14px 0 rgba(33,53,74,0.10);
  margin-bottom: 20px;
  border-left: 6px solid #27613B;
  font-size: 1.13rem;
  color: #232B2F;
}
.testimonial-card p {
  color: #21354A;
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
}
.testimonial-card span {
  color: #8B3915;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 15px;
  white-space: nowrap;
}

/* Cards & Card Container Utilities */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(33,53,74,0.10);
  padding: 26px 20px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 28px 0 rgba(39,97,59,0.14);
  transform: translateY(-2px) 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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FOOTER === */
footer {
  background: #21354A;
  color: #fff;
  width: 100%;
  margin-top: 60px;
}
.footer-section {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  padding: 36px 0 12px 0;
}
.footer-nav, .footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-nav a, .footer-legal-nav a {
  color: #e8f3ee;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus, .footer-legal-nav a:hover, .footer-legal-nav a:focus {
  background: #8B3915;
  color: #fff;
}
.footer-company {
  color: #e8f3ee;
  font-size: 1rem;
}
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-social img {
  width: 35px;
  height: 35px;
  opacity: 0.9;
  filter: grayscale(15%);
  transition: opacity 0.18s, filter 0.2s;
}
.footer-social img:hover {
  opacity: 1;
  filter: none;
}
.footer-copy {
  color: #abbbc8;
  font-size: 0.97rem;
  margin-top: 6px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid #27613B;
  box-shadow: 0 -3px 17px 0 rgba(33,53,74,0.15);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 24px 32px;
  transition: transform 0.38s cubic-bezier(.7,0,.2,1);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner__text {
  flex-grow: 1;
  color: #232B2F;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 18px;
  border-radius: 7px;
  font-size: 1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-accept {
  background: #27613B;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #8B3915;
  color: #fff;
}
.cookie-settings {
  background: #f0f4f8;
  color: #27613B;
  border: 1.4px solid #27613B;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #27613B;
  color: #fff;
}
.cookie-reject {
  background: #f6d9cf;
  color: #8B3915;
  border: 1.4px solid #8B3915;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #8B3915;
  color: #fff;
}

/* COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(33,53,74,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.6,0,.18,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  padding: 36px 30px;
  border-radius: 15px;
  box-shadow: 0 6px 32px 0 rgba(33,53,74,0.17);
  max-width: 420px;
  width: 96vw;
  min-width: 0;
  color: #232B2F;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #27613B;
  height: 19px;
  width: 19px;
  margin-right: 4px;
}
.cookie-category.disabled input {
  accent-color: #718c80;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
}
.cookie-modal button {
  padding:8px 18px;
  border-radius:6px;
  font-size:1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight:600;
  border:none;
  cursor:pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 11px;
  right: 13px;
  font-size: 1.65rem;
  background: transparent;
  color: #8B3915;
  border: none;
  cursor: pointer;
  z-index: 5;
}

/* ===== INTERACTIVE ELEMENTS ===== */
button, .cta-button {
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, border 0.13s;
}
button:focus, a:focus {
  outline: 2px solid #27613B;
  outline-offset: 2px;
}

/* ===== MEDIA QUERIES FOR RESPONSIVENESS ===== */
@media (max-width: 1050px) {
  .footer-section {
    gap: 14px;
    padding: 30px 0 7px 0;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .footer-section { padding: 20px 0 6px 0; gap: 10px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .hero { padding-bottom: 28px; min-height: 170px; }

  .feature-grid, .statistics-grid, .schedule-timeline, .service-cards, .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid li, .statistics-grid li, .schedule-timeline li, .service-list li {
    min-width:100px; max-width:100vw;
  }
  .service-card { min-width: 100px; }
  .footer-section {
    gap: 3px;
    padding: 18px 0 3px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 15px 10px;
    font-size:1rem;
  }
  .cookie-modal {
    padding: 18px 7vw 15px 7vw;
    font-size:1rem;
    min-width:0;
  }
  .footer-nav, .footer-legal-nav {
    gap: 8px;
    font-size:0.95rem;
  }
}
@media (max-width: 480px) {
  .hero { padding-bottom: 13px; padding-top: 16px; }
  .section, .text-section { padding: 16px 4px; }
  .card, .service-card, .feature-grid li, .testimonial-card, .service-list li, .statistics-grid li { padding-left: 9px; padding-right: 9px; }
}

/* ===== ACCESSIBILITY & MISC ===== */
::-webkit-scrollbar {
  width: 9px;
  background: #e8f3ee;
}
::-webkit-scrollbar-thumb {
  background: #bfcad6;
  border-radius: 7px;
}

/* ===== HIDE SCROLL ON MOBILE MENU OPEN (JS should add .menu-opened on <body>) ===== */
body.menu-opened {
  overflow: hidden;
  touch-action: none;
}
section {
  padding: 20px 0;
}
/* ===== END OF CSS ===== */
