/* ===== Sabaify — shared styles ===== */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --bg-alt: #f7f3ea;        /* warm sand */
  --ink: #14342f;           /* deep teal-black */
  --ink-soft: #5a6b66;
  --brand: #0f9184;         /* fresh teal */
  --brand-2: #16a594;       /* light teal */
  --sand: #e7d8b8;          /* accent sand */
  --line: #e6e2d7;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(20, 52, 47, 0.10);
  --container: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1f1c; --surface: #16302b; --bg-alt: #122a25;
    --ink: #edf3f0; --ink-soft: #9fb2ab; --brand: #34c5ac; --brand-2: #56d6bd;
    --sand: #3a4a3f; --line: #234139; --shadow: 0 12px 34px rgba(0,0,0,0.35);
  }
}
:root[data-theme="light"] {
  --bg: #ffffff; --surface: #ffffff; --bg-alt: #f7f3ea;
  --ink: #14342f; --ink-soft: #5a6b66; --brand: #0f9184; --brand-2: #16a594;
  --sand: #e7d8b8; --line: #e6e2d7; --shadow: 0 12px 34px rgba(20,52,47,0.10);
}
:root[data-theme="dark"] {
  --bg: #0e1f1c; --surface: #16302b; --bg-alt: #122a25;
  --ink: #edf3f0; --ink-soft: #9fb2ab; --brand: #34c5ac; --brand-2: #56d6bd;
  --sand: #3a4a3f; --line: #234139; --shadow: 0 12px 34px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  font-weight: 700; color: var(--brand); margin: 0 0 0.75rem; }

/* Buttons */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 650; font-size: 0.98rem; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f0fbf8; }
.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }

/* Header + Logo */
.site-header { position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; }
.brand-logo { width: 46px; height: 46px; display: block; flex: 0 0 auto; }
.brand-name { font-size: 1.5rem; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 550; font-size: 0.98rem; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--brand); font-weight: 700; }
.nav-cta { background: var(--brand); color: #fff !important; padding: 0.6rem 1.2rem; border-radius: 999px; }
.nav-cta:hover { background: var(--brand-2); }
.nav-cta.active { color: #fff !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.2s; }

/* Hero (home) */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0; background:
  radial-gradient(1200px 500px at 72% -10%, color-mix(in srgb, var(--sand) 55%, transparent), transparent),
  radial-gradient(900px 400px at 8% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent); }
.hero-inner { max-width: 800px; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin: 1.75rem 0 2rem; }
.trust { display: flex; align-items: center; gap: 0.75rem; color: var(--ink-soft); font-size: 0.92rem; }
.trust .stars { color: #f5a623; letter-spacing: 1px; }
.trust p { margin: 0; }

/* Page hero (interior pages) */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, color-mix(in srgb, var(--sand) 40%, var(--bg)), var(--bg)); }
.page-hero .lead { margin: 0; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }

/* Trust / stat bar */
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sb-item { text-align: center; padding: 1.4rem 1rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); }
.sb-item strong { display: block; font-size: 1.4rem; font-weight: 800; color: var(--brand); }
.sb-item span { color: var(--ink-soft); font-size: 0.9rem; }

/* Grids & cards */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); margin: 0; }
.card-link { display: inline-block; margin-top: 0.9rem; color: var(--brand); font-weight: 650; font-size: 0.92rem; }
.card-ico { width: 46px; height: 46px; margin-bottom: 0.85rem; color: var(--brand); }

/* Service cards (with image media) */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-media { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; }
.service-media svg { width: 42%; height: 42%; color: #fff; }
.m-turnover { background: linear-gradient(135deg, #16a594, #0e7d70); }
.m-deep { background: linear-gradient(135deg, #12b5a0, #0f9184); }
.m-furniture { background: linear-gradient(135deg, #0e8577, #0b6f63); }
.m-odor { background: linear-gradient(135deg, #1aa7c4, #12a594); }
.m-hvac { background: linear-gradient(135deg, #3bbfa8, #0e7d70); }
.price-badge { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.95);
  color: #0e7d70; font-weight: 800; font-size: 0.82rem; padding: 0.4rem 0.75rem; border-radius: 999px; }
.service-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.price-line { color: var(--brand); font-weight: 700; font-size: 0.98rem; margin: 0 0 0.7rem; }
.price-line small { color: var(--ink-soft); font-weight: 500; }
.service-body p { color: var(--ink-soft); margin: 0 0 0.9rem; }
.service-body ul { margin: 0 0 1.3rem; padding-left: 1.1rem; color: var(--ink-soft); }
.service-body li { margin-bottom: 0.3rem; }
.service-actions { margin-top: auto; }

/* Split / about */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.about-text em { font-style: normal; color: var(--brand); font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.65rem; color: var(--ink-soft); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.35rem; height: 1.35rem; background: var(--brand); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--brand); }
.stat span { color: var(--ink-soft); font-size: 0.9rem; }

/* Included checklist (2-col) */
.included { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem; }
.included-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 2.5rem; list-style: none; padding: 0; margin: 0; }
.included-grid li { position: relative; padding: 0.4rem 0 0.4rem 1.9rem; color: var(--ink-soft); }
.included-grid li::before { content: "✓"; position: absolute; left: 0; top: 0.4rem;
  width: 1.35rem; height: 1.35rem; background: var(--brand); color: #fff;
  border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.step .num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 0.75rem; }
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* Quotes */
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem; }
.quote p { font-size: 1.02rem; }
.quote footer { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.05rem 1.3rem; margin-bottom: 0.85rem; }
.faq summary { font-weight: 650; cursor: pointer; list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--brand); font-size: 1.3rem; font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0.75rem 0 0; color: var(--ink-soft); }

/* Service areas */
.areas { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.area-pill { background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1.05rem; font-size: 0.92rem; font-weight: 600; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 1.6rem; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-details { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-details li { margin-bottom: 0.7rem; color: var(--ink-soft); }
.contact-details a { color: var(--brand); font-weight: 600; }
.contact-form { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 0.4rem;
  padding: 0.8rem 0.95rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--bg); color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.form-note { font-size: 0.85rem; color: var(--ink-soft); text-align: center; margin: 0.75rem 0 0; }
.form-note a { color: var(--brand); }

/* Footer */
.site-footer { background: #0c1a17; color: #cfd8d3; padding: 3rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer .brand { color: #fff; margin-bottom: 0.75rem; }
.site-footer .brand-logo { width: 40px; height: 40px; }
.site-footer .brand-name { font-size: 1.35rem; }
.footer-about { color: #a9b8b2; font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #cfd8d3; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  color: #93a49d; font-size: 0.88rem; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2, .steps, .services-grid, .stat-bar, .included-grid { grid-template-columns: 1fr; }
  .split, .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 80px; right: 0; left: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0.5rem 24px 1rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 0.6rem 0; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
}
