/* =======================================================================
   CSS RESET & NORMALIZE (Mobile First)
   ======================================================================= */
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: #FCFBF9;
  color: #3d4035;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse; border-spacing: 0;
}
a, button {
  color: inherit; text-decoration: none; cursor: pointer;
  background: none; border: none; font: inherit;
}
img {
  display: block; max-width: 100%; height: auto; border: 0;
}
input, select, textarea, button {
  font-family: inherit; font-size: inherit; line-height: inherit;
}

/* =======================================================================
   CSS VARIABLES (Nature Organic Theme)
   ======================================================================= */
:root {
  /* Brand & Organic nature palette */
  --color-primary: #34495E;         /* slate gray/navy */
  --color-secondary: #8E44AD;       /* lavender, not main in organic, but brand */
  --color-accent: #F3EFEE;
  --color-green: #6E964B;           /* natural green for accents */
  --color-wood: #B68C57;            /* soft warm wood/brown */
  --color-earth: #c8bfae;           /* muted earth bg */
  --color-bg: #FCFBF9;              /* near white, organic canvas */
  --color-card: #F6F3ED;            /* very light earth, card bg */
  --color-border: #E4E0D7;          /* soft border */
  --color-text: #3d4035;            /* dark brown/forest for base text */
  --color-muted-text: #6E6B5E;      /* muted text */
  --color-link: #46613B;            /* organic green for links */
  --color-shadow: rgba(110, 150, 75, 0.08);
  --shadow-soft: 0 2px 16px var(--color-shadow);
  --radius-lg: 20px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* =======================================================================
   TYPOGRAPHY (Organic/Nature, Brand Compliant)
   ======================================================================= */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; line-height: 1.17; }
h2 { font-size: 1.75rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.2rem; margin-bottom: 14px; line-height: 1.3; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--color-muted-text);
}
strong, b { color: var(--color-primary); font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.05rem; }
}

/* Organic blockquote style */
blockquote {
  border-left: 5px solid var(--color-green);
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  font-style: italic;
  color: var(--color-muted-text);
  margin: 24px 0;
}

/* =======================================================================
   LAYOUT CONTAINERS
   ======================================================================= */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 32px 24px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(110, 150, 75, 0.14);
}
.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: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.18s, border-color 0.2s;
  min-width: 0;
}
.testimonial-card p {
  color: var(--color-text);
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card .before-after-description {
  color: var(--color-muted-text);
  font-style: normal;
  font-size: 0.96rem;
}

.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  min-width: 200px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  flex: 1 1 220px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.18s, border-color 0.2s;
}
.feature img {
  width: 36px; height: 36px; object-fit: contain;
  background: #fff; border-radius: 50%; padding: 4px;
  border: 1px solid var(--color-border);
}
.feature:hover,
.feature-item:hover {
  box-shadow: 0 6px 32px rgba(110, 150, 75, 0.14);
  border-color: var(--color-green);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

@media (max-width:1000px) {
  .features-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 16px;
  }
  .feature, .feature-item {
    min-width: 0;
  }
  .content-wrapper {
    gap: 24px;
  }
}

/* =======================================================================
   HEADER / NAVIGATION / MOBILE NAV
   ======================================================================= */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(110,150,75,0.05);
  position: sticky;
  top: 0;
  z-index: 1004;
}
header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img {
  width: 150px;
  height: auto;
  padding: 8px 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-green);
  color: #fff;
}
header nav a.cta.primary {
  background: var(--color-green);
  color: #fff;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: 1.06rem;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 14px var(--color-shadow);
}
header nav a.cta.primary:hover {
  background: #578137;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  color: var(--color-green);
  font-size: 2rem;
  padding: 6px 14px;
  margin-left: 24px;
  transition: background 0.18s, box-shadow 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-earth);
  box-shadow: 0 0 0 3px rgba(110,150,75,0.13);
}

/* Mobile Navigation Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(52, 73, 94, 0.87);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.60,-0.08,.18,1.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.4rem;
  margin: 24px 36px 0 0;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: stretch;
  gap: 4px;
  margin: 24px 0 0 0;
}
.mobile-nav a {
  padding: 16px 36px;
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  background: none;
  transition: background 0.18s color 0.18s;
  min-width: 160px;
  text-align: left;
  outline: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-green);
  color: #fff;
}

@media (max-width: 1020px) {
  header nav { gap: 10px; }
  .logo img { width: 120px; }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:901px) {
  .mobile-menu { display: none !important; }
}

/* =======================================================================
   HERO SECTION & CTA BANNERS
   ======================================================================= */
.hero {
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0 0 60px 60px;
  padding: 64px 0 50px;
  min-height: 340px;
  box-shadow: 0 6px 38px rgba(110,150,75,0.10);
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--color-muted-text);
}
.hero h1 { color: var(--color-green); }

.cta-banner {
  background: linear-gradient(90deg, #e6e0d4 0%, #f5f3ec 100%);
  border-radius: 60px;
  margin: 60px 0 0;
  padding: 48px 0 40px;
  box-shadow: 0 2px 24px rgba(110,150,75,0.08);
}
.cta-banner .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-banner h2 {
  color: var(--color-green);
  margin-bottom: 16px;
}
.cta-banner .cta.primary {
  margin-top: 14px;
}

@media (max-width: 768px) {
  .hero { padding: 36px 0 28px; border-radius: 0 0 36px 36px; }
  .cta-banner { border-radius: 28px; padding: 28px 0 24px; }
  .cta-banner .content-wrapper { gap: 10px; }
}

/* =======================================================================
   BUTTONS & CTA STYLES
   ======================================================================= */
.cta, .btn, button[type="submit"] {
  display: inline-block;
  padding: 11px 30px;
  background: var(--color-green);
  color: #fff;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .01em;
  border: none;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.18s, box-shadow .18s, transform .1s;
  cursor: pointer;
}
.cta.primary {
  background: var(--color-green);
  color: #fff;
}
.cta.secondary {
  background: var(--color-wood);
  color: var(--color-text);
}
.cta:hover,
.cta:focus,
button[type="submit"]:hover,
button[type="submit"]:focus {
  background: #4b672f;
  color: #fff;
  box-shadow: 0 4px 24px rgba(110,150,75,0.15);
  transform: translateY(-1px) scale(1.025);
}

/* Link style for organic visual accent */
a {
  color: var(--color-link);
  transition: color 0.16s;
  text-underline-offset: 3px;
}
a:hover, a:focus { color: var(--color-green); }

/* =======================================================================
   SERVICES, PRICING, BLOG POSTS, CARDS
   ======================================================================= */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 20px;
}
.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  box-shadow: var(--shadow-soft);
  min-width: 220px;
  flex: 1 1 230px;
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s;
}
.service h2, .service h3 {
  color: var(--color-green);
  margin-bottom: 10px;
}
.service .price {
  color: var(--color-primary);
  background: var(--color-earth);
  border-radius: 16px;
  font-size: 1rem;
  margin-top: 8px;
  padding: 4px 12px;
}
.service:hover {
  border-color: var(--color-green);
  box-shadow: 0 4px 22px rgba(110,150,75,0.14);
}

.pricing-table {
  width: 100%;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  color: var(--color-text);
}
.pricing-table th {
  background: var(--color-earth);
  color: var(--color-green);
  font-family: var(--font-display);
  font-size: 1.07rem;
  letter-spacing: 0.01em;
}
.pricing-table tr:last-child td { border-bottom: none; }

.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-post-list article {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px 18px;
  position: relative;
  transition: box-shadow 0.14s;
}
.blog-post-list article:hover {
  box-shadow: 0 2px 18px rgba(110,150,75,0.14);
}
.blog-post-list h2 {
  color: var(--color-green);
  margin-bottom: 8px;
}
.blog-category {
  color: var(--color-wood);
  font-size: 0.97rem;
  margin-top: 10px;
  background: var(--color-earth);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
}

@media (max-width: 900px) {
  .services-list {
    gap: 15px;
    flex-direction: column;
  }
}

/* =======================================================================
   FOOTER
   ======================================================================= */
footer {
  background: var(--color-card);
  color: var(--color-muted-text);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px rgba(110,150,75,0.05);
  padding: 32px 0 0;
  margin-top: 32px;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 20px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--color-wood);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.1s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-green);
  color: #fff;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-info img {
  margin-bottom: 4px;
  width: 46px;
  height: auto;
}

@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 8px 0;
    margin-bottom: 14px;
    text-align: center;
  }
  .footer-info {
    font-size: 0.97rem;
  }
}

/* =======================================================================
   TEXT SECTIONS, UL LIST, ETC.
   ======================================================================= */
.text-section {
  padding: 0 0 2px 0;
  margin-bottom: 10px;
  color: var(--color-muted-text);
  font-size: 1rem;
}
.text-section ul, ul.service-inclusions {
  margin-bottom: 10px;
  padding-left: 22px;
  list-style: disc outside;
  color: var(--color-text);
}
.text-section li, .service-inclusions li {
  margin-bottom: 4px;
  line-height: 1.7;
}
ul.service-inclusions {
  margin-top: 5px;
}

/* Notices and Notes (pricing-notes) */
.pricing-notes {
  background: var(--color-earth);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  color: var(--color-muted-text);
  font-size: 0.97rem;
  margin: 16px 0 1em 0;
}

/* =======================================================================
   RESPONSIVE: FLEX DIRECTION REVERSES
   ======================================================================= */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .services-list {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section { padding: 28px 8px; margin-bottom: 36px; }
}

/* =======================================================================
   THANK YOU SECTION / SPECIALS
   ======================================================================= */
.thank-you {
  background: var(--color-card);
  padding: 64px 0 40px;
  text-align: center;
  border-radius: 0 0 60px 60px;
  margin-top: 0;
}
.thank-you .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* =======================================================================
   COOKIE CONSENT BANNER + MODAL
   ======================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  z-index: 2000;
  background: var(--color-card);
  color: var(--color-text);
  box-shadow: 0 -4px 30px rgba(110,150,75,0.10);
  border-top: 2px solid var(--color-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 14px 24px 14px;
  gap: 18px;
  animation: cookie-banner-fade-in 0.33s cubic-bezier(.46,.16,.35,.98);
  font-size: 1rem;
}
@keyframes cookie-banner-fade-in {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
}
.cookie-banner button {
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: var(--color-wood);
  color: var(--color-primary);
  transition: background .14s, color .14s, box-shadow .13s;
  margin: 0 2px;
}
.cookie-banner button.accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #476535;
}
.cookie-banner button.settings {
  background: var(--color-card);
  border: 1px solid var(--color-green);
  color: var(--color-green);
}
.cookie-banner button.settings:hover {
  background: var(--color-earth);
  color: var(--color-primary);
}
.cookie-banner button.reject {
  background: #fff;
  border: 1px solid var(--color-wood);
  color: var(--color-wood);
}
.cookie-banner button.reject:hover {
  background: var(--color-card);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,40,23,0.32);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in .19s;
}
@keyframes cookie-modal-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 44px rgba(110,150,75,0.17);
  padding: 40px 34px 28px 34px;
  width: 94vw;
  max-width: 440px;
  color: var(--color-text);
  position: relative;
  animation: slide-modal-in .3s cubic-bezier(.45,.13,.47,.93);
}
@keyframes slide-modal-in {
  0% { transform: translateY(40px) scale(0.95); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px; right: 12px;
  background: none;
  font-size: 2rem;
  color: var(--color-green);
  border: none;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 22px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-earth);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-green);
  width: 22px; height: 22px;
  cursor: pointer;
}
.cookie-category .cookie-essential {
  color: var(--color-green);
  font-weight: bold;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .modal-actions button {
  min-width: 110px;
  font-size: 1rem;
  border-radius: 14px;
  padding: 8px 18px;
}

@media (max-width: 700px) {
  .cookie-modal { padding: 18px 8px 14px 8px; max-width: 95vw; }
}

/* =======================================================================
   MICRO-INTERACTIONS & HOVER EFFECTS
   ======================================================================= */
.card, .feature, .service, .testimonial-card, .blog-post-list article {
  transition: box-shadow .18s, border-color .15s, transform .14s;
}
.card:hover, .feature:hover, .service:hover, .testimonial-card:hover, .blog-post-list article:hover {
  transform: translateY(-2px) scale(1.012);
}

.cta, .btn, button, .mobile-menu-toggle {
  transition: background .14s, color .14s, box-shadow .14s, outline .13s;
}
.cta:focus, .btn:focus, button:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

/* Smooth transitions for all standard buttons & links */
*, *:before, *:after { box-sizing: inherit; transition: background 0.18s, color 0.13s, box-shadow .13s, border .13s, outline .12s; }

/* =======================================================================
   SCROLLBARS (light organic theme)
   ======================================================================= */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-card);
}
::-webkit-scrollbar-thumb {
  background: var(--color-wood);
  border-radius: 8px;
}

/* =======================================================================
   ACCESSIBILITY & VISIBILITY ENHANCEMENTS
   ======================================================================= */
:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

/* =======================================================================
   PRINT STYLES
   ======================================================================= */
@media print {
  header, footer, .cta-banner, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #111 !important; background: #fff !important; }
  .container { max-width: 100vw !important; }
}
