/* ===== Tokens (cada marca los sobreescribe) ===== */
:root {
  --bg: #fff;
  --fg: #111;
  --accent: #e33;
  --accent-2: #fc0;
  --on-accent: #fff;
  --card: #fff;
  --line: rgba(0, 0, 0, 0.14);
  --font-display: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --font-mono: ui-monospace, monospace;
  --pad: clamp(20px, 4.5vw, 72px);
  --nav-h: 76px;
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.is-loading, html.is-loading body { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 999px; transition: top 0.2s; }
.skip:focus { top: 12px; }

/* ===== Estados de movimiento (degradan con gracia) ===== */
.js [data-reveal] { opacity: 0; }
.js .split:not(.is-split) { visibility: hidden; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; will-change: transform; }
.js .split .w > span { transform: translateY(110%); }
.motion-inert [data-reveal] { opacity: 1 !important; transform: none !important; }
.motion-inert .split { visibility: visible !important; }
.motion-inert .split .w > span { transform: none !important; }
.motion-inert .preloader { display: none !important; }
.motion-inert .mw { opacity: 1 !important; }
noscript .preloader, .no-js .preloader { display: none; }

/* ===== Preloader ===== */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg); color: var(--accent);
  display: grid; place-items: center;
}
.preloader__inner { display: grid; place-items: center; gap: 18px; }
.preloader__logo { width: clamp(140px, 22vw, 220px); height: auto; object-fit: contain; filter: drop-shadow(0 8px 0 rgba(0,0,0,0.12)); }
.preloader__bar { width: clamp(140px, 24vw, 240px); height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }
.preloader__count { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.12em; }

/* ===== Cursor ===== */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: none; opacity: 0; transition: opacity 0.3s; }
.cursor.is-on { opacity: 1; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 8px; height: 8px; background: var(--accent); }
.cursor__ring { width: 40px; height: 40px; border: 1.5px solid var(--accent); display: grid; place-items: center; font-size: 0; transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, font-size 0.2s; color: var(--on-accent); font-family: var(--font-body); font-weight: 700; letter-spacing: 0.04em; }
.cursor.is-link .cursor__ring { width: 58px; height: 58px; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.cursor.is-link .cursor__dot { opacity: 0; }
.cursor.is-hover .cursor__ring { width: 96px; height: 96px; background: var(--accent); font-size: 0.8rem; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: transform 0.5s var(--ease), background 0.4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__logo { display: block; height: 76px; margin-left: -6px; }
.nav__logo img { height: 100%; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-weight: 700; font-size: 0.95rem; }
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 640px) { .nav__links a:not(.btn) { display: none; } .nav__logo { height: 62px; } }

/* ===== Botones ===== */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  background: var(--accent); color: var(--on-accent);
  overflow: hidden; isolation: isolate; will-change: transform;
}
.btn > span { position: relative; z-index: 1; transition: transform 0.45s var(--ease); display: inline-flex; align-items: center; gap: 10px; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--fg); clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path 0.55s var(--ease); z-index: 0; border-radius: inherit; }
.btn:hover::before, .btn:focus-visible::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.btn { transition: color 0.3s ease 0.05s, border-color 0.3s; }
.btn:hover { color: var(--bg); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 0.92rem; }
.btn svg { width: 18px; height: 18px; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 3vh) var(--pad) 7vh; overflow: hidden; }
.hero__eyebrow { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero h1 { font-family: var(--font-display); font-weight: 400; line-height: 0.92; letter-spacing: -0.01em; font-size: clamp(3rem, 10.5vw, 10rem); text-wrap: balance; }
.hero h1 .ln { display: block; }
.hero__sub { max-width: 34ch; font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem); margin: 28px 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.hero__scroll { position: absolute; right: var(--pad); bottom: 3.5vh; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 54px; background: currentColor; transform-origin: top; animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero--split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__figure { position: relative; width: 100%; justify-self: end; max-width: 620px; }
.hero--split .hero__media { aspect-ratio: 4 / 5; max-height: 78vh; width: 100%; }
.hero--split .badge { left: -9%; bottom: 7%; }
.hero--full .badge { right: var(--pad); top: calc(var(--nav-h) + 5vh); }
@media (max-width: 860px) {
  .hero--split { grid-template-columns: 1fr; padding-bottom: 12vh; }
  .hero__figure { order: 2; max-width: none; }
  .hero--split .hero__media { aspect-ratio: 4 / 3; max-height: none; }
  .hero--split .badge { left: auto; right: 4%; bottom: -8%; }
  .hero__scroll { display: none; }
}

.hero--full { display: flex; align-items: flex-end; color: #fff; }
.hero--full .hero__media { position: absolute; inset: 0; z-index: 0; }
.hero--full .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 38%, rgba(0,0,0,0.88) 100%); }
.hero--full .hero__copy { position: relative; z-index: 1; width: 100%; }

.badge { position: absolute; z-index: 5; width: clamp(110px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--accent-2); color: var(--fg); }
.badge svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge text { font-family: var(--font-body); font-weight: 700; font-size: 8.6px; letter-spacing: 0.1em; text-transform: uppercase; fill: currentColor; }
.badge b { position: absolute; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Marquee ===== */
.marquee { overflow: hidden; background: var(--fg); color: var(--bg); padding: clamp(14px, 2vw, 24px) 0; border-block: 2px solid var(--fg); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex-shrink: 0; align-items: center; }
.marquee__group span { font-family: var(--font-display); font-size: clamp(1.6rem, 4.2vw, 3.4rem); text-transform: uppercase; white-space: nowrap; padding: 0 clamp(14px, 2vw, 32px); line-height: 1; }
.marquee__group i { width: clamp(14px, 2vw, 28px); aspect-ratio: 1; background: var(--accent); border-radius: 50%; flex-shrink: 0; }

/* ===== Manifiesto ===== */
.manifesto { padding: clamp(80px, 14vw, 200px) var(--pad); }
.manifesto p { font-family: var(--font-display); font-size: clamp(1.7rem, 4.6vw, 4.2rem); line-height: 1.12; max-width: 24ch; margin-inline: auto; text-align: center; text-wrap: balance; }
.manifesto .mw { opacity: 0.16; transition: none; }
.eyebrow { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

/* ===== Galería (scroll horizontal fijado) ===== */
.gallery { position: relative; background: var(--card); overflow: hidden; }
.gallery__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 48px); padding: clamp(70px, 9vh, 110px) 0 clamp(40px, 6vh, 70px); }
.gallery__head { padding: 0 var(--pad); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gallery__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: 0.95; }
.gallery__bar { width: min(180px, 30vw); height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; flex-shrink: 0; margin-bottom: 14px; }
.gallery__bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.gallery__track { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.card { position: relative; flex: 0 0 auto; width: clamp(260px, 30vw, 440px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #000; color: #fff; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover img { transform: scale(1.08); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.78)); }
.card__meta { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; }
.card__n { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; opacity: 0.85; }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; margin: 6px 0 8px; }
.card p { font-size: 0.95rem; opacity: 0.92; max-width: 28ch; }
@media (max-width: 899px) {
  .gallery__pin { min-height: 0; padding-block: 70px; }
  .gallery__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: center; width: 76vw; }
  .gallery__bar { display: none; }
}

/* ===== Pedir ===== */
.order { position: relative; background: var(--accent); color: var(--on-accent); padding: clamp(80px, 12vw, 180px) var(--pad); overflow: hidden; text-align: center; }
.order h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 11vw, 10rem); line-height: 0.9; text-transform: none; }
.order h2 .ln { display: block; }
.order p { max-width: 36ch; margin: 24px auto 38px; font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); }
.order__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.order .btn { background: var(--on-accent); color: var(--accent); --h: 64px; padding: 0 38px; font-size: 1.1rem; }
.order .btn::before { background: var(--fg); }
.order .btn:hover { color: var(--bg); }
.order .btn--ghost { background: transparent; color: var(--on-accent); border-color: var(--on-accent); }
.order .btn--ghost:hover { color: var(--fg); }
.order .btn--ghost::before { background: var(--on-accent); }

/* ===== Sucursales ===== */
.locations { padding: clamp(70px, 10vw, 140px) var(--pad); }
.locations__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: clamp(28px, 4vw, 56px); }
.locations h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 6.5vw, 6rem); line-height: 0.95; }
.locations__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px); }
.loc { position: relative; border: 2px solid var(--fg); border-radius: var(--radius); padding: clamp(24px, 3vw, 44px); overflow: hidden; display: flex; flex-direction: column; gap: 26px; min-height: 320px; justify-content: space-between; isolation: isolate; transition: color 0.5s var(--ease); }
.loc::before { content: ""; position: absolute; inset: -2px; background: var(--fg); clip-path: circle(0% at 85% 12%); transition: clip-path 0.8s var(--ease); z-index: -1; }
.loc:hover { color: var(--bg); }
.loc:hover::before { clip-path: circle(150% at 85% 12%); }
.loc__tag { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.loc h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; margin-top: 8px; }
.loc__tel { font-family: var(--font-mono); font-size: 0.95rem; margin-top: 10px; opacity: 0.85; }
.loc__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.loc .btn--ghost { color: inherit; border-color: currentColor; }
.loc:hover .btn { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.loc:hover .btn--ghost { background: transparent; color: var(--bg); border-color: var(--bg); }
.loc:hover .btn::before { background: var(--bg); }
.loc:hover .btn:hover { color: var(--fg); }
@media (max-width: 760px) { .locations__grid { grid-template-columns: 1fr; } .loc { min-height: 260px; } }

/* ===== Familia ===== */
.family { padding: 0 var(--pad) clamp(70px, 10vw, 140px); }
.family__head { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; margin-bottom: 20px; }
.family__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px); }
.sib { position: relative; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; isolation: isolate; }
.sib::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.0); transition: background 0.4s; z-index: -1; }
.sib:hover::after { background: rgba(0,0,0,0.18); }
.sib h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; }
.sib p { max-width: 30ch; margin-top: 8px; opacity: 0.95; }
.sib__arrow { align-self: flex-end; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; transition: transform 0.5s var(--ease); }
.sib:hover .sib__arrow { transform: rotate(-45deg) scale(1.1); }
@media (max-width: 760px) { .family__grid { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.footer { background: var(--fg); color: var(--bg); padding: clamp(40px, 6vw, 80px) var(--pad) 28px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.18); }
.footer__logo { height: 70px; width: auto; background: #fff; border-radius: 18px; padding: 6px 12px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.4); display: grid; place-items: center; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-4px); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; font-size: 0.9rem; opacity: 0.9; }
.credit { display: inline-flex; align-items: center; gap: 8px; }
.credit img { width: 22px; height: 22px; border-radius: 50%; }
.credit span { opacity: 0.65; }
.credit strong { font-weight: 700; }
.credit:hover strong { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Mrs. Nashie — rosa picante, tipografía gigante, bordes duros */
:root {
  --bg: #fff1e6;
  --fg: #2a0a12;
  --accent: #ef3b57;
  --accent-2: #ffe45e;
  --on-accent: #fff1e6;
  --card: #ffd9d3;
  --line: rgba(42, 10, 18, 0.16);
  --font-display: "Anton", "Impact", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "Rubik Mono One", "Archivo", sans-serif;
  --radius: 22px;
}
.hero { background: var(--accent); color: var(--on-accent); }
.hero h1 { font-size: clamp(4rem, 12.5vw, 12rem); text-transform: uppercase; line-height: 0.88; letter-spacing: 0.005em; }
.hero h1 .ln:nth-child(2) { -webkit-text-stroke: 2px var(--on-accent); color: transparent; }
.hero h1 .ln:nth-child(3) { color: var(--accent-2); }
.hero__eyebrow { font-family: var(--font-mono); font-size: 0.7rem; }
.hero__sub { font-weight: 500; }
.nav { color: var(--fg); }
.nav__logo { height: 50px; margin-left: 0; background: var(--bg); border-radius: 12px; padding: 7px 12px; box-shadow: 4px 4px 0 var(--fg); }
@media (max-width: 640px) { .nav__logo { height: 44px; padding: 6px 10px; } }
.nav .btn { background: var(--fg); color: var(--bg); }
.nav .btn::before { background: var(--accent-2); }
.nav .btn:hover { color: var(--fg); }
.hero .btn:not(.btn--ghost) { background: var(--on-accent); color: var(--accent); }
.hero .btn:not(.btn--ghost)::before { background: var(--fg); }
.hero .btn:not(.btn--ghost):hover { color: var(--bg); }
.hero .btn--ghost { color: var(--on-accent); border-color: var(--on-accent); }
.hero .btn--ghost::before { background: var(--on-accent); }
.hero .btn--ghost:hover { color: var(--accent); }
.hero__scroll { color: var(--on-accent); }
.hero__media { border: 4px solid var(--on-accent); border-radius: var(--radius); box-shadow: 14px 14px 0 var(--fg); }
.hero__figure { transform: rotate(3deg); }
.badge { background: var(--accent-2); color: var(--fg); border: 3px solid var(--fg); box-shadow: 5px 5px 0 var(--fg); }
.badge b::before { content: "🌶"; font-size: 0.8em; }
.meter { display: grid; gap: 10px; margin-top: 34px; max-width: 360px; }
.meter div { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; }
.meter i { display: block; height: 12px; background: rgba(255,255,255,0.28); border-radius: 12px; position: relative; overflow: hidden; }
.meter i::after { content: ""; position: absolute; inset: 0; background: var(--accent-2); transform: scaleX(var(--v)); transform-origin: left; border-radius: inherit; }
.marquee { background: var(--fg); color: var(--accent-2); }
.marquee__group i { background: var(--accent); }
.manifesto { background: var(--bg); }
.manifesto p { text-transform: uppercase; font-size: clamp(1.8rem, 5vw, 4.6rem); line-height: 1.04; max-width: 22ch; }
.card { border: 3px solid var(--fg); box-shadow: 8px 8px 0 var(--fg); }
.card h3 { text-transform: uppercase; }
.order { background: var(--accent); }
.order h2 { text-transform: uppercase; }
.order h2 .ln:last-child { color: var(--accent-2); }
.order .btn { background: var(--on-accent); color: var(--accent); }
.locations h2, .gallery__head h2 { text-transform: uppercase; }
.loc h3, .sib h3 { text-transform: uppercase; }
.footer { background: var(--fg); }
.footer__logo { background: var(--bg); }

/* ===== Layout de una sola sección (se carga al final para ganar a las marcas) ===== */

/* Eyebrows: Mayúscula Inicial en vez de TODO MAYÚSCULAS */
.hero__eyebrow, .eyebrow, .dock__label, .loc__tag, .card__n, .family__head {
  text-transform: capitalize;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.hero { display: flex; flex-direction: column; min-height: 100svh; padding: calc(var(--nav-h) + 1vh) var(--pad) 18px; }
.hero__main { flex: 1; min-height: 0; }
.hero--split .hero__main { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: 2vh 3vh; }
.hero--full .hero__main { position: relative; z-index: 1; display: flex; align-items: flex-end; padding-block: 3vh 4vh; }
.hero--full .hero__copy { max-width: 1100px; }
.hero--full .hero__media { z-index: 0; }
.hero__figure { display: grid; place-items: center; max-width: none; }
.hero--split .hero__media { width: auto; height: min(54vh, 560px); aspect-ratio: 4 / 5; max-height: none; }

/* Tamaños de titular ligados a la altura para que quepa todo */
.hero h1 { font-size: min(9.4vw, 14.5vh); }
.hero__sub { margin: 18px 0 22px; font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem); }
.chips { margin-top: 20px; }
.meter { grid-template-columns: repeat(3, 1fr); max-width: 420px; margin-top: 20px; gap: 12px; }
.meter div { grid-template-columns: 1fr; gap: 6px; }
.labbar { margin-bottom: 16px; }

/* Marquesina fina pegada al dock */
.hero .marquee { margin: 0 calc(var(--pad) * -1); padding: 8px 0; position: relative; z-index: 2; }
.hero .marquee__group span { font-size: clamp(1rem, 1.8vw, 1.5rem); }
.hero .marquee__group i { width: 10px; }

/* Dock: sucursales + marcas + redes + crédito */
.dock { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px 28px; padding-top: 16px; }
.dock__label { opacity: 0.85; margin-bottom: 8px; }
.dock__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dock .loc { min-height: 0; padding: 12px 16px; border: 1.5px solid currentColor; border-radius: 18px; gap: 12px; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.dock .loc::before { display: none; }
.dock .loc:hover { color: inherit; background: color-mix(in srgb, currentColor 10%, transparent); }
.dock .loc h3 { font-size: clamp(1.1rem, 1.5vw, 1.45rem); margin: 0; }
.dock .loc__tel { font-size: 0.8rem; margin-top: 2px; opacity: 0.8; }
.dock .loc__btns { gap: 8px; }
.dock .btn { --h: 36px; padding: 0 14px; font-size: 0.85rem; background: transparent; color: inherit; border: 1.5px solid currentColor; }
.dock .btn::before { display: none; }
.dock .btn:hover { background: color-mix(in srgb, currentColor 18%, transparent); color: inherit; }
.dock .btn svg { width: 15px; height: 15px; }
.dock__sibs { display: flex; flex-wrap: wrap; gap: 10px; }
.dock .sib { min-height: 0; padding: 8px 8px 8px 18px; border-radius: 999px; flex-direction: row; align-items: center; gap: 12px; }
.dock .sib h3 { font-size: clamp(1rem, 1.3vw, 1.25rem); }
.dock .sib p { display: none; }
.dock .sib__arrow { width: 34px; height: 34px; align-self: center; }
.dock .sib__arrow svg { width: 16px; height: 16px; }
.dock__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, currentColor 28%, transparent); font-size: 0.82rem; }
.dock .socials a { width: 36px; height: 36px; border-color: currentColor; }
.dock .socials a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.dock .socials svg { width: 17px; height: 17px; }

/* Móvil / pantallas bajas: se apila y hace scroll natural */
@media (max-width: 960px) {
  .hero--split .hero__main { grid-template-columns: 1fr; }
  .hero__figure { order: 2; }
  .hero--split .hero__media { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .hero--split .badge { left: auto; right: 4%; bottom: -6%; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 5.4rem); }
  .dock { grid-template-columns: 1fr; }
  .dock__cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .dock__legal { flex-direction: column; align-items: flex-start; } }
@media (max-height: 640px) and (min-width: 961px) { .hero { min-height: 0; } .hero--split .hero__media { height: 62vh; } }
.hero--full h1 { font-size: min(6.2vw, 9.5vh); }
@media (max-width: 960px) { .hero--full h1 { font-size: clamp(2rem, 9vw, 3.6rem); } }

/* Laptops (≈ 700–800px de alto): todo cabe en una pantalla */
@media (min-width: 961px) and (max-height: 820px) {
  :root { --nav-h: 64px; }
  .nav__logo { height: 56px; }
  .chips, .meter, .labbar { display: none; }
  .hero h1 { font-size: min(8.6vw, 12.5vh); }
  .hero--full h1 { font-size: min(5.6vw, 8.4vh); }
  .hero__sub { margin: 12px 0 16px; }
  .hero__eyebrow { margin-bottom: 10px; }
  .hero--split .hero__media { height: min(50vh, 460px); }
  .hero .marquee { padding: 5px 0; }
  .dock { padding-top: 12px; gap: 8px 28px; }
  .dock__label { margin-bottom: 6px; font-size: 0.8rem; }
  .dock .loc { padding: 9px 14px; }
  .dock__legal { padding-top: 8px; }
}

.hero { gap: 0; }
.dock .loc { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; }
.dock .loc > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.dock .loc__tag { display: none; }
.dock .loc__btns { flex-wrap: nowrap; }
@media (min-width: 961px) and (max-height: 820px) {
  .hero--split .hero__main { padding-block: 0 1vh; }
  .hero--split .hero__media { height: min(46vh, 420px); }
  .hero { padding-bottom: 10px; }
  .hero__sub { margin: 10px 0 14px; }
}

.brand-nashie .hero h1 { font-size: min(9vw, 13vh); }
@media (min-width: 961px) and (max-height: 820px) { .brand-nashie .hero h1 { font-size: min(8vw, 10.6vh); } }
@media (max-width: 960px) { .brand-nashie .hero h1 { font-size: clamp(2.8rem, 15vw, 5.6rem); } }
.hero--full { align-items: stretch; }
.hero--full .badge { top: 2vh; right: 0; }
.hero--full .dock .loc { background: rgba(10, 8, 7, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero--full .dock__legal, .hero--full .dock__label { text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* ===== Carrusel del hero ===== */
.hero__media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media .slide:not(.is-on) { clip-path: inset(100% 0 0 0); }
.hero__cap { position: absolute; z-index: 50; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(15, 12, 10, 0.62); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 0.85rem; font-weight: 700; overflow: hidden; }
.hero__cap-n { font-variant-numeric: tabular-nums; opacity: 0.7; }
.hero__cap-t { display: inline-block; min-width: 4ch; }
.hero__cap i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: left; }
.hero--full .hero__cap { left: auto; right: var(--pad); bottom: auto; top: 50%; }
@media (max-width: 960px) { .hero--full .hero__cap { top: auto; bottom: 30%; right: auto; left: var(--pad); } }
.hero--full .hero__media::after { z-index: 40; background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.2) 55%, rgba(0,0,0,0.05) 100%), linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%); }
.hero--split .hero__cap { left: auto; right: 14px; }

/* ===== Mrs. Nashie v2 — mismo sistema que Smashie, en rosa picante ===== */

/* Papel de envolver: la mascota en patrón terracota, como su empaque */
.brand-nashie .hero { position: relative; isolation: isolate; background: var(--accent); }
.brand-nashie .hero::before {
  content: ""; position: absolute; inset: -30%; z-index: -2; pointer-events: none;
  background: var(--fg); opacity: 0.09; transform: rotate(-10deg);
  -webkit-mask: url("img/pattern.png") 0 0 / 240px 240px; mask: url("img/pattern.png") 0 0 / 240px 240px;
}
.brand-nashie .hero::after { /* limpia el patrón detrás del texto */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(58% 60% at 26% 40%, var(--accent) 40%, transparent 100%);
}

/* Titular: línea 2 como etiqueta-sticker */
.brand-nashie .hero h1 .ln:nth-child(3) {
  display: inline-block; width: max-content; max-width: 100%;
  font-size: 0.9em; color: var(--on-accent); background: var(--accent);
  border: 3px solid var(--fg); border-radius: 0.2em; padding: 0 0.22em 0.08em; margin-top: 0.1em;
  box-shadow: 7px 7px 0 var(--fg);
  transform: rotate(-3deg); transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s, opacity 0.3s linear 0.5s;
}
html.js:not([data-ready]) .brand-nashie .hero h1 .ln:nth-child(3) { opacity: 0; transform: rotate(-14deg) scale(0.6); }

/* Botones con sombra dura */
.brand-nashie .hero__cta .btn, .brand-nashie .nav .btn { border: 2.5px solid var(--fg); box-shadow: 4px 4px 0 var(--fg); }
.brand-nashie .hero__cta .btn--ghost { background: var(--bg); }
.brand-nashie .hero__cta .btn:not(.btn--ghost)::before, .brand-nashie .nav .btn::before { background: var(--accent-2); }
.brand-nashie .hero__cta .btn:not(.btn--ghost):hover, .brand-nashie .nav .btn:hover { color: var(--fg); }
.brand-nashie .chips li { box-shadow: 3px 3px 0 var(--fg); }
.brand-nashie .chips li:nth-child(odd) { transform: rotate(-2deg); }
.brand-nashie .chips li:nth-child(even) { transform: rotate(2deg); }

/* Foto cuadrada con sombra dura (sin resplandor) */
.brand-nashie .hero__figure { position: relative; --sq: min(52vh, 36vw, 500px); width: var(--sq); max-width: 100%; justify-self: center; }
.brand-nashie .hero--split .hero__media { width: 100%; height: auto; max-height: none; aspect-ratio: 1; border-radius: 28px; box-shadow: 12px 12px 0 var(--fg); }

/* Sello con la mascota */
.brand-nashie .badge { width: clamp(124px, 13vw, 190px); }
.brand-nashie .badge text { font-size: 8px; }
.badge__img { position: absolute; inset: 0; margin: auto; width: 52%; height: auto; animation: wobble 3.2s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { rotate: -7deg; } 50% { rotate: 7deg; } }

/* Marquesina + franja de cuadros */
.brand-nashie .hero .marquee { border-block: 3px solid var(--fg); }
.brand-nashie .dock { grid-template-columns: 1.6fr 1fr; gap: 10px 28px; padding-top: 0; }
.brand-nashie .dock::before {
  content: ""; grid-column: 1 / -1; height: 12px; margin: 0 calc(var(--pad) * -1) 4px;
  background: repeating-conic-gradient(var(--fg) 0 25%, transparent 0 50%) 0 0 / 12px 12px;
}

/* Sucursales como tickets */
.brand-nashie .dock__label { color: var(--accent); font-weight: 700; opacity: 1; }
.brand-nashie .dock .loc {
  flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 8px;
  padding: 10px 14px; background: var(--bg); border: 2.5px solid var(--fg); border-radius: 16px; box-shadow: 4px 4px 0 var(--fg);
  transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brand-nashie .dock .loc:hover { background: var(--bg); translate: -2px -2px; box-shadow: 7px 7px 0 var(--accent); }
.brand-nashie .dock .loc > div:first-child { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 0; }
.brand-nashie .dock .loc h3, .brand-nashie .dock .loc__tel { white-space: nowrap; }
.brand-nashie .dock .btn { border: 2px solid var(--fg); background: var(--bg); transition: transform 0.25s var(--ease), background 0.25s, color 0.25s; }
.brand-nashie .dock .loc__btns .btn:first-child { background: var(--accent); color: var(--on-accent); }
.brand-nashie .dock .btn:hover { background: var(--accent-2); color: var(--fg); transform: translateY(-2px); }

/* Marcas hermanas y redes */
.brand-nashie .dock .sib { border: 2.5px solid var(--fg); box-shadow: 4px 4px 0 var(--fg); transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.brand-nashie .dock .sib:hover { translate: -2px -2px; box-shadow: 7px 7px 0 var(--fg); }
.brand-nashie .dock .socials a { border: 2px solid var(--fg); background: var(--bg); }
.brand-nashie .dock__legal { border-top: 0; padding-top: 6px; }

@media (max-width: 960px) {
  .brand-nashie .dock { grid-template-columns: 1fr; }
  .brand-nashie .hero::after { background: radial-gradient(90% 40% at 50% 22%, var(--accent) 45%, transparent 100%); }
  .brand-nashie .hero h1 .ln:nth-child(3) { box-shadow: 5px 5px 0 var(--fg); }
}

/* Ajuste de altura: que todo quepa sin scroll */
.brand-nashie .dock .sib { padding: 5px 5px 5px 14px; gap: 8px; }
.brand-nashie .dock .sib h3 { font-size: 1rem; white-space: nowrap; }
.brand-nashie .dock .sib__arrow { width: 28px; height: 28px; }
@media (min-width: 961px) and (max-height: 920px) { .brand-nashie .chips { display: none; } }
@media (min-width: 961px) { .brand-nashie .hero--split .hero__main { padding-block: 1vh 2vh; } }
.brand-nashie .hero__copy { position: relative; z-index: 2; }
@media (max-width: 960px) { .brand-nashie .hero--split .hero__cap { right: auto; left: 14px; } }

/* ===== Responsivo: laptop, iPad y celular ===== */
/* Footer con aire: redes | © | crédito */
.brand-nashie .dock { row-gap: 14px; }
.brand-nashie .dock__legal { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 20px; margin-top: 4px; padding-top: 12px; border-top: 2px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.brand-nashie .dock__legal .credit { justify-self: end; }
.brand-nashie .dock__legal .credit span { white-space: nowrap; }
.brand-nashie .dock__legal > span { text-align: center; }
.brand-nashie .dock__sibs { flex-wrap: wrap; }
.brand-nashie .hero { padding-bottom: 14px; }

/* Laptop (pantallas bajas): compacta sin encimar */
@media (min-width: 961px) and (max-height: 820px) {
  .brand-nashie .hero__figure { --sq: min(44vh, 34vw, 420px); }
  .brand-nashie .hero { padding-bottom: 8px; }
  .brand-nashie .dock .loc { padding: 7px 14px; }
  .brand-nashie .hero--split .hero__media { box-shadow: 9px 9px 0 var(--fg); }
  .brand-nashie .badge { width: clamp(104px, 11vw, 150px); }
  .brand-nashie .dock { row-gap: 10px; }
  .brand-nashie .dock__legal { padding-top: 8px; margin-top: 2px; }
}
@media (min-width: 961px) and (max-height: 700px) {
  .brand-nashie .hero h1 { font-size: min(7.6vw, 11.5vh); }
  .brand-nashie .hero__figure { --sq: min(39vh, 32vw, 380px); }
  .brand-nashie .hero__sub { margin: 8px 0 12px; font-size: 1rem; }
  .brand-nashie .dock::before { height: 8px; background-size: 8px 8px; margin-bottom: 0; }
}

/* iPad vertical y celular: una columna con scroll natural */
@media (max-width: 960px) {
  .brand-nashie .hero { padding-bottom: 22px; }
  .brand-nashie .hero--split .hero__main { gap: 34px; padding-block: 2vh 44px; }
  .brand-nashie .hero__figure { --sq: min(100%, 520px); justify-self: center; }
  .brand-nashie .hero--split .badge { left: auto; right: -3%; bottom: -9%; }
  .brand-nashie .chips { display: flex; }
  .brand-nashie .dock { row-gap: 20px; }
  .brand-nashie .dock__cards { grid-template-columns: repeat(2, 1fr); }
  .brand-nashie .dock__legal { margin-top: 6px; padding-top: 16px; }
  .brand-nashie .dock__legal { grid-template-columns: auto 1fr; }
  .brand-nashie .dock__legal > span { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .brand-nashie .hero--split .hero__media { box-shadow: 8px 8px 0 var(--fg); border-radius: 22px; }
  .brand-nashie .hero--split .badge { right: 2%; }
  .brand-nashie .dock__cards { grid-template-columns: 1fr; }
  .brand-nashie .dock .loc__btns { width: auto; }
  .brand-nashie .dock__legal { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .brand-nashie .dock__legal .credit { justify-self: center; flex-wrap: wrap; justify-content: center; }
}

/* Sin franja blanca cuando la ventana es más alta que el contenido */
html:has(.brand-nashie) { background: #ef3b57; }
@media (max-height: 640px) and (min-width: 961px) { .brand-nashie .hero { min-height: 100svh; } }
@media (min-width: 961px) and (min-height: 821px) and (max-height: 920px) { .brand-nashie .hero__figure { --sq: min(47vh, 36vw, 470px); } }

/* --- Diferencias de Nashie --- */
.brand-nashie .hero h1 .ln:nth-child(3) {
  font-size: 0.92em; color: var(--fg); background: var(--accent-2); -webkit-text-stroke: 0;
  border-radius: 0.1em; padding: 0.06em 0.16em 0; margin-top: 0.14em;
}
.brand-nashie .hero__figure { transform: rotate(2deg); }
.brand-nashie .hero--split .hero__media { border: 4px solid var(--on-accent); }
.brand-nashie .badge__img { width: 40%; }
.brand-nashie .hero__cta .btn--ghost { background: var(--bg); color: var(--fg); border-color: var(--fg); }
.brand-nashie .hero__cta .btn--ghost::before { background: var(--accent-2); }
.brand-nashie .hero__cta .btn--ghost:hover { color: var(--fg); }
.brand-nashie .hero__cta .btn:not(.btn--ghost)::before { background: var(--accent-2); }
.brand-nashie .hero .marquee { border-block: 3px solid var(--fg); }
.brand-nashie .dock::before { /* dientes de sierra en vez de cuadros */
  height: 12px; background: conic-gradient(from -45deg at 50% 0, var(--fg) 90deg, transparent 0) 0 0 / 18px 12px repeat-x;
}
.brand-nashie .dock__label { color: var(--accent-2); }
.brand-nashie .dock .loc, .brand-nashie .dock .socials a { color: var(--fg); }
.brand-nashie .dock .loc:hover { box-shadow: 7px 7px 0 var(--accent-2); }
.brand-nashie .dock .loc__btns .btn:first-child { background: var(--fg); color: var(--bg); }
.brand-nashie .dock .btn:hover { background: var(--accent-2); color: var(--fg); }
.brand-nashie .dock__legal { border-top-color: color-mix(in srgb, var(--on-accent) 35%, transparent); }
@media (min-width: 961px) and (max-height: 700px) { .brand-nashie .hero h1 { font-size: min(7vw, 9.6vh); } }
@media (min-width: 961px) and (max-height: 820px) {
  .brand-nashie .hero h1 { font-size: min(7.4vw, 8.8vh); }
  .brand-nashie .hero__sub { margin: 8px 0 12px; font-size: 1rem; max-width: 46ch; }
  .brand-nashie .hero__eyebrow { margin-bottom: 6px; }
}
.brand-nashie .dock { align-self: stretch; }

/* Titular más parejo: dos líneas sólidas + etiqueta */
.brand-nashie .hero h1 .ln:nth-child(2) { -webkit-text-stroke: 0; color: var(--on-accent); }
.brand-nashie .hero h1 .ln:nth-child(3) { margin-top: 0.2em; }
.brand-nashie .preloader__logo { width: clamp(180px, 26vw, 260px); }
