/* ===========================================
   MARROQUILLOS - Static Website Styles (Clean)
   =========================================== */

/* CSS Variables */
:root {
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", Times, serif;

  /* Colors - Gold & Black palette */
  --background: hsl(45, 25%, 96%);
  --foreground: hsl(0, 0%, 8%);
  --card: hsl(45, 20%, 94%);
  --card-foreground: hsl(0, 0%, 8%);
  --primary: hsl(0, 0%, 8%);
  --primary-foreground: hsl(45, 40%, 90%);
  --secondary: hsl(43, 70%, 50%);
  --secondary-foreground: hsl(0, 0%, 5%);
  --muted: hsl(40, 15%, 90%);
  --muted-foreground: hsl(0, 0%, 35%);
  --accent: hsl(43, 80%, 55%);
  --accent-foreground: hsl(0, 0%, 5%);
  --border: hsl(40, 15%, 80%);
  --gold: hsl(43, 70%, 50%);
  --gold-light: hsl(43, 65%, 65%);
  --black-rich: hsl(0, 0%, 8%);
  --cream: hsl(45, 25%, 96%);
  --charcoal: hsl(0, 0%, 15%);

  /* Sizing */
  --radius: 0.5rem;

  /* Header height for scroll offsets (tweak if needed) */
  --header-h: 64px;
}

/* ===========================================
   Reset & Base
   =========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
}

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

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

/* ===========================================
   Layout
   =========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container { padding: 0 1.5rem; }
}

.container-narrow {
  max-width: 1000px;
  margin: 0 auto;
}

/* Utilities */
.text-center { text-align: center; }
.hidden { display: none !important; } /* utility exception: predictable override */
.mt-12 { margin-top: 3rem; }

/* ===========================================
   Header
   =========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: transparent;
  padding: 1.25rem 0;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 0.75rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.scrolled .logo {
  transform: scale(0.92);
  opacity: 0.95;
}

@media (min-width: 768px) {
  .logo {
    width: 3.25rem;
    height: 3.25rem;
  }
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  color: rgba(245, 235, 210, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover { color: var(--secondary); }

.btn-nav {
  padding: 0.5rem 1.25rem;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-nav:hover { background-color: var(--gold-light); }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--primary-foreground);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--primary);
  border-top: 1px solid rgba(245, 235, 210, 0.1);
}

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1rem;
}

.mobile-nav-link {
  color: rgba(245, 235, 210, 0.8);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover { color: var(--secondary); }

.btn-mobile {
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 9999px;
  text-align: center;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-mobile:hover { background-color: var(--gold-light); }

/* ===========================================
   Hero
   =========================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #141414;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/bg-moroccan-pattern.webp");
  background-repeat: repeat;
  background-size: 768px 768px;
  opacity: 0.1;
  z-index: 0;
}


.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

@media (min-width: 1024px) {
  .hero-image { object-position: 82% 50%; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 18% 42%,
      rgba(0,0,0,0.78) 0%,
      rgba(0,0,0,0.55) 42%,
      rgba(0,0,0,0.18) 72%,
      rgba(0,0,0,0.08) 100%
    ),
    linear-gradient(to bottom,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.35) 70%,
      rgba(0,0,0,0.65) 100%
    );
}

/* Base hero content (mobile) */
.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  text-align: center;
  padding: 5rem 1rem 8rem;
}

.hero-inner {
  max-width: 40rem;
  margin: 0 auto;

  position: relative;

  z-index: 5;
}

/* Hero media (mobile stack) */
.hero-media {
  display: block;
  margin-top: 3rem;
  text-align: center;
}

.hero-media-img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
  overflow: hidden;
}


/* Badge (pill only — no wrapper framing) */
.hero-badge { margin-bottom: 2.5rem; }

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 9999px;

  color: rgba(245,235,210,0.92);
  background: rgba(0,0,0,0.38);
  border: 1px solid rgba(196,169,98,0.35);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.title-white,
.title-gold {
  white-space: nowrap;
  text-shadow:
    1px 0 0 rgba(0,0,0,.86),
   -1px 0 0 rgba(0,0,0,.86),
    0 1px 0 rgba(0,0,0,.86),
    0 -1px 0 rgba(0,0,0,.86),
    1px 1px 0 rgba(0,0,0,.82),
   -1px 1px 0 rgba(0,0,0,.82),
    1px -1px 0 rgba(0,0,0,.82),
   -1px -1px 0 rgba(0,0,0,.82),
    0 18px 80px rgba(0,0,0,.78);
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}

.title-white {
  display: block;
  color: var(--primary-foreground);
  text-shadow:
    1px 0 0 rgba(0,0,0,.6),
   -1px 0 0 rgba(0,0,0,.6),
    0 1px 0 rgba(0,0,0,.6),
    0 -1px 0 rgba(0,0,0,.6),
    0 22px 90px rgba(0,0,0,.78);
}

.title-gold {
  display: block;
  color: var(--secondary);
  margin-top: 0.5rem;
}

.hero-subtitle {

  font-size: clamp(1.05rem, .95rem + .55vw, 1.55rem);
  font-weight: 300;
  max-width: none;
  margin: 0 auto 2.5rem;
  opacity: 0.95;

  color: rgba(255,255,255,.94);
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);

  display: inline-block;
  padding: .55rem .9rem;
  border-radius: .9rem;
  background: linear-gradient(90deg,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.25) 60%,
    rgba(0,0,0,0) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 18px 70px rgba(0,0,0,.52);
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    max-width: 46ch;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
    align-items: flex-start;
  }
}

/* Small screens fine-tuning */
@media (max-width: 420px) {
  .hero-title { text-shadow: 0 2px 22px rgba(0,0,0,0.65); }
  .hero-content { padding: 3.25rem 1rem 7rem; }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(245, 235, 210, 0.5);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
}

.scroll-dot {
  width: 0.375rem;
  height: 0.75rem;
  background-color: rgba(245, 235, 210, 0.7);
  border-radius: 9999px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}


/* ===========================================
   HERO DESKTOP - estilo McDonald’s (mejorado)
   - Más “campaña”: más aire arriba, título más compacto, bocata más protagonista
   - Fondo con “glow” cálido a la derecha (sin perder el patrón marroquí)
   =========================================== */
@media (min-width: 1024px){

  .hero{ position: relative; overflow: hidden; padding-top: 0; }

  /* Patrón más sutil */
  .hero-bg{
    z-index: 0;
    opacity: 0.16;
  }

  /* Glow cálido a la derecha (sensación “foto de producto” tipo McD) */
  .hero::before{
    content:"";
    position:absolute;
    inset:-10%;
    z-index: 1;
    pointer-events:none;
    background:
      radial-gradient(800px 520px at 78% 46%,
        rgba(196, 169, 98, 0.22) 0%,
        rgba(196, 169, 98, 0.10) 38%,
        rgba(0,0,0,0.00) 70%
      );
  }

  /* Overlay oscuro a la izquierda (lectura) */
  .hero-overlay{
    z-index: 2;
    background:
      radial-gradient(1100px 720px at 18% 45%,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.64) 44%,
        rgba(0,0,0,0.28) 70%,
        rgba(0,0,0,0.06) 86%,
        rgba(0,0,0,0.00) 100%
      ),
      linear-gradient(90deg,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.42) 36%,
        rgba(0,0,0,0.10) 64%,
        rgba(0,0,0,0.00) 82%
      );
  }

  /* Romper grid: comportamiento “hero de campaña” */
  .hero-content{
    position: static !important;
    z-index: auto !important;

    width: 100%;
    max-width: 1240px;
    margin: 0 auto;

    display: block !important;
    text-align: left;

    /* Más aire tipo McD */
    padding: 0;

    padding-top: 0rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: clamp(5.5rem, 10vh, 7.5rem);
}

  /* Texto por encima de todo */
  .hero-inner{
    position: relative;
    z-index: 4;
    max-width: 46rem;  /* más “bloque” */
    margin: 0;
  }

  .hero-media{ display: none !important; }

  /* Bocata: más grande, más “invadiendo” */
  .hero-bocata{
    display: block !important;
    position: absolute;
    right: -18vw;
    top: 50%;
    transform: translateY(-50%) rotate(-2.2deg);
    width: clamp(1100px, 92vw, 1780px);
    z-index: 3; /* por encima del overlay, por debajo del texto */
    pointer-events: none;
    filter: drop-shadow(0 36px 120px rgba(0,0,0,.62));
  }

  .hero-bocata img{
    width: 100%;
    height: auto;
    display: block;
    transform: translateX(-11vw);
  }

  /* Badge un pelín más “premium” */
  .hero-badge{ margin-bottom: 2.1rem; }
  .badge{
    background: rgba(0,0,0,0.30);
    border: 1px solid rgba(196,169,98,0.32);
    box-shadow: 0 18px 60px rgba(0,0,0,0.28);
  }

  /* Título: más parecido a campaña (compacto, bold, sin oro) */
  .hero-title{
    font-family: var(--font-sans) !important;
    font-weight: 850 !important;
    font-size: clamp(66px, 6.2vw, 118px) !important;
    line-height: 0.90 !important;
    letter-spacing: -0.035em;
    text-shadow: 0 22px 85px rgba(0,0,0,0.75);
    max-width: 9ch; /* fuerza el split en 3-4 líneas */
    margin-bottom: 1.05rem;
  }

  /* Forzar 2 líneas: "No son" / "bocadillos." y "Son" / "marroquillos." */
  .hero-title .title-white,
  .hero-title .title-gold{
    display: block;
    white-space: normal !important;
    max-width: 9ch; /* ajusta: 8-10ch según te guste */
  }

  .title-white{ color: rgba(255,255,255,0.985); }
  .title-gold{ color: #D9A626; margin-top: 0.15rem; }
.hero-subtitle{
    font-size: 1.25rem !important;
    max-width: none !important;
    margin: 0 0 2.2rem 0 !important;
    white-space: nowrap;
    opacity: 0.92;
    text-shadow: 0 18px 70px rgba(0,0,0,0.75);
  }

  /* CTA blanco tipo McD */
  .btn-hero, .btn-hero-gold{
    background: #D9A626 !important;
    color: #111 !important;
    border: 1px solid rgba(255,255,255,0.42) !important;
    box-shadow: 0 26px 85px rgba(0,0,0,0.40) !important;
  }
  .btn-hero:hover, .btn-hero-gold:hover{
    transform: translateY(-2px);
    box-shadow: 0 34px 105px rgba(0,0,0,0.52) !important;
  }
}


/* ===========================================
   Buttons
   =========================================== */

/* Hero primary CTA (shared relief) */
.btn-hero,
.btn-hero-gold{
  border: 1px solid rgba(0,0,0,0.35);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 -2px 0 rgba(0,0,0,0.18) inset,
    0 12px 30px rgba(0,0,0,0.45);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .22s ease, filter .22s ease, background-color .3s ease, color .3s ease;
}
.btn-hero:hover,
.btn-hero-gold:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.40) inset,
    0 -2px 0 rgba(0,0,0,0.22) inset,
    0 22px 55px rgba(0,0,0,0.55);
}
.btn-hero:active,
.btn-hero-gold:active{
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 -2px 0 rgba(0,0,0,0.28) inset,
    0 10px 22px rgba(0,0,0,0.45);
}

.btn-hero-secondary,
.btn-hero-gold,
.btn-hero-outline,
.btn-hero-accent,
.btn-hero-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

@media (min-width: 640px) {
  .btn-hero-secondary,
  .btn-hero-gold,
  .btn-hero-outline,
  .btn-hero-accent,
  .btn-hero-outline-light {
    width: auto;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

.btn-hero-secondary {
  border: 1px solid rgba(245,235,210,0.18);
  background: rgba(0,0,0,0.35);
  color: var(--primary-foreground);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.35);
}

.btn-hero-secondary:hover {
  background: rgba(0,0,0,0.45);
  transform: translateY(-1px);
}

.btn-hero-gold {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid rgba(196,169,98,0.35);
  box-shadow: 0 10px 25px -5px rgba(196, 169, 98, 0.2);
}

.btn-hero-gold:hover {
  background-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-hero-outline {
  border: 1px solid rgba(245,235,210,0.55);
  color: var(--primary-foreground);
  background: transparent;
}

.btn-hero-outline:hover {
  background: rgba(245,235,210,0.12);
  transform: translateY(-1px);
}

.btn-hero-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 10px 25px -5px rgba(196, 169, 98, 0.2);
}

.btn-hero-accent:hover {
  background-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-hero-outline-light {
  border: 2px solid var(--primary-foreground);
  color: var(--primary-foreground);
  background: transparent;
}

.btn-hero-outline-light:hover {
  background-color: var(--primary-foreground);
  color: var(--primary);
  transform: translateY(-1px);
}

/* ===========================================
   Sections
   =========================================== */
.section-padding { padding: 4rem 1rem; }

@media (min-width: 768px) {
  .section-padding { padding: 6rem 2rem; }
}

@media (min-width: 1024px) {
  .section-padding { padding: 8rem 2rem; }
}

.bg-primary { background-color: var(--primary); }
.bg-muted { background-color: var(--muted); }

.bg-pattern {
  position: relative;
  background-color: var(--background);
  background-image: url("/assets/bg-moroccan-pattern.webp");
  background-repeat: repeat;
  background-size: 768px 768px;
}

.bg-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  pointer-events: none;
  z-index: 0;
}

.bg-pattern > .container {
  position: relative;
  z-index: 1;
}


/* Celosía marroquí (para el bloque "Nuestra historia") */
.bg-celosia{
  position: relative;
  background-color: #141414;
  background-image: url("assets/celosia-marruecos.png");
  background-repeat: repeat;
  background-size: 640px 640px;
  overflow: hidden;
}

/* Velo para asegurar legibilidad sin “matar” el patrón */
.bg-celosia::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 600px at 18% 35%,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.55) 38%,
      rgba(0,0,0,0.35) 70%,
      rgba(0,0,0,0.25) 100%
    ),
    linear-gradient(to bottom,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.55) 55%,
      rgba(0,0,0,0.65) 100%
    );
  opacity: 0.95;
}

/* Mantener el contenido por encima del velo */
.bg-celosia > *{
  position: relative;
  z-index: 1;
}

/* Tipografía/colores del bloque en modo oscuro */
#nosotros.bg-celosia .section-tag{ color: var(--secondary); }

#nosotros.bg-celosia .section-title{
  color: rgba(245,235,210,0.96);
  text-shadow: 0 18px 70px rgba(0,0,0,0.55);
}

#nosotros.bg-celosia .about-text{ color: rgba(245,235,210,0.78); }

#nosotros.bg-celosia .about-text strong{ color: rgba(255,255,255,0.92); }

#nosotros.bg-celosia .about-image{
  box-shadow: 0 28px 80px -18px rgba(0,0,0,0.65);
}

#nosotros.bg-celosia .about-deco-1{ background-color: rgba(196,169,98,0.18); }

#nosotros.bg-celosia .about-deco-2{ border-color: rgba(217,166,38,0.9); }

/* Feature cards “glass” */
#nosotros.bg-celosia .feature-card{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(196,169,98,0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
}

#nosotros.bg-celosia .feature-label{ color: rgba(245,235,210,0.72); }


.section-header { margin-bottom: 3rem; }

@media (min-width: 768px) {
  .section-header { margin-bottom: 4rem; }
}

.section-tag,
.section-tag-light {
  display: inline-block;
  color: var(--secondary);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title-light {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title,
  .section-title-light { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .section-title,
  .section-title-light { font-size: 3rem; }
}

.section-desc {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

.section-desc-light {
  color: rgba(245, 235, 210, 0.8);
  max-width: 36rem;
  margin: 0 auto;
}

/* ===========================================
   About
   =========================================== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-image-wrapper {
  position: relative;
  order: 2;
}

@media (min-width: 768px) {
  .about-image-wrapper { order: 1; }
}

.about-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.about-deco-1 {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background-color: rgba(196, 169, 98, 0.2);
  border-radius: 1rem;
  z-index: -1;
}

.about-deco-2 {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 4rem;
  height: 4rem;
  border: 2px solid var(--secondary);
  border-radius: 1rem;
  z-index: -1;
}

.about-content { order: 1; }

@media (min-width: 768px) {
  .about-content { order: 2; }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.about-text strong { color: var(--foreground); }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}


.feature-card {
  padding: 1rem;
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.feature-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.feature-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===========================================
   Dishes
   =========================================== */
.dishes-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .dishes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.dish-card {
  background-color: rgba(245, 235, 210, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(245, 235, 210, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.dish-card:hover {
  background-color: rgba(245, 235, 210, 0.15);
  transform: scale(1.02);
}

.dish-card.featured { outline: 2px solid var(--secondary); }

.dish-image-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dish-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dish-card:hover .dish-image { transform: scale(1.1); }

.dish-content { padding: 1.5rem; }

.dish-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.dish-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.dish-description {
  font-size: 0.875rem;
  color: rgba(245, 235, 210, 0.7);
  line-height: 1.6;
}

/* ===========================================
   Gallery + Lightbox
   =========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(255, 255, 255, 0.8);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.lightbox-close:hover { color: #fff; }

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 95vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-align: center;
  max-width: 60ch;
  padding: 0 2.5rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 101;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.04);
}

.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }

@media (max-width: 480px) {
  .lightbox-nav {
    width: 2.75rem;
    height: 2.75rem;
  }
  .lightbox-caption { padding: 0 1.5rem; }
}

/* ===========================================
   Reviews
   =========================================== */
.award-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.award-image {
  width: 20rem;
  height: 20rem;
  object-fit: cover;
  border-radius: 1rem;
}

@media (max-width: 768px) {
  .award-image { width: 16rem; height: 16rem; }
}

.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.review-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.review-card-dark {
  background-color: var(--primary);
  padding: 2rem;
  border-radius: 1rem;
  color: var(--primary-foreground);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.review-icon,
.review-icon-dark {
  width: 3rem;
  height: 3rem;
  background-color: rgba(196, 169, 98, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.review-source {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--foreground);
}

.review-source-light {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--primary-foreground);
}

.review-type {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.review-type-light {
  font-size: 0.875rem;
  color: rgba(245, 235, 210, 0.7);
}

.review-quote {
  color: var(--muted-foreground);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.review-link,
.review-link-light {
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.875rem;
}

.review-link-light { display: inline-flex; align-items: center; }

.review-link:hover,
.review-link-light:hover { text-decoration: underline; }

.stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.star {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--secondary);
}

.rating {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

.review-text-light {
  color: rgba(245, 235, 210, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===========================================
   Info
   =========================================== */
.info-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .info-grid { grid-template-columns: repeat(4, 1fr); }
}

.info-card {
  background-color: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.info-card:hover {
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.info-card-dark {
  background-color: var(--primary);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  color: var(--primary-foreground);
}

.info-icon,
.info-icon-dark {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(196, 169, 98, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--secondary);
}

.info-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.info-title-light {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.info-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.info-text .text-muted { color: rgba(100, 100, 100, 0.6); }

.info-text-light {
  font-size: 0.875rem;
  color: rgba(245, 235, 210, 0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.phone-link { transition: color 0.3s ease; }
.phone-link:hover { color: var(--secondary); }

.btn-order {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-order:hover { background-color: var(--gold-light); }

.map-container {
  margin-top: 3rem;
  aspect-ratio: 21 / 9;
  background-color: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-iframe {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.map-iframe:hover { filter: grayscale(0%); }

/* ===========================================
   CTA
   =========================================== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4A962' fill-opacity='0.08'%3E%3Cpath d='M30 30l15-15v30l-15-15zm0 0l-15 15V15l15 15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .cta-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .cta-title { font-size: 3rem; }
}

.text-gold { color: var(--secondary); }

.cta-subtitle {
  color: rgba(245, 235, 210, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons { flex-direction: row; }
}

/* ===========================================
   Footer
   =========================================== */
.footer {
  background-color: var(--black-rich);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(245, 235, 210, 0.6);
}

.footer-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(245, 235, 210, 0.8);
}

.footer-icon { color: var(--secondary); }

.footer-legal {
  font-size: 0.75rem;
  color: rgba(245, 235, 210, 0.5);
}

/* ===========================================
   Animations
   =========================================== */
.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }

.animate-fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ===========================================
   HERO MOBILE / TABLET (<1024px)
   Bocadillo arriba + bloque más grande y más arriba
   =========================================== */
@media (max-width: 1023px) {

  /* En móvil/tablet, que el hero arranque arriba (no centrado vertical) */
  .hero{
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Más pegado arriba */
    padding-top: calc(var(--header-h) + 0.75rem);
    padding-bottom: 3.25rem;
  }

  /* Bocata más protagonista */
  .hero-bocata {
    order: -1;
    position: relative;
    margin-top: 0.15rem;
    margin-bottom: 3.5rem;

    width: min(94vw, 720px);
    max-width: none;
  }

  .hero-bocata img {
    transform: scale(1.08) translateY(-0.15rem);
    filter: drop-shadow(0 24px 60px rgba(0,0,0,0.50));
  }

  /* Compactar el bloque de texto */
  .hero-badge { margin-bottom: 0.95rem; }
  .hero-title { margin-bottom: 0.85rem; }
  .hero-subtitle { margin-bottom: 1.35rem; }
}
/* ===========================================
   HERO DESKTOP (>=1024px)
   1/3 texto + 2/3 bocadillo (layout en grid)
   =========================================== */
@media (min-width: 1024px){
  .hero{
    /* En desktop queremos centrar verticalmente el conjunto */
    padding-top: var(--header-h);
    align-items: center;
    justify-content: center;
  }

  .hero-content{
    text-align: left;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 2fr);
    gap: clamp(1.75rem, 4vw, 4rem);
    align-items: center;

    /* Mantén el aire “premium” sin exagerar */
    padding: clamp(4.25rem, 7vh, 5.75rem) 1.5rem clamp(4.5rem, 8vh, 6.5rem);
  }

  .hero-inner{
    max-width: none;
    margin: 0;
  }

  .hero-buttons{
    justify-content: flex-start;
    align-items: flex-start;
  }

  .hero-bocata{
    display: block;
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    max-width: none;
    z-index: 3;
    pointer-events: none;

    /* Un pelín de “producto protagonista” sin invadir el texto */
    filter: drop-shadow(0 34px 110px rgba(0,0,0,.58));
  }

  .hero-bocata img{
    width: 100%;
    height: auto;
    display: block;
    transform: translateX(clamp(0px, 2vw, 22px)) scale(1.03);
  }

  /* Deja respirar el título y evita que se “rompa” raro */
  .hero-title{
    max-width: 14ch;
  }
  .hero-title .title-white,
  .hero-title .title-gold{
    max-width: none;
  }
}
/* ===========================================
   HERO DESKTOP (>=1024px) — FIX definitivo
   Objetivo: 1/3 texto (izquierda) + 2/3 bocadillo (derecha)
   Nota: esto sobreescribe el bloque "McDonald’s" anterior que rompía el grid.
   =========================================== */
@media (min-width: 1024px){

  /* El hero vuelve a comportarse como layout en columnas */
  .hero{
    padding-top: var(--header-h) !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-content{
    position: relative !important;
    z-index: 4 !important;

    display: grid !important;
    grid-template-columns: minmax(340px, 1fr) minmax(0, 2fr) !important;
    align-items: center !important;
    gap: clamp(1.75rem, 4vw, 4rem) !important;

    text-align: left !important;

    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;

    padding:
      clamp(4.25rem, 7vh, 5.75rem)
      1.5rem
      clamp(4.5rem, 8vh, 6.5rem) !important;
  }

  .hero-inner{
    grid-column: 1 !important;
    max-width: 46rem !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 5 !important;
  }

  /* Imagen derecha: NO absoluta, para que no se vaya debajo */
  .hero-bocata{
    grid-column: 2 !important;

    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;

    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    inset: auto !important;

    transform: none !important;
    width: 100% !important;
    max-width: none !important;

    z-index: 3 !important;
    pointer-events: none !important;

    filter: drop-shadow(0 34px 110px rgba(0,0,0,.58)) !important;
  }

  .hero-bocata img{
    width: 100% !important;
    height: auto !important;
    display: block !important;

    max-width: 980px !important;

    transform: translateX(clamp(0px, 2vw, 22px)) scale(1.03) !important;
  }

  /* Botón y alineaciones */
  .hero-buttons{
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
}
