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

:root {
  --accent: #c4622d;
  --gold: #d4a84b;
  --dark: #1a1208;
  --bg: #fefcf8;
  --muted: #8a7e72;
  --line: #eae4da;
  --green: #111a0a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  font-size: 1.125rem;
  background: var(--bg);
  color: var(--dark);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

html[lang="es"] [data-lang="en"],
html[lang="en"] [data-lang="es"] {
  display: none;
}

/* ─── SKIP LINK ──────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0;
}

/* ─── NAV ─────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    padding 0.4s;
}

nav.scrolled {
  background: rgba(26, 18, 8, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.875rem 2.5rem;
}

.nav-brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--bg);
  letter-spacing: 1px;
  text-decoration: none;
}

.nav-brand em {
  color: var(--accent);
  font-style: italic;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-toggle {
  display: flex;
  gap: 2px;
  background: rgba(254, 252, 248, 0.1);
  border-radius: 20px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(254, 252, 248, 0.5);
  font-family: "Jost", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-btn.active {
  background: var(--accent);
  color: var(--bg);
}

.nav-cta {
  font-family: "Jost", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bg);
  text-decoration: none;
  padding: 0.625rem 1.5rem;
  border: 1px solid rgba(254, 252, 248, 0.3);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ─── HERO ────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(26, 18, 8, 0.9) 0%,
      rgba(26, 18, 8, 0.5) 20%,
      rgba(26, 18, 8, 0.35) 40%,
      rgba(26, 18, 8, 0.3) 55%,
      rgba(26, 18, 8, 0.65) 80%,
      rgba(26, 18, 8, 0.95) 100%
    ),
    url("../img/portada.webp");
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero.visible .hero-bg {
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 4px 32px rgba(0, 0, 0, 0.4);
}

.hero-label {
  font-family: "Jost", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  line-height: 0.95;
  color: var(--bg);
  letter-spacing: -2px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
  display: block;
  font-size: 1.12em;
}

.hero-divider {
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem auto;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(254, 252, 248, 0.7);
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}

.hero-bottom {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.8s 1.5s forwards;
}

.hero-scroll {
  font-size: 0.6875rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(254, 252, 248, 0.85);
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(254, 252, 248, 0.3), transparent);
  margin: 0.75rem auto 0;
  animation: pulse 2s infinite;
}

/* ─── SECTION SHARED ─────────────────────── */
.section {
  padding: 7.5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

.section-rule {
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2.5rem;
}

/* ─── STATS ───────────────────────────────── */
.stats {
  background: var(--dark);
  padding: 5rem 1.5rem;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-number {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  color: var(--bg);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #b5ada5;
}

.stat-sub {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  margin-top: 0.25rem;
}

/* ─── WHAT'S INSIDE ──────────────────────── */
.inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.cuisine-block {
  position: relative;
}

.cuisine-flag {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cuisine-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.cuisine-count {
  font-size: 0.875rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6b6158;
  margin-bottom: 1.25rem;
}

.cuisine-list {
  list-style: none;
  columns: 2;
  column-gap: 1.5rem;
}

.cuisine-list li {
  font-size: 0.875rem;
  color: var(--dark);
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

/* ─── PREVIEW GALLERY ────────────────────── */
.preview {
  background: linear-gradient(180deg, var(--bg) 0%, #ede7df 100%);
  padding: 7.5rem 0;
  overflow: hidden;
}

.preview-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  margin-bottom: 4rem;
}

.preview-track {
  display: flex;
  gap: 2rem;
  padding: 0 1.5rem;
  animation: scroll-left 40s linear infinite;
  width: max-content;
}

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

.preview-card {
  flex: 0 0 280px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1rem 3rem rgba(26, 18, 8, 0.15);
  transition: transform 0.4s;
}

.preview-card:hover {
  transform: translateY(-0.5rem);
}

.preview-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── ABOUT DINA ─────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.about-photo {
  position: relative;
}

.about-photo img {
  max-width: 100%;
  border-radius: 4px;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}

.about-text p {
  font-size: 1.0625rem;
  color: var(--dark);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-quote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.375rem;
  color: var(--accent);
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

.about-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 2.5rem 0 2rem;
}

.about-price-label {
  margin-bottom: 0.75rem;
}

.offer-row {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.about-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.offer-row .countdown {
  margin-bottom: 0;
}

.about-price .price-current {
  color: var(--dark);
}

.about-price .price-badge {
  background: rgba(196, 98, 45, 0.12);
}

.about .countdown-label {
  color: var(--accent);
}

.about .countdown-num {
  color: var(--dark);
}

.about .countdown-text {
  color: var(--muted);
}

.about .countdown-sep {
  color: var(--gold);
}

.about .countdown-timer {
  justify-content: flex-start;
}

/* ─── FEATURES ────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.feature {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.feature:hover {
  border-color: var(--gold);
  transform: translateY(-0.25rem);
}

.feature-icon {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: #6b6158;
  line-height: 1.6;
}

/* ─── PRICE / BUY ────────────────────────── */
.price-current {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 3.25rem;
  color: var(--dark);
  line-height: 1;
}

.price-original {
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price-badge {
  font-family: "Jost", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(196, 98, 45, 0.12);
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
}

/* ─── COUNTDOWN ──────────────────────────── */
.countdown {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.countdown-label {
  font-size: 0.875rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.countdown-timer {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.5rem;
}

.countdown-num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 2.25rem;
  color: var(--bg);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-text {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b5ada5;
  margin-top: 0.125rem;
}

.countdown-sep {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 2.25rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.3;
}

.countdown-expired {
  display: none;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: "Jost", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 1.125rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-btn:hover {
  background: #d87340;
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 2rem rgba(196, 98, 45, 0.3);
}

/* ─── FOOTER ──────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(254, 252, 248, 0.06);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--bg);
  margin-bottom: 0.25rem;
}

.footer-brand em {
  color: var(--accent);
  font-style: italic;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(181, 173, 165, 0.6);
  margin-top: 1rem;
}

/* ─── ANIMATIONS ─────────────────────────── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.8s,
    transform 0.8s;
}

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

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.25rem;
  }
  nav.scrolled {
    padding: 0.75rem 1.25rem;
  }
  .nav-cta {
    display: none;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .inside-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .preview-card {
    flex: 0 0 220px;
  }

  .section {
    padding: 5rem 1.5rem;
  }
  .preview {
    padding: 5rem 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-photo {
    max-width: 360px;
  }
}
