/* FROM ZERO — v2 */
:root {
  --navy: #060D1E;
  --black: #000;
  --lime: #BFFF00;
  --cream: #F5F4EF;
  --white: #fff;
  --container: 1400px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--navy); color: var(--white); cursor: none; }
body { font-family: 'Inter', system-ui, sans-serif; font-weight: 300; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.brand-img { display: block; height: 64px; width: auto; }
@media (max-width: 800px) { .brand-img { height: 44px; } }
@media (max-width: 800px) { html, body { cursor: auto; } }
a { color: inherit; text-decoration: none; cursor: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; }
img { display: block; max-width: 100%; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.04em; }

/* Cursor */
.cur-ring, .cur-dot { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; will-change: transform; }
.cur-ring { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(191,255,0,0.6); transform: translate(-50%,-50%); transition: width .25s ease, height .25s ease, background .25s ease, border-color .25s ease; }
.cur-ring.is-hover { width: 64px; height: 64px; background: rgba(191,255,0,0.10); border-color: rgba(191,255,0,0.9); }
.cur-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); transform: translate(-50%,-50%); }
@media (max-width: 800px) { .cur-ring, .cur-dot { display: none; } }

/* Topbar */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 32px; transition: backdrop-filter .3s, background .3s; }
.topbar.scrolled { backdrop-filter: blur(18px); background: rgba(6,13,30,0.6); border-bottom: 1px solid rgba(255,255,255,0.06); }
.topbar.on-cream { color: var(--navy); }
.topbar.scrolled.on-cream { background: rgba(245,244,239,0.7); border-bottom: 1px solid rgba(0,0,0,0.06); }
.tb-left { display: flex; align-items: center; gap: 14px; }
.tb-right { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }
.tb-center { display: flex; align-items: center; justify-content: center; }
.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-label { font-size: 12px; letter-spacing: 0.06em; opacity: 0.4; }
.tb-back { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; margin-left: 12px; transition: opacity .2s, color .2s, border-color .2s; white-space: nowrap; }
.tb-back:hover { opacity: 1; color: var(--lime); }
.topbar.on-cream .tb-back:hover { color: var(--navy); }
@media (max-width: 700px) { .tb-back { display: none; } }
.tb-hablemos { color: var(--lime); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; }
.topbar.on-cream .tb-hablemos { color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 2px; }
.lang { display: inline-flex; gap: 2px; font-size: 11px; letter-spacing: 0.08em; opacity: 0.7; }
.lang button { padding: 4px 6px; opacity: 0.4; }
.lang button.active { opacity: 1; color: var(--lime); }
.topbar.on-cream .lang button.active { color: var(--navy); }
.brand-svg { display: block; height: 30px; }

/* Hamburger menu overlay */
.menu-overlay { position: fixed; inset: 0; z-index: 200; background: var(--navy); display: flex; flex-direction: column; padding: 100px 60px 60px; transform: translateY(-100%); transition: transform .55s cubic-bezier(.7,0,.2,1), visibility 0s linear .55s; visibility: hidden; overflow: hidden; }
.menu-overlay.open { visibility: visible; transition: transform .55s cubic-bezier(.7,0,.2,1), visibility 0s linear 0s; }
.menu-overlay.open { transform: translateY(0); }
.menu-close { position: absolute; top: 32px; right: 32px; font-size: 22px; padding: 8px 14px; color: var(--white); }
.menu-list { display: flex; flex-direction: column; gap: 4px; max-width: 1200px; margin: auto; width: 100%; }
.menu-link { display: flex; align-items: baseline; gap: 24px; font-family: 'Inter', sans-serif; font-weight: 900; font-size: clamp(40px, 7.5vw, 110px); line-height: 1; color: var(--white); text-transform: uppercase; letter-spacing: -0.04em; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); transform: translateY(40px); opacity: 0; transition: color .3s, padding .3s; }
.menu-link .ml-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 400; letter-spacing: 0.16em; opacity: 0.4; min-width: 60px; }
.menu-link:hover { color: var(--lime); padding-left: 16px; }
.menu-link:hover .ml-num { color: var(--lime); opacity: 1; }
.menu-overlay.open .menu-link { animation: menuIn .55s cubic-bezier(.5,0,.2,1) forwards; }
.menu-overlay.open .menu-link:nth-child(1) { animation-delay: .12s; }
.menu-overlay.open .menu-link:nth-child(2) { animation-delay: .18s; }
.menu-overlay.open .menu-link:nth-child(3) { animation-delay: .24s; }
.menu-overlay.open .menu-link:nth-child(4) { animation-delay: .30s; }
.menu-overlay.open .menu-link:nth-child(5) { animation-delay: .36s; }
.menu-overlay.open .menu-link:nth-child(6) { animation-delay: .42s; }
.menu-link:hover { color: var(--lime); }
@keyframes menuIn { to { transform: translateY(0); opacity: 1; } }
.menu-foot { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: end; margin-top: 60px; opacity: 0; animation: menuIn .55s cubic-bezier(.5,0,.2,1) forwards .5s; padding: 0 0 20px; font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; }
.menu-foot h6 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; opacity: 0.6; margin-bottom: 12px; font-weight: 400; }
.menu-foot a { display: block; padding: 4px 0; color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: 0.04em; text-transform: none; }
.menu-foot a:hover { color: var(--lime); }

/* Sections */
section { position: relative; padding: 140px 32px; }
.wrap { max-width: var(--container); margin: 0 auto; }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-cream { background: var(--cream); color: var(--navy); }
.bg-black { background: var(--black); color: var(--white); }
.tag { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.3; }
.bg-cream .tag { opacity: 0.4; }

/* HERO */
.hero { min-height: 100vh; padding: 120px 32px 80px; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; position: relative; }
.hero-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0.18; filter: blur(2px); animation: floatBg 28s ease-in-out infinite; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg svg, .hero-bg .bg-mark { width: 140vmin; height: 140vmin; }
@keyframes floatBg { 0%,100% { transform: translate(0,0) rotate(-3deg); } 50% { transform: translate(2%,-2%) rotate(3deg); } }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 60%, rgba(191,255,0,0.10), transparent 55%); }

.hero-date { position: absolute; left: 40px; top: 50%; transform: translateY(-50%); font-style: italic; font-weight: 300; font-size: 14px; color: rgba(255,255,255,0.12); writing-mode: vertical-rl; letter-spacing: 0.2em; text-transform: uppercase; }

.hero-title { text-align: center; font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 8.5vw, 95px); line-height: 0.92; letter-spacing: -0.045em; color: var(--white); position: relative; z-index: 2; }
.hero-line { display: flex; align-items: center; justify-content: center; gap: 0.22em; white-space: nowrap; }
.hero-rect { display: inline-flex; height: 0.78em; aspect-ratio: 1.6/1; vertical-align: middle; border: 1px solid rgba(191,255,0,0.4); background: #0a1500; position: relative; overflow: hidden; border-radius: 4px; align-items: center; justify-content: center; }
.hero-rect-logo { position: absolute; inset: 14% 18%; display: flex; align-items: center; justify-content: center; transition: opacity .5s ease, transform .5s ease; }
.hero-rect-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.95; }
.hero-rect-logo.out { opacity: 0; transform: scale(0.92); }

.hero-rotator-wrap { display: block; width: 100%; text-align: center; padding: 0 40px; margin-top: 0.18em; overflow: hidden; line-height: 1.05; font-size: clamp(32px, 7vw, 80px); }
.hero-rotator { display: inline-block; color: var(--lime); position: relative; overflow: hidden; height: 1.1em; min-width: 11ch; text-align: center; vertical-align: bottom; font-size: inherit; }
.hero-rotator-word { position: absolute; left: 0; right: 0; top: 0; transition: transform .55s cubic-bezier(.7,0,.2,1), opacity .35s ease; }
.hero-rotator-word.exit { transform: translateY(-100%); opacity: 0; }
.hero-rotator-word.enter { transform: translateY(100%); opacity: 0; }
.hero-rotator-word.current { transform: translateY(0); opacity: 1; }

.hero-sub { max-width: 420px; text-align: center; margin: 40px auto 32px; color: rgba(255,255,255,0.25); font-size: 14px; line-height: 1.55; position: relative; z-index: 2; }
.hero-ctas { display: flex; gap: 28px; align-items: center; justify-content: center; position: relative; z-index: 2; }
.btn-lime { background: var(--lime); color: var(--black); padding: 16px 28px; border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; transition: transform .2s, gap .2s; display: inline-flex; align-items: center; gap: 10px; }
.btn-lime:hover { transform: translateY(-2px); gap: 14px; }
.btn-text { color: rgba(255,255,255,0.3); font-size: 14px; letter-spacing: 0.02em; transition: color .2s; }
.btn-text:hover { color: var(--white); }
.bg-cream .btn-text { color: rgba(6,13,30,0.4); }
.bg-cream .btn-text:hover { color: var(--navy); }

.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.05); }
.hero-stats .hs { padding: 22px 28px; display: flex; align-items: baseline; gap: 14px; border-right: 1px solid rgba(255,255,255,0.05); }
.hero-stats .hs:last-child { border-right: 0; }
.hero-stats .hs-v { font-weight: 900; font-size: 28px; color: var(--lime); letter-spacing: -0.02em; }
.hero-stats .hs-l { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.2); }

.hero-scroll { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.4; }
.hero-scroll-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.hero-scroll-line { width: 1px; height: 32px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); }

/* SERVICES */
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.services-title { font-weight: 900; font-size: clamp(50px, 8.5vw, 140px); line-height: 0.88; letter-spacing: -0.05em; text-transform: uppercase; }
.svc-list { border-top: 1px solid rgba(0,0,0,0.12); }
.svc-row { position: relative; display: grid; grid-template-columns: 80px 1fr auto; gap: 32px; align-items: center; padding: 36px 24px; border-bottom: 1px solid rgba(0,0,0,0.12); transition: background .35s ease, color .35s ease, padding .35s ease; }
.svc-row:hover { background: var(--lime); }
.svc-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; opacity: 0.5; }
.svc-name { font-weight: 900; font-size: clamp(22px, 3.2vw, 46px); letter-spacing: -0.03em; text-transform: uppercase; line-height: 1; }
.svc-desc { grid-column: 2 / -1; max-height: 0; overflow: hidden; transition: max-height .4s ease, margin .3s ease; font-size: 15px; max-width: 600px; opacity: 0.7; }
.svc-row:hover .svc-desc { max-height: 60px; margin-top: 14px; }
.svc-arrow { font-size: 26px; transition: transform .3s ease; }
.svc-row:hover .svc-arrow { transform: translate(8px, -8px) rotate(-12deg); }

/* CLIENTES */
.clientes-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.clientes-title { font-weight: 900; font-size: clamp(34px, 5.6vw, 90px); line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; }
.clientes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.06); border-left: 1px solid rgba(255,255,255,0.06); }
.client-cell { position: relative; aspect-ratio: 1.4 / 1; display: flex; align-items: center; justify-content: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.client-cell img { width: auto; height: auto; max-width: 78%; max-height: 110px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.6; transition: opacity .3s ease, filter .3s ease, transform .3s ease; }
.client-cell:hover img { opacity: 1; filter: brightness(0) invert(1) drop-shadow(0 0 8px #BFFF00); transform: scale(0.95); }
.client-card { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px; background: var(--navy); border: 1px solid var(--lime); transform: translateY(20px); opacity: 0; transition: transform .35s cubic-bezier(.7,0,.2,1), opacity .35s ease; pointer-events: none; }
.client-cell:hover .client-card { transform: translateY(0); opacity: 1; }
.client-card .cc-name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.client-card .cc-meta { font-size: 11px; letter-spacing: 0.08em; opacity: 0.5; text-transform: uppercase; margin-top: 4px; }
.client-card .cc-results { font-size: 12px; color: var(--lime); margin-top: 8px; line-height: 1.5; }
@media (max-width: 800px) { .clientes-grid { grid-template-columns: repeat(2, 1fr); } }

.clientes-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; gap: 0; }
.clientes-stats .cs { padding: 40px 24px; border-right: 1px solid rgba(255,255,255,0.08); text-align: center; }
.clientes-stats .cs:last-child { border-right: 0; }
.clientes-stats .cs-v { font-weight: 900; font-size: clamp(34px, 5vw, 64px); color: var(--lime); letter-spacing: -0.04em; line-height: 1; }
.clientes-stats .cs-l { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; margin-top: 12px; }

/* PROCESO (fan) */
.proceso-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.proceso-title { font-weight: 900; font-size: clamp(45px, 7vw, 120px); line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; }
.fan { position: relative; height: 540px; perspective: 1400px; max-width: 1300px; margin: 0 auto; }
.fan-card { position: absolute; left: 0; top: 0; bottom: 0; width: 280px; background: var(--cream); border: 1px solid rgba(0,0,0,0.12); padding: 40px 32px; display: flex; flex-direction: column; transform-origin: left center; transition: transform .6s cubic-bezier(.6,0,.2,1), width .6s cubic-bezier(.6,0,.2,1), box-shadow .4s ease; cursor: none; box-shadow: -10px 0 30px rgba(0,0,0,0.05); overflow: hidden; }
.fan-card .fan-title, .fan-card .fan-num-bg, .fan-card .fan-line, .fan-card .fan-desc { opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.fan-card.active .fan-title, .fan-card.active .fan-num-bg, .fan-card.active .fan-line { opacity: 1; }
.fan-card .fan-step-vert { position: absolute; left: 28px; bottom: 28px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.5; writing-mode: vertical-rl; transform: rotate(180deg); display: none; }
.fan-card:not(.active) .fan-step-vert { display: block; }
.fan-card:not(.active) .fan-step-label { font-size: 10px; }
.fan-num-bg { position: absolute; top: 8px; right: 18px; font-family: 'Inter', sans-serif; font-weight: 900; font-size: 150px; line-height: 0.8; color: rgba(0,0,0,0.06); letter-spacing: -0.06em; pointer-events: none; }
.fan-step-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.4; }
.fan-title { font-weight: 900; font-size: clamp(17px, 1.8vw, 26px); line-height: 1.05; letter-spacing: -0.03em; text-transform: uppercase; margin-top: 14px; max-width: 95%; }
.fan-line { height: 2px; background: var(--lime); width: 0; margin-top: 24px; transition: width .8s cubic-bezier(.6,0,.2,1); }
.fan-desc { margin-top: 18px; max-width: 520px; font-size: 15px; line-height: 1.55; opacity: 0; transition: opacity .4s ease .2s; }
.fan-img { position: relative; height: 50%; min-height: 200px; background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); margin: -40px -32px 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fan-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fan-img::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(191,255,0,0.03) 0 12px, transparent 12px 24px); }
.fan-img-label { position: relative; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); opacity: 0.7; }
.fan-card:not(.active) .fan-img { opacity: 0; }
.fan-card.active .fan-line { width: 60%; opacity: 1; }
.fan-card.active .fan-desc { opacity: 0.75; transition-delay: .25s; }
.fan-card.active { box-shadow: -30px 0 60px rgba(0,0,0,0.12); }

/* POR QUE */
#porque { position: relative; overflow: hidden; }
.porque-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.35; z-index: 0; filter: blur(1px); }
.porque-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.porque-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.85) 100%); }
#porque .wrap { position: relative; z-index: 1; }
.pq-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.pq-title { font-weight: 900; font-size: clamp(40px, 6.3vw, 105px); line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; }
.pq-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.08); border-left: 1px solid rgba(255,255,255,0.08); }
.pq-block { padding: 40px 28px; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 16px; min-height: 280px; transition: background .3s, box-shadow .3s; }
.pq-block:hover { background: rgba(191,255,0,0.06); box-shadow: inset 0 0 80px rgba(191,255,0,0.08); }
.pq-icon { font-size: 28px; color: var(--lime); }
.pq-title-small { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; text-transform: uppercase; }
.pq-text { font-size: 14px; opacity: 0.55; line-height: 1.55; }

/* Second fan in Por Qué */
.pq-fan2 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 80px; }
.pq2-card { position: relative; aspect-ratio: 0.7 / 1; min-height: 360px; overflow: hidden; background: #0a0a0a; border: 1px solid rgba(255,255,255,0.08); transform: translateY(120%); opacity: 0; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .8s ease, border-color .3s; will-change: transform; cursor: none; }
.pq-fan2.in-view .pq2-card { transform: translateY(0); opacity: 1; }
.pq-fan2.in-view .pq2-card:nth-child(1) { transition-delay: 0s; }
.pq-fan2.in-view .pq2-card:nth-child(2) { transition-delay: .12s; }
.pq-fan2.in-view .pq2-card:nth-child(3) { transition-delay: .24s; }
.pq-fan2.in-view .pq2-card:nth-child(4) { transition-delay: .36s; }
.pq-fan2.in-view .pq2-card:nth-child(5) { transition-delay: .48s; }
.pq2-card:hover { border-color: var(--lime); transform: translateY(-12px); }
.pq2-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #1a1a1a 0%, #050505 100%); display: flex; align-items: center; justify-content: center; transition: transform .6s ease; overflow: hidden; }
.pq2-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pq2-bg::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(191,255,0,0.04) 0 12px, transparent 12px 24px); }
.pq2-bg-label { position: relative; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(191,255,0,0.5); }
.pq2-card:hover .pq2-bg { transform: scale(1.06); }
.pq2-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%); }
.pq2-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pq2-index { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--lime); opacity: 0.7; }
.pq2-title { font-weight: 900; font-size: clamp(20px, 1.8vw, 28px); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; }
.pq2-sub { font-size: 13px; line-height: 1.45; opacity: 0.55; max-height: 0; overflow: hidden; transition: max-height .4s ease, margin .3s ease, opacity .3s ease; }
.pq2-card:hover .pq2-sub { max-height: 80px; opacity: 0.85; margin-top: 2px; }
@media (max-width: 900px) { .pq-fan2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .pq-grid { grid-template-columns: 1fr 1fr; } }

/* EQUIPO */
.equipo-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.equipo-title { font-weight: 900; font-size: clamp(34px, 5vw, 70px); line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; max-width: 700px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.tm-card { display: flex; flex-direction: column; gap: 16px; }
.tm-photo { aspect-ratio: 3/4; background: #0d1730; position: relative; overflow: hidden; }
.tm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 1; transition: transform .6s ease, filter .4s ease; filter: grayscale(0.15); }
.tm-card:hover .tm-img { transform: scale(1.04); filter: grayscale(0); }
.tm-photo::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px); }
.tm-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 80px; color: rgba(255,255,255,0.08); letter-spacing: -0.04em; }
.tm-curtain { position: absolute; inset: 0; background: var(--lime); transform: translateY(100%); transition: transform .5s cubic-bezier(.7,0,.2,1); z-index: 2; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--black); }
.tm-card:hover .tm-curtain { transform: translateY(0); }
.tm-curtain-bio { font-size: 13px; line-height: 1.5; opacity: 0; transition: opacity .3s ease .25s; }
.tm-card:hover .tm-curtain-bio { opacity: 1; }
.tm-tag { position: absolute; bottom: 12px; left: 12px; z-index: 1; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.3; }
.tm-name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.tm-role { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* CONTACTO */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-title { font-weight: 900; font-size: clamp(50px, 7.7vw, 126px); line-height: 0.92; letter-spacing: -0.05em; text-transform: uppercase; }
.contact-sub { margin-top: 20px; max-width: 380px; font-size: 15px; opacity: 0.6; }
.contact-links { margin-top: 60px; display: flex; flex-direction: column; gap: 12px; }
.contact-links a { display: flex; gap: 12px; align-items: center; font-size: 16px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.12); transition: color .2s, padding .2s; }
.contact-links a:hover { color: var(--lime); padding-left: 8px; }
.contact-links .cl-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; opacity: 0.5; text-transform: uppercase; margin-right: 8px; min-width: 60px; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.5; }
.field input, .field textarea { font: inherit; color: var(--navy); background: transparent; border: 0; border-bottom: 1px solid rgba(0,0,0,0.2); padding: 10px 0; outline: none; font-size: 17px; cursor: none; transition: border-color .2s; }
.field textarea { resize: none; min-height: 90px; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.field .err { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #c5252a; min-height: 14px; }
.btn-send { align-self: flex-start; background: var(--lime); color: var(--black); padding: 18px 32px; border-radius: 999px; font-weight: 600; font-size: 14px; letter-spacing: 0.02em; display: inline-flex; gap: 12px; align-items: center; transition: transform .2s, gap .2s; }
.btn-send:hover { transform: translateY(-2px); gap: 18px; }
.success { padding: 32px; border: 1px solid var(--navy); }
.success h4 { font-size: 22px; font-weight: 800; }

/* FOOTER */
.footer-wrap { background: var(--black); color: var(--white); padding: 80px 32px 24px; position: relative; overflow: hidden; }
.footer-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; z-index: 0; filter: blur(1px); }
.footer-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.footer-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 25%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.95) 100%); }
.footer-wrap > *:not(.footer-bg) { position: relative; z-index: 1; }
.ticker { white-space: nowrap; font-weight: 900; font-size: clamp(42px, 7.7vw, 126px); line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; color: rgba(255,255,255,0.8); padding: 60px 0; overflow: hidden; display: flex; }
.ticker-inner { display: inline-flex; gap: 60px; animation: tk 40s linear infinite; }
@keyframes tk { to { transform: translateX(-50%); } }
.ticker span::after { content: " · "; color: var(--lime); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 60px; }
.footer-top h5 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); opacity: 0.85; margin-bottom: 16px; font-weight: 500; }
.footer-top a { color: rgba(255,255,255,0.9); }
.footer-top ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-top ul li, .footer-top a { font-size: 14px; line-height: 1.4; }
.footer-top a:hover { color: var(--lime); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; opacity: 0.4; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 22px 28px; padding: 28px 0 4px; margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; }
.footer-legal a { color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-legal a:hover { color: var(--lime); }

/* Section wipes */
.wipe { position: absolute; left: 0; right: 0; height: 80px; pointer-events: none; z-index: 2; }
.wipe-top { top: -1px; }
.wipe-bottom { bottom: -1px; transform: scaleY(-1); }
.wipe svg { display: block; width: 100%; height: 100%; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.5,0,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  section { padding: 90px 22px; }
  .services-head, .clientes-head, .proceso-head, .pq-head, .equipo-head, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-date { display: none; }
  .fan { height: auto; display: flex; flex-direction: column; gap: 12px; }
  .fan-card { position: relative; width: 100% !important; transform: none !important; left: auto !important; }
}
