*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #0a0a0a;
  --white: #f5f3ef;
  --gold: #b8965a;
  --gold-light: #d4b07a;
  --mid: #6b6560;
  --border: rgba(184,150,90,0.22);
  --card: rgba(245,243,239,0.04);
}
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: 'DM Sans', sans-serif; font-weight: 300; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); pointer-events: none; z-index: 998; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 26px 48px; background: linear-gradient(to bottom, rgba(10,10,10,0.96), transparent); }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400; letter-spacing: 0.12em; color: var(--white); text-decoration: none; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-pill { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); text-decoration: none; transition: color 0.2s; }
.nav-pill:hover, .nav-pill.active { color: var(--white); }
.nav-pill.active { border-bottom: 1px solid var(--gold); padding-bottom: 2px; color: var(--gold); }
.nav-cta { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; background: var(--gold); color: var(--black); padding: 9px 20px; border-radius: 2px; text-decoration: none; transition: background 0.2s; font-weight: 500; }
.nav-cta:hover { background: var(--gold-light); }

/* ── HOME HERO ── */
.home-hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 48px 80px; position: relative; overflow: hidden; }
.home-hero::after { content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 100%; background: radial-gradient(ellipse at 80% 40%, rgba(184,150,90,0.08) 0%, transparent 65%); pointer-events: none; }
.home-hero::before { content: ''; position: absolute; bottom: 0; left: 0; width: 40%; height: 50%; background: radial-gradient(ellipse at 20% 80%, rgba(184,150,90,0.04) 0%, transparent 60%); pointer-events: none; }
.eyebrow { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; display: flex; align-items: center; gap: 12px; opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards; }
.eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.home-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(56px, 7vw, 110px); font-weight: 300; line-height: 1.0; margin-bottom: 32px; max-width: 900px; opacity: 0; animation: fadeUp 0.7s ease 0.2s forwards; }
.home-hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: 15px; line-height: 1.75; color: rgba(245,243,239,0.5); max-width: 480px; margin-bottom: 48px; opacity: 0; animation: fadeUp 0.7s ease 0.3s forwards; }
.hero-actions { display: flex; gap: 18px; align-items: center; opacity: 0; animation: fadeUp 0.7s ease 0.4s forwards; }
.btn-primary { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; background: var(--gold); color: var(--black); padding: 16px 32px; border-radius: 2px; text-decoration: none; font-weight: 500; transition: background 0.2s; }
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 3px; transition: color 0.2s, border-color 0.2s; }
.btn-secondary:hover { color: var(--white); border-color: var(--gold); }

/* ── STATS BAR ── */
.stats-bar { display: flex; gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 0 48px; opacity: 0; animation: fadeUp 0.7s ease 0.5s forwards; }
.stat { flex: 1; padding: 32px 40px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--mid); }

/* ── ABOUT SECTION ── */
.about { padding: 120px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-top: 1px solid var(--border); position: relative; }
.about::before { content: 'ABOUT'; position: absolute; top: 80px; right: 48px; font-family: 'Cormorant Garamond', serif; font-size: 120px; font-weight: 300; color: rgba(184,150,90,0.04); letter-spacing: 0.1em; pointer-events: none; }
.section-eyebrow { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.section-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.about h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 3.5vw, 52px); font-weight: 300; line-height: 1.1; margin-bottom: 28px; }
.about h2 em { font-style: italic; color: var(--gold-light); }
.about-body { font-size: 14px; line-height: 1.85; color: rgba(245,243,239,0.6); margin-bottom: 20px; }
.about-card { background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 40px; position: relative; }
.about-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.about-card-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; margin-bottom: 20px; color: var(--gold-light); }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: rgba(245,243,239,0.65); line-height: 1.5; }
.about-list li::before { content: '—'; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* ── WHY SECTION ── */
.why { padding: 100px 48px; border-top: 1px solid var(--border); }
.why-head { text-align: center; margin-bottom: 64px; }
.why h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 3.5vw, 52px); font-weight: 300; line-height: 1.1; margin-bottom: 16px; }
.why h2 em { font-style: italic; color: var(--gold-light); }
.why-sub { font-size: 13px; color: var(--mid); max-width: 400px; margin: 0 auto; line-height: 1.7; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.why-card { background: var(--card); border: 1px solid var(--border); padding: 40px 36px; position: relative; transition: background 0.2s; }
.why-card:hover { background: rgba(184,150,90,0.06); }
.why-num { font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300; color: rgba(184,150,90,0.15); line-height: 1; margin-bottom: 20px; }
.why-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; margin-bottom: 14px; color: var(--white); }
.why-card p { font-size: 13px; line-height: 1.7; color: rgba(245,243,239,0.5); }

/* ── CONTACT SECTION ── */
.contact { padding: 100px 48px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 3.5vw, 52px); font-weight: 300; line-height: 1.1; margin-bottom: 20px; }
.contact h2 em { font-style: italic; color: var(--gold-light); }
.contact-body { font-size: 14px; line-height: 1.85; color: rgba(245,243,239,0.55); margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 2px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 14px; flex-shrink: 0; }
.contact-text { font-size: 13px; color: rgba(245,243,239,0.7); }
.contact-text strong { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); margin-bottom: 3px; font-weight: 400; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 40px; position: relative; }
.contact-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cf-field { margin-bottom: 16px; }
.cf-field label { display: block; font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--mid); margin-bottom: 7px; }
.cf-field input, .cf-field textarea { width: 100%; background: rgba(245,243,239,0.055); border: 1px solid rgba(184,150,90,0.18); border-radius: 2px; padding: 12px 15px; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 300; outline: none; transition: border-color 0.2s, background 0.2s; resize: none; }
.cf-field textarea { height: 110px; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(245,243,239,0.22); }
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--gold); background: rgba(184,150,90,0.055); }
.cf-btn { width: 100%; padding: 15px; background: var(--gold); color: var(--black); border: none; border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; margin-top: 8px; transition: background 0.2s; }
.cf-btn:hover { background: var(--gold-light); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 32px 48px; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 400; letter-spacing: 0.12em; color: var(--mid); }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 10px; color: rgba(245,243,239,0.2); letter-spacing: 0.1em; }

/* ── APPRAISAL PAGE ── */
.appraisal-hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 120px 48px 80px; gap: 72px; position: relative; }
.appraisal-hero::after { content: ''; position: absolute; top: 0; right: 0; width: 55%; height: 100%; background: radial-gradient(ellipse at 70% 40%, rgba(184,150,90,0.07) 0%, transparent 68%); pointer-events: none; }
.appraisal-text { position: relative; z-index: 1; }
.appraisal-text h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(50px, 5.2vw, 80px); font-weight: 300; line-height: 1.05; margin-bottom: 26px; }
.appraisal-text h1 em { font-style: italic; color: var(--gold-light); }
.appraisal-sub { font-size: 14px; line-height: 1.75; color: rgba(245,243,239,0.55); max-width: 390px; margin-bottom: 40px; }
.trust-row { display: flex; gap: 24px; align-items: center; }
.trust-item { display: flex; flex-direction: column; gap: 3px; }
.trust-num { font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 500; color: var(--gold); }
.trust-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mid); }
.trust-div { width: 1px; height: 38px; background: var(--border); }

/* ── FORM CARD ── */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 40px 38px; position: relative; z-index: 1; backdrop-filter: blur(10px); width: 100%; max-width: 500px; justify-self: center; }
.form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.form-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; margin-bottom: 5px; }
.form-sub { font-size: 12px; color: var(--mid); margin-bottom: 28px; line-height: 1.55; }
.field { margin-bottom: 16px; position: relative; }
label { display: block; font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--mid); margin-bottom: 7px; }
input { width: 100%; background: rgba(245,243,239,0.055); border: 1px solid rgba(184,150,90,0.18); border-radius: 2px; padding: 12px 15px; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 300; outline: none; transition: border-color 0.2s, background 0.2s; }
input::placeholder { color: rgba(245,243,239,0.22); }
input:focus { border-color: var(--gold); background: rgba(184,150,90,0.055); }
.ac-wrap { position: relative; }
.ac-list { position: absolute; top: calc(100% + 3px); left: 0; right: 0; background: #1c1a17; border: 1px solid var(--border); border-radius: 2px; z-index: 400; max-height: 220px; overflow-y: auto; display: none; box-shadow: 0 14px 44px rgba(0,0,0,0.7); }
.ac-list.open { display: block; }
.ac-item { padding: 11px 15px; cursor: pointer; border-bottom: 1px solid rgba(184,150,90,0.06); transition: background 0.12s; }
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { background: rgba(184,150,90,0.1); }
.ac-main { font-size: 13px; color: var(--white); }
.ac-sub { font-size: 11px; color: var(--mid); margin-top: 2px; }
.ac-list::-webkit-scrollbar { width: 3px; }
.ac-list::-webkit-scrollbar-thumb { background: var(--border); }
.spin { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; border: 1.5px solid rgba(184,150,90,0.25); border-top-color: var(--gold); border-radius: 50%; animation: rot 0.65s linear infinite; display: none; }
.badge { display: none; align-items: center; gap: 9px; background: rgba(184,150,90,0.09); border: 1px solid rgba(184,150,90,0.28); border-radius: 2px; padding: 9px 13px; margin-top: 7px; }
.badge.show { display: flex; }
.badge-ck { color: var(--gold); font-size: 14px; flex-shrink: 0; }
.badge-text { font-size: 12px; color: var(--white); line-height: 1.4; flex: 1; }
.badge-text strong { display: block; font-weight: 500; }
.badge-text span { color: var(--mid); font-size: 11px; }
.badge-clr { font-size: 11px; color: var(--mid); cursor: pointer; text-decoration: underline; flex-shrink: 0; }
.badge-clr:hover { color: var(--white); }
.btn-submit { width: 100%; padding: 16px; background: var(--gold); color: var(--black); border: none; border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; margin-top: 8px; transition: background 0.2s, transform 0.1s; position: relative; overflow: hidden; }
.btn-submit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.13), transparent); transform: translateX(-100%); transition: transform 0.4s; }
.btn-submit:hover { background: var(--gold-light); }
.btn-submit:hover::after { transform: translateX(100%); }
.btn-submit:active { transform: scale(0.99); }
.btn-submit:disabled { background: var(--mid); cursor: not-allowed; opacity: 0.7; }
.disclaimer { font-size: 10px; color: rgba(245,243,239,0.28); text-align: center; margin-top: 12px; line-height: 1.6; }
.field-error { font-size: 11px; color: #e07070; margin-top: 6px; }
input.input-error { border-color: #e07070 !important; }

/* ── LOADING & RESULTS ── */
.loading-state { display: none; flex-direction: column; align-items: center; text-align: center; padding: 40px 10px; }
.loading-pulse { width: 40px; height: 40px; border: 2px solid rgba(184,150,90,0.2); border-top-color: var(--gold); border-radius: 50%; animation: rot 0.8s linear infinite; margin-bottom: 24px; }
.loading-text { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold); margin-bottom: 8px; animation: pulse 1.5s ease-in-out infinite; }
.loading-sub { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); }
.ai-results { display: none; flex-direction: column; animation: fadeUp 0.5s ease both; }
.res-eyebrow { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; text-align: center; }
.res-val { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 300; color: var(--white); text-align: center; margin-bottom: 24px; line-height: 1; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.res-box { background: rgba(0,0,0,0.2); border: 1px solid rgba(184,150,90,0.15); padding: 16px; text-align: center; border-radius: 2px; }
.res-box span { display: block; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); margin-bottom: 4px; }
.res-box strong { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: var(--gold-light); }
.res-list { border-top: 1px solid var(--border); padding-top: 20px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.res-list-item { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.res-list-item span { color: var(--mid); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; }
.res-list-item strong { font-weight: 400; color: var(--white); }
.res-analysis { font-size: 12px; line-height: 1.7; color: rgba(245,243,239,0.7); background: rgba(184,150,90,0.05); padding: 16px; border-left: 2px solid var(--gold); font-style: italic; margin-bottom: 24px; }
.btn-reset { display: block; text-align: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); text-decoration: underline; cursor: pointer; transition: color 0.2s; }
.btn-reset:hover { color: var(--white); }

/* ── ANIMATIONS ── */
@keyframes rot { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── MOBILE ── */
@media (max-width: 860px) {
  nav { padding: 18px 20px; }
  .home-hero { padding: 100px 20px 60px; }
  .stats-bar { margin: 0 20px; flex-wrap: wrap; }
  .stat { min-width: 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .about { grid-template-columns: 1fr; padding: 80px 20px; gap: 40px; }
  .why { padding: 80px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 80px 20px; gap: 48px; }
  footer { padding: 24px 20px; flex-direction: column; gap: 12px; text-align: center; }
  .appraisal-hero { grid-template-columns: 1fr; padding: 96px 20px 56px; gap: 44px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
