/* LA Carpet Care — single-page styles */
:root {
  --ink: #10202c;          /* deep navy-slate, 14.8:1 on white */
  --ink-soft: #3c4f5e;     /* 7.5:1 on white */
  --teal: #0e7490;         /* accent, 4.9:1 on white */
  --teal-deep: #0b5c73;
  --sand: #f4f1ea;
  --card: #ffffff;
  --line: #dfe4e8;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: #fff; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }
a { color: var(--teal-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease; cursor: pointer;
  min-height: 44px; line-height: 1.4;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-outline { border-color: var(--teal); color: var(--teal-deep); background: transparent; width: 100%; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 17px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--teal-deep); }
.cn-badge {
  background: #fdeed7; color: #7a4a00; font-weight: 700; font-size: 13px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid #f3d9ac;
}
.nav-cta { white-space: nowrap; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, #f7fafc 0%, #fff 100%); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--teal-deep); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 18px; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 34em; margin-bottom: 20px; }
.hero-points { list-style: none; margin-bottom: 28px; }
.hero-points li { padding: 7px 0 7px 30px; position: relative; color: var(--ink); font-weight: 500; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; width: 21px; height: 21px;
  background: var(--teal); color: #fff; border-radius: 50%; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(16,32,44,.35); aspect-ratio: 1344/768; object-fit: cover; }
.hero-card {
  position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 12px;
  padding: 12px 16px; box-shadow: 0 12px 30px -12px rgba(16,32,44,.4); max-width: 300px;
}
.hero-card strong { display: block; font-size: 15px; }
.hero-card span { font-size: 13px; color: var(--ink-soft); }

/* ---------- trust bar ---------- */
.trustbar { background: var(--ink); color: #fff; padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-grid div { display: flex; flex-direction: column; gap: 2px; }
.trust-grid strong { font-size: 15px; }
.trust-grid span { font-size: 13px; color: #b9c6d0; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--sand); }
.section h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.01em; margin-bottom: 12px; }
.section-sub { color: var(--ink-soft); font-size: 17px; max-width: 46em; margin-bottom: 36px; }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--teal); box-shadow: 0 18px 44px -18px rgba(14,116,144,.35); }
.tag {
  position: absolute; top: -13px; left: 22px; background: var(--teal); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em;
}
.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.price-note { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.price-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.price-card li { padding: 6px 0 6px 24px; position: relative; font-size: 15px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ---------- addons ---------- */
.addons .eyebrow { margin-top: 8px; }
.addon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.addon {
  display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px;
}
.addon img { width: 92px; height: 70px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.addon strong { display: block; font-size: 15px; margin-bottom: 2px; }
.addon span { font-size: 13.5px; color: var(--ink-soft); }
.addon em { font-style: normal; font-weight: 800; color: var(--teal-deep); }

/* ---------- before/after ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ba-side img { border-radius: var(--radius); aspect-ratio: 1024/640; object-fit: cover; }
.ba-side figcaption { text-align: center; padding: 10px 4px 0; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.ba-note { text-align: center; font-size: 13px; color: #5b6b77; margin-top: 14px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 52px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }

/* ---------- audiences ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud { background: var(--sand); border-radius: var(--radius); padding: 24px; }
.aud h3 { font-size: 17px; margin-bottom: 8px; }
.aud p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- faq ---------- */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; font-size: 16.5px; min-height: 24px; }
summary:hover { color: var(--teal-deep); }
details p { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; max-width: 42em; }

/* ---------- booking ---------- */
.book { background: var(--ink); color: #fff; }
.book .eyebrow { color: #7dd3e8; }
.book h2 { color: #fff; }
.book .section-sub { color: #b9c6d0; }
.book-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
  padding: 16px 18px; text-decoration: none; color: #fff; display: block;
}
.contact-card:hover { border-color: #7dd3e8; }
.contact-card strong { display: block; margin-bottom: 3px; font-size: 16px; }
.contact-card span { color: #b9c6d0; font-size: 14px; }
.contact-card code { background: rgba(255,255,255,.12); padding: 2px 8px; border-radius: 6px; }
.book-note { font-size: 13.5px; color: #8ea0ad; }
.quote-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; }
.quote-form h3 { margin-bottom: 16px; font-size: 20px; }
.quote-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; color: var(--ink-soft); }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font-size: 15px;
  border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; background: #fff; color: var(--ink);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.quote-form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 12.5px; color: #5b6b77; margin-top: 10px; text-align: center; }

/* ---------- footer ---------- */
.footer { background: #0a1620; color: #b9c6d0; padding: 38px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer strong { color: #fff; font-size: 16px; }
.footer a { color: #7dd3e8; }
.disclosure { margin-top: 8px; max-width: 34em; color: #75858f; font-size: 12.5px; }
.footer-right { text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .book-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pricing-grid, .addon-row, .steps, .audiences { grid-template-columns: 1fr; }
  .ba { grid-template-columns: 1fr; }
  .nav-links a:not(:last-child) { display: none; }
  .footer-right { text-align: left; }
}
