/* ============================================
   DREAM DWELL — DESIGN SYSTEM v2.0
   ============================================ */
:root {
  --ink:       #0e0c0a;
  --espresso:  #1c1109;
  --bark:      #2e1f0f;
  --gold:      #c8913a;
  --gold-lt:   #e5b96a;
  --gold-pale: #f5e8cc;
  --terra:     #b85c40;
  --sand:      #f0e9dc;
  --cream:     #faf6f0;
  --sage:      #5a7a60;
  --mist:      #e8e2d9;
  --white:     #ffffff;
  --slate:     #5a5248;
  --radius:    12px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Jost', sans-serif; background: var(--cream); color: var(--ink); overflow-x: hidden; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input[type="range"], select, textarea { cursor: none; }
  .cursor { display: block; position: fixed; width: 10px; height: 10px; background: var(--gold); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s; }
  .cursor-ring { display: block; position: fixed; width: 36px; height: 36px; border: 1.5px solid rgba(200,145,58,.5); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width .4s var(--ease), height .4s var(--ease); }
  .cursor.hover { width: 18px; height: 18px; background: var(--gold-lt); }
  .cursor-ring.hover { width: 50px; height: 50px; border-color: var(--gold); }
}

body::after { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .025; pointer-events: none; z-index: 9990; }

/* ---- NAV ---- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.5rem 3rem; display: flex; align-items: center; justify-content: space-between; transition: background .4s, padding .4s; }
nav.scrolled { background: rgba(14,12,10,.92); backdrop-filter: blur(20px); padding: 1rem 3rem; border-bottom: 1px solid rgba(200,145,58,.12); }
.nav-logo,
.nav-logo:visited,
.nav-logo:hover,
.nav-logo:active {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-logo span { display: inline-block; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; margin-bottom: 2px; }
.nav-links { display: flex; gap: 2.25rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transition: color .25s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--gold-lt); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--gold); color: var(--ink) !important; padding: .55rem 1.4rem; border-radius: 50px; font-weight: 600 !important; transition: background .25s, transform .2s !important; }
.nav-cta:hover { background: var(--gold-lt) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; z-index: 1001; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: white; transition: .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- HERO ---- */
.hero { min-height: 100vh; background: var(--espresso); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 3rem 5rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(200,145,58,.18) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 10% 80%, rgba(184,92,64,.12) 0%, transparent 50%), radial-gradient(ellipse 80% 50% at 50% 50%, rgba(46,31,15,.8) 0%, transparent 100%); }
.hero-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-lines::before, .hero-lines::after { content: ''; position: absolute; top: -20%; width: 1px; transform: rotate(-15deg); }
.hero-lines::before { right: 5%; height: 140%; background: linear-gradient(to bottom, transparent, rgba(200,145,58,.25), transparent); }
.hero-lines::after  { right: 20%; height: 120%; background: linear-gradient(to bottom, transparent, rgba(200,145,58,.1), transparent); }
.hero-eyebrow { position: relative; z-index: 2; display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; opacity: 0; animation: fadeUp .8s .3s var(--ease) forwards; }
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }
.hero-eyebrow span { font-family: 'DM Mono', monospace; font-size: .65rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.hero h1 { position: relative; z-index: 2; font-family: 'Playfair Display', serif; font-size: clamp(3.2rem, 7.5vw, 8rem); font-weight: 400; line-height: 1; color: var(--white); max-width: 900px; opacity: 0; animation: fadeUp .9s .5s var(--ease) forwards; }
.hero h1 em { font-style: italic; color: var(--gold-lt); display: block; }
.hero-bottom { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: 3rem; flex-wrap: wrap; opacity: 0; animation: fadeUp .9s .75s var(--ease) forwards; }
.hero-desc { font-size: 1rem; color: rgba(255,255,255,.55); max-width: 380px; line-height: 1.75; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem; opacity: 0; animation: fadeIn 1s 1.5s ease forwards; }
.hero-scroll span { font-family: 'DM Mono', monospace; font-size: .6rem; letter-spacing: .2em; color: rgba(255,255,255,.3); text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(200,145,58,.6), transparent); animation: scrollPulse 2s ease-in-out infinite; }
.hero-stats { position: absolute; right: 3rem; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 2.5rem; opacity: 0; animation: fadeLeft .9s 1s var(--ease) forwards; }
.hero-stat { text-align: right; }
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat-num sup { font-size: 1rem; color: var(--gold); vertical-align: super; }
.hero-stat-label { font-size: .72rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .1em; margin-top: .25rem; }

/* ---- BUTTONS ---- */
.btn-primary { display: inline-flex; align-items: center; gap: .6rem; background: var(--gold); color: var(--ink); padding: 1rem 2.2rem; border-radius: 50px; font-weight: 600; font-size: .9rem; font-family: 'Jost', sans-serif; text-decoration: none; letter-spacing: .03em; transition: background .25s, transform .2s, box-shadow .25s; border: none; }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(200,145,58,.35); }
.btn-ghost { display: inline-flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.7); padding: 1rem 2rem; border-radius: 50px; font-weight: 500; font-size: .9rem; font-family: 'Jost', sans-serif; text-decoration: none; border: 1px solid rgba(255,255,255,.2); transition: border-color .25s, color .25s, transform .2s; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); transform: translateY(-2px); }

/* ---- SECTION COMMONS ---- */
section { padding: 100px 3rem; }
.section-tag { display: inline-flex; align-items: center; gap: .6rem; font-family: 'DM Mono', monospace; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.section-tag::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
h2.display { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 400; line-height: 1.15; color: var(--ink); }
h2.display em { font-style: italic; color: var(--gold); }
h2.display.light { color: var(--white); }
.lead { font-size: 1.05rem; color: var(--slate); line-height: 1.8; max-width: 520px; font-weight: 300; }
.lead.light { color: rgba(255,255,255,.55); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- MARQUEE ---- */
.marquee-section { padding: 0; background: var(--gold); overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; padding: .85rem 0; }
.marquee-track span { font-family: 'Playfair Display', serif; font-size: .9rem; font-weight: 500; color: var(--ink); padding: 0 2rem; display: inline-flex; align-items: center; gap: 2rem; }
.marquee-track span::after { content: '✦'; font-size: .7rem; opacity: .5; }

/* ---- HOW IT WORKS ---- */
.how-section { background: var(--cream); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.how-steps { display: flex; flex-direction: column; }
.how-step { display: flex; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--mist); }
.how-step:last-child { border-bottom: none; }
.how-step-num { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 400; color: var(--mist); line-height: 1; min-width: 60px; transition: color .3s; }
.how-step:hover .how-step-num { color: var(--gold-pale); }
.how-step-content h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: .5rem; }
.how-step-content p { font-size: .9rem; color: var(--slate); line-height: 1.75; }
.how-visual { position: relative; height: 520px; }
.how-card { position: absolute; background: var(--white); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.08); overflow: hidden; transition: transform .4s var(--ease); }
.how-card:hover { transform: translateY(-6px) rotate(0deg) !important; }
.how-card-main { width: 320px; right: 0; top: 40px; transform: rotate(-2deg); }
.how-card-secondary { width: 240px; left: 0; bottom: 30px; transform: rotate(3deg); }
.how-card-img { height: 200px; background: linear-gradient(135deg, var(--bark), var(--espresso)); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.how-card-body { padding: 1.25rem; }
.how-card-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .25rem; }
.how-card-sub { font-size: .78rem; color: var(--slate); }
.how-card-metric { display: flex; justify-content: space-between; align-items: center; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--mist); }
.metric-tag { font-size: .7rem; color: var(--gold); font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.metric-val-sm { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--sage); }

/* ---- SERVICES ---- */
.services-section { background: var(--espresso); padding: 100px 3rem; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; max-width: 1200px; margin: 0 auto 4rem; gap: 2rem; }
.brands-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.brand-panel { border-radius: 20px; overflow: hidden; position: relative; min-height: 580px; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem; transition: transform .4s var(--ease); }
.brand-panel:hover { transform: translateY(-6px); }
.scale-panel { background: linear-gradient(160deg, #0f1623 0%, #1a2535 100%); border: 1px solid rgba(100,140,200,.15); }
.premium-panel { background: linear-gradient(160deg, var(--bark) 0%, #140c04 100%); border: 1px solid rgba(200,145,58,.2); }
.brand-bg-text { position: absolute; top: -1rem; right: -1rem; font-family: 'Playfair Display', serif; font-size: 11rem; font-weight: 900; line-height: 1; opacity: .04; pointer-events: none; user-select: none; letter-spacing: -.05em; }
.scale-panel .brand-bg-text { color: #7eb8f7; }
.premium-panel .brand-bg-text { color: var(--gold); }
.brand-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.brand-label { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .5rem; }
.scale-panel .brand-label { color: rgba(126,184,247,.7); }
.premium-panel .brand-label { color: rgba(200,145,58,.7); }
.brand-name { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; line-height: 1.1; margin-bottom: 1rem; color: var(--white); }
.scale-panel .brand-name span { color: #7eb8f7; }
.premium-panel .brand-name span { color: var(--gold-lt); }
.brand-desc { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 1.75rem; font-weight: 300; }
.brand-specs { border-top: 1px solid rgba(255,255,255,.06); }
.brand-spec { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .82rem; }
.brand-spec-key { color: rgba(255,255,255,.35); }
.brand-spec-val { font-weight: 600; }
.scale-panel .brand-spec-val { color: #7eb8f7; }
.premium-panel .brand-spec-val { color: var(--gold-lt); }

/* ---- CALCULATOR ---- */
.calc-section { background: var(--sand); padding: 100px 3rem; }
.calc-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.calc-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.calc-stat-item { }
.calc-stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--espresso); }
.calc-stat-label { font-size: .78rem; color: var(--slate); margin-top: .1rem; }
.calc-box { background: var(--white); border-radius: 24px; padding: 2.5rem; box-shadow: 0 30px 80px rgba(0,0,0,.08); border: 1px solid var(--mist); }
.calc-box h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 500; color: var(--ink); margin-bottom: 2rem; }
.calc-field { margin-bottom: 1.5rem; }
.calc-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: .5rem; }
.calc-select, .calc-input { width: 100%; padding: .85rem 1.1rem; border: 1.5px solid var(--mist); border-radius: 10px; font-family: 'Jost', sans-serif; font-size: .95rem; color: var(--ink); background: var(--cream); outline: none; transition: .25s; appearance: none; }
.calc-select:focus, .calc-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,145,58,.1); }
.calc-slider-wrap { position: relative; }
.calc-slider { width: 100%; height: 4px; -webkit-appearance: none; appearance: none; background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--pct, 18.75%), var(--mist) var(--pct, 18.75%), var(--mist) 100%); border-radius: 4px; outline: none; margin: .75rem 0 .5rem; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid white; box-shadow: 0 2px 8px rgba(200,145,58,.4); }
.calc-slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid white; box-shadow: 0 2px 8px rgba(200,145,58,.4); }
.calc-slider-labels { display: flex; justify-content: space-between; font-size: .72rem; color: var(--slate); }
.calc-result { background: linear-gradient(135deg, var(--espresso), var(--bark)); border-radius: 16px; padding: 2rem; margin-top: 1.5rem; text-align: center; }
.result-label { font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.result-amount { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--white); line-height: 1; transition: transform .2s; display: inline-block; }
.result-amount sup { font-size: 1.5rem; color: var(--gold-lt); vertical-align: super; }
.result-sub { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: .4rem; }
.result-breakdown { display: flex; justify-content: space-around; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.result-item { text-align: center; }
.result-item-val { font-weight: 600; color: var(--gold-lt); font-size: .95rem; }
.result-item-key { font-size: .7rem; color: rgba(255,255,255,.35); margin-top: .2rem; }

/* ---- MARKETS ---- */
.markets-section { background: var(--white); padding: 100px 3rem; }
.markets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; max-width: 1200px; margin: 3rem auto 0; }
.market-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--mist); transition: transform .35s var(--ease), box-shadow .35s, border-color .25s; }
.market-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.08); border-color: var(--gold-pale); }
.market-card-top { padding: 1.75rem; display: flex; align-items: flex-start; justify-content: space-between; }
.market-emoji { font-size: 2.25rem; }
.market-tier { font-family: 'DM Mono', monospace; font-size: .6rem; letter-spacing: .12em; padding: .25rem .7rem; border-radius: 50px; text-transform: uppercase; font-weight: 500; }
.tier-1 { background: rgba(200,145,58,.12); color: var(--gold); border: 1px solid rgba(200,145,58,.3); }
.tier-2 { background: rgba(90,122,96,.1); color: var(--sage); border: 1px solid rgba(90,122,96,.25); }
.market-card-body { padding: 0 1.75rem 1.75rem; }
.market-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 500; color: var(--ink); margin-bottom: .15rem; }
.market-focus { font-size: .8rem; color: var(--slate); margin-bottom: 1rem; }
.market-stats { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--mist); }
.mstat-val { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.mstat-key { font-size: .68rem; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }

/* ---- PROCESS ---- */
.process-section { background: var(--espresso); padding: 100px 3rem; }
.process-header { max-width: 1200px; margin: 0 auto 4rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; max-width: 1200px; margin: 0 auto; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 35px; left: 8%; right: 8%; height: 1px; background: linear-gradient(to right, transparent, rgba(200,145,58,.3), transparent); }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 .75rem; }
.step-num { width: 70px; height: 70px; border-radius: 50%; border: 1px solid rgba(200,145,58,.3); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--gold-lt); background: rgba(200,145,58,.06); margin-bottom: 1.25rem; z-index: 1; transition: .3s; }
.process-step:hover .step-num { background: rgba(200,145,58,.15); border-color: var(--gold); }
.step-title { font-weight: 600; font-size: .82rem; color: rgba(255,255,255,.8); margin-bottom: .4rem; }
.step-desc { font-size: .76rem; color: rgba(255,255,255,.35); line-height: 1.6; }

/* ---- CASE STUDIES ---- */
.cases-section { background: var(--cream); padding: 100px 3rem; }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 3rem auto 0; }
.case-card { background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid var(--mist); transition: transform .35s var(--ease), box-shadow .35s; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 25px 60px rgba(0,0,0,.09); }
.case-header { background: linear-gradient(135deg, var(--bark), var(--espresso)); padding: 2rem; display: flex; align-items: center; justify-content: space-between; }
.case-flag { font-size: 2rem; }
.case-gain { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--gold-lt); }
.case-gain span { font-size: 1rem; color: var(--gold); }
.case-body { padding: 1.75rem; }
.case-prop { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: .25rem; }
.case-loc { font-size: .78rem; color: var(--slate); margin-bottom: 1.25rem; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.ba-box { background: var(--cream); border-radius: 10px; padding: 1rem; text-align: center; }
.ba-box.after-box { background: rgba(200,145,58,.07); border: 1px solid rgba(200,145,58,.2); }
.ba-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); margin-bottom: .4rem; }
.ba-val { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.after-box .ba-val { color: var(--gold); }

/* ---- CTA ---- */
.cta-section { background: var(--ink); padding: 120px 3rem; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(200,145,58,.08) 0%, transparent 70%); }
.cta-section h2 { position: relative; z-index: 1; font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 400; color: var(--white); line-height: 1.15; margin-bottom: 1.5rem; }
.cta-section h2 em { font-style: italic; color: var(--gold-lt); }
.cta-section p { position: relative; z-index: 1; font-size: 1rem; color: rgba(255,255,255,.45); max-width: 460px; margin: 0 auto 3rem; font-weight: 300; line-height: 1.8; }
.cta-actions { position: relative; z-index: 1; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---- CONTACT ---- */
.contact-section { background: var(--sand); padding: 100px 3rem; }
.contact-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.form-wrap { background: var(--white); border-radius: 24px; padding: 2.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.06); border: 1px solid var(--mist); }
.form-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 500; color: var(--ink); margin-bottom: .5rem; }
.form-subtitle { font-size: .88rem; color: var(--slate); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: .45rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: .85rem 1.1rem; border: 1.5px solid var(--mist); border-radius: 10px; font-family: 'Jost', sans-serif; font-size: .95rem; color: var(--ink); background: var(--cream); outline: none; transition: .25s; appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,145,58,.1); }
.form-input.error, .form-select.error, .form-textarea.error { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.1); animation: shake .3s var(--ease); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-submit { width: 100%; padding: 1.1rem; background: var(--gold); color: var(--ink); border: none; border-radius: 12px; font-family: 'Jost', sans-serif; font-size: .95rem; font-weight: 700; letter-spacing: .04em; transition: .25s; margin-top: .5rem; }
.form-submit:hover:not(:disabled) { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,145,58,.3); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-note { font-size: .75rem; color: var(--slate); text-align: center; margin-top: .75rem; }
.contact-info { padding-top: 1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--mist); }
.info-item:last-child { border-bottom: none; }
.info-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.info-label { font-size: .72rem; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.info-val { font-size: .9rem; font-weight: 600; color: var(--ink); }
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success.show { display: block; }
.form-fields.hide { display: none; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.success-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--ink); margin-bottom: .5rem; }
.success-msg { font-size: .9rem; color: var(--slate); line-height: 1.7; }

/* ---- FOOTER ---- */
footer { background: var(--espresso); padding: 60px 3rem 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.06); flex-wrap: wrap; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--white); margin-bottom: .75rem; }
.footer-tagline { font-size: .84rem; color: rgba(255,255,255,.35); max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: rgba(255,255,255,.45); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .77rem; color: rgba(255,255,255,.22); }
.footer-markets { font-size: .75rem; color: rgba(255,255,255,.18); }

/* ---- PAGE HEADER (sub-pages) ---- */
.page-header { background: var(--espresso); padding: 180px 3rem 100px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(200,145,58,.12) 0%, transparent 70%); }
.page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; color: var(--white); line-height: 1.1; margin-bottom: 1rem; }
.page-header h1 em { font-style: italic; color: var(--gold-lt); }
.page-header p { font-size: 1.05rem; color: rgba(255,255,255,.55); max-width: 600px; line-height: 1.7; font-weight: 300; }

/* ---- SERVICES PAGE ---- */
.service-feature-row { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--mist); align-items: flex-start; }
.service-feature-row.dark { border-bottom-color: rgba(255,255,255,.06); }
.sf-icon { font-size: 1.4rem; flex-shrink: 0; width: 2rem; text-align: center; margin-top: .1rem; }
.service-feature-row strong { font-size: .9rem; color: var(--ink); display: block; margin-bottom: .2rem; }
.service-feature-row p { font-size: .82rem; color: var(--slate); line-height: 1.6; margin: 0; }
.service-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* ---- ONBOARDING PAGE ---- */
.ob-step { display: flex; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--mist); align-items: flex-start; }
.ob-num { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(200,145,58,.4); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); background: rgba(200,145,58,.06); flex-shrink: 0; }
.ob-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: .2rem; }
.ob-time { font-family: 'DM Mono', monospace; font-size: .65rem; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; margin-bottom: .6rem; }
.ob-content p { font-size: .9rem; color: var(--slate); line-height: 1.75; margin: 0; }
.faq-list { border: 1px solid var(--mist); border-radius: 16px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--mist); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; background: none; border: none; font-family: 'Jost', sans-serif; font-size: .95rem; font-weight: 500; color: var(--ink); text-align: left; transition: background .2s; gap: 1rem; }
.faq-q:hover { background: var(--cream); }
.faq-icon { font-size: 1.3rem; font-weight: 300; color: var(--gold); flex-shrink: 0; transition: transform .3s; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s; padding: 0 1.5rem; font-size: .88rem; color: var(--slate); line-height: 1.75; }
.faq-a.open { max-height: 300px; padding: .25rem 1.5rem 1.25rem; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(37,211,102,.4); transition: transform .3s var(--ease), box-shadow .3s; text-decoration: none; font-size: 1.6rem; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 40px rgba(37,211,102,.5); }
.whatsapp-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: waPulse 2.5s ease-out infinite; z-index: -1; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---- 404 PAGE ---- */
.page-404 { min-height: 100vh; background: var(--espresso); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; position: relative; overflow: hidden; }
.page-404::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(200,145,58,.1) 0%, transparent 70%); }
.page-404-num { font-family: 'Playfair Display', serif; font-size: clamp(8rem, 20vw, 18rem); font-weight: 700; color: rgba(200,145,58,.12); line-height: 1; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); user-select: none; }
.page-404-content { position: relative; z-index: 2; max-width: 560px; }

/* ---- KEYFRAMES ---- */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(30px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateY(-50%) translateX(20px); } to { opacity: 1; transform: translateY(-50%) translateX(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%, 100% { opacity: .4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.2); } }
@keyframes marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shake    { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }


/* ---- VISION SECTION ---- */
.vision-section {
  background: var(--cream);
  padding: 100px 3rem;
  border-top: 1px solid var(--mist);
}
.vision-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.vision-header {
  margin-bottom: 3.5rem;
}
.vision-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.vision-text p {
  font-size: .97rem;
  color: var(--slate);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.1rem;
}
.vision-text p:last-of-type {
  margin-bottom: 0;
}
.vision-closing {
  font-size: 1.05rem !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin-top: 1.5rem !important;
  line-height: 1.8 !important;
}
.vision-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
}
.vision-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.vision-card:hover {
  border-color: var(--gold-pale);
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.vision-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  margin-top: .1rem;
}
.vision-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .3rem;
  line-height: 1.3;
}
.vision-card-desc {
  font-size: .82rem;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 300;
}

/* Vision responsive */
@media (max-width: 1024px) {
  .vision-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .vision-cards {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .vision-section {
    padding: 60px 1.25rem;
  }
  .vision-cards {
    grid-template-columns: 1fr;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  nav { padding: 1.25rem 2rem; }
  nav.scrolled { padding: .9rem 2rem; }
  .nav-links { display: none; }
  .nav-links.mobile-open { display: flex; flex-direction: column; position: fixed; top: 56px; left: 0; right: 0; background: rgba(14,12,10,.97); padding: 1.5rem 2rem; gap: 1rem; backdrop-filter: blur(20px); border-top: 1px solid rgba(200,145,58,.15); z-index: 999; }
  .nav-burger { display: flex; }
  .hero { padding: 0 2rem 4rem; }
  .hero h1 { font-size: clamp(2.8rem, 8vw, 5rem); }
  .hero-stats { display: none; }
  section { padding: 70px 2rem; }
  .how-grid { grid-template-columns: 1fr; gap: 3rem; }
  .how-visual { display: none; }
  .brands-grid { grid-template-columns: 1fr; }
  .calc-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { flex-direction: column; }
  .page-header { padding: 140px 2rem 70px; }
  .service-split { grid-template-columns: 1fr !important; gap: 2rem !important; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .before-after { grid-template-columns: 1fr; }
  nav { padding: 1rem 1.25rem; }
  section { padding: 60px 1.25rem; }
  .cta-section { padding: 80px 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
}
