/* ============================================================
   Precise Home Offers — shared stylesheet
   Used by the SEO landing pages and the guides section. The two
   original pages (index.html, los-angeles.html) keep their own
   inline CSS; the tokens below are copied from them so every
   page renders as the same brand.
   ============================================================ */

:root {
  --black: #0a0a0a;
  --off-white: #f5f0e8;
  --cream: #ede8dc;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --red: #c0392b;
  --green: #1a6b3c;
  --green-light: #22883e;
  --blue: #1a4a7a;
  --gray: #6b6b6b;
  --border: rgba(201,168,76,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--black); color: var(--off-white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

/* TICKER */
.ticker-bar { background: var(--blue); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: ticker 28s linear infinite; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.ticker-inner span { margin: 0 40px; }
.ticker-inner span::before { content: "\2605  "; }
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; }
  html { scroll-behavior: auto; }
}

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(10,10,10,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 16px 5%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 0.08em; color: var(--gold); text-decoration: none; line-height: 1; }
.logo span { color: var(--off-white); }
.nav-menu { display: flex; align-items: center; gap: 22px; }
.nav-menu a { color: rgba(245,240,232,0.6); font-size: 13px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--black); padding: 10px 24px; border-radius: 4px; font-weight: 700; font-size: 14px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; transition: all 0.2s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-light); }

/* BREADCRUMBS */
.breadcrumbs { padding: 14px 5%; font-size: 12px; color: rgba(245,240,232,0.4); border-bottom: 1px solid rgba(255,255,255,0.05); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(245,240,232,0.25); }
.breadcrumbs a { color: rgba(245,240,232,0.55); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }

/* HERO */
.hero { min-height: 82vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 60px 5%; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 90% at 70% 50%, rgba(26,74,122,0.12) 0%, transparent 60%), radial-gradient(ellipse 40% 50% at 5% 80%, rgba(201,168,76,0.07) 0%, transparent 50%); pointer-events: none; }
.hero-left { position: relative; z-index: 1; }
.market-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(26,74,122,0.2); border: 1px solid rgba(26,74,122,0.5); color: #5b9bd5; padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.pain-hook { font-family: 'DM Serif Display', serif; font-style: italic; font-size: clamp(18px, 2vw, 24px); color: rgba(245,240,232,0.6); margin-bottom: 12px; }
h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 5.2vw, 72px); line-height: 0.95; letter-spacing: 0.02em; margin-bottom: 20px; }
h1 em { font-style: normal; color: var(--gold); display: block; }
.hero-sub { font-size: 17px; line-height: 1.65; color: rgba(245,240,232,0.7); margin-bottom: 28px; max-width: 520px; }
.hero-sub strong { color: var(--off-white); }
.trust-row { display: flex; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(245,240,232,0.8); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--black); padding: 17px 34px; border: none; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; text-decoration: none; transition: all 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-call { background: transparent; color: var(--off-white); padding: 17px 34px; border: 1px solid rgba(245,240,232,0.25); border-radius: 4px; font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.btn-call:hover { border-color: var(--gold); color: var(--gold); }

/* FORM CARD */
.hero-right { position: relative; z-index: 1; }
.form-card { background: var(--off-white); color: var(--black); border-radius: 12px; padding: 36px; box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.25); }
.form-card-header { text-align: center; margin-bottom: 22px; }
.form-card-header h2 { font-family: 'DM Serif Display', serif; font-size: 23px; color: var(--black); line-height: 1.2; margin-bottom: 4px; }
.form-card-header p { font-size: 13px; color: var(--gray); }
.urgency-bar { background: linear-gradient(90deg, var(--green), var(--green-light)); color: white; text-align: center; padding: 9px; border-radius: 6px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #444; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #ddd; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--black); background: white; transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.form-group textarea { height: 72px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.submit-btn { width: 100%; background: var(--green); color: white; padding: 16px; border: none; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; margin-top: 6px; transition: all 0.2s; }
.submit-btn:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(26,107,60,0.3); }
.submit-btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.form-privacy { text-align: center; font-size: 11px; color: #999; margin-top: 8px; line-height: 1.4; }
.form-privacy span { color: var(--green); }
.form-error { display: none; background: rgba(192,57,43,0.08); border: 1px solid rgba(192,57,43,0.35); color: var(--red); font-size: 13px; font-weight: 600; border-radius: 6px; padding: 10px 12px; margin-top: 12px; }
.form-error.show { display: block; }
.success-msg { display: none; text-align: center; padding: 40px 20px; }
.success-msg .check { font-size: 56px; margin-bottom: 16px; }
.success-msg h2 { font-family: 'DM Serif Display', serif; font-size: 24px; color: var(--green); margin-bottom: 10px; }
.success-msg p { font-size: 14px; color: #555; line-height: 1.6; }

/* PROOF STRIP */
.proof-strip { background: var(--cream); color: var(--black); padding: 16px 5%; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; border-top: 3px solid var(--gold); }
.proof-stat { text-align: center; }
.proof-stat .num { font-family: 'Bebas Neue', sans-serif; font-size: 34px; color: var(--green); line-height: 1; }
.proof-stat .label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #555; }

/* GENERIC SECTIONS */
.section { padding: 70px 5%; }
.section-alt { background: #0d0d0d; }
.section-light { background: var(--cream); color: var(--black); }
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); margin-bottom: 10px; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(34px, 4.2vw, 52px); line-height: 0.95; letter-spacing: 0.02em; margin-bottom: 14px; }
.section-light .section-title { color: var(--black); }
.section-intro { font-size: 16px; line-height: 1.7; color: rgba(245,240,232,0.65); max-width: 760px; }
.section-light .section-intro { color: #444; }

/* CARD GRIDS */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 44px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 32px 28px; }
.info-card:hover { background: rgba(201,168,76,0.05); }
.info-card .icon { font-size: 30px; margin-bottom: 14px; display: block; }
.info-card h3 { font-family: 'DM Serif Display', serif; font-size: 19px; margin-bottom: 8px; color: var(--gold); }
.info-card p { font-size: 14px; color: rgba(245,240,232,0.6); line-height: 1.65; }

/* FACT TABLE */
.fact-table { width: 100%; border-collapse: collapse; margin-top: 36px; font-size: 14px; }
.fact-table caption { text-align: left; font-size: 12px; color: rgba(245,240,232,0.4); padding-bottom: 12px; }
.section-light .fact-table caption { color: #666; }
.fact-table th, .fact-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); vertical-align: top; }
.section-light .fact-table th, .section-light .fact-table td { border-bottom: 1px solid rgba(0,0,0,0.1); }
.fact-table th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); width: 38%; }
.fact-table td { color: rgba(245,240,232,0.72); line-height: 1.6; }
.section-light .fact-table td { color: #444; }

/* NEIGHBORHOOD / KEYWORD CHIPS */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { background: rgba(201,168,76,0.08); border: 1px solid var(--border); color: rgba(245,240,232,0.8); padding: 8px 15px; border-radius: 100px; font-size: 13px; font-weight: 600; }
.section-light .chip { background: rgba(10,10,10,0.05); border-color: rgba(10,10,10,0.15); color: #333; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 44px; }
.step { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 36px 28px; position: relative; }
.step-num { font-family: 'Bebas Neue', sans-serif; font-size: 72px; color: rgba(201,168,76,0.1); line-height: 1; margin-bottom: 10px; display: block; }
.step h3 { font-family: 'DM Serif Display', serif; font-size: 20px; margin-bottom: 8px; color: var(--off-white); }
.step p { font-size: 14px; color: rgba(245,240,232,0.6); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 760px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-q { width: 100%; background: none; border: none; color: var(--off-white); text-align: left; padding: 20px 0; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .arrow { color: var(--gold); font-size: 20px; transition: transform 0.3s; flex-shrink: 0; }
.faq-q[aria-expanded="true"] .arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 14px; color: rgba(245,240,232,0.6); line-height: 1.7; }
.faq-a.open { max-height: 520px; padding-bottom: 18px; }
.faq-a p + p { margin-top: 10px; }
.faq-a a { color: var(--gold); }

/* ARTICLE / PROSE */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 56px 5% 70px; }
.article-meta { font-size: 12px; color: rgba(245,240,232,0.4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.article-wrap h1 { font-size: clamp(38px, 4.6vw, 60px); margin-bottom: 18px; }
.article-lede { font-family: 'DM Serif Display', serif; font-size: 20px; line-height: 1.6; color: rgba(245,240,232,0.75); margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.prose h2 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 0.02em; color: var(--gold); margin: 42px 0 14px; }
.prose h3 { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--off-white); margin: 30px 0 10px; }
.prose p { font-size: 16px; line-height: 1.8; color: rgba(245,240,232,0.72); margin-bottom: 18px; }
.prose strong { color: var(--off-white); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; }
.prose li { font-size: 16px; line-height: 1.75; color: rgba(245,240,232,0.72); margin-bottom: 10px; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 20px; margin: 26px 0; font-family: 'DM Serif Display', serif; font-style: italic; font-size: 18px; line-height: 1.6; color: rgba(245,240,232,0.8); }
.prose table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.prose th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.prose td { color: rgba(245,240,232,0.72); line-height: 1.6; }

/* TABLE OF CONTENTS */
.toc { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-left: 3px solid var(--gold); border-radius: 6px; padding: 22px 26px; margin-bottom: 38px; }
.toc p { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px; }
.toc ol { list-style: decimal; margin-left: 18px; }
.toc li { font-size: 14px; line-height: 1.6; margin-bottom: 7px; }
.toc a { color: rgba(245,240,232,0.75); text-decoration: none; }
.toc a:hover { color: var(--gold); text-decoration: underline; }

/* INLINE CTA */
.inline-cta { background: linear-gradient(135deg, #0f2d4a 0%, #1a4a7a 100%); border-radius: 10px; padding: 32px; margin: 40px 0; text-align: center; }
.inline-cta h3 { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 0.02em; margin-bottom: 8px; color: #fff; }
.inline-cta p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 20px; }

/* GUIDE CARDS */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 44px; }
.guide-card { display: flex; flex-direction: column; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 28px; text-decoration: none; transition: all 0.2s; }
.guide-card:hover { background: rgba(201,168,76,0.06); border-color: var(--border); transform: translateY(-3px); }
.guide-card .kicker { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 10px; }
.guide-card h3 { font-family: 'DM Serif Display', serif; font-size: 20px; line-height: 1.3; color: var(--off-white); margin-bottom: 10px; }
.guide-card p { font-size: 14px; line-height: 1.65; color: rgba(245,240,232,0.6); margin-bottom: 16px; flex: 1; }
.guide-card .more { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }

/* RELATED LINKS */
.related { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 32px; }
.related p.related-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 16px; }
.related ul { list-style: none; display: grid; gap: 10px; }
.related a { color: rgba(245,240,232,0.8); font-size: 15px; text-decoration: none; border-bottom: 1px solid transparent; }
.related a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* BOTTOM CTA */
.bottom-cta { background: linear-gradient(135deg, #0f2d4a 0%, #1a4a7a 100%); padding: 70px 5%; text-align: center; }
.bottom-cta h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 4.8vw, 62px); letter-spacing: 0.02em; line-height: 0.95; margin-bottom: 14px; }
.bottom-cta p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }

/* FOOTER */
footer { background: #050505; padding: 48px 5% 36px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto 32px; }
.footer-col h2 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 14px; font-family: 'DM Sans', sans-serif; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: rgba(245,240,232,0.5); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-about p { font-size: 13px; line-height: 1.7; color: rgba(245,240,232,0.45); margin-top: 12px; max-width: 320px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12px; color: rgba(245,240,232,0.3); }

/* FLOATING CALL */
.float-call { position: fixed; bottom: 24px; right: 24px; z-index: 200; background: var(--green); color: white; padding: 13px 20px; border-radius: 100px; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 8px 24px rgba(26,107,60,0.4); display: flex; align-items: center; gap: 8px; transition: all 0.2s; }
.float-call:hover { transform: scale(1.05); background: var(--green-light); }

/* ACCESSIBILITY */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 36px; }
  .card-grid, .card-grid.two, .steps-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .float-call { bottom: 16px; right: 16px; padding: 11px 16px; font-size: 13px; }
}
