/* Página «en construcción»: lo mínimo de sitio.css de la landing (estilo «CleanShot X», tokens de marca.css). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 450 1rem/1.6 var(--f); color: var(--grafito); background: var(--papel); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-underline-offset: 3px; }
h1 { font-family: var(--f); font-weight: 600; font-size: clamp(2.375rem, 6.2vw, 3.75rem); line-height: 1.1; letter-spacing: -.02em; color: var(--tinta); margin: 22px 0 18px; text-wrap: balance; max-width: 18ch; }
p { margin: 0 0 1em; }
:focus-visible { outline: none; box-shadow: var(--enfoque); border-radius: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salto { position: absolute; left: 12px; top: -60px; background: var(--banda); color: #fff; padding: 10px 14px; border-radius: var(--r-ctl); z-index: 100; }
.salto:focus { top: 12px; }
.cont { max-width: var(--cont); margin: 0 auto; padding: 0 20px; }
::selection { background: var(--relleno); color: #fff; }

.cab { background: var(--papel); border-bottom: 1px solid var(--linea); }
.cab__in { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 20px; }
.cab__logo img { height: 27px; width: auto; mix-blend-mode: multiply; }
:root[data-tema="oscuro"] .cab__logo img, :root[data-tema="oscuro"] .pie img { filter: invert(1) hue-rotate(180deg); mix-blend-mode: lighten; }
.tema { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--grafito); cursor: pointer; }
:root[data-tema] .tema { display: inline-grid; }
.tema:hover { background: var(--boton-claro); }
.tema span { display: grid; }
:root[data-tema="oscuro"] .tema__luna, :root[data-tema="claro"] .tema__sol { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-ctl); font: 550 .9375rem/1 var(--f); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.btn:active { transform: scale(.98); }
.btn--azul { background: var(--relleno); color: #fff; border-color: #fff; box-shadow: var(--sombra-boton); }
.btn--azul:hover { background: var(--relleno-hover); color: #fff; }
.btn--linea { background: var(--superficie); border-color: var(--grafito); color: var(--grafito); }
.btn--linea:hover { background: var(--grafito); color: var(--papel); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.insignia { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 13px 8px 8px; border-radius: var(--r-ctl); background: var(--banda); color: #fff; font: 550 .875rem/1.43 var(--f); letter-spacing: .01em; }
.insignia i { font-style: normal; padding: 2px 8px; border-radius: 8px; background: var(--relleno); color: #fff; font-size: .8125rem; line-height: 1.4; }
.barrido { background: var(--barrido); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.hero { position: relative; padding: 72px 0 80px; text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -80px 0 auto 0; height: 640px; z-index: -1; background: radial-gradient(60% 70% at 50% 25%, color-mix(in srgb, var(--brillo) 75%, transparent), transparent 75%); pointer-events: none; }
.hero__txt { display: flex; flex-direction: column; align-items: center; }
.hero__lead { max-width: 46ch; margin: 0 auto 28px; font-size: 1.125rem; line-height: 1.67; color: var(--tenue); letter-spacing: .01em; }

/* «video»: escena animada dentro de un contenedor de 20px */
.vid { position: relative; max-width: 980px; margin: 56px auto 0; }
.vid__escena { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 9; background: radial-gradient(120% 100% at 50% 0%, var(--brillo) 0%, color-mix(in srgb, var(--brillo) 35%, var(--superficie)) 60%, var(--superficie) 100%); box-shadow: var(--sombra-card); }
.vid svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vid__chip { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-ctl); background: var(--superficie); color: var(--grafito); font: 550 .8125rem/1.4 var(--f); box-shadow: var(--sombra-chip); }
.vid__punto { width: 8px; height: 8px; border-radius: 50%; background: var(--relleno); animation: parpadeo 1.6s ease-in-out infinite; }
@keyframes parpadeo { 50% { opacity: .3; } }
.vid__pausa { position: absolute; right: 16px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(15 15 18 / .72); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.vid__pausa:hover { background: rgb(15 15 18 / .88); }
.vid #pausa:focus-visible ~ .vid__escena .vid__pausa { box-shadow: var(--enfoque); }
.vid .i-play { display: none; }
.vid:has(#pausa:checked) .i-pausa { display: none; }
.vid:has(#pausa:checked) .i-play { display: block; }
.vid__barra { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgb(255 255 255 / .18); }
.vid__barra i { display: block; height: 100%; background: var(--relleno); transform-origin: left; }
@media (max-width: 640px) { .vid { margin-top: 36px; } .vid__chip { left: 10px; top: 10px; font-size: .75rem; } .vid__pausa { right: 10px; top: 8px; } }

.pie { background: var(--banda); color: #fff; padding-top: 48px; }
.pie__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding-bottom: 32px; font-size: .9375rem; line-height: 1.7; color: var(--banda-tenue); }
@media (max-width: 560px) { .pie__in { grid-template-columns: 1fr; } }
.pie h2 { font: 550 .8125rem/1.23 var(--f); letter-spacing: .02em; color: var(--banda-tenue); margin: 0 0 12px; }
.pie p { margin: 0 0 10px; }
.pie a { color: #fff; text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie img { margin-bottom: 12px; filter: invert(1) hue-rotate(180deg); mix-blend-mode: lighten; }
.pie__fin { max-width: var(--cont); margin: 0 auto; padding: 20px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .8125rem; color: var(--banda-tenue); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .hero__txt > * { animation: sube .7s var(--ease) both; }
  .hero__txt > :nth-child(2) { animation-delay: .06s; }
  .hero__txt > :nth-child(3) { animation-delay: .12s; }
  .hero__txt > :nth-child(4) { animation-delay: .18s; }
  .vid { animation: sube .9s var(--ease) .2s both; }
}
