/* =========================================================
   El Charro Mexican Grill — Hoja de estilos
   Diseño: minimalista, elegante, charrería mexicana.
   Paleta cálida: rojo, naranja, dorado, madera, crema.
   Diseñado por 7K Digital — www.7kdigital.net
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --rojo:        #9B1B1B;
  --rojo-dark:   #6E1212;
  --naranja:     #D2601A;
  --naranja-soft:#E07B2E;
  --dorado:      #C8902B;
  --dorado-light:#E9C46A;
  --madera:      #6B4226;
  --madera-dark: #4A2E1C;
  --verde:       #2E6B3E;
  --crema:       #FBF6EE;
  --crema-2:     #F4E9D8;
  --carbon:      #2A211C;
  --gris:        #6B5E54;
  --blanco:      #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(74, 46, 28, .10);
  --shadow-md: 0 10px 30px rgba(74, 46, 28, .14);
  --shadow-lg: 0 22px 50px rgba(74, 46, 28, .20);

  --radius:    14px;
  --radius-lg: 22px;

  --maxw: 1180px;

  --ff-brand: "Rye", "Playfair Display", serif;
  --ff-head:  "Playfair Display", Georgia, serif;
  --ff-body:  "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--carbon);
  background: var(--crema);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tipografía base ---------- */
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; color: var(--madera-dark); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p { color: var(--gris); }

.eyebrow {
  font-family: var(--ff-brand);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .92rem;
  color: var(--naranja);
  display: inline-block;
  margin-bottom: .55rem;
}

/* ---------- Utilidades de layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding-block: clamp(3.4rem, 8vw, 6rem); position: relative; }
.section--cream { background: var(--crema); }
.section--warm  { background: linear-gradient(180deg, var(--crema) 0%, var(--crema-2) 100%); }
.section--wood  { background: var(--madera-dark); color: var(--crema); }
.section--wood h2, .section--wood h3 { color: var(--crema); }
.section--wood p { color: #E7D8C5; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); }
.section-head p { margin-top: .6rem; font-size: 1.06rem; }

/* Adorno charro: filete dorado elegante */
.rope-divider {
  height: 1px;
  width: min(680px, 80%);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--dorado) 18%, var(--dorado) 82%, transparent);
  position: relative;
}
.rope-divider::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 9px; height: 9px; transform: translate(-50%, -50%) rotate(45deg);
  background: var(--dorado);
}

/* Papel picado superior */
.papel-picado {
  height: 26px;
  background:
    radial-gradient(circle at 12px 0, transparent 9px, var(--rojo) 9px) 0 0 / 24px 26px repeat-x;
  -webkit-mask: linear-gradient(#000 0 0);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-body); font-weight: 800; font-size: .98rem;
  letter-spacing: .01em;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--rojo) 0%, var(--naranja) 100%);
  color: var(--blanco);
  box-shadow: 0 8px 20px rgba(155, 27, 27, .28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(155, 27, 27, .36); }
.btn--ghost {
  background: transparent; color: var(--rojo);
  border: 2px solid var(--rojo);
}
.btn--ghost:hover { background: var(--rojo); color: var(--blanco); }
.btn--gold {
  background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-light) 100%);
  color: var(--madera-dark);
  box-shadow: 0 8px 20px rgba(200, 144, 43, .3);
}
.btn--gold:hover { transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(251, 246, 238, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 66, 38, .12);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .55rem;
}
.nav__brand { display: flex; align-items: center; gap: .65rem; }
.nav__brand img { height: 52px; width: auto; border-radius: 8px; }
.nav__brand-text { font-family: var(--ff-brand); font-size: 1.05rem; color: var(--rojo); line-height: 1; }
.nav__brand-text small { display: block; font-family: var(--ff-body); font-size: .7rem; letter-spacing: .22em; color: var(--madera); text-transform: uppercase; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 1.4rem; }
.nav__links a { font-weight: 700; font-size: .95rem; color: var(--madera-dark); position: relative; padding-block: .3rem; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--naranja); transition: width .2s ease;
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: .7rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav__toggle span { width: 26px; height: 3px; background: var(--rojo); border-radius: 3px; transition: .25s; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  background:
    linear-gradient(180deg, rgba(20,16,14,.52) 0%, rgba(110,18,18,.42) 100%),
    url("../img/hero-bg.jpeg") center/cover no-repeat,
    var(--madera-dark);
  color: var(--crema);
  text-align: center;
  padding-block: clamp(4.2rem, 11vw, 7.5rem);
  overflow: hidden;
}
.hero::before {
  /* viñeta sutil para dar profundidad */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.45) 100%);
}
.hero__logo { width: clamp(140px, 26vw, 210px); margin: 0 auto 1.4rem; filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); border-radius: 16px; }
.hero h1 { color: var(--crema); font-size: clamp(2.3rem, 6.5vw, 4.2rem); text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.hero__tag { font-family: var(--ff-brand); color: var(--dorado-light); letter-spacing: .14em; text-transform: uppercase; font-size: clamp(.85rem, 2.4vw, 1.05rem); margin-bottom: .8rem; }
.hero p.lead { max-width: 620px; margin: 1.1rem auto 2rem; color: #F1E4D2; font-size: 1.12rem; }
.hero__actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero__strip { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; font-size: 1.02rem; color: #EAD9C4; }
.hero__strip span { display: inline-flex; align-items: center; gap: .45rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.8rem, 5vw, 3.4rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 6px solid var(--blanco); }
.about__media::after {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 90px; height: 90px;
  border: 3px solid var(--dorado); border-radius: 50%; z-index: -1;
}
.about__text p + p { margin-top: 1rem; }
.about__stats { display: flex; gap: 2rem; margin-top: 1.8rem; flex-wrap: wrap; }
.about__stats div { text-align: left; }
.about__stats b { font-family: var(--ff-head); font-size: 1.9rem; color: var(--rojo); display: block; }
.about__stats span { font-size: .93rem; color: var(--gris); }

/* =========================================================
   ORDER ONLINE (banda destacada)
   ========================================================= */
.order-band {
  background:
    linear-gradient(135deg, rgba(155,27,27,.46) 0%, rgba(210,96,26,.40) 100%),
    url("../img/order-bg.webp") center/cover no-repeat;
  color: var(--blanco); text-align: center; border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4rem); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.order-band h2 { color: var(--blanco); position: relative; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.order-band p { color: #FBEFE2; max-width: 560px; margin: .7rem auto 1.6rem; position: relative; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.order-band .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.order-band .btn { position: relative; }

/* =========================================================
   EMBED PLACEHOLDERS (GoHighLevel)
   ========================================================= */
.embed-box {
  background: var(--blanco); border: 2px dashed var(--dorado);
  border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem);
  text-align: center; color: var(--gris); box-shadow: var(--shadow-sm);
  min-height: 180px; display: grid; place-content: center; gap: .4rem;
}
.embed-box strong { color: var(--madera-dark); font-size: 1.05rem; }
.embed-box small { font-size: .9rem; }

/* Formularios / widgets embebidos (GoHighLevel) */
.ghl-embed {
  max-width: 640px; margin: 0 auto;
  background: var(--blanco); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: .5rem; overflow: hidden;
}
.ghl-embed iframe { display: block; width: 100%; min-height: 476px; }

/* =========================================================
   MENÚ — tarjetas de secciones
   ========================================================= */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.menu-card {
  background: var(--blanco); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(107,66,38,.08); display: flex; flex-direction: column;
}
.menu-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.menu-card__top {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--dorado-light), var(--naranja-soft));
  display: grid; place-content: center; color: var(--blanco);
  font-size: 2.6rem;
}
.menu-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.menu-card__body h3 { font-size: 1.18rem; margin-bottom: .25rem; }
.menu-card__body p { font-size: .98rem; }
.menu-card__link { margin-top: .8rem; display: inline-flex; align-items: center; gap: .35rem; color: var(--rojo); font-weight: 800; font-size: .9rem; }
.menu-card:hover .menu-card__link { gap: .6rem; }

/* =========================================================
   FAVORITOS
   ========================================================= */
.fav-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.fav-card {
  background: var(--blanco); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm); border-top: 5px solid var(--naranja);
  display: flex; flex-direction: column; gap: .4rem;
}
.fav-card .badge { font-family: var(--ff-brand); font-size: .82rem; color: var(--verde); letter-spacing: .1em; text-transform: uppercase; }
.fav-card h3 { font-size: 1.2rem; }
.fav-card .price { font-family: var(--ff-head); font-size: 1.35rem; color: var(--rojo); font-weight: 700; margin-top: auto; }

/* =========================================================
   CATERING
   ========================================================= */
.catering__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 3rem); align-items: center; }
.catering__card { background: var(--blanco); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-md); }
.catering ul.feat { margin-top: 1rem; display: grid; gap: .6rem; }
.catering ul.feat li { display: flex; gap: .6rem; color: var(--carbon); align-items: flex-start; }
.catering ul.feat li::before { content: "✦"; color: var(--dorado); font-weight: 700; }

/* =========================================================
   UBICACIÓN / CONTACTO
   ========================================================= */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.6rem); }
.info-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.6rem; }
.section--wood .info-card h3 { color: var(--dorado-light); font-size: 1.2rem; margin-bottom: .7rem; }
.info-list { display: grid; gap: .7rem; }
.info-list li { display: flex; gap: .7rem; align-items: flex-start; color: #EFE2D2; }
.info-list .ico { color: var(--dorado-light); flex: 0 0 auto; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: .35rem; border-bottom: 1px dashed rgba(255,255,255,.16); }
.hours-row:last-child { border-bottom: none; }
.socials { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); transition: .2s;
}
.socials a:hover { background: var(--dorado); color: var(--madera-dark); transform: translateY(-3px); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 320px; border: 4px solid rgba(255,255,255,.14); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--madera-dark); color: #E7D8C5; padding-block: 2.4rem 6rem; text-align: center; }
.site-footer .brandline { font-family: var(--ff-brand); color: var(--dorado-light); font-size: 1.3rem; }
.site-footer nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin: 1.1rem 0; }
.site-footer nav a { font-size: .9rem; color: #E7D8C5; }
.site-footer nav a:hover { color: var(--dorado-light); }
.site-footer .legal { font-size: .95rem; color: #C9B69E; margin-top: 0; }
.site-footer .legal a { color: var(--dorado-light); font-weight: 700; }

/* =========================================================
   BOTÓN FLOTANTE (FAB)
   ========================================================= */
.fab {
  position: fixed; left: 0; right: 0; bottom: 16px; z-index: 300;
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: .55rem; padding: 0 12px; pointer-events: none;
}
.fab__menu {
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: .55rem; flex-wrap: wrap; pointer-events: auto;
}
.fab__item { font-size: .9rem; }
.fab__toggle { display: none !important; }
.fab__item {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: .95rem;
  background: var(--blanco); color: var(--madera-dark); padding: .6rem 1.05rem; border-radius: 999px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(107,66,38,.1);
  animation: fabIn .5s ease both;
}
.fab__item.is-order { background: linear-gradient(135deg, var(--rojo), var(--naranja)); color: #fff; font-weight: 800; }
.fab__item.is-order .ico { background: rgba(255,255,255,.22) !important; }
@keyframes fabIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.fab__item:nth-child(1) { animation-delay: .05s; }
.fab__item:nth-child(2) { animation-delay: .12s; }
.fab__item:nth-child(3) { animation-delay: .19s; }
.fab__item:nth-child(4) { animation-delay: .26s; }
.fab__item .ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-content: center; color: #fff; flex: 0 0 auto; }
.fab__item:hover { transform: translateX(-3px); }
.fab__item.is-order .ico { background: var(--rojo); }
.fab__item.is-loyalty .ico { background: var(--dorado); }
.fab__item.is-loc .ico { background: var(--verde); }
.fab__item.is-tel .ico { background: var(--naranja); }
.fab__toggle {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rojo), var(--naranja));
  color: #fff; box-shadow: 0 10px 26px rgba(155,27,27,.4);
  display: grid; place-content: center; font-size: 1.5rem; transition: transform .25s ease;
}
.fab.open .fab__toggle { transform: rotate(135deg); }
.fab__toggle:hover { transform: scale(1.05); }
.fab.open .fab__toggle:hover { transform: rotate(135deg) scale(1.05); }

/* =========================================================
   MENÚ COMPLETO (menu.html)
   ========================================================= */
.menu-hero { background: var(--madera-dark); color: var(--crema); text-align: center; padding-block: clamp(2.6rem, 7vw, 4.4rem); }
.menu-hero h1 { color: var(--crema); font-size: clamp(2rem, 5.5vw, 3.4rem); }
.menu-hero p { color: #EAD9C4; margin-top: .6rem; }
.menu-hero .note { font-size: .96rem; color: var(--dorado-light); margin-top: 1rem; }

/* Navegación por anclas (sticky) */
.anchor-nav { position: sticky; top: 70px; z-index: 100; background: var(--crema-2); border-bottom: 1px solid rgba(107,66,38,.14); box-shadow: var(--shadow-sm); }
.anchor-nav__track { display: flex; gap: .5rem; overflow-x: auto; padding: .7rem clamp(1rem,4vw,2rem); scrollbar-width: thin; }
.anchor-nav a {
  flex: 0 0 auto; font-weight: 700; font-size: .85rem; color: var(--madera-dark);
  background: var(--blanco); padding: .45rem .95rem; border-radius: 999px;
  border: 1px solid rgba(107,66,38,.14); transition: .18s;
}
.anchor-nav a:hover, .anchor-nav a.active { background: var(--rojo); color: #fff; border-color: var(--rojo); }

.menu-section { padding-block: clamp(2.4rem, 6vw, 3.6rem); scroll-margin-top: 88px; }
.menu-section:nth-of-type(even) { background: var(--crema-2); }
.menu-section__head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; border-bottom: 3px solid var(--dorado); padding-bottom: .7rem; }
.menu-section__head h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.menu-section__head .sub { color: var(--gris); font-size: 1rem; font-style: italic; }
.menu-note { background: rgba(155,27,27,.06); border-left: 4px solid var(--rojo); padding: .8rem 1.1rem; border-radius: 8px; font-size: .95rem; color: var(--madera-dark); margin-bottom: 1.4rem; }

.dish-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: .4rem 2.4rem; }
.dish {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem;
  padding: .85rem 0; border-bottom: 1px dotted rgba(107,66,38,.28);
}
.dish__name { font-family: var(--ff-head); font-weight: 700; color: var(--madera-dark); font-size: 1.05rem; }
.dish__price { font-family: var(--ff-head); font-weight: 700; color: var(--rojo); white-space: nowrap; font-size: 1.05rem; }
.dish__desc { grid-column: 1 / -1; font-size: .96rem; color: var(--gris); line-height: 1.5; }
.dish__add { grid-column: 1 / -1; font-size: .9rem; color: var(--naranja); font-weight: 700; }

.back-to-top { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.4rem; font-weight: 700; color: var(--rojo); font-size: .95rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--crema); padding: 1.2rem clamp(1.1rem,4vw,2.2rem) 1.6rem;
    border-bottom: 1px solid rgba(107,66,38,.14); box-shadow: var(--shadow-md);
  }
  .nav__cta { order: 2; margin-left: auto; }
  .nav__toggle { order: 3; }
  .about__grid, .catering__grid, .info-grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .dish-list { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__strip { gap: .9rem 1.4rem; }
  .nav__brand-text { display: none; }
  .fab__item span:not(.ico) { display: inline; }
}

/* =========================================================
   NAV: Home + Menú con dropdown (estilo elegante)
   ========================================================= */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link, .nav__menu-btn {
  font-family: var(--ff-body); font-weight: 700; font-size: .98rem; letter-spacing: .03em;
  color: var(--madera-dark); display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 0; cursor: pointer; background: none; position: relative;
}
.nav__link::after, .nav__menu-btn::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--naranja); transition: width .2s ease;
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after,
.has-dropdown:hover .nav__menu-btn::after, .nav__item.open .nav__menu-btn::after { width: 100%; }
.nav__menu-btn .caret { font-size: .62em; transition: transform .2s ease; }
.has-dropdown:hover .nav__menu-btn .caret, .nav__item.open .nav__menu-btn .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 0;
  min-width: 440px; background: #241812;
  border: 1px solid rgba(201,144,43,.28); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 1rem 1.1rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .6rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 250;
}
.dropdown::before {
  content: ""; position: absolute; bottom: 100%; left: 28px;
  border: 8px solid transparent; border-bottom-color: #241812;
}
.has-dropdown:hover .dropdown, .nav__item.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.dropdown a {
  color: #EFE2D2; font-weight: 600; font-size: 1rem;
  padding: .55rem .65rem; border-radius: 8px; display: block; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.dropdown a:hover { background: rgba(201,144,43,.16); color: var(--dorado-light); }
.dropdown__all { grid-column: 1 / -1; margin-top: .45rem; padding-top: .7rem; border-top: 1px solid rgba(201,144,43,.2); }
.dropdown__all a { color: var(--dorado-light); font-weight: 800; text-align: center; }

/* =========================================================
   FAVORITOS con foto
   ========================================================= */
.fav-card { padding: 0; overflow: hidden; }
.fav-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.fav-card__body { padding: 1.2rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }

/* =========================================================
   ICONOS SVG (FAB + contacto)
   ========================================================= */
.fab__item .ico svg, .info-list .ico svg, .socials a svg { width: 17px; height: 17px; display: block; }
.info-list .ico svg { width: 19px; height: 19px; }
.socials a svg { width: 20px; height: 20px; }
.fab__item .ico { color: #fff; }

/* =========================================================
   CATERING con foto de fondo
   ========================================================= */
#catering.section--warm {
  background:
    linear-gradient(rgba(251,246,238,.82), rgba(244,233,216,.86)),
    url("../img/catering.webp") center/cover no-repeat;
  background-attachment: fixed;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Dropdown en móvil: lista desplegable dentro del menú hamburguesa */
@media (max-width: 860px) {
  .nav.open .nav__links { gap: .4rem; }
  .nav__item { flex-direction: column; align-items: flex-start; width: 100%; }
  .dropdown {
    position: static; transform: none; min-width: 0; width: 100%;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none; grid-template-columns: 1fr 1fr; gap: 0 .6rem;
    background: transparent; border: none; box-shadow: none; padding: .2rem 0 .4rem .4rem;
  }
  .has-dropdown:hover .dropdown { display: none; }
  .nav__item.open .dropdown { display: grid; }
  .dropdown::before { display: none; }
  .dropdown a { color: var(--madera-dark); padding: .5rem .4rem; }
  .dropdown a:hover { background: rgba(155,27,27,.08); color: var(--rojo); }
  .dropdown__all { border-top-color: rgba(107,66,38,.18); }
  .dropdown__all a { color: var(--rojo); text-align: left; }
  #catering.section--warm { background-attachment: scroll; }
}

/* =========================================================
   ANIMACIONES ELEGANTES (scroll reveal + hover)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in-view { opacity: 1; transform: none; }

.hero__logo { animation: floatLogo 5s ease-in-out infinite; }
@keyframes floatLogo { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero h1, .hero .hero__tag, .hero .lead, .hero__actions, .hero__strip { animation: heroUp .9s ease both; }
.hero .hero__tag { animation-delay: .05s; }
.hero h1 { animation-delay: .15s; }
.hero .lead { animation-delay: .28s; }
.hero__actions { animation-delay: .4s; }
.hero__strip { animation-delay: .52s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.fav-card .fav-card__img { transition: transform .6s ease; }
.fav-card:hover .fav-card__img { transform: scale(1.06); }
.btn--gold:hover, .btn--primary:hover { box-shadow: 0 14px 30px rgba(155,27,27,.34); }

/* =========================================================
   FOTO POR SECCIÓN (página de menú)
   ========================================================= */
.menu-section__photo {
  width: 100%; height: clamp(190px, 28vw, 320px);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.8rem;
  box-shadow: var(--shadow-md); position: relative;
}
.menu-section__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.menu-section__photo:hover img { transform: scale(1.05); }
.menu-section__photo.placeholder {
  border: 2px dashed var(--dorado);
  background: linear-gradient(135deg, var(--crema-2), #fff);
  display: grid; place-content: center; gap: .25rem; text-align: center;
  color: var(--gris); box-shadow: var(--shadow-sm); min-height: 190px;
}
.menu-section__photo.placeholder b { font-family: var(--ff-brand); color: var(--naranja); letter-spacing: .06em; font-size: 1.05rem; }
.menu-section__photo.placeholder small { font-size: .9rem; }

/* Sin precios: el platillo ocupa una sola columna */
.dish { grid-template-columns: 1fr; }

/* =========================================================
   BOTÓN DE IDIOMA (EN / ES)
   ========================================================= */
.lang-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--ff-body); font-weight: 800; font-size: .92rem; letter-spacing: .04em;
  color: var(--rojo); border: 2px solid var(--rojo); border-radius: 999px;
  padding: .38rem .85rem; transition: background .2s ease, color .2s ease, transform .15s ease;
}
.lang-toggle:hover { background: var(--rojo); color: #fff; transform: translateY(-1px); }
.lang-toggle .globe { width: 16px; height: 16px; }
.nav__cta { display: flex; align-items: center; gap: .7rem; }

/* =========================================================
   FAB en móvil: solo íconos (Order Online conserva texto)
   ========================================================= */
@media (max-width: 560px) {
  /* Botones flotantes en FILA horizontal, centrados abajo y más pequeños */
  .fab {
    left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    flex-direction: row; align-items: center; justify-content: center;
    gap: .4rem; padding: 0 10px; pointer-events: none;
  }
  .fab__menu {
    flex-direction: row; align-items: center; justify-content: center;
    gap: .4rem; flex-wrap: nowrap; pointer-events: auto;
  }
  .fab__item span:not(.ico) { display: none; }
  .fab__item { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
  .fab__item .ico { width: 28px; height: 28px; }
  .fab__item.is-order { width: auto; height: 40px; padding: 0 .8rem; border-radius: 999px; }
  .fab__item.is-order span:not(.ico) { display: inline; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__logo, .hero h1, .hero .hero__tag, .hero .lead, .hero__actions, .hero__strip, .fab__item { animation: none !important; }
}

/* =========================================================
   HERO en MÓVIL: la foto del sombrero se recorta a su centro
   (zona oscura) y no se distingue. Usamos una foto que llena
   bien el formato vertical y se ve apetitosa.
   ========================================================= */
@media (max-width: 700px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(45,30,20,.5) 0%, rgba(74,46,28,.58) 100%),
      url("../img/hero-bg.jpeg") 75% center / cover no-repeat,
      var(--madera-dark);
  }
  .hero::before {
    background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.3) 100%);
  }
}
