/* Helados R’s — profesional, fluido, animaciones al scroll */

:root {
  --cream: #faf6f1;
  --cream-2: #f3ede4;
  --paper: #ffffff;
  --ink: #2c2118;
  --ink-soft: #5a4a3a;
  --muted: #8a7a68;
  --line: #e4d8c8;
  --chocolate: #3a2a1c;
  --chocolate-deep: #241810;
  --accent: #9c4a2b;
  --premium: #8b3a22;
  --clasica: #8b6914;
  --trisabor: #2f5d3a;
  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography */
.font-display,
.heading-serif {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Layout */
.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Nav — mismo blanco del fondo del logo (#fff) para que no se note el recuadro */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: #ffffff;
}

.nav-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0;
  object-fit: contain;
  background: #ffffff;
  border: none;
  display: block;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--chocolate-deep);
  line-height: 1.1;
}

.brand span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.1rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a {
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--chocolate-deep);
}

.nav-links a.accent {
  color: var(--accent);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

/* Menú móvil fijo: se superpone al contenido aunque estés abajo en la página */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(44, 33, 24, 0.14);
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.95rem 1.35rem;
  font-weight: 500;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.mobile-menu a.mobile-menu-sep {
  margin-top: 0.35rem;
  padding-top: 1.05rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.45rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease,
    opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--chocolate);
  color: #fff;
}

.btn-dark:hover {
  background: var(--chocolate-deep);
}

.btn-light {
  background: #fff;
  color: var(--chocolate-deep);
}

.btn-light:hover {
  background: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--chocolate);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: var(--cream-2);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.35) 0%, rgba(20, 12, 8, 0.55) 40%, rgba(20, 12, 8, 0.88) 100%),
    url("https://images.unsplash.com/photo-1563805042-7684c019e1cb?auto=format&fit=crop&w=2000&q=80")
      center/cover no-repeat;
  overflow: hidden;
}

.hero-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0 4.5rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.02;
  margin: 0.75rem 0 0;
  max-width: 12ch;
}

.hero .lead {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}

.hero-meta small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Fluid bands */
.band {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.band-cream {
  background: var(--cream);
}

.band-paper {
  background: var(--paper);
}

.band-soft {
  background: var(--cream-2);
}

.band-dark {
  background: var(--chocolate-deep);
  color: #fff;
}

.band-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  margin: 0.5rem 0 0;
  max-width: 16ch;
}

.band-text {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}

.band-dark .band-text {
  color: rgba(255, 255, 255, 0.75);
}

/* Product modules (Apple-like large tiles) */
.module {
  display: grid;
  gap: 0;
  align-items: stretch;
  min-height: min(70vh, 560px);
  overflow: hidden;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.module + .module {
  border-top: none;
}

.module-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
}

.module-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0.4rem 0 0;
}

.module-copy p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 28rem;
}

.module-copy .meta {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.module-media {
  min-height: 280px;
  background: var(--cream-2) center/cover no-repeat;
  position: relative;
}

.module-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 33, 24, 0.08), transparent 40%);
  pointer-events: none;
}

.module-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.module[data-brand="premium"] .module-copy .eyebrow {
  color: var(--premium);
}
.module[data-brand="clasica"] .module-copy .eyebrow {
  color: var(--clasica);
}
.module[data-brand="trisabor"] .module-copy .eyebrow {
  color: var(--trisabor);
}

@media (min-width: 900px) {
  .module {
    grid-template-columns: 1fr 1fr;
  }
  .module.reverse .module-copy {
    order: 2;
  }
  .module.reverse .module-media {
    order: 1;
  }
  .module-media,
  .module-media img {
    min-height: 100%;
  }
}

/* Strip CTA */
.strip {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .strip {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* Values fluid list */
.values {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.value-row {
  display: grid;
  gap: 0.5rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .value-row {
    grid-template-columns: 12rem 1fr;
    align-items: baseline;
  }
}

.value-row h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.value-row p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Detail pages */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  margin: 0.4rem 0 0;
  line-height: 1.05;
}

.page-hero .meta {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.45;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.detail-content {
  padding: 3rem 0 5rem;
}

.detail-content .wrap {
  display: grid;
  gap: 3rem;
}

@media (min-width: 960px) {
  .detail-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: start;
  }
}

.detail-content h2,
.detail-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

/* Brand detail — fluido e intuitivo */
.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.subnav-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.65rem 0;
  -webkit-overflow-scrolling: touch;
}

.subnav a {
  flex: 0 0 auto;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.subnav a:hover,
.subnav a.is-active {
  background: var(--chocolate);
  color: #fff;
}

.prod-row {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 700px) {
  .prod-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .prod-row.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .prod-row.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.prod-item {
  padding: 1.35rem 1.25rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 700px) {
  .prod-item {
    border-top: none;
    border-left: 1px solid var(--line);
    padding-left: 1.5rem;
  }
  .prod-item:first-child {
    border-left: none;
    padding-left: 0;
  }
}

/* Bati Pop + Sundae: dos tarjetas alineadas, sin desfase */
.specials-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 700px) {
  .specials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.special-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--paper);
}

.special-card h3 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.special-card .size {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.special-card .note-line {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.special-card .price {
  margin-top: 1rem;
  font-size: 1.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.prod-item h3 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.prod-item .size {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.prod-item .price {
  margin-top: 0.85rem;
  font-size: 1.65rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--chocolate-deep);
}

.prod-item .tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.note-line {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.table-wrap {
  position: relative;
  margin-top: 1.5rem;
  /* overflow en ambos ejes: permite fila y columna sticky dentro del contenedor */
  overflow: auto;
  max-height: min(70vh, 34rem);
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overscroll-behavior: contain;
  background: var(--paper);
}

.flavor-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  background: var(--paper);
}

/* Primera fila (encabezados) fija al bajar en la tabla */
.flavor-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--cream-2);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 6px -2px rgba(44, 33, 24, 0.14);
}

/* Columna de sabores fija al deslizar en horizontal */
.flavor-table th:first-child,
.flavor-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--paper);
  min-width: 7.5rem;
  max-width: 10.5rem;
  box-shadow: 6px 0 10px -8px rgba(44, 33, 24, 0.28);
}

/* Esquina superior izquierda: fija en ambos ejes */
.flavor-table thead th:first-child {
  z-index: 5;
  top: 0;
  left: 0;
  background: var(--cream-2);
  box-shadow:
    6px 0 10px -8px rgba(44, 33, 24, 0.28),
    0 2px 6px -2px rgba(44, 33, 24, 0.14);
}

.flavor-table th:not(:first-child),
.flavor-table td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.flavor-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}

.flavor-table tbody tr:last-child td {
  border-bottom: none;
}

.flavor-table tbody tr:hover td {
  background: #f7f2eb;
}

.flavor-table tbody tr:hover td:first-child {
  background: #f7f2eb;
}

/* Fila especial dentro de la tabla de precios (NO usar display:grid en <tr>) */
.flavor-table tr.is-combo td {
  background: var(--cream-2);
  font-weight: 600;
}

.flavor-table tr.is-combo td:first-child {
  background: var(--cream-2);
}

/* Pista de scroll horizontal (móvil / tablas anchas) */
.table-scroll-hint {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.table-wrap.is-scrollable .table-scroll-hint.is-visible {
  opacity: 1;
}

.table-scroll-hint-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(36, 24, 16, 0.88);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(44, 33, 24, 0.28);
  white-space: nowrap;
}

.table-scroll-hint-inner i {
  font-size: 0.85rem;
}

.table-wrap.is-scrollable .table-scroll-hint.is-visible .table-scroll-hint-inner {
  animation: table-hint-nudge 0.9s var(--ease) 3;
}

@keyframes table-hint-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(10px);
  }
  70% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .table-wrap.is-scrollable .table-scroll-hint.is-visible .table-scroll-hint-inner {
    animation: none;
  }
}

@media (min-width: 900px) {
  .table-scroll-hint {
    display: none;
  }
}

.combo-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 1.25rem;
}

.combo-grid .combo-row {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .combo-grid .combo-row {
    grid-template-columns: 11rem 1fr;
    align-items: baseline;
  }
}

.combo-grid .combo-row h3 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.combo-grid .combo-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
}

.section-block {
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}

.section-block:last-child {
  border-bottom: none;
}

.section-block h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin: 0.35rem 0 0;
  line-height: 1.1;
}

.section-block > .eyebrow + h2 + p {
  margin-top: 0.75rem;
  max-width: 36rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.detail-content .card-pro,
.detail-content .rounded-xl,
.detail-content .rounded-lg {
  border-radius: 0.65rem;
}

.price-big {
  display: inline-block;
  font-size: 2rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-variant-numeric: tabular-nums;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 2.25rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer strong {
  display: block;
  color: var(--chocolate-deep);
  font-size: 0.95rem;
  line-height: 1.25;
}

.footer-brand > div {
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.45rem;
  max-width: 22rem;
}

.footer-links a:hover {
  color: var(--ink);
}

@media (min-width: 700px) {
  .footer-links {
    max-width: none;
    justify-content: flex-end;
  }
}

/* Scroll reveal (Apple-like) */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* Utility helpers used by extracted brand HTML */
.bg-white {
  background: #fff;
}
.text-sm {
  font-size: 0.875rem;
}
.text-xs {
  font-size: 0.75rem;
}
.font-semibold {
  font-weight: 600;
}
.font-medium {
  font-weight: 500;
}
.grid {
  display: grid;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-7 {
  margin-top: 1.75rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-7 {
  margin-bottom: 1.75rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.px-1 {
  padding-inline: 0.25rem;
}
.px-3 {
  padding-inline: 0.75rem;
}
.px-4 {
  padding-inline: 1rem;
}
.px-5 {
  padding-inline: 1.25rem;
}
.py-1 {
  padding-block: 0.25rem;
}
.py-2 {
  padding-block: 0.5rem;
}
.py-3 {
  padding-block: 0.75rem;
}
.py-4 {
  padding-block: 1rem;
}
.py-5 {
  padding-block: 1.25rem;
}
.rounded-md {
  border-radius: 0.4rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.65rem;
}
.border {
  border: 1px solid var(--line);
}
.overflow-x-auto {
  overflow-x: auto;
}
.w-full {
  width: 100%;
}
.object-cover {
  object-fit: cover;
}
.shadow-sm {
  box-shadow: 0 1px 2px rgba(44, 33, 24, 0.04);
}
.min-w-full {
  min-width: 100%;
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top: 1px solid var(--line);
}
.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-x-2 {
  column-gap: 0.5rem;
}
.gap-x-3 {
  column-gap: 0.75rem;
}
.gap-x-6 {
  column-gap: 1.5rem;
}
.gap-y-1 {
  row-gap: 0.25rem;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.tabular-nums {
  font-variant-numeric: tabular-nums;
}
.leading-relaxed {
  line-height: 1.65;
}
.leading-snug {
  line-height: 1.4;
}
.space-y-2 > * + * {
  margin-top: 0.5rem;
}
.space-y-\[3px\] > * + * {
  margin-top: 3px;
}
.inline-block {
  display: inline-block;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-3xl {
  font-size: 1.875rem;
}
.text-\[28px\] {
  font-size: 1.75rem;
}
.text-\[15px\] {
  font-size: 0.95rem;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.125rem;
}
.w-36 {
  width: 9rem;
}
.w-40 {
  width: 10rem;
}
.tracking-tighter {
  letter-spacing: -0.03em;
}
.tracking-\[-1\.5px\] {
  letter-spacing: -1.5px;
}
.grid-cols-1 {
  grid-template-columns: 1fr;
}
.grid-cols-2 {
  grid-template-columns: 1fr 1fr;
}
.grid-cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (min-width: 640px) {
  .sm\:grid-cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }
  .md\:grid-cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .md\:mt-0 {
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, 1fr);
  }
  .lg\:col-span-5 {
    grid-column: span 5;
  }
  .lg\:col-span-7 {
    grid-column: span 7;
  }
  .lg\:mt-0 {
    margin-top: 0;
  }
  .lg\:grid {
    display: grid;
  }
  .gap-x-12 {
    column-gap: 3rem;
  }
}
.mt-8 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.bg-\[\#F3EDE4\],
.bg-\[\#FAF6F1\],
.bg-\[\#f3ede4\],
.bg-\[\#faf6f1\] {
  background: var(--cream-2);
}
.bg-\[\#FDF8F0\] {
  background: var(--cream);
}
.text-\[\#8B3A22\],
.text-\[\#8b3a22\] {
  color: var(--premium);
}
.text-\[\#8B6914\] {
  color: var(--clasica);
}
.text-\[\#2F5D3A\] {
  color: var(--trisabor);
}
.text-\[\#2C2118\],
.text-\[\#3F2A1D\],
.text-\[\#241810\] {
  color: var(--ink);
}
.text-\[\#5A4A3A\],
.text-\[\#5C4633\],
.text-\[\#6B523D\],
.text-\[\#8A7A68\],
.text-\[\#8B6F47\] {
  color: var(--ink-soft);
}
.border-\[\#E4D8C8\],
.border-\[\#E8D9C2\] {
  border-color: var(--line);
}
.heading-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}
.badge-soft {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 0.35rem;
  background: var(--cream-2);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-highlight {
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--chocolate);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.3rem;
  border-radius: 0.45rem;
}
.list-disc {
  list-style: disc;
  padding-left: 1.1rem;
}
ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* Utility: hide label text on very small screens */
@media (max-width: 480px) {
  .hide-xs { display: none; }
}

/* ─── FISS · Feria San Sebastián ─── */
.fiss-section {
  overflow: hidden;
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.fiss-section .band-title {
  max-width: 18ch;
}

.fiss-marquee {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.fiss-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  animation: fiss-scroll 55s linear infinite;
  will-change: transform;
}

.fiss-marquee:hover .fiss-track {
  animation-play-state: paused;
}

.fiss-group {
  display: flex;
  gap: 0.85rem;
  flex-shrink: 0;
}

.fiss-card {
  margin: 0;
  flex: 0 0 auto;
  width: min(72vw, 340px);
  height: clamp(220px, 38vw, 300px);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 8px 28px rgba(44, 33, 24, 0.1);
}

.fiss-card.tall {
  width: min(52vw, 240px);
}

.fiss-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.fiss-card:hover img {
  transform: scale(1.04);
}

.fiss-caption {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

@keyframes fiss-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .fiss-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 1.25rem;
    justify-content: center;
  }
  .fiss-group:last-child {
    display: none;
  }
  .fiss-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 600px) {
  .fiss-card {
    width: 78vw;
    height: 240px;
  }
  .fiss-card.tall {
    width: 56vw;
  }
  .fiss-track {
    animation-duration: 42s;
  }
}
