/* ── BEBAS NEUE ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Bebas Neue';
  src: url('fonts/bebas_neue/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* ── MONTSERRAT ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/Montserrat-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ── VARIABLES ───────────────────────────────────────────────────────────── */
:root {
  --primary:    #253B2F;
  --background: #F5F1EA;
  --text:       #2B2B2B;
  --muted:      #444343;
}

/* ── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── BASE ────────────────────────────────────────────────────────────────── */
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
}

/* ── CAROUSEL ────────────────────────────────────────────────────────────── */
.carousel-wrapper {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  align-items: flex-start;
  will-change: transform;
}

/* card-wrap: tamaño real en pantalla, calculado por JS */
.card-wrap {
  flex-shrink: 0;
  overflow: hidden;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}
.card-wrap:last-child {
  border-right: none;
}

/* ── STORY CARD (tamaño nativo 1080×1920) ────────────────────────────────── */
.story {
  width: 1080px;
  height: 1920px;
  background: #FAF5F1;
  position: relative;
  overflow: hidden;
  padding: 70px 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
  transform-origin: top left;
}

/* ── COVER ───────────────────────────────────────────────────────────────── */
.story.cover { padding: 0; }

.brand-block {
  padding: 130px 104px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-image {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
}
.cover-image img { width: 100%; display: block; }

/* ── INTRO DE SECCIÓN (texto arriba + foto abajo) ────────────────────────── */
.story.intro {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #FAF5F1;
}
.intro-top {
  flex: 0 0 auto;
  padding: 170px 100px 80px;
  text-align: center;
}
.intro-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  letter-spacing: 12px;
  color: var(--primary);
  opacity: 0.65;
  font-weight: 300;
  margin-bottom: 56px;
}
.intro-cat {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 128px;
  letter-spacing: 16px;
  color: var(--primary);
  line-height: 0.95;
  font-weight: 400;
}
.intro-line {
  width: 90px;
  height: 2px;
  background: var(--primary);
  opacity: 0.55;
  margin: 44px auto;
}
.intro-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  letter-spacing: 4px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 300;
}
.intro-photo {
  flex: 1 1 auto;
  overflow: hidden;
}
.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── ICON ────────────────────────────────────────────────────────────────── */
.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}
.icon img { width: 72px; height: 72px; object-fit: contain; }

/* ── SECTION HEADER ──────────────────────────────────────────────────────── */
.menu-title {
  font-family: 'Bebas Neue', sans-serif;
  text-align: center;
  font-size: 52px;
  letter-spacing: 14px;
  color: var(--primary);
  font-weight: 400;
  line-height: 1;
}

.title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  font-weight: 400;
  letter-spacing: 22px;
  color: var(--primary);
  text-align: center;
}

.subtitle {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  margin-top: 16px;
  color: var(--primary);
  letter-spacing: 10px;
  font-size: 28px;
  font-weight: 300;
}

.divider {
  width: 72px;
  height: 1.5px;
  background: var(--primary);
  margin: 30px auto 40px;
  opacity: 0.7;
}

/* ── MENU ITEMS ──────────────────────────────────────────────────────────── */
.menu-item {
  margin-bottom: 30px;
}

.item-head {
  display: flex;
  align-items: baseline;
}

.item-head h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.15;
}

/* línea punteada estilo Starbucks entre nombre y precio */
.leader {
  flex: 1 1 auto;
  align-self: flex-end;
  border-bottom: 4px dotted rgba(37, 59, 47, 0.32);
  margin: 0 18px 12px;
  min-width: 24px;
}

.item-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  color: var(--muted);
  line-height: 1.25;
  font-weight: 400;
  margin-top: 10px;
  max-width: 80%;
}

.price {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  color: var(--text);
  font-weight: 400;
  white-space: nowrap;
}

/* ── SUB-SECTION LABELS ──────────────────────────────────────────────────── */
.section-label {
  font-family: 'Bebas Neue', sans-serif;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 30px;
  letter-spacing: 10px;
  color: var(--primary);
  font-weight: 400;
}
.section-label.first { margin-top: 0; }

/* ── FOOT NOTE ───────────────────────────────────────────────────────────── */
.page-note {
  margin-top: auto;
  padding-top: 56px;
  text-align: center;
  font-size: 20px;
  letter-spacing: 6px;
  color: var(--muted);
  font-weight: 300;
}

/* ── NAV BUTTONS ─────────────────────────────────────────────────────────── */
.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(37, 59, 47, 0.75);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
}
.nav-btn:hover  { background: rgba(37, 59, 47, 1); }
.nav-btn:disabled { opacity: 0.25; pointer-events: none; }

@media (min-width: 769px) {
  .nav-btn {
    opacity: 0;
    transition: background 0.2s, opacity 0.3s;
  }
  .carousel-wrapper.mouse-active .nav-btn:not(:disabled) {
    opacity: 1;
  }
}
.nav-btn.prev { left: 12px; }
.nav-btn.next { right: 12px; }

@media (max-width: 768px) {
  .nav-btn { display: none; }
}

/* ── SWIPE HINT (solo mobile) ────────────────────────────────────────────── */
@keyframes swipe-bounce {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity:4; }
  40%       { transform: translateY(-50%) translateX(-6px); opacity: 2; }
}

.swipe-hint {
  display: none;
}

@media (max-width: 768px) {
  .swipe-hint {
    display: flex;
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 300;
    color: #012917;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 6px;
    writing-mode: vertical-lr;
    text-orientation: upright;
    animation: swipe-bounce 1s ease-in-out infinite;
    transition: opacity 0.4s ease;
    pointer-events: none;
    user-select: none;
  }
  .swipe-hint.hidden {
    opacity: 0;
  }
}

/* ── PROMO / GALERÍA ─────────────────────────────────────────────────────── */
.story.promo {
  width: 100%;
  height: 100%;
  padding: 48px 80px;
  background: #FAF5F1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story.promo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 6px 36px rgba(0, 0, 0, 0.12);
  display: block;
}

/* ── DOTS ────────────────────────────────────────────────────────────────── */
.dots {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 200;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(37, 59, 47, 0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: #253B2F;
  transform: scale(1.3);
}
