:root {
  --white: #ffffff;
  --paper: #f6f7fa;
  --navy: #0b1b52;
  --navy-2: #16296f;
  --yellow: #f5c400;
  --grey: #6c717c;
  --line: #e4e6ee;
  --ink: #0d1330;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--yellow); vertical-align: middle; margin-right: 12px; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.025em; color: var(--navy); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: var(--white); font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s; font-family: var(--body); }
.btn:hover { transform: translateY(-3px); background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* progreso y cursor */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; }
.progress i { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.cursor { position: fixed; z-index: 70; top: 0; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--navy); mix-blend-mode: normal; pointer-events: none; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(245, 196, 0, .35); }
@media (hover: none) { .cursor { display: none; } }

/* volver al inicio */
.to-top { position: fixed; right: max(20px, calc(var(--gutter) * .6)); bottom: 24px; z-index: 55; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); cursor: pointer; box-shadow: 0 0 0 3px var(--white), 0 12px 28px -8px rgba(11, 27, 82, .5); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease), background .3s, color .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
.to-top .ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); transform: rotate(-90deg); pointer-events: none; }
.to-top .ring circle { fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.to-top .arrow { transition: transform .4s var(--ease); }
.to-top:hover .arrow { transform: translateY(-2px); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.nav.solid { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .04em; color: var(--navy); }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 38px); font-size: 14.5px; font-weight: 500; }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav-links a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; height: 900vh; background: var(--white); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #04080f; }
#wolfCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-intro { position: absolute; inset: auto var(--gutter) 5vh var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; }
.hero-dark .eyebrow { color: #dfe7ff; }
.hero-dark .scroll-cue { color: #9fb0d8; }
.hero-dark .scroll-cue i { background: linear-gradient(#dfe7ff, transparent); }
.hero-dark .nav:not(.solid) .brand, .hero-dark .nav:not(.solid) .nav-links a:not(.btn) { color: #fff; }
.hero-dark .nav:not(.solid) .btn { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.nav .brand, .nav-links a { transition: color .4s; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--navy), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-copy { position: absolute; right: var(--gutter); top: 50%; width: min(560px, 42vw); transform: translateY(-50%); opacity: 0; pointer-events: none; }
.hero-copy.live { pointer-events: auto; }
.hero-copy h1 { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 5.6vw, 88px); line-height: 1; letter-spacing: -.03em; color: var(--navy); margin: 22px 0 18px; }
.hero-copy .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-copy .line > span { display: block; }
.hero-copy .accent { font-style: normal; color: var(--navy); background: linear-gradient(transparent 80%, var(--yellow) 80%, var(--yellow) 94%, transparent 94%); }
.h1-sub { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 28px); color: var(--ink); }
.lead { margin: 14px 0 30px; color: var(--grey); max-width: 460px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy > * { opacity: 0; }
.loader { position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.loader i { display: block; height: 100%; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; }
.loader.done { opacity: 0; transition: opacity .6s; }
@media (max-width: 860px) {
  .hero-copy { right: var(--gutter); left: var(--gutter); width: auto; top: auto; bottom: 5vh; transform: none; }
  .hero-copy h1 { font-size: clamp(36px, 10vw, 54px); margin: 12px 0 10px; }
  .lead { display: none; }
  .cta-row { margin-top: 18px; }
}

/* valores */
.values { position: relative; height: 420vh; background: var(--white); }
.values-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: stretch; column-gap: clamp(20px, 4vw, 70px); padding: 84px var(--gutter) 0; }
.values-main { display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.5vh, 40px); padding-bottom: 36px; min-width: 0; }
.values-head h2 { max-width: 15em; margin-top: 16px; font-size: clamp(28px, 3.5vw, 56px); }
.values-body { display: grid; gap: clamp(10px, 2vh, 22px); }
.values-list li { display: flex; align-items: baseline; gap: 22px; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6.2vw, 100px); line-height: .98; letter-spacing: -.035em; color: #d7dae6; transition: color .5s var(--ease), transform .5s var(--ease); }
.values-list .num { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.values-list li.on { color: var(--navy); transform: translateX(14px); }
.values-list li.on .num { color: var(--yellow); }
.values-desc { position: relative; min-height: 76px; }
.values-desc p { position: absolute; inset: 0 0 auto 0; font-size: clamp(17px, 1.5vw, 22px); color: var(--grey); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease); max-width: 30em; }
.values-desc p.on { opacity: 1; transform: none; color: var(--ink); }
.values-photo { position: relative; margin: 0; align-self: end; height: min(90%, 880px); aspect-ratio: 1000 / 1340; justify-self: center; }
.values-photo .arch { position: absolute; inset: -10% 3% 0; border-radius: 999px 999px 0 0; background: var(--paper); }
.values-photo .arch::after { content: ""; position: absolute; inset: 14px; border-radius: 999px 999px 0 0; border: 2px solid var(--yellow); border-bottom: 0; opacity: .8; }
.values-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; will-change: transform; }
@media (max-width: 999px) {
  .values-sticky { grid-template-columns: 1fr; }
  .values-photo { display: none; }
  .values-list li { font-size: clamp(44px, 12vw, 90px); }
}

/* oferta */
.offer { position: relative; background: var(--paper); }
.offer-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.offer-head { padding: 0 var(--gutter); }
.offer-head h2 { margin-top: 10px; }
.track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card { position: relative; flex: 0 0 clamp(270px, 24vw, 340px); height: clamp(280px, 42vh, 400px); padding: 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.card:hover { transform: translateY(-10px); box-shadow: 0 24px 50px -24px rgba(11, 27, 82, .35); border-color: var(--navy); }
.card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1.08; letter-spacing: -.02em; color: var(--navy); }
.card .idx { position: absolute; top: 10px; right: 22px; font-family: var(--display); font-weight: 800; font-size: 96px; line-height: 1; color: #eceef5; letter-spacing: -.04em; transition: color .4s; }
.card:hover .idx { color: var(--yellow); }
.tag { align-self: flex-start; padding: 5px 12px; border-radius: 99px; background: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.rvoe { font-size: 13px; color: var(--grey); letter-spacing: .04em; }
/* tarjetas de carrera: al pasar el cursor (o al centrarse en móvil) se vuelven azul marino con la foto de fondo */
.card-career { isolation: isolate; }
.card-career .bg { position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.card-career::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 27, 82, .38) 0%, rgba(11, 27, 82, .62) 45%, rgba(11, 27, 82, .9) 100%); opacity: 0; transition: opacity .6s var(--ease); }
.card-career h3, .card-career .rvoe, .card-career .tag, .card-career .idx { transition: color .5s var(--ease), background .5s var(--ease); }
.card-career.is-active, .card-career:hover { background: var(--navy); border-color: var(--navy); }
.card-career.is-active .bg, .card-career:hover .bg { opacity: .55; transform: scale(1); }
.card-career.is-active::after, .card-career:hover::after { opacity: 1; }
.card-career.is-active h3, .card-career:hover h3 { color: var(--white); }
.card-career.is-active .rvoe, .card-career:hover .rvoe { color: #d5dcf5; }
.card-career.is-active .tag, .card-career:hover .tag { background: rgba(255, 255, 255, .16); color: var(--white); }
.card-career.is-active .idx, .card-career:hover .idx { color: var(--yellow); }
.card-link { color: inherit; text-decoration: none; cursor: pointer; }
.card-link .go { position: absolute; left: 26px; top: 28px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.card-link:hover .go, .card-link.is-active .go { opacity: 1; transform: none; }
.card-feature { flex-basis: clamp(300px, 30vw, 420px); background: var(--navy); border-color: var(--navy); color: var(--white); }
.card-feature h3 { color: var(--white); font-size: clamp(28px, 2.8vw, 42px); }
.card-feature .tag { background: var(--yellow); color: var(--navy); }
.card-feature li { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 15px; }
.card-feature .link { margin-top: 8px; font-weight: 600; color: var(--yellow); }
.card-end { background: transparent; border-style: dashed; border-color: #b8bdd0; align-items: flex-start; }
.card-end p { color: var(--grey); }
.offer-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 5vh; height: 3px; background: var(--line); border-radius: 3px; }
.offer-bar i { display: block; height: 100%; background: var(--navy); border-radius: 3px; transform-origin: left; transform: scaleX(0); }

/* cifras */
.stats { padding: clamp(80px, 14vh, 160px) 0; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.stat { padding-top: 22px; border-top: 2px solid var(--navy); text-align: center; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.8vw, 96px); line-height: 1; letter-spacing: -.04em; color: var(--navy); white-space: nowrap; }
.stat span { display: block; margin-top: 10px; color: var(--grey); font-size: 15px; }
.rating { margin-top: 36px; color: var(--grey); }
.rating b { color: var(--navy); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; } }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--white); }
.marquee-track { display: flex; width: max-content; gap: 64px; animation: slide 30s linear infinite; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 56px); letter-spacing: -.02em; color: #c9cddd; text-transform: none; }
.marquee-track span { white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 64px; color: var(--yellow); font-size: .5em; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* voces */
.voices { padding: clamp(80px, 14vh, 160px) 0; background: var(--paper); }
.voices h2 { margin: 14px 0 50px; }
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice { background: var(--white); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 280px; }
.voice blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; color: var(--navy); }
.voice blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--yellow); margin-bottom: 8px; }
.voice figcaption { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
@media (max-width: 900px) { .voices-grid { grid-template-columns: 1fr; } .voice { min-height: 0; } }

/* calificación de Google bajo los testimonios */
.rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; }
.rating-row img { height: clamp(58px, 6vw, 76px); width: auto; mix-blend-mode: multiply; } /* el fondo blanco de la imagen se funde con el de la sección */
.rating-row .rating { margin: 0; font-size: clamp(16px, 1.4vw, 19px); }

/* avisos */
.news { padding: clamp(60px, 10vh, 120px) 0; }
.news-list { margin-top: 26px; }
.news-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-list li:hover { padding-left: 18px; color: var(--navy); }
.news-list span { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3.2vw, 46px); letter-spacing: -.02em; }
.news-list em { color: var(--grey); font-style: normal; text-align: right; }
@media (max-width: 700px) { .news-list li { flex-direction: column; gap: 4px; } .news-list em { text-align: left; } }

/* recorrido */
.tour { padding: clamp(90px, 16vh, 190px) 0; background: var(--navy); color: var(--white); text-align: center; }
.tour .eyebrow, .tour h2 { color: var(--white); }
.tour h2 { margin: 18px auto; max-width: 14em; }
.tour p { color: #b9c0e0; }
.pill { display: inline-block; margin-top: 30px; padding: 12px 26px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 600; letter-spacing: .06em; font-size: 14px; text-transform: uppercase; }

/* contacto */
.contact { padding: clamp(80px, 14vh, 160px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.contact h2 { margin: 14px 0 30px; }
.steps { counter-reset: s; margin-bottom: 36px; }
.steps li { counter-increment: s; display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.steps li::before { content: "0" counter(s); font-weight: 600; color: var(--navy); }
address { font-style: normal; color: var(--grey); line-height: 1.9; }
address a { color: var(--navy); font-weight: 600; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); outline: none; transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11, 27, 82, .08); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--grey); cursor: pointer; }
.form .check { flex-wrap: wrap; }
.form .check .err { flex-basis: 100%; margin: 0 0 0 28px; }
.form .check > span { flex: 1 1 0; min-width: 0; }
.form .check input { width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: var(--navy); flex: none; }
.form .check em { font-style: normal; color: #8b90a0; }
.form .check a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.form .err { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #b3261e; }
.form [aria-invalid="true"] { border-color: #b3261e; }
.form.is-sending .btn { opacity: .7; cursor: progress; }
.form .btn:disabled { cursor: not-allowed; }
.form-note.is-error { color: #b3261e; }
.form.is-done > :not(.form-done) { display: none; }
.form-done { grid-column: 1 / -1; padding: 30px 28px; border-radius: 20px; background: var(--paper); border-left: 4px solid var(--yellow); outline: none; }
.form-done h3 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.02em; color: var(--navy); margin-bottom: 8px; }
.form-done p { color: var(--grey); }
.form-note { grid-column: 1 / -1; min-height: 1.4em; color: var(--navy); font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

.footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--grey); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.footer nav { display: flex; gap: 22px; }
.footer .brand { font-size: 18px; }
.footer .brand img { height: 34px; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .scroll-cue i { animation: none; }
}
