/* A&E Window Doctor — quote landing pages (premium redesign)
   Restyles the existing lp-* structure to match the house style:
   Instrument Serif display, warm paper/red palette, refined cards + glass. */

:root {
  --lp-ink: #1c1611;
  --lp-ink-soft: #5f554b;
  --lp-paper: #f6f2ec;
  --lp-paper-2: #efe7da;
  --lp-white: #ffffff;
  --lp-line: #e7ddcd;
  --lp-red: #c82218;
  --lp-red-2: #dd291d;
  --lp-gold: #f0a000;
  --lp-green: #1f7a4d;
  --lp-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --lp-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --lp-wrap: 1160px;
  --lp-shadow: 0 34px 70px -40px rgba(28, 22, 17, 0.55);
  --lp-shadow-sm: 0 16px 34px -22px rgba(28, 22, 17, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--lp-ink);
  background: var(--lp-white);
  font-family: var(--lp-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main img { display: block; max-width: 100%; height: auto; }
main a { color: inherit; }

.lp-wrap { width: min(var(--lp-wrap), calc(100% - 40px)); margin: 0 auto; }

/* ---------- buttons ---------- */
.lp-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 24px;
  font-family: var(--lp-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.lp-btn--call {
  background: var(--lp-red);
  color: #fff;
  box-shadow: 0 16px 30px -14px rgba(200, 34, 24, 0.6);
}
.lp-btn--call:hover { background: var(--lp-red-2); transform: translateY(-2px); }
.lp-btn--quote {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.lp-btn--quote:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

/* ---------- hero ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(200, 34, 24, 0.30), transparent 60%),
    linear-gradient(104deg, rgba(24, 18, 13, 0.95) 0%, rgba(24, 18, 13, 0.86) 46%, rgba(24, 18, 13, 0.62) 100%),
    url("/uploads/performance/hero/hero-home-960.jpg") center/cover no-repeat;
  color: #fff;
}
.lp-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.78fr);
  gap: 48px;
  align-items: center;
  width: min(var(--lp-wrap), calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 68px;
}
.lp-hero__copy { padding-top: 4px; }

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  padding: 9px 16px;
  color: #fdf7f1;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.lp-kicker::before {
  width: 8px; height: 8px; border-radius: 50%;
  background: #38d27f;
  box-shadow: 0 0 0 4px rgba(56, 210, 127, 0.22);
  content: "";
}

.lp-hero h1 {
  max-width: 12ch;
  margin: 0 0 18px;
  font-family: var(--lp-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 5.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.lp-lead {
  max-width: 56ch;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
  line-height: 1.6;
}

/* review badges now in shared review-embeds.css */


.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }

.lp-bullets {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px; gap: 12px; margin: 0; padding: 0; list-style: none;
}
.lp-bullets li {
  position: relative; padding: 0 0 0 30px;
  color: rgba(255, 255, 255, 0.9); font-weight: 500; font-size: 0.98rem;
}
.lp-bullets li::before {
  position: absolute; left: 0; top: 1px;
  display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center;
  border-radius: 50%; background: #38d27f; color: #07321d;
  content: "\2713"; font-size: 12px; font-weight: 800; line-height: 1;
}

/* ---------- form card ---------- */
.lp-form-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: var(--lp-white);
  color: var(--lp-ink);
  box-shadow: var(--lp-shadow);
  overflow: hidden;
}
.lp-form-card__head {
  background: var(--lp-paper);
  border-bottom: 1px solid var(--lp-line);
  padding: 22px 24px 18px;
}
.lp-form-card__head p, .lp-form-card__head h2 { margin: 0; }
.lp-form-card__head p {
  color: var(--lp-red); font-weight: 700; text-transform: uppercase;
  font-size: 0.72rem; letter-spacing: 0.08em;
}
.lp-form-card__head h2 {
  margin-top: 6px; font-family: var(--lp-display); font-weight: 400;
  font-size: 1.85rem; line-height: 1.1; letter-spacing: -0.01em;
}
.lp-form { display: grid; gap: 14px; padding: 24px; }
.lp-form label { display: grid; gap: 7px; color: var(--lp-ink); font-size: 0.82rem; font-weight: 600; }
.lp-form input, .lp-form select, .lp-form textarea {
  width: 100%; min-height: 50px;
  border: 1px solid var(--lp-line); border-radius: 11px;
  background: #fbfaf7; color: var(--lp-ink);
  font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.lp-form textarea { min-height: 110px; resize: vertical; }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus {
  outline: none; border-color: var(--lp-red); background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 34, 24, 0.14);
}
.lp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-form button {
  min-height: 56px; margin-top: 2px;
  border: 0; border-radius: 12px;
  background: var(--lp-red); color: #fff;
  cursor: pointer; font: inherit; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em;
  padding: 14px 20px;
  box-shadow: 0 16px 30px -14px rgba(200, 34, 24, 0.6);
  transition: background 0.15s ease, transform 0.06s ease;
}
.lp-form button:hover { background: var(--lp-red-2); }
.lp-form button:active { transform: translateY(1px); }
.lp-form button:disabled { opacity: 0.65; cursor: progress; }
.lp-form__fine { margin: 0; color: var(--lp-ink-soft); font-size: 0.84rem; line-height: 1.5; }
.lp-form__fine a { color: var(--lp-red); font-weight: 700; }
.lp-form__status { margin: 0; border-radius: 11px; padding: 11px 14px; font-weight: 600; font-size: 0.92rem; }
.lp-form__status[data-state="pending"] { background: #fff5e6; color: #8a5a00; }
.lp-form__status[data-state="success"] { background: #e7f6ec; color: var(--lp-green); }
.lp-form__status[data-state="fallback"] { background: #fdecea; color: var(--lp-red); }

/* ---------- proof strip ---------- */
.lp-strip { border-bottom: 1px solid var(--lp-line); background: var(--lp-white); }
.lp-strip__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  padding: 0;
}
.lp-proof-tile {
  display: grid; gap: 6px; align-content: center; min-height: 120px;
  padding: 22px 26px;
  border-left: 1px solid var(--lp-line);
}
.lp-proof-tile:first-child { border-left: 0; }
.lp-proof-tile span { color: var(--lp-red); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.lp-proof-tile strong { font-size: 1.1rem; line-height: 1.25; font-weight: 600; }

/* ---------- sections ---------- */
.lp-section { padding: 72px 0; }
.lp-section--grey { background: var(--lp-paper); }
.lp-section__head { max-width: 720px; margin: 0 0 36px; }
.lp-section__head h2 {
  margin: 0 0 12px; font-family: var(--lp-display); font-weight: 400;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem); line-height: 1.04; letter-spacing: -0.01em;
}
.lp-section__head p { margin: 0; color: var(--lp-ink-soft); font-size: 1.08rem; line-height: 1.6; }

/* job cards */
.lp-job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lp-job-card {
  overflow: hidden; border: 1px solid var(--lp-line); border-radius: 18px;
  background: var(--lp-white); box-shadow: var(--lp-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lp-job-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); }
.lp-job-card img { width: 100%; height: 196px; object-fit: cover; }
.lp-job-card__body { padding: 22px; }
.lp-job-card h3 { margin: 0 0 9px; font-family: var(--lp-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.lp-job-card p { margin: 0 0 14px; color: var(--lp-ink-soft); }
.lp-job-card a { color: var(--lp-red); font-weight: 700; text-decoration: none; }
.lp-job-card a:hover { text-decoration: underline; }

/* review proof */
.lp-review-proof { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 34px; align-items: start; }
.lp-scoreboard { display: grid; gap: 16px; }
.lp-score {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center;
  border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-white);
  padding: 18px; box-shadow: var(--lp-shadow-sm);
}
.lp-score img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--lp-line); border-radius: 14px; padding: 12px; background: #fff; }
.lp-score strong { display: block; font-size: 1.7rem; line-height: 1; font-family: var(--lp-display); font-weight: 400; }
.lp-score span { display: block; color: var(--lp-ink-soft); font-weight: 500; }
.lp-proof-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.lp-proof-list li { border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-white); padding: 18px; box-shadow: var(--lp-shadow-sm); }
.lp-proof-list strong { display: block; margin-bottom: 5px; font-size: 1.05rem; font-weight: 700; }
.lp-proof-list p { margin: 0; color: var(--lp-ink-soft); }

/* process */
.lp-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: process; }
.lp-step {
  position: relative; border: 1px solid var(--lp-line); border-radius: 18px;
  background: var(--lp-white); padding: 28px 24px 24px; box-shadow: var(--lp-shadow-sm);
}
.lp-step::before {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  margin-bottom: 16px; border-radius: 50%;
  background: var(--lp-red); color: #fff;
  counter-increment: process; content: counter(process);
  font-family: var(--lp-display); font-size: 1.3rem; font-weight: 400;
}
.lp-step h3 { margin: 0 0 9px; font-family: var(--lp-display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; }
.lp-step p { margin: 0; color: var(--lp-ink-soft); }

/* final band */
.lp-final {
  background:
    radial-gradient(900px 400px at 88% 0%, rgba(200, 34, 24, 0.34), transparent 60%),
    linear-gradient(120deg, #1c1611, #271d15);
  color: #fff; padding: 60px 0;
}
.lp-final__inner { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.lp-final h2 { margin: 0 0 10px; font-family: var(--lp-display); font-weight: 400; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.05; }
.lp-final p { max-width: 64ch; margin: 0; color: rgba(255, 255, 255, 0.82); }

/* footer */
.lp-footer { padding: 36px 0 96px; background: #16110d; color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; }
.lp-footer__inner { display: flex; justify-content: space-between; gap: 22px; }
.lp-footer a { color: #fff; font-weight: 600; }

.lp-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .lp-hero__inner, .lp-review-proof, .lp-final__inner { grid-template-columns: 1fr; }
  .lp-final__inner { gap: 18px; }
  .lp-form-card { max-width: 640px; }
  .lp-strip__inner, .lp-job-grid, .lp-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-proof-tile:nth-child(3) { border-left: 0; }
}
@media (max-width: 680px) {
  .lp-hero__inner { padding: 40px 0 44px; gap: 30px; }
  .lp-hero h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .lp-lead { font-size: 1.04rem; }
  .lp-strip__inner, .lp-job-grid, .lp-process, .lp-form__grid { grid-template-columns: 1fr; }
  .lp-proof-tile { border-left: 0; border-top: 1px solid var(--lp-line); min-height: 0; }
  .lp-proof-tile:first-child { border-top: 0; }
  .lp-review-row { gap: 10px; }
  .lp-review-pill__link { display: none; }
  .lp-section { padding: 52px 0; }
  .lp-footer__inner { flex-direction: column; }
}
