/* =========================================================
   SAMRIV Capital Services — styles
   ========================================================= */
:root {
  --bg: #F8F5EF;
  --bg-2: #F1EBE0;
  --card: #FFFFFF;
  --ink: #151515;
  --ink-2: #57534D;
  --muted: #8E887E;
  --gold: #A27A3A;
  --gold-2: #C6A266;
  --gold-soft: rgba(162, 122, 58, .12);
  --green: #3F5E2C;
  --line: rgba(21, 21, 21, .10);
  --glass: rgba(248, 245, 239, .72);
  --shadow: 0 30px 60px -30px rgba(60, 40, 10, .25);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Noto Serif Devanagari", serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0E0E0D;
  --bg-2: #161513;
  --card: #1A1916;
  --ink: #F3EFE6;
  --ink-2: #BDB6AA;
  --muted: #7F786D;
  --gold: #C9A266;
  --gold-2: #E0C28C;
  --gold-soft: rgba(201, 162, 102, .14);
  --green: #9DBA82;
  --line: rgba(255, 255, 255, .10);
  --glass: rgba(14, 14, 13, .66);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(1180px, 100% - 64px); } }

.eyebrow {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px; font-weight: 500;
}
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 6vw, 76px); line-height: 1.02;
  letter-spacing: -.01em; margin: 0;
}
.gold { color: var(--gold); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 12px 30px -12px var(--gold); }
:root[data-theme="dark"] .btn-gold { color: #14110b; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.w100 { width: 100%; }
.link-arrow { color: var(--gold); font-weight: 500; font-size: 14.5px; display: inline-flex; gap: 6px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 68px; padding: 0 16px;
  transition: background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
@media (min-width: 720px) { .nav { padding: 0 32px; } }
.nav.scrolled { background: var(--glass); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav.hidden { transform: translateY(-100%); }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-word { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: .22em; padding-left: .22em; }
.brand-sub { font-size: 7.5px; letter-spacing: .5em; color: var(--muted); margin-top: 5px; padding-left: .5em; border-top: 1px solid var(--gold); padding-top: 5px; }
.nav-links { display: none; gap: 34px; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.hide-sm { display: none; }
@media (min-width: 980px) { .nav-links { display: flex; } }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center;
  position: relative; overflow: hidden; transition: border-color .3s;
}
.theme-toggle:hover { border-color: var(--gold); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; position: absolute; transition: transform .6s var(--ease), opacity .4s; }
.i-moon { transform: translateY(30px) rotate(-40deg); opacity: 0; }
:root[data-theme="dark"] .i-sun { transform: translateY(-30px) rotate(90deg); opacity: 0; }
:root[data-theme="dark"] .i-moon { transform: none; opacity: 1; }

.burger { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 980px) { .burger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 90px 28px 40px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 42px; line-height: 1.25; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.mobile-menu.open nav a { transform: none; opacity: 1; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: .15s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: .2s; }
.mm-actions { display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero { height: 230vh; position: relative; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero-glow {
  position: absolute; inset: -20%;
  background: radial-gradient(40% 35% at 50% 55%, var(--gold-soft), transparent 70%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.hero-inner { position: relative; text-align: center; padding: 0 16px; will-change: transform, opacity; }
.wordmark {
  font-family: var(--serif); font-weight: 500; margin: 0;
  font-size: clamp(64px, 17vw, 230px); line-height: 1; letter-spacing: .14em; padding-left: .14em;
  display: flex; justify-content: center;
}
.wordmark span {
  display: inline-block; opacity: 0; transform: translateY(40%); filter: blur(12px);
  animation: letterIn 1.3s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .09s);
}
@keyframes letterIn { to { opacity: 1; transform: none; filter: blur(0); } }
.wm-line { width: min(78%, 900px); margin: clamp(18px, 3vw, 34px) auto clamp(14px, 2.4vw, 26px); height: 1.5px; }
.wm-line i { display: block; height: 100%; background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent); transform: scaleX(0); animation: lineIn 1.4s var(--ease) .95s forwards; }
@keyframes lineIn { to { transform: scaleX(1); } }
.wm-sub { margin: 0; color: var(--muted); font-family: var(--serif); font-size: clamp(14px, 2.4vw, 30px); letter-spacing: .55em; padding-left: .55em; }
.load-in { opacity: 0; transform: translateY(14px); animation: fadeUp 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero .eyebrow { margin-bottom: clamp(22px, 4vw, 40px); }

.hero-second { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 36px; padding: 0 16px; opacity: 0; pointer-events: none; }
.hero-second.on { pointer-events: auto; }
.hero-tag { font-family: var(--serif); font-size: clamp(46px, 8.5vw, 120px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Statement (word reveal) ---------- */
.statement { min-height: 100vh; display: grid; place-items: center; padding: 120px 0; }
.statement-text {
  width: min(1100px, 100% - 32px); margin: 0 auto; text-align: center;
  font-family: var(--serif); font-size: clamp(36px, 6.2vw, 88px); line-height: 1.08; letter-spacing: -.01em;
}
.statement-text .w { opacity: .14; transition: opacity .25s linear; }
.statement-text .w.lit { opacity: 1; }

/* ---------- Meaning ---------- */
.meaning { padding: 120px 0 140px; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .6s; }
.meaning-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .meaning-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.meaning-sticky { position: sticky; top: 120px; }
.deva { font-family: var(--deva); color: var(--green); font-size: clamp(84px, 13vw, 180px); line-height: 1.2; font-weight: 600; }
.deva-roman { font-family: var(--serif); letter-spacing: .5em; color: var(--gold); margin: 8px 0 26px; font-size: 18px; }
.deva-meaning { display: flex; flex-wrap: wrap; gap: 10px; }
.deva-meaning span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 13px; color: var(--ink-2); }
.meaning-right { display: grid; gap: 28px; align-content: start; padding-top: 10px; }
.meaning-right p { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.75; }
.meaning-right .lead { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); color: var(--ink); line-height: 1.25; }
.meaning-right .lead strong { font-weight: 600; color: var(--gold); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 10px; }
.offices div { display: grid; gap: 4px; }
.offices .k { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.offices .v { font-family: var(--serif); font-size: 22px; }

/* ---------- Values (horizontal pinned) ---------- */
.values { position: relative; height: 400vh; }
.values-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(30px, 5vh, 60px); }
.values-track { display: flex; gap: 22px; padding-left: max(16px, calc((100vw - 1180px) / 2)); padding-right: 16px; will-change: transform; width: max-content; }
@media (min-width: 720px) { .values-track { padding-left: max(32px, calc((100vw - 1180px) / 2)); padding-right: 32px; } }
.vcard {
  width: min(78vw, 380px); min-height: min(52vh, 420px); flex: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 34px 30px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow);
  transition: background-color .6s, transform .5s var(--ease);
}
.vcard:hover { transform: translateY(-6px); }
.vnum { font-family: var(--serif); color: var(--gold); font-size: 20px; letter-spacing: .1em; }
.vicon { width: 64px; height: 64px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin: auto 0 8px; }
.vcard h3 { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 0; line-height: 1.1; }
.vcard p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Path ---------- */
.path { height: 220vh; position: relative; }
.path-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: start center; padding-top: 16vh; }
.path-media { position: absolute; inset: 0; clip-path: inset(18% 22% round 40px); will-change: clip-path; }
.path-media .scene { width: 100%; height: 100%; display: block; transform: scale(1.15); will-change: transform; }
.path-media .layer { will-change: transform; }
.path-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,14,.35), rgba(10,8,14,0) 45%, rgba(10,8,14,.2)); }
.path-quote {
  position: relative; margin: 0; padding: 0 16px; max-width: 900px; text-align: center; color: #fff;
  font-family: var(--serif); font-size: clamp(34px, 5.4vw, 72px); line-height: 1.1; opacity: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.path-quote em { color: #F2D9A6; }
.path-quote .q { color: #E8C98C; }

/* ---------- Sections common ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-sub { color: var(--ink-2); font-size: 18px; margin: 20px 0 0; }

/* ---------- Services ---------- */
.services { padding: 140px 0 120px; }
.svc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px 30px;
  overflow: hidden; transition: transform .6s var(--ease), border-color .4s, background-color .6s;
}
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at var(--mx, 50%) var(--my, 0%), var(--gold-soft), transparent 70%); opacity: 0; transition: opacity .4s; }
.svc:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.svc:hover::before { opacity: 1; }
.svc svg { width: 42px; height: 42px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; position: relative; }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 22px 0 8px; position: relative; }
.svc p { margin: 0; color: var(--ink-2); font-size: 15.5px; position: relative; }

/* ---------- Steps ---------- */
.steps { padding: 60px 0 140px; }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 900px) { .step-list { grid-template-columns: repeat(3, 1fr); } }
.step { border-top: 1px solid var(--line); padding: 30px 4px 10px; display: grid; gap: 10px; align-content: start; }
.step-n { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0; }
.step p { margin: 0; color: var(--ink-2); }

/* ---------- Calculator ---------- */
.calc { padding: 130px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .6s; }
.calc-card { background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow); max-width: 1040px; margin: 0 auto; transition: background-color .6s; }
.tabs { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-2); border-radius: 999px; padding: 5px; margin-bottom: 36px; }
.tab { position: relative; z-index: 1; border: 0; background: transparent; color: var(--ink-2); font: 500 14.5px var(--sans); padding: 10px 24px; border-radius: 999px; cursor: pointer; transition: color .3s; }
.tab.active { color: var(--ink); }
.tab-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); background: var(--card); border-radius: 999px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.25); transition: transform .5s var(--ease); }
.calc-body { display: grid; gap: 40px; }
@media (min-width: 860px) { .calc-body { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.calc-inputs { display: grid; gap: 30px; align-content: start; }
.field.hide { display: none; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.field label { color: var(--ink-2); font-size: 15px; }
.field output { font-family: var(--serif); font-size: 26px; color: var(--ink); background: var(--gold-soft); padding: 2px 14px; border-radius: 10px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), var(--line) var(--p, 50%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 2px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--gold); }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--gold-soft); }
.calc-result { background: var(--bg-2); border-radius: 24px; padding: 30px 26px; display: grid; gap: 14px; align-content: start; transition: background-color .6s; }
.res-label { margin: 0; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.res-big { margin: 0; font-family: var(--serif); font-size: clamp(46px, 6vw, 68px); line-height: 1; color: var(--gold); }
.res-words { margin: 0; color: var(--ink-2); font-size: 14px; min-height: 1.2em; }
.res-bar { height: 10px; border-radius: 10px; background: var(--gold); overflow: hidden; margin: 10px 0 4px; }
.res-bar span { display: block; height: 100%; background: var(--ink-2); opacity: .55; width: 50%; transition: width .6s var(--ease); }
.res-rows { display: grid; gap: 10px; margin-bottom: 10px; }
.res-rows div { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.res-rows b { margin-left: auto; color: var(--ink); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.inv { background: var(--ink-2); opacity: .55; }
.dot.gain { background: var(--gold); }
.calc-note { margin: 28px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- CTA ---------- */
.cta { padding: 160px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 50% at 50% 60%, var(--gold-soft), transparent 70%); }
.cta-inner { position: relative; }
.cta-title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 7vw, 96px); line-height: 1.04; margin: 0 0 44px; }

/* ---------- Contact ---------- */
.contact { padding: 120px 0 140px; border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start; } }
.contact-list { display: grid; gap: 4px; margin: 40px 0 28px; }
.c-item { display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.c-item:hover { padding-left: 12px; color: var(--gold); }
.c-item svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.c-item span { display: grid; font-size: 17px; overflow-wrap: anywhere; }
.c-item small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.office-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.office { background: var(--bg-2); border-radius: 20px; padding: 20px 22px; display: grid; gap: 2px; transition: background-color .6s; }
.office small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.office b { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.office span { color: var(--ink-2); font-size: 14px; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; box-shadow: var(--shadow); transition: background-color .6s; }
.form h3 { font-family: var(--serif); font-weight: 500; font-size: 36px; margin: 0; }
.form-sub { margin: -6px 0 6px; color: var(--ink-2); font-size: 15px; }
.form label { display: grid; gap: 7px; font-size: 13px; color: var(--ink-2); letter-spacing: .02em; }
.form input, .form select, .form textarea {
  font: 16px var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; outline: none; transition: border-color .3s, box-shadow .3s, background-color .6s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.form textarea { resize: vertical; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form-err { margin: 0; color: #c0503f; font-size: 14px; min-height: 0; }
.form-err:empty { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 80px 0 40px; transition: background-color .6s; }
.foot-top { display: grid; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .foot-top { grid-template-columns: 1fr 1.6fr; } }
.foot-brand { display: grid; justify-items: start; gap: 10px; }
.foot-brand .brand-word { font-size: 40px; padding-left: 0; }
.foot-line { width: 210px; height: 1px; background: var(--gold); }
.foot-brand .brand-sub { font-size: 11px; border: 0; padding: 0; margin: 0; letter-spacing: .55em; }
.foot-tag { margin: 12px 0 0; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 20px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; }
.foot-cols h4 { margin: 0 0 14px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.foot-cols a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 15px; transition: color .3s; }
.foot-cols a:hover { color: var(--gold); }
.disclaimer { padding-top: 32px; display: grid; gap: 12px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.disclaimer p { margin: 0; }
.disclaimer strong { color: var(--ink-2); font-weight: 600; }
.copy { margin-top: 8px !important; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .statement-text .w { opacity: 1; }
}

/* ---------- Small-screen fixes ---------- */
.calc-body > *, .contact-grid > * { min-width: 0; }
.btn.w100 { white-space: normal; text-align: center; line-height: 1.2; }

/* ---------- Our Story ---------- */
.story { padding: 140px 0 120px; }
.story-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.story-copy { display: grid; gap: 22px; padding-top: 6px; }
.story-copy p { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.75; }
.vision { min-height: 90vh; display: grid; align-content: center; justify-items: center; text-align: center; padding: 100px 0; }
.vision-text { margin: 0; max-width: 1050px; font-family: var(--serif); font-size: clamp(34px, 5.6vw, 78px); line-height: 1.1; letter-spacing: -.01em; }
.vision-text .w { opacity: .14; transition: opacity .25s linear; }
.vision-text .w.lit { opacity: 1; }
.pillars { display: grid; gap: 18px; }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border-top: 1px solid var(--gold); padding: 26px 4px 0; }
.pillar-k { font-family: var(--serif); font-size: 30px; display: block; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .vision-text .w { opacity: 1; } }
