/* ==========================================================================
   Avanssun — home v2 (nueva.php)
   Dos mundos sobre el mismo HTML, según <html data-mode>:
     diff → malla de color + vidrio (el estado normal de la página)
     same → gris neumórfico, "lo de siempre" (sólo el arranque, o si mueven la llave)
   Los colores salen de la mariposa del logo: ala gris, magenta, púrpura, índigo.
   ========================================================================== */

:root {
  --night:   #0E0A2A;
  --indigo:  #1B1464;
  --purple:  #662D91;
  --magenta: #93278F;
  --volt:    #E030FF;
  --amber:   #FFAA3B;
  --ala:     #9B9B9B;

  /* mundo "diferente" */
  --bg:           var(--night);
  --ink:          #FFFFFF;
  --ink-soft:     rgba(255, 255, 255, .78);
  --panel-bg:     rgba(255, 255, 255, .075);
  --panel-edge:   rgba(255, 255, 255, .22);
  --panel-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 34px 70px -28px rgba(6, 3, 26, .75);
  --panel-filter: blur(22px) saturate(170%);
  --clay:         #6A2A97;
  --clay-dark:    #4A1B6C;
  --clay-light:   #8C3CC2;
  --clay-ink:     #FFFFFF;
  --accent:       var(--amber);
  --accent-ink:   var(--night);
  --focus:        var(--amber);

  --pad:  clamp(16px, 5vw, 72px);
  --wide: 1320px;
  --display: "Anybody", "Arial Black", system-ui, sans-serif;
  --text:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html[data-mode="same"] {
  --bg:           #E2E3E9;
  --ink:          #3B3D48;
  --ink-soft:     #6A6D79;
  --panel-bg:     #E2E3E9;
  --panel-edge:   transparent;
  --panel-shadow: 14px 14px 30px #C1C3CC, -14px -14px 30px #FFFFFF;
  --panel-filter: none;
  --clay:         #E2E3E9;
  --clay-dark:    #C1C3CC;
  --clay-light:   #FFFFFF;
  --clay-ink:     #3B3D48;
  --accent:       #E2E3E9;
  --accent-ink:   #3B3D48;
  --focus:        #3B3D48;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }

html[data-mode="same"] .only-diff,
html[data-mode="diff"] .only-same { display: none !important; }

/* --------------------------------------------------------------------------
   Malla de color
   -------------------------------------------------------------------------- */
.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--night);
}
html[data-mode="same"] .mesh { display: none; }

.mesh__blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(
    calc(var(--tx, 0) * 1vw + var(--px, 0px)),
    calc(var(--ty, 0) * 1vh + var(--py, 0px)), 0);
}
.mesh__blob--indigo  { width: 95vmax; height: 95vmax; left: -32vmax; top: -38vmax;
                       background: radial-gradient(closest-side, #3423C4 0%, rgba(52, 35, 196, .55) 45%, transparent 100%); }
.mesh__blob--magenta { width: 80vmax; height: 80vmax; right: -30vmax; top: -6vmax;
                       background: radial-gradient(closest-side, #D02BB0 0%, rgba(208, 43, 176, .5) 42%, transparent 100%); }
.mesh__blob--purple  { width: 90vmax; height: 90vmax; left: 4vw; bottom: -52vmax;
                       background: radial-gradient(closest-side, #8A36D6 0%, rgba(138, 54, 214, .5) 45%, transparent 100%); }
.mesh__blob--volt    { width: 42vmax; height: 42vmax; right: 6vw; bottom: -8vmax;
                       background: radial-gradient(closest-side, rgba(224, 48, 255, .85) 0%, rgba(224, 48, 255, .3) 50%, transparent 100%); }
.mesh__blob--amber   { width: 34vmax; height: 34vmax; left: 46vw; top: 104vh;
                       background: radial-gradient(closest-side, rgba(255, 154, 61, .9) 0%, rgba(255, 154, 61, .32) 50%, transparent 100%); }

.mesh__grain {
  position: absolute;
  inset: 0;
  opacity: .22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Superficie compartida: vidrio en "diff", relieve en "same"
   -------------------------------------------------------------------------- */
.panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-edge);
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: var(--panel-filter);
  backdrop-filter: var(--panel-filter);
  border-radius: 28px;
}

[data-depth] { will-change: transform; }

/* --------------------------------------------------------------------------
   Barra superior
   -------------------------------------------------------------------------- */
.top {
  position: fixed;
  z-index: 40;
  top: 14px;
  left: 50%;
  width: min(calc(100% - 28px), var(--wide));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem .6rem .5rem 1rem;
  border-radius: 999px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-edge);
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: var(--panel-filter);
  backdrop-filter: var(--panel-filter);
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__icon { width: 34px; height: 40px; object-fit: contain; }
html[data-mode="diff"] .top {
  background: rgba(22, 13, 60, .62);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
}
html[data-mode="same"] .brand__icon { filter: grayscale(1); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--display);
  font-variation-settings: "wdth" 135, "wght" 800;
  font-size: 1.02rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand__tag { font-size: .78rem; color: var(--ink-soft); }

.top__side { display: flex; align-items: center; gap: .9rem; }

.langs { display: flex; gap: .15rem; font-size: .85rem; font-weight: 600; }
.langs a { padding: .35rem .5rem; border-radius: 999px; text-decoration: none; color: var(--ink-soft); }
.langs a[aria-current="true"] { color: var(--ink); background: rgba(255, 255, 255, .14); }
html[data-mode="same"] .langs a[aria-current="true"] {
  background: transparent;
  box-shadow: inset 3px 3px 6px #C1C3CC, inset -3px -3px 6px #FFFFFF;
}

/* --------------------------------------------------------------------------
   Botón
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(255, 170, 59, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--small { padding: .6rem 1.1rem; font-size: .92rem; }

html[data-mode="same"] .btn { box-shadow: 6px 6px 14px #C1C3CC, -6px -6px 14px #FFFFFF; }
html[data-mode="same"] .btn:active { box-shadow: inset 5px 5px 12px #C1C3CC, inset -5px -5px 12px #FFFFFF; }

/* --------------------------------------------------------------------------
   Titular tipo afiche. El JS ajusta el ancho de letra de cada renglón para
   que todos lleguen de borde a borde (ver fitPoster en home2.js).
   -------------------------------------------------------------------------- */
.poster { font-family: var(--display); text-transform: uppercase; }

.ln {
  display: block;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  line-height: .86;
  font-variation-settings: "wdth" var(--wdth, 100), "wght" var(--wght, 700);
}

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  max-width: var(--wide);
  margin-inline: auto;
  padding: 104px var(--pad) clamp(28px, 5vh, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(1.75rem, 4.5vh, 3rem);
}

.hero__type { display: grid; overflow: hidden; }
.poster .ln:first-child { padding-top: .2em; }   /* aire para los acentos: ¿QUERÉS */
.hero__type > .poster { grid-area: 1 / 1; align-self: end; min-width: 0; }

/* antes de que corra el JS: tamaños que entran solos */
.poster--diff .ln { font-size: min(12.5vw, 17vh); --wdth: 62; }
.poster--same .ln { font-size: min(8.4vw, 11vh); --wdth: 100; --wght: 400; line-height: 1; }

.poster--same { color: #747783; text-shadow: 2px 2px 3px #FFFFFF, -1px -1px 2px rgba(150, 153, 165, .55); }

html[data-mode="same"] .poster--diff,
html[data-mode="diff"] .poster--same { visibility: hidden; }

.hero__row {
  display: grid;
  grid-template-columns: auto minmax(0, 34rem);
  justify-content: space-between;
  align-items: end;
  gap: 1.75rem 3rem;
}

.hero__pitch { display: grid; gap: 1.25rem; justify-items: start; }
.hero__pitch p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--ink-soft); }
html[data-mode="diff"] .hero__pitch p { color: #fff; }

/* Llave: relieve gris en "same", vidrio con una perilla encendida en "diff" */
.switch {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: 600 1rem/1 var(--text);
  cursor: pointer;
}
.switch__label { transition: color .3s; }
html[data-mode="same"] .switch__label--same,
html[data-mode="diff"] .switch__label--diff { color: var(--ink); }

.switch__track {
  position: relative;
  flex: none;
  width: 104px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 2px 10px rgba(6, 3, 26, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.switch__knob {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translateX(50px);
  background: radial-gradient(circle at 32% 28%, #FFE2A8 0%, var(--amber) 38%, #E0338F 100%);
  box-shadow: 0 0 26px 4px rgba(255, 170, 59, .6), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .45s cubic-bezier(.6, 0, .2, 1.3);
}
html[data-mode="same"] .switch__track {
  background: #E2E3E9;
  border-color: transparent;
  box-shadow: inset 6px 6px 12px #C1C3CC, inset -6px -6px 12px #FFFFFF;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html[data-mode="same"] .switch__knob {
  transform: translateX(0);
  background: #E2E3E9;
  box-shadow: 5px 5px 10px #B9BBC5, -4px -4px 9px #FFFFFF;
}

/* --------------------------------------------------------------------------
   Bloques
   -------------------------------------------------------------------------- */
.block {
  max-width: var(--wide);
  margin-inline: auto;
  padding: clamp(5rem, 14vh, 10rem) var(--pad);
}

.h-xl {
  font-family: var(--display);
  font-variation-settings: "wdth" 112, "wght" 760;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.012em;
  max-width: 17ch;
  text-wrap: balance;
}

.lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

/* 2. Socio ----------------------------------------------------------------- */
.verbs {
  margin-top: clamp(3rem, 8vh, 5.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}
.verb { padding: clamp(1.4rem, 2.4vw, 2.2rem); overflow: hidden; }
.verb:nth-child(2) { margin-top: 5.5rem; }
.verb:nth-child(3) { margin-top: 2rem; }

.verb__word {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--wdth, 100), "wght" var(--wght, 700);
  font-size: 2.4rem;            /* el JS lo estira al ancho de la tarjeta */
  line-height: .9;
  text-transform: uppercase;
  white-space: nowrap;
  width: max-content;
}
.verb p { margin-top: 1.1rem; font-size: 1.1rem; color: var(--ink-soft); }
html[data-mode="diff"] .verb p { color: rgba(255, 255, 255, .9); }

/* 3. Resultados ------------------------------------------------------------ */
.results__lead { margin-left: auto; width: fit-content; max-width: 100%; }
.facts {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.clients { margin-top: clamp(4rem, 11vh, 7rem); }
.clients__title { font: 600 1rem/1.3 var(--text); color: var(--ink-soft); }
.clients__wall {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25em .9em;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.1vw, 3.5rem);
  line-height: 1.02;
  text-transform: uppercase;
}
.clients__wall li { font-variation-settings: "wdth" var(--wdth, 100), "wght" var(--wght, 600); }

/* 4. Quiénes somos --------------------------------------------------------- */
.who {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.who__photo {
  position: relative;
  padding: 12px;
  border-radius: 999px 999px 36px 36px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-edge);
  box-shadow: var(--panel-shadow);
  -webkit-backdrop-filter: var(--panel-filter);
  backdrop-filter: var(--panel-filter);
}
.who__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 999px 999px 26px 26px;
}
html[data-mode="same"] .who__photo img { filter: grayscale(1) contrast(.92); }

.founder { margin-top: 2.25rem; padding: clamp(1.4rem, 2.4vw, 2rem); max-width: 36rem; }
.founder__name {
  font-family: var(--display);
  font-variation-settings: "wdth" 140, "wght" 820;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}
.founder__role { margin-top: .5rem; font-weight: 600; color: var(--accent); }
html[data-mode="same"] .founder__role { color: var(--ink); }
.founder__bio  { margin-top: 1rem; color: var(--ink-soft); }
html[data-mode="diff"] .founder__bio { color: rgba(255, 255, 255, .9); }

/* 5. Servicios: bento de vidrio ---------------------------------------------- */
.bento {
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(12.5rem, auto);
  grid-auto-flow: dense;
  gap: clamp(.75rem, 1.5vw, 1.25rem);
}

.svc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
}
.svc--big  { grid-column: span 2; grid-row: span 2; }
.svc--wide { grid-column: span 2; }

/* un reflejo de color distinto dentro de cada vidrio */
.svc::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 78%;
  aspect-ratio: 1;
  right: -26%;
  bottom: -46%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, rgba(224, 48, 255, .5)), transparent);
  pointer-events: none;
}
.svc:nth-child(4n + 1)::before { --glow: rgba(255, 154, 61, .42); right: auto; left: -22%; }
.svc:nth-child(4n + 2)::before { --glow: rgba(224, 48, 255, .46); bottom: auto; top: -48%; }
.svc:nth-child(4n + 3)::before { --glow: rgba(88, 110, 255, .55); }
.svc:nth-child(4n + 4)::before { --glow: rgba(255, 92, 170, .44); right: auto; left: -18%; bottom: auto; top: -52%; }
html[data-mode="same"] .svc::before { display: none; }

.svc__name {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--wdth, 100), "wght" var(--wght, 700);
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: .95;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.svc--wide .svc__name { font-size: clamp(1.7rem, 3.1vw, 2.7rem); }
.svc--big  .svc__name { font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: .9; white-space: nowrap; width: max-content; }  /* el JS lo estira al ancho de la tarjeta */

.svc__text { font-size: 1.02rem; line-height: 1.4; color: var(--ink-soft); max-width: 30rem; }
html[data-mode="diff"] .svc__text { color: rgba(255, 255, 255, .9); }
.svc--big .svc__text { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 24rem; }

/* la última: lo que todavía no existe */
.bento__open { grid-column: 1 / -1; display: grid; }
.svc--open {
  flex-direction: row;
  align-items: flex-end;
  gap: 1.75rem 3rem;
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
html[data-mode="diff"] .svc--open {
  background: linear-gradient(112deg, rgba(255, 170, 59, .34) 0%, rgba(224, 48, 255, .2) 52%, rgba(255, 255, 255, .07) 100%);
  border-color: rgba(255, 196, 120, .55);
}
.svc--open::before { display: none; }
.svc--open:hover { transform: translateY(-3px); }
html[data-mode="diff"] .svc--open:hover { border-color: var(--amber); }

.svc__ask { display: grid; gap: .12em; font-family: var(--display); font-size: clamp(1.7rem, 4.3vw, 3.8rem); line-height: .95; text-transform: uppercase; }
.svc__q { font-variation-settings: "wdth" 84, "wght" 300; }
.svc__a { font-variation-settings: "wdth" 122, "wght" 900; }

.svc__side { flex: none; width: min(100%, 19rem); display: grid; gap: 1rem; justify-items: start; margin-left: auto; }
.svc__go {
  font-weight: 700;
  font-size: 1.05rem;
  padding-bottom: .15rem;
  border-bottom: 2px solid var(--accent);
}
html[data-mode="same"] .svc__go { border-bottom-color: var(--ink); }

/* 6. Agenda: arcilla de color, teclas en relieve ---------------------------- */
.end {
  margin-top: clamp(2rem, 6vh, 5rem);
  padding: clamp(4rem, 12vh, 8rem) var(--pad) clamp(3rem, 8vh, 5rem);
  background: var(--clay);
  color: var(--clay-ink);
  border-radius: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0 0;
  box-shadow: inset 0 2px 0 var(--clay-light);
}
html[data-mode="same"] .end { box-shadow: 0 -18px 34px -8px #C1C3CC, inset 0 2px 0 #FFFFFF; }

.end__word {
  max-width: var(--wide);
  margin-inline: auto;
  overflow: hidden;
  font-family: var(--display);
  text-transform: uppercase;
}
.end__word .ln { font-size: min(17vw, 26vh); --wdth: 70; --wght: 900; padding-block: .04em; }

.end__row {
  max-width: var(--wide);
  margin: clamp(2rem, 6vh, 3.5rem) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 30rem) auto;
  justify-content: space-between;
  align-items: center;
  gap: 2rem 3rem;
}
.end__p { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; }
.end__actions { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; }

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1.9rem;
  border-radius: 999px;
  background: var(--clay);
  color: var(--clay-ink);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 10px 10px 22px var(--clay-dark), -10px -10px 22px var(--clay-light);
  transition: box-shadow .16s ease, transform .16s ease;
}
.key:hover  { transform: translateY(-1px); }
.key:active { transform: none; box-shadow: inset 8px 8px 18px var(--clay-dark), inset -8px -8px 18px var(--clay-light); }

.key--main { padding: 1.5rem 2.6rem; font-size: clamp(1.15rem, 1.8vw, 1.4rem); background: var(--accent); color: var(--accent-ink); }
html[data-mode="diff"] .key--main:active { box-shadow: inset 8px 8px 18px #C97A1C, inset -8px -8px 18px #FFD08A; }

/* Pie ---------------------------------------------------------------------- */
.foot {
  background: var(--clay);
  color: var(--clay-ink);
  padding: 1.5rem var(--pad) 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  font-size: .92rem;
}
.foot p, .foot a { opacity: .85; }
.foot ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot a:hover { opacity: 1; }

.preview-flag {
  position: fixed;
  z-index: 60;
  right: 14px;
  bottom: 14px;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: #0E0A2A;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

/* --------------------------------------------------------------------------
   El cambio de modo: el color se abre desde la perilla de la llave
   -------------------------------------------------------------------------- */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; animation: bloom .95s cubic-bezier(.65, 0, .25, 1) both; }

@keyframes bloom {
  from { clip-path: circle(0 at var(--vx, 50%) var(--vy, 50%)); }
  to   { clip-path: circle(160vmax at var(--vx, 50%) var(--vy, 50%)); }
}

/* --------------------------------------------------------------------------
   Pantallas chicas
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .brand__tag { display: none; }
  .brand__name { font-size: .88rem; font-variation-settings: "wdth" 112, "wght" 800; letter-spacing: .02em; }
  .brand { gap: .45rem; }
  .top { padding-left: .8rem; gap: .5rem; }
  .top__side { gap: .3rem; }
  .langs a { padding: .3rem .38rem; font-size: .8rem; }
  .btn--small { padding: .55rem .9rem; font-size: .88rem; }

  .hero { padding-top: 92px; }
  .hero__row { grid-template-columns: minmax(0, 1fr); align-items: start; }

  .verbs { grid-template-columns: minmax(0, 1fr); }
  .verb:nth-child(n) { margin-top: 0; }

  .results__lead { margin-left: 0; }

  .who { grid-template-columns: minmax(0, 1fr); }
  .who__photo { max-width: 26rem; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(10.5rem, auto); }
  .svc--big { grid-row: span 1; }
  .svc--open { flex-direction: column; align-items: flex-start; }
  .svc__side { margin-left: 0; }

  .end__row { grid-template-columns: minmax(0, 1fr); }
  .end__actions { gap: 1.1rem; }
  .key { width: 100%; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .svc--big, .svc--wide { grid-column: auto; }
  .svc { min-height: 9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .key, .switch__knob, .svc--open { transition: none; }
  ::view-transition-new(root) { animation: none; }
}
