/* Privacy policy card */
.policy-card { max-width: 900px; background: linear-gradient(180deg, #0f1318 0%, #0b0d10 100%); border:1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.klist { margin: 12px 0; padding-left: 18px; }
.klist li { margin: 4px 0; }
/*
  RedHomeVest - Single Page Real Estate Landing
  Modern, bold, sales-focused UI with smooth micro-interactions
*/

:root {
  --bg: #0b0d10;
  --card: #111418;
  --muted: #a6adb9;
  --text: #e8edf5;
  --primary: #e11d48; /* rose-600 */
  --primary-700: #be123c;
  --accent: #22d3ee; /* cyan-400 */
  --border: #1c2128;
  --green: #10b981;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(34,211,238,.08), transparent 40%),
              radial-gradient(900px 600px at 10% 10%, rgba(225,29,72,.08), transparent 40%),
              var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

img { display:block; max-width:100%; height:auto; }

.container { width: min(1200px, 90%); margin: 0 auto; }
.center { text-align:center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(11,13,16,.5);
  border-bottom: 1px solid var(--border);
}
.header-inner { display:flex; align-items:center; justify-content:space-between; padding: 14px 0; }
.logo { display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none; font-weight:700; }
.logo-mark { background: linear-gradient(135deg, var(--primary) 0%, #f43f5e 100%); color:white; padding:8px 10px; border-radius:10px; box-shadow: var(--shadow); }
.logo-text { letter-spacing: .3px; }

.nav { display:flex; align-items:center; gap: 20px; }
.nav a { color: var(--muted); text-decoration:none; font-weight:500; }
.nav a:hover { color: var(--text); }

.nav-toggle { display:none; background:none; border:0; color:var(--text); font-size:24px; }

.btn { background: linear-gradient(135deg, var(--primary) 0%, #f43f5e 100%);
  color: white; border:0; border-radius: 12px; padding: 12px 16px; font-weight:700; cursor:pointer; box-shadow: var(--shadow);
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 12px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 18px; }
.btn-ghost { background: transparent; border:1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: #263042; background: #12161c; }

/* Hero */
.hero { position: relative; isolation:isolate; }
.hero-media { position: relative; height: 76vh; min-height:580px; max-height:860px; border-bottom: 1px solid var(--border); }
.hero-img { width:100%; height:100%; object-fit: cover; filter: contrast(1.02) saturate(1.05) brightness(.9); }
.gradient-overlay { position:absolute; inset:0; background:
  radial-gradient(800px 400px at 15% 15%, rgba(34,211,238,.25), transparent 40%),
  linear-gradient(to top, rgba(11,13,16,.8), rgba(11,13,16,.1));
}
.floating-badge { position:absolute; top:16%; right:8%; background: #0f172a; border:1px solid #1f2937; color:#e5e7eb; padding:10px 14px; border-radius: 999px; box-shadow: var(--shadow); font-weight:600; }

.hero-content { position: relative; margin-top: -220px; display:grid; gap: 20px; }
.hero-title { font-size: clamp(36px, 6vw, 64px); line-height:1.05; margin:0; font-weight:800; letter-spacing:-.02em; }
.hero-title .accent { color: var(--accent); text-shadow: 0 8px 40px rgba(34,211,238,.3); }
.hero-subtitle { color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); max-width: 780px; }

.search-bar { display:flex; align-items:center; gap: 12px; background: rgba(17,20,24,.8); border:1px solid var(--border); padding: 10px; border-radius: 16px; backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.search-bar i { color:#94a3b8; font-size: 20px; margin-left:8px; }
.search-bar input, .search-bar select {
  flex:1; background: transparent; border:0; color: var(--text); outline:none; padding: 12px 10px; font-size: 16px;
}
.search-bar button { white-space:nowrap; }

.trust-row { display:flex; align-items:center; gap: 26px; opacity:.85; filter: grayscale(100%); padding: 6px 0 10px; }
.trust-row img { height: 28px; opacity:.85; }

/* Hero compact selling process */
.hero-process { margin-top: 14px; display:flex; align-items:center; gap: 10px; background: rgba(17,20,24,.7); border:1px solid var(--border); border-radius: 16px; padding: 10px; backdrop-filter: blur(8px); box-shadow: var(--shadow); width: fit-content; }
.hstep { display:flex; align-items:center; gap: 10px; }
.hstep-icon { width: 36px; height:36px; display:grid; place-items:center; border-radius: 10px; background:#101622; border:1px solid #1e2738; color:#86eaf6; }
.hstep-body { display:grid; line-height: 1.1; }
.hstep-body strong { font-size: 14px; }
.hstep-body span { font-size: 12px; color: var(--muted); }
.hsep { width: 1px; height: 34px; background: var(--border); }

/* Sections */
.section { padding: 80px 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin:0; font-size: clamp(26px, 4.2vw, 40px); letter-spacing:-.01em; }
.section-head p { color: var(--muted); margin: 6px 0 0; }
.sublead { color:#cdd6e3; font-size: clamp(15px, 2.4vw, 18px); max-width: 900px; margin-inline:auto; }

/* About section intro */
.about-head { align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.about-head h2 { margin-bottom: 8px; }
.lead-box { display:grid; gap: 8px; background: radial-gradient(400px 200px at 0% 0%, rgba(34,211,238,.12), transparent 40%), #0f1318; border:1px solid var(--border); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); max-width: 680px; }
.tag { display:inline-block; padding: 4px 10px; font-size: 12px; border:1px solid #223049; border-radius: 999px; color:#9fc6ff; background:#0b1220; width: fit-content; }
.lead { margin: 0; color:#cdd6e3; font-size: clamp(15px, 2.4vw, 18px); }

/* Listings */
.filters { display:flex; gap: 10px; }
.chip { padding: 8px 12px; border-radius: 999px; border:1px solid var(--border); background:#0f1318; color: var(--text); cursor:pointer; }
.chip.active, .chip:hover { border-color:#243041; background:#121821; }

.grid { display:grid; gap: 22px; }
.cards { grid-template-columns: repeat(3, 1fr); perspective: 1000px; }

.card { background: linear-gradient(180deg, #0f1318 0%, #0b0d10 100%); border:1px solid var(--border); border-radius: 16px; overflow:hidden; box-shadow: var(--shadow); transition: transform .25s ease, border-color .25s ease; transform-style: preserve-3d; }
.card:hover { transform: translateY(-4px); border-color:#2a3446; }
.card-media { position:relative; aspect-ratio: 16 / 11; overflow:hidden; }
.card-media img { width:100%; height:100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.pill { position:absolute; top:12px; left:12px; background: var(--green); color:#052e26; font-weight:800; padding:6px 10px; border-radius: 999px; font-size: 12px; }
.pill-alt { background: #fbbf24; color:#3b2a05; }
.like { position:absolute; right:12px; top:12px; background: rgba(0,0,0,.45); color:white; border:1px solid rgba(255,255,255,.2); border-radius: 999px; padding:8px; display:grid; place-items:center; cursor:pointer; }
.like.active { background: #ffe4e6; color: var(--primary); border-color:#fecdd3; }

.card-body { padding: 16px; display:grid; gap: 10px; }
.card-body h3 { margin: 0; font-size: 20px; }
.muted { color: var(--muted); font-size: 14px; }
.meta { display:flex; flex-wrap:wrap; gap: 14px; color:#c9d3e0; font-size: 14px; }
.price-row { display:flex; align-items:center; justify-content:space-between; margin-top: 8px; }
.price { font-size: 22px; font-weight: 800; background: linear-gradient(180deg, #fff, #c2c8d5); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Features */
.features-grid { grid-template-columns: repeat(4, 1fr); }
.feature { background: linear-gradient(180deg, #0f1318 0%, #0b0d10 100%); border:1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.feature .icon { width: 44px; height:44px; display:grid; place-items:center; background:#111826; border:1px solid #20283a; border-radius: 12px; color:#86eaf6; font-size: 22px; margin-bottom: 10px; }
.feature h3 { margin: 6px 0 8px; }
.feature p { color: var(--muted); }

/* Process */
.timeline { display:grid; gap: 14px; }
.step { display:flex; gap: 16px; background: linear-gradient(180deg, #0f1318 0%, #0b0d10 100%); border:1px solid var(--border); border-radius: 16px; padding: 16px; align-items:center; }
.step-index { font-weight:800; color:#93c5fd; font-size: 22px; background:#0b1220; border:1px solid #1e293b; padding: 10px; border-radius: 12px; }
.step-body h3 { margin: 4px 0; }
.step-body p { margin: 0; color: var(--muted); }

/* Testimonials */
.carousel { display:grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.tcard { background: linear-gradient(180deg, #0f1318 0%, #0b0d10 100%); border:1px solid var(--border); border-radius: 16px; padding: 18px; min-height: 160px; box-shadow: var(--shadow); scroll-snap-align: center; }
.tcard p { margin: 0 0 12px; font-size: 16px; }
.tmeta { display:flex; align-items:center; gap: 10px; color: var(--muted); }
.tmeta img { width: 36px; height:36px; border-radius: 999px; object-fit:cover; }

/* CTA */
.cta-inner { display:grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items:center; background: radial-gradient(600px 320px at 10% -20%, rgba(34,211,238,.18), transparent 40%), #0d1218; border:1px solid #1f2a3b; border-radius: 20px; padding: 28px; }
.cta-content h2 { margin: 6px 0; font-size: clamp(26px, 4.2vw, 36px); }
.cta-content p { margin: 0; color: var(--muted); }

.cta-form { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-group { display:grid; gap:6px; }
.input-group label { color:#93a0b4; font-size: 14px; }
.input-group input, .input-group textarea { background:#0a0f14; color:var(--text); border:1px solid #1c2432; border-radius: 12px; padding: 12px; font: inherit; outline: none; }
.input-group input:focus, .input-group textarea:focus { border-color:#2b3a52; box-shadow: inset 0 0 0 1px #2b3a52; }
.input-group.input-error input,
.input-group.input-error textarea { border-color: #7f1d1d; box-shadow: inset 0 0 0 1px #7f1d1d; }
.error-msg { color: #fecaca; font-size: 12px; min-height: 14px; }
.cta-form .btn { grid-column: 1 / -1; }

/* Footer */
.footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 24px 0; color: var(--muted); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap: 20px; }
.fcolumns { display:flex; gap: 40px; }
.fcolumns h4 { margin: 0 0 10px; color: var(--text); }
.fcolumns a { color: var(--muted); text-decoration:none; display:block; margin: 6px 0; }
.fcolumns a:hover { color: var(--text); }
.socials { display:flex; gap: 10px; }
.socials a { color: var(--muted); font-size: 20px; }
.socials a:hover { color: var(--text); }
.tiny { font-size: 12px; opacity:.7; text-align:center; padding-top: 10px; }

/* Reveal animations (baseline) */
.reveal { opacity: 0; transform: translateY(24px); }

/* Stats Strip */
.stats { padding-top: 30px; padding-bottom: 30px; }
.stats-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { display:grid; align-items:center; justify-items:center; gap: 6px; background: linear-gradient(180deg, #0f1318 0%, #0b0d10 100%); border:1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.stat i { font-size: 22px; color:#86eaf6; }
.stat-number { font-weight: 800; font-size: clamp(24px, 4.8vw, 36px); background: linear-gradient(180deg, #fff, #c2c8d5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 14px; }

/* Neighborhoods */
.hoods-grid { grid-template-columns: repeat(4, 1fr); }
.hood { position: relative; display:block; border-radius: 16px; overflow:hidden; border:1px solid var(--border); box-shadow: var(--shadow); isolation:isolate; }
.hood img { width:100%; height: 220px; object-fit: cover; transition: transform .6s ease; display:block; }
.hood::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%); opacity:.8; transition: opacity .3s ease; }
.hood:hover img { transform: scale(1.06); }
.hood-overlay { position:absolute; left:12px; bottom:12px; color:#e9eff8; display:grid; gap:2px; z-index:1; }
.hood-overlay span { color:#c6cfdb; font-size: 13px; }

/* FAQ */
.faq-list { display:grid; gap: 12px; max-width: 900px; }
.faq-item { background: linear-gradient(180deg, #0f1318 0%, #0b0d10 100%); border:1px solid var(--border); border-radius: 14px; overflow:hidden; }
.faq-item summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap: 14px; padding: 14px 16px; font-weight:600; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item .faq-content { padding: 0 16px 14px; color: var(--muted); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item summary i { transition: transform .25s ease; }

/* Toasts */
.toast-root { position: fixed; top: 16px; right: 16px; display: grid; gap: 10px; z-index: 100; }
.toast { display:flex; align-items:center; gap:10px; padding: 12px 14px; border-radius: 12px; border:1px solid var(--border); box-shadow: var(--shadow); background: #0f1318; color: var(--text); transform: translateY(-8px); opacity: 0; }
.toast i { font-size: 18px; }
.toast-success { border-color: rgba(16,185,129,.35); background: linear-gradient(180deg, rgba(16,185,129,.12), #0f1318 60%); }
.toast-error { border-color: rgba(239,68,68,.35); background: linear-gradient(180deg, rgba(239,68,68,.12), #0f1318 60%); }
.toast-info { border-color: rgba(34,211,238,.35); background: linear-gradient(180deg, rgba(34,211,238,.12), #0f1318 60%); }

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hoods-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { display:none; position:absolute; top:60px; right:20px; background:#0f1318; border:1px solid var(--border); border-radius: 12px; padding: 10px; flex-direction:column; width: 200px; }
  .nav a { padding: 8px 10px; }
  .nav.open { display:flex; }
  .nav-toggle { display:block; }

  .hero-media { height: 64vh; }
  .hero-content { margin-top: -180px; }
  .hero-process { flex-direction: column; align-items: stretch; width: 100%; }
  .hsep { display:none; }
  .cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-form { grid-template-columns: 1fr; }
  .footer-inner { flex-direction:column; align-items:flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .hoods-grid { grid-template-columns: 1fr; }
}
