/* Asesores KG — rediseño 2026
   Inspiración: Insuria (Dribbble), Evolve Private Wealth y Hark Capital (Awwwards). */

:root {
  --navy: #0b2a5b;
  --brand: #0c407c;
  --blue: #2f6fd0;
  --sky: #4989dc;
  --sky-2: #8fbdf0;
  --steel: #4c76a9;
  --ink: #131b2e;
  --ink-2: #4a5873;
  --bg: #ffffff;
  --soft: #f3f6fa;
  --line: #e3e9f0;
  --amber: #f2a541;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --gut: clamp(20px, 5vw, 80px);
  --max: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Instrument Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; position: relative; z-index: 1; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--sans); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease), border-color .3s; }
.btn .arr { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { box-shadow: 0 10px 30px -10px rgb(255 255 255 / .7); }
.btn--ghost { color: #fff; border-color: rgb(255 255 255 / .55); backdrop-filter: blur(8px); background: rgb(255 255 255 / .08); }
.btn--ghost:hover { background: rgb(255 255 255 / .2); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--navy); box-shadow: 0 12px 30px -12px rgb(12 64 124 / .7); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--brand); }
.btn--block { width: 100%; height: 54px; }

/* ---------- etiquetas ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--brand); margin-bottom: 18px; }
.eyebrow--light { color: var(--sky-2); }
.eyebrow--light-plain { color: rgb(255 255 255 / .9); letter-spacing: .02em; }
.eyebrow--light-plain::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--glass, .chip--glass { color: #fff; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .16);
  border: 1px solid rgb(255 255 255 / .3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5df2a4; box-shadow: 0 0 0 0 rgb(93 242 164 / .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgb(93 242 164 / 0); } 100% { box-shadow: 0 0 0 0 rgb(93 242 164 / 0); } }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 16px; left: 50%; translate: -50% 0; width: min(100% - 32px, 1380px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 24px; border-radius: 999px;
  transition: background .4s, box-shadow .4s, top .4s var(--ease); }
.nav__logo { position: relative; height: 40px; }
.nav__logo img { height: 40px; width: auto; transition: opacity .3s; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav__pill { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgb(255 255 255 / .14);
  border: 1px solid rgb(255 255 255 / .25); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav__pill a { color: #fff; font-size: 15px; font-weight: 500; padding: 9px 18px; border-radius: 999px; transition: background .3s, color .3s; }
.nav__pill a:hover, .nav__pill a.is-active { background: rgb(255 255 255 / .22); }
.nav.is-scrolled { top: 10px; background: rgb(255 255 255 / .85); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px -18px rgb(11 42 91 / .35), inset 0 0 0 1px rgb(11 42 91 / .06); }
.nav.is-scrolled .logo-light { opacity: 0; }
.nav.is-scrolled .logo-dark { opacity: 1; }
.nav.is-scrolled .nav__pill { background: var(--soft); border-color: transparent; }
.nav.is-scrolled .nav__pill a { color: var(--ink); }
.nav.is-scrolled .nav__pill a:hover, .nav.is-scrolled .nav__pill a.is-active { background: #fff; color: var(--brand); box-shadow: 0 2px 10px -4px rgb(11 42 91 / .25); }
.nav.is-scrolled .nav__cta { background: var(--brand); color: #fff; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--navy); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 96px 28px 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.sheet a:not(.btn) { color: #fff; font-size: 34px; font-weight: 500; letter-spacing: -.02em; padding: 8px 0; border-bottom: 1px solid rgb(255 255 255 / .12); }
.sheet .btn { margin-top: 24px; height: 56px; font-size: 17px; background: #fff; color: var(--navy); }
.sheet.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }

/* ---------- hero ---------- */
.hero { padding: 10px; height: 100svh; min-height: 680px; }
.hero__frame { position: relative; height: 100%; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 20% 10%, #6ea6e6 0%, #3f80d4 40%, #1f5bb0 80%, #17479a 100%); }
.hero__frame::before { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; left: -25vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / .22), transparent 60%); animation: float 16s ease-in-out infinite; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 112%; object-fit: cover; object-position: 62% 45%; z-index: -2;
  transform: translate3d(0, var(--py, 0px), 0); animation: heroZoom 2.4s var(--ease) both; will-change: transform; }
@keyframes heroZoom { from { scale: 1.1; } to { scale: 1; } }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(24 78 160 / .78) 0%, rgb(40 105 190 / .45) 32%, rgb(60 130 210 / 0) 58%),
              linear-gradient(0deg, rgb(11 42 91 / .45) 0%, transparent 30%); }
.hero__content { position: absolute; left: clamp(24px, 6vw, 96px); top: 50%; translate: 0 -58%; max-width: 640px; color: #fff; }
.hero__title { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; font-weight: 500; letter-spacing: -.045em; margin-bottom: 26px; }
.hero__title em { color: #fff; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgb(255 255 255 / .86); max-width: 520px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cards { position: absolute; right: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 190px); gap: 14px; }
.glass { padding: 20px; border-radius: 20px; color: #fff; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .28);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); transition: transform .5s var(--ease), background .4s; }
.glass:hover { transform: translateY(-6px); background: rgb(255 255 255 / .22); }
.glass__big { font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.glass__small { font-size: 13.5px; color: rgb(255 255 255 / .85); line-height: 1.35; }
.bars { display: flex; gap: 3px; height: 26px; align-items: flex-end; margin: 14px 0 12px; }
.bars i { flex: 1; border-radius: 2px; background: rgb(255 255 255 / .85); height: 100%; transform-origin: bottom; animation: bar 1.6s var(--ease) both; }
.bars i:nth-child(n+13) { background: rgb(255 255 255 / .3); }
.bars i:nth-child(odd) { animation-delay: 1.2s; } .bars i:nth-child(even) { animation-delay: 1.35s; }
@keyframes bar { from { transform: scaleY(.1); } }
.wave { width: 100%; height: 30px; margin: 12px 0 10px; }
.wave path { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2s 1.3s var(--ease) forwards; }
.wave circle { fill: #fff; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stars { margin: 14px 0 12px; font-size: 18px; letter-spacing: 3px; color: var(--amber); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgb(255 255 255 / .6); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* palabras del titular */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); animation: up 1s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .06s); }
@keyframes up { to { transform: none; } }

/* ---------- secciones ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--soft { background: var(--soft); }
.head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.head__note { max-width: 380px; color: var(--ink-2); font-size: 18px; }
h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; font-weight: 500; letter-spacing: -.04em; color: var(--ink); }
h2 em { color: var(--brand); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgb(11 42 91 / .45); }
.tile h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; font-weight: 500; letter-spacing: -.03em; }
.tile p { color: var(--ink-2); margin-top: 10px; }
.tile--a { grid-column: span 7; grid-row: span 2; }
.tile--b { grid-column: span 5; }
.tile--c { grid-column: span 5; }
.tile--d { grid-column: span 5; }
.tile--e { grid-column: span 7; }
.tile--photo { color: #fff; justify-content: flex-end; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(8 30 68 / .85), rgb(8 30 68 / .15) 55%, transparent); }
.tile--photo:hover img { transform: scale(1.06); }
.tile__over { display: grid; gap: 14px; justify-items: start; max-width: 520px; }
.tile__over h3 { padding-right: 60px; }
.round-arrow { position: absolute; right: 26px; bottom: 26px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: #fff; color: var(--navy); transition: transform .5s var(--ease), background .3s; }
.tile:hover .round-arrow { transform: rotate(-45deg); background: var(--amber); }
.tile--blue { color: #fff; justify-content: space-between; background: linear-gradient(140deg, var(--sky) 0%, var(--brand) 100%); }
.tile--blue h3 { max-width: 420px; }
.tile--light { background: var(--soft); justify-content: flex-end; }
.orb { position: absolute; z-index: -1; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #bfe0ff, var(--sky) 45%, transparent 70%); opacity: .7; animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-30px, 30px) scale(1.1); } }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: 0 6px 20px -10px rgb(11 42 91 / .35); }
.ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ico--big { position: absolute; top: 28px; left: 30px; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(150deg, #fff, #e7f0fb); }
.ico--big svg { width: 34px; height: 34px; }

/* luz que sigue al cursor */
.spot { --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(255 255 255 / .22), transparent 45%); }
.spot:hover::before { opacity: 1; }
.tile--light.spot::before, .step.spot::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgb(73 137 220 / .16), transparent 45%); }

/* ---------- seguros (story) ---------- */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__media { position: sticky; top: 110px; }
.story__frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - 140px); width: 100%; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); }
.story__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.story__frame img.is-on { opacity: 1; transform: none; }
.story__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 30 68 / .45), transparent 30%, transparent 70%, rgb(8 30 68 / .45)); }
.story__tag { position: absolute; z-index: 2; top: 22px; left: 22px; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500;
  padding: 10px 18px; border-radius: 999px; background: rgb(255 255 255 / .18); backdrop-filter: blur(14px); border: 1px solid rgb(255 255 255 / .3); }
.story__dots { position: absolute; z-index: 2; bottom: 24px; left: 24px; display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.story__dots li { width: 26px; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .4); transition: width .5s var(--ease), background .4s; }
.story__dots li.is-on { width: 56px; background: #fff; }
.story__list { display: grid; gap: 22vh; padding: 6vh 0 16vh; }
.plan { position: relative; padding: 36px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); opacity: .45; transform: scale(.97);
  transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease); }
.plan.is-on { opacity: 1; transform: none; box-shadow: 0 30px 60px -36px rgb(11 42 91 / .4); }
.plan__pic { display: none; }
.plan__num { position: absolute; right: 30px; top: 26px; font: italic 400 54px/1 var(--serif); color: var(--sky-2); }
.plan h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; margin: 22px 0 14px; }
.plan p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.ticks li { font-size: 14px; font-weight: 500; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--soft); color: var(--brand); }
.ticks li::before { content: "✓ "; color: var(--sky); }

/* ---------- pasos ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps__line { position: absolute; left: 0; right: 0; top: 52px; height: 2px; background: var(--line); }
.steps__line span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--sky), var(--brand)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; overflow: hidden; padding: 0 32px 36px 0; border-radius: var(--r-lg); background: transparent; }
.step__n { position: relative; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; margin-bottom: 30px;
  font: italic 400 46px/1 var(--serif); color: #fff; background: linear-gradient(140deg, var(--sky), var(--brand)); box-shadow: 0 0 0 10px #fff; }
.step h3 { font-size: clamp(24px, 2.1vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 12px; max-width: 320px; }
.step p { color: var(--ink-2); max-width: 340px; }

/* ---------- nosotros ---------- */
.section--navy { background: var(--navy); color: #fff; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.glow--1 { width: 520px; height: 520px; background: var(--sky); left: -160px; top: -120px; animation: float 14s ease-in-out infinite; }
.glow--2 { width: 420px; height: 420px; background: #2a5fb8; right: -120px; bottom: -80px; animation: float 11s ease-in-out infinite reverse; }
.reveal-text { font-size: clamp(30px, 4.2vw, 62px); line-height: 1.12; font-weight: 500; letter-spacing: -.035em; max-width: 1180px; }
.reveal-text .rw { color: rgb(255 255 255 / .18); transition: color .35s; }
.reveal-text .rw.on { color: #fff; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: clamp(60px, 8vw, 110px); }
.value { position: relative; overflow: hidden; padding: 26px 22px 28px; border-radius: 20px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12);
  transition: transform .5s var(--ease), background .4s; }
.value:hover { transform: translateY(-6px); background: rgb(255 255 255 / .12); }
.value span { font: italic 400 28px/1 var(--serif); color: var(--sky-2); }
.value h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; margin: 34px 0 8px; }
.value p { font-size: 15px; color: rgb(255 255 255 / .72); line-height: 1.45; }

/* ---------- únete ---------- */
.join { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(135deg, #eaf2fc, #f6f9fd); }
.join__media { position: relative; min-height: 460px; }
.join__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.join__chip { position: absolute; left: 22px; bottom: 22px; }
.join__body { padding: clamp(32px, 5vw, 72px); align-self: center; }
.join__body h2 { font-size: clamp(34px, 3.8vw, 56px); margin-bottom: 18px; }
.join__body > p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 30px; max-width: 520px; }
.form-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-inline input:first-child { grid-column: 1 / -1; }
.form-inline .btn { grid-column: 1 / -1; height: 54px; }
input, select { width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: 400 16px var(--sans); color: var(--ink);
  transition: border-color .3s, box-shadow .3s; }
select { appearance: none; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230c407c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center; }
input:focus, select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgb(73 137 220 / .18); }

/* ---------- cotizar ---------- */
.cta { padding: 10px; }
.cta__frame { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); background: var(--brand); }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; z-index: -2; transform: scaleX(-1); }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(8 30 68 / .85) 10%, rgb(12 64 124 / .5) 50%, rgb(73 137 220 / .15)); }
.cta__grid { display: grid; grid-template-columns: 1fr 460px; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: var(--max); margin: 0 auto; }
.cta__copy { color: #fff; }
.cta__copy h2 { color: #fff; margin-bottom: 20px; }
.cta__copy h2 em { color: var(--sky-2); }
.cta__copy > p:not(.eyebrow) { color: rgb(255 255 255 / .85); font-size: 19px; max-width: 460px; }
.quote { display: grid; gap: 14px; padding: 32px; border-radius: 28px; background: rgb(255 255 255 / .92); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .5); }
.quote__title { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 4px; }
.quote label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; transition: all .3s var(--ease); }
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.quote__fine { font-size: 13px; color: var(--ink-2); text-align: center; }
.quote__fine a { text-decoration: underline; }

/* ---------- estados de formulario ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { grid-column: 1 / -1; }
.cf-turnstile:empty { display: none; }
.form-msg { grid-column: 1 / -1; font-size: 14.5px; font-weight: 500; text-align: center; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: #12784a; }
.form-msg.is-error { color: #b42318; }
[data-form].is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
[data-form].is-sending button[type="submit"] .arr { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { grid-column: 1 / -1; text-align: center; padding: 24px 8px; }
.form-done__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; background: linear-gradient(140deg, var(--sky), var(--brand)); animation: pop .6s var(--ease) both; }
.form-done h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 8px; }
.form-done p { color: var(--ink-2); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- footer ---------- */
.footer { background: var(--steel); color: #fff; margin-top: 10px; padding-top: clamp(60px, 8vw, 100px); overflow: hidden; position: relative; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__logo { height: 54px; width: auto; margin-bottom: 18px; }
.footer__claim { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 88px); }
.footer__cols h4 { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: rgb(255 255 255 / .65); }
.footer__cols a { display: block; padding: 4px 0; color: #fff; position: relative; width: fit-content; }
.footer__cols a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.footer__cols a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__legal { margin-top: 56px; font-size: 13.5px; color: rgb(255 255 255 / .7); }
.footer__word { font-size: 17.5vw; line-height: .78; font-weight: 600; letter-spacing: -.06em; white-space: nowrap; text-align: center; margin-top: 20px;
  background: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / .02)); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(14%); }

/* ---------- animación al entrar ---------- */
.js [data-anim] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-anim].in { opacity: 1; transform: none; }
.hero [data-anim] { transition-duration: 1.1s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__cards { grid-template-columns: repeat(3, 1fr); left: clamp(20px, 4vw, 56px); }
  .hero__content { top: 40%; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .cta__grid { grid-template-columns: 1fr; }
  .quote { max-width: 560px; }
}
@media (max-width: 900px) {
  .nav__pill, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { padding: 8px 8px 8px 20px; }
  .head--row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .bento { grid-auto-rows: 230px; }
  .tile--a { grid-column: span 12; }
  .tile--b, .tile--c, .tile--d { grid-column: span 6; }
  .tile--b { grid-column: span 12; }
  .tile--e { grid-column: span 12; }
  .story { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .story__list { gap: 20px; padding: 0; }
  .plan { opacity: 1; transform: none; padding: 0 0 28px; overflow: hidden; }
  .plan__pic { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 4px; }
  .plan > :not(.plan__pic):not(.plan__num) { margin-left: 24px; margin-right: 24px; }
  .plan .ico { margin-top: -26px; position: relative; }
  .plan__num { top: 16px; right: 20px; color: #fff; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps__line { left: 52px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps__line span { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 104px 1fr; column-gap: 24px; padding: 0; }
  .step__n { grid-row: span 2; margin: 0; }
  .join { grid-template-columns: 1fr; }
  .join__media { min-height: 300px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { height: auto; min-height: 100svh; }
  .hero__frame { min-height: calc(100svh - 20px); display: flex; flex-direction: column; justify-content: flex-end; padding: 110px 20px 20px; }
  .hero__content { position: relative; left: auto; top: auto; translate: none; }
  .hero__img { height: 100%; object-position: 68% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgb(11 42 91 / .9) 0%, rgb(24 78 160 / .55) 50%, rgb(40 105 190 / .1) 80%); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__cards { position: relative; right: auto; bottom: auto; left: auto; margin-top: 28px; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .glass { padding: 12px; border-radius: 16px; }
  .glass__big { font-size: 17px; }
  .glass__small { font-size: 11.5px; }
  .bars, .wave, .stars { display: none; }
  .hero__scroll { display: none; }
  .tile--c, .tile--d { grid-column: span 12; }
  .bento { grid-auto-rows: minmax(220px, auto); }
  .tile--a { grid-row: span 1; min-height: 380px; }
  .tile { padding: 24px; }
  .ico--big { top: 24px; left: 24px; }
  .step { grid-template-columns: 72px 1fr; }
  .step__n { width: 72px; height: 72px; font-size: 32px; }
  .steps__line { left: 36px; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:last-child { grid-column: span 2; }
  .form-inline, .quote__row { grid-template-columns: 1fr; }
  .quote { padding: 22px; }
  .footer__cols { flex-wrap: wrap; gap: 32px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-anim] { opacity: 1; transform: none; }
  [data-split] .w > span { transform: none; }
}
[data-form] [hidden] { display: none !important; }
