/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --pink: #ff8a1f;
  --pink-2: #ec7407;
  --accent-text: #b85305;
  --on-accent: #101c3f;
  --violet: #274690;
  --violet-2: #1a2f6b;
  --night: #0f1b3d;
  --ink: #1f2a44;
  --body: #4a5573;
  --muted: #74809a;
  --white: #ffffff;
  --gray: #f2f5fb;
  --gray-2: #e6ebf7;
  --line: #dfe5f2;

  --display: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --maxw: 1200px;
  --nav-h: 78px;
  --off: clamp(12px, 2.6vw, 34px);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.7; font-weight: 500; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
::selection { background: var(--pink); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--pink); color: var(--on-accent); z-index: 9999; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
section { position: relative; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: .005em; }
.head h2::after, h2.left::after { content: ""; display: block; width: 52px; height: 4px; margin: 1.1rem auto 0; background: var(--pink); border-radius: 2px; }
h2.left { text-align: left; }
h2.left::after { margin-left: 0; }
.head p { margin-top: 1.5rem; font-size: 1.02rem; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem 1.9rem; background: var(--pink); color: var(--on-accent); border: 2px solid #fff; border-radius: 4px; font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; overflow: hidden; isolation: isolate; box-shadow: 0 16px 34px -14px rgba(255, 138, 31, .7); transition: transform .5s var(--ease), background .35s, box-shadow .5s var(--ease), color .35s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover { background: var(--pink-2); transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgba(255, 138, 31, .8); }
.btn:hover::after { transform: translateX(120%); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-ghost { background: transparent; box-shadow: none; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--night); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .5); }
.btn-sm { padding: .7rem 1.2rem; font-size: .74rem; border-width: 0; box-shadow: none; }
.btn-block { width: 100%; }

/* =============================================================
   4. Cabecera
   ============================================================= */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 140; }
.progress i { display: block; height: 100%; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0); }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 130; height: var(--nav-h); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: height .4s var(--ease), box-shadow .4s; }
.header.is-scrolled { height: 66px; box-shadow: 0 8px 30px -14px rgba(15, 27, 61, .3); }
.header-in { height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: grid; line-height: 1.15; }
.logo b { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: .08em; color: var(--ink); }
.logo span { font-family: var(--display); font-weight: 600; font-size: .6rem; letter-spacing: .32em; color: var(--violet); margin-top: 2px; }
.logo-light b { color: #fff; }
.logo-light span { color: #9db4ea; }

.nav { display: none; align-items: center; gap: 1.9rem; margin-left: auto; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: .25rem; font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(0, 0, 0, .6); padding-block: .5rem; transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.nav-link:hover, .nav-link.is-active { color: var(--accent-text); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link .ico { width: 12px; height: 12px; transition: transform .4s var(--ease); }
.has-sub { position: relative; }
.has-sub:hover .nav-link .ico, .has-sub:focus-within .nav-link .ico { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: -1.2rem; min-width: 250px; padding: .6rem; background: #fff; border-top: 3px solid var(--pink); box-shadow: 0 30px 60px -24px rgba(15, 27, 61, .4); border-radius: 0 0 10px 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .5s var(--ease), visibility 0s .35s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub a { display: block; padding: .7rem 1rem; font-family: var(--display); font-weight: 600; font-size: .82rem; color: var(--ink); border-radius: 6px; transition: background .3s, color .3s, padding .4s var(--ease); }
.sub a:hover { background: var(--gray); color: var(--accent-text); padding-left: 1.3rem; }
.header-cta { display: none; }

.burger { width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; margin-left: auto; position: relative; z-index: 150; }
.burger i { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 125; background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 2rem; padding: 6rem var(--gutter) 3rem; clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; transition: clip-path .8s var(--ease), visibility 0s .8s; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; pointer-events: auto; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-links { display: grid; }
.menu-links a { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 7vw, 2.2rem); color: var(--ink); padding-block: .7rem; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease), color .3s; }
.menu-links a:hover { color: var(--accent-text); }
.menu.is-open .menu-links a { opacity: 1; transform: none; }
.menu.is-open .menu-links a:nth-child(1) { transition-delay: .2s; } .menu.is-open .menu-links a:nth-child(2) { transition-delay: .25s; }
.menu.is-open .menu-links a:nth-child(3) { transition-delay: .3s; } .menu.is-open .menu-links a:nth-child(4) { transition-delay: .35s; }
.menu.is-open .menu-links a:nth-child(5) { transition-delay: .4s; } .menu.is-open .menu-links a:nth-child(6) { transition-delay: .45s; }
.menu .btn { align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* =============================================================
   5. Hero
   ============================================================= */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(560px, 86svh, 800px); padding: calc(var(--nav-h) + 3rem) 0 10.5rem; color: #fff; background: var(--night); overflow: hidden; }
.hero-media { position: absolute; inset: 0; animation: kb 18s var(--ease) both; }
.hero-media img { position: absolute; left: 0; top: 7%; width: 100%; height: 104%; object-fit: cover; object-position: 66% 20%; }
.hero-media::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, var(--night) 8%, rgba(15, 27, 61, 0)); }
@keyframes kb { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 27, 61, .92) 0%, rgba(15, 27, 61, .74) 38%, rgba(15, 27, 61, .16) 72%, rgba(15, 27, 61, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 30%); }
.hero-in { position: relative; z-index: 2; }
.hero-title { color: #fff; font-weight: 800; text-transform: uppercase; font-size: clamp(2.7rem, 9.4vw, 6rem); line-height: 1; letter-spacing: -.005em; margin-bottom: 1.4rem; text-shadow: 0 6px 30px rgba(0, 0, 0, .25); }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line-in { display: block; }
.js .line-in { transform: translateY(110%); transition: transform 1.2s var(--ease); }
.js .line:nth-child(2) .line-in { transition-delay: .12s; }
.is-ready .line-in { transform: none; }
.hero-sub { max-width: 30ch; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 500; line-height: 1.45; color: rgba(255, 255, 255, .92); margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.js .hero-sub, .js .hero-actions { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .hero-sub { transition-delay: .45s; } .js .hero-actions { transition-delay: .6s; }
.is-ready .hero-sub, .is-ready .hero-actions { opacity: 1; transform: none; }

.strip-wrap { position: relative; z-index: 5; margin-top: -3.2rem; }
.strip { display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: 12px; box-shadow: 0 34px 70px -34px rgba(15, 27, 61, .5); overflow: hidden; }
.strip li { padding: 1.5rem 1.5rem; display: grid; gap: .1rem; border-bottom: 1px solid var(--line); }
.strip li:nth-child(odd) { border-right: 1px solid var(--line); }
.strip li:nth-last-child(-n+2) { border-bottom: 0; }
.strip b { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1.1; color: var(--violet-2); }
.strip b small { font-size: .5em; font-weight: 700; color: var(--muted); }
.strip span { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.js .strip { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) .9s, transform 1s var(--ease) .9s; }
.is-ready .strip { opacity: 1; transform: none; }

/* Encabezado de subpágina */
.page-hero { position: relative; background: linear-gradient(135deg, #0f1b3d 0%, #172a63 60%, #274690 100%); color: #fff; padding: calc(var(--nav-h) + 3rem) 0 3.6rem; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -8%; top: -40%; width: 46vw; height: 46vw; max-width: 560px; max-height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 138, 31, .32), transparent 68%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.back { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); margin-bottom: 1.6rem; transition: color .3s, gap .4s var(--ease); }
.back:hover { color: #fff; gap: .8rem; }
.back .ico { width: 16px; height: 16px; }
.flip { transform: scaleX(-1); }
.page-hero h1 { color: #fff; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; }
.page-hero h1::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 1.1rem; background: var(--pink); border-radius: 2px; }
.page-hero p { margin-top: 1.4rem; max-width: 46ch; font-size: 1.08rem; color: rgba(255, 255, 255, .88); }

/* =============================================================
   6. Servicios
   ============================================================= */
.services { padding-top: clamp(4rem, 8vw, 6.5rem); }
.svc-grid { display: grid; gap: 1.2rem; }
.svc { text-align: center; padding: 2.4rem 1.8rem 2.2rem; border-radius: 14px; background: #fff; border: 1px solid transparent; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.svc:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(15, 27, 61, .45); border-color: var(--line); }
.svc-ico { --accent: var(--pink); position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 1.6rem; border-radius: 26px; background: #e8eefb; color: var(--violet); box-shadow: 0 0 0 0 rgba(255, 138, 31, .14); transition: transform .7s var(--ease), background .5s, color .5s, box-shadow .7s var(--ease), border-radius .7s var(--ease); }
.svc-ico svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--ease); }
.svc:hover .svc-ico { --accent: #fff; background: var(--pink); color: var(--on-accent); border-radius: 50%; transform: translateY(-4px); box-shadow: 0 0 0 12px rgba(255, 138, 31, .12); }
.svc:hover .svc-ico svg { transform: scale(1.08) rotate(-5deg); }
.svc h3 { font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .8rem; }
.svc p { font-size: .96rem; max-width: 34ch; margin: 0 auto 1.2rem; }
.more { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.more > span { background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.more:hover > span { background-size: 100% 2px; }
.more .ico { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.more:hover .ico { transform: translateX(5px); }

/* =============================================================
   8. Bloques 2 columnas con foto (tile)
   ============================================================= */
.split { display: grid; gap: 4rem; align-items: center; }
.split-copy p { margin-bottom: 1.1rem; }
.split-copy h2.left { margin-bottom: 1.8rem; }

.tile { position: relative; width: min(100%, 540px); margin-inline: auto; }
.tile-img { position: relative; z-index: 2; margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--gray-2); box-shadow: 0 40px 70px -34px rgba(15, 27, 61, .6); }
.tile-img img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
.tile-tall .tile-img { aspect-ratio: 4 / 5.2; }
.tile-portrait .tile-img { aspect-ratio: 4 / 5; }
.tile-portrait .tile-img img { object-position: 64% 40%; }
.blk { position: absolute; z-index: 1; transition: transform 1.3s var(--ease), opacity 1s; }
.blk-violet { background: var(--violet); }
.blk-gray { background: var(--gray-2); }
.tile-left .blk-gray { left: calc(var(--off) * -1.4); bottom: calc(var(--off) * -1.4); width: 62%; height: 62%; }
.tile-left .blk-violet { right: calc(var(--off) * -.9); top: calc(var(--off) * -.9); width: 34%; height: 40%; }
.tile-right .blk-violet { left: calc(var(--off) * -1); top: calc(var(--off) * -1); width: 46%; height: 58%; }
.tile-right .blk-gray { right: calc(var(--off) * -1.4); bottom: calc(var(--off) * -1.4); width: 64%; height: 60%; }
.js .tile .blk { opacity: 0; transform: translate(calc(var(--off) * 1.4), calc(var(--off) * -1.4)); }
.js .tile-left .blk-gray, .js .tile-right .blk-gray { transform: translate(calc(var(--off) * 1.4), calc(var(--off) * -1.4)); }
.js .tile-right .blk-gray { transform: translate(calc(var(--off) * -1.4), calc(var(--off) * -1.4)); }
.js .tile.is-in .blk { opacity: 1; transform: none; }
.js .tile .tile-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease); }
.js .tile.is-in .tile-img { clip-path: inset(0 0 0 0); }

/* Banda de foto */
.photo-band { position: relative; margin: 0; height: clamp(230px, 34vw, 420px); overflow: hidden; background: var(--gray-2); }
.photo-band img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 45%; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 27, 61, .38), rgba(15, 27, 61, 0) 60%); pointer-events: none; }
.js .photo-band img { transform-origin: 50% 50%; }

/* FAQ en dos columnas */
.faq-grid { display: grid; gap: 2.4rem; align-items: start; }
.faq-head p { margin-bottom: 1.6rem; max-width: 40ch; }
.faq .acc { margin: 0; }

/* =============================================================
   9. Acordeón
   ============================================================= */
.acc { margin: 0 0 2rem; }
.acc-item { background: var(--gray); border-radius: 8px; margin-bottom: .7rem; border-left: 3px solid transparent; transition: background .4s, box-shadow .5s var(--ease), border-color .4s; }
.acc-item.is-open { background: #fff; border-left-color: var(--pink); box-shadow: 0 24px 50px -30px rgba(15, 27, 61, .5); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; text-align: left; font-family: var(--display); font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .01em; line-height: 1.35; color: var(--ink); transition: color .3s; }
.acc-btn:hover { color: var(--accent-text); }
.acc-ico { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--pink); color: var(--on-accent); display: grid; place-items: center; transition: transform .5s var(--ease); }
.acc-ico .ico { width: 13px; height: 13px; }
.acc-item.is-open .acc-ico { transform: rotate(135deg); }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease); }
.js .acc-item:not(.is-open) .acc-panel { grid-template-rows: 0fr; }
.acc-inner { overflow: hidden; min-height: 0; padding-inline: 1.3rem; }
.acc-inner p { font-size: .96rem; padding-bottom: 1.3rem; margin: 0; }

/* =============================================================
   10. Temas
   ============================================================= */
.topics { background: var(--gray); }
.topic-grid { display: grid; gap: 1.1rem; }
.topic { position: relative; display: block; padding: 1.9rem 1.7rem 2.1rem; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 44px -34px rgba(15, 27, 61, .4); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.topic::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--pink); transition: width .7s var(--ease); }
.topic:hover { transform: translateY(-8px); box-shadow: 0 44px 70px -36px rgba(15, 27, 61, .55); }
.topic:hover::after { width: 100%; }
.topic-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pink); color: var(--on-accent); font-family: var(--display); font-weight: 800; font-size: .8rem; margin-bottom: 1.4rem; transition: transform .6s var(--ease); }
.topic:hover .topic-n { transform: scale(1.12) rotate(-8deg); }
.topic h3 { font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .015em; margin-bottom: .6rem; }
.topic p { font-size: .92rem; color: var(--muted); line-height: 1.6; }

/* =============================================================
   11. Acerca
   ============================================================= */
.about, .career { padding-block: clamp(3.5rem, 6.5vw, 5rem); }
.about .split { gap: clamp(2.5rem, 6vw, 5rem); }
.about .split-copy h2.left { margin-bottom: 1.4rem; }
.about .split-copy .role { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--violet); margin-top: -.6rem; margin-bottom: 1.4rem; }
.values { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 1.2rem 0 1.6rem; }
.values li { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: .82rem; color: var(--ink); }
.values .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--pink); color: var(--on-accent); }

/* =============================================================
   12. Trayectoria
   ============================================================= */
.career { background: var(--gray); }
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 2.2rem; display: grid; gap: .7rem; }
.tl-track { position: absolute; left: 6px; top: 12px; bottom: 12px; width: 2px; background: rgba(39, 70, 144, .25); }
.tl-track i { position: absolute; inset: 0; background: var(--pink); transform-origin: 50% 0; transform: scaleY(var(--tl, 1)); }
.tl-item { position: relative; display: grid; gap: .3rem 2rem; padding: 1.1rem 1.5rem; background: #fff; border-radius: 12px; box-shadow: 0 20px 44px -34px rgba(15, 27, 61, .4); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tl-item::before { content: ""; position: absolute; left: calc(-2.2rem + 0px); top: 50%; margin-top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--pink); transition: background .4s, transform .4s var(--ease); }
.tl-item.is-in::before { background: var(--pink); }
.tl-item:hover { transform: translateX(6px); box-shadow: 0 34px 60px -34px rgba(15, 27, 61, .5); }
.tl-year { font-family: var(--display); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.tl-item h3 { font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: .1rem; }
.tl-place { font-family: var(--display); font-weight: 600; font-size: .78rem; color: var(--violet); margin: 0; }

.mini-head { text-align: center; font-weight: 800; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: clamp(2.2rem, 4vw, 3rem) 0 1.2rem; }
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; align-items: center; gap: 4rem; width: max-content; animation: marquee 44s linear infinite; }
.logos-track span { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: #a8a8b8; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   13. Beneficios
   ============================================================= */
.benefits { background: var(--gray); }
.checks { display: grid; gap: 1.1rem; }
.checks li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem 1.5rem 1.6rem; background: #fff; border-radius: 12px; box-shadow: 0 20px 44px -34px rgba(15, 27, 61, .4); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.checks li:hover { transform: translateY(-6px); box-shadow: 0 44px 70px -36px rgba(15, 27, 61, .5); }
.checks i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: var(--on-accent); display: grid; place-items: center; margin-top: .1rem; transition: transform .6s var(--ease); }
.checks i .ico { width: 16px; height: 16px; }
.checks li:hover i { transform: scale(1.15) rotate(-8deg); }
.checks b { display: block; font-family: var(--display); font-weight: 700; font-size: .98rem; color: var(--ink); }
.checks span { font-size: .94rem; color: var(--body); line-height: 1.55; }

/* =============================================================
   14. Proceso
   ============================================================= */
.process { background: #fff; }
.steps { position: relative; display: grid; gap: 1.1rem; }
.steps-line { display: none; }
.step { position: relative; text-align: center; padding: 2rem 1.6rem 2.1rem; background: var(--gray); border-radius: 12px; box-shadow: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.step:hover { transform: translateY(-8px); box-shadow: 0 44px 70px -36px rgba(15, 27, 61, .5); }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1.3rem; border-radius: 50%; background: var(--pink); color: var(--on-accent); font-family: var(--display); font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 8px rgba(255, 138, 31, .12); transition: box-shadow .5s var(--ease); }
.step:hover .step-n { box-shadow: 0 0 0 12px rgba(255, 138, 31, .16); }
.step h3 { font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .015em; margin-bottom: .6rem; }
.step p { font-size: .94rem; }

/* =============================================================
   15. Testimonios
   ============================================================= */
.voices { background: var(--gray); }
.big-quote { font-family: var(--serif); font-style: italic; font-weight: 400; text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.32; color: var(--violet); max-width: 22em; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.big-quote strong { color: var(--violet-2); font-weight: 700; }
.voice-grid { display: grid; gap: 1.2rem; }
.voice { margin: 0; padding: 2.1rem 1.9rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.voice:hover { transform: translateY(-8px); box-shadow: 0 44px 70px -40px rgba(15, 27, 61, .5); border-color: transparent; }
.qico { width: 36px; height: 36px; color: var(--accent-text); margin-bottom: 1.2rem; }
.voice blockquote { font-size: .98rem; line-height: 1.7; margin-bottom: 1.8rem; flex: 1; }
.voice figcaption { display: flex; align-items: center; gap: .9rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .85rem; flex: none; }
.voice figcaption b { display: block; font-family: var(--display); font-weight: 700; font-size: .92rem; color: var(--ink); }
.voice figcaption span { font-size: .82rem; color: var(--muted); }
.note { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 1.6rem; }

/* =============================================================
   16. Banda CTA
   ============================================================= */
.cta-band { position: relative; text-align: center; color: #fff; padding-block: clamp(5rem, 11vw, 8.5rem); background: #14224a; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 45%; filter: grayscale(1); opacity: .4; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 27, 61, .6), rgba(20, 18, 36, .75)); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 3.1rem); margin-bottom: 2.2rem; }

/* =============================================================
   17. Contacto
   ============================================================= */
.contact { background: var(--gray); }
.contact-grid { display: grid; gap: 3rem; align-items: start; }
.contact-copy p { max-width: 42ch; }
.channels { display: grid; margin-top: 1.8rem; max-width: 500px; }
.channels li { border-bottom: 1px solid var(--line); }
.channels li:first-child { border-top: 1px solid var(--line); }
.channels a, .channel { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; transition: padding .5s var(--ease); }
.channels a:hover { padding-left: .6rem; }
.channels i { width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: var(--on-accent); display: grid; place-items: center; flex: none; transition: transform .6s var(--ease); }
.channels a:hover i { transform: rotate(-10deg) scale(1.08); }
.channels i .ico { width: 20px; height: 20px; }
.channels small { display: block; font-family: var(--display); font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.channels b { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink); }

.form { background: #fff; border-radius: 16px; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: 0 50px 90px -50px rgba(15, 27, 61, .55); border-top: 4px solid var(--pink); }
.form h3 { font-weight: 800; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 1.6rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field span { font-family: var(--display); font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .96rem; color: var(--ink); background: var(--gray); border: 2px solid transparent; border-radius: 8px; padding: .9rem 1rem; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7a84' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem; }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #a0a0ac; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 138, 31, .12); }
.field-row { display: grid; gap: 0 1rem; }
.form .btn { margin-top: .5rem; border-width: 0; }
.form-error { margin-top: 1rem; color: #c0263a; font-size: .88rem; font-weight: 600; }
.form-note { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.1rem; font-size: .78rem; color: var(--muted); }
.form-note .ico { width: 15px; height: 15px; }

/* =============================================================
   18. Footer + FAB
   ============================================================= */
.footer { background: #0e1730; color: #a9b6d6; padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-top { display: grid; gap: 2.4rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-small { font-size: .9rem; margin-top: 1rem; max-width: 38ch; }
.footer-urgent b { font-family: var(--display); font-weight: 700; color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-urgent p { font-size: .88rem; margin-top: .5rem; max-width: 46ch; }
.social { display: flex; gap: .7rem; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; color: #fff; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.social a:hover { color: var(--on-accent); background: var(--pink); border-color: var(--pink); transform: translateY(-4px); }
.footer-bottom { display: grid; gap: .5rem; padding-block: 1.5rem 6.5rem; font-size: .78rem; color: #7d8bb0; }

.wa { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; max-width: calc(100vw - 2rem); }
.js .wa { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) 1.2s, transform .8s var(--ease) 1.2s; }
.js.is-ready .wa { opacity: 1; transform: none; }
.fab { position: relative; display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.2rem .95rem 1.1rem; border-radius: 999px; background: #1f9d55; color: #fff; font-family: var(--display); font-weight: 700; font-size: .82rem; box-shadow: 0 20px 40px -14px rgba(20, 110, 60, .8); transition: background .3s, transform .5s var(--ease); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #1f9d55; z-index: -1; animation: waPulse 2.8s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.fab .ico { width: 24px; height: 24px; }
.fab:hover { background: #17843f; transform: translateY(-3px); }

.wa-bubble { position: relative; width: min(290px, 100%); opacity: 0; transform: translateY(14px) scale(.92); transform-origin: 100% 100%; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.wa-bubble[hidden] { display: none; }
.has-bubble .wa-bubble { opacity: 1; transform: none; }
.wa-msg { position: relative; display: block; padding: .95rem 1.1rem 1.05rem; background: #fff; color: var(--ink); border-radius: 18px 18px 4px 18px; box-shadow: 0 24px 54px -18px rgba(15, 27, 61, .55), 0 0 0 1px rgba(15, 27, 61, .06); transition: transform .4s var(--ease); }
.wa-msg:hover { transform: translateY(-2px); }
.wa-msg::after { content: ""; position: absolute; right: 22px; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 0 0 3px 0; box-shadow: 3px 3px 5px -3px rgba(15, 27, 61, .25); }
.wa-from { display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; font-family: var(--display); font-weight: 700; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #1a7f45; }
.wa-from i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; }
.wa-typing { display: inline-flex; gap: 4px; padding: .3rem 0 .2rem; }
.wa-typing b { width: 7px; height: 7px; border-radius: 50%; background: #9aa6c4; animation: waDot 1.1s ease-in-out infinite; }
.wa-typing b:nth-child(2) { animation-delay: .15s; }
.wa-typing b:nth-child(3) { animation-delay: .3s; }
@keyframes waDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa-text { display: none; font-size: .93rem; line-height: 1.45; color: var(--ink); }
.wa-text strong { color: #17843f; }
.is-typed .wa-typing { display: none; }
.is-typed .wa-text { display: block; animation: waIn .5s var(--ease) both; }
@keyframes waIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wa-close { position: absolute; z-index: 2; top: -11px; left: -11px; width: 26px; height: 26px; border-radius: 50%; background: var(--night); color: #fff; font-size: 1rem; line-height: 1; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(15, 27, 61, .6); transition: background .3s, color .3s, transform .4s var(--ease); }
.wa-close:hover { background: var(--pink); color: var(--on-accent); transform: rotate(90deg); }
.fab span { display: none; }

/* =============================================================
   19. Reveals
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), box-shadow .6s var(--ease), border-color .4s; transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .svc[data-reveal].is-in:hover, .js .topic[data-reveal].is-in:hover, .js .step[data-reveal].is-in:hover, .js .voice[data-reveal].is-in:hover { transform: translateY(-8px); transition-delay: 0s; }
.js .tl-item[data-reveal].is-in:hover { transform: translateX(6px); transition-delay: 0s; }

/* =============================================================
   20. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .fab span { display: inline; }
  .wa { right: 1.4rem; bottom: 1.4rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .strip li { border-bottom: 0 !important; border-right: 1px solid var(--line); }
  .strip li:last-child { border-right: 0; }
}

@media (min-width: 720px) {
  .checks { grid-template-columns: repeat(2, 1fr); }
  .nav { display: flex; gap: 1rem; }
  .nav-link { font-size: .7rem; letter-spacing: .02em; }
  .logo b { font-size: .98rem; letter-spacing: .06em; }
  .logo span { letter-spacing: .26em; }
  .burger, .menu { display: none; }
  .hero-media img { object-position: 66% 20%; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .voice-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1.3fr auto; align-items: start; gap: 3rem; }
  .tl-item { grid-template-columns: 130px 1fr; align-items: center; }
  .hero { padding-bottom: 8rem; }
}

@media (min-width: 720px) and (max-width: 819px) {
  .nav { gap: .7rem; }
  .nav-link { font-size: .64rem; letter-spacing: 0; }
  .logo b { font-size: .9rem; }
  .logo span { font-size: .52rem; letter-spacing: .2em; }
}

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 6rem); }
  .faq-head { position: sticky; top: 6.5rem; }
  .header-cta { display: inline-flex; }
  .nav { gap: 1.9rem; }
  .nav-link { font-size: .78rem; letter-spacing: .04em; }
  .logo b { font-size: 1.12rem; }

  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .split { grid-template-columns: 1fr 1fr; gap: clamp(4rem, 8vw, 7rem); }
  .split-rev .split-copy { order: 1; }
  .split-rev .tile { order: 2; }
  .topic-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 6rem); }
  .form { position: sticky; top: 6.5rem; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding-top: 0; }
  .steps-line { display: block; position: absolute; z-index: 0; top: calc(2rem + 28px); left: 12.5%; right: 12.5%; height: 2px; background: rgba(39, 70, 144, .25); }
  .steps-line i { position: absolute; inset: 0; background: var(--pink); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
  .step { z-index: 1; }
}

@media (min-width: 1280px) {
  .hero-media img { object-position: 60% 28%; }
}

/* =============================================================
   21. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .fab::before { animation: none; }
  .hero-media { animation: none; }
  .logos-track { animation-duration: 140s; }
  html { scroll-behavior: auto; }
}
