/* Brizacorp — tokens del kit de marca (PrimaryLockup 01–06) */
@font-face { font-family: "Founders Grotesk"; src: url("../assets/fonts/founders-grotesk-regular.woff2?v=43a7cac307") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Founders Grotesk"; src: url("../assets/fonts/founders-grotesk-medium.woff2?v=1c5f485414") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Founders Grotesk"; src: url("../assets/fonts/founders-grotesk-semibold.woff2?v=90c853be7f") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #000141;
  --royal: #370ecc;
  --violet: #8242fa;
  --mint: #bde0da;
  --green: #61ee85;
  --white: #fff;
  --paper: #f6f7f5;
  --ink: #000141;
  --ink-2: #4a4c70;
  --line: rgba(0, 1, 65, .12);
  --radius: 18px;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Founders Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.5 var(--font); color: var(--ink); background: var(--navy); transition: background-color .55s ease; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--green); color: var(--navy); border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* Tipografía */
.h2 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.02; letter-spacing: -.022em; font-weight: 500; max-width: 17ch; text-wrap: balance; }
.h3 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.08; letter-spacing: -.015em; font-weight: 500; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 46ch; }
.hl { color: var(--green); }
.hl--violet { color: var(--violet); }

/* Botones */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 17px; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--green { background: var(--green); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); background: transparent; color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--line { border-color: var(--line); color: var(--navy); }
@media (hover: hover) {
  .btn:hover svg { transform: translateX(4px); }
  .btn--green:hover { box-shadow: 0 0 0 6px rgba(97, 238, 133, .22); }
  .btn--ghost:hover { border-color: var(--white); }
  .btn--navy:hover { background: var(--royal); }
  .btn--line:hover { border-color: var(--navy); }
}

/* Navegación */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 var(--gutter); color: var(--white); transition: background-color .3s, color .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark { width: 15px; height: 25px; color: var(--green); }
.nav.is-solid .brand__mark { color: var(--violet); }
.brand__word { font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 17px; }
.nav__links a { position: relative; padding: 6px 0; opacity: .86; transition: opacity .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
@media (hover: hover) { .nav__links a:hover { opacity: 1; } .nav__links a:hover::after { transform: scaleX(1); } }
.nav__cta { min-height: 42px; padding: 0 20px; font-size: 16px; }
.nav__toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; min-height: min(100svh, 900px); padding-top: 68px; color: var(--white); background: none; overflow: hidden; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(16px, 3vw, 40px); margin-block: auto; padding-block: clamp(28px, 6vh, 72px); }
.hero__title { font-size: clamp(42px, 7.4vw, 92px); line-height: .98; letter-spacing: -.03em; font-weight: 500; max-width: 13ch; text-wrap: balance; }
.hero__lead { margin-top: 26px; max-width: 44ch; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.42; color: rgba(255, 255, 255, .78); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 26px 34px; border-top: 1px solid rgba(255, 255, 255, .16); }
.stats dt { font-size: clamp(30px, 4.4vw, 52px); line-height: 1; letter-spacing: -.02em; font-weight: 500; font-variant-numeric: tabular-nums; }
.stats dd { margin-top: 8px; font-size: 16px; color: rgba(255, 255, 255, .7); }

/* Secciones */
.section { padding-block: clamp(72px, 11vw, 140px); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* Problemas */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 64px); }
.pcard { padding: 28px 26px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s, background-color .3s; }
.pcard__n { display: block; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--violet); }
.pcard h3 { margin-top: 14px; font-size: 26px; line-height: 1.1; letter-spacing: -.012em; font-weight: 500; }
.pcard p { margin-top: 12px; color: var(--ink-2); }
@media (hover: hover) { .pcard:hover { border-color: var(--navy); background: var(--paper); } }

/* Antes / después */
.ba__grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.ba__copy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(24px, 5vw, 72px); align-items: end; }
.ba__copy .h2 { grid-row: span 2; align-self: start; }
.ba__copy .lead { margin-top: 0; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks svg { flex: none; width: 20px; height: 20px; color: var(--violet); }
.window { --pos: 50%; }
.window__frame { position: relative; aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; background: var(--mint); box-shadow: 0 0 0 10px var(--white), 0 0 0 11px var(--line), 0 40px 80px -40px rgba(0, 1, 65, .45); touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.window__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.window__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.window__tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(0, 1, 65, .72); color: var(--white); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.window__tag--b { left: 16px; }
.window__tag--a { right: 16px; background: var(--green); color: var(--navy); }
.window__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); }
.window__handle span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--white); color: var(--navy); box-shadow: 0 6px 20px rgba(0, 1, 65, .3); }
.window__handle svg { width: 22px; height: 22px; }
.window__note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--ink-2); }
.window__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.window__frame:has(.window__range:focus-visible) { outline: 2px solid var(--violet); outline-offset: 14px; }

/* Servicios */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 64px); }
.svc__item figure { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--mint); }
.svc__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
@media (hover: hover) { .svc__item:hover img { transform: scale(1.04); } }
.svc__item h3 { margin-top: 20px; font-size: 28px; line-height: 1.1; letter-spacing: -.012em; font-weight: 500; }
.svc__item p { margin-top: 8px; color: var(--ink-2); max-width: 34ch; }

/* Plataforma */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(97, 238, 133, .7); } 100% { box-shadow: 0 0 0 9px rgba(97, 238, 133, 0); } }

/* Equipo */
.team__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.team__grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: clamp(36px, 5vw, 64px); }
.team__photo, .team__video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mint); }
.team__photo img, .team__video img { width: 100%; height: 100%; object-fit: cover; }
.team__photo--tall { grid-row: span 2; }
.team__video { padding: 0; border: 0; aspect-ratio: 16 / 10; cursor: pointer; }
.team__grid > .team__photo:not(.team__photo--tall) { grid-row: span 2; }
.card-home { display: flex; flex-direction: column; justify-content: center; padding: 28px; border-radius: var(--radius); background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 16px; }
.card-home__title { margin-bottom: 12px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; font-weight: 600; letter-spacing: -.01em; color: var(--white); }
.card-home__title span { display: inline-block; padding: 0 .3em; border-radius: 999px; background: var(--green); color: var(--navy); }

/* Clientes */

/* Podcast */

/* Demo */
.demo { padding-block: clamp(72px, 11vw, 140px); color: var(--white); background: none; }
.demo__grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.demo__copy .lead { margin-top: 22px; color: rgba(255, 255, 255, .8); }
.form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--white); color: var(--navy); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.form input:not([type="checkbox"]), .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-size: 17px; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 84px; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(130, 66, 250, .16); }
.form .is-invalid { border-color: #c4254a !important; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__check { display: flex !important; align-items: flex-start; gap: 10px; }
.form__check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--violet); }
.form__check a { display: inline-block; padding-block: 10px; margin-block: -10px; text-decoration: underline; }
.form .btn { margin-top: 4px; }
.form__status { min-height: 22px; font-size: 15px; }
.form__status.is-error { color: #c4254a; }
.form__status.is-ok { color: #0a7a35; }

/* Pie */

/* Reproductor */

/* Adaptación */
@media (max-width: 960px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 24px; background: var(--white); color: var(--navy); font-size: 22px; box-shadow: 0 30px 60px -30px rgba(0, 1, 65, .4); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .3s; }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav__links a::after { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
  .ba__copy, .demo__grid, .team__head { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .ba__copy .h2 { grid-row: auto; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .team__photo--tall, .team__grid > .team__photo:not(.team__photo--tall) { grid-row: auto; aspect-ratio: 4 / 5; }
  .team__video { grid-column: 1 / -1; order: -1; }
  .card-home { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .window__frame { aspect-ratio: 4 / 3; border-radius: 18px; box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--line), 0 30px 60px -36px rgba(0, 1, 65, .45); }
  .cards3, .svc { grid-template-columns: 1fr; }
  .svc__item figure { aspect-ratio: 5 / 4; }
  .stats { gap: 14px; }
  .stats dd { font-size: 14px; line-height: 1.25; }
}
@media (max-width: 480px) {
  .nav { gap: 10px; }
  .nav__cta { padding: 0 16px; font-size: 15px; }
  .brand__word { font-size: 20px; }
    .hero__cta .btn { flex: 1 1 100%; }
    .stats { gap: 10px; }
  .stats dt { font-size: clamp(22px, 7.4vw, 30px); }
  .stats dd { font-size: 13px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero__inner { padding-block: 36px; }
  .hero__title { font-size: clamp(34px, 6vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
