/* Tahara Cleaning Co — site styles */

:root {
  --bg: #f7f5ee;
  --surface: #ffffff;
  --surface-2: #efece2;
  --ink: #10201a;
  --ink-soft: #3f524a;
  --muted: #6b7c74;
  --line: #e2ddcf;
  --brand: #14483a;
  --brand-hover: #0f382d;
  --brand-ink: #f7f5ee;
  --accent: #7fcf9f;
  --accent-soft: #dcf1e3;
  --star: #d79a2b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 32, 26, .05), 0 12px 32px -12px rgba(16, 32, 26, .18);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --wrap: 1160px;
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10201a;
    --surface: #162a22;
    --surface-2: #1b3329;
    --ink: #eef1ea;
    --ink-soft: #c3cec7;
    --muted: #93a59c;
    --line: #284437;
    --brand: #7fcf9f;
    --brand-hover: #98dcb2;
    --brand-ink: #0c1a14;
    --accent: #7fcf9f;
    --accent-soft: #1f3e30;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .55);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.015em; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--brand-ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--accent); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 650; font-size: .98rem; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s, color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary [data-arrow] { transition: transform .18s; }
.btn-primary:hover [data-arrow] { transform: translateX(3px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-soft); background: var(--surface); }
.btn-block { display: flex; width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }
@media (prefers-color-scheme: dark) { .link-arrow { color: var(--accent); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 650; font-size: 1.3rem; letter-spacing: -.01em; }
.brand-sub { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 550; color: var(--ink-soft); transition: background .15s, color .15s; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }

.header-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink);
  font-size: .92rem; font-weight: 650;
}
.header-cta:hover { background: var(--brand-hover); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--brand); }
@media (prefers-color-scheme: dark) { .hero h1 em { color: var(--accent); } }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: .93rem; font-weight: 550; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 18px; height: 18px; color: var(--brand); padding: 2px; background: var(--accent-soft); border-radius: 50%; }
@media (prefers-color-scheme: dark) { .trust-row svg { color: var(--accent); } }

.hero-scene {
  position: relative; height: 120px; margin-top: 56px;
  background:
    radial-gradient(120% 140% at 50% 100%, var(--accent-soft) 0%, transparent 60%),
    linear-gradient(180deg, transparent, var(--surface-2));
  border-bottom: 1px solid var(--line);
}
.hero-scene::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70px;
  background: var(--brand); opacity: .09;
  clip-path: polygon(0 100%, 0 60%, 8% 35%, 15% 55%, 24% 20%, 33% 50%, 41% 30%, 50% 58%, 60% 15%, 70% 48%, 78% 28%, 88% 52%, 95% 38%, 100% 50%, 100% 100%);
}
.scene-tag {
  position: absolute; right: max(20px, calc((100% - var(--wrap)) / 2)); bottom: 16px;
  font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Estimate (pricing tool) ---------- */
.estimate {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 26px; box-shadow: var(--shadow);
}
.estimate-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.estimate-head h2 { font-size: 1.45rem; }
.estimate-head span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px;
}
.estimate-head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@media (prefers-color-scheme: dark) { .estimate-head span { color: var(--accent); } }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .estimate-head span::before { animation: none; } }

.field { margin-bottom: 16px; }
.field > label, .field-label { display: block; font-size: .84rem; font-weight: 650; color: var(--ink-soft); margin-bottom: 7px; }

.field select, .field input, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%236b7c74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field select:hover, .field input:hover, .field textarea:hover { border-color: var(--muted); }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--accent-soft); }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 14px; }
.segmented button {
  min-height: 42px; border: 0; border-radius: 10px; background: transparent;
  font-weight: 650; font-size: .93rem; color: var(--ink-soft); cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(16, 32, 26, .14); }

.addon-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.addon {
  min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-size: .88rem; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.addon:hover:not(:disabled) { border-color: var(--muted); color: var(--ink); }
.addon[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.addon[aria-pressed="true"]::before { content: "✓ "; }
.addon:disabled { opacity: .55; cursor: not-allowed; border-style: dashed; }

.price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line);
}
.price-label { font-size: .9rem; font-weight: 600; color: var(--muted); }
.price {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 650; line-height: 1;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  transition: opacity .11s, transform .11s;
}
.price.is-updating { opacity: .45; transform: translateY(2px); }
.price-unit { font-family: var(--font); font-size: .95rem; font-weight: 550; color: var(--muted); letter-spacing: 0; }
.estimate-note { margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head > p { color: var(--ink-soft); max-width: 32em; }

/* Services */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tag {
  align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--brand); padding: 5px 11px; border-radius: 999px; margin-bottom: 18px;
}
@media (prefers-color-scheme: dark) { .tag { color: var(--accent); } }
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card > p { color: var(--ink-soft); margin-bottom: 20px; }
.service-card ul { display: grid; gap: 9px; margin-bottom: 26px; }
.service-card li { position: relative; padding-left: 24px; font-size: .95rem; }
.service-card li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
@media (prefers-color-scheme: dark) { .service-card li::before { border-color: var(--accent); } }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.from { font-size: .9rem; color: var(--muted); }
.from strong { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-left: 3px; }

/* Commercial band */
.commercial-band {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: #14483a; color: #f7f5ee; border-radius: 28px; padding: 56px;
  overflow: hidden; position: relative;
}
.commercial-band .eyebrow { color: #7fcf9f; }
.commercial-band h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; }
.commercial-band p { color: rgba(247, 245, 238, .82); max-width: 32em; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.tag-row li { font-size: .86rem; font-weight: 600; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(247, 245, 238, .26); }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.commercial-band .btn-primary { background: #7fcf9f; color: #0c1a14; }
.commercial-band .btn-primary:hover { background: #98dcb2; }
.commercial-band .btn-secondary { color: #f7f5ee; border-color: rgba(247, 245, 238, .35); }
.commercial-band .btn-secondary:hover { background: rgba(247, 245, 238, .08); border-color: #f7f5ee; }
.band-art { color: #7fcf9f; opacity: .9; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink);
  font-family: var(--serif); font-weight: 650; font-size: 1.15rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* Includes */
.includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.includes li {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 16px; font-size: .94rem; font-weight: 550;
}
.includes svg { width: 22px; height: 22px; flex: none; color: var(--brand); background: var(--accent-soft); border-radius: 50%; padding: 3px; }
@media (prefers-color-scheme: dark) { .includes svg { color: var(--accent); } }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0; display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.stars { color: var(--star); letter-spacing: 3px; font-size: 1rem; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .9rem; }
.review figcaption span { color: var(--muted); }
.review-note { margin-top: 18px; font-size: .82rem; color: var(--muted); font-style: italic; }

/* Service area */
.area-section { padding: 80px 0; background: var(--surface-2); border-block: 1px solid var(--line); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.area-grid h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; }
.area-grid p { color: var(--ink-soft); }
.area-foot { margin-top: 18px; font-size: .94rem; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.area-list li {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px; font-weight: 600;
}
.area-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: 1.08rem; font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--muted); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
@media (prefers-color-scheme: dark) { .faq summary:hover { color: var(--accent); } }
.faq details p { padding: 0 4px 22px; color: var(--ink-soft); max-width: 46em; }

/* CTA band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 44px 48px;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.cta-band p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--line); margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-note { margin-top: 16px; color: var(--ink-soft); font-size: .94rem; max-width: 26em; }
.footer-col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; font-size: .95rem; }
.footer-col a:hover { color: var(--brand); text-decoration: underline; }
@media (prefers-color-scheme: dark) { .footer-col a:hover { color: var(--accent); } }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Shared form/booking helpers ---------- */
.is-hidden { display: none !important; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .estimate { max-width: 560px; }
  .card-grid, .review-grid, .steps { grid-template-columns: 1fr 1fr; }
  .includes { grid-template-columns: repeat(2, 1fr); }
  .commercial-band { grid-template-columns: 1fr; padding: 44px; }
  .band-art { max-width: 380px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  :root { --header-h: 64px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { padding-top: 40px; }
  .hero-scene { margin-top: 40px; height: 90px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 28px; }
  .card-grid, .review-grid, .steps, .area-grid, .footer-grid { grid-template-columns: 1fr; }
  .area-grid { gap: 28px; }
  .estimate { padding: 20px; border-radius: 20px; }
  .price { font-size: 2.2rem; }
  .commercial-band { padding: 32px 24px; border-radius: 22px; }
  .cta-band { padding: 32px 24px; border-radius: 22px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; inset: auto 0 0 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 50px; }
}

@media (max-width: 420px) {
  .includes, .area-list { grid-template-columns: 1fr; }
  .header-cta { padding: 9px 13px; }
}
