/* Tribox Cycling · triboxstore.com
   Marca: manual de identidad Tribox (Wear Studio). Pantone 7547 C + colores por disciplina.
   Tipografía principal Outfit · secundaria Noto Serif cursiva, siempre en minúscula y acompañando. */

@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("../assets/fonts/noto-serif-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --ink: #131e29;          /* Pantone 7547 C · color principal */
  --ink-2: #0d151d;
  --ink-3: #1b2937;
  --road: #011e41;         /* Pantone 282 C */
  --mtb: #544627;          /* Pantone 440 C */
  --gravel: #402020;       /* Pantone 4975 C */
  --ebike: #163029;        /* Pantone 5535 C */
  --paper: #f4f4f1;
  --dim: rgba(244, 244, 241, .74);
  --faint: rgba(244, 244, 241, .5);
  --line: rgba(244, 244, 241, .14);
  --line-2: rgba(244, 244, 241, .24);
  --wa: #25d366;
  --disc: var(--ink);
  --f: "Outfit", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --maxw: 1560px;
  --r: 18px;
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.76, 0, .24, 1);
  --header-h: 76px;
  --degradado:
    radial-gradient(60% 70% at 0% 0%, rgba(64, 32, 32, .95), transparent 70%),
    radial-gradient(55% 65% at 100% 0%, rgba(1, 30, 65, .95), transparent 70%),
    radial-gradient(55% 70% at 0% 100%, rgba(84, 70, 39, .85), transparent 70%),
    radial-gradient(60% 70% at 100% 100%, rgba(22, 48, 41, .95), transparent 70%),
    var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--f); font-size: 17px; line-height: 1.55; font-weight: 350;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--paper); color: var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ---------- tipografía ---------- */
em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; text-transform: lowercase; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.h-xl { font-size: clamp(2.7rem, 8.4vw, 8.2rem); line-height: .94; letter-spacing: -.045em; font-weight: 560; margin: 0; }
.h-l { font-size: clamp(2.2rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -.04em; font-weight: 540; margin: 0; }
.h-m { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 520; margin: 0; }
.h-xl em, .h-l em, .h-m em { font-weight: 380; letter-spacing: -.035em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.5; color: var(--dim); max-width: 36ch; font-weight: 330; }
.muted { color: var(--dim); }
.small { font-size: .86rem; color: var(--faint); }

/* ---------- estructura ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; }
.sec { padding: clamp(5rem, 11vw, 10rem) 0; }
.sec-head { display: grid; gap: 1.4rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.3fr 1fr; align-items: end; } .sec-head .lead { justify-self: end; } }

/* fondo liso / isolíneas (lo eligen Paco y Juan) */
.iso { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; background: center / cover no-repeat; mix-blend-mode: soft-light; z-index: 0; }
html[data-fondo="isolineas"] .iso { opacity: .5; background-image: url("../assets/brand/isolineas.svg"); }

/* ---------- botones ---------- */
.btn { --bg: var(--paper); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 54px; padding: 0 1.5rem; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 500; font-size: 1rem; letter-spacing: -.005em; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; transition: transform .5s var(--e-out), scale .16s cubic-bezier(.23, 1, .32, 1), background-color .3s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink-3); transform: translateY(101%); transition: transform .55s var(--e-out); border-radius: inherit; }
.btn:hover::after { transform: none; }
.btn:hover { color: var(--paper); }
.btn:active { scale: .97; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::after { background: var(--paper); }
.btn--ghost:hover { color: var(--ink); }
.btn--wa svg { color: var(--wa); }
.btn--wa:hover svg { color: var(--wa); }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: .93rem; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: .2rem; transition: gap .4s var(--e-out), border-color .3s; }
.link-arrow:hover { gap: .9rem; border-color: var(--paper); }

/* ---------- cabecera ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: transform .6s var(--e-out), background-color .4s, backdrop-filter .4s; }
.hdr.is-solid { background: rgba(19, 30, 41, .78); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.hdr__logo { display: block; width: 112px; color: var(--paper); }
.hdr__nav { display: none; gap: 2rem; font-size: .95rem; }
.hdr__nav a { color: var(--dim); transition: color .25s; position: relative; }
.hdr__nav a:hover, .hdr__nav a[aria-current] { color: var(--paper); }
.hdr__cta { display: none; }
.hdr__menu { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; }
.hdr__menu span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .4s var(--e-out); }
.hdr__menu span::before, .hdr__menu span::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: currentColor; transition: transform .4s var(--e-out); }
.hdr__menu span::before { transform: translateY(-6px); } .hdr__menu span::after { transform: translateY(6px); }
body.menu-open .hdr__menu span { background: transparent; }
body.menu-open .hdr__menu span::before { transform: rotate(45deg); } body.menu-open .hdr__menu span::after { transform: rotate(-45deg); }
@media (min-width: 1000px) { .hdr__nav { display: flex; } .hdr__cta { display: inline-flex; } .hdr__menu { display: none; } }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--degradado); padding: calc(var(--header-h) + 2rem) var(--pad) 2rem; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--e-io); visibility: hidden; }
body.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu nav { display: grid; gap: .35rem; }
.menu nav a { font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 520; letter-spacing: -.04em; line-height: 1.12; }
.menu nav a em { font-size: .9em; }
.menu__foot { display: grid; gap: 1rem; color: var(--dim); font-size: .95rem; }
body.menu-open { overflow: hidden; }

/* ---------- portada ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: stretch; background: var(--degradado); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 40% at 50% 50%, rgba(1, 30, 65, .55), transparent 70%); animation: deriva 22s var(--e-io) infinite alternate; }
@keyframes deriva { from { transform: translate(-12%, -6%) scale(1); } to { transform: translate(14%, 10%) scale(1.25); } }
.hero .wrap { display: grid; gap: 2.5rem; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 2rem; align-content: space-between; }
.hero__top { display: grid; gap: 2.2rem; }
.hero h1 { font-size: clamp(2.9rem, 9.6vw, 9.4rem); line-height: .92; letter-spacing: -.05em; font-weight: 560; margin: 0; max-width: 11ch; }
.hero h1 em { display: block; font-weight: 360; letter-spacing: -.045em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .ln > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--e-out); }
.is-ready .hero h1 .ln > span { transform: none; }
.is-ready .hero h1 .ln:nth-child(2) > span { transition-delay: .09s; }
.is-ready .hero h1 .ln:nth-child(3) > span { transition-delay: .18s; }
.hero__sub { display: grid; gap: 1.6rem; max-width: 40rem; }
.hero__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); clip-path: inset(18% 18% 18% 18% round 24px); transition: clip-path 1.6s var(--e-out) .25s; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .7); }
.is-ready .hero__media { clip-path: inset(0 round 18px); }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 21, 29, .35) 0%, transparent 30%, transparent 55%, rgba(13, 21, 29, .85) 100%); }
.hero__tag { position: absolute; z-index: 2; left: 1.1rem; right: 1.1rem; display: flex; justify-content: space-between; align-items: center; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.hero__tag--t { top: 1rem; } .hero__tag--b { bottom: 1.1rem; align-items: end; }
.hero__tag--b strong { display: block; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.03em; text-transform: none; color: var(--paper); font-weight: 500; }
.hero__tag--b strong em { font-size: 1.05em; }
.pill-live { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .7rem; border-radius: 99px; background: rgba(13, 21, 29, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); letter-spacing: .08em; }
.pill-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a4f; }
.hero__pause { width: 38px; height: 38px; border-radius: 50%; background: rgba(13, 21, 29, .55); display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__pause svg { width: 14px; height: 14px; }
.hero__disc { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); align-items: center; }
.hero__disc span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__disc i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }
.hero__bottom { display: flex; justify-content: space-between; align-items: end; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.hero__scroll { display: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr auto; column-gap: clamp(2rem, 5vw, 6rem); padding-top: calc(var(--header-h) + 4rem); }
  .hero__top { align-content: end; padding-bottom: 1rem; }
  .hero__media { align-self: end; max-height: 70svh; aspect-ratio: 9 / 13; justify-self: end; width: 100%; max-width: 440px; }
  .hero__bottom { grid-column: 1 / -1; }
  .hero__scroll { display: block; }
}
@media (max-width: 899px) {
  .hero__media { order: -1; aspect-ratio: auto; width: 100%; height: min(44svh, 110vw); }
  .hero .wrap { padding-top: calc(var(--header-h) + .8rem); gap: 1.8rem; }
  .hero h1 { font-size: clamp(2.7rem, 13.2vw, 4.4rem); }
}

/* ---------- marquesina ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--ink); }
.ticker__row { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__row { animation-play-state: paused; }
.ticker__row span { display: inline-flex; align-items: center; gap: 1.4rem; padding: 1.15rem 1.4rem 1.15rem 0; white-space: nowrap; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ticker__row span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- manifiesto ---------- */
.mani { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.mani__txt { display: grid; gap: 2rem; }
.mani__big { font-size: clamp(2.2rem, 5.4vw, 5.2rem); line-height: 1; letter-spacing: -.045em; font-weight: 540; margin: 0; }
.mani__big .w { display: inline-block; opacity: .16; transition: opacity .5s; }
.mani__big .w.on { opacity: 1; }
.mani__no { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); max-width: 34rem; }
.mani__no b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--gravel); font-size: 1rem; }
.mani__pic { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.mani__pic img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.mani__pic figcaption { position: absolute; left: 1rem; bottom: 1rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
@media (min-width: 900px) { .mani { grid-template-columns: 1.35fr .65fr; } }

/* ---------- servicios ---------- */
.serv { background: var(--ink-2); }
.serv__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); }
.serv__list { display: grid; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__head { width: 100%; display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1rem; align-items: center; padding: 1.5rem 0; text-align: left; }
.svc__n { font-size: .8rem; letter-spacing: .12em; color: var(--faint); font-variant-numeric: tabular-nums; }
.svc__t { font-size: clamp(1.5rem, 3.2vw, 2.7rem); letter-spacing: -.035em; line-height: 1.05; font-weight: 520; transition: transform .6s var(--e-out), color .3s; }
.svc__t em { font-weight: 380; }
.svc__plus { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: transform .5s var(--e-out), scale .16s cubic-bezier(.23, 1, .32, 1), background-color .3s; }
.svc__plus::before, .svc__plus::after { content: ""; grid-area: 1 / 1; width: 13px; height: 1.5px; background: currentColor; transition: transform .5s var(--e-out); }
.svc__plus::after { transform: rotate(90deg); }
.svc.is-open .svc__plus { background: var(--paper); color: var(--ink); }
.svc.is-open .svc__plus::after { transform: rotate(0); }
.svc__head:hover .svc__t { transform: translateX(.4rem); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--e-out); }
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body > div { overflow: hidden; }
.svc__in { display: grid; gap: 1.2rem; padding: 0 0 1.8rem 4.2rem; }
.svc__in p { margin: 0; color: var(--dim); max-width: 46ch; }
.svc__pic { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; }
.svc__pic img { width: 100%; height: 100%; object-fit: cover; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.tags li { font-size: .8rem; padding: .4rem .75rem; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--dim); }
.svc__note { font-size: .86rem; color: var(--faint); display: flex; gap: .5rem; }
.serv__stage { display: none; }
@media (min-width: 1000px) {
  .serv__grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .serv__stage { display: block; position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 4rem); border-radius: var(--r); overflow: hidden; background: var(--ink-3); }
  .serv__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--e-out), transform 1.4s var(--e-out); }
  .serv__stage img.on { opacity: 1; transform: none; }
  .serv__stage .cap { position: absolute; left: 1.2rem; bottom: 1.1rem; right: 1.2rem; z-index: 2; display: flex; justify-content: space-between; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
  .serv__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13, 21, 29, .8)); }
  .svc__pic { display: none; }
}

/* ---------- escríbenos (pieza estrella) ---------- */
.wa { --disc: var(--ink); background: var(--disc); transition: background-color 1s var(--e-out); overflow: hidden; isolation: isolate; }
.wa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 85% 10%, rgba(255, 255, 255, .07), transparent 70%); }
.wa__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); }
.wa__form { display: grid; gap: 1.8rem; }
.step { display: grid; gap: .85rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend, .step > label { padding: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: flex; gap: .7rem; align-items: center; }
.step legend b, .step > label b { width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .72rem; letter-spacing: 0; color: var(--paper); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 1.05rem; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .98rem; transition: background-color .3s, color .3s, box-shadow .3s; user-select: none; }
.chip span i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.chip input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 3px; }
.field { width: 100%; min-height: 54px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--paper); padding: .9rem 1rem; font: inherit; font-size: 16px; resize: vertical; }
.field::placeholder { color: var(--faint); }
.field:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--paper); }
.two { display: grid; gap: 1rem; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.wa__card { border-radius: 22px; background: rgba(13, 21, 29, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(1.2rem, 2.5vw, 2rem); display: grid; gap: 1.2rem; align-content: start; }
.wa__to { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.wa__to .av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.wa__to .av img { width: 26px; }
.wa__to strong { display: block; font-weight: 500; }
.wa__to small { color: var(--faint); font-size: .82rem; }
.bubble { background: #1f3b32; border-radius: 16px 16px 4px 16px; padding: 1rem 1.1rem; font-size: .98rem; line-height: 1.5; white-space: pre-line; min-height: 7rem; position: relative; justify-self: end; width: min(100%, 30rem); }
.bubble::after { content: "✓✓"; position: absolute; right: .8rem; bottom: .35rem; font-size: .66rem; color: #8fd3b6; letter-spacing: -.1em; }
.wa__honest { font-size: .86rem; color: var(--faint); margin: 0; }
.wa__send { width: 100%; --bg: var(--wa); --fg: #08140f; font-weight: 600; }
.wa__send svg { color: #08140f !important; }
@media (min-width: 1000px) { .wa__grid { grid-template-columns: 1.1fr .9fr; } .wa__card { position: sticky; top: calc(var(--header-h) + 2rem); } }

/* ---------- disciplinas ---------- */
.disc { display: grid; gap: .8rem; }
.dz { --c: var(--road); position: relative; border-radius: var(--r); overflow: hidden; background: var(--c); min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.4rem; isolation: isolate; }
.dz img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .9; transition: transform 1.4s var(--e-out), opacity .6s; }
.dz::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--rgb), .92) 0%, rgba(var(--rgb), .3) 45%, rgba(var(--rgb), .96) 100%); }
.dz__n { font-size: .8rem; letter-spacing: .14em; color: var(--dim); display: flex; justify-content: space-between; }
.dz h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.045em; line-height: 1; margin: 0 0 .7rem; font-weight: 540; }
.dz p { margin: 0 0 1.2rem; color: var(--dim); max-width: 30ch; }
.dz:hover img { transform: scale(1.06); }
.dz--road { --c: var(--road); --rgb: 1, 30, 65; } .dz--mtb { --c: var(--mtb); --rgb: 84, 70, 39; } .dz--gravel { --c: var(--gravel); --rgb: 64, 32, 32; } .dz--ebike { --c: var(--ebike); --rgb: 22, 48, 41; }
@media (min-width: 700px) { .disc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .disc { display: flex; height: 76vh; height: 76svh; min-height: 560px; gap: .7rem; }
  .dz { flex: 1; min-height: 0; transition: flex .9s var(--e-out); }
  .dz p, .dz .link-arrow { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--e-out); }
  .disc:not(:hover) .dz:first-child, .dz:hover { flex: 2.4; }
  .disc:not(:hover) .dz:first-child p, .disc:not(:hover) .dz:first-child .link-arrow, .dz:hover p, .dz:hover .link-arrow { opacity: 1; transform: none; transition-delay: .2s; }
}
@media (min-width: 1100px) and (hover: none) { .dz, .disc:not(:hover) .dz:first-child, .dz:hover { flex: 1; } .dz p, .dz .link-arrow { opacity: 1; transform: none; } }

/* ---------- marcas ---------- */
.marcas { background: var(--degradado); overflow: hidden; }
.marcas__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.marca { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 96px; display: grid; place-items: center; padding: 1rem; text-align: center; font-weight: 600; font-size: clamp(.95rem, 1.5vw, 1.25rem); letter-spacing: .04em; text-transform: uppercase; color: var(--dim); position: relative; overflow: hidden; transition: color .35s; }
.marca::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--e-out); z-index: -1; }
.marca { isolation: isolate; }
.marca:hover { color: var(--ink); }
.marca:hover::before { transform: none; }
.marca small { display: block; font-size: .62rem; letter-spacing: .16em; font-weight: 400; color: var(--faint); margin-top: .3rem; }
.marca:hover small { color: rgba(19, 30, 41, .6); }
@media (min-width: 640px) { .marcas__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .marcas__grid { grid-template-columns: repeat(5, 1fr); } .marca { min-height: 128px; } }

/* ---------- instagram ---------- */
.ig__stories { display: flex; gap: 1rem; overflow-x: auto; padding: .4rem .2rem 1.4rem; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding-inline: var(--pad); }
.ig__stories::-webkit-scrollbar { display: none; }
.story { flex: none; width: 84px; display: grid; gap: .5rem; justify-items: center; scroll-snap-align: start; font-size: .76rem; color: var(--dim); }
.story__ring { width: 78px; height: 78px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #402020, #544627, #163029, #011e41, #8a5a9e, #402020); }
.story__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink); }
.story.seen .story__ring { background: var(--line-2); }
.ig__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.ig__post { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--ink-3); }
.ig__post img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--e-out); }
.ig__post:hover img { transform: scale(1.05); }
.ig__post::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13, 21, 29, .7)); opacity: 0; transition: opacity .4s; }
.ig__post:hover::after { opacity: 1; }
@media (min-width: 700px) { .ig__grid { grid-template-columns: repeat(3, 1fr); gap: .7rem; } }
@media (min-width: 1100px) { .ig__grid { grid-template-columns: repeat(6, 1fr); } }
.ig__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-top: 1.6rem; }
.preview-note { font-size: .84rem; color: var(--faint); border-left: 2px solid var(--mtb); padding-left: .8rem; max-width: 52ch; }

.viewer { position: fixed; inset: 0; z-index: 90; background: rgba(5, 9, 13, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.viewer.open { opacity: 1; visibility: visible; }
.viewer__box { position: relative; width: min(92vw, calc(86svh * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--ink); }
.viewer__box img { width: 100%; height: 100%; object-fit: cover; }
.viewer__bars { position: absolute; top: .7rem; left: .7rem; right: .7rem; display: flex; gap: 4px; z-index: 2; }
.viewer__bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.viewer__bars i b { display: block; height: 100%; width: 0; background: #fff; }
.viewer__who { position: absolute; top: 1.4rem; left: .9rem; z-index: 2; display: flex; align-items: center; gap: .55rem; font-size: .86rem; font-weight: 500; }
.viewer__who img { width: 30px; height: 30px; border-radius: 50%; }
.viewer__x { position: absolute; top: 1.15rem; right: .7rem; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; }
.viewer__nav { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 2fr; z-index: 1; }

/* ---------- tiendas ---------- */
.tiendas { display: grid; gap: 1.2rem; }
.tienda { border-radius: 22px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; align-content: start; }
.tienda__pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tienda__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--e-out); }
.tienda:hover .tienda__pic img { transform: scale(1.04); }
.tienda__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13, 21, 29, .78)); pointer-events: none; }
.tienda__code { position: absolute; z-index: 1; left: 1.2rem; bottom: .9rem; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--paper); }
.tienda__map { z-index: 2; }
.tienda__map { position: absolute; inset: 0; border: 0; width: 100%; height: 100%; }
.tienda__body { padding: clamp(1.3rem, 2.5vw, 2.2rem); display: grid; gap: 1.3rem; }
.tienda__name { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.tienda__name h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; font-weight: 540; line-height: 1; }
.stars { font-size: .9rem; color: var(--dim); white-space: nowrap; }
.stars b { color: var(--paper); font-weight: 500; }
.dl { display: grid; gap: .9rem; margin: 0; }
.dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.dl dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-top: .2rem; }
.dl dd { margin: 0; }
.dl a { border-bottom: 1px solid var(--line-2); }
.dl a:hover { border-color: var(--paper); }
@media (min-width: 1000px) { .tiendas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiendas--uno { grid-template-columns: 1fr; } .tiendas--uno .tienda { grid-template-columns: 1.1fr .9fr; } .tiendas--uno .tienda__pic { aspect-ratio: auto; min-height: 100%; } }

/* ---------- reseñas ---------- */
.res__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 440px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .4rem; margin: 0 calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
.res__track::-webkit-scrollbar { display: none; }
.res { scroll-snap-align: start; border-radius: 20px; padding: 1.6rem; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 300px; }
.res blockquote { margin: 0; font-size: 1.12rem; line-height: 1.5; font-weight: 330; }
.res blockquote::before { content: "“"; display: block; font-family: var(--f-serif); font-style: italic; font-size: 3.4rem; line-height: .6; height: 1.6rem; color: var(--faint); }
.res footer { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--dim); gap: 1rem; }
.res footer strong { color: var(--paper); font-weight: 500; display: block; }
.res .where { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .65rem; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); }
.res__ctrl { display: flex; gap: .6rem; }
.res__ctrl button { width: 50px; height: 50px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.res__ctrl button:hover { background: var(--paper); color: var(--ink); }
.res__ctrl svg { width: 18px; }
.notas { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2rem; }
.nota strong { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -.05em; line-height: 1; font-weight: 520; }
.nota span { font-size: .86rem; color: var(--dim); }

/* ---------- preguntas ---------- */
.faq { display: grid; gap: clamp(2rem, 4vw, 4rem); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 450; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; line-height: 1; transition: transform .4s var(--e-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--dim); max-width: 60ch; }
@media (min-width: 1000px) { .faq { grid-template-columns: .8fr 1.2fr; } }

/* ---------- cierre ---------- */
.fin { background: var(--degradado); overflow: hidden; text-align: center; }
.fin .wrap { display: grid; justify-items: center; gap: 2rem; }
.fin .h-xl em { display: block; }
.fin__logo { width: min(70vw, 520px); color: var(--paper); opacity: .1; position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%); pointer-events: none; }

/* ---------- pie ---------- */
.ftr { background: var(--ink-2); padding: clamp(3.5rem, 7vw, 6rem) 0 calc(2rem + env(safe-area-inset-bottom)); font-size: .95rem; }
.ftr__grid { display: grid; gap: 2.5rem; }
.ftr__logo { display: block; width: 180px; color: var(--paper); }
.ftr h4 { margin: 0 0 .9rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; color: var(--dim); }
.ftr a:hover { color: var(--paper); }
.ftr__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; color: var(--faint); font-size: .84rem; }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* ---------- barra fija móvil ---------- */
.dock { position: fixed; z-index: 40; left: .7rem; right: .7rem; bottom: calc(.7rem + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 4px; padding: 4px; border-radius: 22px; background: rgba(13, 21, 29, .82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px rgba(0, 0, 0, .8); transform: translateY(140%); transition: transform .6s var(--e-out); }
.dock.show { transform: none; }
.dock a { min-height: 52px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: .45rem; font-size: .9rem; font-weight: 500; }
.dock a:first-child { background: var(--wa); color: #08140f; }
.dock a:not(:first-child) { background: rgba(255, 255, 255, .06); }
.dock svg { width: 18px; height: 18px; }
@media (min-width: 1000px) { .dock { display: none; } }
@media (max-width: 999px) { .ftr { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } }

/* ---------- páginas interiores ---------- */
.ph { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: end; overflow: hidden; isolation: isolate; background: var(--degradado); }
.ph__img { position: absolute; inset: 0; z-index: -2; }
.ph__img img { width: 100%; height: 100%; object-fit: cover; }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 30, 41, .55) 0%, rgba(19, 30, 41, .25) 35%, rgba(19, 30, 41, .96) 100%); }
.ph .wrap { padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); display: grid; gap: 1.6rem; }
.ph h1 { font-size: clamp(2.5rem, 7vw, 6.4rem); line-height: .95; letter-spacing: -.05em; font-weight: 560; margin: 0; max-width: 16ch; }
.ph h1 em { font-weight: 370; }
.crumbs { font-size: .82rem; color: var(--faint); display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a { color: var(--dim); }
.blocks { display: grid; gap: 1rem; }
.block { border-radius: 20px; padding: 1.6rem; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: .8rem; align-content: start; }
.block h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.025em; font-weight: 520; }
.block p { margin: 0; color: var(--dim); }
.block i.dot { width: 14px; height: 14px; border-radius: 50%; display: block; }
@media (min-width: 800px) { .blocks { grid-template-columns: repeat(3, 1fr); } .blocks--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .blocks--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split__pic { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.split__pic img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.otras { display: grid; gap: .6rem; }
.otras a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -.02em; transition: padding .5s var(--e-out); }
.otras a:hover { padding-left: .6rem; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 2.4rem 0 .8rem; font-weight: 520; }
.legal p, .legal li { color: var(--dim); }
.legal .pend { color: #e8c07a; }

/* ---------- vista previa (solo para Paco y Juan, no sale en la web publicada) ---------- */
.pv { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem; border-radius: 99px; background: rgba(13, 21, 29, .55); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .78rem; white-space: nowrap; }
.pv span { padding: 0 .55rem; color: var(--dim); }
.pv button { padding: .42rem .75rem; border-radius: 99px; color: var(--dim); transition: background-color .2s, color .2s; }
.pv button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.pv--hdr { display: none; margin-left: auto; }
.pv--menu { justify-self: start; }
@media (min-width: 1000px) { .pv--hdr { display: inline-flex; } .pv--menu { display: none; } }
@media (min-width: 1000px) and (max-width: 1239px) { .hdr__nav { gap: 1.3rem; } .pv--hdr span { display: none; } }

/* ---------- revelados ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--e-out), transform 1.2s var(--e-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .ln > span { transform: none; }
  .hero__media { clip-path: none; }
  .mani__big .w { opacity: 1; }
}


/* =====================================================================
   v2 · carga, cortina, relieve 3D, fondos reales y movimiento (06-11-2026)
   ===================================================================== */

/* ---------- página de carga (solo la primera vez) y cortina entre páginas ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--degradado); display: grid; place-items: center; overflow: hidden; clip-path: inset(0 0 0 0); }
.loader__iso { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; opacity: .9; }
.loader__in { position: relative; display: grid; justify-items: center; gap: 1.6rem; width: min(78vw, 420px); }
.loader__logo { width: min(56vw, 300px); color: var(--paper); }
.loader__bar { width: 100%; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.loader__row { width: 100%; display: flex; justify-content: space-between; gap: 1rem; white-space: nowrap; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-variant-numeric: tabular-nums; }
.loader__row b { font-weight: 500; color: var(--paper); min-width: 4ch; text-align: right; }
.loader.rapida .loader__in { opacity: 0; }
.loader.rapida .loader__iso { display: none; }
.loader { transition: clip-path 1.05s cubic-bezier(.76, 0, .24, 1); }
.loader.fuera { pointer-events: none; clip-path: inset(0 0 100% 0); }
.loader.rapida.fuera { transition-duration: .8s; }
.loader.cubre-ini { clip-path: inset(100% 0 0 0); transition: none; }
.loader.cubre { clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.76, 0, .24, 1); }
/* red de seguridad: si el JS fallase, la carga se aparta sola */
.loader { animation: loader-seguridad 0s linear 6s forwards; }
@keyframes loader-seguridad { to { visibility: hidden; } }
body.cargando { overflow: hidden; }

/* ---------- titulares por líneas (SplitText) ---------- */
.sl-mask { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- máscaras en fotos ---------- */
[data-mask] { overflow: hidden; }
[data-mask] img, [data-mask] video { will-change: transform; }

/* ---------- fondos reales en secciones ---------- */
.bgmedia { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bgmedia img, .bgmedia video { width: 100%; height: 100%; object-fit: cover; }
.bgmedia::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 30, 41, .9) 0%, rgba(19, 30, 41, .78) 50%, rgba(19, 30, 41, .94) 100%); }
.bgmedia--wa::after { background: linear-gradient(180deg, rgba(1, 30, 65, .86), rgba(13, 21, 29, .9)); }
.bgmedia--soft::after { background: linear-gradient(180deg, rgba(19, 30, 41, .82), rgba(19, 30, 41, .7) 50%, rgba(19, 30, 41, .95)); }
.sec > .wrap, .fin > .wrap, .hero > .wrap { position: relative; z-index: 1; }
.wa .bgmedia img, .wa .bgmedia video { filter: blur(6px) saturate(.8); transform: scale(1.08); }

/* ---------- Sierra Calderona en 3D ---------- */
.sierra { background: var(--ink-2); overflow: hidden; }
.sierra__pin { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.sierra__media { position: absolute; inset: 0; clip-path: inset(14% 10% 14% 10% round 24px); }
.sierra__media video, .sierra__media img { width: 100%; height: 100%; object-fit: cover; }
.sierra__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 21, 29, .92) 0%, rgba(13, 21, 29, .55) 38%, transparent 62%), linear-gradient(0deg, rgba(13, 21, 29, .85) 0%, transparent 45%); }
.sierra__txt { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); padding: 0 var(--pad); display: grid; gap: 1.4rem; align-self: end; padding-bottom: clamp(2rem, 6vh, 4rem); }
.sierra__txt h2 { max-width: 14ch; }
.sierra__datos { display: flex; flex-wrap: wrap; gap: 2rem 3rem; }
.sierra__datos div strong { display: block; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.04em; font-weight: 520; line-height: 1; }
.sierra__datos div span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.sierra__nota { position: absolute; z-index: 2; top: calc(var(--header-h) + 1.2rem); right: var(--pad); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); text-align: right; }
@media (max-width: 899px) {
  .sierra__pin { height: auto; display: block; padding: clamp(4rem, 12vw, 6rem) 0 clamp(3rem, 10vw, 5rem); }
  .sierra__media { position: relative; inset: auto; margin: 0 var(--pad) 2rem; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; clip-path: inset(0 round 18px); }
  .sierra__media::after { background: linear-gradient(0deg, rgba(13, 21, 29, .5), transparent 40%); }
  .sierra__txt { padding-bottom: 0; }
  .sierra__nota { display: none; }
}

/* ---------- microinteracciones ---------- */
.chip span { transition: background-color .3s, color .3s, box-shadow .3s, transform .16s cubic-bezier(.23, 1, .32, 1); }
.chip input:active + span { transform: scale(.96); }
.bubble.tecleando { animation: burbuja .45s var(--e-out); }
@keyframes burbuja { from { opacity: .4; transform: translateY(6px); } }
.dz .link-arrow svg { transition: transform .4s var(--e-out); }
.dz:hover .link-arrow svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .sierra__media { clip-path: none; }
}

/* portada de página con el relieve en vídeo: el texto manda */
@media (min-width: 900px) { .ph--video .ph__img video { transform: translateX(20%) scale(1.15); transform-origin: 100% 50%; } }
.ph--video::before { background: linear-gradient(90deg, rgba(19, 30, 41, .94) 0%, rgba(19, 30, 41, .72) 42%, rgba(19, 30, 41, .18) 78%), linear-gradient(0deg, rgba(19, 30, 41, .98) 0%, transparent 42%); }
@media (max-width: 899px) { .ph--video .ph__img video { object-position: 50% 50%; } .ph--video::before { background: linear-gradient(180deg, rgba(19, 30, 41, .55) 0%, rgba(19, 30, 41, .86) 45%, rgba(19, 30, 41, .98) 100%); } }

/* =====================================================================
   WEB FINAL (12-11-2026): diseño 1 con la cabecera del diseño 2
   ===================================================================== */
.hero2 { background: var(--ink); min-height: 100vh; min-height: 100svh; }
.hero2::before { display: none; }
.hero2 .wrap { padding-top: calc(var(--header-h) + 2.2rem); padding-bottom: 2.4rem; gap: clamp(1.8rem, 4vw, 4rem); align-content: center; }
.eyebrow--dot::before { display: none; }
.eyebrow--dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--paper); }
.hero2 h1 { font-size: clamp(2.6rem, 6.6vw, 7.6rem); line-height: .86; letter-spacing: -.06em; font-weight: 800; text-transform: uppercase; max-width: none; margin: .4rem 0 0; }
.hero2 h1 .ln { padding-bottom: .04em; }
.hero2__dot { font-weight: 800; }
.hero2 .hero__sub { gap: 1.4rem; }
.hero2 .lead { max-width: 40ch; color: var(--dim); }
.hero2__cta { border-radius: 0; min-height: 50px; padding: 0 1.4rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero2__cta::after { border-radius: 0; }
.hero2__link { display: inline-flex; align-items: center; gap: .6rem; min-height: 50px; padding: 0 .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: gap .4s var(--e-out); }
.hero2__link:hover { gap: 1rem; }
.hero2__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.1rem; margin-top: .4rem; border-top: 1px solid var(--line); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.hero2__bottom a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--paper); }
/* la película: rectangular, borde fino, como en el diseño 2 */
.hero2__film { border-radius: 0 !important; box-shadow: none; border: 1px solid var(--line); background: var(--ink-2); clip-path: inset(10% 8% 10% 8%); }
.is-ready .hero2__film { clip-path: inset(0); }
.hero2__film::after { background: linear-gradient(180deg, rgba(13, 21, 29, .45) 0%, transparent 28%, transparent 55%, rgba(13, 21, 29, .88) 100%); }
.hero2__top { position: absolute; z-index: 2; top: 1rem; left: 1.1rem; right: 1.1rem; display: flex; justify-content: space-between; align-items: center; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.hero2__live { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .6rem; background: rgba(13, 21, 29, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); letter-spacing: .08em; text-transform: none; }
.hero2__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--paper); }
.hero2__cap { position: absolute; z-index: 2; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.hero2__cap small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: .5rem; }
.hero2__cap strong { display: block; font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: .95; letter-spacing: -.04em; font-weight: 600; }
.hero2__edge { position: absolute; z-index: 2; right: -.15rem; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: center; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); white-space: nowrap; pointer-events: none; display: none; }
@media (min-width: 900px) {
  .hero2 .wrap { grid-template-columns: 1.2fr .8fr; grid-template-rows: auto; align-items: stretch; }
  .hero2 .hero__top { align-content: center; padding-bottom: 0; }
  .hero2__film { align-self: stretch; max-height: none; min-height: min(78svh, 680px); max-width: none; aspect-ratio: auto; }
  .hero2__edge { display: block; right: -4.6rem; }
}
@media (max-width: 899px) {
  .hero2 .hero__media { order: 0; height: min(62svh, 120vw); }
  .hero2 h1 { font-size: clamp(2.4rem, 12.4vw, 4.6rem); }
  .hero2 .wrap { padding-top: calc(var(--header-h) + 1.4rem); }
}
@media (prefers-reduced-motion: reduce) { .hero2__film { clip-path: none; } }

/* cabecera de navegación con el tono del diseño 2: mayúsculas pequeñas */
.hdr__nav a { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
/* la máscara de cada línea deja sitio a las tildes de las mayúsculas (PRÓXIMA) */
.hero2 h1 .ln { padding-top: .14em; margin-top: -.14em; }

/* firma de la casa: última línea del pie */
.ftr__firma { order: 99; flex-basis: 100%; text-align: center; padding-top: .6rem; }
@media (min-width: 900px) { .ftr__firma { flex-basis: auto; text-align: right; } }
