/* ==========================================================================
   JAUTHIA · sitio oficial (sigue el mockup "pagina web editable")
   Temas: claro #ededed / oscuro #09101c. Fuentes: Sora, Manrope, Montserrat.
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-2: #f4f4f3;
  --pill: #ededed;
  --card: #ffffff;
  --text: #09101c;
  --muted: #5d6572;
  --line: #cfd2d6;
  --contrast: #09101c;
  --contrast-text: #ffffff;
  --cyan: #00aeef;
  --cyan-2: #74cbf1;
  --navy: #001427;
  --grad: linear-gradient(90deg, #00aeef 0%, #1fc0f2 45%, #74cbf1 100%);
  --sora: 'Sora', 'Segoe UI', sans-serif;
  --body: 'Manrope', 'Segoe UI', sans-serif;
  --mont: 'Montserrat', 'Segoe UI', sans-serif;
  --nav-h: 72px;
  --gap: 100px; /* espacio único entre secciones */
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #09101c;
  --bg-2: #111a28;
  --pill: #16202f;
  --card: #16202f;
  --text: #f2f5f8;
  --muted: #a3b3c6;
  --line: #2a3a55;
  --contrast: #ffffff;
  --contrast-text: #09101c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Barra de scroll real del navegador, con el azul de la marca */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { border: 3px solid var(--bg); border-radius: 999px; background: linear-gradient(#74cbf1, #00aeef); }
::-webkit-scrollbar-thumb:hover { background: #00aeef; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: #00aeef var(--bg); scrollbar-width: thin; } }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--body); overflow-x: hidden; transition: background .35s, color .35s; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -70px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: #fff; color: #09101c; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }

:root:not([data-theme='dark']) .logo-for-dark, :root[data-theme='dark'] .logo-for-light { display: none; }
:root:not([data-theme='dark']) .only-dark, :root[data-theme='dark'] .only-light { display: none; }

.display { font: 600 clamp(2.5rem, 6vw, 4.2rem)/1.08 var(--sora); letter-spacing: -.02em; text-align: center; text-wrap: balance; }
.tracked { font: 400 .72rem/1.4 var(--mont); letter-spacing: .3em; text-transform: uppercase; text-align: center; }
.tracked--lg { margin-top: 12px; font-size: clamp(.82rem, 1.6vw, 1.15rem); }
.center-head { padding-inline: 20px; }
.hint { display: inline-block; padding: 5px 24px; border-radius: 999px; background: var(--pill); color: var(--muted); font: 400 clamp(.82rem, 1.4vw, 1.1rem)/1.5 var(--mont); text-align: center; }
.hint--center { display: block; width: fit-content; margin: 26px auto 0; }

/* Separación de palabras animada */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 90ms); }
.js [data-split].is-in .w > span { transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Botones */
.pill-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; min-height: 42px; padding: 0 24px; border: 1.5px solid var(--text); border-radius: 999px; background: none; color: var(--text); font: 500 .86rem/1 var(--body); text-decoration: none; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.pill-btn:hover { transform: translateY(-2px); background: var(--text); color: var(--bg); }
.pill-btn--play { position: relative; overflow: hidden; border-color: transparent; background: var(--grad); color: #fff; animation: playPulse 2.6s infinite; }
.pill-btn--play:hover { background: var(--grad); color: #fff; }
.pill-btn--play svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.3; }
:root[data-theme='dark'] .pill-btn--play { border-color: #fff; background: none; animation: none; }
:root[data-theme='dark'] .pill-btn--play:hover { background: #fff; color: #09101c; }
@keyframes playPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 174, 239, .45); } 60% { box-shadow: 0 0 0 13px rgba(0, 174, 239, 0); } }
.pill-btn--white { border-color: #fff; color: #fff; }
.pill-btn--white:hover { background: #fff; color: #09a7e2; }

/* Navbar */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.nav.is-stuck { background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); padding-inline: clamp(16px, 3vw, 38px); }
.nav__logo { position: relative; display: inline-flex; flex-direction: column; justify-self: start; text-decoration: none; }
.nav__logo img { height: 44px; width: auto; }
.nav__logo span { position: absolute; left: 40px; top: 24px; font: 500 4.200px/1 var(--mont); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; opacity: 0; }
.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__menu a:not(.pill-btn) { position: relative; padding: 6px 0; font-size: .82rem; font-weight: 500; text-decoration: none; }
.nav__menu a:not(.pill-btn)::after { content: ''; position: absolute; inset: auto 0 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__menu a:not(.pill-btn):hover::after, .nav__menu a.is-current:not(.pill-btn)::after { transform: scaleX(1); }
.nav__cta-m { display: none; }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.theme-btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: none; transition: background .2s, transform .3s; }
.theme-btn:hover { background: var(--pill); transform: rotate(-18deg); }
.theme-btn svg { width: 20px; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linejoin: round; }
.nav__toggle { display: none; width: 44px; height: 44px; padding: 11px 9px; border: 0; background: none; }
.nav__toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 600px; height: min(100svh, 600px); overflow: hidden; display: grid; place-items: center; padding: calc(var(--nav-h) + 20px) 20px 26px; }
.hero__glow { position: absolute; inset: -30% 10% 10%; opacity: 0; background: radial-gradient(closest-side, rgba(0, 174, 239, .75), rgba(0, 110, 160, .35) 52%, transparent); transition: opacity .6s; pointer-events: none; animation: glow 7s ease-in-out infinite; }
:root[data-theme='dark'] .hero__glow { opacity: 1; }
@keyframes glow { 50% { transform: scale(1.09); } }
.hero__center { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; pointer-events: none; }
.hero__center a, .hero__center button { pointer-events: auto; }
.hero__title { max-width: 9.5em; font: 600 clamp(2.5rem, 5.4vw, 3.6rem)/1 var(--sora); letter-spacing: -.02em; }
.hero__hello { display: none; color: #fff; }
.hola { width: clamp(180px, 22vw, 250px); margin: 0 auto; }
#wave { width: clamp(240px, 26vw, 290px); height: 58px; margin: 12px auto -6px; }
:root[data-theme='dark'] .hero__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:root[data-theme='dark'] .hero__hello { display: block; animation: helloIn .7s both; }
@keyframes helloIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.hero .hint { font-size: clamp(.9rem, 1.4vw, 1.1rem); padding-inline: 44px; }
:root[data-theme='dark'] .hero .hint { background: #05264a; color: #fff; }
.dots { display: flex; gap: 2px; padding: 8px 12px; border-radius: 999px; background: var(--card); box-shadow: 0 6px 14px rgba(9, 16, 28, .18); }
.dots a { display: grid; place-items: center; width: 28px; height: 28px; }
.dots a::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: #d7d9dc; transition: transform .2s, background .2s; }
.dots a:hover::before { transform: scale(1.25); background: var(--cyan); }
.dots a.is-current::before { background: var(--grad); }
:root[data-theme='dark'] .dots { background: #fff; }

.bubbles { position: absolute; inset: 0; z-index: 2; }
.bubble { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: var(--s); height: var(--s); padding: 0; border: 0; border-radius: 50%; background: none; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; }
.bubble:active { cursor: grabbing; }
.bubble img, .bubble svg { pointer-events: none; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.bubble--xl { --s: clamp(150px, 22vw, 262px); }
.bubble--lg { --s: clamp(92px, 12vw, 146px); }
.bubble--md { --s: clamp(72px, 8.800vw, 106px); }
.bubble--sm { --s: clamp(46px, 5vw, 60px); }
.bubble--soft { --s: clamp(44px, 5vw, 60px); opacity: .55; filter: blur(3px); pointer-events: none; }
/* Esfera con luz arriba a la izquierda */
.bubble--orb { background: radial-gradient(circle at 32% 26%, #c9f0fd 0, #5fd2f7 22%, #12b4ee 52%, #0089cf 100%); box-shadow: inset -10px -14px 26px rgba(0, 70, 130, .32), inset 8px 10px 20px rgba(255, 255, 255, .35), 0 20px 36px rgba(0, 150, 215, .3); }
.bubble__pic { position: absolute; left: 50%; bottom: 6%; width: 92%; max-width: none; translate: -50% 0; filter: drop-shadow(0 12px 12px rgba(0, 50, 90, .35)); }
.bubble--sm svg { width: 54%; fill: #fff; }
.bubble--face { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px rgba(0, 174, 239, .55), 0 18px 32px rgba(9, 16, 28, .22); transition: box-shadow .3s; }
.bubble--face img { width: 100%; border-radius: 50%; }
.bubble:hover img, .bubble:focus-visible img, .bubble:hover svg { transform: scale(1.07); }
.bubble__tag { position: absolute; left: 50%; top: calc(100% + 12px); padding: 6px 14px; border-radius: 999px; background: var(--contrast); color: var(--contrast-text); font: 600 .78rem/1.2 var(--body); white-space: nowrap; opacity: 0; translate: -50% -6px; transition: opacity .2s, translate .2s; pointer-events: none; }
.bubble:hover .bubble__tag, .bubble:focus-visible .bubble__tag { opacity: 1; translate: -50% 0; }
.mic { position: absolute; right: clamp(16px, 6.500vw, 78px); bottom: 34px; z-index: 5; display: none; place-items: center; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 50%; background: var(--grad); }
:root[data-theme='dark'] .mic { display: grid; }
.mic svg { width: 46px; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; }
.mic::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan-2); animation: ping 2s infinite; }
.mic[aria-pressed='true'] { background: #fff; }
.mic[aria-pressed='true'] svg { stroke: #00aeef; }
@keyframes ping { to { transform: scale(1.55); opacity: 0; } }

/* Aliado */
.section { padding: 0 0 var(--gap); }
#aliado { padding-top: 8px; }
.allies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: min(1040px, 100% - 40px); margin: 44px auto 0; }
.ally { padding: 30px 28px; border-radius: 20px; background: var(--bg-2); transition: box-shadow .25s, translate .25s; }
.js .ally.reveal { transition: opacity .7s var(--d, 0s), transform .7s var(--d, 0s), box-shadow .25s, translate .25s; }
.ally:nth-child(2) { --d: .12s; }
.ally:nth-child(3) { --d: .24s; }
.ally:hover { translate: 0 -6px; box-shadow: 0 18px 32px rgba(9, 16, 28, .12); }
.ally__ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #c9f0fd 0, #5fd2f7 22%, #12b4ee 52%, #0089cf 100%); box-shadow: inset -5px -7px 12px rgba(0, 70, 130, .3), 0 10px 18px rgba(0, 150, 215, .28); }
.ally__ico svg { width: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ally h3 { margin-top: 18px; font: 600 1.3rem/1.2 var(--sora); }
.ally p { margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.allies__cta { display: flex; justify-content: center; margin-top: 34px; }

/* Casos */
.case-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; width: min(1160px, 100%); min-height: 460px; margin: 46px auto 0; padding-inline: 20px; }
.folder { display: block; width: 100%; aspect-ratio: 200 / 165; overflow: visible; }
.folder--drag { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: 1; cursor: grab; touch-action: none; animation: drift 7s ease-in-out infinite; }
.folder--drag:nth-of-type(2) { animation-delay: -2.5s; }
.folder--drag:nth-of-type(3) { animation-delay: -4.5s; }
.folder--blur { filter: blur(8px); opacity: .85; }
.folder--far { filter: blur(1px); }
.folder--drag.is-dragging { animation: none; cursor: grabbing; }
@keyframes drift { 50% { translate: 0 -14px; } }
.case-main { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; }
.review { position: relative; display: flex; align-items: center; gap: 14px; width: min(310px, 100%); padding: 12px 16px; border-radius: 16px 16px 16px 16px; background: linear-gradient(100deg, #00aeef, #74cbf1); color: #fff; box-shadow: 10px 10px 14px rgba(9, 16, 28, .16); transition: transform .35s; }
.review::after { content: ''; position: absolute; right: 56px; bottom: -14px; border: 14px solid transparent; border-top-color: #5ec7f3; border-bottom: 0; border-left: 0; }
.review.is-swap { animation: pop .4s; }
@keyframes pop { from { transform: scale(.9); opacity: .4; } }
.review img { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #fff; }
.review b { display: block; font: 700 1rem/1.25 var(--mont); }
.review span { display: block; font-size: .8rem; line-height: 1.3; }
.folder-hero { position: relative; width: clamp(180px, 22vw, 250px); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.folder-hero.is-swap { transform: scale(1.07) rotate(-2deg); }
.folder-hero img { position: absolute; left: 50%; top: 58%; width: 44%; border-radius: 50%; translate: -50% -50%; box-shadow: 0 8px 18px rgba(0, 60, 90, .3); }

.wheel { position: relative; z-index: 2; height: 400px; perspective: 900px; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask: linear-gradient(transparent, #000 22%, #000 78%, transparent); touch-action: pan-x; cursor: ns-resize; }
.wheel__ring { position: absolute; inset: 50% 44px auto 0; transform-style: preserve-3d; transform: translateZ(-190px) rotateZ(-3deg) rotateX(var(--rot, 0deg)); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.wheel__ring.is-dragging { transition: none; }
.wheel__ring li { position: absolute; left: 0; right: 0; top: -24px; height: 48px; backface-visibility: hidden; transform: rotateX(var(--a)) translateZ(190px); }
.wheel__ring button { display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); font: 400 clamp(.82rem, 1.4vw, 1.08rem)/1 var(--mont); text-align: left; white-space: nowrap; transition: color .3s; }
.wheel__ring button::before { content: ''; flex: none; width: 18px; height: 20px; background: currentColor; -webkit-mask: radial-gradient(circle at 50% 28%, #000 27%, transparent 29%), radial-gradient(ellipse 50% 42% at 50% 100%, #000 96%, transparent 100%); mask: radial-gradient(circle at 50% 28%, #000 27%, transparent 29%), radial-gradient(ellipse 50% 42% at 50% 100%, #000 96%, transparent 100%); }
.wheel__ring .is-on button { color: var(--text); border-color: var(--text); font-weight: 500; }
.wheel__ctrl { position: absolute; right: 8px; top: 50%; display: grid; width: 20px; height: 94px; margin-top: -47px; overflow: hidden; border-radius: 999px; background: linear-gradient(#74cbf1, #00aeef); }
.wheel__ctrl button { position: relative; padding: 0; border: 0; background: none; }
.wheel__ctrl button:first-child::after { content: ''; position: absolute; inset: 0 0 auto; height: 24px; border-radius: 999px; background: var(--contrast); }

.logo-strip { display: flex; justify-content: center; gap: 14px; width: fit-content; max-width: calc(100% - 32px); margin: 14px auto 0; padding: 8px 14px; border-radius: 999px; background: var(--pill); }
.logo-strip button { width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(9, 16, 28, .18); transition: transform .2s, box-shadow .2s; }
.logo-strip button:hover { transform: translateY(-4px); }
.logo-strip [aria-pressed='true'] { transform: scale(1.18); box-shadow: 0 0 0 3px var(--cyan); }
.logo-strip img { border-radius: 50%; }
.case-panel { margin-top: 44px; padding: 44px 0; background: linear-gradient(90deg, var(--bg), var(--pill) 28%); box-shadow: 0 -14px 30px -18px rgba(9, 16, 28, .22), 0 14px 30px -18px rgba(9, 16, 28, .22); }
.case-panel__in { display: grid; grid-template-columns: .85fr .85fr 1fr 1.25fr 1.15fr; gap: 12px; }
.cp { min-height: 170px; padding: 20px; border-radius: 14px; background: var(--card); box-shadow: 0 1px 5px rgba(9, 16, 28, .1); animation: cardIn .5s both; animation-delay: calc(var(--n, 0) * 70ms); }
.cp:nth-child(2) { --n: 1; } .cp:nth-child(3) { --n: 2; } .cp:nth-child(4) { --n: 3; } .cp:nth-child(5) { --n: 4; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.cp h3 { margin-bottom: 8px; color: var(--muted); font: 700 1.02rem/1.2 var(--sora); }
.cp p { color: var(--muted); font: 400 .84rem/1.4 var(--mont); }
.cp--logo { display: grid; place-items: center; }
.cp--logo img { width: 112px; filter: grayscale(1) opacity(.65); }
:root[data-theme='dark'] .case-panel { box-shadow: none; }

/* Proyectos en acción */
.showcase { width: min(1080px, 100% - 40px, (100svh - 300px) * 1.6); min-width: min(100% - 40px, 560px); margin: 46px auto 0; }
.showcase__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.showcase__tabs button { position: relative; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; overflow: hidden; border: 1.5px solid transparent; border-radius: 14px; background: var(--bg-2); color: var(--text); text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.showcase__tabs button:hover { transform: translateY(-2px); }
.showcase__tabs button[aria-selected='true'] { border-color: var(--cyan); background: var(--card); box-shadow: 0 8px 20px rgba(0, 150, 215, .14); }
.showcase__tabs img { flex: none; width: 38px; height: 38px; padding: 3px; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 1px 4px rgba(9, 16, 28, .18); }
.showcase__tabs b { display: block; font: 600 .86rem/1.2 var(--sora); }
.showcase__tabs small { display: block; color: var(--muted); font-size: .74rem; }
.showcase__tabs i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: var(--grad); }
.screen { overflow: hidden; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgba(9, 16, 28, .4); }
.screen__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 10px 0 14px; background: var(--bg-2); }
.screen__dots { display: flex; gap: 6px; }
.screen__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.screen__dots i:nth-child(2) { background: #febc2e; }
.screen__dots i:nth-child(3) { background: #28c840; }
.screen__url { flex: 1; max-width: 420px; margin-inline: auto; padding: 4px 14px; overflow: hidden; border-radius: 999px; background: var(--bg); color: var(--muted); font: 500 .78rem/1.4 var(--mont); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.screen__badge { flex: none; padding: 3px 10px; border-radius: 999px; background: #fff1c7; color: #6b4e00; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.screen__badge[hidden] { display: none; }
.screen__pause { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text); }
.screen__pause:hover { background: var(--pill); }
.screen__pause svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.screen__pause .i-play, .screen__pause.is-paused .i-pause { display: none; }
.screen__pause.is-paused .i-play { display: block; }
.screen__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.screen__img { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; opacity: 0; transition: opacity .7s; will-change: transform; }
.screen__img.is-on { opacity: 1; }
.screen__cursor { position: absolute; left: 50%; top: 50%; z-index: 3; width: 26px; height: 26px; transition: left 1.2s cubic-bezier(.5, 0, .2, 1), top 1.2s cubic-bezier(.5, 0, .2, 1); pointer-events: none; }
.screen__cursor svg { width: 100%; fill: #09101c; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.screen__cursor::before { content: ''; position: absolute; left: -14px; top: -14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 174, 239, .45); transform: scale(0); opacity: 0; }
.screen__cursor.is-click::before { animation: tap .7s ease-out; }
@keyframes tap { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.screen__talk { position: absolute; right: 16px; bottom: 16px; z-index: 4; display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 10px; max-width: min(600px, calc(100% - 32px)); pointer-events: none; }
.screen__talk img { flex: none; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0, 0, 0, .3); }
.screen__talk p { padding: 11px 16px; border-radius: 16px 16px 4px 16px; background: rgba(9, 16, 28, .9); color: #fff; font-size: .95rem; line-height: 1.4; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.screen__talk.is-new p { animation: talkIn .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes talkIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.showcase__info { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.showcase__info p { color: var(--muted); font-size: 1rem; }
.showcase__info .pill-btn[hidden] { display: none; }
.showcase__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.showcase__tags li { padding: 4px 12px; border-radius: 999px; background: rgba(0, 174, 239, .12); color: var(--text); font-size: .78rem; font-weight: 600; animation: talkIn .4s both; }
.showcase__info .pill-btn { flex: none; }

/* Navegador de servicios */
#servicios { position: relative; }
.browser { width: min(760px, 100% - 32px); margin: 46px auto 0; overflow: visible; background: #eceeec; color: #09101c; box-shadow: 4px 4px 8px rgba(9, 16, 28, .22); }
:root[data-theme='dark'] .browser { background: var(--bg-2); color: var(--text); box-shadow: 0 0 0 1px var(--line); }
.browser__tabs { display: flex; align-items: flex-end; height: 36px; padding-top: 2px; }
.browser__tab { display: flex; align-items: center; justify-content: space-between; width: 190px; padding: 0 12px 0 20px; }
.browser__tab img { height: 22px; width: auto; }
.browser__new { flex: 1; height: 26px; padding-left: 14px; border-radius: 8px 0 0 0; background: #fff; font-size: .9rem; line-height: 26px; }
:root[data-theme='dark'] .browser__new { background: var(--pill); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 8px 18px 8px 12px; }
.browser__bar button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 6px; background: none; }
.browser__bar button:hover { background: rgba(0, 174, 239, .16); }
.browser__bar svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.browser__url { display: flex; flex: 1; justify-content: space-between; min-width: 0; margin-left: 40px; padding: 6px 18px; border-radius: 4px; background: #fff; font: 500 .74rem/1.4 var(--mont); }
.browser__url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root[data-theme='dark'] .browser__url { background: var(--pill); }
.browser__crumb { padding: 10px 16px; border-bottom: 1px solid #c8cbc9; background: #f5f5f5; font: 500 .74rem/1.4 var(--mont); }
:root[data-theme='dark'] .browser__crumb { border-color: var(--line); background: var(--bg-2); }
.browser__body { display: grid; grid-template-columns: 176px 1fr; min-height: 306px; }
.browser__side { position: relative; padding: 12px 8px; border-right: 1px solid #c8cbc9; }
:root[data-theme='dark'] .browser__side { border-color: var(--line); }
.browser__home { padding: 0 0 8px 40px; border-bottom: 1px solid #c8cbc9; font: 500 .74rem/1.4 var(--mont); }
#brList button { display: flex; gap: 8px; width: 100%; padding: 8px 6px 7px 12px; border: 0; border-radius: 6px; background: none; color: inherit; font: 500 .72rem/1.14 var(--mont); text-align: left; transition: background .15s; }
#brList button:hover, #brList .is-on { background: rgba(0, 174, 239, .13); }
#brList small { display: block; margin-top: 4px; color: #1f93c9; font-size: .62rem; }
.ico { flex: none; width: 15px; height: 13px; }
.tip { position: absolute; left: calc(100% - 44px); z-index: 6; width: 150px; padding: 10px 12px; border-radius: 10px; background: #fff; color: #09101c; font: 500 .66rem/1.25 var(--mont); box-shadow: 0 4px 14px rgba(9, 16, 28, .22); animation: pop .2s; pointer-events: none; }
.browser__main { padding: 26px 32px; background: #f5f5f5; }
:root[data-theme='dark'] .browser__main { background: var(--bg-2); }
.browser__main article { animation: paneIn .4s; }
@keyframes paneIn { from { opacity: 0; transform: translateX(12px); } }
.browser__main h3 { margin-bottom: 14px; font: 700 .98rem/1.3 var(--mont); }
.browser__main p { margin-bottom: 14px; font: 400 .9rem/1.3 var(--mont); }
.browser__main ul { display: grid; gap: 11px; }
.browser__main li { display: flex; gap: 9px; font: 400 .82rem/1.35 var(--mont); }
.browser__main li .ico { margin-top: 2px; }
.browser__main b { font-weight: 500; }

/* Marquesina */
.kinetic { overflow: hidden; padding-block: 0 14px; -webkit-mask: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
.kinetic__big { width: max-content; color: var(--text); font: 300 clamp(3.4rem, 9.500vw, 6.800rem)/1.2 var(--body); letter-spacing: -.01em; white-space: nowrap; will-change: transform; }
.kinetic__small { overflow: hidden; margin-top: 18px; color: var(--muted); font: 400 .82rem/1.2 var(--mont); letter-spacing: .4em; white-space: nowrap; }
.kinetic__small div { width: max-content; animation: kineticRun 40s linear infinite; }
@keyframes kineticRun { to { transform: translateX(var(--run, -50%)); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Banda */
.band { position: relative; display: grid; justify-items: center; align-content: center; gap: 16px; min-height: 290px; padding: 40px 20px; overflow: hidden; background: var(--grad); color: #fff; text-align: center; }
.band h2 { font: 700 clamp(1.5rem, 3vw, 1.8rem)/1.2 var(--mont); }
.band__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.band__rocket { position: absolute; left: 25%; top: 36px; width: clamp(62px, 8.500vw, 100px); animation: rocket 9s ease-in-out infinite; }
@keyframes rocket { 0% { transform: translate(-12vw, 26px) rotate(-5deg); } 50% { transform: translate(4vw, -8px) rotate(3deg); } 100% { transform: translate(-12vw, 26px) rotate(-5deg); } }
.band__dino { position: absolute; bottom: 8px; width: clamp(54px, 7vw, 82px); }
.band__dino--a { left: 14.500%; animation: hop 2.3s infinite; }
.band__dino--b { right: 22%; animation: hop 2.3s -1.15s infinite; }
@keyframes hop { 0%, 58%, 100% { transform: none; } 76% { transform: translateY(-46px); } }

/* Simulador */
.navy { background: var(--navy); color: #fff; }
.sim-wrap { padding: var(--gap) 20px 0; text-align: center; }
.sim { width: min(800px, 100%); margin: 0 auto; padding: 24px; border-radius: 12px; background: #eceeec; color: #09101c; text-align: left; }
.sim__tabs { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; margin-bottom: 20px; padding: 2px 6px; border-radius: 4px; background: #fff; }
.sim__tabs button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 4px; background: none; color: #636a74; font: 400 .84rem/1 var(--body); transition: background .2s, color .2s; }
.sim__tabs [aria-selected='true'] { background: #09101c; color: #fff; }
.sim__grid { display: grid; grid-template-columns: 1fr 230px; gap: 16px 40px; }
.sim__grid[hidden] { display: none; }
.calc { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 16px; }
.f { display: block; color: #4e5560; font-size: .84rem; line-height: 1.3; }
.f--wide { grid-column: 1 / -1; }
.f input:not([type='range']), .f select { display: block; width: 100%; height: 40px; margin-top: 6px; padding: 0 14px; border: 0; border-radius: 3px; background: #fff; color: #09101c; font-size: .9rem; color-scheme: light; }
.f select { box-shadow: 0 2px 4px rgba(9, 16, 28, .18); }
.f input::placeholder { color: #6e747e; }
input[type='range'] { width: 100%; height: 30px; margin: 4px 0 0; accent-color: #00aeef; cursor: pointer; }
.dark-btn { grid-column: 1 / -1; justify-self: start; min-height: 40px; padding: 0 24px; border: 0; border-radius: 999px; background: #09101c; color: #fff; font-size: .84rem; transition: transform .2s; }
.dark-btn:hover { transform: translateY(-2px); }
.impact { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; border-radius: 10px; background: #fff; }
.impact h3 { color: #5d6572; font: 700 1rem/1.25 var(--sora); text-align: center; }
.checks { display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 24px; color: #4e5560; font-size: .86rem; line-height: 1.25; }
.checks li::before { content: '✓'; position: absolute; left: 2px; font-weight: 700; color: #09101c; }
.impact__cta { color: #0a7fb4; font-size: .82rem; font-weight: 700; text-align: center; text-decoration: none; }
.impact__cta:hover { text-decoration: underline; }
.impact__pic { width: 150px; margin: 0 auto; animation: drift 5s ease-in-out infinite; }
.consent { display: flex; gap: 9px; color: #4e5560; font-size: .76rem; line-height: 1.35; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #00aeef; }
.consent--dark { color: #b7c3d2; }
.form-status { color: #0a7a55; font-size: .84rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b4321a; }
.form-status a { color: inherit; }
.hint--navy { margin-top: 20px; background: #0f3b60; color: #36b3ec; }

.chat { display: flex; flex-direction: column; height: 420px; overflow: hidden; border-radius: 8px; background: #fff; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid #e4e6e8; }
.chat__head img { width: 30px; }
.chat__head b { display: block; font-size: .86rem; line-height: 1.2; }
.chat__head span { color: #0a7a55; font-size: .72rem; }
.chat__log { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px; overflow-y: auto; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 8px 12px; border-radius: 12px; font-size: .86rem; line-height: 1.4; animation: msgIn .22s ease-out; }
@keyframes msgIn { from { opacity: 0; transform: translateY(7px); } }
.msg--bot { align-self: flex-start; border-bottom-left-radius: 3px; background: #eceeec; }
.msg--me { align-self: flex-end; border-bottom-right-radius: 3px; background: #00a3df; color: #03202f; font-weight: 600; }
.msg--typing { display: flex; gap: 4px; padding: 12px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #7a818c; animation: blink 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; } }
.chat__options { display: flex; flex-wrap: wrap; gap: 6px; min-height: 62px; padding: 10px 14px; border-top: 1px solid #e4e6e8; }
.opt { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 13px; border: 1px solid #0a7fb4; border-radius: 999px; background: none; color: #086a98; font-size: .8rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.opt:hover { background: #0a7fb4; color: #fff; }
.opt--main { border-color: transparent; background: #09101c; color: #fff; }
.lead__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lead__head h3 { font-size: .92rem; text-align: left; }
#leadBadge { padding: 3px 9px; border-radius: 999px; background: #e0f4fd; color: #086a98; font-size: .68rem; font-weight: 700; white-space: nowrap; }
#leadBadge.is-hot { background: #ffe6df; color: #b4321a; }
.lead__data div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #e4e6e8; font-size: .76rem; line-height: 1.3; }
.lead__data dt { flex: none; color: #5d6572; }
.lead__data dd { color: #7c838d; font-weight: 600; text-align: right; }
.lead__data dd.is-set { color: #09101c; animation: flash .7s; }
@keyframes flash { from { color: #00aeef; } }
.score { display: grid; grid-template-columns: 1fr auto; gap: 5px; color: #5d6572; font-size: .76rem; }
.score div { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 6px; background: #eceeec; }
.score i { display: block; width: 0; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #00aeef, #74cbf1); transition: width .5s; }
.score b { color: #09101c; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: auto; }
.stages li { padding-top: 5px; border-top: 3px solid #e4e6e8; color: #7c838d; font-size: .56rem; font-weight: 700; transition: color .2s, border-color .2s; }
.stages li.is-on { border-color: #00aeef; color: #086a98; }

/* Hablemos */
.talk { width: min(1000px, 100% - 40px); margin-inline: auto; padding-block: var(--gap); }
.talk__logo { display: grid; justify-items: center; }
.talk__logo img { width: min(540px, 90%); }
.talk__logo p { margin: -8px 0 0 min(27%, 150px); color: #36b3ec; font: 500 clamp(.72rem, 1.6vw, .92rem)/1 var(--mont); letter-spacing: .24em; text-transform: uppercase; }
.talk__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 44px); align-items: start; margin-top: 44px; }
.talk__copy h2 { font: 600 clamp(3rem, 6.500vw, 4.300rem)/1.1 var(--sora); }
.talk__sub { margin: 12px 0; font: 600 clamp(1.2rem, 2.3vw, 1.6rem)/1.2 var(--sora); }
.talk__copy > p:last-of-type { color: #dfe6ee; font-size: 1.1rem; }
.talk__data { display: grid; gap: 8px; margin-top: 18px; font-size: .95rem; }
.talk__data span { display: inline-block; width: 90px; color: #9fb0c3; }
.talk__data a { color: #fff; font-weight: 600; text-decoration: none; }
.talk__data a:hover { color: var(--cyan-2); }
.talk__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 30px 34px; border: 2px solid #182c43; border-radius: 16px; }
.field label:not(.consent) { display: block; margin-bottom: 4px; font-size: .78rem; }
.field input:not([type='checkbox']), .field textarea { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid #16304c; border-radius: 4px; background: #021c36; color: #fff; font-size: .9rem; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder, .field textarea::placeholder { color: #9fb0c3; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 174, 239, .2); }
.field--wide { grid-column: 1 / -1; }
.field small { display: none; margin-top: 4px; color: #ff9b85; font-size: .74rem; }
.field.is-bad small { display: block; }
.field.is-bad input:not([type='checkbox']), .field.is-bad textarea { border-color: #ff9b85; }
.send-btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 34px; border: 0; border-radius: 8px; background: var(--grad); color: #03202f; font-size: .86rem; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.send-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 174, 239, .4); }
.send-btn span { transition: transform .2s; }
.send-btn:hover span { transform: translateX(4px); }
.talk .form-status { color: #6ee7b7; }

.footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px 24px; padding: 0 clamp(20px, 4vw, 46px) 26px; }
.footer__logo img { height: 36px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.footer nav a { padding: 6px 0; font-size: .82rem; text-decoration: none; }
.footer nav a:hover { color: var(--cyan-2); }
.footer .pill-btn { justify-self: end; }
.footer__legal { grid-column: 1 / -1; color: #9fb0c3; font-size: .76rem; text-align: center; }

.wa-float { position: fixed; right: 20px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); box-shadow: 0 8px 24px rgba(0, 174, 239, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; fill: none; stroke: #3dff7f; stroke-width: 0.9; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(0, 50, 30, .55)); }
:root[data-theme='dark'] .hero ~ .wa-float { bottom: 18px; }

/* Transición circular entre temas */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }

/* Portafolio */
.pf-hero { position: relative; display: grid; justify-items: center; padding: calc(var(--nav-h) + 26px) 20px 30px; overflow: hidden; text-align: center; }
.pf-hero__art { position: relative; width: min(470px, 82%); margin-bottom: 18px; }
.pf-hero__art > img { position: relative; z-index: 2; animation: drift 7s ease-in-out infinite; }
.pf-hero .folder--drag { z-index: 1; }
.pf-hero h1 { font: 600 clamp(3.2rem, 9vw, 6rem)/1 var(--sora); letter-spacing: -.02em; }
.pf-hero .lead { max-width: 58ch; margin: 20px auto; color: var(--muted); font: 300 clamp(1rem, 1.8vw, 1.2rem)/1.3 var(--mont); }
.pf-title { color: var(--muted); font: 700 clamp(3rem, 8vw, 5rem)/1 var(--mont); text-align: center; }
.pf-profile { padding-top: var(--gap); overflow: hidden; }
.pf-people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; padding: 0 20px 56px; background: linear-gradient(transparent 128px, var(--pill) 128px, transparent); }
.person { text-align: center; }
.person img { width: clamp(150px, 26vw, 256px); margin: 0 auto; border-radius: 50%; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.person:hover img { transform: translateY(-8px) rotate(-3deg); }
.person h3 { margin-top: 10px; color: var(--muted); font: 700 clamp(1.8rem, 4vw, 2.6rem)/1.2 var(--mont); }
.person p { max-width: 24ch; margin: 6px auto 0; color: var(--muted); font: 400 1rem/1.2 var(--mont); }
.logo-run { overflow: hidden; padding-block: 12px; background: var(--pill); box-shadow: 0 -16px 22px -20px rgba(9, 16, 28, .5); }
.logo-run div { display: flex; gap: 34px; width: max-content; animation: kineticRun 30s linear infinite; }
.logo-run img { flex: none; }
.logo-run img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 2px 6px rgba(9, 16, 28, .25); }
.pf-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; width: min(920px, 100% - 40px); margin: var(--gap) auto 0; }
.pf-num { display: block; color: var(--text); text-decoration: none; }
.pf-num b { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font: 700 clamp(5rem, 15vw, 11rem)/.9 var(--mont); letter-spacing: -.03em; }
.pf-num:nth-child(2) b { background: linear-gradient(90deg, #b6babf, #d9dbdd); -webkit-background-clip: text; background-clip: text; }
.pf-num span { display: block; margin-top: 12px; color: var(--muted); font: 400 clamp(.95rem, 1.7vw, 1.25rem)/1.2 var(--mont); }
.pf-num small { display: block; margin-top: 6px; color: #1f93c9; font-size: .9rem; }
.pf-service { display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 30px; width: min(920px, 100% - 40px); margin: var(--gap) auto 0; }
.pf-service--flip { grid-template-columns: 300px 1fr; }
.pf-service--flip .pf-service__art { order: -1; }
.pf-service__crumb { color: var(--muted); font-size: .84rem; }
.pf-service__crumb b { color: var(--text); }
.pf-service h2 { margin: 10px 0 14px; font: 700 clamp(1.35rem, 2.800vw, 2rem)/1.2 var(--mont); }
.pf-service p, .pf-service li { color: var(--muted); font: 300 1rem/1.4 var(--mont); }
.pf-service ul { display: grid; gap: 10px; margin-top: 14px; }
.pf-service li b { color: var(--text); font-weight: 500; }
.pf-service__art { position: relative; display: grid; place-items: center; }
.pf-service__art img { max-height: 420px; width: auto; animation: drift 6s ease-in-out infinite; }
.pf-clients { margin-top: var(--gap); padding: var(--gap) 20px 0; background: linear-gradient(90deg, var(--bg), var(--pill) 22%); }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(760px, 100%); margin: 56px auto 0; }
.pf-clients .pf-grid { grid-template-columns: repeat(3, 1fr); width: min(1080px, 100%); }
.pf-clients .pf-card { display: flex; flex-direction: column; }
@media (max-width: 900px) { .pf-clients .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pf-clients .pf-grid { grid-template-columns: 1fr; } }
.pf-clients { padding-bottom: var(--gap); }
.pf-clients.pf-own { margin-top: 0; padding-top: 0; padding-bottom: 0; }
.pf-own .pf-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); width: min(1080px, 100%); }
.pf-own .pf-card { display: flex; flex-direction: column; }
.pf-own .pf-card p:last-child { margin-top: auto; padding-top: 14px; }
.pf-card { padding: 34px; border-radius: 18px; background: var(--card); transition: transform .25s, box-shadow .25s; }
.pf-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(9, 16, 28, .13); }
.pf-card img { width: 86px; border-radius: 50%; box-shadow: 0 4px 10px rgba(9, 16, 28, .25); }
.pf-card h3 { margin-top: 16px; color: var(--muted); font: 700 1.5rem/1.2 var(--sora); }
.pf-card h4 { margin-top: 10px; color: var(--muted); font: 700 1.02rem/1.25 var(--mont); }
.pf-card p { margin-top: 4px; color: var(--muted); font: 300 1rem/1.35 var(--mont); }
.pf-close { display: grid; justify-items: center; gap: 28px; padding: var(--gap) 20px 0; overflow: hidden; background: linear-gradient(90deg, var(--bg), var(--pill) 22%); text-align: center; }
.pf-close .pill-btn { margin-bottom: 8px; }
.pf-close img { width: min(520px, 90%); height: 300px; object-fit: cover; object-position: top; filter: grayscale(1); margin-bottom: 0; }
.pf-footer { padding: 18px; background: #8f9296; color: #09101c; font-size: .82rem; text-align: center; }
.pf-footer a { font-weight: 600; }

/* Responsive */
@media (max-width: 1020px) {
  .case-panel__in { grid-template-columns: repeat(2, 1fr); }
  .cp--logo { display: none; }
}
@media (max-width: 860px) {
  .allies { grid-template-columns: 1fr; }
  #aliado { padding-top: calc(var(--gap) - 26px); }
  :root { --nav-h: 66px; --gap: 60px; }
  .nav__in { grid-template-columns: 1fr auto; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__cta-m { display: inline-flex; margin-top: 10px; }
  .nav__menu { position: fixed; inset: var(--nav-h) 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.pill-btn) { padding: 13px 0; font-size: 1rem; }
  .hero { height: auto; min-height: 0; grid-template-rows: auto auto; align-content: start; padding-top: 250px; }
  .bubble--xl { --s: 128px; }
  .bubble--lg { --s: 92px; }
  .bubble--md { --s: 68px; }
  .bubble--sm { --s: 44px; }
  .bubble--soft, .bubble__tag { display: none; }
  .folder--drag { pointer-events: none; }
  .case-stage .folder--drag { display: none; }
  .wheel { touch-action: pan-y; }
  .hero__cta { gap: 10px; }
  .hero .pill-btn { min-width: 96px; padding: 0 16px; }
  .hero .hint { padding-inline: 22px; }
  .mic { width: 60px; height: 60px; top: 190px; bottom: auto; right: auto; left: 16px; }
  .mic svg { width: 32px; }
  .case-stage { grid-template-columns: 1fr; min-height: 0; }
  .wheel { height: 300px; }
  .sim__grid, .talk__grid, .pf-service, .pf-service--flip { grid-template-columns: 1fr; }
  .pf-service--flip .pf-service__art { order: 0; }
  .pf-service__art img { max-height: 300px; }
  .footer { grid-template-columns: 1fr; justify-items: center; }
  .footer .pill-btn { justify-self: center; }
}
@media (max-width: 620px) {
  .showcase__tabs { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; scrollbar-width: none; }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .showcase__tabs button { flex: 0 0 auto; min-width: 168px; scroll-snap-align: start; }
  .showcase__tabs button { min-height: 54px; padding: 8px 10px; gap: 8px; }
  .showcase__tabs img { width: 32px; height: 32px; }
  .showcase__tabs b { font-size: .78rem; }
  .screen__badge { display: none; }
  .screen__talk { right: 8px; bottom: 8px; gap: 6px; max-width: calc(100% - 16px); }
  .screen__talk img { width: 32px; height: 32px; }
  .screen__talk p { padding: 7px 10px; font-size: .74rem; }
  .screen__cursor { width: 18px; height: 18px; }
  .showcase__info { flex-direction: column; align-items: flex-start; }
  .browser__tab { width: 130px; padding-left: 12px; }
  .browser__url { margin-left: 4px; }
  .browser__body { grid-template-columns: 1fr; }
  .browser__side { border-right: 0; border-bottom: 1px solid #c8cbc9; }
  #brList { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  #brList button { padding-left: 6px; }
  .browser__home { display: none; }
  .browser__main { padding: 20px 16px; }
  .tip { display: none; }
  .case-panel__in { grid-template-columns: 1fr; }
  .cp { min-height: 0; }
  .sim { padding: 16px; }
  .calc { grid-template-columns: 1fr; }
  .sim__tabs { width: 100%; }
  .sim__tabs button { flex: 1 1 auto; padding: 0 8px; font-size: .78rem; }
  .talk__form { grid-template-columns: 1fr; padding: 20px; }
  .band__rocket { left: 8%; }
  .band__dino--a { left: 4%; }
  .band__dino--b { right: 5%; }
  .pf-grid, .pf-nums { grid-template-columns: 1fr; }
  .pf-people { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js [data-split] .w > span { transform: none; }
}
