/* ============================================================
 *  Nesties Cleaning — Phase 2 Stylesheet
 *  File: www/css/style.css
 *  Version: v1.2.0-dev
 *  Updated: 2026-06-11
 *  Changes: New — shared botanical design system for the multi-page
 *           Phase 2 site. Mirrors the brand tokens from the
 *           coming-soon index.php and adds components: top nav, page
 *           hero, service detail, gallery, reviews, about, contact
 *           form, CTA band, footer.
 * ============================================================ */

:root {
  --sage:     #5C7A5F;
  --sage-lt:  #8FAE8B;
  --sage-dk:  #3D5440;
  --mist:     #EAF0E8;
  --cream:    #F7F4EE;
  --cream-dk: #EDE8DF;
  --stone:    #B5AA98;
  --earth:    #7A6E5F;
  --text:     #2E2A24;
  --text-md:  #5C5449;
  --text-lt:  #9A9186;
  --white:    #FFFFFF;

  --nav-h: 74px;
  --maxw: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--sage-dk); line-height: 1.1; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px;
}
.section-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--sage-lt); }
.section-title { font-size: clamp(34px, 5.5vw, 56px); margin-bottom: 16px; }
.section-desc { font-size: 16px; font-weight: 300; color: var(--text-md); max-width: 580px; }
.center { text-align: center; }
.center .section-eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--sage-lt); }
.center .section-desc { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Jost', sans-serif; font-weight: 500; font-size: 14px;
  letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  padding: 13px 28px; border-radius: 10px; border: 1.5px solid transparent;
  transition: background 0.2s, transform 0.15s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--sage-dk); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--sage-dk); border-color: rgba(92,122,95,0.4); }
.btn-outline:hover { border-color: var(--sage); background: rgba(92,122,95,0.06); }

/* ── Top navigation ── */
.site-nav {
  position: sticky; top: 0; z-index: 50; min-height: var(--nav-h);
  background: rgba(247,244,238,0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(92,122,95,0.15);
}
.site-nav .wrap { min-height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; row-gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand .logo-mark { width: auto; height: 48px; }
.nav-brand .nb-text { font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 600; color: var(--sage-dk); }
.nav-brand .nb-text span { color: var(--text-md); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; flex-wrap: wrap; row-gap: 10px; }
.nav-links a { font-size: 14px; color: var(--text-md); text-decoration: none; transition: color 0.18s; }
.nav-links a:hover, .nav-links a.active { color: var(--sage); }
.nav-links a.active { font-weight: 500; }
.nav-cta { padding: 9px 18px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--sage-dk); cursor: pointer; }

/* ── Page hero ── */
.page-hero { padding: 72px 28px 60px; text-align: center; border-bottom: 1px solid rgba(92,122,95,0.13);
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(92,122,95,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(92,122,95,0.07) 0%, transparent 55%);
}
.page-hero h1 { font-size: clamp(44px, 8vw, 76px); }
.page-hero p { color: var(--text-md); font-weight: 300; max-width: 560px; margin: 14px auto 0; }

/* ── Home hero ── */
.home-hero { text-align: center; padding: 90px 0 80px; }
.home-hero h1 { font-size: clamp(52px, 9vw, 92px); margin-bottom: 10px; }
.home-hero h1 em { font-style: italic; font-weight: 400; color: var(--earth); }
.home-hero .tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(19px, 3vw, 27px); color: var(--text-md); margin-bottom: 26px; }
.home-hero .lede { max-width: 540px; margin: 0 auto 34px; font-weight: 300; color: var(--text-md); }
.home-hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--white); border-top: 1px solid rgba(92,122,95,0.1); border-bottom: 1px solid rgba(92,122,95,0.1); }

/* ── Service cards ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.svc-card { background: var(--white); border: 1px solid rgba(92,122,95,0.18); border-radius: 14px; padding: 32px 28px; transition: box-shadow 0.2s, transform 0.2s; }
.svc-card:hover { box-shadow: 0 12px 30px rgba(61,84,64,0.1); transform: translateY(-3px); }
.svc-card .leaf { width: 34px; height: 34px; margin-bottom: 14px; }
.svc-card h3 { font-size: 24px; margin-bottom: 8px; }
.svc-card p { font-size: 14.5px; font-weight: 300; color: var(--text-md); }

/* ── Service detail rows ── */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white);
  border: 1px solid rgba(92,122,95,0.16); border-radius: 16px; overflow: hidden; margin-bottom: 22px; }
.svc-detail .media { background: var(--mist); min-height: 260px; display: flex; align-items: center; justify-content: center;
  color: var(--sage); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-detail .body { padding: 40px 38px; }
.svc-detail .body h3 { font-size: 28px; margin-bottom: 10px; }
.svc-detail .body p { color: var(--text-md); font-weight: 300; margin-bottom: 14px; }
.svc-detail .body ul { list-style: none; display: grid; gap: 8px; }
.svc-detail .body li { position: relative; padding-left: 24px; font-size: 14.5px; }
.svc-detail .body li::before { content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--sage-lt); }
.svc-detail:nth-child(even) .media { order: 2; }

/* ── Gallery filter bar ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-btn {
  font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 400; color: var(--text-md);
  background: var(--white); border: 1px solid rgba(92,122,95,0.25); border-radius: 99px;
  padding: 8px 20px; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.filter-btn:hover { border-color: var(--sage); color: var(--sage-dk); }
.filter-btn.active { background: var(--sage); border-color: var(--sage); color: var(--white); }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.gallery-item {
  position: relative; aspect-ratio: 4/3; background: var(--mist); border-radius: 12px; overflow: hidden;
  cursor: pointer; border: 1px solid rgba(92,122,95,0.14);
}
.gallery-item.hidden { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gi-overlay {
  position: absolute; inset: auto 0 0 0; padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(46,42,36,0.82) 0%, rgba(46,42,36,0.35) 60%, transparent 100%);
  display: flex; flex-direction: column; gap: 3px;
}
.gi-cat { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-lt); }
.gi-title { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 600; color: var(--white); line-height: 1.15; }
.gallery-note { margin-top: 32px; text-align: center; font-size: 13.5px; color: var(--text-lt); }
.gallery-note a { color: var(--sage-dk); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(92,122,95,0.35); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(46,42,36,0.92); opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-content { max-width: min(880px, 92vw); max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lb-content img { max-width: 100%; max-height: 72vh; width: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.lb-caption { margin-top: 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.lb-caption .gi-cat { color: var(--sage-lt); }
.lb-caption .gi-title { color: var(--white); font-size: 22px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.18); }
.lb-close { top: 20px; right: 20px; width: 42px; height: 42px; font-size: 24px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 20px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lb-prev, .lb-next { width: 38px; height: 38px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { top: 10px; right: 10px; }
}

/* ── Reviews ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.review-card { background: var(--white); border: 1px solid rgba(92,122,95,0.18); border-radius: 14px; padding: 30px 28px; }
.review-card .stars { color: var(--sage); letter-spacing: 3px; margin-bottom: 12px; }
.review-card p { font-size: 15px; font-weight: 300; color: var(--text); margin-bottom: 16px; font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 19px; line-height: 1.5; }
.review-card .who strong { display: block; color: var(--sage-dk); font-weight: 500; }
.review-card .who { font-size: 13px; color: var(--text-lt); }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.blog-card { background: var(--white); border: 1px solid rgba(92,122,95,0.18); border-radius: 14px; padding: 30px 28px;
  display: block; text-decoration: none; color: inherit; transition: border-color 0.18s, transform 0.18s; }
.blog-card:hover { border-color: var(--sage); transform: translateY(-2px); }
.blog-card .blog-date { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-lt); margin-bottom: 10px; }
.blog-card h3 { font-size: 21px; margin-bottom: 10px; color: var(--sage-dk); }
.blog-card p { font-size: 15px; font-weight: 300; color: var(--text-md); margin-bottom: 14px; }
.blog-card .blog-read-more { font-size: 13px; font-weight: 500; color: var(--sage); }
.post-body { max-width: 680px; margin: 0 auto; }
.post-body p { color: var(--text-md); font-weight: 300; margin-bottom: 18px; line-height: 1.7; }
.post-body ul { margin: 0 0 18px 20px; color: var(--text-md); font-weight: 300; line-height: 1.7; }
.post-body li { margin-bottom: 8px; }
.post-body .section-title { margin-top: 36px; }

/* ── About ── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-split .media { background: var(--mist); min-height: 360px; border-radius: 16px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--sage); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.about-split p { color: var(--text-md); font-weight: 300; margin-bottom: 16px; }
.stat-row { display: flex; gap: 40px; margin-top: 26px; flex-wrap: wrap; }
.stat .n { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 600; color: var(--sage); line-height: 1; }
.stat .l { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-lt); }

/* ── Contact / quote form ── */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-lt); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: var(--white); border: 1px solid rgba(92,122,95,0.3); border-radius: 10px;
  color: var(--text); font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 300; padding: 12px 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(92,122,95,0.12); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12px; color: var(--text-lt); margin-top: 10px; }
.contact-aside .ci { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-aside .ci .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--mist); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-aside .ci svg { stroke: var(--sage); }
.contact-aside .ci strong { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-lt); margin-bottom: 2px; }
.contact-aside .ci a, .contact-aside .ci span { color: var(--sage-dk); text-decoration: none; font-size: 16px; }

/* ── CTA band ── */
.cta-band { background: var(--sage); color: var(--white); text-align: center; padding: 66px 28px; }
.cta-band h2 { color: var(--white); font-size: clamp(32px, 5vw, 50px); }
.cta-band p { max-width: 520px; margin: 12px auto 26px; font-weight: 300; }
.cta-band .btn-light { background: var(--cream); color: var(--sage-dk); }
.cta-band .btn-light:hover { background: var(--white); transform: translateY(-2px); }

/* ── Footer ── */
.site-footer { background: var(--sage-dk); color: rgba(255,255,255,0.72); padding: 56px 0 26px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-cols h4 { font-family: 'Cormorant Garamond', serif; color: var(--white); font-size: 22px; margin-bottom: 14px; }
.footer-cols a, .footer-cols p { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; font-weight: 300; display: block; margin-bottom: 9px; }
.footer-cols a:hover { color: var(--white); }
.footer-brand .fb-name { font-family: 'Cormorant Garamond', serif; color: var(--white); font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.6); }
.footer-bottom .version-tag { font-variant-numeric: tabular-nums; }
.footer-bottom .credit-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); transition: color 0.18s, border-color 0.18s; }
.footer-bottom .credit-link:hover { color: var(--white); border-color: rgba(255,255,255,0.7); }

/* ── Responsive ── */
@media (max-width: 880px) {
  .svc-grid, .gallery-grid, .reviews-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-detail, .about-split, .contact-split { grid-template-columns: 1fr; }
  .svc-detail:nth-child(even) .media { order: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column;
    background: var(--cream); border-bottom: 1px solid rgba(92,122,95,0.2); padding: 18px 28px; gap: 16px;
    transform: translateY(-130%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: inline-flex; }
  .svc-grid, .gallery-grid, .reviews-grid, .blog-grid, .footer-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
