/* LA Remodel Connect — shared styles */
:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --accent: #e8792b;
  --accent-dark: #c9631b;
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --ok: #1f8a4c;
  --err: #c0392b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 68, .12);
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; border: 0; cursor: pointer; text-decoration: none;
  padding: 14px 24px; border-radius: 10px; transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: none; color: var(--muted); padding: 10px 4px; font-weight: 600; }
.btn-block { width: 100%; }
[hidden] { display: none !important; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy); text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: .9rem;
}
.logo-mark svg { width: 20px; height: 20px; }
.header-call { padding: 10px 16px; }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 56px 0 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #24507a 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,46,.92) 0%, rgba(10,28,46,.75) 55%, rgba(10,28,46,.55) 100%); }
.hero .container {
  position: relative; display: grid; gap: 32px;
  grid-template-columns: 1.1fr .9fr;
  grid-template-areas: "copy form" "trust form";
  align-items: start;
}
.hero-copy { grid-area: copy; padding-top: 24px; }
.hero-trust { grid-area: trust; }
.hero-form { grid-area: form; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.hero .sub { font-size: 1.15rem; color: #d7e2ee; max-width: 540px; margin: 0; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center;
}
.check svg { width: 14px; height: 14px; }
.hero-note { margin-top: 20px; font-size: .9rem; color: #b9c8d8; }

/* Form card */
.form-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px;
}
.form-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.progress-bar { height: 100%; width: 20%; background: var(--accent); transition: width .3s ease; }
.progress-label { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend { font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 12px; padding: 0; }
.options { display: grid; gap: 10px; }
.options.two { grid-template-columns: 1fr 1fr; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  display: block; padding: 14px 16px; border: 2px solid var(--line); border-radius: 10px;
  cursor: pointer; font-weight: 600; transition: border-color .15s, background .15s;
}
.option span:hover { border-color: #b8c4d2; }
.option input:checked + span { border-color: var(--accent); background: #fff5ee; }
.option.full { grid-column: 1 / -1; }
.sub-question { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.sub-legend { font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.sub-question .options span { padding: 12px 14px; font-size: .95rem; }
.step-error { color: var(--err); font-size: .88rem; margin: 10px 0 0; }
.sub-question .btn { margin-top: 14px; }
.option input:focus-visible + span { outline: 3px solid rgba(232,121,43,.4); outline-offset: 2px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.field input {
  width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
}
.field input:focus { outline: none; border-color: var(--navy-2); }
.field.invalid input { border-color: var(--err); }
.field .err { display: none; color: var(--err); font-size: .8rem; margin-top: 4px; }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .74rem; color: var(--muted); line-height: 1.45; margin: 6px 0 14px; }
.consent input { margin-top: 2px; flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
.consent.invalid { color: var(--err); }
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; min-height: 44px; }
.form-error { color: var(--err); font-size: .88rem; margin: 8px 0 0; }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: var(--muted); margin-top: 12px; }
.secure svg { width: 14px; height: 14px; }
.hp { position: absolute; left: -9999px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: #fff1e6; color: var(--accent-dark);
  display: grid; place-items: center; margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; }

/* Steps */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 36px; }
.steps .card::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -18px; left: 28px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}

/* Ideas */
.idea { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.idea-img {
  aspect-ratio: 4 / 3; position: relative;
  background: linear-gradient(135deg, #dfe6ee, #c5d1de);
}
.idea-img img { width: 100%; height: 100%; object-fit: cover; }
.idea-tag {
  position: absolute; top: 10px; left: 10px; background: rgba(15,42,68,.85); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px;
}
.idea-body { padding: 18px 20px; }
.idea-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.idea-body p { color: var(--muted); margin: 0; font-size: .95rem; }
.fine { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 16px; }

/* Standards */
.standards { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.std-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.std-list li { display: flex; gap: 14px; }
.std-list strong { display: block; color: var(--navy); }
.std-list span { color: var(--muted); font-size: .95rem; }
.std-list .check { margin-top: 2px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; gap: 16px; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA */
.cta-final { background: var(--navy); color: #fff; text-align: center; }
.cta-final h2 { color: #fff; }
.cta-final p { color: #c9d6e3; max-width: 560px; margin: 0 auto 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-final .btn-outline { color: #fff; border-color: #fff; }
.cta-final .btn-outline:hover { background: #fff; color: var(--navy); }

/* Footer */
.site-footer { background: #0a1d30; color: #9fb1c4; padding: 40px 0 100px; font-size: .88rem; }
.site-footer .container { display: grid; gap: 16px; }
.site-footer a { color: #d1dce8; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-top .logo { color: #fff; }
.footer-top .logo-mark { background: var(--accent); }
.disclaimer { border-top: 1px solid #1f3449; padding-top: 16px; line-height: 1.55; }

/* Mobile sticky bar */
.sticky-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 10px; box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.sticky-bar .btn { flex: 1; padding: 13px 10px; }

/* Simple pages (thank-you, privacy) */
.page { padding: 56px 0 80px; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page h2 { font-size: 1.3rem; margin-top: 1.8em; }
.page p, .page li { color: #3a4654; }
.ty-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 24px; box-shadow: var(--shadow); }
.ty-icon { width: 72px; height: 72px; border-radius: 50%; background: #e7f6ed; color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.ty-icon svg { width: 36px; height: 36px; }
.ty-steps { text-align: left; max-width: 460px; margin: 28px auto; padding: 0; list-style: none; display: grid; gap: 14px; }
.ty-steps li { display: flex; gap: 12px; }
.ty-steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.todo { background: #fff6d6; padding: 0 4px; border-radius: 4px; }

@media (max-width: 900px) {
  .hero { padding: 28px 0 40px; }
  .hero .container { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "trust"; gap: 24px; }
  .hero-copy { padding-top: 0; }
  .hero .sub { font-size: 1rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps.grid-3 { gap: 36px; }
  .standards { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .sticky-bar { display: flex; }
}
@media (max-width: 480px) {
  .form-card { padding: 20px 16px; }
  .header-call .call-text { display: none; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   V2 — visual upgrade (photo-led)
   ============================================================ */
.v2 h1, .v2 h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
.v2 .form-card h2 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 800; letter-spacing: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-lg { padding: 17px 32px; font-size: 1.08rem; }

/* Hero */
.v2 .hero { padding: 72px 0 84px; min-height: 640px; background: linear-gradient(135deg, #0b2136 0%, #173a5c 60%, #2a5682 100%); }
.v2 .hero-bg { transform: scale(1.03); }
.v2 .hero-bg::after { background: linear-gradient(90deg, rgba(8,22,38,.88) 0%, rgba(8,22,38,.62) 48%, rgba(8,22,38,.18) 100%); }
@media (max-width: 900px) { .v2 .hero-bg::after { background: linear-gradient(180deg, rgba(8,22,38,.70) 0%, rgba(8,22,38,.85) 60%, rgba(8,22,38,.92) 100%); } }
.v2 .hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.06; margin-bottom: .45em; }
.v2 .hero .hl { color: #f5a65b; font-style: italic; }
.v2 .hero .sub { font-size: 1.2rem; color: #dbe5ef; max-width: 520px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: .85rem; font-weight: 600; margin-bottom: 22px; backdrop-filter: blur(6px); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
.v2 .trust-list { grid-auto-flow: column; justify-content: start; gap: 22px; }
.v2 .trust-list li { font-size: .98rem; }
.v2 .form-card { padding: 28px; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }

/* Trust bar */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.tb-item { display: flex; gap: 14px; align-items: center; padding: 26px 18px; border-right: 1px solid var(--line); }
.tb-item:last-child { border-right: 0; }
.tb-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff1e6; color: var(--accent-dark); display: grid; place-items: center; }
.tb-ico svg { width: 22px; height: 22px; }
.tb-item strong { display: block; color: var(--navy); font-size: .98rem; }
.tb-item span { color: var(--muted); font-size: .86rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,42,68,.14); }
.svc-img { aspect-ratio: 4 / 3; background-color: #c9d4e0; background-image: linear-gradient(135deg,#dfe6ee,#bccadb); background-size: cover; background-position: center; transition: transform .5s; }
.svc:hover .svc-img { transform: scale(1.05); }
.svc-body { padding: 20px 20px 22px; position: relative; background: #fff; }
.svc-body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.svc-body p { color: var(--muted); font-size: .93rem; margin: 0 0 12px; }
.svc-cta { font-weight: 700; color: var(--accent-dark); font-size: .92rem; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { min-height: 520px; background-position: center 35% !important; border-radius: 22px; background-color: #c9d4e0; background-image: linear-gradient(135deg,#dfe6ee,#bccadb); background-size: cover; background-position: center; box-shadow: 0 30px 60px rgba(15,42,68,.18); }
.split-copy h2 { margin-bottom: 24px; }
.vsteps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.vsteps li { display: flex; gap: 16px; }
.vsteps b { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.vsteps strong { display: block; color: var(--navy); font-size: 1.05rem; }
.vsteps span { color: var(--muted); }

/* Photo CTA */
.cta-photo { position: relative; padding: 110px 0; text-align: center; color: #fff; overflow: hidden; background: var(--navy); }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(8,22,38,.78); }
.cta-photo .container { position: relative; }
.cta-photo h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-photo p { color: #d3deea; max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .trustbar .container { grid-template-columns: repeat(2, 1fr); }
  .tb-item:nth-child(2) { border-right: 0; }
  .tb-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .v2 .hero { padding: 32px 0 44px; min-height: 0; }
  .v2 .trust-list { grid-auto-flow: row; gap: 12px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-img { min-height: 280px; }
  .header-link { display: none !important; }
  .cta-photo { padding: 72px 0; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .trustbar .container { grid-template-columns: 1fr; }
  .tb-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; }
  .tb-item:last-child { border-bottom: 0; }
  .header-actions .btn-sm { padding: 9px 14px; font-size: .88rem; }
}
