/* =============================================================
   CORAL TEKA — styles.css
   Archetype: Editorial Dark (navy) · gold accent · tropical green
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --navy-950: #06101D;
  --navy-900: #0A1729;
  --navy-850: #0D1D33;
  --navy-800: #11253F;
  --navy-700: #1A3354;
  --gold:     #C9A45C;
  --coral:    #E79A83;
  --gold-2:   #E4C98E;
  --gold-3:   #9E7C3C;
  --jungle:   #2F7D5E;
  --jungle-2: #5BB08A;
  --jungle-3: #1B503C;
  --sand:     #F4EEE2;
  --sand-2:   #E8DFCD;
  --sand-3:   #CFC3AB;
  --ink:      #F2ECDF;
  --ink-2:    #C8C2B4;
  --mute:     #8E9AAB;
  --line:     rgba(242, 236, 223, .12);
  --line-2:   rgba(242, 236, 223, .22);

  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --r: 18px;
  --r-lg: 28px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
}

/* 2. Reset & base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilities ------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--gold); color: var(--navy-950); z-index: 9999; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }

/* Profile switching: only hide once JS is on (content-first without JS) */
html.js[data-profile="buy"] [data-show="invest"],
html.js[data-profile="invest"] [data-show="buy"] { display: none !important; }

/* 4. Typography ----------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.3rem);
  margin-top: 1rem; font-variation-settings: "opsz" 144;
}
.h2 em, .hero-title em { font-style: italic; color: var(--gold-2); font-weight: 300; }
.section-lead { color: var(--ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); max-width: 46ch; }

/* 5. Components ----------------------------------------------- */
.btn {
  --bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  background: var(--bg); transition: transform .5s var(--ease-out), background .4s, color .4s, box-shadow .5s var(--ease-out);
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn-gold { --bg: linear-gradient(120deg, var(--gold-2), var(--gold) 45%, var(--gold-3)); color: var(--navy-950); box-shadow: 0 10px 30px -12px rgba(201,164,92,.6); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease-out);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(201,164,92,.75); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(6,16,29,.25); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-sm { padding: .7rem 1.15rem; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--gold-2); position: relative; }
.link-arrow::after { content: "→"; transition: transform .45s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow.muted { color: var(--ink-2); }

.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(242,236,223,.06); box-shadow: inset 0 0 0 1px var(--line); margin-top: 2rem; position: relative; }
.seg button { position: relative; z-index: 1; padding: .65rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: color .4s, background .45s var(--ease-out); }
.seg button.is-on { background: var(--gold); color: var(--navy-950); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button { padding: .5rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); transition: all .35s var(--ease-out); }
.chips button:hover { color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--gold); }
.chips button.is-on { background: var(--gold); color: var(--navy-950); box-shadow: none; }

.tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.tag-live { background: rgba(91,176,138,.14); color: var(--jungle-2); box-shadow: inset 0 0 0 1px rgba(91,176,138,.35); }
.tag-soon { background: rgba(201,164,92,.14); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(201,164,92,.35); }
.tag-dev  { background: rgba(228,201,142,.12); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(228,201,142,.35); }

.demo-badge { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 6px; background: #F6D98E; color: #3C2C08; margin-right: .5rem; vertical-align: middle; }
.demo-badge.sm { position: absolute; top: 1.2rem; right: 1.2rem; margin: 0; font-size: .6rem; }

/* Forms */
fieldset { border: 0; }
legend { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.fields { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; font-size: .86rem; color: var(--ink-2); font-weight: 500; }
.field > span { display: flex; justify-content: space-between; gap: 1rem; }
.field output { font-family: var(--mono); color: var(--gold-2); font-size: .82rem; }
.field input:not([type="range"]), .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(6,16,29,.55); color: var(--ink); font-size: 1rem; transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field select option { background: var(--navy-900); color: var(--ink); }
.field select option[data-soon] { color: var(--mute); }
.field > .sel-wrap { display: block; position: relative; }
.sel-soon { position: absolute; inset: 0; display: none; align-items: center; justify-content: space-between; gap: .6rem; padding: 0 2.4rem 0 1rem; color: var(--ink); font-size: 1rem; pointer-events: none; }
.sel-soon em { font-style: normal; color: var(--mute); opacity: .75; }
.sel-wrap.is-soon select { color: transparent; }
.sel-wrap.is-soon .sel-soon { display: flex; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.18); }
.field.big input { font-family: var(--serif); font-size: 2rem; padding: .8rem 1rem; }
.field .hint { color: var(--mute); font-size: .76rem; font-weight: 400; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(242,236,223,.15) var(--p, 50%)); margin: .6rem 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 4px rgba(201,164,92,.35); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 4px rgba(201,164,92,.35); cursor: grab; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .8rem; color: var(--ink-2); line-height: 1.5; margin: 1rem 0 1.2rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; margin-top: 2px; }

/* Grain */
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* 6. Splash ---------------------------------------------------- */
.splash { position: fixed; inset: 0; z-index: 1000; background: var(--navy-950); display: grid; place-items: center; transition: opacity .8s var(--ease-out), visibility .8s; animation: splashOut .8s 2.6s forwards; }
.splash-inner { display: grid; justify-items: center; gap: 1rem; }
.splash-mark { width: 84px; height: 84px; stroke: var(--coral); fill: none; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.splash-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s .1s var(--ease-out) forwards; }
.splash-mark path:first-child { animation-duration: 1s; }
.splash-mark circle { fill: var(--coral); stroke: none; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s .95s var(--ease-out) forwards; }
.splash-word { font-family: "Marcellus", Georgia, serif; letter-spacing: .32em; font-size: 1.05rem; color: var(--ink); opacity: 0; animation: fadeIn .8s .6s forwards; padding-left: .32em; }
html.is-ready .splash { opacity: 0; visibility: hidden; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes fadeIn { to { opacity: 1; } }

/* 7. Nav ------------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .5s, box-shadow .5s, transform .6s var(--ease-out); }
.nav.is-scrolled { background: rgba(6,16,29,.78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 1rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand { gap: .75rem; }
.brand-mark { width: 38px; height: 38px; flex: none; stroke: var(--coral); fill: none; stroke-width: 5.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: var(--coral); stroke: none; }
.brand-word { font-family: "Marcellus", Georgia, serif; font-size: 1.02rem; letter-spacing: .22em; color: var(--ink); white-space: nowrap; }
.nav-links { display: none; gap: 1.5rem; white-space: nowrap; font-size: .9rem; color: var(--ink-2); }
.nav-links a { position: relative; padding: .3rem 0; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-side { display: flex; align-items: center; gap: .8rem; }
.mini-switch { display: none; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.mini-switch button { padding: .4rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--ink-2); transition: all .4s var(--ease-out); }
.mini-switch button.is-on { background: rgba(201,164,92,.18); color: var(--gold-2); }
.nav-cta { display: none; }
.nav-burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.nav.is-open .nav-burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav-burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav-drawer { display: grid; gap: .2rem; padding: 0 var(--gutter); max-height: 0; overflow: hidden; background: rgba(6,16,29,.96); backdrop-filter: blur(16px); transition: max-height .6s var(--ease-out), padding .6s var(--ease-out); }
.nav-drawer a { font-family: var(--serif); font-size: 1.7rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.nav.is-open .nav-drawer { max-height: 80vh; padding: 1rem var(--gutter) 2rem; }

/* 8. Hero ------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 110px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 50%; transform: scale(1.08); animation: kenburns 22s var(--ease-soft) forwards; filter: saturate(1.05) contrast(1.04); }
@keyframes kenburns { to { transform: scale(1); } }
.hero-tint { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6,16,29,.55) 0%, rgba(6,16,29,.15) 30%, rgba(6,16,29,.55) 62%, rgba(6,16,29,.97) 100%),
  linear-gradient(90deg, rgba(6,16,29,.78) 0%, rgba(6,16,29,.2) 60%, transparent 100%); }
.hero-glow { position: absolute; inset: -20%; background: conic-gradient(from var(--spin) at 20% 70%, rgba(201,164,92,.22), rgba(47,125,94,.18), transparent 40%, rgba(201,164,92,.12), transparent 80%); filter: blur(80px); animation: spin 26s linear infinite; mix-blend-mode: screen; opacity: .8; }
@keyframes spin { to { --spin: 360deg; } }
.hero-inner { position: relative; padding-bottom: 2.5rem; }
.hero-meta { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: .5rem .9rem; border-radius: 999px; background: rgba(6,16,29,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jungle-2); box-shadow: 0 0 0 0 rgba(91,176,138,.6); animation: pulse 2.4s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(91,176,138,0); } 100% { box-shadow: 0 0 0 0 rgba(91,176,138,0); } }
.hero-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 1.3rem + 5.2vw, 6rem); line-height: 1.0; letter-spacing: -0.035em; margin: 1.4rem 0 1.4rem; max-width: 14ch; font-variation-settings: "opsz" 144; }
.hero-title .ht { display: block; }
.hero-title .ht.is-entering { animation: titleIn 1s var(--ease-out) both; }
@keyframes titleIn { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } }
.hero-lead { max-width: 54ch; color: var(--ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.hero-lead > span, .section-lead > span { display: block; }

.profile-select { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 2rem 0 1.4rem; max-width: 640px; }
.ps-card { position: relative; text-align: left; padding: 1rem 1rem 1.1rem; border-radius: var(--r); background: rgba(6,16,29,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: .15rem; transition: box-shadow .5s var(--ease-out), background .5s, transform .5s var(--ease-out); overflow: hidden; }
.ps-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 0% 0%, rgba(201,164,92,.28), transparent 60%); opacity: 0; transition: opacity .6s; }
.ps-card:hover { transform: translateY(-3px); }
.ps-card.is-on { box-shadow: inset 0 0 0 1.5px var(--gold), 0 20px 50px -25px rgba(201,164,92,.6); background: rgba(10,23,41,.7); }
.ps-card.is-on::before { opacity: 1; }
.ps-kicker { position: relative; padding-right: 36px; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ps-title { position: relative; font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.15; }
.ps-sub { position: relative; font-size: .8rem; color: var(--ink-2); line-height: 1.4; }
.ps-arrow { position: absolute; right: 1rem; top: 1rem; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .85rem; transition: all .5s var(--ease-out); }
.ps-card.is-on .ps-arrow { background: var(--gold); color: var(--navy-950); box-shadow: none; transform: rotate(-45deg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero-foot { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; padding-top: 1.4rem; padding-bottom: 2rem; border-top: 1px solid var(--line); }
.hf-item { display: grid; gap: .1rem; }
.hf-num { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); color: var(--gold-2); line-height: 1; }
.hf-lab { font-size: .78rem; color: var(--ink-2); }
.scroll-cue { display: none; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--navy-900); padding: 1.1rem 0; }
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); color: var(--ink-2); white-space: nowrap; align-items: center; }
.marquee-track i { font-style: normal; color: var(--gold); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 9. Sections ------------------------------------------------- */
.section { position: relative; padding: clamp(5rem, 4rem + 6vw, 10rem) 0; }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); }
.section-head.split { display: grid; gap: 1.5rem; align-items: end; }
.section-head.center { text-align: center; display: grid; justify-items: center; }
.section-head.center .h2 { max-width: 18ch; }

.light { background: var(--sand); color: var(--navy-900); }
.light .h2 em { color: var(--jungle-3); }
.light .eyebrow { color: var(--jungle); }
.light .section-lead { color: #4A5566; }
.process-lead { max-width: 820px; margin-top: 1.4rem; text-align: center; text-wrap: balance; }
.light .seg { background: rgba(10,23,41,.06); box-shadow: inset 0 0 0 1px rgba(10,23,41,.12); }
.light .seg button { color: #4A5566; }
.light .seg button.is-on { background: var(--navy-900); color: var(--sand); }

/* Why */
.why-grid { display: grid; gap: 3rem; }
.why-figure { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.why-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); will-change: transform; }
.why-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.3rem; font-size: .85rem; background: linear-gradient(0deg, rgba(6,16,29,.85), transparent); }
.why-list { display: grid; }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.7rem 0; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-n { font-family: var(--mono); font-size: .8rem; color: var(--gold); padding-top: .4rem; }
.why-item h3 { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); margin-bottom: .5rem; }
.why-item p { color: var(--ink-2); font-size: .98rem; }

/* Process */
.steps { display: grid; gap: 1rem; counter-reset: s; position: relative; }
.step { position: relative; padding: 2rem 1.6rem 1.8rem; border-radius: var(--r-lg); background: #FBF8F1; box-shadow: 0 1px 0 rgba(10,23,41,.06), 0 30px 60px -40px rgba(10,23,41,.35); display: grid; gap: .7rem; align-content: start; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.step:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(10,23,41,.06), 0 40px 70px -35px rgba(10,23,41,.45); }
.step-n { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-3); }
.step h3 { font-family: var(--serif); font-size: 1.7rem; color: var(--navy-900); }
.step p { color: #4A5566; font-size: .95rem; }
.step-tag { justify-self: start; margin-top: .6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: rgba(47,125,94,.1); color: var(--jungle-3); }
.step::after { content: ""; position: absolute; top: 3.1rem; right: 1.6rem; width: 40px; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform .8s .2s var(--ease-out); }
.step.is-in::after { transform: scaleX(1); }
/* Tags always aligned at the bottom of the card, whatever the text length */
.step { display: flex; flex-direction: column; }
.step-tag { align-self: flex-start; margin-top: auto; }

/* Projects */
.block-label { display: flex; align-items: center; gap: .9rem; margin: 3.5rem 0 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.block-label:first-of-type { margin-top: 0; }
.path-head + .block-label { margin-top: 1.6rem; }
.block-label h3, .block-label h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); flex: 1; }
.bl-dot { width: 10px; height: 10px; border-radius: 50%; }
.bl-dot.live { background: var(--jungle-2); box-shadow: 0 0 14px var(--jungle-2); }
.bl-dot.dev { background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.bl-dot.done { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mute); flex: none; }
.bl-dot.soon { background: transparent; box-shadow: inset 0 0 0 1.5px var(--jungle-2); }

.proj-grid { display: grid; gap: 1.2rem; }
.proj { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-850); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .6s var(--ease-out), box-shadow .6s; }
.proj::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(228,201,142,.14), transparent 45%); opacity: 0; transition: opacity .5s; }
.proj:hover::before { opacity: 1; }
.proj:hover { box-shadow: inset 0 0 0 1px rgba(201,164,92,.45), 0 40px 80px -40px rgba(0,0,0,.8); }
.proj-img { aspect-ratio: 4 / 4.4; overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 1s; }
.proj:hover .proj-img img { transform: scale(1.06); filter: saturate(1.15); }
.proj-body { padding: 1.5rem 1.5rem 1.7rem; display: grid; gap: .8rem; flex: 1; align-content: start; }
.proj-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.proj h4, .nua h4 { font-family: var(--serif); font-size: 2rem; font-weight: 300; }
.proj p, .nua p { color: var(--ink-2); font-size: .95rem; }
.proj-actions { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; margin-top: .4rem; }

.nua { display: grid; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, var(--navy-850), var(--navy-900)); box-shadow: inset 0 0 0 1px rgba(201,164,92,.3); }
.nua-visual { display: block; position: relative; min-height: 260px; background: radial-gradient(90% 90% at 70% 30%, rgba(47,125,94,.35), transparent 60%), var(--navy-900); color: rgba(228,201,142,.28); overflow: hidden; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; }
.topo .plot { fill: rgba(201,164,92,.12); stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 6 5; animation: dash 18s linear infinite; }
.topo .plot-pins circle { fill: var(--gold-2); }
.topo .plot-label { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; fill: var(--gold-2); }
@keyframes dash { to { stroke-dashoffset: -220; } }
.nua-coord { position: absolute; left: 1.2rem; bottom: 1rem; }
.nua-body { padding: 2rem 1.6rem; display: grid; gap: 1rem; align-content: center; }
.nua h4 .sub { font-size: .55em; color: var(--mute); }
.nua strong { color: var(--gold-2); font-weight: 600; }
.nua-steps { display: grid; gap: .55rem; margin: .5rem 0; }
.nua-steps li { display: flex; align-items: center; gap: .8rem; font-size: .9rem; color: var(--mute); }
.nua-steps li span { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; }
.nua-steps li.on { color: var(--ink-2); }
.nua-steps li.on span { background: var(--jungle-2); box-shadow: none; }
.nua-steps li.now { color: var(--gold-2); font-weight: 600; }
.nua-steps li.now span { background: var(--gold); box-shadow: 0 0 0 5px rgba(201,164,92,.2); animation: pulseGold 2s infinite; }
@keyframes pulseGold { 50% { box-shadow: 0 0 0 9px rgba(201,164,92,0); } }
/* Nüa: plot drawing details and live round progress */
.topo .river { fill: none; stroke: rgba(91,176,138,.55); stroke-width: 6; stroke-linecap: round; }
.topo .north path { fill: none; stroke: var(--gold-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.topo .north text { font-family: var(--mono); font-size: 11px; fill: var(--gold-2); }
.nua-round { display: grid; gap: .55rem; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(201,164,92,.06); box-shadow: inset 0 0 0 1px rgba(201,164,92,.25); }
.nr-top, .nr-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.nr-left { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.nr-left b { color: var(--gold-2); font-weight: 400; }
.nr-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(242,236,223,.08); }
.nr-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transition: width 1.6s var(--ease-out) .3s; }
.nua.is-in .nr-bar span { width: var(--p); }
.nr-bar span::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold-2); animation: pulseGold 2s infinite; }
.nr-foot { font-size: .85rem; color: var(--ink-2); }
.nr-foot b { color: var(--ink); font-weight: 600; }
/* Three facts on one line, evenly spaced */
.facts.facts-3 { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 1rem; }
.facts-3 dt, .facts-3 dd { white-space: nowrap; }
@media (max-width: 520px) {
  .facts.facts-3 { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .facts-3 div:last-child { grid-column: 1 / -1; }
}

.empty { display: grid; gap: 1.2rem; padding: 2rem 1.6rem; border-radius: var(--r-lg); border: 1px dashed var(--line-2); align-items: center; }
.empty-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,236,223,.04); }
.empty-mark svg { width: 30px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; }
.empty h4 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: .4rem; }
.empty p { color: var(--ink-2); max-width: 70ch; font-size: .95rem; }

/* Calculator */
.calc { background: var(--navy-900); overflow: hidden; }
.calc-glow { position: absolute; width: 900px; height: 900px; left: 50%; top: 10%; transform: translateX(-50%); background: radial-gradient(circle, rgba(201,164,92,.16), transparent 60%); pointer-events: none; }
.ai-chip { display: inline-grid; place-items: center; padding: .15rem .45rem; border-radius: 6px; background: linear-gradient(120deg, var(--gold-2), var(--jungle-2)); color: var(--navy-950); font-weight: 700; letter-spacing: .05em; font-size: .68rem; }
.calc-shell { position: relative; display: grid; gap: 1.2rem; border-radius: var(--r-lg); padding: 1rem; background: rgba(6,16,29,.6); box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -60px rgba(0,0,0,.8); }
.calc-form { display: grid; gap: 1.8rem; padding: 1.2rem .6rem; align-content: start; }
.unit-pick { display: grid; gap: .6rem; }
.unit { cursor: pointer; }
.unit input { position: absolute; opacity: 0; pointer-events: none; }
.unit span { display: grid; gap: .1rem; padding: .95rem 1.1rem; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); transition: all .4s var(--ease-out); }
.unit b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.unit small { color: var(--mute); font-size: .78rem; }
.unit input:checked + span { box-shadow: inset 0 0 0 1.5px var(--gold); background: rgba(201,164,92,.08); }
.unit input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.adv { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.adv summary { cursor: pointer; font-size: .85rem; color: var(--gold-2); font-weight: 600; list-style: none; }
.adv summary::-webkit-details-marker { display: none; }
.adv summary::before { content: "+ "; }
.adv[open] summary::before { content: "– "; }
.adv .fields { margin-top: 1rem; }
.illus { font-size: .62rem; padding: .2rem .5rem; border-radius: 5px; background: #F6D98E; color: #3C2C08; letter-spacing: .1em; }
.note { margin-top: 1rem; font-size: .8rem; color: var(--mute); padding: .8rem 1rem; border-left: 2px solid var(--gold); background: rgba(201,164,92,.06); border-radius: 0 10px 10px 0; }

.calc-result { position: relative; min-width: 0; border-radius: calc(var(--r-lg) - 8px); background: linear-gradient(160deg, var(--navy-800), var(--navy-850)); box-shadow: inset 0 0 0 1px var(--line); padding: 1.6rem 1.3rem; min-height: 360px; display: grid; overflow: hidden; }
.cr-empty { display: grid; place-items: center; text-align: center; gap: 1.4rem; color: var(--ink-2); font-size: .95rem; max-width: 36ch; margin: auto; }
.cr-orb { width: 110px; height: 110px; border-radius: 50%; background: conic-gradient(from var(--spin), var(--gold), var(--jungle-2), var(--gold-2), var(--gold)); filter: blur(2px); animation: spin 6s linear infinite; mask: radial-gradient(circle, transparent 50%, #000 52%); -webkit-mask: radial-gradient(circle, transparent 50%, #000 52%); opacity: .8; }
.cr-loading { display: grid; place-items: center; gap: 1rem; text-align: center; color: var(--ink-2); margin: auto; }
.cr-loading .cr-orb { width: 70px; height: 70px; animation-duration: 1.4s; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.kpi { padding: 1rem; border-radius: 14px; background: rgba(6,16,29,.5); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .2rem; }
.kpi small { font-size: .72rem; color: var(--mute); line-height: 1.35; }
.kpi b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--gold-2); line-height: 1.1; }
.kpi.accent { background: linear-gradient(140deg, rgba(201,164,92,.18), rgba(47,125,94,.14)); box-shadow: inset 0 0 0 1px rgba(201,164,92,.35); }
.res-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.res-head h3 { font-family: var(--serif); font-size: 1.6rem; }
.teaser { position: relative; }
.teaser .blurred { filter: blur(7px); user-select: none; pointer-events: none; opacity: .75; }
.gate { position: relative; margin-top: 1.2rem; padding: 1.3rem; border-radius: 16px; background: rgba(6,16,29,.85); box-shadow: inset 0 0 0 1px rgba(201,164,92,.4); display: grid; gap: .8rem; }
.gate h4 { font-family: var(--serif); font-size: 1.3rem; }
.gate p { font-size: .85rem; color: var(--ink-2); }
.gate .row { display: grid; gap: .6rem; }
.gate input[type="email"], .gate input[type="tel"] { width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(6,16,29,.6); color: var(--ink); }
.gate input[type="email"]:focus, .gate input[type="tel"]:focus { outline: none; border-color: var(--gold); }
.gate .check { margin: 0; }
.gate .err { color: #F3A58F; font-size: .82rem; min-height: 1em; }

.report { display: grid; gap: 1.2rem; animation: titleIn .9s var(--ease-out) both; }
.chart { width: 100%; height: auto; }
.chart .grid line { stroke: var(--line); }
.chart text { fill: var(--mute); font-family: var(--mono); font-size: 10px; }
.chart .bar-a { fill: var(--gold); }
.chart .bar-b { fill: var(--jungle-2); }
.chart .line { fill: none; stroke: var(--gold-2); stroke-width: 2; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .76rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; }
.ai-box { padding: 1.2rem 1.2rem 1.1rem; border-radius: 16px; background: rgba(6,16,29,.55); box-shadow: inset 0 0 0 1px var(--line); }
.ai-box h4 { display: flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; }
.ai-box .ai-text p { color: var(--ink-2); font-size: .93rem; margin-bottom: .6rem; }
.ai-box .ai-text p:last-child { margin-bottom: 0; }
.ai-box .ai-text strong { color: var(--ink); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
.res-disc { font-size: .74rem; color: var(--mute); line-height: 1.5; border-top: 1px solid var(--line); padding-top: .9rem; }
.res-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.scen { display: grid; gap: .5rem; }
.scen-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(6,16,29,.45); font-size: .88rem; }
.scen-row b { color: var(--gold-2); font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.scen-row small { color: var(--mute); display: block; font-size: .74rem; }

.disclaimer { margin: 2rem auto 0; max-width: 80ch; font-size: .8rem; color: var(--mute); text-align: center; line-height: 1.6; }
.disclaimer strong { color: var(--ink-2); }

/* Testimonials */
.testi-grid { display: grid; gap: 1.2rem; }
.quote { position: relative; padding: 2.4rem 1.8rem 1.8rem; border-radius: var(--r-lg); background: #FBF8F1; box-shadow: 0 30px 60px -40px rgba(10,23,41,.35); display: grid; gap: 1.6rem; align-content: space-between; }
.quote blockquote { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; color: var(--navy-900); font-weight: 300; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; }
.quote figcaption b { display: block; font-size: .95rem; color: var(--navy-900); }
.quote figcaption small { font-size: .78rem; color: #6A7384; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--jungle), var(--jungle-3)); color: var(--sand); font-family: var(--mono); font-size: .8rem; letter-spacing: .05em; flex: none; }

/* FAQ */
.faq-wrap { display: grid; gap: 2.5rem; }
.faq-filter { margin-top: 2rem; }
.faq-help { margin-top: 1.6rem; color: var(--ink-2); font-size: .92rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.faq-list { display: grid; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 34px; gap: 1rem; align-items: center; padding: 1.4rem 0; font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--sans); font-size: 1.1rem; color: var(--gold); transition: transform .5s var(--ease-out), background .4s; }
.qa[open] summary::after { transform: rotate(45deg); background: rgba(201,164,92,.12); }
.qa summary:hover { color: var(--gold-2); }
.qa-a { padding: 0 3rem 1.5rem 0; color: var(--ink-2); font-size: .97rem; }
.qa-a strong { color: var(--ink); }
.faq-side .h2 em { white-space: nowrap; }
.qa-tag { display: inline-block; margin-left: .55rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); opacity: .85; white-space: nowrap; vertical-align: .15em; }
.qa[hidden] { display: none; }

/* Contact */
.contact { overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-tint { position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-950) 0%, rgba(6,16,29,.82) 35%, rgba(6,16,29,.9) 100%); }
.contact-copy .section-lead { margin-top: 1.2rem; }
.contact-wrap { display: grid; gap: 2.5rem; align-items: start; }
.contact-card { position: relative; border-radius: var(--r-lg); padding: 1.6rem 1.3rem; background: rgba(10,23,41,.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -50px rgba(0,0,0,.8); }
.lead-form h3, .form-success h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 1.3rem; }
.lead-form .fields { margin-bottom: 1rem; }
.lead-form > .field + .field { margin-top: 1rem; }
.form-msg { font-size: .85rem; color: #F3A58F; margin-top: .8rem; min-height: 1em; }
.form-success { display: grid; justify-items: center; text-align: center; gap: .6rem; padding: 2rem 0; }
.form-success[hidden] { display: none; }
.form-success svg { width: 72px; fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: drawS 1s var(--ease-out) forwards; }
.form-success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawS .6s .7s var(--ease-out) forwards; }
@keyframes drawS { to { stroke-dashoffset: 0; } }
.form-success p { color: var(--ink-2); max-width: 36ch; }

/* Footer */
.footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.foot-top { display: grid; gap: 1.6rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.foot-claim { color: var(--ink-2); font-size: .92rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .9rem; color: var(--ink-2); }
.foot-links a:hover { color: var(--gold-2); }
.foot-legal { font-size: .76rem; color: var(--mute); line-height: 1.6; padding: 1.6rem 0; max-width: 110ch; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .72rem; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }

/* Chat */
.chat-fab { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem .55rem .55rem; border-radius: 999px; background: var(--navy-800); box-shadow: inset 0 0 0 1px rgba(201,164,92,.45), 0 20px 40px -15px rgba(0,0,0,.7); transition: transform .5s var(--ease-out), opacity .4s; font-size: .88rem; font-weight: 600; }
.chat-fab:hover { transform: translateY(-3px); }
.fab-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); }
.fab-ico svg { width: 18px; fill: none; stroke: var(--navy-950); stroke-width: 2; stroke-linejoin: round; }
.chat-fab.is-open { opacity: 0; pointer-events: none; transform: scale(.9); }
.chat { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 210; max-height: min(640px, calc(100vh - 24px)); max-height: min(640px, calc(100dvh - 24px)); display: flex; flex-direction: column; border-radius: 24px; background: rgba(10,23,41,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 90px -30px rgba(0,0,0,.9); overflow: hidden; animation: chatIn .5s var(--ease-out); }
.chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: .95rem; }
.chat-head small { font-size: .74rem; color: var(--mute); display: inline-flex; align-items: center; gap: .4rem; }
.chat-head .dot { width: 6px; height: 6px; }
.chat-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-700); flex: none; }
.chat-av svg { width: 26px; height: 26px; fill: none; stroke: var(--coral); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.chat-av circle { fill: var(--coral); stroke: none; }
.chat-x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--ink-2); }
.chat-x:hover { background: rgba(242,236,223,.08); }
.chat-wa { margin-left: auto; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(201,164,92,.45); transition: background .3s, color .3s; }
.chat-wa:hover { background: var(--gold); color: var(--navy-950); }
.chat-wa .wa-ico { width: 17px; height: 17px; }
.chat-wa + .chat-x { margin-left: 0; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: grid; gap: .7rem; align-content: start; overscroll-behavior: contain; min-height: 200px; }
.msg { max-width: 88%; padding: .7rem .95rem; border-radius: 16px; font-size: .9rem; line-height: 1.55; white-space: pre-wrap; }
.msg.bot { background: rgba(242,236,223,.06); border-bottom-left-radius: 4px; color: var(--ink); }
.msg.me { justify-self: end; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy-950); border-bottom-right-radius: 4px; font-weight: 500; }
.msg a { color: var(--gold-2); text-decoration: underline; }
.chat-sugg { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1.1rem .7rem; }
.chat-sugg button { font-size: .78rem; padding: .45rem .8rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(201,164,92,.4); color: var(--gold-2); transition: background .3s; text-align: left; }
.chat-sugg button:hover { background: rgba(201,164,92,.12); }
.chat-form { display: flex; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; padding: .8rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(6,16,29,.6); font-size: .92rem; }
.chat-form input:focus { outline: none; border-color: var(--gold); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; flex: none; }
.chat-form button svg { width: 18px; fill: none; stroke: var(--navy-950); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-foot { font-size: .66rem; color: var(--mute); text-align: center; padding: 0 1rem .7rem; }

/* 10. Reveal ---------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* 11. Responsive ------------------------------------------------ */
@media (max-width: 539px) {
  .fab-label { display: none; }
  .chat-fab { padding: .45rem; }
  .hero-meta { font-size: .6rem; letter-spacing: .1em; }
  .ps-arrow { width: 24px; height: 24px; right: .7rem; top: .8rem; font-size: .7rem; }
  .ps-kicker { padding-right: 26px; font-size: .58rem; }
}
@media (min-width: 540px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .unit-pick { grid-template-columns: repeat(3, 1fr); }
  .gate .row { grid-template-columns: 1fr 1fr; }
  .gate .row .btn { grid-column: 1 / -1; }
  .chat { left: auto; width: 400px; right: 20px; bottom: 20px; }
  .chat-fab { right: 24px; bottom: 24px; }
  .fields.two { grid-template-columns: 1fr 1fr; }
  .ps-card { padding: 1.3rem 1.3rem 1.4rem; }
}
@media (min-width: 720px) {
  .hero-foot { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
  .scroll-cue { display: block; width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--line-2); position: relative; }
  .scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
  @keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .empty { grid-template-columns: auto 1fr; padding: 2.4rem; }
  .section-head.split { grid-template-columns: 1.3fr 1fr; }
  .fields { grid-template-columns: 1fr 1fr; }
  .calc-form .field.big { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .kpis.three { grid-template-columns: repeat(3, 1fr); }
  .calc-shell { padding: 1.4rem; }
  .calc-form { padding: 1.4rem 1rem; }
  .contact-card { padding: 2.4rem; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger, .nav-drawer { display: none; }
  .mini-switch { display: inline-flex; }
  .why-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }
  .why-figure { position: sticky; top: 110px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; left: 3%; right: 3%; top: -2rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-3), transparent); }
  .proj-grid { grid-template-columns: repeat(3, 1fr); }
  .proj:nth-child(2) { margin-top: 3rem; margin-bottom: -3rem; }
  .proj-grid { padding-bottom: 3rem; }
  .nua { grid-template-columns: 1.05fr 1fr; }
  .nua-visual { min-height: 440px; }
  .nua-body { padding: 3rem; }
  .calc-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis.three { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .quote:nth-child(2) { margin-top: 2.5rem; margin-bottom: -2.5rem; }
  .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 5rem; }
  .faq-side { position: sticky; top: 120px; align-self: start; }
  .contact-wrap { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .contact-copy { position: sticky; top: 140px; }
  .foot-top { grid-template-columns: auto 1fr auto; align-items: center; gap: 3rem; }
}
@media (min-width: 1280px) {
  .nav-links { gap: 2.2rem; }
  .hero-inner { padding-bottom: 3.5rem; }
  .calc-result { padding: 2.2rem 2rem; }
}

/* 12. Reduced motion — only intrusive loops */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: none; }
  .hero-glow, .marquee-track, .topo .plot, .cr-orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   13. Real-data additions (facts, gallery, team, contact)
   ============================================================= */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1rem; padding: .9rem 0 .2rem; border-top: 1px solid var(--line); margin-top: .2rem; }
.facts div { display: grid; gap: .05rem; padding: .35rem 0; }
.facts dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.facts dd { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.proj-img { position: relative; }
.img-note { position: absolute; left: .8rem; bottom: .8rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 6px; background: rgba(6,16,29,.72); color: var(--ink-2); }
.nua-legal { font-size: .8rem !important; color: var(--mute) !important; border-left: 2px solid var(--gold); padding-left: .8rem; }

.gallery { margin: 4.5rem 0 1rem; }
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; }
.gallery-head h3 { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); }
.gallery-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--gold-3) transparent; }
.gallery-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.gallery-track figure { flex: 0 0 min(78vw, 460px); scroll-snap-align: start; border-radius: var(--r); overflow: hidden; position: relative; background: var(--navy-850); }
.gallery-track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery-track figure:hover img { transform: scale(1.05); }
.gallery-track figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem .8rem; font-size: .82rem; background: linear-gradient(0deg, rgba(6,16,29,.85), transparent); }

.team { background: var(--navy-900); }
.team-grid { display: grid; gap: 1.5rem; }
.team-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.team-stats div { padding: 1.3rem 1.2rem; border-radius: var(--r); background: rgba(6,16,29,.5); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .3rem; }
.team-stats b { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); color: var(--gold-2); line-height: 1; }
.team-stats span { font-size: .85rem; color: var(--ink-2); }
.props { display: grid; border-top: 1px solid var(--line); }
.props li { display: grid; grid-template-columns: 40px 1fr; column-gap: .8rem; padding: .95rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.props li .mono { grid-row: span 2; color: var(--gold); }
.props b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.props small { color: var(--mute); font-size: .82rem; }
.entities { display: grid; gap: .8rem; margin-top: 2.5rem; }
.entities div { padding: 1.1rem 1.2rem; border-radius: var(--r); border: 1px dashed var(--line-2); display: grid; gap: .2rem; }
.entities b { font-weight: 600; }
.entities small { color: var(--mute); font-size: .8rem; }

.unit-ref { margin-top: .8rem; font-size: .8rem; color: var(--jungle-2); min-height: 1.2em; }
.fixed-val { padding: .9rem 1rem; border-radius: 12px; border: 1px dashed var(--line-2); font-family: var(--serif); font-size: 1.3rem; color: var(--gold-2); }

.direct { margin-top: 2rem; display: grid; gap: .35rem; padding: 1.2rem 1.3rem; border-radius: var(--r); background: rgba(10,23,41,.6); box-shadow: inset 0 0 0 1px var(--line); max-width: 380px; }
.direct a { font-weight: 600; color: var(--gold-2); }
.direct a:hover { text-decoration: underline; }
.direct-mail { user-select: all; color: var(--ink-2); font-size: .95rem; }

@media (min-width: 720px) {
  .team-stats { grid-template-columns: repeat(4, 1fr); }
  .entities { grid-template-columns: repeat(3, 1fr); }
  .props { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
@media (min-width: 960px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .team-stats { grid-template-columns: 1fr 1fr; }
  .props { grid-template-columns: 1fr; }
  .facts-4 { grid-template-columns: repeat(4, 1fr); }
}


/* =============================================================
   14. Hybrid structure: paths, filters, about, detail pages
   ============================================================= */
/* Views / routing */
html.js .view.detail { display: none; }
html.js[data-route="la-mogoda"] .view-home, html.js[data-route="eleve"] .view-home, html.js[data-route="nua"] .view-home { display: none; }
html.js[data-route="la-mogoda"] .detail[data-view="la-mogoda"],
html.js[data-route="eleve"] .detail[data-view="eleve"],
html.js[data-route="nua"] .detail[data-view="nua"] { display: block; animation: viewIn .7s var(--ease-out) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }

/* Filter-aware titles and paths */
.fx { display: none; }
.fx[data-fx="all"] { display: inline; }
html.js[data-filter="buy"] .fx[data-fx="all"], html.js[data-filter="invest"] .fx[data-fx="all"] { display: none; }
html.js[data-filter="buy"] .fx[data-fx="buy"], html.js[data-filter="invest"] .fx[data-fx="invest"] { display: inline; }
html.js[data-filter="buy"] .path[data-path="invest"], html.js[data-filter="invest"] .path[data-path="buy"] { display: none; }

.hero-all { display: inline-block; font-size: .88rem; color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.hero-all:hover { color: var(--gold-2); border-color: var(--gold); }
.profile-select { margin-bottom: 1rem; }

.filter-box { display: grid; gap: 1.1rem; }
.path-filter { gap: .6rem; }
.path-filter button { font-size: 1rem; padding: .75rem 1.45rem; }
.path { padding-top: 1rem; }
.path + .path { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--line); }
/* Filtered to Capitalización: same position as Rentas Pasivas (no separator above) */
html.js[data-filter="invest"] .path[data-path="invest"] { margin-top: 0; padding-top: 1rem; border-top: 0; }
.path-head { display: grid; gap: .4rem; margin-bottom: .6rem; }
.path-kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.path-head h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.8rem); }
.path-head h3 em { font-style: normal; color: var(--gold-2); }

.feat-grid { display: grid; gap: 1.2rem; }
.proj-img { display: block; }
.tag-muted { background: rgba(242,236,223,.06); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tag-path { background: rgba(6,16,29,.55); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }

.mini { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-850); box-shadow: inset 0 0 0 1px var(--line); }
.mini-img { position: relative; min-height: 190px; overflow: hidden; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mini-body { padding: 1.4rem 1.4rem 1.5rem; display: grid; gap: .7rem; align-content: center; }
.mini-body h4 { font-family: var(--serif); font-weight: 300; font-size: 1.8rem; }
.mini-body p { color: var(--ink-2); font-size: .95rem; }
.mini-soon { background: transparent; box-shadow: none; border: 1px dashed var(--line-2); }
.mini-topo { background: radial-gradient(80% 90% at 60% 40%, rgba(47,125,94,.28), transparent 65%), var(--navy-900); color: rgba(91,176,138,.3); }
.mini-topo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.topo-green .plot-soft { fill: rgba(91,176,138,.1); stroke: var(--jungle-2); stroke-width: 1.2; stroke-dasharray: 5 5; }
.topo-green .plot-label { fill: var(--jungle-2); }
.topo-green .road { fill: none; stroke: rgba(242,236,223,.22); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mini-foot { color: var(--mute) !important; }
.done-note { display: flex; gap: .8rem; align-items: center; margin-top: 2rem; font-size: .92rem; color: var(--ink-2); }
.done-note b { color: var(--ink); font-weight: 600; }

/* About */
.about { background: var(--navy-900); }
.about-grid { display: grid; gap: 2rem; }
.cred h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 1.2rem; }
.cred-list { display: grid; }
.cred-list li { display: grid; grid-template-columns: 26px 1fr; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.cred-list li:last-child { border-bottom: 1px solid var(--line); }
.cred-list b { display: block; font-weight: 600; margin-bottom: .15rem; }
.cred-list small { color: var(--ink-2); font-size: .9rem; line-height: 1.55; }
.cred-list.compact li { padding: .8rem 0; }
.ck { width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: rgba(91,176,138,.16); box-shadow: inset 0 0 0 1.5px var(--jungle-2); position: relative; }
.ck::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid var(--jungle-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ck-open { background: rgba(201,164,92,.12); box-shadow: inset 0 0 0 1.5px var(--gold); }
/* «Por qué confiar en nosotros»: numbered story instead of green checks */
.cred-story li { grid-template-columns: 30px 1fr; }
.cred-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1rem; line-height: 1; color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(201,164,92,.55); }
.ck-open::after { left: 6px; top: 10px; width: 9px; height: 0; border-width: 0 0 2px 0; border-color: var(--gold); transform: none; }
.about-fig { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px; }
.about-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem; font-size: .85rem; background: linear-gradient(0deg, rgba(6,16,29,.85), transparent); }
.why-head { margin: 4.5rem 0 1.4rem; }
.why-cards { display: grid; gap: 1rem; }
.why-cards li { padding: 1.5rem 1.4rem; border-radius: var(--r); background: rgba(6,16,29,.45); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .5rem; align-content: start; }
.why-cards h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.why-cards p { color: var(--ink-2); font-size: .92rem; }

/* WhatsApp CTA */
.wa-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn-wa { margin-top: 1.8rem; padding: 1.1rem 1.7rem; font-size: 1rem; }
.wa-note { margin-top: .8rem; font-size: .85rem; color: var(--mute); }

/* Detail pages */
.detail { padding-bottom: 4rem; }
.d-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 120px 0 3rem; }
.d-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: kenburns 18s var(--ease-soft) forwards; }
.d-hero-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,16,29,.6) 0%, rgba(6,16,29,.1) 35%, rgba(6,16,29,.75) 75%, var(--navy-950) 100%), linear-gradient(90deg, rgba(6,16,29,.6), transparent 70%); }
.d-hero-invest .d-hero-tint { background: linear-gradient(180deg, rgba(6,16,29,.75), rgba(6,16,29,.55) 40%, var(--navy-950) 100%); }
.d-hero-topo { position: absolute; right: -5%; top: 10%; width: 70%; height: 80%; z-index: -1; color: rgba(228,201,142,.28); }
.d-hero-inner { display: grid; gap: .9rem; }
.back { justify-self: start; font-size: .88rem; color: var(--ink-2); padding: .45rem .9rem; border-radius: 999px; background: rgba(6,16,29,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .3s; }
.back:hover { color: var(--gold-2); }
.d-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.d-title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 1.6rem + 6vw, 6.8rem); letter-spacing: -0.035em; line-height: .95; }
.d-title span { font-size: .45em; color: var(--gold-2); font-style: italic; }
.d-sub { color: var(--ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.d-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .6rem; }

.d-figures { margin-top: -1px; }
.d-figures dl { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--line); gap: 1px; box-shadow: inset 0 0 0 1px var(--line); }
.d-figures dl > div { background: var(--navy-900); padding: 1.2rem 1.2rem 1.3rem; display: grid; gap: .25rem; }
.d-figures dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.d-figures dd { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem); color: var(--gold-2); font-variant-numeric: tabular-nums; line-height: 1.15; }

.d-section { margin-top: clamp(3.5rem, 3rem + 3vw, 6rem); }
.d-section .eyebrow + .h3 { margin-top: .8rem; }
.h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; }
.d-two { display: grid; gap: 2.5rem; }
.d-desc p { color: var(--ink-2); margin-top: 1rem; max-width: 62ch; }
.d-list { margin-top: 1.4rem; display: grid; gap: .6rem; }
.d-list li { position: relative; padding-left: 1.4rem; color: var(--ink-2); font-size: .95rem; }
.d-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.d-list b { color: var(--ink); font-weight: 600; }
.d-loc { padding: 1.6rem; border-radius: var(--r-lg); background: var(--navy-850); box-shadow: inset 0 0 0 1px var(--line); align-self: start; display: grid; gap: .9rem; }
.d-loc .eyebrow + .h3 { margin-top: 0; }
.d-addr { color: var(--ink-2); font-size: .92rem; }
.dist { display: grid; }
.dist li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.dist b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--gold-2); }
.dist span { color: var(--ink-2); text-align: right; }
.seq-note { font-size: .88rem; color: var(--ink-2); padding: .9rem 1rem; border-left: 2px solid var(--jungle-2); background: rgba(91,176,138,.06); border-radius: 0 10px 10px 0; }
.seq-note b { color: var(--ink); }

.d-gallery { display: grid; gap: .8rem; }
.dg-main { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-850); }
.dg-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.dg-main img.is-swapping { opacity: 0; }
.dg-main figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.2rem 1rem; font-size: .88rem; background: linear-gradient(0deg, rgba(6,16,29,.85), transparent); }
.dg-thumbs { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; scrollbar-color: var(--gold-3) transparent; }
.dg-thumbs button { flex: 0 0 auto; width: 118px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; opacity: .55; box-shadow: inset 0 0 0 1px var(--line); transition: opacity .3s, box-shadow .3s; }
.dg-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.dg-thumbs button:hover { opacity: .85; }
.dg-thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
.dg-note { font-size: .8rem; color: var(--mute); margin-top: .6rem; }

.pay { display: grid; gap: .7rem; margin-top: 1.6rem; counter-reset: p; }
.pay li { position: relative; padding: 1.2rem 1.2rem 1.2rem 1.3rem; border-radius: var(--r); background: rgba(6,16,29,.45); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .2rem; }
.pay li::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; background: var(--gold); border-radius: 2px; }
.pay b { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; color: var(--gold-2); line-height: 1; }
.pay span { font-weight: 600; font-size: .95rem; }
.pay small { color: var(--mute); font-size: .8rem; font-family: var(--mono); letter-spacing: .04em; }
.pay.road b { font-family: var(--mono); font-size: .9rem; color: var(--gold); }
.pay.road small { font-family: var(--sans); letter-spacing: 0; color: var(--ink-2); font-size: .85rem; }

.table-wrap { overflow-x: auto; margin-top: 1.4rem; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.d-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; min-width: 420px; }
.d-table th { text-align: left; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 500; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.d-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.d-table tr:last-child td { border-bottom: 0; }
.d-table tr.hl td { color: var(--ink); background: rgba(201,164,92,.08); }
.d-table td:last-child { color: var(--gold-2); font-family: var(--serif); font-size: 1.05rem; }

.mp { border-radius: var(--r-lg); background: var(--navy-850); box-shadow: inset 0 0 0 1px var(--line); padding: 1.4rem; display: grid; gap: 1.2rem; }
.mp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.mp-head .eyebrow + .h3 { margin-top: .6rem; }
.mp-frame { position: relative; border-radius: var(--r); overflow: hidden; background: #0b1a2c; aspect-ratio: 16 / 10; }
.mp-frame img { width: 100%; height: 100%; object-fit: contain; background: #f4efe4; }
.mp-frame.mp-empty { color: rgba(228,201,142,.3); background: radial-gradient(80% 90% at 60% 40%, rgba(47,125,94,.3), transparent 65%), var(--navy-900); }
.mp-frame.mp-empty svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-overlay { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; }
.mp-overlay span { padding: .7rem 1rem; border-radius: 12px; font-size: .86rem; background: rgba(6,16,29,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(201,164,92,.35); color: var(--ink); max-width: 46ch; }

.d-band { margin-top: clamp(3.5rem, 3rem + 3vw, 6rem); padding: 2rem 1.6rem; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(201,164,92,.16), rgba(47,125,94,.14)), var(--navy-850); box-shadow: inset 0 0 0 1px rgba(201,164,92,.35); display: grid; gap: 1.4rem; }
.d-band p { color: var(--ink-2); margin-top: .5rem; }
.d-band .d-cta { margin-top: 0; }
.d-legal { grid-column: 1 / -1; font-size: .78rem; color: var(--mute); }

@media (min-width: 540px) {
  .unit-pick.two { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .mini { grid-template-columns: .9fr 1.1fr; }
  .mini-img { min-height: 240px; }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .d-figures dl { grid-template-columns: repeat(3, 1fr); }
  .pay { grid-template-columns: repeat(3, 1fr); }
  .d-band { grid-template-columns: 1fr auto; align-items: center; padding: 2.4rem; }
  .mp { padding: 2rem; }
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: stretch; }
  .d-figures dl { grid-template-columns: repeat(6, 1fr); }
  .d-two { grid-template-columns: 1.3fr .9fr; gap: 4rem; }
  .pay { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .dg-thumbs button { width: 140px; }
  .section-head.split .filter-box { justify-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  .d-hero-img { animation: none; transform: none; }
  html.js .detail { animation: none !important; }
}
.feat-grid .proj:nth-child(2) { margin-top: 0; margin-bottom: 0; }
.feat-grid .proj-img { aspect-ratio: 4 / 3; }
.dg-main { max-height: 74vh; }
@media (min-width: 960px) {
  .d-figures dd { font-size: clamp(1.1rem, .8rem + .8vw, 1.6rem); }
}
.d-two > *, .d-section > *, .about-grid > * { min-width: 0; }

/* =============================================================
   15. Hero on short desktop screens (laptops): fit the stats row
   in the first view. Tall screens and mobile are unchanged.
   ============================================================= */
@media (min-width: 960px) and (max-height: 860px) {
  .hero { padding-top: 92px; }
  .hero-title { font-size: clamp(2.5rem, 1.3rem + 5.2vw, 5rem); margin: 1rem 0 1rem; }
  .profile-select { margin: 1.5rem 0 .8rem; }
  .hero-inner { padding-bottom: 1.6rem; }
  .hero-foot { padding-top: 1.1rem; padding-bottom: 1.4rem; }
}
@media (min-width: 960px) and (max-height: 760px) {
  .hero { padding-top: 84px; }
  .hero-title { font-size: clamp(2.5rem, 1.3rem + 5.2vw, 4.3rem); margin: .8rem 0 .8rem; }
  .hero-lead { font-size: 1.05rem; }
  .profile-select { margin: 1.2rem 0 .6rem; }
  .ps-card { padding-top: 1rem; padding-bottom: 1.05rem; }
  .hero-inner { padding-bottom: 1.2rem; }
  .hero-foot { padding-top: .9rem; padding-bottom: 1.1rem; }
}

/* Hero badge «Lombok · Indonesia»: nudged up slightly (visual only, layout unchanged) */
.hero-meta { position: relative; top: -10px; }

/* =============================================================
   16. Project selector as explanatory cards (Proyectos)
   ============================================================= */
.projects .section-head { display: grid; gap: 2rem; }
.picker { display: grid; gap: .9rem; }
.picker-ask { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.pick-cards { display: grid; gap: .8rem; }
.pick { position: relative; text-align: left; display: grid; gap: .3rem; align-content: start; padding: 1.3rem 3.6rem 1.35rem 1.4rem; border-radius: var(--r); background: rgba(242,236,223,.03); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); cursor: pointer; transition: box-shadow .45s var(--ease-out), background .45s, transform .45s var(--ease-out); }
.pick:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(201,164,92,.55); }
.pick.is-on { background: rgba(201,164,92,.08); box-shadow: inset 0 0 0 1.5px var(--gold); }
.pick-k { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pick-t { font-family: var(--serif); font-weight: 300; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); line-height: 1.15; }
.pick-d { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.pick-n { position: absolute; right: 1.1rem; top: 1.1rem; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .4s, color .4s, box-shadow .4s; }
.pick.is-on .pick-n { background: var(--gold); color: var(--navy-950); box-shadow: none; }
@media (min-width: 720px) {
  .pick-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
/* Card description uses the space under the number circle so it fits on one line */
.pick-d { margin-right: -2.4rem; }

/* Proyectos: a little less space above the section title */
.section.projects { padding-top: clamp(3.5rem, 3rem + 4vw, 7rem); }

/* =============================================================
   17. Experience strip (test): small cards that scroll sideways
   ============================================================= */
.exp-nav { display: flex; gap: .5rem; flex: none; }
.exp-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .4s var(--ease-out), color .4s, opacity .4s; }
.exp-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.exp-btn:hover:not(:disabled) { color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--gold); }
.exp-btn:disabled { opacity: .3; cursor: default; }
.exp-track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .2rem; }
.exp-track::-webkit-scrollbar { display: none; }
.exp-card { scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--navy-850); box-shadow: inset 0 0 0 1px var(--line); }
.exp-img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(120% 90% at 15% 0%, rgba(231,154,131,.16), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy-950)); }
.exp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exp-n { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2.6rem; color: var(--gold-2); opacity: .75; }
.exp-body { padding: .85rem 1rem 1rem; display: grid; gap: .25rem; }
.exp-body h5 { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; line-height: 1.25; }
.exp-body p { font-size: .8rem; color: var(--mute); }
@media (min-width: 720px) { .exp-track { grid-auto-columns: calc((100% - 3 * 14px) / 4); } }
@media (min-width: 1100px) { .exp-track { grid-auto-columns: calc((100% - 4 * 14px) / 5); } }

/* =============================================================
   18. Coming-soon card with several renders (crossfade)
   ============================================================= */
.mini-duo img { opacity: 0; transition: opacity 1.2s var(--ease-soft); }
.mini-duo img.is-on { opacity: 1; }
.duo-dots { position: absolute; right: .8rem; bottom: .95rem; display: flex; gap: 6px; }
.duo-dots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(242,236,223,.45); transition: width .4s var(--ease-out), background .4s; }
.duo-dots button.is-on { width: 18px; background: var(--gold-2); }
.duo-next { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(6,16,29,.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(242,236,223,.35); opacity: .7; transition: opacity .3s, background .3s; }
.duo-next:hover { opacity: 1; background: rgba(6,16,29,.55); }
.duo-next svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.exp-nav[hidden] { display: none; }
.exp-more a { display: grid; height: 100%; color: inherit; }
.exp-more { box-shadow: inset 0 0 0 1px rgba(201,164,92,.35); transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
.exp-more:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-3px); }
.exp-more .exp-img { background: radial-gradient(90% 80% at 50% 40%, rgba(201,164,92,.18), transparent 70%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.exp-plus { font-family: var(--serif); font-weight: 300; font-size: 3.4rem; line-height: 1; color: var(--gold-2); }
.exp-more .link-arrow { margin-top: .35rem; font-size: .82rem; }
.exp-mosaic { overflow: hidden; }
.exp-mosaic img { transition: transform .8s var(--ease-out); }
.exp-mosaic::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(6,16,29,.35), rgba(6,16,29,.6)); }
.exp-mosaic .exp-plus { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; line-height: 0; background: rgba(6,16,29,.28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: inset 0 0 0 1px rgba(228,201,142,.55); transition: transform .4s var(--ease-out); }
.exp-mosaic .exp-plus svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-2); stroke-width: 1.5; stroke-linecap: round; }
.exp-more:hover .exp-mosaic img { transform: scale(1.06); }
.exp-more:hover .exp-mosaic .exp-plus { transform: scale(1.08); }

/* =============================================================
   19. Calculator: Rentas Pasivas only (project · scenario · units)
   ============================================================= */
.unit.is-soon { cursor: default; opacity: .5; }
.unit.is-soon span { box-shadow: inset 0 0 0 1px var(--line); }
.unit small i { font-style: normal; white-space: nowrap; }
.scen-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.scen-opt { cursor: pointer; }
.scen-opt input { position: absolute; opacity: 0; pointer-events: none; }
.scen-opt span { display: grid; gap: .2rem; padding: .85rem .7rem; border-radius: 14px; text-align: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: all .4s var(--ease-out); }
.scen-opt b { font-weight: 600; font-size: .95rem; }
.scen-opt small { color: var(--mute); font-size: .72rem; line-height: 1.35; }
.scen-opt input:checked + span { box-shadow: inset 0 0 0 1.5px var(--gold); background: rgba(201,164,92,.08); }
.scen-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button { width: 46px; height: 46px; font-size: 1.35rem; color: var(--ink); border-radius: 50%; }
.qty button:hover { color: var(--gold-2); }
.qty input { width: 64px; text-align: center; background: transparent; border: 0; color: var(--ink); font-family: var(--serif); font-size: 1.5rem; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.scen-row { width: 100%; text-align: left; color: inherit; cursor: pointer; transition: box-shadow .3s, background .3s; }
.scen-row:hover { box-shadow: inset 0 0 0 1px rgba(201,164,92,.45); }
.scen-row.is-on { box-shadow: inset 0 0 0 1px var(--gold); }
.scen-h { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: .4rem 0 -.2rem; }
html.js[data-profile="invest"] .calc-result { display: none; }
.calc-consult { grid-column: 1 / -1; display: grid; gap: 1.1rem; justify-items: center; text-align: center; padding: 2.6rem 1.4rem; }
.calc-consult h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); max-width: 24ch; }
.calc-consult p { color: var(--ink-2); max-width: 56ch; }
.res-note { display: flex; align-items: center; gap: .55rem; font-size: .84rem; color: var(--ink-2); margin: .9rem 0 .2rem; }
.res-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* =============================================================
   20. Legal pages (#privacidad, #aviso-legal)
   ============================================================= */
html.js[data-route="privacidad"] .view-home, html.js[data-route="aviso-legal"] .view-home { display: none; }
html.js[data-route="privacidad"] .detail[data-view="privacidad"],
html.js[data-route="aviso-legal"] .detail[data-view="aviso-legal"] { display: block; animation: viewIn .7s var(--ease-out) both; }
.legal { padding: 8.5rem 0 4rem; }
.legal-inner { max-width: 820px; display: grid; gap: 1rem; }
.legal-title { margin-top: .2rem; }
.legal-date { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.legal-intro { color: var(--ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.65; margin-bottom: 1rem; }
.legal-sec { display: grid; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: .8rem; }
.legal-sec h2 { display: flex; align-items: baseline; gap: .8rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); }
.legal-sec h2 span { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--gold); }
.legal-sec p, .legal-sec li { color: var(--ink-2); line-height: 1.7; }
.legal-sec ul { display: grid; gap: .6rem; list-style: disc; padding-left: 1.1rem; }
.legal-sec li::marker { color: var(--gold); }
.legal-sec b { color: var(--ink); font-weight: 600; }
.legal-id { display: grid; gap: .55rem; }
.legal-id div { display: grid; grid-template-columns: 12.5rem 1fr; gap: 1rem; }
.legal-id dt { color: var(--mute); }
.legal-id dd { color: var(--ink); }
.legal-sec a, .check a, .chat-foot a, .qa-a a, .foot-legal a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.foot-right { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.6rem; }
.foot-contact { display: flex; gap: .6rem; }
.foot-contact a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s, box-shadow .3s; }
.foot-contact a:hover { background: var(--gold); color: var(--navy-950); box-shadow: none; }
.foot-contact .wa-ico { width: 17px; height: 17px; }
.foot-bottom a:hover { color: var(--gold-2); }
.tbd { display: inline-block; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--gold-2); border: 1px dashed rgba(228, 201, 142, .55); border-radius: 6px; padding: .1rem .45rem; }
@media (max-width: 600px) {
  .legal { padding-top: 7rem; }
  .legal-id div { grid-template-columns: 1fr; gap: .1rem; }
  .foot-bottom { flex-wrap: wrap; }
  .foot-legal-links { order: -1; width: 100%; }
}

/* =============================================================
   21. Phone with country prefix · contact card head · honeypot
   ============================================================= */
.field > .tel-wrap, .gate .tel-wrap { display: grid; grid-template-columns: 6.4rem 1fr; gap: .5rem; }
.tel-prefix { position: relative; display: block; }
.tel-wrap .tel-prefix select { width: 100%; height: 100%; padding: .9rem 2rem .9rem 1rem; border-radius: 12px; border: 1px solid var(--line-2); background-color: rgba(6,16,29,.55); background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; color: transparent; font-size: 1rem; cursor: pointer; -webkit-appearance: none; appearance: none; }
.tel-wrap .tel-prefix select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.18); }
.tel-wrap .tel-prefix select option { background: var(--navy-900); color: var(--ink); }
.tel-code { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 2rem 0 1rem; color: var(--ink); font-size: 1rem; pointer-events: none; }
.contact-head { display: grid; gap: 1rem; justify-items: start; margin-bottom: 1.4rem; }
.contact-head[hidden] { display: none; }
.contact-head h3 { font-family: var(--serif); font-size: 1.8rem; }
.contact-head .seg { margin-top: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Compact contact card: the whole form fits on a laptop screen without scrolling */
.contact-card .lead-form .fields { gap: .75rem; margin-bottom: .75rem; }
.contact-card .field { gap: .3rem; font-size: .82rem; }
.contact-card .field input:not([type="range"]), .contact-card .field select, .contact-card .field textarea { padding-top: .68rem; padding-bottom: .68rem; }
.contact-card .check { margin: .8rem 0 .9rem; font-size: .76rem; }
.contact-head { margin-bottom: 1.1rem; }
@media (min-width: 900px) {
  .contact-card { padding: 1.8rem 2rem; }
  .contact-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; }
  .contact-head h3 { font-size: 1.55rem; }
  .contact-head .seg button { padding: .5rem 1rem; font-size: .84rem; }
}

/* =============================================================
   22. Mobile review fixes
   ============================================================= */
/* Bigger tap area for the render dots without changing how they look */
.duo-dots button { position: relative; }
.duo-dots button::after { content: ""; position: absolute; inset: -10px -3px; }
@media (max-width: 600px) {
  /* Small mono labels were 9–10 px on phones */
  .ps-kicker { font-size: .66rem; }
  .hero-meta { font-size: .68rem; }
  .img-note, .qa-tag { font-size: .68rem; }
}
@media (max-width: 420px) {
  /* «11 Apartamentos» fits on one line, so both columns of the card figures stay aligned */
  .facts dd { font-size: 1.05rem; }
  .about-fig figcaption { flex-wrap: wrap; row-gap: .2rem; }
}

/* «Cómo funciona» fits in one laptop screen (≈1470×800): tighter head and shorter step cards */
@media (min-width: 900px) {
  .process .section-head { margin-bottom: 2.6rem; }
  .process .section-head .seg { margin-top: 1.4rem; }
  .process .process-lead { margin-top: 1.1rem; }
  .process .step { padding: 1.5rem 1.4rem 1.4rem; gap: .5rem; }
  .process .step-n { font-size: 2.3rem; }
  .process .step p { font-size: .9rem; line-height: 1.5; }
  .process .step h3 { font-size: 1.5rem; }
  .process .step::after { top: 2.55rem; right: 1.4rem; }
}

/* Calculator fits in one laptop screen: title on one line, tighter form, units and button on the same row */
@media (min-width: 900px) {
  .calc .section-head { margin-bottom: 1.6rem; }
  .calc .section-head.center .h2 { max-width: none; }
  .calc .section-head .seg { margin-top: 1rem; }
  .calc .calc-result { min-height: 0; }
  .calc .calc-form { grid-template-columns: auto 1fr; gap: 1rem 1.2rem; padding: 1rem .9rem; }
  .calc .calc-form > fieldset { grid-column: 1 / -1; }
  .calc .calc-form > fieldset:nth-of-type(3) { grid-column: 1; }
  .calc .calc-form > button[type="submit"] { grid-column: 2; align-self: end; min-height: 48px; padding-top: .8rem; padding-bottom: .8rem; }
  .calc .calc-form legend { margin-bottom: .55rem; }
  .calc .unit span { padding: .6rem 1rem; }
  .calc .calc-shell { padding: .9rem; }
  .calc .qty button { width: 42px; height: 42px; }
  .calc .scen-opt span { padding: .6rem .6rem; }
}

/* Project pages: six equal figure columns (symmetric) with «11 Apartamentos» on one line; thumbnails fit in one row */
@media (min-width: 960px) and (max-width: 1179px) {
  .d-figures dl { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1180px) {
  .d-figures dl { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .d-figures dl > div { padding-left: 1rem; padding-right: 1rem; }
  .d-figures dd { font-size: 1.3rem; }
}
/* Project pages: figures and payment cards centred and symmetric */
.d-figures dl > div { justify-items: center; text-align: center; }
.pay li { justify-items: center; align-content: start; text-align: center; padding: 1.5rem 1rem 1.4rem; }
.pay li::before { left: 50%; top: 0; bottom: auto; width: 32px; height: 2px; transform: translateX(-50%); }
/* Master plan not ready yet: «Próximamente» panel in place of the plan */
.mp-frame.mp-soon-frame { aspect-ratio: 16 / 6; display: grid; place-items: center; }
.mp-soon { position: relative; isolation: isolate; display: grid; gap: .8rem; justify-items: center; text-align: center; padding: 0 1.5rem; }
.mp-soon::before { content: ""; position: absolute; inset: -3rem -5rem; z-index: -1; background: radial-gradient(closest-side, rgba(10,23,41,.95), rgba(10,23,41,.75) 60%, transparent); }
.mp-soon-k { font-family: var(--mono); font-size: 1.2rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-2); }
.mp-soon-t { color: var(--ink-2); font-size: .95rem; max-width: 46ch; }
@media (max-width: 600px) { .mp-frame.mp-soon-frame { aspect-ratio: 4 / 3; } }
/* Nüa: the same plot drawing as its home card */
.mp-frame.mp-plot { aspect-ratio: 2 / 1; }
@media (max-width: 600px) { .mp-frame.mp-plot { aspect-ratio: 4 / 3; } }
@media (min-width: 601px) {
  .dg-thumbs { overflow-x: visible; }
  .dg-thumbs button { flex: 1 1 0; width: auto; min-width: 0; max-width: 170px; }
}
@media (max-width: 600px) {
  .dg-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); overflow-x: visible; }
  .dg-thumbs button { width: auto; }
}

/* Footer: room below the last row so the chat button never covers it */
.footer { padding-bottom: 7.5rem; }
/* Bottom row: © left · legal links centred · Lombok right */
@media (min-width: 601px) {
  .foot-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .foot-bottom > :last-child { justify-self: end; }
  .foot-legal-links { justify-content: center; }
}
/* B · WhatsApp button inside the phone menu */
.nav-drawer .drawer-cta { justify-self: start; margin-top: 1.2rem; font-family: var(--sans); font-size: 1rem; padding: .85rem 1.4rem; border-bottom: 0; gap: .6rem; }
@media (max-width: 600px) {
  /* A · Project selector: same three cards and texts, just more compact */
  .pick-cards { gap: .55rem; }
  .pick { gap: .15rem; padding: .85rem 3.2rem .9rem 1.1rem; }
  .pick-t { font-size: 1.3rem; }
  .pick-d { font-size: .86rem; }
  .pick-n { top: .8rem; right: .9rem; width: 28px; height: 28px; font-size: .74rem; }
  /* D · Darker photo behind the hero text so it reads well on phones */
  .hero-tint { background:
    linear-gradient(180deg, rgba(6,16,29,.62) 0%, rgba(6,16,29,.45) 30%, rgba(6,16,29,.62) 62%, rgba(6,16,29,.97) 100%),
    linear-gradient(90deg, rgba(6,16,29,.7) 0%, rgba(6,16,29,.35) 100%); }
}

/* =============================================================
   23. Nüa · illustrated map of the area (replaces its gallery)
   ============================================================= */
.am { display: grid; gap: .8rem; }
.am-frame { position: relative; margin: 0; width: 100%; aspect-ratio: 2 / 1; max-height: 74vh; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-950); box-shadow: inset 0 0 0 1px var(--line-2); }
.am-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.am-sea { fill: url(#am-sea-grad); }
.am-waves path { fill: none; stroke: rgba(228,201,142,.10); stroke-width: 1; }
.am-land { fill: #07121F; }
.am-contour { fill: none; stroke: rgba(228,201,142,.10); stroke-width: 1; }
.am-roads path { fill: none; stroke: rgba(242,236,223,.16); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.am-coast { fill: none; stroke: var(--gold-3); stroke-width: 1.4; stroke-linejoin: round; }
.am-rocks path { fill: #07121F; stroke: var(--gold-3); stroke-width: .8; }
.am-track { fill: none; stroke: var(--gold-2); stroke-width: 2.6; stroke-linejoin: round; }
.am-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 6 5; }
.am-nua text { font-family: var(--serif); font-size: 30px; fill: var(--ink); }
.am-nua .am-nua-sub { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; fill: var(--gold-2); }
.am-pin line { stroke: rgba(228,201,142,.55); stroke-width: 1; }
.am-dot { fill: var(--gold-2); }
.am-num circle { fill: var(--navy-950); stroke: var(--gold); stroke-width: 1.4; }
.am-num text { font-family: var(--mono); font-size: 14px; fill: var(--gold-2); }
.am-air path, .am-north path { fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.am-north text { font-family: var(--mono); font-size: 12px; fill: var(--gold-2); }
.am-ocean { font-family: var(--mono); font-size: 12px; letter-spacing: 6px; fill: rgba(228,201,142,.4); }
.am-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; font-size: .88rem; color: var(--ink-2); }
.am-legend li { display: flex; align-items: center; gap: .55rem; }
.am-legend b { flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--gold); font-family: var(--mono); font-weight: 400; font-size: .74rem; color: var(--gold-2); }
.am-legend .am-key-nua b { border-style: dashed; background: radial-gradient(circle, rgba(228,201,142,.45), transparent 70%); }
.am-credit { position: absolute; right: .9rem; bottom: .55rem; font-size: .62rem; color: rgba(242,236,223,.45); text-decoration: none; }
.am-credit:hover { color: var(--ink-2); }
@media (max-width: 600px) {
  /* Phones: the same map, with bigger numbers and labels so they stay readable */
  .am-frame { border-radius: var(--r); }
  .am-num, .am-nua text, .am-north { transform-box: fill-box; transform-origin: center; }
  .am-num { transform: scale(2); }
  .am-nua text { transform-origin: center bottom; transform: scale(1.7); }
  .am-nua .am-nua-sub { transform-origin: center top; transform: scale(1.8); }
  .am-north { transform: scale(1.6); }
  .am-legend { gap: .5rem 1rem; font-size: .82rem; }
}
