/* ============================================================
   Layout: header, hero, form, sections, footer, mobile bar
   ============================================================ */

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--cream), transparent 8%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--sh-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; mix-blend-mode: multiply; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.02rem; }
.header-phone .ico { width: 34px; height: 34px; border-radius: 50%; background: color-mix(in oklab, var(--accent), white 80%); display: grid; place-items: center; color: var(--accent); }
@media (max-width: 860px) { .header-phone span.label { display: none; } .header-actions .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); background-size: cover; background-position: center 35%; }
.hero-overlay { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg,
    rgba(250,245,236,.97) 0%, rgba(250,245,236,.92) 30%,
    rgba(250,245,236,.66) 60%, rgba(250,245,236,.42) 100%);
}
.hero-overlay::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -90px 80px -40px var(--cream); }
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 920px) {
  .hero-overlay { background: linear-gradient(180deg, rgba(250,245,236,.90) 0%, rgba(250,245,236,.96) 45%, var(--cream) 100%); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px);
}
.hero-copy { max-width: 580px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero-lede { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 520px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-reassure { margin-top: 26px; }

.hero-badges { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 12px; }
.hero-badge .num { font-family: var(--font-display); font-size: 2rem; color: var(--navy); line-height: 1; }
.hero-badge .lbl { font-size: .82rem; color: var(--ink-soft); font-weight: 600; line-height: 1.25; }
.hero-badge .stars { color: var(--accent); font-size: 1.05rem; letter-spacing: 2px; }

.hero-media { position: relative; }
.hero-media .photo, .hero-media image-slot { width: 100%; aspect-ratio: 4/5; }
.hero-media .floating {
  position: absolute; left: -28px; bottom: 28px;
  background: var(--paper); border-radius: var(--r);
  padding: 14px 18px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-soft);
}
.hero-media .floating .ba { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.hero-media .floating small { color: var(--ink-soft); font-weight: 600; font-size: .8rem; }

/* ---------- Quote form ---------- */
.quote-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.quote-card .qhead {
  background: var(--navy);
  color: #fff;
  padding: 24px 28px;
  position: relative;
}
.quote-card .qhead::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.quote-card .qhead h3 { color: #fff; font-size: 1.7rem; }
.quote-card .qhead p { color: rgba(255,255,255,.78); font-size: .95rem; margin-top: 6px; }
.quote-card .qbody { padding: 24px 28px 28px; }

.field { margin-bottom: 15px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 700; font-size: .82rem; color: var(--navy); margin-bottom: 7px; letter-spacing: .01em; }
.field .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #a89e90; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent); background: var(--paper);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent), transparent 82%);
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f655a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.textarea { resize: vertical; min-height: 84px; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #c0492f; background: #fcf2ef; }
.err { color: #c0492f; font-size: .78rem; margin-top: 5px; font-weight: 600; }

/* segmented pick (need help / property) */
.seg-group { display: flex; flex-wrap: wrap; gap: 8px; }
.seg {
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink-soft);
  border-radius: 999px; padding: 9px 15px; font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: all .14s ease;
}
.seg:hover { border-color: var(--accent); }
.seg.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* photo upload */
.dropzone {
  border: 1.8px dashed color-mix(in oklab, var(--accent), white 35%);
  border-radius: var(--r); background: color-mix(in oklab, var(--accent), white 88%);
  padding: 20px; text-align: center; cursor: pointer; transition: all .15s ease;
}
.dropzone:hover { background: color-mix(in oklab, var(--accent), white 80%); border-color: var(--accent); }
.dropzone .dz-ico { color: var(--accent); margin-bottom: 6px; }
.dropzone strong { color: var(--navy); display: block; font-size: .95rem; }
.dropzone small { color: var(--ink-soft); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; position: relative; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; border: none; background: rgba(15,38,56,.8); color: #fff; font-size: 11px; cursor: pointer; line-height: 1; display: grid; place-items: center; }

.form-foot { margin-top: 8px; color: var(--ink-soft); font-size: .8rem; text-align: center; }
.form-foot svg { vertical-align: -2px; margin-right: 4px; color: var(--accent); }

/* success state */
.qsuccess { padding: 44px 30px; text-align: center; }
.qsuccess .check { width: 72px; height: 72px; border-radius: 50%; background: color-mix(in oklab, #2f8a5b, white 82%); color: #2f8a5b; display: grid; place-items: center; margin: 0 auto 18px; }
.qsuccess h3 { font-size: 1.8rem; }
.qsuccess p { color: var(--ink-soft); margin-top: 10px; }

/* ---------- Trust cards ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-card { padding: 30px 26px; }
.trust-card .ico { width: 52px; height: 52px; border-radius: 14px; background: color-mix(in oklab, var(--accent), white 84%); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.trust-card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.trust-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.review .stars { color: var(--accent); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); line-height: 1.5; font-family: var(--font-display); font-style: italic; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .ava { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-body); }
.review .who b { display: block; color: var(--navy); }
.review .who small { color: var(--ink-soft); }

/* ---------- Before/After ---------- */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ba-slider { position: relative; aspect-ratio: 3/2; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); user-select: none; touch-action: none; }
.ba-layer { position: absolute; inset: 0; }
.ba-before { background: linear-gradient(135deg, #8f8479, #5e554c); }
.ba-after  { background: linear-gradient(135deg, #cda767, #a06f3c); }
.ba-after-clip { position: absolute; inset: 0; overflow: hidden; }
.ba-tag { position: absolute; top: 14px; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .05em; color: #fff; background: rgba(15,38,56,.6); padding: 6px 12px; border-radius: 999px; z-index: 3; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; }
.ba-divider { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); z-index: 4; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--sh); display: grid; place-items: center; color: var(--navy); cursor: ew-resize; }
.ba-center { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85); font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.svc-card .svc-img { aspect-ratio: 16/10; width: 100%; object-fit: cover; display: block; }
.svc-card .svc-body { padding: 24px 24px 28px; }
.svc-card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.svc-card p { color: var(--ink-soft); font-size: .96rem; }
.svc-card .more { margin-top: 14px; color: var(--accent); font-weight: 700; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; text-decoration: none; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.why-list { display: grid; gap: 18px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .tick { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.why-item p { color: var(--ink-soft); }
.why-item p b { color: var(--navy); display: block; font-family: var(--font-body); font-size: 1.02rem; }
.why-media .photo, .why-media image-slot { width: 100%; aspect-ratio: 4/5; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 34px 28px; }
.step .n { font-family: var(--font-display); font-size: 3rem; color: var(--gold-soft); line-height: 1; }
.step h3 { font-size: 1.35rem; margin: 12px 0 8px; }
.step p { color: rgba(255,255,255,.8); }
.section--navy .step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); }
.section--navy .step p { color: rgba(255,255,255,.78); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s ease; }
.faq-item.open { box-shadow: var(--sh); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--navy); }
.faq-q .pm { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in oklab, var(--accent), white 84%); color: var(--accent); display: grid; place-items: center; transition: transform .25s ease; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a .inner { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- Areas ---------- */
.areas-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 64px); align-items: center; }

/* ---------- Final CTA ---------- */
.final-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.final-copy h2 { font-size: clamp(32px, 4.5vw, 52px); color: #fff; }
.final-copy p { color: rgba(255,255,255,.82); margin-top: 18px; font-size: 1.1rem; max-width: 460px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 54px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 300px; }
.footer-brand img { height: 56px; background: #fff; border-radius: 10px; padding: 6px 10px; }
.footer-brand p { margin-top: 14px; font-size: .92rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.7); text-decoration: none; font-size: .95rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px; padding-top: 22px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: color-mix(in oklab, var(--cream), transparent 4%);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none; gap: 12px; align-items: center;
  box-shadow: 0 -6px 24px rgba(42,37,33,.10);
}
.mobile-cta .mc-call { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.mobile-cta .btn { flex: 1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid, .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 480px; }
  .hero-media .photo, .hero-media image-slot { aspect-ratio: 16/11; }
  .why-grid, .ba-wrap, .areas-inner, .final-grid { grid-template-columns: 1fr; }
  .why-media, .areas-media { max-width: 460px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .trust-grid, .reviews-grid, .svc-grid { grid-template-columns: 1fr; }
  .field.row2 { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  main { padding-bottom: 84px; }
  .hero-badges { gap: 18px; }
  .hero-media .floating { left: 12px; }
}

/* hide hero floating offset on very small to avoid clip */
@media (max-width: 480px) { .hero-media .floating { left: 8px; bottom: 8px; padding: 10px 12px; } }
