/* Finmobil — sistema visual "atardecer"
   Paleta: azul noche, pizarra, violeta, lila, rosa y durazno sobre un cielo en degradado.
   Tipografía: Barlow (texto) y Barlow Semi Condensed (titulares y cifras).
   Retícula: tarjetas rectangulares de vidrio con bordes finos y celdas divididas por líneas. */

:root {
  --night: #1E2440;
  --slate: #2B3457;
  --dusk: #4A4F7E;
  --violet: #8B7FC0;
  --lilac: #B9A6D9;
  --rose: #D79AB4;
  --peach: #F0B79A;
  --peach-soft: #FBE3D6;
  --snow: #F4F1F6;
  --muted: rgba(244, 241, 246, 0.74);
  --faint: rgba(244, 241, 246, 0.55);
  --line: rgba(255, 255, 255, 0.22);
  --line-strong: rgba(255, 255, 255, 0.5);
  --glass: rgba(30, 36, 64, 0.38);
  --glass-2: rgba(30, 36, 64, 0.58);
  --radius: 4px;
  --wrap: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --text: "Barlow", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0; min-height: 100vh;
  color: var(--snow); background: transparent;
  font-family: var(--text); font-size: 17px; line-height: 1.55; letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}
/* Cielo fijo detrás de todo el sitio */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 80% 78%, rgba(240, 183, 154, 0.5), transparent 70%),
    radial-gradient(45% 40% at 22% 92%, rgba(215, 154, 180, 0.42), transparent 70%),
    radial-gradient(55% 45% at 60% 40%, rgba(139, 127, 192, 0.42), transparent 70%),
    linear-gradient(180deg, #1E2440 0%, #2B3457 35%, #4A4F7E 72%, #7A6A93 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--snow); margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* ---------- Etiquetas ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--peach); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.k { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius); font-size: 15px; border: 1px solid var(--line); background: var(--glass); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font: 600 17px/1 var(--text); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: rgba(244, 241, 246, 0.94); color: var(--night); }
.btn-light:hover { background: #FFFFFF; }
.btn-line { background: transparent; color: var(--snow); border-color: var(--line-strong); }
.btn-line:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Encabezado ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, box-shadow .4s; }
.header.scrolled, .header.menu-open { background: rgba(30, 36, 64, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--snow); }
.brand svg { width: 34px; height: 30px; }
.brand span { font-family: "Quicksand", sans-serif; font-weight: 600; font-size: 24px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; font-size: 16px; font-weight: 500; color: var(--snow); padding: 9px 13px; border-radius: var(--radius); transition: background .3s; }
.nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.12); }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 15px; margin-left: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: transparent;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: 8px;
}
.menu-btn span { width: 18px; height: 1.5px; background: var(--snow); transition: transform .3s var(--ease); }
.menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 4px max(20px, env(safe-area-inset-left, 0px)) 20px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 15px 2px; font-size: 19px; color: var(--snow); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (max-width: 1000px) { .nav a:not(.btn):not(.lang) { display: none; } .menu-btn { display: inline-flex; } }
.nav a.lang { display: inline-flex; align-items: center; min-height: 42px; padding: 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.nav a.lang:hover { color: var(--snow); }
@media (min-width: 1001px) { .mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 72px; }
.moon { position: absolute; width: 30px; height: 30px; border-radius: 50%; right: 6%; top: 118px; background: radial-gradient(circle at 40% 35%, #fff, #D9CFE2 60%, #A99AB9); box-shadow: 0 0 30px rgba(244,241,246,.35); }
.hero h1 {
  font-size: clamp(46px, 6.6vw, 96px); line-height: 0.98; max-width: 1100px; margin-bottom: 40px;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 45%, #E6D6EE 75%, #F6D9CC 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 20px; color: var(--muted); max-width: 720px; margin: -18px 0 36px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* Tarjetas de vidrio */
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  background: var(--glass); backdrop-filter: blur(24px) saturate(130%); -webkit-backdrop-filter: blur(24px) saturate(130%);
}
.card-dawn {
  border-color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(139,127,192,.55) 0%, rgba(185,166,217,.36) 40%, rgba(215,154,180,.44) 75%, rgba(240,183,154,.42) 100%);
}
.card-night { background: linear-gradient(180deg, rgba(43,52,87,.66), rgba(30,36,64,.56)); display: flex; flex-direction: column; gap: 14px; }
.card h2 { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.05; }
.card-night h2 { font-size: clamp(28px, 2.6vw, 34px); }
.card .sub { font-size: 19px; color: var(--muted); margin-top: 8px; }

/* ---------- Visor del simulador (en el hero) ---------- */
.amount { margin-top: 30px; }
.amount-line { display: flex; align-items: baseline; gap: 14px; margin-top: 4px; border-bottom: 1px solid var(--line-strong); padding-bottom: 6px; transition: border-color .3s; }
.amount-line:focus-within { border-bottom-color: var(--peach); }
.amount-line .cur { font-family: var(--display); font-size: clamp(30px, 4vw, 56px); font-weight: 600; color: var(--snow); }
#sim-monto {
  flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; padding: 0; color: var(--snow);
  font: 600 clamp(40px, 5.4vw, 72px)/1 var(--display); font-variant-numeric: tabular-nums;
}
#sim-monto:focus { outline: none; }

.controls { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 14px; margin-top: 26px; }
@media (max-width: 720px) { .controls { grid-template-columns: 1fr 1fr; } .controls .f-rate { grid-column: 1 / -1; order: -1; } }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.notch { position: relative; }
.notch > label, .notch > .label {
  position: absolute; top: -9px; left: 12px; z-index: 1; padding: 0 6px; font-size: 13px; line-height: 18px; color: var(--snow);
  background: linear-gradient(90deg, rgba(160,140,195,1), rgba(176,150,200,1)); border-radius: 2px;
}
.input {
  min-height: 52px; width: 100%; border-radius: var(--radius); border: 1.5px solid var(--line-strong); background: rgba(30, 36, 64, 0.18);
  padding: 0 14px; font: 500 17px var(--text); color: var(--snow); transition: border-color .3s, background .3s;
}
.input:focus { outline: none; border-color: #FFFFFF; background: rgba(30, 36, 64, 0.3); }
.input::placeholder { color: var(--faint); }
select.input option { color: #1E2440; background: #F4F1F6; }
#sim-tasa { border-color: rgba(255, 255, 255, 0.85); }
#sim-tasa.err { border-color: #FFB4A8; background: rgba(180, 35, 24, 0.25); }
input[type="range"] { width: 100%; accent-color: #FFFFFF; min-height: 22px; margin: 4px 0 0; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); }
.warn { color: #FFD1C8; font-size: 14px; font-weight: 500; }
.freq-group { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.freq {
  min-height: 40px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: transparent;
  color: var(--snow); font: 500 15px var(--text); cursor: pointer; transition: all .3s var(--ease);
}
.freq[aria-pressed="true"] { background: rgba(244, 241, 246, 0.94); border-color: transparent; color: var(--night); }

.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); margin-top: 24px; }
.cells > div { padding-top: 16px; min-width: 0; }
.cells > div + div { padding-left: 20px; border-left: 1px solid var(--line-strong); }
.cells .v { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cells .v.accent { color: var(--peach-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.hero-actions .link { color: var(--snow); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.card-night .mail { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; font-size: 17px; color: var(--muted); }
.card-night .mail a { color: var(--snow); font-weight: 600; text-decoration: none; }
.card-night ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 16px; }
.card-night li { display: flex; gap: 10px; }
.card-night li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--peach); flex: none; transform: translateY(10px); }
.note { margin-top: 14px; font-size: 14px; color: var(--faint); }

/* ---------- Franja reticular ---------- */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.strip > div { padding: 22px 24px; min-width: 0; }
.strip > div + div { border-left: 1px solid var(--line); }
.strip h3 { font-size: 22px; margin: 10px 0 6px; }
.strip p { font-size: 15px; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) {
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip > div:nth-child(3) { border-left: 0; }
  .strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Secciones ---------- */
.section { padding: 112px 0; position: relative; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; }
.section-head p { font-size: 19px; color: var(--muted); max-width: 660px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.grid-3 > article { padding: 30px; display: flex; flex-direction: column; gap: 24px; justify-content: space-between; min-height: 260px; }
.grid-3 > article + article { border-left: 1px solid var(--line); }
.grid-3 h3 { font-size: 30px; line-height: 1.05; }
.grid-3 p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > article { min-height: 0; }
  .grid-3 > article + article { border-left: 0; border-top: 1px solid var(--line); }
}

/* Cómo funciona */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: stretch; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }
.flow-visual {
  position: relative; overflow: hidden; min-height: 320px; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139,127,192,.6), rgba(215,154,180,.45) 60%, rgba(240,183,154,.5));
}
.flow-num { position: absolute; left: 28px; bottom: 6px; font-family: var(--display); font-weight: 600; font-size: 180px; line-height: 1; color: rgba(255,255,255,.28); }
.flow-visual svg { position: absolute; right: 30px; top: 30px; width: 120px; height: 104px; opacity: .85; }
.flow-card { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.flow-panel h3 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 12px; }
.flow-panel p { font-size: 18px; color: var(--muted); max-width: 540px; }
.flow-panel .fade { animation: fadeUp .7s var(--ease); }
.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 12px 4px 0; min-height: 64px;
  background: transparent; border: 0; border-top: 2px solid transparent; margin-top: -1px; color: var(--faint);
  font: 500 15px var(--text); text-align: left; cursor: pointer; transition: color .3s, border-color .3s;
}
.step-btn .n { font-size: 12px; letter-spacing: .12em; }
.step-btn[aria-selected="true"] { color: var(--snow); border-top-color: var(--peach); }
.step-progress { height: 2px; background: var(--line); overflow: hidden; }
.step-progress span { display: block; height: 100%; width: 0; background: var(--peach); }
.step-progress span.run { animation: progress 6s linear forwards; }
@keyframes progress { to { width: 100%; } }
@media (max-width: 560px) { .stepper { grid-template-columns: 1fr 1fr; } .step-btn { min-height: 56px; } }

/* Estructura y riesgos: filas */
.rows { border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.rows > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; padding: 24px 28px; align-items: baseline; }
.rows > div + div { border-top: 1px solid var(--line); }
.rows h3 { font-size: 24px; }
.rows p { color: var(--muted); }
@media (max-width: 720px) { .rows > div { grid-template-columns: 1fr; gap: 6px; padding: 20px; } }

/* Inversionistas y términos */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 18px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.terms > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.terms > div span:first-child { color: var(--muted); }
.terms > div span:last-child { font-weight: 600; text-align: right; }
.terms small { display: block; margin-top: 14px; color: var(--faint); font-size: 14px; }

/* Calendario */
.schedule-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.schedule-head h3 { font-size: 26px; }
.schedule-head span { font-size: 15px; color: var(--muted); }
#sched-wrap { max-height: 360px; overflow: auto; position: relative; }
.row, .row-head, .row-total { display: grid; grid-template-columns: minmax(56px, 0.7fr) repeat(4, minmax(90px, 1fr)); gap: 10px; font-variant-numeric: tabular-nums; }
.row-head { position: sticky; top: 0; z-index: 1; background: #2E3459; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line-strong); }
.row { font-size: 16px; border-bottom: 1px solid var(--line); }
.row-total { position: sticky; bottom: 0; background: #4B4C78; font-size: 16px; font-weight: 600; margin-top: 6px; border-radius: 2px; }
.row span, .row-head span, .row-total span { padding: 10px 0; text-align: right; }
.row span:first-child, .row-head span:first-child, .row-total span:first-child { text-align: left; }
.row-total span:first-child { padding-left: 10px; }
.row span:nth-child(4) { font-weight: 600; }
.row span:nth-child(5) { color: var(--muted); }
.disclaimer { margin-top: 16px; font-size: 14px; color: var(--faint); max-width: 900px; }
@media (max-width: 560px) {
  .row, .row-head, .row-total { grid-template-columns: minmax(48px, 0.6fr) repeat(3, minmax(0, 1fr)); gap: 6px; }
  .row span:nth-child(3), .row-head span:nth-child(3), .row-total span:nth-child(3) { display: none; }
  .row, .row-total { font-size: 14px; }
}

/* Originadores */
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--muted); }
.checks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); flex: none; transform: translateY(10px); }
.hint { border-top: 1px solid var(--line); padding-top: 16px; font-size: 16px; color: var(--muted); }
.hint strong { display: block; color: var(--snow); font-weight: 600; margin-bottom: 4px; }

/* Aliados: tarjetas de vidrio con logos en blanco */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.partner { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 168px; padding: 26px; }
.partner-mark { min-height: 48px; display: flex; align-items: center; }
.partner-mark img { width: auto; max-width: 100%; }
.partner .bc { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.1; color: var(--snow); }
.partner .bc img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.partner .k { border-top: 1px solid var(--line); padding-top: 14px; }
.partner > .k, .partner-foot { min-height: 58px; }
.partner-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.partner-foot .k { border-top: 0; padding-top: 0; }
.li-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 13px; font-weight: 600; color: var(--snow); text-decoration: none; white-space: nowrap; transition: background .3s; }
.li-btn:hover { background: rgba(255, 255, 255, 0.1); }
@media (max-width: 560px) { .partner-foot { flex-direction: column; align-items: flex-start; gap: 10px; } .li-btn { min-height: 40px; } }
.partner .person { gap: 14px; }
.partner .person h3 { font-size: 21px; line-height: 1.1; }
.partner .person p { color: var(--muted); font-size: 15px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 19px; background: linear-gradient(135deg, var(--violet), var(--rose)); }
@media (max-width: 980px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.partners.team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partners.team .partner { min-height: 150px; }
.partners.team .partner-foot { min-height: 0; justify-content: flex-start; }
@media (max-width: 860px) { .partners.team { grid-template-columns: 1fr; } .partners.team .partner { min-height: 0; } }
@media (max-width: 560px) {
  .partners { gap: 12px; }
  .partner { min-height: 140px; padding: 18px 16px; gap: 16px; }
  .partner .bc { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 17px; }
  .partner-mark img { max-height: 20px; }
  .partner .person { flex-direction: column; align-items: flex-start; gap: 8px; }
  .partner .person h3 { font-size: 17px; }
  .avatar { width: 40px; height: 40px; font-size: 16px; }
}

/* Contacto */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 18px; align-items: start; }
.contact h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1; }
.contact .lead { font-size: 19px; color: var(--muted); margin-top: 18px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 22px; }
.form .notch > label { background: #6E6A9E; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--peach); }
.check a { color: var(--snow); font-weight: 600; }
.form small { color: var(--faint); font-size: 14px; line-height: 1.5; }

/* Pie */
.footer { position: relative; padding: 80px 0 40px; }
.footer .big { font-family: "Quicksand", sans-serif; font-weight: 600; font-size: clamp(76px, 18vw, 260px); line-height: .9; letter-spacing: -0.03em; text-align: center; color: rgba(244, 241, 246, 0.92); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-row a { color: var(--snow); text-decoration: none; }
.footer-row a:hover { color: var(--peach-soft); }
.legal-note { margin-top: 18px; font-size: 14px; color: var(--faint); max-width: 920px; }

/* Apariciones */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Móvil ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .header .wrap { min-height: 64px; }
  .brand span { font-size: 21px; }
  .nav .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .hero { padding: 104px 0 48px; }
  .moon { top: 70px; right: 18px; width: 18px; height: 18px; }
  .hero h1 { font-size: 46px; margin-bottom: 28px; }
  .hero-lead { font-size: 17px; margin: -10px 0 26px; }
  .card { padding: 22px 18px; }
  .card .sub { font-size: 17px; }
  .cells { grid-template-columns: 1fr 1fr; }
  .cells > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); margin-top: 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .strip > div { padding: 18px 16px; }
  .strip h3 { font-size: 19px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 36px; }
  .section-head p { font-size: 17px; }
  .grid-3 > article { padding: 22px 18px; gap: 14px; }
  .grid-3 h3 { font-size: 26px; }
  .flow-visual { min-height: 200px; }
  .flow-num { font-size: 120px; }
  .flow-visual svg { width: 80px; height: 70px; right: 20px; top: 20px; }
  .flow-panel h3 { font-size: 30px; }
  .flow-panel p { font-size: 16px; }
  .terms > div { flex-direction: column; gap: 2px; }
  .terms > div span:last-child { text-align: left; }
  .contact h2 { font-size: 40px; }
  .footer { padding: 56px 0 32px; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Nosotros */
.about-strip { margin: 0 0 72px; }
.about-strip h3 { font-size: 20px; line-height: 1.2; }

/* Acceso al simulador: declaración de inversionista profesional */
[data-gate] { position: relative; }
[data-gate].locked { min-height: 380px; }
[data-gate].locked > :not(.gate) { filter: blur(8px); opacity: .5; pointer-events: none; user-select: none; }
.gate { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: center; padding: 56px 20px 20px; }
.gate-box { max-width: 440px; display: flex; flex-direction: column; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(30, 36, 64, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(10, 12, 30, .45); }
.gate-box h3 { font-size: 22px; line-height: 1.2; }
.gate-box .btn { align-self: flex-start; }
.gate-box .btn[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 560px) { .gate { padding: 28px 12px 12px; } .gate-box { padding: 20px; } }

/* Aliados (3) y equipo regional (4) */
.partners.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .partners.trio { grid-template-columns: 1fr; } .partners.trio .partner { min-height: 0; } }
