/* =============================================
   INDEX PAGE STYLES
   ============================================= */

/* SECTION SEAM (gradient transition between sections) */
.section-seam {
  width: 100%;
  height: 70px;
}
@media (max-width: 900px) {
  .section-seam { height: 40px; }
}

/* SITE INTRO / WELCOME */
.site-intro {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 3000;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 14vh, 9rem);
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.site-intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: siteIntroFadeIn 2.4s ease forwards;
}
.site-intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,18,14,0.45) 0%, rgba(20,18,14,0.3) 45%, rgba(20,18,14,0.7) 100%);
}
.site-intro-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: siteIntroFadeIn 1.4s ease forwards;
  animation-delay: 1.1s;
}
.site-intro-btn { min-width: 160px; justify-content: center; }

.site-intro--closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes siteIntroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro-video, .site-intro-content { animation: none; opacity: 1; }
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,18,14,0.55) 0%, rgba(20,18,14,0.35) 50%, rgba(20,18,14,0.65) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 700px;
  padding: 0 2rem;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--aji);
  text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 10px rgba(0,0,0,0.6);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-title em {
  display: block;
  font-style: italic;
  color: var(--sand);
  font-size: 0.9em;
}
.hero-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.2)} }

/* PRESS BANNER */
.press-banner {
  background: var(--ocean);
  padding: 1.25rem var(--pad);
}
.press-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.press-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ocean-light);
  flex-shrink: 0;
}
.press-divider {
  width: 1px; height: 24px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.press-quote {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--sand);
  font-weight: 300;
  line-height: 1.5;
  flex: 1;
}
.press-source {
  font-size: 11px;
  color: var(--ocean-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.press-read {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--aji);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.press-read:hover { opacity: 0.75; }

/* WHY US */
.why-us { background: var(--sand); }
.why-us-bg-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-us-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.why-us-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,18,14,0.78), rgba(20,18,14,0.68));
  z-index: 0;
}
.why-us-header {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}
.why-us-header .section-eyebrow { justify-content: center; color: var(--aji); }
.why-us-header .section-eyebrow::before { background: var(--aji); opacity: 0.5; }
.why-us-header .section-title { color: var(--white); }
.why-us-header .section-title em { color: var(--aji); }
.why-us-header .section-sub { max-width: 100%; margin: 0 auto; color: rgba(255,255,255,0.75); }
.why-us-grid-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem var(--pad) 4rem;
  overflow: hidden;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.why-card {
  position: relative;
  padding: 1.75rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1.5px solid transparent;
  border-radius: 28px;
  background-image: linear-gradient(to bottom, rgba(20,18,14,0.25), rgba(20,18,14,0.75)),
                     var(--card-photo),
                     linear-gradient(135deg, var(--sand-dark), transparent);
  background-position: center, center, 0 0;
  background-size: cover, cover, auto;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-origin: padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, border-box;
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 1.1s ease, transform 1.1s ease, box-shadow 0.25s ease;
}
.why-card.revealed { opacity: 1; transform: translateX(0); }
.why-card:hover {
  transform: scale(1.04);
  background-image: linear-gradient(to bottom, rgba(20,18,14,0.3), rgba(20,18,14,0.8)),
                     var(--card-photo),
                     linear-gradient(135deg, var(--red), transparent);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
@media (prefers-reduced-motion: reduce) {
  .why-card { opacity: 1; transform: none; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.why-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* HISTORIA */
.historia {
  scroll-margin-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad);
  align-items: center;
  gap: 4rem;
}
.historia-text p {
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.historia-text p strong { color: var(--ink); font-weight: 500; }
.intro-actions { margin-top: 1.75rem; }

.historia-carousel {
  width: 100%;
  aspect-ratio: 4/3;
}
.intro-caption {
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-light);
  text-align: right;
}

/* CHEF / FAMILIA TEASERS */
.chef-teaser-content, .familia-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--pad);
  gap: 3.5rem;
  align-items: center;
}
.familia-teaser-wrap { background: var(--sand); scroll-margin-top: var(--nav-h); }
.familia-teaser { grid-template-columns: 1.1fr 0.9fr; }

/* chef-teaser has a full-bleed video background behind a centered content grid */
.chef-teaser {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.chef-teaser-content {
  position: relative;
  z-index: 1;
}
.chef-teaser-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.chef-teaser-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,18,14,0.7), rgba(20,18,14,0.6));
  z-index: 0;
}

.familia-teaser-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.chef-teaser-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.familia-teaser-text p {
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.chef-teaser-text p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.8);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.familia-teaser-text p strong { color: var(--ink); font-weight: 500; }
.chef-teaser-text p strong { color: var(--white); font-weight: 500; }
.chef-teaser-text .section-eyebrow { color: var(--aji); }
.chef-teaser-text .section-eyebrow::before { background: var(--aji); opacity: 0.5; }
.chef-teaser-text .section-title { color: var(--white); }
.chef-teaser-text .section-title em { color: var(--aji); }
.chef-teaser-text .btn, .familia-teaser-text .btn { margin-top: 0.5rem; }
.chef-teaser-quote {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.6;
  border-left: 2px solid var(--aji);
  padding-left: 1rem;
  margin: 1.25rem 0 0.5rem;
}
.chef-teaser-attr {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem !important;
}

/* NUESTRA COCINA */
.cocina-edu {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad);
}
.cocina-edu-header { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.cocina-edu-header .section-eyebrow { justify-content: center; }
.cocina-edu-header .section-sub { max-width: 100%; margin: 0 auto; }
.cocina-edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.cocina-edu-card {
  position: relative;
  min-height: 240px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-md);
  background-image: linear-gradient(to bottom, rgba(20,18,14,0.2), rgba(20,18,14,0.78)),
                     var(--card-photo);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}
.cocina-edu-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.cocina-edu-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--sand);
  padding: 5rem var(--pad);
}
.testimonials-header { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.testimonials-header .section-eyebrow { justify-content: center; }
.testimonials-header .section-sub { max-width: 100%; margin: 0 auto; }
.testimonials-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--sand-dark), transparent) border-box;
  padding: 1.75rem;
}
.testimonial-stars {
  color: var(--aji-text);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.testimonial-quote {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-attr {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--ink-light);
  text-transform: uppercase;
}
.testimonials-footer { text-align: center; margin-top: 2.5rem; }

/* LOCATION TEASER */
.location-teaser {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad) 2rem;
}
.location-teaser-header { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.location-teaser-header .section-eyebrow { justify-content: center; }
.location-teaser-header .section-sub { max-width: 100%; margin: 0 auto; }
.location-teaser .info-bar {
  border: 0.5px solid var(--sand-mid);
  border-radius: var(--radius-md);
  padding: 0 var(--pad);
}

/* MENU PREVIEW */
.menu-preview {
  scroll-margin-top: var(--nav-h);
  background: var(--sand);
  padding: 5rem var(--pad);
}
.menu-preview-header {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
}
.dishes-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sand-dark);
  border: 0.5px solid var(--sand-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.dish-card {
  background: var(--white);
  display: block;
  text-decoration: none;
  transition: background 0.2s;
}
.dish-card:hover { background: var(--ocean-pale); }
.dish-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.dish-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dish-card:hover .dish-img-wrap img { transform: scale(1.04); }
.dish-info { padding: 1rem 1.125rem 1.25rem; }
.dish-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.dish-desc {
  font-size: 12.5px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 10px;
}
.dish-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ocean-mid);
}
.menu-preview-footer {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  text-align: center;
}

/* MARKETS */
.markets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad);
  gap: 4rem;
  align-items: center;
}
.markets-content p {
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.market-list {
  list-style: none;
  margin: 1rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.market-list li {
  font-size: 13px;
  color: var(--ink-mid);
  padding-left: 1rem;
  position: relative;
}
.market-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--aji);
  font-size: 11px;
}
.markets-note {
  font-size: 13px;
  font-style: italic;
  color: var(--ink-light);
  margin-bottom: 1.25rem !important;
}
.markets-img { position: relative; }
.markets-img img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.markets-caption {
  margin-top: 10px;
  font-size: 11px;
  color: var(--ink-light);
  text-align: center;
  font-style: italic;
}

/* CTA SECTION */
.cta-section {
  background: var(--ocean);
  padding: 5rem var(--pad);
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cta-title em { font-style: italic; color: var(--aji); }
.cta-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.cta-phone {
  font-size: 13px;
  color: var(--ocean-light);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .historia { grid-template-columns: 1fr; gap: 2rem; }
  .why-us-bg-wrap { aspect-ratio: 9/16; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .chef-teaser-content, .familia-teaser { grid-template-columns: 1fr; gap: 1.75rem; padding: 3rem var(--pad); }
  .familia-teaser-img { order: -1; }
  .cocina-edu-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .dishes-grid { grid-template-columns: repeat(2, 1fr); }
  .markets { grid-template-columns: 1fr; gap: 2rem; }
  .markets-img { order: -1; }
  .press-inner { gap: 1rem; }
  .press-divider { display: none; }
}
@media (max-width: 600px) {
  .why-us-grid { grid-template-columns: 1fr; }
  .dishes-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 52px; }
}
