/* ==========================================================================
   Tokio Sushi Roll — sitio publico (Modules/SitioWebCMS)
   Tinta sumi + naranja Tokio (Pantone 1505c). Motivo: la banda kaiten.
   ========================================================================== */

:root {
    --sumi: #0e0d0c;
    --carbon: #171513;
    --plato: #1f1c19;
    --linea: rgba(244, 238, 231, .09);
    --washi: #f4eee7;
    --ceniza: #a39a91;
    --tokio: #f36d21;
    --brasa: #c85a15;
    --salmon: #dcc6b6;
    --ok: #3fb56b;
    --error: #ff6b6b;

    /* Titulos: Syne semibold (solo se carga el 600). Todo lo demas: Inter. */
    --f-display: 'Syne', 'Segoe UI', system-ui, sans-serif;
    --f-texto: 'Inter', 'Segoe UI', system-ui, sans-serif;

    --ancho: 1240px;
    --radio: 14px;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    background: var(--sumi);
    color: var(--washi);
    font-family: var(--f-texto);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Todo titulo (h1-h3, tambien los del texto de las paginas legales) va en Syne semibold. */
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--tokio); outline-offset: 3px; border-radius: 4px; }

.tk-contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }

.tk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Botones -------------------------------------------------------------- */

.tk-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 26px;
    border: 1.5px solid var(--tokio); border-radius: 0;
    background: var(--tokio); color: #fff;
    font-weight: 700; font-size: 15px; letter-spacing: .04em;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.tk-btn:hover { background: var(--brasa); border-color: var(--brasa); }
.tk-btn:active { transform: translateY(1px); }
.tk-btn--linea { background: transparent; color: var(--tokio); }
.tk-btn--linea:hover { background: var(--tokio); color: #fff; border-color: var(--tokio); }
.tk-btn--claro { background: transparent; border-color: rgba(244, 238, 231, .35); color: var(--washi); }
.tk-btn--claro:hover { border-color: var(--washi); background: rgba(244, 238, 231, .08); }
.tk-btn--bloque { width: 100%; }
.tk-btn svg { width: 18px; height: 18px; }

/* --- Header --------------------------------------------------------------- */

.tk-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    height: var(--header-h);
    transition: background .3s, box-shadow .3s, height .3s;
}
.tk-header.es-solido,
.tk-header--solido {
    /* Sin backdrop-filter: haria que el menu movil (position: fixed) quede
       atrapado dentro del header al bajar. */
    background: rgba(14, 13, 12, .97);
    box-shadow: 0 1px 0 var(--linea);
}
.tk-header__fila { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tk-header__logo img { height: 50px; width: auto; }

.tk-nav { display: flex; align-items: center; gap: 6px; }
.tk-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tk-nav li { position: relative; }
.tk-nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px;
    font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
    color: rgba(244, 238, 231, .62);
    background: none; border: 0;
    transition: color .2s;
}
.tk-nav__link:hover, .tk-nav__link.es-activo { color: var(--washi); }
.tk-nav__link:not(.tk-nav__link--boton) { position: relative; }
.tk-nav__link:not(.tk-nav__link--boton)::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px;
    background: var(--tokio); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.tk-nav__link:hover::after, .tk-nav__link.es-activo::after { transform: scaleX(1); }
.tk-nav__link--boton {
    margin-left: 12px; padding: 0 24px; min-height: 48px;
    background: var(--tokio); color: #fff; letter-spacing: .04em; text-transform: none; font-size: 16px; font-weight: 700;
}
.tk-nav__link--boton:hover, .tk-nav__link--boton.es-activo { background: var(--brasa); color: #fff; box-shadow: none; }
.tk-nav__flecha { width: 10px; height: 10px; opacity: .7; }

.tk-nav__sub {
    position: absolute; top: 100%; left: 8px; min-width: 220px;
    list-style: none; margin: 0; padding: 8px 0;
    background: var(--carbon); border: 1px solid var(--linea); border-top: 2px solid var(--tokio);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.tk-nav li:hover > .tk-nav__sub, .tk-nav li:focus-within > .tk-nav__sub { opacity: 1; visibility: visible; transform: none; }
.tk-nav__sub a { display: block; padding: 10px 18px; font-size: 14px; color: rgba(244, 238, 231, .75); }
.tk-nav__sub a:hover { color: var(--washi); background: rgba(243, 109, 33, .1); }

.tk-nav__app { display: none; }
.tk-hamburguesa { display: none; width: 46px; height: 46px; border: 1px solid var(--linea); background: transparent; align-items: center; justify-content: center; }
.tk-hamburguesa span, .tk-hamburguesa span::before, .tk-hamburguesa span::after {
    display: block; width: 20px; height: 2px; background: var(--washi); position: relative; transition: transform .25s, background .25s;
}
.tk-hamburguesa span::before, .tk-hamburguesa span::after { content: ''; position: absolute; left: 0; }
.tk-hamburguesa span::before { top: -6px; }
.tk-hamburguesa span::after { top: 6px; }
.nav-abierto .tk-hamburguesa span { background: transparent; }
.nav-abierto .tk-hamburguesa span::before { transform: translateY(6px) rotate(45deg); }
.nav-abierto .tk-hamburguesa span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero con video a pantalla completa ---------------------------------- */

.tk-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--sumi); }
.tk-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.tk-hero__slide.es-activo { opacity: 1; visibility: visible; }
.tk-hero__media, .tk-hero__media video, .tk-hero__media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.tk-hero__slide::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 13, 12, .88) 0%, rgba(14, 13, 12, .45) 48%, rgba(14, 13, 12, .1) 100%),
        linear-gradient(0deg, rgba(14, 13, 12, .9) 0%, rgba(14, 13, 12, 0) 38%);
}
.tk-hero__contenido {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding-bottom: clamp(96px, 14vh, 150px);
}
.tk-hero__etiqueta {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--tokio);
}
.tk-hero__etiqueta::before { content: ''; width: 36px; height: 2px; background: currentColor; }
.tk-hero__subtitulo { margin: 18px 0 0; font-size: clamp(18px, 2.2vw, 26px); font-weight: 500; color: var(--salmon); font-style: italic; }
.tk-hero__titulo {
    margin: 4px 0 0; max-width: 11ch;
    font-family: var(--f-display); font-weight: 600;
    font-size: clamp(48px, 9vw, 128px); line-height: .92; letter-spacing: -.01em;
    text-transform: uppercase;
}
.tk-hero__texto { margin: 22px 0 0; max-width: 520px; font-size: 17px; color: rgba(244, 238, 231, .78); }
.tk-hero__acciones { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.tk-hero__controles {
    position: absolute; z-index: 3; right: 24px; bottom: 40px;
    display: flex; align-items: center; gap: 16px;
}
.tk-hero__puntos { display: flex; gap: 10px; }
.tk-hero__punto { width: 34px; height: 3px; padding: 0; border: 0; background: rgba(244, 238, 231, .25); position: relative; overflow: hidden; }
.tk-hero__punto::after { content: ''; position: absolute; inset: 0; background: var(--tokio); transform: scaleX(0); transform-origin: left; }
.tk-hero__punto.es-activo::after { animation: tk-progreso var(--duracion, 8s) linear forwards; }
.tk-hero__contador { font-size: 13px; letter-spacing: .14em; color: rgba(244, 238, 231, .6); font-variant-numeric: tabular-nums; }
@keyframes tk-progreso { to { transform: scaleX(1); } }

.tk-hero__scroll {
    position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
    width: 26px; height: 42px; border: 1.5px solid rgba(244, 238, 231, .4); border-radius: 14px;
}
.tk-hero__scroll::after {
    content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
    border-radius: 2px; background: var(--tokio); animation: tk-scroll 1.8s ease-in-out infinite;
}
@keyframes tk-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* --- Firma: la banda kaiten ---------------------------------------------- */

.tk-banda {
    position: relative; overflow: hidden;
    background: var(--carbon);
    border-block: 1px solid var(--linea);
    padding: 14px 0;
}
.tk-banda::before, .tk-banda::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.tk-banda::before { left: 0; background: linear-gradient(90deg, var(--carbon), transparent); }
.tk-banda::after { right: 0; background: linear-gradient(-90deg, var(--carbon), transparent); }
.tk-banda__pista { display: flex; width: max-content; animation: tk-banda 38s linear infinite; }
.tk-banda__item {
    display: inline-flex; align-items: center; gap: 14px; padding: 0 26px;
    font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
    color: rgba(244, 238, 231, .7);
}
.tk-plato {
    flex: none; width: 26px; height: 26px; border-radius: 50%;
    background: radial-gradient(circle, var(--washi) 0 34%, var(--c, var(--tokio)) 35% 62%, rgba(0, 0, 0, .25) 63% 68%, var(--c, var(--tokio)) 69%);
}
@keyframes tk-banda { to { transform: translateX(-50%); } }

/* --- Secciones ------------------------------------------------------------ */

.tk-seccion { padding: clamp(72px, 10vw, 120px) 0; }
.tk-seccion--carbon { background: var(--carbon); }
/* Encabezado de seccion a la izquierda: titulo, subtitulo naranja y debajo los filtros. */
.tk-seccion__cabeza { text-align: left; margin: 0 0 28px; }
.tk-seccion__titulo {
    margin: 0; font-family: var(--f-display); font-weight: 600;
    font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; text-transform: uppercase;
}
.tk-seccion__sub { margin: 10px 0 0; color: var(--tokio); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tk-eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--tokio); }

/* --- Filtros de promociones ---------------------------------------------- */

.tk-filtros {
    display: flex; gap: 10px; justify-content: flex-start; flex-wrap: wrap;
    margin: 0 0 36px; padding: 0; list-style: none;
}
.tk-filtro {
    min-height: 42px; padding: 0 20px;
    border: 1px solid var(--linea); border-radius: 999px; background: var(--plato);
    font-size: 14px; font-weight: 500; color: rgba(244, 238, 231, .78);
    transition: all .2s;
}
.tk-filtro:hover { border-color: rgba(243, 109, 33, .6); color: var(--washi); }
.tk-filtros-marco { position: relative; }
.tk-filtros__mas { display: none; }
.tk-filtro.es-activo { background: var(--tokio); border-color: var(--tokio); color: #fff; font-weight: 700; }

.tk-promos { position: relative; min-height: 200px; transition: opacity .25s; }
.tk-promos.es-cargando { opacity: .35; pointer-events: none; }
.tk-promos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.tk-promos__vacio { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ceniza); border: 1px dashed var(--linea); border-radius: var(--radio); }

/* --- Tarjeta de promocion ------------------------------------------------ */

.tk-promo {
    display: flex; flex-direction: column;
    background: var(--plato); border: 1px solid var(--linea); border-radius: var(--radio);
    overflow: hidden;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.tk-promo:hover { transform: translateY(-4px); border-color: rgba(243, 109, 33, .45); box-shadow: 0 22px 40px -24px rgba(243, 109, 33, .45); }

.tk-promo__imagen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--carbon); }
.tk-promo__imagen img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tk-promo:hover .tk-promo__imagen img { transform: scale(1.05); }
.tk-promo__etiqueta {
    position: absolute; top: 14px; left: 14px;
    /* Borde y texto naranja sobre fondo oscuro: se lee sobre cualquier foto. */
    padding: 5px 10px; border-radius: 6px; background: rgba(14, 13, 12, .82); color: var(--tokio);
    border: 1px solid var(--tokio);
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.tk-promo__cuerpo { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 24px; }
.tk-promo__titulo { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.25; }
.tk-promo__resumen { margin: 10px 0 0; color: rgba(244, 238, 231, .72); font-size: 15px; }
.tk-promo__pie { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.tk-promo .tk-btn { min-height: 42px; padding: 0 20px; font-size: 14px; }

.tk-rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--ceniza); letter-spacing: .08em; text-transform: uppercase; }
.tk-rating__estrellas { display: inline-flex; gap: 3px; }
.tk-estrella { width: 16px; height: 16px; fill: #ffc53d; filter: drop-shadow(0 0 5px rgba(255, 197, 61, .35)); }
.tk-estrella.es-vacia { fill: #3a3531; filter: none; }

/* Categorias de la promo, sobre la foto (abajo a la derecha) */
.tk-promo__categorias {
    position: absolute; right: 12px; bottom: 12px; max-width: calc(100% - 24px);
    display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px;
    margin: 0; padding: 0; list-style: none;
}
.tk-promo__categorias li {
    padding: 5px 11px; border-radius: 999px;
    background: rgba(14, 13, 12, .74); border: 1px solid rgba(244, 238, 231, .2);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: var(--washi); font-size: 12px; font-weight: 700; letter-spacing: .03em;
}

.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tk-chips li { padding: 5px 11px; border: 1px solid rgba(220, 198, 182, .3); border-radius: 999px; font-size: 12.5px; color: var(--salmon); }

/* --- Modal (dialog nativo) ----------------------------------------------- */

.tk-modal {
    width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 48px);
    padding: 0; border: 1px solid var(--linea); border-radius: var(--radio);
    background: var(--carbon); color: var(--washi);
    overflow: auto;
}
.tk-modal::backdrop { background: rgba(8, 7, 6, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tk-modal[open] { animation: tk-modal .3s ease; }
@keyframes tk-modal { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.tk-modal__cerrar {
    position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 3;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linea);
    background: rgba(14, 13, 12, .8); display: flex; align-items: center; justify-content: center;
}
.tk-modal__cerrar:hover { border-color: var(--tokio); }
.tk-modal__cerrar svg { width: 18px; height: 18px; }
.tk-modal__cargando { padding: 80px; text-align: center; color: var(--ceniza); }

.tk-detalle { display: grid; grid-template-columns: 1fr 1.05fr; }
.tk-detalle__imagen { position: relative; min-height: 100%; background: var(--sumi); }
.tk-detalle__imagen img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.tk-detalle__info { padding: 40px 36px 36px; }
.tk-detalle__titulo { margin: 8px 0 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; text-transform: uppercase; }
.tk-detalle__datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.tk-dato { padding: 12px 14px; background: var(--plato); border: 1px solid var(--linea); border-radius: 10px; }
.tk-dato dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ceniza); }
.tk-dato dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; }
.tk-detalle__texto { margin-top: 22px; color: rgba(244, 238, 231, .82); }
.tk-detalle__terminos { margin-top: 22px; border-top: 1px solid var(--linea); padding-top: 16px; }
.tk-detalle__terminos summary { cursor: pointer; font-weight: 700; font-size: 14px; letter-spacing: .06em; list-style: none; display: flex; justify-content: space-between; }
.tk-detalle__terminos summary::-webkit-details-marker { display: none; }
/* «+» que se vuelve «−» con animacion: la barra vertical se encoge. */
.tk-detalle__terminos summary::after {
    content: ''; flex: none; width: 14px; height: 14px; margin-top: 2px;
    background:
        linear-gradient(var(--tokio), var(--tokio)) center / 14px 2px no-repeat,
        linear-gradient(var(--tokio), var(--tokio)) center / 2px 14px no-repeat;
    transition: background-size .38s cubic-bezier(.2, .7, .2, 1), transform .38s cubic-bezier(.2, .7, .2, 1);
}
.tk-detalle__terminos[open]:not(.es-cerrando) summary::after {
    background-size: 14px 2px, 2px 0; transform: rotate(180deg);
}
.tk-detalle__terminos div { margin-top: 12px; font-size: 14px; color: var(--ceniza); }
.tk-detalle__acciones { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Contenido enriquecido (editor del CMS) ------------------------------ */

.tk-prosa > :first-child { margin-top: 0; }
.tk-prosa p, .tk-prosa ul, .tk-prosa ol { margin: 0 0 14px; }
.tk-prosa h2, .tk-prosa h3 { margin: 28px 0 12px; line-height: 1.2; font-weight: 600; }
.tk-prosa a { color: var(--tokio); text-decoration: underline; }
.tk-prosa img { height: auto; border-radius: 10px; margin: 18px 0; }
.tk-prosa li { margin-bottom: 6px; }

/* --- Club VIP / App ------------------------------------------------------- */

.tk-club { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tk-club__titulo { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; text-transform: uppercase; }
.tk-club__texto { margin: 20px 0 0; font-size: 17px; color: rgba(244, 238, 231, .78); max-width: 560px; }
.tk-beneficios { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.tk-beneficios li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; color: rgba(244, 238, 231, .85); }
.tk-beneficios .tk-plato { width: 22px; height: 22px; margin-top: 2px; }
.tk-tiendas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.tk-tienda {
    display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px;
    background: var(--washi); color: var(--sumi); border-radius: 10px; font-weight: 700;
    transition: transform .2s, background .2s;
}
.tk-tienda:hover { transform: translateY(-2px); background: #fff; }
.tk-tienda svg { width: 24px; height: 24px; }
.tk-tienda small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; opacity: .7; line-height: 1.1; }
.tk-tienda span { line-height: 1.15; }

/* Botones grandes de tiendas (pagina Descargar App), como los de produccion. */
.tk-tiendas--grande { gap: 24px; }
.tk-tiendas--grande .tk-tienda {
    gap: 20px; padding: 14px 28px 14px 22px; border-radius: 10px;
    background: #2d2a26; border: 3px solid #a6a6a6; color: var(--salmon);
}
.tk-tiendas--grande .tk-tienda:hover { background: #2d2a26; border-color: var(--washi); }
.tk-tiendas--grande .tk-tienda svg { width: 50px; height: 50px; color: #fff; }
.tk-tiendas--grande .tk-tienda small { font-size: 18px; font-weight: 500; letter-spacing: 0; opacity: 1; line-height: 1.3; margin-bottom: 2px; text-transform: none; }
.tk-tiendas--grande .tk-tienda span { font-size: 24px; font-weight: 400; text-transform: uppercase; line-height: 1.2; }

/* --- Descargar App: pantalla completa con video -------------------------- */
.tk-app { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--sumi); }
.tk-app__media, .tk-app__media video, .tk-app__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tk-app__media::after { content: ''; position: absolute; inset: 0; background: rgba(15, 23, 42, .6); }
.tk-app__contenido { position: relative; z-index: 2; padding-top: var(--header-h); padding-bottom: 48px; }
.tk-app__titulo { margin: 0 0 20px; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; text-transform: uppercase; }
.tk-app__texto { margin: 0; max-width: 36rem; font-size: 18px; color: rgba(255, 255, 255, .72); }
.tk-app .tk-tiendas { margin-top: 36px; }

.tk-telefono {
    position: relative; width: min(320px, 100%); margin: 0 auto; aspect-ratio: 9 / 18.5;
    padding: 14px; border-radius: 44px;
    background: linear-gradient(160deg, #2a2623, #121110); border: 1px solid rgba(244, 238, 231, .12);
    box-shadow: 0 50px 80px -40px rgba(243, 109, 33, .55), inset 0 0 0 6px #0b0a09;
}
.tk-telefono__pantalla { height: 100%; border-radius: 32px; overflow: hidden; background: var(--sumi); padding: 26px 20px; display: flex; flex-direction: column; }
.tk-telefono__marca { font-size: 11px; font-weight: 700; letter-spacing: .26em; color: var(--tokio); }
.tk-telefono__cifra { margin-top: 18px; font-family: var(--f-display); font-weight: 600; font-size: 64px; line-height: 1; }
.tk-telefono__cifra small { display: block; margin-top: 6px; font-family: var(--f-texto); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ceniza); }
.tk-telefono__lista { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tk-telefono__lista li { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--plato); border-radius: 12px; font-size: 13px; }
.tk-telefono__lista b { margin-left: auto; font-size: 16px; }
.tk-telefono__premio { margin-top: auto; padding: 14px; border-radius: 14px; background: rgba(243, 109, 33, .12); border: 1px solid rgba(243, 109, 33, .35); font-size: 12px; }
.tk-telefono__barra { margin-top: 10px; height: 6px; border-radius: 3px; background: rgba(244, 238, 231, .12); overflow: hidden; }
.tk-telefono__barra i { display: block; height: 100%; width: var(--avance, 80%); background: var(--tokio); }
/* Cuando el contador sube con la pagina abierta. */
.tk-telefono.es-sube .tk-telefono__cifra span { display: inline-block; animation: tk-sube .7s var(--suave); }
@keyframes tk-sube { 40% { color: var(--tokio); transform: translateY(-4px) scale(1.06); } }
.tk-club__imagen img { width: 100%; height: auto; }

/* --- Banda superior de paginas internas ---------------------------------- */

.tk-cabecera { position: relative; padding: calc(var(--header-h) + 70px) 0 70px; overflow: hidden; background: var(--carbon); }
.tk-cabecera__fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.tk-cabecera::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--sumi) 0%, rgba(14, 13, 12, .3) 100%); }
.tk-cabecera .tk-contenedor { position: relative; z-index: 2; }
.tk-cabecera__titulo { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(38px, 6vw, 76px); line-height: 1; text-transform: uppercase; }
.tk-cabecera__texto { margin: 18px 0 0; max-width: 620px; font-size: 17px; color: rgba(244, 238, 231, .78); }

/* --- Formularios ---------------------------------------------------------- */

.tk-dos { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; }
.tk-tarjeta { background: var(--plato); border: 1px solid var(--linea); border-radius: var(--radio); padding: clamp(24px, 4vw, 40px); }
.tk-tarjeta__titulo { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.tk-tarjeta__sub { margin: 0 0 26px; color: var(--ceniza); font-size: 15px; }

.tk-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.tk-campo { display: flex; flex-direction: column; gap: 8px; }
.tk-campo--ancho { grid-column: 1 / -1; }
.tk-campo label { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: rgba(244, 238, 231, .8); }
.tk-campo label span, .tk-legend span { color: var(--tokio); }
.tk-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tk-legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: rgba(244, 238, 231, .8); }
.tk-input {
    width: 100%; min-height: 50px; padding: 12px 14px;
    background: var(--sumi); color: var(--washi);
    border: 1px solid rgba(244, 238, 231, .14); border-radius: 10px;
    font: inherit; font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}
.tk-input::placeholder { color: #6f6861; }
.tk-input:focus { outline: none; border-color: var(--tokio); box-shadow: 0 0 0 3px rgba(243, 109, 33, .18); }
textarea.tk-input { min-height: 120px; resize: vertical; }
select.tk-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ceniza) 50%), linear-gradient(135deg, var(--ceniza) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input[type="date"].tk-input { color-scheme: dark; }
.tk-input.es-error { border-color: var(--error); }
.tk-campo__error { font-size: 13px; color: var(--error); }
.tk-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tk-form__pie { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tk-form__nota { font-size: 13px; color: var(--ceniza); }

.tk-aviso { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; margin-bottom: 24px; font-size: 15px; }
.tk-aviso--ok { background: rgba(63, 181, 107, .1); border: 1px solid rgba(63, 181, 107, .35); }
.tk-aviso--error { background: rgba(255, 107, 107, .08); border: 1px solid rgba(255, 107, 107, .35); }
.tk-aviso strong { display: block; margin-bottom: 2px; }
.tk-aviso--alerta { background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .45); }
.tk-aviso--alerta strong { color: #fbbf24; }
.tk-aviso__datos { list-style: none; margin: 12px 0; padding: 12px 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; background: rgba(14, 13, 12, .45); border-radius: 10px; }
.tk-aviso__datos span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ceniza); }
#reserva-aviso { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Selector de sucursal en tarjetas (reservar) */
.tk-opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.tk-opcion { position: relative; }
.tk-opcion input { position: absolute; opacity: 0; }
.tk-opcion label {
    display: flex; flex-direction: column; gap: 4px; height: 100%;
    padding: 14px 16px; border: 1px solid rgba(244, 238, 231, .14); border-radius: 10px; background: var(--sumi);
    cursor: pointer; transition: border-color .2s, background .2s;
    font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--washi);
}
.tk-opcion label small { font-weight: 400; color: var(--ceniza); font-size: 12.5px; }
.tk-opcion input:checked + label { border-color: var(--tokio); background: rgba(243, 109, 33, .1); box-shadow: inset 0 0 0 1px var(--tokio); }
.tk-opcion input:focus-visible + label { outline: 2px solid var(--tokio); outline-offset: 2px; }

/* --- Informacion lateral / sucursales ------------------------------------ */

.tk-info { display: grid; gap: 14px; }
.tk-info__item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px; background: var(--plato); border: 1px solid var(--linea); border-radius: 12px; }
.tk-info__icono { width: 44px; height: 44px; border-radius: 50%; background: rgba(243, 109, 33, .14); color: var(--tokio); display: flex; align-items: center; justify-content: center; }
.tk-info__icono svg { width: 20px; height: 20px; }
.tk-info__item h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ceniza); }
.tk-info__item p { margin: 4px 0 0; font-size: 15.5px; }
.tk-info__item a:hover { color: var(--tokio); }

.tk-sucursales { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tk-sucursal { background: var(--plato); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; }
.tk-sucursal__imagen { aspect-ratio: 16 / 9; background: var(--carbon) center / cover; }
.tk-sucursal__mapa { aspect-ratio: 16 / 9; border: 0; width: 100%; filter: grayscale(.6) invert(.9) hue-rotate(180deg); }
.tk-sucursal__cuerpo { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tk-sucursal__nombre { margin: 0; font-size: 20px; font-weight: 600; }
.tk-sucursal__dato { display: flex; gap: 10px; font-size: 14.5px; color: rgba(244, 238, 231, .78); }
.tk-sucursal__dato svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--tokio); }
.tk-sucursal__acciones { margin-top: auto; padding-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.tk-sucursal__acciones .tk-btn { min-height: 42px; padding: 0 16px; font-size: 14px; flex: 1; }

/* Ficha de la sucursal elegida (Reservar) */
.tk-ficha { background: var(--plato); border: 1px solid var(--tokio); border-radius: var(--radio); overflow: hidden; box-shadow: 0 24px 50px -30px rgba(243, 109, 33, .5); }
.tk-ficha__mapa { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg); }
.tk-ficha__cuerpo { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.tk-ficha__cuerpo .tk-eyebrow { margin-bottom: 0; }
.tk-ficha__nombre { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.tk-ficha__cuerpo .tk-sucursal__dato { margin: 0; }
.tk-ficha__cuerpo .tk-btn { margin-top: 8px; min-height: 44px; }
.tk-ficha.es-cambiando .tk-ficha__cuerpo > * { animation: tk-rev-arriba .45s var(--suave) backwards; }

/* Contacto: sucursales a ancho completo, el mapa grande al lado de los datos. */
.tk-contacto-sucursales { margin-top: 32px; }
.tk-contacto-sucursales .tk-opciones { margin: 18px 0 20px; }
.tk-ficha--ancha { display: grid; grid-template-columns: 1.7fr 1fr; }
.tk-ficha--ancha .tk-ficha__mapa { height: 100%; min-height: 360px; aspect-ratio: auto; }
.tk-ficha--ancha .tk-ficha__cuerpo { justify-content: center; padding: 28px; }
@media (max-width: 720px) {
    .tk-ficha--ancha { grid-template-columns: 1fr; }
    .tk-ficha--ancha .tk-ficha__mapa { aspect-ratio: 16 / 10; min-height: 0; }
}
.tk-mapa { margin-top: 32px; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); }
.tk-mapa iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg); }

/* Lista del selector de sucursal (dialog) */
.tk-selector { width: min(520px, calc(100% - 32px)); }
.tk-selector__cuerpo { padding: 34px 28px 28px; }
.tk-selector__lista { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tk-selector__lista button {
    width: 100%; text-align: left; padding: 16px 18px; border: 1px solid var(--linea); border-radius: 10px;
    background: var(--plato); display: flex; flex-direction: column; gap: 2px; transition: border-color .2s;
}
.tk-selector__lista button:hover, .tk-selector__lista button.es-activo { border-color: var(--tokio); }
.tk-selector__lista strong { font-size: 16px; }
.tk-selector__lista small { color: var(--ceniza); }

/* Aviso de reserva duplicada (modal fijo) */
.tk-duplicada__icono {
    width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(245, 158, 11, .14); color: #fbbf24;
}
.tk-duplicada__icono svg { width: 24px; height: 24px; }
.tk-duplicada .tk-tarjeta__titulo { margin-top: 0; }
.tk-duplicada .tk-tarjeta__sub { margin: 6px 0 0; }
.tk-duplicada .tk-aviso__datos { margin: 18px 0; }
.tk-duplicada__boton { width: 100%; justify-content: center; margin-top: 20px; }

/* --- Footer --------------------------------------------------------------- */

.tk-footer { background: #0a0908; border-top: 1px solid var(--linea); padding-top: 80px; }
.tk-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 60px; }
.tk-footer__logo img { height: 56px; width: auto; }
.tk-footer__texto { margin: 18px 0 0; max-width: 300px; font-size: 14.5px; color: var(--ceniza); }
.tk-footer h2 { margin: 6px 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--washi); }
.tk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tk-footer ul a, .tk-footer__dato { font-size: 15px; color: var(--ceniza); transition: color .2s; }
.tk-footer ul a:hover { color: var(--tokio); }
.tk-footer__dato { margin: 0 0 6px; }
.tk-footer__dato strong { color: var(--washi); font-weight: 700; }
.tk-redes { display: flex; gap: 10px; flex-wrap: wrap; }
.tk-redes a {
    width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--linea); border-radius: 50%; color: var(--washi); transition: all .2s;
}
.tk-redes a:hover { background: var(--tokio); border-color: var(--tokio); }
.tk-redes svg { width: 18px; height: 18px; }
.tk-footer__barra { border-top: 1px solid var(--linea); padding: 26px 0; }
.tk-footer__barra .tk-contenedor { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; font-size: 13.5px; color: var(--ceniza); }
/* Enlaces legales en dos columnas. `.tk-footer .tk-footer__legal` para ganarle a `.tk-footer ul` (lista en columna). */
.tk-footer .tk-footer__legal {
    display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 0;
    list-style: none; margin: 0; padding: 0;
}
.tk-footer .tk-footer__legal li { padding: 0 22px; border-left: 1px solid var(--linea); }
.tk-footer .tk-footer__legal li:nth-child(odd) { border-left: 0; padding-left: 0; }
.tk-footer .tk-footer__legal a { font-size: 13.5px; color: var(--ceniza); white-space: nowrap; transition: color .2s; }
.tk-footer .tk-footer__legal a:hover { color: var(--tokio); }

.tk-saltar:focus { position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--tokio); color: #fff; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1080px) {
    .tk-promos__grid, .tk-sucursales { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tk-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .tk-footer__marca { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    :root { --header-h: 72px; }
    .tk-header__logo img { height: 42px; }
    .tk-hamburguesa { display: inline-flex; }
    .tk-nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 24px; background: var(--sumi); overflow-y: auto;
        transform: translateX(100%); transition: transform .3s ease;
    }
    .nav-abierto .tk-nav { transform: none; }
    .tk-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .tk-nav__link { width: 100%; padding: 16px 4px; font-size: 16px; border-bottom: 1px solid var(--linea); }
    .tk-nav__link.es-activo { color: var(--tokio); }
    .tk-nav__link:not(.tk-nav__link--boton)::after { display: none; }
    .nav-abierto .tk-nav > ul > li { animation: tk-rev-derecha .45s cubic-bezier(.2, .7, .2, 1) backwards; }
    .nav-abierto .tk-nav > ul > li:nth-child(2) { animation-delay: 40ms; }
    .nav-abierto .tk-nav > ul > li:nth-child(3) { animation-delay: 80ms; }
    .nav-abierto .tk-nav > ul > li:nth-child(4) { animation-delay: 120ms; }
    .nav-abierto .tk-nav > ul > li:nth-child(5) { animation-delay: 160ms; }
    .nav-abierto .tk-nav > ul > li:nth-child(6) { animation-delay: 200ms; }
    .nav-abierto .tk-nav > ul > li:nth-child(n+7) { animation-delay: 240ms; }
    .tk-nav__link--boton { margin: 20px 0 0; justify-content: center; border-bottom: 0; }
    .tk-nav__app { display: flex; margin-top: 12px; }
    .tk-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: transparent; padding: 0 0 8px 12px; }
    .tk-club, .tk-dos, .tk-detalle { grid-template-columns: 1fr; }
    .tk-detalle__imagen img { min-height: 0; aspect-ratio: 16 / 10; }
    .tk-detalle__info { padding: 28px 22px 26px; }
    /* Modal de promo en el celular: casi a todo el ancho, y el boton de cerrar
       sin flotar (el float angostaba la grilla y dejaba una franja vacia). */
    .tk-modal:not(.tk-selector) { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
    .tk-modal:not(.tk-selector) .tk-modal__cerrar { float: none; margin: 12px 12px -54px auto; }
    /* En vertical el video queda detras del texto: degradado desde abajo, no de lado. */
    .tk-hero__slide::after { background: linear-gradient(0deg, rgba(14, 13, 12, .96) 0%, rgba(14, 13, 12, .82) 38%, rgba(14, 13, 12, .4) 68%, rgba(14, 13, 12, .2) 100%); }
    .tk-hero__contenido { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
    .tk-hero__contenido > * { text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
    /* Arriba a la derecha: abajo chocaba con el texto y los botones. */
    .tk-hero__controles { top: calc(var(--header-h) + 14px); bottom: auto; right: 16px; left: auto; }
    .tk-hero__scroll { display: none; }
}

@media (max-width: 640px) {
    .tk-tiendas--grande { gap: 12px; }
    .tk-tiendas--grande .tk-tienda { width: 100%; justify-content: flex-start; }
    /* Solo los lados: el abreviado `padding` borraba el espacio inferior del hero. */
    .tk-contenedor { padding-left: 16px; padding-right: 16px; }
    .tk-promos__grid, .tk-sucursales, .tk-campos { grid-template-columns: 1fr; }
    .tk-detalle__datos { gap: 10px; }
    /* Una sola fila que se desliza; la flecha de la derecha avisa que hay mas. */
    .tk-filtros {
        flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 0 -16px 28px; padding: 0 60px 4px 16px;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .tk-filtros::-webkit-scrollbar { display: none; }
    .tk-filtro { flex: none; min-height: 38px; padding: 0 16px; font-size: 13.5px; }
    .tk-filtros__mas {
        display: flex; align-items: center; justify-content: flex-end;
        position: absolute; top: 0; right: -16px; width: 72px; height: 38px; padding: 0 14px 0 0;
        border: 0; background: linear-gradient(90deg, rgba(14, 13, 12, 0), var(--sumi) 60%); color: var(--tokio);
        transition: opacity .25s;
    }
    .tk-filtros__mas svg { width: 22px; height: 22px; animation: tk-empuje 1.6s ease-in-out infinite; }
    .tk-filtros-marco.es-final .tk-filtros__mas:not(.tk-filtros__mas--izq) { opacity: 0; pointer-events: none; }
    /* La de la izquierda es la misma en espejo: aparece cuando ya se deslizo. */
    .tk-filtros__mas--izq {
        right: auto; left: -16px; justify-content: flex-start; padding: 0 0 0 14px;
        background: linear-gradient(270deg, rgba(14, 13, 12, 0), var(--sumi) 60%);
        opacity: 0; pointer-events: none;
    }
    .tk-filtros__mas--izq svg { transform: scaleX(-1); animation-name: tk-empuje-izq; }
    .tk-filtros-marco.es-desplazado .tk-filtros__mas--izq { opacity: 1; pointer-events: auto; }
    .tk-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .tk-footer .tk-footer__legal { grid-template-columns: 1fr 1fr; width: 100%; }
    .tk-footer .tk-footer__legal li { padding: 0 0 0 14px; }
    .tk-footer .tk-footer__legal a { white-space: normal; }
    .tk-hero__titulo { font-size: clamp(34px, 10.5vw, 52px); max-width: none; overflow-wrap: anywhere; }
    .tk-hero__subtitulo { font-size: 17px; margin-top: 12px; }
    .tk-hero__texto { font-size: 15px; margin-top: 14px; }
    .tk-hero__acciones { flex-wrap: nowrap; gap: 10px; margin-top: 22px; }
    .tk-hero__acciones .tk-btn { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; font-size: 14px; white-space: nowrap; text-shadow: none; }
}

/* ==========================================================================
   Animaciones
   Entrada al cargar (header, hero, bandas internas) y aparicion al bajar:
   JS marca [data-revelar] con .es-visible cuando entra en pantalla. Se usa
   `animation ... backwards` y no transiciones para que, al terminar, el
   elemento vuelva a sus estilos normales (el hover de las tarjetas sigue vivo).
   Sin JS (`html` sin .js) todo se ve de una vez.
   ========================================================================== */

:root { --suave: cubic-bezier(.2, .7, .2, 1); }

@keyframes tk-rev-arriba   { from { opacity: 0; transform: translateY(36px); } }
@keyframes tk-rev-izquierda { from { opacity: 0; transform: translateX(-48px); } }
@keyframes tk-rev-derecha  { from { opacity: 0; transform: translateX(48px); } }
@keyframes tk-rev-zoom     { from { opacity: 0; transform: scale(.9); } }
@keyframes tk-rev-titulo   { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(24px); } to { clip-path: inset(0 0 -10% 0); } }
@keyframes tk-bajar        { from { opacity: 0; transform: translateY(-100%); } }
@keyframes tk-linea        { from { width: 0; } }
@keyframes tk-aparecer     { from { opacity: 0; } }
@keyframes tk-kenburns     { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes tk-pop          { 0% { opacity: 0; transform: scale(.2) rotate(-90deg); } 70% { transform: scale(1.25); } }
@keyframes tk-flotar       { 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes tk-brillo       { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }

.js [data-revelar]:not(.es-visible) { opacity: 0; }
.js [data-revelar].es-visible { animation: tk-rev-arriba .9s var(--suave) backwards; animation-delay: var(--retraso, 0ms); }
.js [data-revelar="izquierda"].es-visible { animation-name: tk-rev-izquierda; }
.js [data-revelar="derecha"].es-visible { animation-name: tk-rev-derecha; }
.js [data-revelar="zoom"].es-visible { animation-name: tk-rev-zoom; animation-duration: 1.1s; }
.js [data-revelar="titulo"].es-visible { animation-name: tk-rev-titulo; animation-duration: 1s; }

/* Header: baja al cargar */
.tk-header { animation: tk-bajar .8s var(--suave) .15s backwards; }

/* Hero: cada vez que un slide se activa, su contenido entra escalonado */
.tk-hero__slide.es-activo .tk-hero__media { animation: tk-kenburns 10s ease-out both; }
.tk-hero__slide.es-activo .tk-hero__contenido > * { animation: tk-rev-arriba .9s var(--suave) backwards; }
.tk-hero__slide.es-activo .tk-hero__etiqueta { animation-delay: .25s; }
.tk-hero__slide.es-activo .tk-hero__etiqueta::before { animation: tk-linea .8s var(--suave) .55s backwards; }
.tk-hero__slide.es-activo .tk-hero__subtitulo { animation-delay: .4s; }
.tk-hero__slide.es-activo .tk-hero__titulo { animation: tk-rev-titulo 1.1s var(--suave) .5s backwards; }
.tk-hero__slide.es-activo .tk-hero__texto { animation-delay: .75s; }
.tk-hero__slide.es-activo .tk-hero__acciones { animation-delay: .9s; }
.tk-hero__controles { animation: tk-rev-arriba .8s var(--suave) 1.2s backwards; }
/* El indicador se centra con transform: solo se desvanece para no moverse de lado. */
.tk-hero__scroll { animation: tk-aparecer .8s ease 1.4s backwards; }

/* Parallax suave: JS pone --scroll (px bajados) en [data-parallax] */
.tk-hero__contenido { transform: translateY(calc(var(--scroll, 0) * .35px)); opacity: calc(1 - var(--scroll, 0) / 650); }
.tk-cabecera__fondo { transform: translateY(calc(var(--scroll, 0) * .3px)) scale(1.08); }

/* Bandas de paginas internas: entrada al cargar */
.tk-cabecera .tk-contenedor > * { animation: tk-rev-arriba .9s var(--suave) backwards; }
.tk-cabecera .tk-eyebrow { animation-delay: .2s; }
.tk-cabecera .tk-cabecera__titulo { animation: tk-rev-titulo 1s var(--suave) .3s backwards; }
.tk-cabecera .tk-cabecera__texto { animation-delay: .55s; }

/* Tarjetas de promo: los platos del rating caen uno por uno */
.js .tk-promo.es-visible .tk-rating .tk-estrella { animation: tk-pop .5s var(--suave) backwards; }
.js .tk-promo.es-visible .tk-rating .tk-estrella:nth-child(1) { animation-delay: calc(var(--retraso, 0ms) + .45s); }
.js .tk-promo.es-visible .tk-rating .tk-estrella:nth-child(2) { animation-delay: calc(var(--retraso, 0ms) + .52s); }
.js .tk-promo.es-visible .tk-rating .tk-estrella:nth-child(3) { animation-delay: calc(var(--retraso, 0ms) + .59s); }
.js .tk-promo.es-visible .tk-rating .tk-estrella:nth-child(4) { animation-delay: calc(var(--retraso, 0ms) + .66s); }
.js .tk-promo.es-visible .tk-rating .tk-estrella:nth-child(5) { animation-delay: calc(var(--retraso, 0ms) + .73s); }
.js .tk-promo.es-visible .tk-promo__etiqueta { animation: tk-rev-izquierda .7s var(--suave) backwards; animation-delay: calc(var(--retraso, 0ms) + .35s); }

/* Club: platos de los beneficios, telefono que flota y barra de premio */
.js .tk-beneficios li.es-visible .tk-plato { animation: tk-pop .6s var(--suave) backwards; animation-delay: calc(var(--retraso, 0ms) + .2s); }
.tk-telefono__barra i { transition: width 1.6s var(--suave) .6s; }
.tk-telefono.es-sube .tk-telefono__barra i { transition-delay: 0s; }
.js .tk-telefono:not(.es-visible) .tk-telefono__barra i { width: 0; }
.js .tk-telefono.es-visible { animation: tk-rev-zoom 1.1s var(--suave) backwards, tk-flotar 6s ease-in-out 1.2s infinite; }

/* Botones: destello al pasar el mouse */
.tk-btn { position: relative; overflow: hidden; }
.tk-btn::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: translateX(-120%) skewX(-20deg); pointer-events: none;
}
.tk-btn:hover::after { animation: tk-brillo .7s ease; }

/* Modal: el detalle entra por partes */
.tk-modal[open] .tk-detalle__imagen img { animation: tk-kenburns 1.2s var(--suave) both; }
.tk-detalle__info > * { animation: tk-rev-arriba .6s var(--suave) backwards; }
.tk-detalle__info > :nth-child(2) { animation-delay: .06s; }
.tk-detalle__info > :nth-child(3) { animation-delay: .12s; }
.tk-detalle__info > :nth-child(4) { animation-delay: .18s; }
.tk-detalle__info > :nth-child(n+5) { animation-delay: .24s; }

@keyframes tk-empuje { 50% { transform: translateX(4px); } }
@keyframes tk-empuje-izq { 0%, 100% { transform: scaleX(-1); } 50% { transform: scaleX(-1) translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .tk-banda__pista { animation: none; }
    .js [data-revelar] { opacity: 1 !important; }
    .tk-hero__contenido, .tk-cabecera__fondo { transform: none; opacity: 1; }
}
