/* Faithful Cleaning TX — palette pulled from logo: deep teal, sage, cream */
:root {
  --teal-900: #0f3a37;
  --teal-700: #1e5d57;
  --teal-500: #347a72;
  --teal-300: #6fa49d;
  --sage-200: #c9dcd6;
  --sage-100: #e3ede9;
  --cream: #f6f3ec;
  --bone: #fbfaf6;
  --ink: #1d2624;
  --ink-soft: #4a5552;
  --gold: #b08a4a;
  --shadow-sm: 0 1px 2px rgba(15, 58, 55, 0.06), 0 1px 3px rgba(15, 58, 55, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 58, 55, 0.08), 0 2px 4px rgba(15, 58, 55, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 58, 55, 0.12), 0 8px 16px rgba(15, 58, 55, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --max-width: 1200px;
  --serif: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--teal-900); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after { content: "—"; opacity: 0.5; margin: 0 0.5em; }

/* ── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--sage-200); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.35rem; color: var(--teal-900); }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand-name { line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.22em; color: var(--teal-500); text-transform: uppercase; margin-top: 2px; }

.nav-toggle {
  display: none; background: transparent; border: 0; padding: 8px;
  cursor: pointer; color: var(--teal-900);
}
.nav-toggle svg { width: 28px; height: 28px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--teal-500); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover::after, .nav-links a:focus::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal-700); color: var(--cream); }
.btn-primary:hover, .btn-primary:focus { background: var(--teal-900); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--teal-900); border-color: var(--teal-700); }
.btn-ghost:hover, .btn-ghost:focus { background: var(--teal-900); color: var(--cream); }
.btn-call svg { width: 18px; height: 18px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 11vw, 140px);
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 55%, var(--teal-500) 100%);
  color: var(--cream);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/img/optimized/hero-kitchen-1600.webp");
  background-size: cover; background-position: center;
  opacity: 0.22; mix-blend-mode: luminosity;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bone));
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: var(--cream); }
.hero .eyebrow { color: var(--sage-200); }
.hero .eyebrow::before, .hero .eyebrow::after { color: var(--sage-200); }
.hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--sage-100); max-width: 580px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas .btn-primary { background: var(--cream); color: var(--teal-900); }
.hero-ctas .btn-primary:hover { background: white; }
.hero-ctas .btn-ghost { color: var(--cream); border-color: var(--sage-200); }
.hero-ctas .btn-ghost:hover { background: var(--cream); color: var(--teal-900); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 2.5rem; font-size: 0.9rem; color: var(--sage-100); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; opacity: 0.85; }

/* Decorative botanical sprig */
.sprig { position: absolute; opacity: 0.18; pointer-events: none; }
.sprig-hero { top: 10%; right: -40px; width: 220px; transform: rotate(20deg); }
@media (max-width: 720px) { .sprig-hero { width: 140px; top: 3%; right: -55px; } }

/* ── Section base ──────────────────────────────────────────── */
section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-title h2 { color: var(--teal-900); }
.section-title p { color: var(--ink-soft); font-size: 1.08rem; }
.section-alt { background: var(--cream); }
.section-deep { background: linear-gradient(180deg, var(--teal-900), var(--teal-700)); color: var(--cream); }
.section-deep .section-title h2 { color: var(--cream); }
.section-deep .eyebrow { color: var(--sage-200); }
.section-deep .eyebrow::before, .section-deep .eyebrow::after { color: var(--sage-200); }

/* ── About ─────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
@media (min-width: 880px) { .about-grid { grid-template-columns: 1fr 1.05fr; } }
.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; }
.about-visual .accent {
  position: absolute; bottom: -28px; right: -22px;
  background: var(--cream); padding: 18px 22px; border-radius: var(--radius);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: var(--teal-900); box-shadow: var(--shadow-md); max-width: 240px;
}
.about-body p { color: var(--ink-soft); }
.about-body p:first-of-type { font-size: 1.18rem; color: var(--ink); }
.about-signature { font-family: var(--serif); font-style: italic; color: var(--teal-700); margin-top: 1.5rem; font-size: 1.15rem; }

/* ── Services ──────────────────────────────────────────────── */
.services-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-card {
  background: white; padding: 36px 28px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--sage-100);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sage-200); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sage-100); display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--teal-700);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { color: var(--teal-900); margin-bottom: 0.4em; }
.service-card p { color: var(--ink-soft); font-size: 0.97rem; }
.service-tag {
  display: inline-block; margin-top: 1rem; font-size: 0.78rem;
  color: var(--teal-700); background: var(--sage-100);
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.04em;
}

/* ── Before / After Gallery ────────────────────────────────── */
.ba-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ba-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: white; }
.ba-slider {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: ew-resize; user-select: none;
  background: var(--sage-100);
}
.ba-slider > picture > img,
.ba-slider .ba-after-wrap > picture > img {
  position: absolute; top: 0; height: 100%; object-fit: cover; pointer-events: none;
}
.ba-slider > picture > img { left: 0; width: 100%; }
/* Wrap grows from the left; handle sits on its right edge. JS pins the
   inner after image to the slider's full width so the clip stays aligned. */
.ba-slider .ba-after-wrap {
  position: absolute; top: 0; left: 0; bottom: 0; width: 50%;
  overflow: hidden; will-change: width;
}
.ba-slider .ba-after-wrap > picture { display: block; position: absolute; inset: 0; }
.ba-slider .ba-after-wrap > picture > img { left: 0; }
.ba-slider .ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: var(--cream); transform: translateX(-50%); will-change: left;
  box-shadow: 0 0 0 1px rgba(15,58,55,0.18), 0 0 24px rgba(15,58,55,0.3);
}
.ba-slider .ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; border-radius: 50%; background: var(--cream);
  transform: translate(-50%, -50%); box-shadow: var(--shadow-md);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5d57' stroke-width='2.2' stroke-linecap='round'><path d='M9 6l-6 6 6 6'/><path d='M15 6l6 6-6 6'/></svg>");
  background-position: center; background-repeat: no-repeat; background-size: 22px;
}
.ba-slider .ba-label {
  position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  background: rgba(15, 58, 55, 0.78); color: var(--cream); backdrop-filter: blur(6px);
}
.ba-slider .ba-label.before { left: 14px; }
.ba-slider .ba-label.after { right: 14px; background: rgba(176, 138, 74, 0.92); }
.ba-caption { padding: 18px 22px; font-family: var(--serif); font-style: italic; color: var(--teal-900); }

/* ── Why / Promise band ────────────────────────────────────── */
.promise-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 1000px; margin: 0 auto; }
.promise-item { text-align: center; padding: 12px; }
.promise-item .num {
  font-family: var(--serif); font-size: 2.6rem; color: var(--sage-200);
  display: block; line-height: 1; margin-bottom: 0.4rem;
}
.promise-item h3 { color: var(--cream); font-size: 1.2rem; margin-bottom: 0.5rem; }
.promise-item p { color: var(--sage-100); font-size: 0.96rem; }

/* ── Service Area ──────────────────────────────────────────── */
.area-wrap { display: grid; gap: 40px; grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }
@media (min-width: 760px) { .area-wrap { grid-template-columns: 1fr 1fr; align-items: center; } }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li {
  list-style: none;
  background: white; border: 1px solid var(--sage-200);
  padding: 9px 18px; border-radius: 999px; font-size: 0.92rem; color: var(--teal-900);
}
.area-list li.primary { background: var(--teal-700); color: var(--cream); border-color: var(--teal-700); }

/* ── Policies ──────────────────────────────────────────────── */
.policy-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.policy-card { background: white; padding: 26px; border-radius: var(--radius); border: 1px solid var(--sage-100); box-shadow: var(--shadow-sm); }
.policy-card h3 { color: var(--teal-900); font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.policy-card h3 svg { width: 22px; height: 22px; color: var(--teal-500); flex-shrink: 0; }
.policy-card ul { padding-left: 18px; margin: 0; color: var(--ink-soft); }
.policy-card li { margin-bottom: 6px; font-size: 0.95rem; }

/* ── Contact ───────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }
.contact-info { color: var(--sage-100); }
.contact-info h2 { color: var(--cream); }
.contact-channels { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact-channels a {
  display: flex; align-items: center; gap: 14px; color: var(--cream);
  padding: 14px 18px; border: 1px solid rgba(227, 237, 233, 0.18);
  border-radius: var(--radius); transition: background .25s ease, border-color .25s ease;
}
.contact-channels a:hover { background: rgba(227, 237, 233, 0.08); border-color: var(--sage-200); }
.contact-channels svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--sage-200); }
.contact-channels .label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-200); display: block; }
.contact-channels .value { font-size: 1.05rem; }

.contact-form {
  background: var(--bone); color: var(--ink);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { color: var(--teal-900); }
.form-grid { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--sage-200); background: white;
  color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(52, 122, 114, 0.15);
}
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 540px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); }
.consent input { width: auto; margin-top: 4px; }
.form-status { margin-top: 1rem; padding: 12px 16px; border-radius: 10px; display: none; font-size: 0.95rem; }
.form-status.is-success { display: block; background: #e7f4ef; color: #1a5f49; border: 1px solid #b9dec8; }
.form-status.is-error { display: block; background: #fbe7e7; color: #8b2828; border: 1px solid #efbcbc; }

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--teal-900); color: var(--sage-100); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); margin-bottom: 0.5rem; }
.footer h4 { color: var(--cream); font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--sage-100); }
.site-footer a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(227, 237, 233, 0.15);
  margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.82rem; color: var(--sage-200);
}

/* ── Motion ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Mobile nav ────────────────────────────────────────────── */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 64px 0 0; padding: 32px 24px;
    background: var(--bone); flex-direction: column; align-items: stretch; gap: 6px;
    transform: translateX(100%); transition: transform .3s ease;
    border-top: 1px solid var(--sage-200);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { padding: 14px 8px; border-bottom: 1px solid var(--sage-100); font-size: 1.1rem; }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: 12px; }
}

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 12px; padding: 10px 16px;
  background: var(--teal-900); color: var(--cream); border-radius: 8px;
  z-index: 100; transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ── Floating call CTA (mobile) ────────────────────────────── */
.float-call {
  display: none;
  position: fixed; bottom: 18px; right: 18px; z-index: 40;
  background: var(--teal-700); color: var(--cream);
  width: 58px; height: 58px; border-radius: 50%;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.float-call svg { width: 26px; height: 26px; }
@media (max-width: 700px) { .float-call { display: inline-flex; } }
