/* ==========================================================================
   Secciones
   ========================================================================== */

.section { padding-block: var(--section-y); position: relative; }

.section--light {
  background: linear-gradient(180deg, var(--shell), var(--shell-2));
  color: var(--on-light);
}
/* naranja de marca oscurecido solo aquí: sobre fondo claro, el `--sunset`
   original quedaba en 2,79:1 y no se leía */
.section--light .eyebrow { color: oklch(0.52 0.16 42); }
.section--light .section__title { color: var(--on-light); }
.section--light .section__lead { color: var(--on-light-mid); }

.section--deep {
  background:
    radial-gradient(120% 70% at 50% -10%, oklch(0.25 0.064 261), transparent 62%),
    var(--navy-950);
}

.section__head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
@media (min-width: 900px) { .section__head { margin-bottom: 2.2rem; } }

.section__head--split {
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 700px) {
  .section__head--split { grid-template-columns: 1fr auto; gap: 1.5rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sunset), var(--gold));
}

.section__title {
  font-size: var(--step-3);
  letter-spacing: -0.02em;
}
@media (min-width: 900px) { .section__title { font-size: var(--step-4); } }

.section__lead {
  max-width: 56ch;
  color: var(--on-dark-mid);
  font-size: var(--step-0);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease), backdrop-filter var(--t-slow) var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.10 0.04 262 / 0.72), transparent);
  opacity: 1;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.header[data-stuck] {
  background: oklch(0.17 0.055 261 / 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.header[data-stuck]::before { opacity: 0; }

.header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.brand img { height: 34px; width: auto; }
@media (min-width: 900px) { .brand img { height: 44px; } }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 0.35rem; }
  .nav a {
    position: relative;
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-pill);
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--on-dark-mid);
    transition: color var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease);
  }
  .nav a:hover { color: var(--on-dark); background: oklch(1 0 0 / 0.08); }
}

.cart-btn { position: relative; }
.cart-btn__count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--sunset-hi), var(--sunset));
  color: oklch(0.16 0.04 40);
  font-size: 0.68rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 8px oklch(0.685 0.196 42 / 0.6);
}
.cart-btn__count[hidden] { display: none; }
.cart-btn.is-bump { animation: pop var(--t-slow) var(--ease); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  background: var(--ink);
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__poster,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__poster { position: absolute; inset: 0; }
.hero__video {
  position: relative;
  opacity: 0;
  transition: opacity 500ms var(--ease);
}
.hero__video.is-ready { opacity: 1; }

.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* --- móvil: texto arriba, cocinero y comida abajo --- */
@media (max-width: 699px) {
  .hero {
    /* con el teléfono acostado la pantalla mide menos que el mínimo: por eso
       el mínimo cede ante la altura real, si no los botones quedaban debajo
       de la barra inferior y el toque se lo llevaba la barra */
    min-height: min(520px, 84svh);
    height: 84svh;
    max-height: 760px;
    align-items: flex-start;
  }
  .hero__poster,
  .hero__video { object-position: 50% 100%; }
  .hero__scrim {
    background:
      linear-gradient(180deg,
        oklch(0.11 0.045 262 / 0.90) 0%,
        oklch(0.12 0.045 262 / 0.74) 26%,
        oklch(0.13 0.045 262 / 0.30) 44%,
        transparent 58%),
      linear-gradient(0deg, oklch(0.13 0.045 262 / 0.55) 0%, transparent 22%);
  }
  .hero__inner { padding-top: calc(var(--header-h) + 0.9rem); }
  .hero__copy { max-width: 24ch; }
}

/* --- pantallas anchas: texto en la franja oscura de la izquierda --- */
@media (min-width: 700px) {
  .hero {
    min-height: 400px;
    height: 86svh;
    max-height: 880px;
    align-items: center;
  }
  .hero__poster,
  .hero__video { object-position: 66% 50%; }
}

/* En tablet el hero adopta la forma del video horizontal: cero recorte,
   el cocinero y el pescado quedan enteros. */
@media (min-width: 700px) and (max-width: 1099px) {
  .hero {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 74svh;
    /* el `min-height: 400px` de arriba le ganaba al tope y en teléfono
       acostado el hero medía más que la pantalla */
    min-height: min(400px, 74svh);
  }
  .hero__poster,
  .hero__video { object-position: 50% 50%; }
}

@media (min-width: 700px) {
  .hero__scrim {
    background:
      linear-gradient(90deg,
        oklch(0.11 0.045 262 / 0.86) 0%,
        oklch(0.12 0.045 262 / 0.66) 28%,
        oklch(0.13 0.045 262 / 0.18) 48%,
        transparent 62%),
      linear-gradient(180deg, oklch(0.10 0.04 262 / 0.5) 0%, transparent 24%);
  }
  .hero__copy { max-width: 21ch; }
}
@media (min-width: 1280px) {
  .hero__poster,
  .hero__video { object-position: 50% 50%; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* mientras se ve la barra inferior, el contenido del hero le deja su sitio:
   ningún botón puede quedar debajo, porque el toque se lo llevaría la barra */
@media (max-width: 899px) {
  .hero__inner { padding-bottom: calc(var(--dock-h) + var(--safe-b)); }
}

/* En escritorio el bloque se queda pegado al borde izquierdo del contenedor,
   que es donde el video deja la zona oscura libre. No se centra. */
@media (min-width: 700px) {
  .hero__inner { gap: 1.1rem; align-items: flex-start; }
  .hero__inner > * { max-width: min(620px, 50vw); }
}
@media (min-width: 1100px) {
  .hero__inner { gap: 1.35rem; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.32rem 0.8rem 0.32rem 0.4rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: oklch(0.13 0.045 262 / 0.5);
  backdrop-filter: blur(10px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__eyebrow img { width: 22px; height: 22px; }
@media (min-width: 1100px) {
  .hero__eyebrow { font-size: 0.76rem; padding: 0.38rem 0.95rem 0.38rem 0.45rem; }
  .hero__eyebrow img { width: 26px; height: 26px; }
  .hero__meta { font-size: var(--step-0); gap: 0.4rem 1.4rem; }
  .hero__meta svg { width: 17px; height: 17px; }
}

.hero__title {
  font-size: var(--step-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px oklch(0.08 0.03 262 / 0.55);
  font-variation-settings: 'SOFT' 30, 'WONK' 1;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold) 8%, var(--sunset-hi) 52%, var(--sunset) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__copy {
  font-size: var(--step-0);
  color: oklch(0.90 0.015 250);
  text-shadow: 0 1px 12px oklch(0.08 0.03 262 / 0.6);
}
@media (min-width: 1100px) {
  .hero__copy {
    font-size: clamp(1.1rem, 0.92rem + 0.55vw, 1.4rem);
    line-height: 1.5;
    max-width: 32ch;
  }
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero__cta .btn { flex: 1 1 auto; min-width: 132px; }
@media (min-width: 560px) { .hero__cta .btn { flex: 0 0 auto; } }

/* Teléfono: los botones van uno debajo del otro y ocupan solo la columna
   izquierda, para no montarse sobre el cocinero. */
@media (max-width: 699px) {
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    width: min(16rem, 72%);
    gap: 0.55rem;
  }
  .hero__cta .btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    font-size: 1.02rem;
  }
}

/* Escritorio: el bloque de texto crece un poco y los botones lo acompañan. */
@media (min-width: 1100px) {
  .hero__cta { gap: 0.7rem; }
  .hero__cta .btn {
    min-height: 56px;
    padding-inline: 1.7rem;
    font-size: 1.05rem;
  }
}

/* Etiquetas alternativas según el ancho: nunca se corta una palabra */
.hide-xs { display: none; }
.only-xs { display: inline; }
@media (min-width: 380px) {
  .hide-xs { display: inline; }
  .only-xs { display: none; }
}

.hero__copy-more { display: none; }
@media (min-width: 700px) { .hero__copy-more { display: inline; } }

/* Pantallas muy angostas: el bloque de texto se aprieta para no invadir
   la zona del cocinero y la comida. */
@media (max-width: 400px) {
  .hero__inner { gap: 0.7rem; }
  .hero__title { line-height: 1.02; }
  .hero__copy { font-size: 0.9rem; line-height: 1.45; }
  .hero__cta .btn { padding-inline: 0.9rem; }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-size: var(--step--1);
  color: oklch(0.84 0.02 250);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__meta svg { width: 15px; height: 15px; color: var(--gold); }
@media (max-width: 1099px) { .hero__meta { display: none; } }

/* Pista de scroll: alineada con la columna de texto, nunca sobre el cocinero */
.hero__scroll {
  display: none;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.85 0.02 250 / 0.7);
}
@media (min-width: 1100px) { .hero__scroll { display: flex; } }
.hero__scroll span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  animation: scroll-hint 2.4s var(--ease) infinite;
}
@keyframes scroll-hint {
  0%, 100% { opacity: 0.25; transform: scaleX(0.4); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

/* ==========================================================================
   Franja de acceso rápido
   ========================================================================== */

.quick {
  position: relative;
  background: linear-gradient(180deg, var(--ink), var(--navy-950));
  border-bottom: 1px solid var(--line);
  padding-block: 0.9rem;
}
.quick__inner { display: flex; align-items: center; gap: 0.75rem; }
.quick__label {
  display: none;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-low);
}
@media (min-width: 900px) { .quick__label { display: block; } }

/* ==========================================================================
   Carta / tienda
   ========================================================================== */

.menu-bar {
  position: sticky;
  top: calc(var(--header-h) - 1px);
  z-index: var(--z-sticky);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-block: 0.7rem 0.2rem;
  background: linear-gradient(180deg, oklch(0.17 0.055 261 / 0.97) 72%, oklch(0.17 0.055 261 / 0));
  backdrop-filter: blur(12px);
}
.menu-bar__row { display: flex; align-items: center; gap: 0.5rem; }
.menu-bar__row + .menu-bar__row { margin-top: 0.45rem; }

.menu-count {
  font-size: var(--step--1);
  color: var(--on-dark-low);
  padding-block: 0.75rem 0.35rem;
}
.menu-count b { color: var(--on-dark); font-variant-numeric: tabular-nums; }

.menu-more { display: grid; justify-items: center; padding-top: 1.4rem; }

.cat-sheet__grid { display: grid; gap: 0.5rem; }
@media (min-width: 480px) { .cat-sheet__grid { grid-template-columns: 1fr 1fr; } }
.cat-sheet__group + .cat-sheet__group { margin-top: 1.1rem; }
.cat-sheet__group h3 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.cat-item {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.04);
  text-align: left;
  transition: border-color var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease), transform var(--t-fast) var(--ease);
}
.cat-item:active { transform: scale(0.985); }
.cat-item:hover { border-color: var(--line-strong); background: oklch(1 0 0 / 0.08); }
.cat-item b { font-size: var(--step--1); font-weight: 650; }
.cat-item span { font-size: 0.76rem; color: var(--on-dark-low); }

/* ---- detalle de producto ---- */

.detail__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy-800);
  margin-bottom: 0.9rem;
}
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__name { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.detail__desc { color: var(--on-dark-mid); font-size: var(--step--1); margin-top: 0.4rem; }
.detail__block { margin-top: 1.1rem; display: grid; gap: 0.5rem; }
.detail__block > h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-low);
}
.detail__note { font-size: 0.78rem; color: var(--on-dark-low); }
.detail__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* ==========================================================================
   Historia
   ========================================================================== */

/* La ola vive en el borde inferior, como transición hacia la sección clara.
   Nunca por detrás del texto. */
.historia { position: relative; overflow: hidden; padding-bottom: calc(var(--section-y) + 46px); }
@media (min-width: 900px) { .historia { padding-bottom: calc(var(--section-y) + 66px); } }
.historia__bg {
  position: absolute;
  inset: auto 0 -6px 0;
  z-index: 0;
  width: 100%;
  height: 58px;
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
}
@media (min-width: 900px) { .historia__bg { height: 86px; } }
.historia .container { position: relative; z-index: 1; }

.timeline { display: flex; gap: 0.75rem; }
@media (min-width: 900px) {
  .timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }
}

.tl {
  flex: 0 0 auto;
  width: 70vw;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  overflow: hidden;
}
@media (min-width: 900px) { .tl { width: auto; max-width: none; } }

.tl__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-700); }
@media (min-width: 900px) { .tl__media { aspect-ratio: 3 / 2; } }
.tl__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.28) saturate(0.85) contrast(1.04);
  transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease-soft);
}
@media (hover: hover) { .tl:hover .tl__media img { filter: none; transform: scale(1.04); } }

.tl__body { padding: 0.85rem 0.95rem 1rem; display: grid; gap: 0.3rem; }
.tl__year {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.tl__title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.15; }
.tl__text { font-size: var(--step--1); color: var(--on-dark-low); line-height: 1.5; }

.historia__quote {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  text-align: center;
}
.historia__quote blockquote {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.25;
  max-width: 30ch;
  color: var(--on-dark);
}
.historia__quote cite {
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-low);
}

/* ==========================================================================
   Experiencia (sección clara)
   ========================================================================== */

.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (min-width: 760px) { .exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }

.exp {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.95rem;
  border-radius: var(--r-md);
  border: 1px solid var(--shell-line);
  background: oklch(1 0 0 / 0.75);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
@media (min-width: 760px) { .exp { padding: 1.2rem; gap: 0.6rem; } }
@media (hover: hover) {
  .exp:hover { transform: translate3d(0, -3px, 0); box-shadow: 0 14px 34px -18px oklch(0.24 0.05 262 / 0.5); }
}

.exp__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, var(--navy-800), var(--navy-950));
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.10);
  overflow: hidden;
}
.exp__icon img { width: 28px; height: 28px; object-fit: contain; mix-blend-mode: screen; }

.exp h3 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.15;
  color: var(--on-light);
}
.exp p { font-size: var(--step--1); color: var(--on-light-mid); line-height: 1.5; }

.exp--wide { grid-column: span 2; }
@media (min-width: 760px) { .exp--wide { grid-column: span 2; flex-direction: row; align-items: center; } }
.exp--wide .exp__photo {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  overflow: hidden;
}
@media (min-width: 760px) { .exp--wide .exp__photo { width: 40%; aspect-ratio: 16 / 11; } }
.exp--wide .exp__photo img { width: 100%; height: 100%; object-fit: cover; }
.exp--wide .exp__text { display: grid; gap: 0.35rem; }

/* ==========================================================================
   Galería
   ========================================================================== */

.gallery { background: var(--ink); }
.gallery__rail { gap: 0.6rem; }
.gallery figure {
  flex: 0 0 auto;
  width: 55vw;
  max-width: 250px;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
@media (min-width: 900px) { .gallery figure { width: 250px; } }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.75rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  color: oklch(0.96 0.01 250);
  background: linear-gradient(0deg, oklch(0.10 0.04 262 / 0.88), transparent);
}

/* ==========================================================================
   Cómo pedir + visítanos (sección clara)
   ========================================================================== */

.steps { display: grid; gap: 0.6rem; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }

.step {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--shell-line);
  background: oklch(1 0 0 / 0.7);
}
.step__n {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--sunset-hi), var(--sunset));
  color: oklch(0.16 0.04 40);
  font-weight: 800;
  font-size: var(--step--1);
}
.step b { display: block; font-size: var(--step-0); color: var(--on-light); }
.step p { font-size: var(--step--1); color: var(--on-light-mid); line-height: 1.45; }

.visit {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
@media (min-width: 760px) { .visit { grid-template-columns: 1fr 1.1fr; gap: 1.6rem; align-items: start; margin-top: 2rem; } }
@media (min-width: 1100px) { .visit { gap: 2rem; margin-top: 2.4rem; } }

.visit__card {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--shell-line);
  background: oklch(1 0 0 / 0.8);
}
@media (min-width: 900px) { .visit__card { padding: 1.6rem; } }

.visit__row { display: flex; gap: 0.75rem; align-items: flex-start; }
.visit__row svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--sunset); margin-top: 2px; }
.visit__row b { display: block; font-size: var(--step--1); color: var(--on-light); }
.visit__row span,
.visit__row a { font-size: var(--step--1); color: var(--on-light-mid); line-height: 1.45; }
.visit__row a {
  display: inline-block;
  padding-block: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.visit__row a:hover { color: var(--sunset); }

.map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--shell-line);
  background: var(--navy-900);
  aspect-ratio: 4 / 3;
}
@media (min-width: 900px) { .map { aspect-ratio: 16 / 11; } }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.6rem;
  align-content: center;
  padding: 1rem;
  text-align: center;
  color: var(--on-dark);
  background:
    linear-gradient(160deg, oklch(0.21 0.062 261 / 0.92), oklch(0.14 0.05 262 / 0.95));
}
.map__cover img { width: 78px; opacity: 0.9; mix-blend-mode: screen; }
.map__cover p { font-size: var(--step--1); color: var(--on-dark-mid); max-width: 30ch; }

/* ==========================================================================
   CTA final
   ========================================================================== */

.finale {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 50% 120%, oklch(0.685 0.196 42 / 0.30), transparent 65%),
    linear-gradient(180deg, var(--navy-950), var(--ink));
  text-align: center;
}
.finale__inner { display: grid; justify-items: center; gap: 1rem; position: relative; z-index: 1; }
.finale h2 { font-size: var(--step-4); max-width: 18ch; }
.finale p { color: var(--on-dark-mid); max-width: 44ch; font-size: var(--step-0); }
.finale__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.finale { padding-bottom: calc(var(--section-y) + 34px); }
.finale__orn {
  position: absolute;
  bottom: -14px;
  left: 50%;
  translate: -50% 0;
  width: min(920px, 150%);
  height: 74px;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
@media (min-width: 900px) { .finale__orn { height: 104px; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding-block: 2.2rem 1.4rem;
}
/* En móvil los dos bloques de enlaces van uno al lado del otro para no
   estirar el pie de página. */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
}
.footer__grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  .footer__grid > :first-child { grid-column: auto; }
}

.footer img.footer__logo { height: 52px; width: auto; margin-bottom: 0.75rem; }
.footer p { font-size: var(--step--1); color: var(--on-dark-low); max-width: 40ch; }
.footer h3 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.footer ul { display: grid; gap: 0.15rem; }
.footer li a,
.footer li span {
  display: inline-block;
  padding-block: 5px;              /* área táctil mínima cómoda */
  font-size: var(--step--1);
  color: var(--on-dark-mid);
}
.footer li a:hover { color: var(--gold); }

.footer__bar {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--on-dark-low);
}
.footer__seal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--on-dark-mid);
}
.footer__seal img { width: 20px; height: 20px; }

/* ==========================================================================
   Barra inferior móvil + botón flotante
   ========================================================================== */

.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-dock);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem var(--gutter) calc(0.55rem + var(--safe-b));
  background: oklch(0.15 0.05 261 / 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid var(--line);
  transition: transform var(--t-slow) var(--ease);
}
@media (min-width: 900px) { .dock { display: none; } }

.dock__icon {
  position: relative;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  color: oklch(0.99 0 0);
  transition: transform var(--t-fast) var(--ease);
}
.dock__icon:active { transform: scale(0.93); }
.dock__icon svg { width: 26px; height: 26px; }
.dock__icon--wa { background: oklch(0.62 0.152 152); }
.dock__icon--radio {
  background: linear-gradient(140deg, var(--sea), oklch(0.50 0.13 268));
  color: oklch(0.99 0.01 90);
}
@media (max-width: 359px) {
  .dock__icon { width: 46px; height: 46px; }
  .dock__icon svg { width: 23px; height: 23px; }
}

.dock__main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding-inline: 0.85rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--sunset-hi), var(--sunset) 60%, var(--gold-deep));
  color: oklch(0.16 0.04 40);
  font-weight: 700;
  font-size: 0.96rem;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transition: transform var(--t-fast) var(--ease);
}
.dock__main:active { transform: scale(0.98); }
.dock__main > span { overflow: hidden; text-overflow: ellipsis; }
.dock__main .tnum { font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.dock__sep { width: 1px; height: 18px; flex: 0 0 auto; background: oklch(0.16 0.04 40 / 0.3); }

/* Botones flotantes de escritorio, apilados en la esquina */
.floats {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: var(--z-dock);
  display: none;
  flex-direction: column;
  gap: 0.65rem;
}
@media (min-width: 900px) { .floats { display: flex; } }

.float-btn {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  color: oklch(0.99 0 0);
  transition: transform var(--t-mid) var(--ease);
}
.float-btn:hover { transform: translate3d(0, -3px, 0); }
.float-btn:active { transform: scale(0.94); }
.float-btn svg { width: 30px; height: 30px; }
.float-btn--wa {
  background: oklch(0.62 0.152 152);
  box-shadow: 0 12px 30px -10px oklch(0.62 0.152 152 / 0.75);
}
.float-btn--radio {
  background: linear-gradient(140deg, var(--sea), oklch(0.50 0.13 268));
  box-shadow: 0 12px 30px -10px oklch(0.66 0.132 244 / 0.7);
}

/* ==========================================================================
   Divisor de onda entre secciones
   ========================================================================== */

.wave-sep {
  display: block;
  width: 100%;
  height: 46px;
  object-fit: cover;
  opacity: 0.85;
  mix-blend-mode: screen;
  pointer-events: none;
}
@media (min-width: 900px) { .wave-sep { height: 74px; } }

/* ==========================================================================
   Pasos del pedido (dentro del panel)
   ========================================================================== */

.step-lead {
  margin-bottom: 1rem;
  color: var(--on-dark-mid);
  font-size: var(--step-0);
}

.checkout-form { display: grid; gap: 0.9rem; }

.detail__block--first { margin-top: 0; }

.summary { display: grid; }
.summary__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.summary__item:last-child { border-bottom: 0; }

.summary__row {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding-block: 0.15rem;
  font-size: var(--step--1);
}
.summary__row b {
  flex: 0 0 88px;
  font-weight: 600;
  color: var(--on-dark-mid);
}
.summary__row span { color: var(--on-dark); word-break: break-word; }

.summary__notes { font-size: var(--step--1); color: var(--on-dark); line-height: 1.5; }
.summary__label { color: var(--on-dark-mid); }
.summary__total { font-size: var(--step-2); color: var(--gold); }

/* ==========================================================================
   Mar de Sol Radio
   ========================================================================== */

/* El panel de la emisora nunca se desmonta: si se ocultara del todo, el
   navegador podría cortar el audio al cerrarlo. */
.panel--alive { visibility: visible; transition: transform var(--t-slow) var(--ease); }

.radio-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: var(--r-sm);
  background: linear-gradient(140deg, var(--sea), oklch(0.50 0.13 268));
  color: oklch(0.99 0 0);
}
.radio-badge svg { width: 20px; height: 20px; }

.radio-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(90% 90% at 50% 30%, var(--navy-700), var(--navy-950));
}
.radio-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/brand/mark-96.webp") center / 64px auto no-repeat;
  opacity: 0.75;
}
.radio-stage > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.radio-eyebrow {
  margin-top: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea-hi);
}
.radio-now {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.15;
  margin-top: 0.15rem;
}
.radio-artist { font-size: var(--step--1); color: var(--on-dark-low); }

.radio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.1rem;
}
.radio-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: oklch(1 0 0 / 0.06);
  color: var(--on-dark);
  transition: background-color var(--t-mid) var(--ease), transform var(--t-fast) var(--ease);
}
.radio-btn:hover { background: oklch(1 0 0 / 0.14); }
.radio-btn:active { transform: scale(0.93); }
.radio-btn svg { width: 22px; height: 22px; }
.radio-btn--main {
  width: 66px;
  height: 66px;
  border-color: transparent;
  background: linear-gradient(135deg, var(--sunset-hi), var(--sunset) 60%, var(--gold-deep));
  color: oklch(0.16 0.04 40);
  box-shadow: var(--shadow-glow);
}
.radio-btn--main:hover { filter: brightness(1.06); }
.radio-btn--main svg { width: 26px; height: 26px; }

.radio-volume {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.04);
}
.radio-volume output {
  min-width: 4ch;
  text-align: right;
  font-size: var(--step--1);
  color: var(--on-dark-low);
}
.radio-volume input[type="range"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 28px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.radio-volume input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: var(--r-pill);
  background: oklch(1 0 0 / 0.16);
}
.radio-volume input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: var(--r-pill);
  background: oklch(1 0 0 / 0.16);
}
.radio-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 2px 8px oklch(0.10 0.04 262 / 0.6);
}
.radio-volume input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}
.radio-volume input[type="range"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.radio-list-title {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-low);
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}
.radio-list { display: grid; gap: 0.15rem; }

.radio-track {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem;
  border-radius: var(--r-sm);
  text-align: left;
  color: var(--on-dark-mid);
  transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.radio-track:hover { background: oklch(1 0 0 / 0.07); color: var(--on-dark); }
.radio-track.is-current { background: oklch(0.66 0.132 244 / 0.16); color: var(--on-dark); }
.radio-track__n {
  flex: 0 0 auto;
  width: 26px;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--sea-hi);
}
.radio-track__txt { display: grid; min-width: 0; }
.radio-track__txt b {
  font-size: var(--step--1);
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.radio-track__txt span {
  font-size: 0.76rem;
  color: var(--on-dark-low);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radio-note {
  margin-top: 1.1rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--on-dark-low);
}

/* El botón de la emisora late mientras hay música. */
[data-radio-open] .eq {
  position: absolute;
  right: 6px;
  bottom: 6px;
  height: 11px;
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}
[data-radio-open].is-playing .eq { opacity: 1; }
[data-radio-open].is-playing > svg { opacity: 0.5; }

/* ==========================================================================
   Header a todo lo ancho: la marca se pega al borde izquierdo
   ========================================================================== */

.header .header__inner {
  max-width: none;
  padding-inline: clamp(0.9rem, 2.4vw, 2.6rem);
}
@media (min-width: 900px) {
  .brand img { height: 50px; }
}

/* teléfono acostado: la pantalla tiene menos alto que el contenido del hero.
   En vez de recortarlo (el titular se metía bajo el logo y los botones bajo la
   barra), el hero crece lo que haga falta y se desplaza como cualquier sección */
@media (max-width: 1099px) and (max-height: 480px) {
  .hero {
    height: 100svh;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    align-items: flex-start;
  }
  .hero__inner {
    padding-top: calc(var(--header-h) + 0.5rem);
    padding-bottom: calc(var(--dock-h) + var(--safe-b) + 0.6rem);
    gap: 0.55rem;
  }
  /* se recorta lo accesorio para que titular, frase y los dos botones quepan
     entre el header y la barra inferior */
  .hero__title { font-size: clamp(1.7rem, 5.4vw, 2.6rem); }
  .hero__copy { font-size: 0.9rem; }
  .hero__copy-more,
  .hero__eyebrow,
  .hero__facts,
  .hero__hint { display: none; }
}
