/* Frontline Restoration redesign 2026-10-21: warm light theme layered on style.css.
   Palette kept: red #d03030, ink #141414. Neutrals are new (warm white).
   One horizontal inset token: --gutter (defined in style.css, 1.25rem / 1.5rem under 560px). */
:root{
  --red:#d03030;--red-dark:#b02424;--red-glow:rgba(208,48,48,.14);
  --ink:#141414;--white:#141414;
  --bg:#fbf8f5;--bg-card:#ffffff;--bg-elevated:#f3eee9;
  --border:rgba(20,20,20,.13);
  --text:#141414;--text-muted:#57524d;
  --font-display:'Inter',system-ui,sans-serif;
  --fh-bg:#ffffff;--fh-border:#d03030;
  --radius:12px;
}
body{background:var(--bg);color:var(--text);font-size:1.0625rem;line-height:1.65}
h1,h2,h3,h4{font-family:'Inter',system-ui,sans-serif;color:var(--ink);letter-spacing:-.01em;text-transform:none}
.eyebrow{font-family:'Barlow Condensed',sans-serif;color:var(--red);font-size:.95rem}
.divider{border-radius:2px}
.btn{border-radius:999px}
.btn--primary{background:var(--red);color:#fff}
.btn--primary:hover{background:var(--red-dark)}
.btn--outline{color:var(--ink);border-color:var(--ink);background:transparent}
.btn--outline:hover{background:var(--ink);color:#fff}
.section--dark{background:var(--bg)}
.section--card{background:var(--bg-card)}
.section--elevated{background:var(--bg-elevated)}
.section{padding:72px 0}

/* Header: white bar, ink text, red call button */
.fh{box-shadow:0 1px 0 rgba(20,20,20,.08);backdrop-filter:none;-webkit-backdrop-filter:none}
.fh__link{color:#3b3733}
.fh__link:hover{color:var(--red);background:rgba(208,48,48,.07)}
.fh__link.active{color:var(--red)}
.fh__cta{border-radius:999px;box-shadow:0 2px 10px rgba(208,48,48,.3);background:var(--red)}
.fh__cta:hover{background:var(--red-dark);box-shadow:0 4px 16px rgba(208,48,48,.4)}
.fh__burger span{background:var(--ink)}
.fh__drawer{background:#fff;border-left:2px solid var(--red)}
.fh__drawer-link{color:var(--ink)}
.fh__drawer-info,.fh__drawer-info a,.fh__drawer-info span{color:var(--text-muted)}

/* Cards and pieces from the old system, softened */
.why-card,.feature-card,.review-card{background:#fff;border-color:var(--border)}
.feature-card,.why-card,.review-card{border-radius:var(--radius)}
.feature-grid{background:transparent}
.review-card__quote{color:var(--ink)}
.review-card__by{color:var(--text-muted)}
.review-card__stars{display:none}
.quote-cta{background:var(--ink);color:#fff}
.quote-cta h2,.quote-cta .quote-cta__desc{color:#fff}
.quote-cta .btn--outline{color:#fff;border-color:#fff}
.quote-cta .btn--outline:hover{background:#fff;color:var(--ink)}
.quote-cta .eyebrow{color:#ff7a7a}
@media(max-width:560px){
  .quote-cta__actions{padding:0}
  .quote-cta__actions .btn--lg{white-space:normal;padding:16px var(--gutter);line-height:1.25;width:100%}
}
.service-card{border-radius:var(--radius);overflow:hidden}
.footer{--text-muted:#d2ccc7;--border:rgba(255,255,255,.22);background:var(--ink);color:#e9e5e1}
.footer__col h5,.footer__bottom a{color:#ff7a7a}
.footer a:hover{color:#fff;text-decoration:underline}
.stats-bar{display:none}
.hero__scroll{display:none}

/* Form fields (contact page and new forms) */
.form__input,.form__select,.form__textarea,.lf input,.lf select{background:#fff;color:var(--ink);border:1.5px solid rgba(20,20,20,.28);border-radius:10px}

/* Interior page heroes keep their photo and get a lighter, friendlier overlay */
.page-hero__overlay{background:linear-gradient(180deg,rgba(20,20,20,.72),rgba(20,20,20,.8))}
.page-hero h1,.page-hero .hero__sup,.page-hero h1 span{color:#fff}
.page-hero h1{text-transform:none;font-weight:800}

/* ---------- New components ---------- */
.wrap{max-width:1180px;margin:0 auto;padding:0 var(--gutter)}
.rd-hero{background:linear-gradient(180deg,#fff 0,var(--bg) 100%);padding:40px 0 48px;border-bottom:1px solid var(--border)}
.rd-hero__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}
.rd-hero__tag{display:inline-flex;align-items:center;gap:8px;background:var(--red-glow);color:var(--red-dark);font-weight:700;font-size:.9rem;padding:6px 14px;border-radius:999px;margin-bottom:18px}
.rd-hero__tag::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--red)}
.rd-hero h1{font-size:clamp(2rem,5.2vw,3.4rem);line-height:1.1;font-weight:800;margin-bottom:16px}
.rd-hero__lead{font-size:1.15rem;color:var(--text-muted);max-width:34em;margin-bottom:24px}
.callbtn{display:flex;align-items:center;justify-content:center;gap:12px;background:var(--red);color:#fff;border-radius:16px;min-height:68px;padding:12px 24px;font-weight:800;font-size:1.45rem;letter-spacing:.01em;box-shadow:0 8px 22px rgba(208,48,48,.32);transition:background .18s,transform .18s}
.callbtn:hover{background:var(--red-dark);transform:translateY(-1px)}
.callbtn small{display:block;font-size:.78rem;font-weight:600;opacity:.92;letter-spacing:.02em}
.callbtn span{display:flex;flex-direction:column;line-height:1.15;text-align:left}
.rd-hero__call{max-width:420px}
.rd-hero__alt{margin-top:14px;font-size:.98rem;color:var(--text-muted)}
.rd-hero__alt a{color:var(--red-dark);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.rd-photo{margin-top:26px;border-radius:var(--radius);overflow:hidden;max-width:520px;box-shadow:0 8px 24px rgba(20,20,20,.14)}
.rd-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}

.lf{background:#fff;border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:0 12px 34px rgba(20,20,20,.1)}
.lf h2{font-size:1.35rem;margin-bottom:4px}
.lf__sub{color:var(--text-muted);font-size:.98rem;margin-bottom:16px}
.lf label{display:block;font-weight:600;font-size:.95rem;margin-bottom:6px}
.lf .lf__row{margin-bottom:14px}
.lf input,.lf select{width:100%;min-height:52px;padding:12px 14px;font:inherit;font-size:1rem}
.lf input:focus,.lf select:focus{outline:3px solid rgba(208,48,48,.35);border-color:var(--red)}
.lf button{width:100%;min-height:54px;border-radius:999px;background:var(--ink);color:#fff;font-weight:700;font-size:1.05rem;transition:background .18s}
.lf button:hover{background:#000}
.lf button[disabled]{opacity:.7}
.lf__note{margin-top:12px;font-size:.88rem;color:var(--text-muted)}
.lf__status{margin-top:12px;font-weight:600}
.lf__status a{color:var(--red-dark);text-decoration:underline}
.lf__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Trust bar */
.rd-trust{background:var(--ink);color:#fff}
.rd-trust__list{display:grid;grid-template-columns:repeat(4,1fr);gap:0;list-style:none;margin:0;padding:0}
.rd-trust__list li{padding:16px 14px;border-left:1px solid rgba(255,255,255,.16);font-size:.95rem;line-height:1.35}
.rd-trust__list li:first-child{border-left:0}
.rd-trust__list strong{display:block;font-size:1rem;color:#fff}
.rd-trust__list span{color:#d6d1cc;font-size:.88rem}

/* Section headings */
.rd-head{max-width:46rem;margin-bottom:32px}
.rd-head h2{font-size:clamp(1.6rem,3.6vw,2.3rem);line-height:1.15;font-weight:800;margin-bottom:10px}
.rd-head p{color:var(--text-muted)}

/* Emergency chooser */
.rd-choose{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.rd-tile{display:flex;flex-direction:column;background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:transform .18s,border-color .18s,box-shadow .18s}
.rd-tile:hover{transform:translateY(-3px);border-color:var(--red);box-shadow:0 10px 24px rgba(20,20,20,.12)}
.rd-tile img{width:100%;aspect-ratio:4/3;object-fit:cover}
.rd-tile__body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.rd-tile h3{font-size:1.15rem;font-weight:800}
.rd-tile p{font-size:.95rem;color:var(--text-muted);line-height:1.45}
.rd-tile__go{margin-top:auto;padding-top:6px;font-weight:700;color:var(--red-dark);font-size:.95rem}
.rd-tile--urgent{border-color:var(--red)}

/* Steps */
.rd-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;list-style:none;padding:0;margin:0;counter-reset:s}
.rd-steps li{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px 20px;counter-increment:s}
.rd-steps li::before{content:counter(s);display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--red);color:#fff;font-weight:800;margin-bottom:12px}
.rd-steps h3{font-size:1.1rem;margin-bottom:6px;font-weight:800}
.rd-steps p{font-size:.97rem;color:var(--text-muted);line-height:1.5}

/* Work photos */
.rd-work{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.rd-work figure{margin:0;border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid var(--border)}
.rd-work img{width:100%;aspect-ratio:4/3;object-fit:cover}
.rd-work figcaption{padding:12px 14px;font-size:.95rem;color:var(--text-muted)}

/* Reviews */
.rd-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.rd-reviews blockquote{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin:0;font-size:1rem;line-height:1.55}
.rd-reviews cite{display:block;margin-top:10px;font-style:normal;font-weight:700;font-size:.92rem;color:var(--text-muted)}

/* FAQ answer-engine blocks */
.rd-faq{max-width:50rem}
.rd-faq__item{border-top:1px solid var(--border);padding:22px 0}
.rd-faq__item:last-child{border-bottom:1px solid var(--border)}
.rd-faq__item h3{font-size:1.2rem;font-weight:800;margin-bottom:8px;line-height:1.3}
.rd-faq__item p{color:var(--ink)}
.rd-faq__item p+p{margin-top:10px;color:var(--text-muted)}

/* Area links */
.rd-areas{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}
.rd-areas a{display:inline-block;padding:10px 16px;border:1.5px solid var(--border);border-radius:999px;background:#fff;font-weight:600;min-height:44px}
.rd-areas a:hover{border-color:var(--red);color:var(--red-dark)}

/* Service page quick call strip, under the page hero */
.rd-strip{background:#fff;border-bottom:1px solid var(--border)}
.rd-strip__in{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;padding-bottom:16px;flex-wrap:wrap}
.rd-strip p{font-weight:600;max-width:34em}
.rd-strip .callbtn{min-height:56px;font-size:1.2rem;padding:8px 22px}
.rd-service-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:start}

/* Existing service-page FAQ blocks: cleaner, no inline spacing look */
.rd-faq-legacy h4{font-size:1.15rem;font-weight:800}

/* Sticky call bar: phone button becomes a full-width bar on mobile */
.emergency-cta{bottom:16px;right:16px}
.emergency-cta__btn{width:auto;height:auto;border-radius:999px;padding:14px 22px;background:var(--red);box-shadow:0 8px 24px rgba(208,48,48,.4)}
.emergency-cta__btn span{display:inline;font-family:'Inter',sans-serif;font-weight:800;text-transform:none;letter-spacing:0;font-size:1.05rem}
.emergency-cta__pulse{display:none}

@media(max-width:1024px){
  .rd-choose{grid-template-columns:repeat(3,1fr)}
  .rd-steps{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  .rd-hero__grid,.rd-service-grid{grid-template-columns:1fr;gap:28px}
  .rd-trust__list{grid-template-columns:repeat(2,1fr)}
  .rd-trust__list li:nth-child(3){border-left:0}
  .rd-trust__list li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.16)}
  .rd-work,.rd-reviews{grid-template-columns:1fr}
}
@media(max-width:760px){
  body{padding-bottom:84px}
  .section{padding:52px 0}
  .rd-hero{padding:24px 0 32px}
  .emergency-cta{left:72px;right:var(--gutter);bottom:12px;align-items:stretch}
  .emergency-cta__btn{justify-content:center;width:100%;min-height:56px;border-radius:14px;padding:10px 14px}
  .emergency-cta__btn span{font-size:1.05rem}
}
@media(max-width:560px){
  .rd-choose{grid-template-columns:repeat(2,1fr);gap:12px}
  .rd-tile__body{padding:10px 12px 12px}
  .rd-tile p{display:none}
  .rd-steps{grid-template-columns:1fr}
  .callbtn{font-size:1.3rem}
  .lf{padding:18px}
}
@media(prefers-reduced-motion:reduce){.rd-tile,.callbtn{transition:none}.rd-tile:hover,.callbtn:hover{transform:none}}

/* --white is text color on the light theme; scopes that sit on dark or red grounds restore it */
.btn--primary,.fh__cta,.skip-link,.callbtn,.emergency-cta,.about-split__badge,.hero,.page-hero,.quote-cta,.footer,.service-card,.rd-trust,.rd-steps li::before,.fh__drawer-cta .btn--primary{--white:#fff}
.btn--primary,.fh__cta{color:#fff}
.service-card__title,.service-card__link{color:#fff}
body.ada-contrast-high{--white:#fff !important}
.lf button{color:#fff}
.about-split__content p,.text-image__body p{color:var(--text-muted)}
.text-image__body p{font-size:1.02rem}
.about-split__badge{background:var(--red)}
.page-hero{min-height:min(56vh,440px);height:auto}
.page-hero>.container,.hero>.container{width:100%}
.footer__subhead{margin-top:24px}
/* Related guides block (internal links) */
.rd-guides{padding:48px 0}
.rd-guides .wrap,.rd-guides .container{max-width:var(--max-w,1180px);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
/* "When to call" call button on the guide pages: the generic .gd-box paragraph colour was winning, leaving the label red on red */
.gd-box a.callbtn,.gd-box a.callbtn *{color:#fff}
.rd-guides h2{font-size:clamp(1.4rem,3.2vw,2rem);font-weight:800;margin-bottom:8px}
.rd-guides p{color:var(--text-muted);margin-bottom:16px;max-width:42em}
.rd-guides__list{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:0;padding:0}
.rd-guides__list a{display:block;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);font-weight:600;text-decoration:underline;text-underline-offset:3px;color:var(--red-dark)}
.rd-guides__list a:hover{background:var(--red-glow)}
/* hero paragraphs sit on the dark photo overlay, never ink */
.page-hero p{color:#fff}
