/* =================== CSS RESET & NORMALIZE =================== */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #f7f5f2;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}
:root {
  --color-primary: #144B77;
  --color-secondary: #FFFFFF;
  --color-accent: #F6C327;
  --color-bg: #F8F5EC;
  --color-earth-1: #9C8266;
  --color-earth-2: #E4DAC1;
  --color-green: #357A38;
  --color-gray: #cac2b1;
  --color-error: #b00020;
  --shadow-soft: 0 2px 8px rgba(100,80,20,0.08);
  --shadow-lift: 0 6px 28px rgba(20,40,10,0.07);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =================== TYPOGRAPHY =================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: #353225;
  background: var(--color-bg);
}
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.18;
  color: var(--color-green);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}
p, ul, ol{
  font-size: 1rem;
  color: #44422C;
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 24px;
}
strong {
  color: var(--color-green);
  font-weight: 600;
}

/* Visual organic shapes/sections (nature-inspired) */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-secondary);
  box-shadow: var(--shadow-soft);
  position: relative;
}

@media (min-width: 700px) {
  h1, .h1 { font-size: 3rem; }
  h2, .h2 { font-size: 2.2rem; }
}



/* =================== CONTAINER =================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* =================== HEADER & NAVIGATION =================== */
header {
  background: var(--color-secondary);
  box-shadow: 0 1px 8px rgba(39,67,16,0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  transition: background 0.22s, color 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-earth-2);
  color: var(--color-green);
}
.btn-primary {
  background: var(--color-green);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  padding: 12px 30px;
  box-shadow: 0 2px 8px rgba(30,70,20,0.07);
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s;
  display: inline-block;
  margin-left: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(20,75,55,0.13);
}
.btn-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  padding: 12px 30px;
  transition: background 0.22s, box-shadow 0.16s, color 0.16s;
  display: inline-block;
  box-shadow: 0 1px 6px rgba(215,180,30,0.11);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-primary);
  color: #fff;
}

.mobile-menu-toggle {
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  font-size: 2.1rem;
  border-radius: var(--radius-lg);
  padding: 7px 18px;
  cursor: pointer;
  border: none;
  margin-left: 10px;
  line-height: 1;
  box-shadow: 0 1px 8px rgba(56,90,40,0.09);
  transition: background 0.2s;
  z-index: 50;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* =================== MOBILE MENU =================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-earth-2);
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  padding: 32px 30px 30px 26px;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.85,.02,.18,1.02);
  box-shadow: 0 6px 28px rgba(40,60,35,0.19);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
  border: none;
  z-index: 250;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-green);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 56px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 12px 0;
  border-radius: var(--radius-md);
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-earth-1);
  color: #fff;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}


/* =================== HERO SECTION =================== */
.hero-section {
  background: linear-gradient(120deg, #e7ecd6 65%, var(--color-accent) 100%);
  border-radius: var(--radius-lg);
  padding-top: 56px;
  padding-bottom: 56px;
  box-shadow: 0 8px 32px rgba(45,80,28,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 28px;
}
.hero-section h1 {
  color: var(--color-green);
}
.hero-section p {
  font-size: 1.2rem;
  font-family: var(--font-body);
}


/* =================== FLEXBOX LAYOUT PATTERNS =================== */
/* General Section Spacing and Alignment Patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  border-radius: var(--radius-lg);
  background: var(--color-secondary);
  box-shadow: var(--shadow-lift);
  margin-bottom: 20px;
  padding: 28px;
  position: relative;
  min-width: 270px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 260px;
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  background: #f5fbea;
  box-shadow: 0 2px 12px rgba(67, 93, 56, 0.08);
  border: 1.5px solid #d6e3be;
  position: relative;
  text-align: center;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
  flex: 1 1 180px;
  background: #F4F9EE;
  border-radius: var(--radius-md);
  padding: 22px 18px 18px 18px;
  box-shadow: 0 2px 10px rgba(90,120,40,0.07);
  border-left: 6px solid var(--color-green);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}
.feature-item:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(50, 120, 50, 0.10);
}

/***** Utilities for value-icon/rapid-response sections *****/
.value-icons, .rapid-response-icons {
  display: flex;
  gap: 18px;
  margin: 14px 0 16px 0;
}
.value-icons img, .rapid-response-icons img {
  width: 38px;
  height: 38px;
  filter: grayscale(0.2) contrast(1.3);
}

.city-highlight-bar {
  display: flex;
  align-items: center;
  background: var(--color-green);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 10px 28px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 28px 0;
}

.cta-section {
  background: var(--color-earth-2);
  text-align: center;
  border-radius: var(--radius-lg);
}
.cta-section h2 {
  color: var(--color-green);
  margin-bottom: 10px;
}
.cta-section p {
  color: #394808;
  font-size: 1.08em;
}

.confirmation-section {
  padding-top: 70px;
  padding-bottom: 70px;
  text-align: center;
}
.confirmation-section .btn-primary {
  margin-top: 22px;
}

/***** FAQ Accordion *****/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.faq-item {
  background: #F4F9EE;
  border-radius: var(--radius-md);
  padding: 18px 18px 17px 18px;
  box-shadow: 0 1px 6px rgba(66,100,30,0.07);
  margin-bottom: 4px;
}
.faq-item h2 {
  font-size: 1.11rem;
  color: var(--color-primary);
  margin-bottom: 7px;
  font-family: var(--font-display);
}
.faq-item p, .faq-item a {
  color: #415132;
}
.extra-information-link {
  margin-top: 14px;
  color: var(--color-green);
  font-weight: 500;
}
.extra-information-link a {
  text-decoration: underline;
  color: var(--color-primary);
  transition: color 0.17s;
}
.extra-information-link a:hover { color: var(--color-green); }

/***** City list *****/
.city-list {
  background: #f8f5ec;
  border-left: 5px solid var(--color-accent);
  padding: 18px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}
.city-list h2 {
  font-size: 1.13rem;
  color: var(--color-green);
  margin-bottom: 10px;
}
.city-list ul {
  padding-left: 12px;
}

/***** Testimonial Cards (contrast, accessibility) *****/
.testimonials-section {
  margin-bottom: 60px;
  background: var(--color-secondary);
}
.testimonial-card {
  color: #354030;
  background: #f5fbea;
  border: 1.5px solid #d6e3be;
  box-shadow: 0 2px 12px rgba(67, 93, 56, 0.08);
}
.testimonial-card p {
  color: #253316;
  font-size: 1.1em;
  margin-bottom: 12px;
}
.testimonial-card .testimonial-name {
  color: var(--color-green);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1em;
}
.star-ratings {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
  justify-content: center;
}
.star-ratings img {
  width: 19px;
  height: 19px;
}

/***** General Spacing and Layout for Content *****/
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section:not(:last-child) {
  margin-bottom: 60px;
}

/***** Footer *****/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 36px 0 18px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -2px 16px rgba(67, 90, 40, 0.08);
}
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-logo {
  margin-bottom: 12px;
}
.footer-logo img {
  width: 146px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #f5ffe6;
  font-weight: 400;
  font-family: var(--font-display);
  font-size: 1.03em;
  opacity: 0.93;
  transition: color 0.15s, opacity 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  font-size: 1em;
  color: #f2ffeb;
  line-height: 1.6;
  opacity: 0.93;
  margin-top: 4px;
}
.footer-contact a {
  color: #ecffba;
  text-decoration: underline;
  transition: color 0.14s;
}
.footer-contact a:hover { color: var(--color-accent); }


/* =================== RESPONSIVE DESIGN =================== */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .footer-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 820px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    gap: 10px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .section, section {
    padding: 30px 8px;
    margin-bottom: 38px;
  }
  .card {
    padding: 17px;
    min-width: unset;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .hero-section {
    padding-top: 24px;
    padding-bottom: 24px;
    border-radius: var(--radius-md);
  }
  .section, section {
    border-radius: var(--radius-md);
  }
  footer {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 20px 0 10px 0;
  }
  .footer-logo img {
    width: 110px;
  }
}

/* =================== GENERAL LISTS & ICONS =================== */
ul li, ol li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 20px;
  color: #5a500b;
  font-size: 1em;
}
ul li:before {
  content: '●';
  color: var(--color-green);
  font-size: 0.75em;
  position: absolute;
  left: 0;
  top: 8px;
}
ol li { counter-increment: list-num; }
ol li:before {
  content: counter(list-num) ". ";
  color: var(--color-primary);
  left: 0;
  font-size: 1em;
  font-weight: 600;
  font-family: var(--font-body);
}
/* Clean marker for custom icon lists */
ul li img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 4px rgba(90,120,40,0.05));
  border-radius: 5px;
  background: #F4F9EE;
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(248,245,236,0.97);
  box-shadow: 0 -4px 20px rgba(40,60,20,0.12);
  border-top: 2.5px solid var(--color-green);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 10px 20px 10px;
  gap: 16px;
  animation: cookie-slide-in 0.5s cubic-bezier(.61, .01, .21, 1.01);
}
@keyframes cookie-slide-in {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #256D35;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn {
  min-width: 130px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 9px 22px;
  font-size: 1em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 2px 7px rgba(39,80,28,0.1);
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: var(--color-earth-1);
  color: #fff;
}
.cookie-btn.settings {
  background: #E4DAC1;
  color: var(--color-green);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
}

/* =================== COOKIE SETTINGS MODAL =================== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,44,10,0.47);
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-backdrop-in 0.3s;
}
@keyframes cookie-backdrop-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 36px rgba(30,40,20,0.16);
  padding: 30px 26px;
  max-width: 420px;
  width: 93vw;
  z-index: 380;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-in 0.3s cubic-bezier(.65,.01,.19,1.09);
  position: relative;
}
@keyframes cookie-modal-in {
  0% { transform: translateY(96px) scale(0.97); opacity: 0.5; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-green);
  margin-bottom: 7px;
  font-family: var(--font-display);
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f9ee;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--color-green);
  width: 18px;
  height: 18px;
}
.cookie-option.disabled {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-close {
  position: absolute;
  right: 20px;
  top: 18px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.3em;
  color: var(--color-green);
  background: var(--color-earth-2);
  border: none;
  cursor: pointer;
  transition: background 0.14s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 390;
}
.cookie-close:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 14px 8px 13px 8px;
    min-width: 0;
    width: 97vw;
  }
  .cookie-btn {
    min-width: 0;
    padding: 8px 12px;
    font-size: 0.98em;
  }
}

/* =================== ANIMATIONS, HOVER EFFECTS, MICRO-INTERACTIONS =================== */
.card, .feature-item, .testimonial-card, .btn-primary, .btn-secondary {
  transition: box-shadow 0.2s, transform 0.17s, background 0.17s, color 0.17s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 32px rgba(67, 90, 40, 0.13);
  transform: translateY(-4px) scale(1.01);
  z-index: 2;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}

/* =================== ACCESSIBILITY/SELECTION =================== */
::selection {
  background: #e4dac1;
  color: var(--color-primary);
}

/* =================== Z-INDEX MANAGEMENT =================== */
header { z-index: 40; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 300; }
.cookie-modal-overlay { z-index: 350; }

/* =================== PREVENT ELEMENT OVERLAP IN FLEX LAYOUTS =================== */
.section > *, .card-container > *, .feature-grid > *, .footer-container > *, .testimonials-section > * {
  margin-bottom: 20px;
}

/***** Hide margin-bottom for last children *****/
.section > *:last-child,
.content-wrapper > *:last-child,
.card-container > *:last-child,
.feature-grid > *:last-child,
.footer-container > *:last-child,
.testimonial-card:last-child {
  margin-bottom: 0;
}

/***** Extra: Hide scrollbars in mobile menu *****/
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/***** Extra: Elevate cta-section and cookie-banner on mobile *****/
@media (max-width: 500px) {
  .cta-section, .cookie-banner {
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 16px rgba(72,110,40,0.10);
  }
}

/***** Extra: Prevent background scroll when mobile menu or cookie modal is open (applied via body class, handled via JS) *****/
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/***** End of Styles *****/
