/* ===========================
   RESET & BASE STYLES
   =========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C2E2A;
  background: #F9F9F9;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #14425C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #55806B;
  text-decoration: underline;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #14425C;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.7rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4, h5, h6 { margin-bottom: 10px; font-size: 1rem; }
strong { font-weight: bold; }

/* ===========================
   BRAND COLORS (Earth Tones & Green Accents)
   =========================== */
:root {
  --color-primary: #14425C;      /* Deep blue-green */
  --color-secondary: #6EC6CA;    /* Light turquoise-green accent */
  --color-accent: #F9F9F9;       /* Near-white */
  --color-green: #55806B;        /* Organic green */
  --color-brown: #C2B280;        /* Muted tan/earth */
  --color-leaf: #AAC389;         /* Soft leaf */
  --color-dk-text: #1C2E2A;      /* Dark natural text */
  --color-light-bg: #F7F6F2;     /* Warm off-white */
  --color-shadow: rgba(86, 112, 107, 0.08);
  --border-radius: 22px;
  --border-radius-small: 12px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  background: var(--color-light-bg);
  box-shadow: 0 2px 8px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link img,
.logo-link-footer img {
  display: block;
  height: 54px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: var(--color-dk-text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-green);
  transition: width 0.3s;
  border-radius: 1px;
  margin-top: 2px;
}
.main-nav a:hover:after, .main-nav a:focus:after { width: 100%; }
.main-nav .cta-main {
  background: var(--color-green);
  color: #fff;
  padding: 9px 26px;
  border-radius: var(--border-radius-small);
  box-shadow: 0 3px 10px rgba(170, 195, 137, 0.14);
  font-weight: 600;
  font-family: var(--font-display);
  margin-left: 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav .cta-main:hover, .main-nav .cta-main:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(20, 66, 92, 0.17);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-green);
  background: none;
  border: none;
  padding: 6px 14px 2px 8px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-leaf);
}

/* ===========================
   MOBILE NAVIGATION OVERLAY
   =========================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(250, 251, 249, 0.98);
  z-index: 300;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.72,-0.01,.41,1.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--color-green);
  background: none;
  border: none;
  padding: 12px 18px 8px 8px;
  align-self: flex-end;
  margin-top: 18px;
  margin-bottom: 8px;
  margin-right: 10px;
  border-radius: 50%;
  transition: background 0.18s;
  z-index: 1;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-leaf);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-left: 34px;
  margin-top: 22px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 500;
  background: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(20, 66, 92, 0.12);
  min-width: 180px;
  display: block;
  width: 95%;
  border-radius: 0;
  transition: color 0.19s, background 0.19s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-leaf);
  color: var(--color-green);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
  background: linear-gradient(97deg, #f5f7f2 65%, #c2b280 110%);
  padding: 56px 0 34px 0;
  border-radius: 0 0 64px 64px/0 0 46px 46px;
  box-shadow: 0 8px 36px var(--color-shadow);
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: 325px;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  max-width: 760px;
}
.hero-section h1 {
  font-size: 2.2rem;
  color: var(--color-primary);
  font-family: var(--font-display);
}
.hero-section .subheadline {
  color: var(--color-green);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 6px;
}

/* ===========================
   FLEX LAYOUT UTILITIES
   =========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(86, 112, 107,0.18);
  transform: translateY(-3px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  background: var(--color-light-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 14px rgba(86, 112, 107, 0.07);
  margin-bottom: 20px;
  max-width: 500px;
  border-left: 7px solid var(--color-green);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(170,195,137,0.17);
  border-left-color: var(--color-brown);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--color-dk-text);
  font-style: italic;
}
.testimonial-name {
  font-size: 1rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 24px;
  margin-bottom: 16px;
  min-width: 220px;
  flex: 1 1 230px;
  transition: box-shadow 0.18s, background 0.18s, transform 0.12s;
}
.feature-item img {
  width: 44px;
  height: 44px;
}
.feature-item h3 {
  color: var(--color-green);
  font-size: 1.18rem;
  font-family: var(--font-display);
  margin-bottom: 2px;
}
.feature-item:hover {
  box-shadow: 0 6px 22px rgba(20,66,92,0.15);
  background: var(--color-light-bg);
  transform: translateY(-2px) scale(1.01);
}

/* GROUP/CUSTOM COMPONENTS, CARDS ETC. */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.customer-benefits-list ul, .benefit-highlights ul {
  margin-left: 1em;
  margin-bottom: 0;
  color: var(--color-dk-text);
}
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 8px 0;
}
.team-member {
  flex: 1 1 220px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 26px 20px 18px 20px;
  min-width: 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.team-member:hover {
  box-shadow: 0 4px 16px rgba(86,112,107,0.14);
}
.service-list-detailed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.service-item {
  flex: 1 1 228px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 22px 20px;
  min-width: 180px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, background 0.18s;
}
.service-item:hover {
  box-shadow: 0 6px 18px var(--color-shadow);
  background: var(--color-light-bg);
}

/* ===========================
   TYPOGRAPHY SPECIFICS
   =========================== */
.subheadline {
  font-family: var(--font-body);
  font-size: 1.16rem;
  color: var(--color-green);
  font-weight: 400;
  margin-bottom: 14px;
}
.cta-primary,
.cta-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.09rem;
  border-radius: 26px;
  padding: 12px 32px;
  margin-top: 20px;
  text-align: center;
  letter-spacing: 0.03em;
  background: var(--color-green);
  color: #fff;
  transition: background 0.22s, box-shadow 0.19s, color 0.22s;
  box-shadow: 0 3px 16px rgba(170, 195, 137, 0.12);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 5px 24px rgba(20, 66, 92, 0.18);
}
.cta-secondary {
  background: var(--color-secondary);
  color: #14425C;
  border: 1.9px solid var(--color-green);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-leaf);
  color: #14425C;
  box-shadow: 0 5px 19px rgba(86,112,107,0.13);
}
.confirmation-section {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* ===========================
   FAQ/DETAILS COMPONENTS
   =========================== */
dt {
  font-weight: 700;
  margin-top: 18px;
  color: var(--color-primary);
}
dd {
  margin-bottom: 12px;
  margin-left: 12px;
}
dd:not(:last-child) {
  margin-bottom: 16px;
}
dl {
  margin-bottom: 28px;
}

/* ===========================
   CONTACT INFO
   =========================== */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info-list p,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.contact-info-list img {
  width: 22px; height: 22px;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}

/* ===========================
   SERVICE TEASER
   =========================== */
.service-teaser-list {
  margin-bottom: 16px;
}
.service-teaser-list li {
  font-size: 1.08rem;
  color: var(--color-dk-text);
  margin-bottom: 11px;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 38px 0 22px 0;
  border-radius: 48px 48px 0 0 / 32px 32px 0 0;
  margin-top: 40px;
  box-shadow: 0 -3px 12px var(--color-shadow);
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  width: 100%;
}
.logo-link-footer img {
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.9;
  padding: 2px 0;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 18px; height: 18px; margin-right: 5px;
}


/* ===========================
   BUTTONS AND FORMS
   =========================== */
button, .button, input[type='submit'] {
  font-family: var(--font-display);
  border-radius: 22px;
  font-size: 1rem;
  background: var(--color-green);
  color: #fff;
  padding: 11px 26px;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.17s, box-shadow 0.17s, color 0.17s;
}
button:hover, button:focus, .button:hover, .button:focus, input[type='submit']:hover, input[type='submit']:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 22px rgba(20,66,92,0.13);
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #fff;
  border-top: 2px solid var(--color-leaf);
  box-shadow: 0 -5px 21px rgba(170,195,137,0.13);
  padding: 18px 14px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.33s, opacity 0.33s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(135%);
  pointer-events: none;
}
.cookie-banner p {
  color: var(--color-dk-text);
  font-size: 1.02rem;
  margin-bottom: 7px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 4px;
}
.cookie-btn {
  background: var(--color-green);
  color: #fff;
  padding: 8px 21px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: var(--font-display);
  border: none;
  box-shadow: 0 2px 9px var(--color-shadow);
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
}
.cookie-btn.reject {
  background: var(--color-brown);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-green);
}
.cookie-btn.settings {
  background: var(--color-light-bg);
  color: var(--color-primary);
  border: 1.5px solid var(--color-green);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-leaf);
  color: var(--color-primary);
}

/* ===========================
   COOKIE MODAL
   =========================== */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0; bottom:0; right:0;
  background: rgba(24,39,24,0.26);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 12px 42px rgba(85,128,107,0.15);
  max-width: 420px;
  width: 95vw;
  padding: 36px 28px 24px 28px;
  position: relative;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalFadeIn 0.36s cubic-bezier(.72,-0.01,.41,1.01);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.93) translateY(40px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 15px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: var(--color-green);
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-primary);
}
.cookie-modal h3 {
  color: var(--color-primary);
  margin-bottom: 18px;
  font-size: 1.2rem;
}
.cookie-category {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  width: 100%;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-dk-text);
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-green);
  width: 21px; height: 21px;
}
.cookie-category.essential label {
  color: var(--color-green);
  font-weight: 700;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  margin-top: 0;
}

/* ===========================
   RESPONSIVE: MOBILE FIRST
   =========================== */
@media (max-width: 1100px) {
  .container { max-width: 960px; }
  .content-wrapper { max-width: 720px; }
  .main-nav { gap: 20px; }
  .feature-item, .team-member, .service-item { min-width: 160px; }
}
@media (max-width: 900px) {
  .footer-flex { flex-direction: column; align-items: flex-start; gap: 38px; }
  .main-nav { gap: 13px; }
  .container { max-width: 99vw; }
}
@media (max-width: 768px) {
  .header-flex { flex-direction: row; gap: 16px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero-section { padding: 32px 0 24px 0; border-radius: 0 0 32px 32px/0 0 20px 20px; min-height: 205px; }
  .hero-section h1 { font-size: 1.75rem !important; }
  .hero-section .subheadline { font-size: 1rem; }
  .feature-grid, .testimonial-list, .service-list-detailed, .team-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .team-member, .service-item {
    min-width: 100%;
    width: 100%;
    padding: 18px 14px;
  }
  .testimonial-list { gap: 12px; }
  .footer-flex { flex-direction: column; gap: 32px; }
}
@media (max-width: 600px) {
  .hero-section { padding: 18px 0 12px 0; }
  .container { padding: 8px; }
  .section { margin-bottom: 38px; padding: 24px 8px; }
  .footer-flex { gap: 22px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .cta-primary, .cta-secondary { font-size: 0.97rem; padding: 9px 18px; }
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6px 12px 8px;
    max-width: 97vw;
  }
}

/* ===========================
   ACCESSIBILITY & INTERACTION
   =========================== */
a, button, .cta-primary, .cta-secondary, .cookie-btn {
  outline: none;
}
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ===========================
   ORGANIC VISUALS
   =========================== */
.section, .card, .feature-item, .testimonial-card, .team-member, .service-item {
  border-radius: var(--border-radius);
}
.section {
  background: var(--color-accent);
  box-shadow: 0 2px 14px var(--color-shadow);
}
.card {
  background: #fff;
  border-radius: 30px 19px 28px 22px/24px 29px 19px 28px;
  /* Subtle organic curves */
}

/* ===========================
   MISC
   =========================== */
::-webkit-scrollbar { width: 8px; background: #eaf3ed; }
::-webkit-scrollbar-thumb { background: var(--color-leaf); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-green); }

/* hide visually but keep accessible */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

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