/* =========================================================
   Asaz Perú · sitio público
   ========================================================= */
:root {
  --navy-950: #00122b;
  --navy-900: #001c42;
  --navy-800: #002858;
  --navy-700: #0a3a76;
  --navy-600: #1d52a0;
  --navy-100: #e4ecf8;
  --navy-50: #f1f5fb;
  --gold-600: #b78b14;
  --gold-500: #d4a72c;
  --gold-400: #e4bb4a;
  --gold-200: #f3e0a3;
  --gold-100: #fbf2d3;
  --yellow: #ffe600;
  --ink: #0b1b33;
  --muted: #5a6b82;
  --line: #e1e8f1;
  --bg: #ffffff;
  --soft: #f5f8fc;
  --ok: #138a52;
  --err: #c0392b;
  --r: 18px;
  --shadow-sm: 0 1px 2px rgba(0, 28, 66, .06), 0 6px 18px rgba(0, 28, 66, .06);
  --shadow-md: 0 2px 4px rgba(0, 28, 66, .05), 0 18px 40px -12px rgba(0, 28, 66, .18);
  --shadow-lg: 0 30px 70px -24px rgba(0, 18, 43, .55);
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.02em; color: var(--navy-900); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.is-hidden { display: none !important; }
.hl { color: var(--gold-500); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 6px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-800); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 40, 88, .6); }
.btn-primary:hover { background: var(--navy-700); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-900); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 10px 26px -10px rgba(212, 167, 44, .9); }
.btn-gold:hover { background: var(--gold-400); }
.btn-ghost { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-ghost:hover { border-color: var(--navy-800); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(0, 28, 66, .35); }
.bar { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: .94rem; color: var(--navy-800); transition: background .2s, color .2s; }
.nav a:hover { background: var(--navy-50); }
.nav a.is-active { background: var(--navy-800); color: #fff; }
.nav-cta-mobile { display: none; }
.bar-cta { display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); align-items: center; justify-content: center; }
.burger .ic { width: 22px; height: 22px; }

@media (max-width: 1100px) { .bar-cta .btn-ghost { display: none; } }
@media (max-width: 960px) {
  .bar { height: 68px; }
  .bar-cta { display: none; }
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; background: #fff; padding: 14px 20px 22px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -24px rgba(0, 28, 66, .35); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .22s; margin: 0; max-height: calc(100vh - 68px); overflow: auto; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav-cta-mobile { display: grid; gap: 10px; margin-top: 10px; }
  .nav-cta-mobile .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; padding: 84px 0 0; background:
  radial-gradient(55% 70% at 88% 8%, rgba(212, 167, 44, .30), transparent 62%),
  radial-gradient(60% 70% at 0% 100%, rgba(29, 82, 160, .55), transparent 62%),
  linear-gradient(165deg, var(--navy-800), var(--navy-950)); overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-bottom: 72px; }
.hero h1, .page-hero h1 { color: #fff; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; margin: 18px 0 20px; }
.hero .lead, .page-hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.12rem; max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: var(--gold-200); font-size: .84rem; font-weight: 600; letter-spacing: .02em; }
.eyebrow.dark { background: rgba(0, 28, 66, .08); border-color: rgba(0, 28, 66, .15); color: var(--navy-800); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.levels { display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 500; }
.levels li { display: flex; align-items: center; gap: 7px; }
.levels .ic { color: var(--yellow); }

.hero-visual { position: relative; display: grid; gap: 14px; padding-top: 104px; width: 100%; max-width: 540px; margin-inline: auto; }
.hero-cap { position: absolute; width: 140px; height: auto; right: 9%; top: 0; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; z-index: 2; }
.glass { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 22px; box-shadow: var(--shadow-lg); }
.g-main { position: relative; padding: 22px; display: grid; gap: 14px; }
.g-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.g-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 230, 0, .2); }
.g-head small { margin-left: auto; color: rgba(255, 255, 255, .55); font-size: .75rem; }
.g-row { display: flex; align-items: center; justify-content: space-between; font-size: .92rem; color: rgba(255, 255, 255, .85); padding: 10px 12px; background: rgba(255, 255, 255, .07); border-radius: 12px; }
.g-row em { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #19b36b; color: #fff; }
.g-row em .ic { width: 14px; height: 14px; stroke-width: 3; }
.g-bar label { display: block; font-size: .8rem; color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.g-bar i { display: block; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .13); position: relative; overflow: hidden; }
.g-bar i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, var(--gold-500), var(--yellow)); animation: grow 1.4s .3s cubic-bezier(.2, .8, .2, 1) both; }
.g-floats { display: flex; flex-wrap: wrap; gap: 12px; }
.g-float { flex: 1 1 210px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.g-float .ic { width: 26px; height: 26px; color: var(--yellow); }
.g-float b { display: block; font-size: .92rem; font-family: var(--font-head); font-weight: 600; }
.g-float small { color: rgba(255, 255, 255, .65); font-size: .78rem; }
.g-note { color: rgba(255, 255, 255, .5); font-size: .75rem; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes grow { from { width: 0; } }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, .5); }
.stats div { padding: 26px 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border: 0; }
.stats b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--navy-800); line-height: 1; }
.stats span { color: var(--muted); font-size: .9rem; }

@media (max-width: 960px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 48px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .hero-visual { padding-top: 92px; }
  .hero-cap { width: 118px; right: 6%; }
  .g-float { flex-basis: 100%; }
  .stats div { padding: 20px 16px; }
  .stats b { font-size: 1.6rem; }
}

/* ---------- hero interior ---------- */
.page-hero { color: #fff; padding: 72px 0 64px; background:
  radial-gradient(50% 90% at 90% 0%, rgba(212, 167, 44, .26), transparent 60%),
  linear-gradient(165deg, var(--navy-800), var(--navy-950)); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; background: url('../img/icon.png') center/contain no-repeat; opacity: .07; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 16px 0 14px; max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }

/* ---------- secciones ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 40px 0 72px; }
.section.soft { background: var(--soft); }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.sec-head h2.h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.kicker { display: inline-block; font-family: var(--font-head); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin-bottom: 12px; }
.muted { color: var(--muted); }
.center-cta { text-align: center; margin-top: 40px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
a.card:hover, .card.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-200); }
.card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-800); flex: none; }
.ico .ic { width: 26px; height: 26px; }
.ico.gold { background: var(--gold-100); color: var(--gold-600); }
.ico.lg { width: 64px; height: 64px; border-radius: 18px; }
.ico.lg .ic { width: 32px; height: 32px; }
.area-card { display: flex; flex-direction: column; }
.area-card .ico { transition: background .25s, color .25s; }
.area-card:hover .ico { background: var(--navy-800); color: var(--gold-400); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 4px; }
.tags span { font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--navy-700); border: 1px solid var(--line); }
.tags .more { background: var(--gold-100); border-color: var(--gold-200); color: var(--gold-600); font-weight: 600; }
.link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--navy-800); font-weight: 600; font-size: .92rem; }
.link .ic { transition: transform .2s; }
a.card:hover .link .ic { transform: translateX(4px); }
.pillar .num { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--navy-100); }
.pillar.wide { display: flex; gap: 22px; align-items: flex-start; }
.pillar.wide h3 { margin-top: 4px; }

/* ---------- eventos ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy-800); font-weight: 600; font-size: .92rem; transition: .2s; }
.tab:hover { border-color: var(--navy-800); }
.tab.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.ev-card { display: flex; gap: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ev-card.is-hidden { display: none; }
.ev-date { flex: none; width: 66px; height: 78px; border-radius: 16px; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 10px 20px -10px rgba(0, 40, 88, .8); }
.ev-date b { font-family: var(--font-head); font-size: 1.7rem; }
.ev-date span { text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; color: var(--gold-400); margin-top: 5px; font-weight: 600; }
.ev-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ev-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ev-price { font-weight: 600; font-size: .85rem; color: var(--navy-800); background: var(--soft); padding: 4px 11px; border-radius: 999px; }
.ev-body h3 { font-size: 1.12rem; margin: 0 0 8px; }
.ev-body > p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.ev-meta { display: grid; gap: 6px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.ev-meta li { display: flex; align-items: center; gap: 8px; }
.ev-meta .ic { color: var(--gold-600); }
.ev-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--line); }
.seats { font-size: .82rem; color: var(--ok); font-weight: 600; }
.seats.low { color: var(--err); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.chip-charla { background: #e5f0ff; color: #1b5fb8; }
.chip-taller { background: var(--gold-100); color: var(--gold-600); }
.chip-conferencia { background: #ece6fb; color: #5a3fb0; }
.past { display: grid; gap: 10px; }
.past li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; flex-wrap: wrap; }
.past b { flex: 1; min-width: 200px; font-weight: 600; }
.past time { color: var(--muted); font-size: .88rem; }
.empty { text-align: center; padding: 56px 20px; border: 2px dashed var(--line); border-radius: var(--r); color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.empty .ic { width: 38px; height: 38px; color: var(--gold-500); }
@media (max-width: 480px) { .ev-card { flex-direction: column; } .ev-date { width: 72px; height: 72px; flex-direction: row; gap: 8px; width: auto; padding: 0 18px; align-self: flex-start; } .ev-date span { margin: 0; } }

/* ---------- catálogo ---------- */
.area-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.area-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--navy-800); transition: .2s; }
.area-jump a:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.area-list { display: grid; gap: 22px; }
.area-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.area-row:nth-child(even) { background: var(--soft); }
.area-info h2 { font-size: 1.6rem; margin: 20px 0 10px; }
.area-info p { color: var(--muted); margin-bottom: 22px; }
.area-courses h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin-bottom: 14px; }
.area-courses ul { display: grid; gap: 10px; }
.area-courses li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.area-courses li .ic { color: var(--gold-500); margin-top: 3px; width: 20px; height: 20px; }
.area-courses b { display: block; font-weight: 600; color: var(--navy-900); }
.area-courses li p { font-size: .88rem; color: var(--muted); }
.area-courses small { color: var(--muted); font-size: .8rem; }
.soon { display: flex; gap: 14px; align-items: center; padding: 22px; border: 2px dashed var(--line); border-radius: 16px; color: var(--muted); height: 100%; background: #fff; }
.soon .ic { color: var(--gold-500); width: 28px; height: 28px; }
@media (max-width: 860px) { .area-row { grid-template-columns: 1fr; padding: 24px; gap: 24px; } }

/* ---------- metodología ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.steps li h3 { font-size: 1.1rem; margin: 18px 0 8px; }
.steps li p { color: var(--muted); font-size: .94rem; }
.step-n { position: absolute; top: 20px; right: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- referidos ---------- */
.referral { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; padding: 56px; border-radius: 28px; background:
  radial-gradient(80% 120% at 100% 0%, rgba(255, 255, 255, .5), transparent 55%),
  linear-gradient(135deg, var(--gold-400), var(--gold-500)); position: relative; overflow: hidden; }
.referral h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 14px 0 12px; color: var(--navy-950); }
.referral p { color: var(--navy-900); max-width: 52ch; margin-bottom: 26px; font-size: 1.05rem; }
.ref-art { position: relative; height: 200px; }
.coin { position: absolute; width: 110px; height: 110px; border-radius: 50%; background: var(--navy-800); color: var(--yellow); display: grid; place-items: center; box-shadow: 0 20px 40px -14px rgba(0, 18, 43, .6), inset 0 0 0 6px rgba(255, 255, 255, .08); left: 20%; top: 28px; animation: float 6s ease-in-out infinite; }
.coin .ic { width: 46px; height: 46px; }
.coin.c2 { width: 80px; height: 80px; left: 62%; top: 0; background: var(--navy-700); animation-delay: .8s; }
.coin.c2 .ic { width: 34px; height: 34px; }
.coin.c3 { width: 60px; height: 60px; left: 56%; top: 120px; background: var(--navy-900); animation-delay: 1.6s; }
.coin.c3 .ic { width: 26px; height: 26px; }
@media (max-width: 860px) { .referral { grid-template-columns: 1fr; padding: 34px 26px; } .ref-art { display: none; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } .two-col.rev .form-card { order: -1; } }
.how { display: grid; gap: 18px; }
.how li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.how .step-n { position: static; flex: none; width: 40px; height: 40px; font-size: 1.05rem; }
.how h3 { font-size: 1.05rem; margin-bottom: 4px; }
.how p { color: var(--muted); font-size: .93rem; }

/* ---------- formularios ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-md); display: grid; gap: 16px; }
.form-card h3 { font-size: 1.35rem; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
legend { font-family: var(--font-head); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-600); padding: 0; margin-bottom: 4px; }
label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--navy-800); }
input, select, textarea { width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(29, 82, 160, .14); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } .form-card { padding: 24px 20px; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { font-size: .8rem; color: var(--muted); text-align: center; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: .92rem; font-weight: 500; }
.alert .ic { margin-top: 2px; width: 20px; height: 20px; }
.alert.ok { background: #e6f6ee; color: #0c6b3e; border: 1px solid #b7e4cd; }
.alert.err { background: #fdeceb; color: #9b2c20; border: 1px solid #f4c4be; }
#formulario.alert { margin-bottom: 26px; }
.form-msg:empty { display: none; }
.form-msg { padding: 12px 14px; border-radius: 12px; font-size: .9rem; font-weight: 500; }
.form-msg.ok { background: #e6f6ee; color: #0c6b3e; }
.form-msg.err { background: #fdeceb; color: #9b2c20; }
button[disabled] { opacity: .65; cursor: progress; }

.channels { display: grid; gap: 14px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: .25s; }
a.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-200); }
.channel small { display: block; color: var(--muted); font-size: .8rem; }
.channel b { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-900); word-break: break-word; }

/* ---------- modal ---------- */
.modal { border: 0; padding: 0; border-radius: 24px; width: min(460px, calc(100% - 28px)); box-shadow: 0 40px 90px -20px rgba(0, 18, 43, .6); }
.modal::backdrop { background: rgba(0, 18, 43, .6); backdrop-filter: blur(4px); }
.modal form { padding: 32px 30px; display: grid; gap: 14px; position: relative; }
.modal h3 { font-size: 1.35rem; padding-right: 36px; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy-800); }
.modal-x:hover { background: var(--soft); }

/* ---------- banners CTA ---------- */
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 52px 56px; border-radius: 28px; color: #fff; background:
  radial-gradient(60% 120% at 100% 0%, rgba(212, 167, 44, .35), transparent 60%),
  linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg); }
.cta-panel h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.cta-panel p { color: rgba(255, 255, 255, .75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) { .cta-panel { padding: 34px 24px; } }

/* ---------- pie ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 72px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 32ch; }
.muted-sm { font-size: .85rem; margin-top: 8px; color: rgba(255, 255, 255, .5); }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: .94rem; }
.site-footer a:hover { color: var(--gold-400); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ic { color: var(--gold-400); }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.social a { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: .82rem; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 1050px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px 13px 16px; border-radius: 999px; background: #1fb855; color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 14px 30px -10px rgba(31, 184, 85, .8); transition: transform .2s; }
.wa-fab:hover { transform: translateY(-3px) scale(1.03); }
.wa-fab .ic { width: 22px; height: 22px; }
@media (max-width: 560px) { .wa-fab span { display: none; } .wa-fab { padding: 15px; } }

/* ---------- animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- SEO: migas, FAQ, páginas de área ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.crumbs a { color: var(--gold-200); } .crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.slogan { color: var(--gold-200); font-family: var(--font-head); font-weight: 600; margin: -6px 0 14px; font-size: 1.1rem; }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: var(--gold-200); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--gold-600); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; color: var(--navy-800); font-size: .92rem; transition: .2s; }
.chips a:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.prose { max-width: 760px; color: var(--ink); font-size: 1.05rem; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-800); font-size: .9rem; margin-top: 12px; }

/* Botones largos: en móvil pueden pasar a dos líneas en lugar de salirse de la pantalla */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .btn-lg { padding: 14px 22px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
