/* =========================================================
   LANDING PAGE STYLESHEET
   No global header/nav — purpose-built for paid traffic.
   Loads after main.css (uses the same design tokens).
   ========================================================= */

body.landing { background: var(--white); }

/* --- Slim top bar: logo + click-to-call only, no nav links --- */
.lp-topbar {
  background: var(--ink);
  color: var(--white);
  padding: 14px 0;
}
.lp-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lp-topbar .logo { font-size: 1.05rem; }
.lp-call {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
}
.lp-call .lbl { font-size: 0.65rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; display: block; }
.lp-call .num { font-size: 1.15rem; font-weight: 600; color: var(--white); }
.lp-call-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.lp-call-btn:hover { border-color: var(--gold); background: rgba(232,163,61,0.08); }
.lp-call-btn svg { flex-shrink: 0; }

/* --- Slim breadcrumb strip (internal linking + SEO context) --- */
.lp-breadcrumb {
  background: var(--ink-soft);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.lp-breadcrumb .container {
  padding-top: 8px;
  padding-bottom: 8px;
}
.lp-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lp-breadcrumb a { color: rgba(255,255,255,0.65); }
.lp-breadcrumb a:hover { color: var(--gold); }
.lp-breadcrumb li[aria-current] { color: rgba(255,255,255,0.85); }

/* --- Hero -------------------------------------------------- */
.lp-hero {
  background:
    radial-gradient(ellipse 800px 550px at 90% -10%, rgba(197,160,89,0.32), transparent 55%),
    radial-gradient(ellipse 700px 500px at 0% 100%, rgba(122,94,166,0.22), transparent 55%),
    var(--ink);
  color: var(--white);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 10%, rgba(197,160,89,0.22), transparent 55%);
  pointer-events: none;
  z-index: 1;
}
/* Per-service accent — a distinct warm hue mixed into the mesh so
   each landing page feels individually branded, not a recolored
   duplicate of the others. */
.lp-hero--windows  { background: radial-gradient(ellipse 800px 550px at 90% -10%, rgba(122,148,197,0.3), transparent 55%), radial-gradient(ellipse 700px 500px at 0% 100%, rgba(197,160,89,0.22), transparent 55%), var(--ink); }
.lp-hero--roofing   { background: radial-gradient(ellipse 800px 550px at 90% -10%, rgba(196,110,74,0.32), transparent 55%), radial-gradient(ellipse 700px 500px at 0% 100%, rgba(197,160,89,0.2), transparent 55%), var(--ink); }
.lp-hero--solar     { background: radial-gradient(ellipse 800px 550px at 90% -10%, rgba(224,171,66,0.38), transparent 55%), radial-gradient(ellipse 700px 500px at 0% 100%, rgba(196,110,74,0.18), transparent 55%), var(--ink); }
.lp-hero--bath      { background: radial-gradient(ellipse 800px 550px at 90% -10%, rgba(90,158,158,0.3), transparent 55%), radial-gradient(ellipse 700px 500px at 0% 100%, rgba(197,160,89,0.2), transparent 55%), var(--ink); }
.lp-hero--hvac      { background: radial-gradient(ellipse 800px 550px at 90% -10%, rgba(74,133,150,0.34), transparent 55%), radial-gradient(ellipse 700px 500px at 0% 100%, rgba(122,94,166,0.2), transparent 55%), var(--ink); }
.lp-hero .container { position: relative; z-index: 2; }

/* Service-specific background illustration — schematic line art in
   the same premium gold-linework language as the rest of the page, sitting
   behind the content as a subtle watermark. Swap for a real project
   photo later by replacing the <div class="lp-hero-art"> contents
   with an <img> (see README, "Swapping in real photos"). */
.lp-hero-art {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 52%;
  z-index: 0;
  opacity: 0.26;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-hero-art svg { width: 90%; height: 90%; position: relative; z-index: 1; }
.lp-hero-art::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,0.35), transparent 70%);
  filter: blur(10px);
}
.lp-hero--windows .lp-hero-art::before  { background: radial-gradient(circle, rgba(122,148,197,0.4), transparent 70%); }
.lp-hero--roofing .lp-hero-art::before  { background: radial-gradient(circle, rgba(196,110,74,0.4), transparent 70%); }
.lp-hero--solar .lp-hero-art::before    { background: radial-gradient(circle, rgba(224,171,66,0.45), transparent 70%); }
.lp-hero--bath .lp-hero-art::before     { background: radial-gradient(circle, rgba(90,158,158,0.4), transparent 70%); }
.lp-hero--hvac .lp-hero-art::before     { background: radial-gradient(circle, rgba(74,133,150,0.42), transparent 70%); }
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.lp-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 0.4em; }
.lp-hero h1 em { font-style: italic; color: var(--gold); }
.lp-hero .lede { font-size: 1.08rem; color: rgba(255,255,255,0.8); max-width: 48ch; margin-bottom: 24px; }
.lp-hero-badges { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.lp-hero-badge { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.lp-hero-badge svg { color: var(--gold); flex-shrink: 0; }

/* Signature element: the "title block" — a drafting stamp
   carrying the service's key facts, echoing an architectural
   elevation stamp, framed with fine gold corner-registration
   marks — the same signature used on the homepage spec plate. */
.title-block {
  position: relative;
  border: 1px solid rgba(197,160,89,0.32);
  background: rgba(255,255,255,0.03);
}
.title-block::before, .title-block::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1.5px solid var(--gold);
  opacity: 0.85;
  z-index: 1;
}
.title-block::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.title-block::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.title-block .tb-head {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 18px;
  border-bottom: 1px solid rgba(197,160,89,0.28);
}
.title-block .row {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(197,160,89,0.16);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.title-block .row:last-child { border-bottom: none; }
.title-block .k { color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; }
.title-block .v { color: var(--white); text-align: right; }

/* --- Project illustration ------------------------------------------ */
.lp-photo { background: var(--white); padding: 40px 0 0; }
.lp-photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-card);
}
.lp-photo-frame svg { display: block; width: 100%; height: auto; }

/* --- Trust strip -------------------------------------------------- */
.lp-trust {
  background: var(--white);
  border-bottom: 1px solid var(--paper-line);
  padding: 22px 0;
}
.lp-trust .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.lp-trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--concrete); }
.lp-trust-item svg { color: var(--success); flex-shrink: 0; }
.lp-trust-item strong { color: var(--text); }

/* --- Two column layout: content + sticky form -------------------------------------------------- */
.lp-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 72px 0;
}
.lp-content-block { margin-bottom: 56px; }
.lp-content-block:last-child { margin-bottom: 0; }
.lp-content-block h2 { font-size: 1.6rem; margin-bottom: 0.6em; }
.lp-content-block > p.lead { color: var(--concrete); font-size: 1.02rem; max-width: 60ch; }

.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.benefit-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 20px;
}
.benefit-card .icon { color: var(--gold); margin-bottom: 10px; }
.benefit-card h3 { font-size: 1rem; margin-bottom: 6px; text-transform: none; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.benefit-card p { color: var(--concrete); font-size: 0.9rem; margin: 0; }

/* process — genuine sequence, numbered on purpose */
.process-list { counter-reset: step; margin-top: 24px; }
.process-step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--paper-line);
}
.process-step:last-child { border-bottom: none; }
.process-step .num {
  counter-increment: step;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
  border: 1px solid var(--paper-line);
  background: var(--white);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.process-step .num::before { content: counter(step, decimal-leading-zero); }
.process-step h3 { text-transform: none; font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0; margin-bottom: 4px; }
.process-step p { color: var(--concrete); font-size: 0.92rem; margin: 0; }

/* --- Repeated mid-page call-out (multiple "Call Now" touchpoints) --- */
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0 8px;
}
.inline-cta .txt strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}
.inline-cta .txt span { display: block; color: rgba(255,255,255,0.68); font-size: 0.88rem; margin-top: 2px; }
.inline-cta .btn { flex-shrink: 0; }

.testimonial {
  background: var(--white);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px;
  margin-top: 20px;
}
.testimonial p.quote { font-size: 1.02rem; color: var(--text); margin-bottom: 10px; }
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; font-size: 0.9rem; }
.testimonial .who { font-family: var(--font-mono); font-size: 0.78rem; color: var(--concrete); text-transform: uppercase; letter-spacing: 0.06em; }

.faq-item { border-bottom: 1px solid var(--paper-line); }
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; color: var(--gold); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--concrete); padding-bottom: 16px; margin: 0; }

/* --- Lead form panel -------------------------------------------------- */
.lp-form-wrap { position: sticky; top: 24px; }
.lp-form-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.lp-form-body { padding: 32px; }
.lp-form-body h2 {
  color: var(--text);
  font-size: 1.7rem;
  margin: 0 0 8px;
}
.lp-form-body .form-sub {
  color: var(--concrete);
  font-size: 1rem;
  margin: 0 0 26px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E3E5E9;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #F2F3F5;
  transition: border-color 0.15s, background 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: #8A8E96; }
.field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23767B82' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-checkbox { margin-bottom: 20px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--concrete);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}
.field-error {
  color: var(--danger);
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

.btn-form-submit {
  display: block;
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.05rem;
  padding: 17px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn-form-submit:hover { background: var(--navy-deep); transform: translateY(-1px); }

.form-consent { font-size: 0.76rem; line-height: 1.5; color: var(--concrete); margin: 16px 0 4px; }
.form-consent a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 16px;
}
.form-status.success { display: block; background: #E9F3EE; color: var(--success); border: 1px solid var(--success); }
.form-status.error { display: block; background: #FBEAE5; color: var(--danger); border: 1px solid var(--danger); }

.lp-form-foot {
  text-align: center;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--concrete);
  border-top: 1px solid var(--paper-line);
}
.lp-form-foot a { color: var(--gold); }

/* --- Sticky mobile call bar -------------------------------------------------- */
.lp-sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--gold);
}
.lp-sticky-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  color: var(--text);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
}

/* --- Minimal legal bar (replaces full site footer) -------------------------------------------------- */
.lp-legal-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 22px 0 84px;
  font-size: 0.78rem;
}
.lp-legal-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-legal-bar a { color: rgba(255,255,255,0.65); }
.lp-legal-bar a:hover { color: var(--gold); }
.lp-legal-bar .legal-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   RESPONSIVE — LANDING PAGES
   ========================================================= */
@media (max-width: 960px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-main-grid { grid-template-columns: 1fr; padding-top: 48px; }
  .lp-form-wrap { position: static; }
  .benefit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-call .num, .lp-call .lbl { display: none; }
  .lp-sticky-call { display: block; }
  .lp-legal-bar { padding-bottom: 92px; }
  .lp-legal-bar .container { flex-direction: column; }
}
