/* =========================================================================
   MÉXICO LINDO Y QUE RICO · styles.css (un solo stylesheet para todo el sitio)
   Identidad: "Identidad de marca de Mexico lindo.pdf" (manual del cliente).
   Fondo azul marino (lo pidió el equipo), mango y arena como acentos.
   ========================================================================= */

/* ===== TOKENS ===== colores del manual de identidad */
:root {
  --navy: #021E42;      /* Azul Marino Intenso (manual) — fondo base */
  --navy-2: #0B2C58;    /* derivado del marino, un tono arriba: tarjetas sobre el fondo */
  --navy-3: #01142D;    /* derivado del marino, un tono abajo: topbar, footer, barra de pestañas */
  --teal: #0F3B44;      /* Azul Petróleo Profundo (manual) — secciones alternas */
  --mango: #FF914D;     /* Naranja Mango (manual) — botón principal y palabras acento */
  --sand: #FBC277;      /* Dorado Arena (manual) — el pez del logo, banda de lealtad */
  --white: #fff;
  --muted: rgba(255, 255, 255, .76);
  --line: rgba(251, 194, 119, .22);

  --f-title: "Lora", Georgia, serif;           /* títulos de sección */
  --f-accent: "Anton", Impact, sans-serif;     /* palabras acento y números */
  --f-body: "Poppins", system-ui, sans-serif;  /* párrafos y botones */

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --s-sec: clamp(52px, 7vw, 88px);
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--navy); color: var(--white); font: 400 1rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, address a, .faq a, .lead a { color: var(--sand); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--sand); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 860px; }
.center { text-align: center; margin-top: 36px; }

/* Tipografía */
.h1 { font: 600 clamp(2.3rem, 5vw, 3.8rem)/1.08 var(--f-title); }
.h2 { font: 600 clamp(1.9rem, 3.6vw, 2.9rem)/1.12 var(--f-title); }
.h1 em, .h2 em, .hero__title em { font-family: var(--f-accent); font-style: normal; font-weight: 400; color: var(--mango); letter-spacing: .01em; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 60ch; }
.sec-head { text-align: center; margin: 0 auto clamp(28px, 4vw, 48px); max-width: 760px; }
.sec-head .lead { margin: 14px auto 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 600 1rem/1.1 var(--f-body); text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--mango); color: var(--navy); }
.btn--primary:hover { background: #ffa66d; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--ghost:hover { border-color: var(--sand); color: var(--sand); }
.btn--navy { background: var(--navy); color: var(--sand); }
.btn--navy:hover { background: var(--navy-3); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link { display: inline-flex; align-items: center; gap: .45em; color: var(--mango); font-weight: 600; text-decoration: none; min-height: 44px; }
.link:hover { color: var(--sand); }

/* Estado abierto/cerrado */
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.status.is-open::before { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.status.is-closed::before { background: #f87171; }

/* Redes */
.social { display: flex; gap: 6px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--white); transition: color .2s, background .2s; }
.social a:hover { color: var(--navy); background: var(--sand); }

/* ===== LOADER ===== */
.loader { display: none; }
.js-loading .loader { display: grid; place-items: center; align-content: center; gap: 18px; position: fixed; inset: 0; z-index: 999; background: var(--navy); transition: opacity .3s; }
.loader.is-done { opacity: 0; pointer-events: none; }
.loader__logo { width: 150px; animation: loader-beat 1.1s ease-in-out infinite; }
.loader__text { font: italic 500 1.1rem var(--f-title); color: var(--sand); margin: 0; }
@keyframes loader-beat { 50% { transform: scale(1.06) rotate(-3deg); } }

/* ===== TOPBAR ===== */
.topbar { background: var(--navy-3); font-size: .85rem; color: var(--muted); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar__left { display: flex; align-items: center; gap: 22px; }
.topbar__addr { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar__addr:hover { color: var(--sand); }
.topbar .social a { width: 36px; height: 36px; }

/* ===== HEADER ===== fijo, con Call to order siempre visible */
.header { position: sticky; top: 0; z-index: 100; background: rgba(2, 30, 66, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-pinned { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; transition: opacity .3s, transform .3s var(--ease); }
.header__logo img { width: 56px; }
.header__name { font: 600 1.15rem/1.05 var(--f-title); color: var(--white); }
.header__name small { display: block; font: 500 .74rem var(--f-body); color: var(--sand); margin-top: 3px; }
/* En el home el logo grande está en el hero: el del header aparece al bajar (no se duplican) */
.page-home .header:not(.is-pinned) .header__logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 8px; position: relative; }
.nav a:hover { color: var(--sand); }
.nav a[aria-current="page"] { color: var(--sand); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--mango); border-radius: 2px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.lang [aria-current] { color: var(--sand); }
.lang [aria-disabled] { opacity: .55; cursor: not-allowed; }
.burger { display: none; width: 46px; height: 46px; place-items: center; border-radius: 10px; border: 1px solid var(--line); }
.burger svg { width: 24px; height: 24px; }

/* Drawer móvil */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(1, 10, 25, .6); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--navy); padding: 18px 22px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; gap: 18px; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__top img { width: 64px; }
.drawer__close { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); }
.drawer nav li { border-bottom: 1px solid var(--line); }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; text-decoration: none; font: 600 1.15rem var(--f-title); }
.drawer nav a[aria-current="page"] { color: var(--mango); }
.drawer nav svg { color: var(--sand); }
.drawer__info { font-size: .92rem; color: var(--muted); margin: 0; }

/* ===== HERO ===== foto a la derecha (60%), texto sobre azul marino a la izquierda */
.hero { position: relative; min-height: min(calc(100svh - 120px), 760px); display: flex; align-items: center; overflow: hidden; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.hero__in { position: relative; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__copy { max-width: 540px; }
.hero__logo { width: clamp(120px, 13vw, 170px); margin-bottom: 18px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.hero__title { font: 600 clamp(2.3rem, 4.6vw, 3.9rem)/1.06 var(--f-title); text-wrap: balance; }
.hero__lead { margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 46ch; }
.hero .btn-row { margin-top: 28px; }

/* ===== SECCIONES ===== */
.section { padding: var(--s-sec) 0; }
.section--teal { background: var(--teal); }

/* ===== FAVORITOS ===== */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--navy-2); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.feature__text { padding: clamp(28px, 4vw, 56px); align-self: center; }
.feature__kicker { font: 400 1.05rem var(--f-accent); color: var(--sand); margin-bottom: 8px; }
.feature h3 { font: 600 clamp(1.9rem, 3.4vw, 2.7rem)/1.1 var(--f-title); margin-bottom: 14px; }
.feature p { color: var(--muted); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.favs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); margin-top: clamp(32px, 4vw, 52px); }
.fav img { border-radius: var(--r); aspect-ratio: 1; object-fit: cover; margin-bottom: 18px; }
.fav h3 { font: 600 1.45rem var(--f-title); margin-bottom: 8px; }
.fav p { color: var(--muted); margin-bottom: 4px; }

/* ===== CÓMO PEDIR ===== tres pasos unidos por una ola (el mar del manual) */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18' viewBox='0 0 60 18'%3E%3Cpath d='M0 9c7.5 0 7.5-7 15-7s7.5 7 15 7 7.5 7 15 7 7.5-7 15-7' fill='none' stroke='%23FBC277' stroke-opacity='.45' stroke-width='2'/%3E%3C/svg%3E") repeat-x center / 60px 18px; }
.steps li { position: relative; }
.steps__n { display: inline-grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--teal); border: 2px solid var(--sand); font: 400 2rem var(--f-accent); color: var(--mango); margin-bottom: 18px; }
.steps h3 { font: 600 1.45rem var(--f-title); margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* ===== NUESTRA HISTORIA ===== */
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__img { position: relative; }
.about__img::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; background: var(--mango); border-radius: var(--r); }
.about__img img { position: relative; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about__text .h2 { margin-bottom: 22px; }
.about__text p { color: var(--muted); }
.about__text .btn { margin-top: 10px; }

/* Foto a todo lo ancho */
.band { height: clamp(240px, 36vw, 500px); overflow: hidden; }
.band picture { display: block; height: 100%; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* ===== INTRO AL MENÚ ===== fotos redondas como el logo */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 2.4vw, 28px); }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; text-align: center; font-weight: 600; }
.cats img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid transparent; transition: border-color .25s, transform .25s var(--ease); }
.cats a:hover img { border-color: var(--sand); transform: scale(1.03); }
.cats a:hover span { color: var(--sand); }

/* ===== LEALTAD ===== banda arena */
.loyal { background: var(--sand); color: var(--navy); padding: clamp(36px, 5vw, 56px) 0; }
.loyal__in { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 52px); align-items: center; }
.loyal__big { font: 400 clamp(2.4rem, 4vw, 3.2rem)/.9 var(--f-accent); margin: 0; }
.loyal__big span { display: block; font-size: 1.9em; color: var(--navy); }
.loyal .h2 { margin-bottom: 8px; }
.loyal p { margin: 0; max-width: 56ch; }

/* ===== RESEÑAS ===== */
.reviews { min-height: 320px; }

/* ===== VISÍTANOS ===== */
.visit__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.visit__addr { display: flex; gap: 12px; margin: 24px 0 14px; color: var(--muted); }
.visit__addr svg { color: var(--mango); margin-top: 4px; width: 1.3em; height: 1.3em; }
.visit__addr b { color: var(--white); }
.visit__status { margin: 0 0 10px; }
.visit__map iframe { width: 100%; height: 460px; border: 0; border-radius: var(--r); display: block; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; font-size: .97rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--sand); font-weight: 600; }
.hours tr.is-today th::after { content: " · Today"; color: var(--mango); font-weight: 500; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-3); padding: clamp(48px, 6vw, 72px) 0 0; font-size: .95rem; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { width: 96px; margin-bottom: 14px; }
.footer__brand .social { margin-left: -8px; }
.footer__h { font: 600 1.15rem var(--f-title); color: var(--sand); margin-bottom: 12px; }
.footer ul li { margin-bottom: 4px; }
.footer ul a, .footer address a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer ul a:hover { color: var(--sand); }
.hours-mini b { color: var(--white); font-weight: 500; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 20px; padding-bottom: 96px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer__bar a { color: var(--sand); }

/* ===== FAB ===== "Main Menu" */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 150; }
.fab__btn { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; background: var(--navy-3); border: 2px solid var(--sand); border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; color: var(--sand); }
.fab__btn img { width: 44px; height: 44px; }
.fab__panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(340px, calc(100vw - 36px)); background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.fab.is-open .fab__panel { opacity: 1; transform: none; pointer-events: auto; }
.fab__panel header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fab__panel header img { width: 48px; }
.fab__panel header b { font: 600 1.1rem var(--f-title); flex: 1; }
.fab__x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; }
.fab__panel li a { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-radius: 12px; text-decoration: none; }
.fab__panel li a:hover { background: rgba(255, 255, 255, .06); }
.fab__panel i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mango); color: var(--navy); }
.fab__panel li span span { display: block; font-size: .85rem; color: var(--muted); }

/* Visor de fotos */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 760px); color: var(--white); }
.lightbox::backdrop { background: rgba(1, 10, 25, .85); }
.lightbox img { border-radius: var(--r); width: 100%; }
.lightbox p { text-align: center; font: 600 1.1rem var(--f-title); margin: 12px 0 0; }
.lightbox__close { position: absolute; top: 10px; right: 10px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); }

/* ===== PÁGINAS INTERNAS ===== */
.phero { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.phero .lead { margin-top: 14px; }
.crumbs { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; color: var(--sand); }
.e404 { text-align: center; padding: 120px 0; }
.e404 .lead, .e404 .btn-row { margin-left: auto; margin-right: auto; justify-content: center; }

/* Menú: pestañas sticky (todo el contenido queda en el HTML) */
.mtabs { position: sticky; top: var(--header-h); z-index: 90; background: var(--navy-3); border-bottom: 1px solid var(--line); }
.mtabs__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.mtabs__list::-webkit-scrollbar { display: none; }
.mtabs a { display: block; white-space: nowrap; padding: 10px 18px; min-height: 44px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid var(--line); }
.mtabs a:hover { color: var(--sand); }
.mtabs a[aria-selected="true"] { background: var(--mango); color: var(--navy); border-color: var(--mango); }
.menu-body { padding-top: clamp(28px, 4vw, 48px); }
.js-tabs .mcat { display: none; }
.js-tabs .mcat.is-active { display: block; }
.mcat + .mcat { margin-top: 56px; }
.js-tabs .mcat + .mcat { margin-top: 0; }
.mcat__head { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); margin-bottom: 30px; }
.mcat__head img { width: clamp(96px, 12vw, 150px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--sand); }
.mcat__head p { color: var(--muted); margin: 8px 0 0; }
.mgroup + .mgroup { margin-top: 40px; }
.mgroup__h { font: 400 1.6rem var(--f-accent); color: var(--sand); margin-bottom: 16px; }
.mlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); }
.mitem { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mitem > div { flex: 1; }
.mitem h4 { display: flex; justify-content: space-between; gap: 14px; font: 600 1.12rem/1.3 var(--f-title); }
.mitem__price { font: 400 1.05rem var(--f-accent); color: var(--mango); white-space: nowrap; letter-spacing: .02em; }
.mitem p { color: var(--muted); font-size: .93rem; margin: 6px 0 0; }
.mitem__img { flex: none; width: 96px; height: 96px; border-radius: var(--r-sm); overflow: hidden; }
.mitem__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.mitem__img:hover img { transform: scale(1.06); }
.mnote { margin-top: 20px; padding: 14px 18px; border-left: 3px solid var(--mango); background: var(--navy-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--muted); }
.mwarn { margin-top: 48px; font-size: .85rem; color: var(--muted); }

/* Lealtad: formulario visible desde que entras */
.lform { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lform__panel { background: var(--white); border-radius: var(--r); padding: 10px; min-height: 520px; box-shadow: var(--shadow); }
.perks { display: grid; gap: 14px; margin-top: 26px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks svg { color: var(--sand); width: 26px; height: 26px; margin-top: 2px; }
.perks b { display: block; font-family: var(--f-title); font-size: 1.1rem; }
.perks span { color: var(--muted); }
.perks b { color: var(--white); }
.policies .h2 { margin-bottom: 24px; }
.policies details, .faq details { border-bottom: 1px solid var(--line); }
.policies summary, .faq summary { cursor: pointer; padding: 18px 36px 18px 0; font: 600 1.15rem/1.35 var(--f-title); list-style: none; position: relative; }
.policies summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.policies summary::after, .faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.6rem var(--f-accent); color: var(--mango); }
.policies details[open] summary::after, .faq details[open] summary::after { content: "–"; }
.policies ul { padding: 0 0 18px 20px; list-style: disc; color: var(--muted); }
.policies li { margin-bottom: 6px; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ===== CARD (link en bio) ===== */
.page-card { background: var(--navy-3); }
.card { max-width: 480px; margin: 0 auto; padding: 0 16px 40px; background: var(--navy); min-height: 100vh; text-align: center; }
.card__cover { position: relative; margin: 0 -16px; }
.card__cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__cover .lang { position: absolute; top: 12px; right: 12px; background: rgba(1, 20, 45, .8); padding: 8px 12px; border-radius: 999px; }
.card__logo { width: 124px; margin: -62px auto 10px; position: relative; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); }
.card__name { font: 600 1.7rem var(--f-title); }
.card__tag { color: var(--muted); margin: 6px 0 8px; font-size: .95rem; }
.social--card { justify-content: center; margin: 10px 0 18px; }
.card__btns { display: grid; gap: 10px; }
.cbtn { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: var(--navy-2); border: 1px solid var(--line); text-decoration: none; text-align: left; transition: transform .2s var(--ease); }
.cbtn:hover { transform: translateY(-2px); }
.cbtn > span { flex: 1; }
.cbtn b { display: block; font-weight: 600; }
.cbtn span span { font-size: .85rem; color: var(--muted); }
.cbtn i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(251, 194, 119, .14); color: var(--sand); flex: none; }
.cbtn > svg { color: var(--sand); }
.cbtn--primary { background: var(--mango); color: var(--navy); border-color: var(--mango); }
.cbtn--primary span span, .cbtn--primary > svg { color: var(--navy); }
.cbtn--primary i { background: var(--navy); color: var(--mango); }
.cbtn--sand { background: var(--sand); color: var(--navy); border-color: var(--sand); }
.cbtn--sand span span, .cbtn--sand > svg { color: var(--navy); }
.cbtn--sand i { background: var(--navy); color: var(--sand); }
.cbtn--ghost { background: transparent; margin-top: 18px; }
.card__hours { margin-top: 26px; text-align: left; }
.card__hours h2 { font: 600 1.3rem var(--f-title); color: var(--sand); margin-bottom: 6px; text-align: center; }
.card__hours .hours { margin: 0 auto; }
.card__foot { margin-top: 26px; font-size: .82rem; color: var(--muted); }
.card__foot a { color: var(--sand); }

/* ===== ANIMACIONES DE ENTRADA ===== */
[data-anim] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-anim].is-in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  .nav a { padding: 10px 9px; font-size: .92rem; }
  .header__in { gap: 16px; }
}
@media (max-width: 980px) {
  .nav, .header .lang { display: none; }
  .burger { display: grid; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .loyal__in { grid-template-columns: 1fr auto; }
  .loyal__big { grid-column: 1 / -1; }
  /* FAB compacto: círculo con el logo, sin texto (no tapa formularios) */
  .fab__btn { padding: 4px; }
  .fab__btn span { display: none; }
  .fab__btn img { width: 50px; height: 50px; }
}
@media (max-width: 880px) {
  .hero { display: block; min-height: 0; }
  .hero__photo { position: relative; width: 100%; height: auto; }
  .hero__photo img { aspect-ratio: 3 / 2; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
  .hero__in { margin-top: -64px; padding-top: 0; }
  .hero__logo { width: 112px; margin-bottom: 12px; }
  .feature { grid-template-columns: 1fr; }
  .feature__img { order: -1; }
  .feature__img img { aspect-ratio: 16 / 10; }
  .favs { grid-template-columns: 1fr 1fr; }
  .favs .fav:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: center; }
  .favs .fav:last-child img { grid-row: span 3; margin: 0; }
  .about__grid, .visit__grid, .lform { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 40px; bottom: 40px; left: 34px; right: auto; width: 18px; height: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='60' viewBox='0 0 18 60'%3E%3Cpath d='M9 0c0 7.5-7 7.5-7 15s7 7.5 7 15 7 7.5 7 15-7 7.5-7 15' fill='none' stroke='%23FBC277' stroke-opacity='.45' stroke-width='2'/%3E%3C/svg%3E") repeat-y center / 18px 60px; }
  .steps li { display: grid; grid-template-columns: 86px 1fr; gap: 0 20px; }
  .steps__n { grid-row: span 2; margin: 0; width: 70px; height: 70px; font-size: 1.6rem; margin-left: 8px; }
  .steps h3 { align-self: end; }
  .mlist { grid-template-columns: 1fr; }
  .lform__panel { order: 0; }
}
@media (max-width: 720px) {
  .topbar__addr { display: none; }
  .header__in { min-height: 64px; gap: 10px; }
  .header__logo img { width: 46px; }
  .header__name { font-size: 1rem; }
  .header__name small { display: none; }
  .header__call { padding: 8px 14px; font-size: .85rem; }
  .visit__map iframe { height: 340px; }
  .footer__bar { flex-direction: column; }
}
@media (max-width: 560px) {
  .favs { grid-template-columns: 1fr; }
  .favs .fav:last-child { display: block; }
  .favs .fav:last-child img { margin-bottom: 18px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .loyal__in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .mitem__img { width: 80px; height: 80px; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .header__name { display: none; }
  .page-home .header__logo { display: none; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero__logo { width: 90px; }
  .hero__title { font-size: 2.1rem; }
}
@media (min-width: 1600px) {
  :root { --wrap: 1320px; }
}
@media (pointer: coarse) {
  .nav a, .crumbs a, .footer ul a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-anim] { opacity: 1; transform: none; }
}

/* ===== AJUSTES DE REVISIÓN ===== */
@media (max-width: 400px) { .page-home .header__call { margin-left: auto; } }
.drawer { overflow: hidden; }
/* iPhone: Safari ignora overflow-x:hidden del body y deja mover la página de lado.
   clip corta el desborde sin romper el header sticky. */
html, body { overflow-x: clip; }
/* El marco mango de "Nuestra historia" salía 18px a la derecha (más que el margen en celular) */
@media (max-width: 720px) {
  .about__img::before { inset: 16px -10px -10px 16px; }
  .about__img { margin-right: 10px; }
}
/* El logo tiene letras blancas: sobre foto lleva disco azul marino detrás */
.card__logo { background: var(--navy); border-radius: 50%; padding: 10px; }
@media (max-width: 880px) {
  .hero__logo { background: var(--navy); border-radius: 50%; padding: 8px; }
}
@media (pointer: coarse) {
  .social a, .topbar .social a { width: 44px; height: 44px; }
  .topbar__addr { min-height: 44px; }
}
/* Celular horizontal: foto a un lado para que "Call to order" se vea sin bajar */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { display: flex; min-height: calc(100svh - 110px); }
  .hero__photo { position: absolute; width: 48%; height: 100%; }
  .hero__photo img { height: 100%; aspect-ratio: auto; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 25%); mask-image: linear-gradient(to right, transparent 0, #000 25%); }
  .hero__in { margin-top: 0; padding-top: 20px; padding-bottom: 24px; }
  .hero__copy { max-width: 50%; }
  .hero__logo { display: none; }
  .hero__title { font-size: 1.8rem; }
  .hero__lead { display: none; }
  .hero .btn-row { margin-top: 16px; }
}
