/* InHouse landing pages. Base styles carried over from the homeowners preview (web/homeowners/index.html). */
:root {
  --ink: #0e1a24;
  --ink-2: #3c4a56;
  --muted: #5d6b77;
  --line: #dde3e8;
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --bg-deep: #0f2230;
  --brand: #6be095;        /* logo mint: accents on dark only, never text on white */
  --brand-ink: #0b6b3f;    /* AA on white for links and buttons */
  --brand-ink-hover: #085532;
  --focus: #1d6fd1;
  --note-bg: #fff6d6;
  --note-line: #e6c54d;
  --radius: 12px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 17px; padding-bottom: 72px; }
img { max-width: 100%; }
a { color: var(--brand-ink); }
a:hover { color: var(--brand-ink-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
section { padding: 56px 0; }
.soft { background: var(--bg-soft); }
.eyebrow { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-ink); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }

/* editorial notes: visible in the preview, never published */
.edit-note { background: var(--note-bg); border: 1px dashed var(--note-line); border-radius: 8px; padding: 8px 12px; font-size: .85rem; color: #5a4a00; margin: 12px 0; }
.edit-note strong { color: #3f3300; }
.ph { background: var(--note-bg); border-bottom: 1px dashed var(--note-line); padding: 0 3px; border-radius: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--brand-ink); color: #fff; }
.btn-primary:hover { background: var(--brand-ink-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.logo-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-deep); display: grid; place-items: center; }
.logo-mark svg { width: 22px; height: 22px; }
.logo small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .25em; color: var(--muted); text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; font-weight: 700; text-decoration: none; color: var(--ink); }
.header-actions .btn { min-height: 42px; padding: 8px 16px; font-size: .95rem; }

/* hero */
.hero { padding: 40px 0 48px; background: linear-gradient(180deg, #f1f8f4 0%, #fff 70%); }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { margin-bottom: .35em; }
.hero .tagline { font-size: clamp(1.2rem, 3.4vw, 1.5rem); font-weight: 700; color: var(--ink); margin-bottom: .6em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 24px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust svg { width: 20px; height: 20px; flex: none; color: var(--brand-ink); margin-top: 2px; }

/* form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: 0 10px 30px rgba(14,26,36,.08); scroll-margin-top: 80px; }
.form-card h2 { font-size: 1.35rem; margin-bottom: .25em; }
.form-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 1em; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid #b9c4cc; border-radius: 8px; background: #fff; color: var(--ink); }
.field textarea { min-height: 84px; resize: vertical; }
.two { display: grid; gap: 0 12px; }
.consent { font-size: .8rem; color: var(--muted); margin: 6px 0 14px; }
.form-card .btn { width: 100%; }
.callback { font-size: .85rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.form-done { display: none; text-align: center; padding: 24px 8px; }
.form-done h3 { font-size: 1.3rem; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-done { display: block; }

/* comparison */
.compare { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .97rem; background: #fff; border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--bg-deep); color: #fff; font-size: .9rem; }
.compare thead th.us { background: var(--brand-ink); }
.compare tbody th { font-weight: 600; color: var(--ink-2); width: 30%; }
.compare td.us { font-weight: 600; }
.stat { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--brand-ink); border-radius: var(--radius); padding: 18px 20px; }
.stat-num { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--brand-ink); margin: 0 0 8px; }
.stat-text { margin: 0 0 6px; font-size: 1.02rem; }
.stat-src { margin: 0; font-size: .85rem; color: var(--muted); }
.results-list { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; }
.results-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.results-list .r-what { font-weight: 700; }
.results-list .r-from { color: var(--muted); }
.results-list .r-to strong { color: var(--brand-ink); }

/* cards */
.grid { display: grid; gap: 16px; margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 26px; height: 26px; color: var(--brand-ink); flex: none; }
.card p { color: var(--ink-2); margin-bottom: .6em; }
.card .more { font-weight: 700; text-decoration: none; }

/* steps */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 72px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-deep); color: var(--brand); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--ink-2); }

/* reasons */
.reasons { display: grid; gap: 20px; margin-top: 24px; }
.reason h3 { margin-bottom: .3em; }
.reason p { color: var(--ink-2); margin: 0; }

/* reviews */
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; }
.stars { color: #e3a008; letter-spacing: 2px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; }
.review blockquote { margin: 0 0 12px; font-size: 1.02rem; }
.review figcaption { color: var(--muted); font-size: .9rem; }

/* rights */
.rights { background: var(--bg-deep); color: #e8f0f4; }
.rights h2 { color: #fff; }
.rights .eyebrow { color: var(--brand); }
.rights ul { padding-left: 1.2em; margin: 16px 0 0; }
.rights li { margin-bottom: 10px; }
.rights .edit-note { color: #5a4a00; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 32px 14px 0; position: relative; list-style: none; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.5rem; color: var(--brand-ink); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-2); margin: 0 0 14px; }

/* area */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }

/* final cta */
.final { background: linear-gradient(135deg, #0f2230, #123a2c); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final p { color: #d6e6dd; }
.final .cta-row { justify-content: center; }
.final .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.final .btn-ghost:hover { background: #fff; color: var(--ink); }

/* footer */
footer { background: #0a1720; color: #b8c6cf; font-size: .92rem; padding: 40px 0 24px; }
footer a { color: #d9f5e4; }
.foot-grid { display: grid; gap: 24px; }
footer h3 { color: #fff; font-size: 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }
.legal { border-top: 1px solid #1f3442; margin-top: 24px; padding-top: 16px; font-size: .82rem; }

/* sticky mobile bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14,26,36,.08); }
.mobile-bar .btn { min-height: 48px; padding: 10px; font-size: .98rem; }


@media (min-width: 600px) {
  .two { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .header-phone { display: inline; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 48px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  section { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- added for the WordPress build (spec v7 §15) ---- */

/* Gravity Forms inside the form card: match the preview's fields. Checked on staging 2026-10-26 (form 4, GF 3.2
   Orbital theme): its fixed 38px control height clipped the text, and `background` hid the dropdown arrow. */
.form-card .gform_wrapper { margin: 0; }
.form-card .gform_wrapper .gfield_label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.form-card .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.form-card .gform_wrapper select,
.form-card .gform_wrapper textarea { width: 100%; height: auto; min-height: 48px; font: inherit; font-size: 16px; line-height: 1.4; padding: 11px 12px; border: 1px solid #b9c4cc; border-radius: 8px; background-color: #fff; color: var(--ink); }
.form-card .gform_wrapper select { padding-right: 36px; }
.form-card .gform_wrapper textarea { height: 96px !important; min-height: 84px !important; resize: vertical; }
/* Every field but the last is required, and that one says "Optional." (spec §7.3), so no required markers. The
   inputs keep aria-required. */
.form-card .gform_wrapper .gfield_required,
.form-card .gform_wrapper .gform_required_legend { display: none; }
/* The Orbital theme's own selectors outrank these on the button and the textarea (GF's 18rem textarea, blue
   button), so the few properties that matter are !important, scoped to the form card. */
.form-card .gform_wrapper .gform_footer input[type="submit"],
.form-card .gform_wrapper .gform_footer button { width: 100% !important; min-height: 48px !important; padding: 12px 20px !important; border: 0 !important; border-radius: 999px !important; background: var(--brand-ink) !important; color: #fff !important; font: inherit; font-weight: 700; cursor: pointer; }
.form-card .gform_wrapper .gform_footer input[type="submit"]:hover,
.form-card .gform_wrapper .gform_footer button:hover { background: var(--brand-ink-hover) !important; }
.form-card .gform_wrapper .gfield_html { font-size: .8rem; color: var(--muted); }
.form-fallback .btn { width: 100%; }

/* person card (P4) */
.person { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; margin-top: 32px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.person img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; display: block; }
.person h3 { margin-bottom: .2em; }
.person p { margin: 0; color: var(--ink-2); }

/* claim pages: what to do now */
.todo { padding-left: 1.2em; margin: 16px 0 0; }
.todo li { margin-bottom: 10px; }

/* thank-you page */
.thanks { padding: 48px 0 40px; background: linear-gradient(180deg, #f1f8f4 0%, #fff 80%); }
.thanks-wrap { max-width: 720px; }
.call-now { margin-top: 8px; }
.btn-big { min-height: 60px; padding: 14px 28px; font-size: 1.2rem; }
.call-now .hours { font-weight: 600; margin: 14px 0 6px; }
.booking .wrap { max-width: 920px; }
.booking-embed { min-width: 320px; height: 700px; margin-top: 16px; }
.booking-fallback { font-size: .92rem; color: var(--muted); margin-top: 12px; }
.mobile-bar.single { grid-template-columns: 1fr; }

/* ---- 0.2.6 (Andre 2026-11-06: every landing page) ---- */

/* hero with results: phones get intro, results, form; from 900px the results sit under the intro, beside the form */
.hero-proof .results { margin-top: 0; }
@media (min-width: 600px) {
  .hero-proof .results-list { grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 10px; }
  .hero-proof .results-list li { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: .88rem; line-height: 1.35; }
  .hero-proof .results-list li span { display: block; }
  .hero-proof .results-list .r-to { margin-top: 4px; font-size: 1rem; }
}
@media (min-width: 900px) {
  .hero-proof { grid-template-rows: auto 1fr; row-gap: 0; }
  .hero-proof .hero-intro { grid-column: 1; grid-row: 1; }
  .hero-proof .results { grid-column: 1; grid-row: 2; align-self: start; }
  .hero-proof .form-card { grid-column: 2; grid-row: 1 / span 2; }
}

/* form without the optional "Anything we should know?" box (the field stays in the form) */
.form-card.no-notes .gfield--type-textarea,
.form-card.no-notes .field:has(> textarea) { display: none; }

/* card grids fill their rows: five cards run 3 + 2 wide on desktop; an odd last card spans the row on tablets */
@media (min-width: 600px) and (max-width: 899px) {
  .grid > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .grid:has(> .card:nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
  .grid:has(> .card:nth-child(5):last-child) > .card { grid-column: span 2; }
  .grid:has(> .card:nth-child(5):last-child) > .card:nth-child(n+4) { grid-column: span 3; }
}

/* Andre's card with a short bio */
.person-bio { grid-template-columns: 72px 1fr; align-items: start; background: #fff; padding: 20px; }
.person-bio img { width: 72px; height: 72px; }
.person-bio .person-role { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
@media (min-width: 600px) {
  .person-bio { grid-template-columns: 120px 1fr; gap: 24px; padding: 24px; }
  .person-bio img { width: 120px; height: 120px; }
}

/* extra "Request a free claim review" buttons inside the page (Andre 2026-11-06) */
.cta-inline { justify-content: center; margin: 32px 0 0; }
