/* =============================================================
   El Huarique de Mamá Paulina — hoja de estilos
   Paleta: azul océano profundo · dorado · marfil
   1. Tokens · 2. Base · 3. Utilidades · 4. Tipografía · 5. Componentes
   6. Secciones · 7. Asistente y flotantes · 8. Efectos · 9. Responsive
   10. Movimiento reducido · 11. Página de créditos
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --navy-950: #071420;
  --navy-900: #0B1D2B;
  --navy-800: #11293B;
  --navy-700: #1B3A50;
  --gold: #C8A15A;
  --gold-light: #E3C78F;
  --gold-deep: #9A7633;
  --gold-soft: rgba(200, 161, 90, .14);
  --coral: #D9785A;
  --ivory: #F7F2E9;
  --sand: #EFE6D7;
  --paper: #FFFFFF;

  --ink: #0B1D2B;
  --ink-soft: #33434F;
  --ink-mute: #67747D;
  --on-dark: #F3EDE2;
  --on-dark-mute: #A9B5BD;
  --line: rgba(11, 29, 43, .1);
  --line-strong: rgba(11, 29, 43, .18);
  --line-dark: rgba(243, 237, 226, .12);
  --wa: #25D366;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 43, .05), 0 6px 18px rgba(11, 29, 43, .06);
  --shadow-md: 0 16px 36px -16px rgba(11, 29, 43, .32);
  --shadow-lg: 0 36px 72px -30px rgba(7, 20, 32, .55);
  --header-h: 86px;
  --wave-h: clamp(36px, 5vw, 72px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='14' viewBox='0 0 84 14'%3E%3Cpath d='M2 7c5-5 10-5 14 0s9 5 14 0 9-5 14 0 9 5 14 0 9-5 14 0 6 3 10 1' fill='none' stroke='%23C8A15A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; letter-spacing: -0.01em; font-weight: 600; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilidades ------------------------------------------------ */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; padding: .7rem 1rem; background: var(--gold); color: var(--navy-900); border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(154, 118, 51, .5); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--gold-deep); text-decoration-color: currentColor; }

/* 4. Tipografía ------------------------------------------------ */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.kicker-line { width: 34px; height: 1px; background: currentColor; opacity: .75; }
.kicker--light { color: var(--gold-light); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section-title em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
/* Adorno de olas dorado bajo cada título */
.section-title::after { content: ""; display: block; width: 84px; height: 14px; margin-top: 22px; background: var(--ornament) no-repeat; }
.section-lead { font-size: 1.075rem; color: var(--ink-mute); max-width: 54ch; margin-top: 18px; }

/* 5. Componentes ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .45s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .45s var(--ease-out);
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, #B48C45); color: var(--navy-900); box-shadow: 0 12px 26px -12px rgba(200, 161, 90, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { box-shadow: 0 18px 34px -12px rgba(200, 161, 90, .8), inset 0 1px 0 rgba(255, 255, 255, .45); filter: brightness(1.05); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.btn-cream { background: var(--ivory); color: var(--navy-900); }
.btn-cream:hover { background: #fff; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); }
.btn-outline-light { border-color: rgba(243, 237, 226, .32); color: var(--on-dark); }
.btn-outline-light:hover { background: var(--on-dark); color: var(--navy-900); border-color: var(--on-dark); }

.chip {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--paper);
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-out);
}
.chip:hover { border-color: var(--navy-900); color: var(--ink); transform: translateY(-1px); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-light); }

.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5CC27A; box-shadow: 0 0 0 3px rgba(92, 194, 122, .22); flex-shrink: 0; }
.status-dot.is-closed { background: #E06A55; box-shadow: 0 0 0 3px rgba(224, 106, 85, .22); }

/* Marca: el logo trae su propia placa azul noche con marco dorado */
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 70px; width: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35)); transition: transform .5s var(--ease-out); }
.brand:hover .brand-logo { transform: scale(1.03); }
.brand--light .brand-logo { height: 120px; }

/* Olas decorativas entre secciones oscuras y claras */
.wave { position: absolute; left: 0; width: 100%; height: var(--wave-h); pointer-events: none; z-index: 1; }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; }
.wave--ivory path { fill: var(--ivory); }
.wave--sand path { fill: var(--sand); }

/* 6. Secciones -------------------------------------------------- */

/* Barra superior */
.topbar { background: var(--navy-950); color: var(--on-dark-mute); font-size: 12.5px; letter-spacing: .01em; border-bottom: 1px solid rgba(200, 161, 90, .18); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ic { width: 15px; height: 15px; }
.topbar-note { display: none !important; }
.topbar-note .ic { color: var(--gold); }
.topbar-phone { color: var(--on-dark); font-weight: 600; }
.topbar-phone .ic { color: var(--wa); }
.topbar-phone:hover { color: var(--gold-light); }

/* Cabecera oscura */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 29, 43, .96);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(11, 29, 43, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.site-header.is-scrolled { background: rgba(9, 24, 36, .96); border-bottom-color: rgba(200, 161, 90, .25); box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14.5px; font-weight: 500; }
.main-nav a { position: relative; padding: 6px 0; color: var(--on-dark-mute); transition: color .25s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.main-nav a:hover, .main-nav a.is-current { color: var(--on-dark); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.main-nav .nav-wa { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(243, 237, 226, .25); color: var(--on-dark); place-items: center; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* Navegación móvil (solo con JS; sin JS el menú queda visible como fila) */
.js .nav-toggle { display: grid; }
.js .main-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; gap: 0;
  padding: 8px clamp(16px, 4vw, 40px) 24px;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(200, 161, 90, .25);
  box-shadow: 0 30px 40px -28px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s, transform .45s var(--ease-out), visibility 0s .45s;
}
.js .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s var(--ease-out); }
.js .main-nav a { padding: 16px 0; font-size: 19px; font-family: var(--serif); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.js .main-nav a::after { display: none; }
.js .main-nav .nav-wa { display: inline-flex; align-items: center; gap: 10px; justify-content: center; margin-top: 20px; padding: 14px; border: 0; border-radius: 999px; background: var(--wa); color: #06331A; font-family: var(--sans); font-weight: 600; font-size: 16px; }

/* Hero oscuro */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: clamp(44px, 7vw, 92px);
  color: var(--on-dark);
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(200, 161, 90, .16), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(27, 58, 80, .9), transparent 70%),
    linear-gradient(180deg, var(--navy-900), #0A1A27);
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .06; mix-blend-mode: overlay; z-index: -1; pointer-events: none; }
.hero-wheel { position: absolute; z-index: -1; right: -180px; top: 50%; width: 820px; height: 820px; margin-top: -460px; color: var(--gold); opacity: .06; animation: spin 140s linear infinite; pointer-events: none; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero .kicker { color: var(--gold-light); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 11ch;
  color: var(--on-dark);
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--gold-light); }
.hero-sub { font-size: clamp(1.05rem, 1.35vw, 1.17rem); color: var(--on-dark-mute); max-width: 46ch; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-visual { position: relative; width: min(100%, 520px); margin-inline: auto; padding: 0 8px 40px; }
.hero-halo { position: absolute; inset: 0 -14% 4%; background: radial-gradient(46% 42% at 55% 46%, rgba(200, 161, 90, .38), transparent 72%); filter: blur(46px); z-index: 0; pointer-events: none; }
.hero-arch {
  position: relative; z-index: 1;
  width: 86%; margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  outline: 1px solid rgba(227, 199, 143, .6);
  outline-offset: 12px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease-out);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-badge {
  position: absolute; z-index: 2; left: 0; top: 14%;
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .6);
  display: grid; place-items: center;
}
.hero-badge > svg:first-child { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); animation: spin 30s linear infinite; }
.hero-badge text { font-family: var(--sans); font-size: 10.4px; font-weight: 700; letter-spacing: 1.8px; fill: var(--navy-900); }
.hero-badge-icon { width: 32px; height: 32px; color: var(--navy-900); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-card {
  position: absolute; z-index: 3; right: 0; bottom: 6px;
  display: flex; align-items: center; gap: 14px;
  max-width: 310px; padding: 10px 18px 10px 10px;
  background: rgba(17, 41, 59, .92); border-radius: 16px;
  border: 1px solid rgba(200, 161, 90, .35);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
@supports (backdrop-filter: blur(8px)) { .hero-card { background: rgba(17, 41, 59, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } }
.hero-card:hover { transform: translateY(-4px); }
.hero-card img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; object-position: 60% 50%; }
.hero-card-body { display: flex; flex-direction: column; line-height: 1.25; }
.hero-card-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero-card-name { font-family: var(--serif); font-weight: 500; font-size: 15px; margin-top: 4px; color: var(--on-dark); }
.hero-card-price { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--gold-light); margin-top: 3px; }

/* Franja de datos al pie del hero */
.hero-strip { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(44px, 6vw, 76px); border-top: 1px solid var(--line-dark); }
.hero-strip li { display: flex; align-items: center; gap: 14px; padding: 24px 12px 26px 0; font-size: 13.5px; color: var(--on-dark-mute); line-height: 1.35; }
.hero-strip strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--on-dark); margin-bottom: 2px; }
.strip-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(200, 161, 90, .45); color: var(--gold-light); flex-shrink: 0; }
.strip-icon .ic { width: 21px; height: 21px; }

/* Marquesina dorada */
.marquee { background: linear-gradient(90deg, #B48C45, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, #B48C45); color: var(--navy-900); overflow: hidden; padding: 17px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 52s linear infinite; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.38rem); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--navy-700); font-size: .7em; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Secciones genéricas */
.section { position: relative; padding-block: clamp(84px, 10vw, 136px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-title::after { margin-inline: auto; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; gap: 12px; align-items: end; }

/* Historia */
.story { background: var(--ivory); }
.story-grid { display: grid; gap: 64px; align-items: center; }
.story-photo { position: relative; max-width: 580px; margin-inline: auto; width: 100%; }
.story-photo::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid rgba(200, 161, 90, .7); border-radius: 22px; z-index: 0; }
.story-photo::after { content: ""; position: absolute; z-index: 0; top: -26px; left: -26px; width: 120px; height: 120px; background-image: radial-gradient(rgba(200, 161, 90, .55) 1.6px, transparent 1.8px); background-size: 14px 14px; }
.story-photo img { position: relative; z-index: 1; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.story-photo figcaption { position: absolute; z-index: 2; left: 22px; bottom: -22px; max-width: 290px; padding: 14px 18px; border-radius: 12px; background: var(--navy-900); color: var(--on-dark); box-shadow: var(--shadow-md); font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.4; border-left: 3px solid var(--gold); }
.story-copy p:not(.kicker) { font-size: 1.065rem; color: var(--ink-soft); max-width: 56ch; margin-top: 20px; }
.story-copy strong { color: var(--ink); font-weight: 600; }
.legacy { display: grid; gap: 22px; margin-top: 34px; padding-left: 26px; border-left: 1px solid rgba(200, 161, 90, .55); max-width: 520px; }
.legacy li { position: relative; }
.legacy li::before { content: ""; position: absolute; left: -32px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); border: 1.5px solid var(--gold); }
.legacy li:last-child::before { background: var(--gold); }
.legacy-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.legacy strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-top: 4px; }
.story-copy .legacy p { margin-top: 4px !important; font-size: 15px !important; color: var(--ink-mute) !important; }
.pillars { display: grid; gap: 18px; margin-top: clamp(64px, 8vw, 96px); }
.pillar { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 30px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.pillar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--navy-900); color: var(--gold-light); margin-bottom: 22px; }
.pillar-icon .ic { width: 24px; height: 24px; }
.pillar h3 { font-family: var(--serif); font-size: 1.4rem; }
.pillar p { color: var(--ink-mute); margin-top: 8px; font-size: 15px; }

/* Así trabajamos (oscuro) */
.process { background: linear-gradient(180deg, var(--navy-900), #0A1A27); color: var(--on-dark); overflow: hidden; isolation: isolate; padding-block: calc(clamp(84px, 10vw, 136px) + var(--wave-h) * .6); }
.process::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .05; mix-blend-mode: overlay; z-index: -1; }
.process-wheel { position: absolute; z-index: -1; left: -200px; bottom: -160px; width: 560px; height: 560px; color: var(--gold); opacity: .05; pointer-events: none; }
.process .section-title { color: var(--on-dark); }
.process .section-title em { color: var(--gold-light); }
.process .section-lead { color: var(--on-dark-mute); }
.process-grid { position: relative; display: grid; gap: 18px; counter-reset: paso; }
.process-step { position: relative; padding: 32px 26px 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark); transition: transform .5s var(--ease-out), border-color .4s, background-color .4s; }
.process-step:hover { transform: translateY(-5px); border-color: rgba(200, 161, 90, .5); background: rgba(255, 255, 255, .055); }
.process-num { position: absolute; top: 20px; right: 24px; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(227, 199, 143, .55); }
.process-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-900); margin-bottom: 22px; box-shadow: 0 12px 24px -12px rgba(200, 161, 90, .7); }
.process-icon .ic { width: 26px; height: 26px; stroke-width: 1.8; }
.process-step h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--on-dark); }
.process-step p { margin-top: 8px; font-size: 15px; color: var(--on-dark-mute); }

/* Carta */
.menu { background: var(--sand); }
.menu-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
html:not(.js) .menu-filters { display: none; }
.menu-grid { display: grid; gap: 22px; }
.dish {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), opacity .4s;
}
.dish:hover { transform: translateY(-6px); box-shadow: 0 32px 60px -30px rgba(11, 29, 43, .5); }
.dish.is-hidden { display: none; }
.dish-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.dish-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(7, 20, 32, .28), transparent); pointer-events: none; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.dish:hover .dish-media img { transform: scale(1.06); filter: saturate(1.08); }
.dish-tag { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 29, 43, .84); color: var(--gold-light); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(200, 161, 90, .35); }
@supports (backdrop-filter: blur(6px)) { .dish-tag { background: rgba(11, 29, 43, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } }
.dish--featured .dish-tag { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-900); border-color: transparent; }
.dish-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.dish-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dish h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.dish-price { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1; color: var(--gold-deep); white-space: nowrap; }
.dish-price span { font-family: var(--sans); font-size: .72rem; font-weight: 600; color: var(--ink-mute); margin-right: 3px; vertical-align: .6em; }
.dish-desc { flex: 1; margin-top: 10px; color: var(--ink-mute); font-size: 15px; line-height: 1.6; }
.dish-cta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: color .25s, gap .4s var(--ease-out); }
.dish-cta .ic { width: 16px; height: 16px; color: var(--gold-deep); }
.dish-cta:hover { color: var(--gold-deep); gap: 12px; }
.price-list { display: grid; gap: 10px; margin-top: 16px; }
.price-list li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.price-list li::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); }
.price-list span { order: 0; }
.price-list em { font-style: normal; color: var(--ink-mute); font-weight: 400; font-size: 13.5px; }
.price-list b { order: 2; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--gold-deep); white-space: nowrap; line-height: 1; }
.price-list small { font-family: var(--sans); font-size: .52em; font-weight: 600; color: var(--ink-mute); margin-right: 3px; vertical-align: .55em; }
.dish--drinks .dish-desc { flex: 0 1 auto; }
.dish--drinks .dish-cta { margin-top: auto; }
.dish--drinks .price-list { margin-bottom: 18px; }
.menu-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 40px; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 14px; font-size: 14.5px; color: var(--ink-soft); max-width: 820px; }
.menu-note .ic { width: 20px; height: 20px; color: var(--gold-deep); margin-top: 2px; }

/* Sin delivery (oscuro) */
.manifesto { background: radial-gradient(40% 50% at 85% 30%, rgba(200, 161, 90, .14), transparent 70%), var(--navy-900); color: var(--on-dark-mute); overflow: hidden; isolation: isolate; padding-block: calc(clamp(84px, 10vw, 136px) + var(--wave-h) * .6); }
.manifesto::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .05; mix-blend-mode: overlay; z-index: -1; }
.manifesto-grid { display: grid; gap: 64px; align-items: center; }
.manifesto .section-title { color: var(--on-dark); }
.manifesto .section-title em { color: var(--gold-light); }
.manifesto-copy > p:not(.kicker) { font-size: 1.08rem; margin-top: 22px; max-width: 52ch; color: #C3CCD2; }
.checks { display: grid; gap: 14px; margin-top: 30px; }
.checks li { display: flex; align-items: center; gap: 14px; color: var(--on-dark); font-weight: 500; font-size: 15.5px; }
.checks .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--gold-soft); border: 1px solid rgba(200, 161, 90, .45); color: var(--gold-light); stroke-width: 2.2; }
.manifesto-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.manifesto-photo { position: relative; max-width: 540px; margin-inline: auto; width: 100%; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); }
.manifesto-photo img { border-radius: 22px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: 0 44px 80px -36px rgba(0, 0, 0, .85); outline: 1px solid rgba(227, 199, 143, .45); outline-offset: 12px; }
.manifesto-photo figcaption { position: absolute; left: -14px; bottom: 28px; display: flex; flex-direction: column; gap: 3px; max-width: 260px; padding: 15px 20px; border-radius: 14px; background: var(--ivory); color: var(--ink-mute); font-size: 13.5px; line-height: 1.45; box-shadow: var(--shadow-md); border-left: 3px solid var(--gold); }
.manifesto-photo figcaption span { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); line-height: 1.2; }

/* Galería */
.gallery { background: var(--ivory); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 12px; }
.g-item { position: relative; overflow: hidden; border-radius: 16px; background: var(--sand); box-shadow: var(--shadow-sm); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 20, 32, .72) 0%, rgba(7, 20, 32, 0) 50%); transition: opacity .5s; }
.g-item figcaption { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font-family: var(--serif); font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.25; transition: transform .5s var(--ease-out); }
.g-item figcaption::before { content: ""; display: block; width: 26px; height: 2px; margin-bottom: 8px; background: var(--gold); }
.g-item:hover img { transform: scale(1.07); }
.g-item--big { grid-column: span 2; grid-row: span 2; }
.g-item--wide { grid-column: span 2; }

/* Visítanos */
.visit { background: var(--sand); }
.visit-grid { display: grid; gap: 40px; }
.address-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: clamp(24px, 3vw, 34px); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.address-card::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold-light), var(--gold)); }
.address-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: var(--gold-light); }
.address-icon .ic { width: 24px; height: 24px; }
.address-label { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.address-card address { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; color: var(--ink-soft); }
.address-card address strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.15; margin-bottom: 4px; }
.address-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.address-actions .btn { padding: 11px 18px; font-size: 14px; }
.steps-title { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; margin: 48px 0 8px; }
.step { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(154, 118, 51, .4); background: var(--paper); color: var(--gold-deep); flex-shrink: 0; }
.step-icon .ic { width: 22px; height: 22px; }
.step h4 { font-size: 1.02rem; font-weight: 600; }
.step p { margin-top: 6px; color: var(--ink-mute); font-size: 15px; }
.step strong { color: var(--ink); font-weight: 600; }
.map-frame { position: relative; border-radius: 22px; overflow: hidden; border: 4px solid var(--paper); box-shadow: var(--shadow-md); background: var(--sand); height: 360px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.info-cards { display: grid; gap: 14px; margin-top: 18px; grid-template-columns: 1fr 1fr; }
.info-card { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; font-size: 14.5px; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.info-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy-900); color: var(--gold-light); margin-bottom: 14px; }
.info-icon .ic { width: 20px; height: 20px; }
.info-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin-bottom: 6px; color: var(--ink); }
.contact-links { display: flex; flex-direction: column; gap: 6px; }
.pay-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pay-list li { padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); border: 1px solid rgba(154, 118, 51, .3); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.open-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(92, 194, 122, .12); color: #2C6B3D; }
.open-pill.is-closed { background: rgba(224, 106, 85, .1); color: #9C3B28; }
/* Horario semanal */
.info-card--hours { grid-column: 1 / -1; }
.hours-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; }
.hours-head .info-icon { margin-bottom: 0; }
.hours-head h3 { margin: 0; flex: 1; }
.week { display: grid; }
.week li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; }
.week li:nth-child(odd) { background: rgba(11, 29, 43, .025); }
.week li span:first-child { font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.week li.is-today { background: var(--navy-900); color: var(--on-dark); }
.week li.is-today span:first-child { color: var(--gold-light); font-weight: 600; }
.week li em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--navy-900); }

/* Recomiéndanos */
.share-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--navy-800), var(--navy-900)); color: var(--on-dark); padding-block: clamp(48px, 6vw, 72px); border-block: 1px solid rgba(200, 161, 90, .25); }
.share-band::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .05; mix-blend-mode: overlay; z-index: -1; }
.share-inner { display: grid; gap: 22px; justify-items: start; }
.share-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold-soft); border: 1px solid rgba(200, 161, 90, .5); color: var(--gold-light); }
.share-icon .ic { width: 28px; height: 28px; }
.share-copy h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--on-dark); }
.share-copy h2 em { font-style: italic; font-weight: 500; color: var(--gold-light); }
.share-copy p { margin-top: 8px; color: var(--on-dark-mute); max-width: 56ch; }

/* Preguntas */
.faq { background: var(--ivory); }
.faq-grid { display: grid; gap: 40px; }
.faq-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: rgba(200, 161, 90, .55); box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.08rem, 1.5vw, 1.24rem); font-weight: 600;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item summary .ic { width: 30px; height: 30px; padding: 7px; border-radius: 50%; border: 1px solid var(--line-strong); flex-shrink: 0; transition: transform .45s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.faq-item[open] summary .ic { transform: rotate(45deg); background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-light); }
.faq-item p { padding: 0 0 22px; color: var(--ink-soft); max-width: 62ch; }

/* CTA final */
.final-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: var(--on-dark); text-align: center; padding-block: clamp(100px, 12vw, 156px); }
.final-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; z-index: -2; transform: scale(1.1); }
.final-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 50%, rgba(11, 29, 43, .35), rgba(7, 20, 32, .92)); z-index: -1; }
.final-wheel { position: absolute; z-index: -1; right: -140px; bottom: -180px; width: 520px; height: 520px; color: var(--gold); opacity: .08; pointer-events: none; }
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-cta .kicker { margin-bottom: 22px; }
.final-cta .section-title { color: var(--on-dark); max-width: 16ch; font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.final-cta .section-title::after { margin-inline: auto; }
.final-cta .section-title em { color: var(--gold-light); }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* Pie */
.site-footer { position: relative; background: var(--navy-950); color: var(--on-dark-mute); padding-top: clamp(68px, 8vw, 100px); font-size: 14.5px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 60px; }
.footer-brand p { margin-top: 20px; max-width: 36ch; color: rgba(169, 181, 189, .9); }
.footer-col h3 { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.footer-col p { color: rgba(169, 181, 189, .95); }
.footer-col p + p, .footer-col p + a { margin-top: 10px; display: inline-block; }
.footer-small { font-size: 13px; color: rgba(169, 181, 189, .6) !important; }
.link-light { color: var(--on-dark); font-weight: 500; border-bottom: 1px solid rgba(243, 237, 226, .22); transition: border-color .25s, color .25s; }
.link-light:hover { color: var(--gold-light); border-color: var(--gold); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 13.5px; }
.footer-nav a { color: rgba(169, 181, 189, .8); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(169, 181, 189, .6); }
.footer-bottom a { color: var(--on-dark-mute); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* 7. Asistente y botones flotantes ----------------------------- */
/* En móvil y tablet: círculos con aro claro; desde 960px: píldoras con texto */
.fab-stack { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { position: relative; display: flex; align-items: center; gap: 12px; border-radius: 999px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s, border-color .3s; }
.fab:hover { transform: translateY(-2px); }
.fab-icon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; transition: background-color .3s; }
.fab-icon .ic { width: 23px; height: 23px; }
.fab-text { display: none; flex-direction: column; padding-right: 22px; font-size: 14.5px; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.fab-text small { margin-bottom: 4px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.fab-wa .fab-icon { background: var(--wa); color: #fff; box-shadow: 0 0 0 2px var(--paper), 0 14px 28px -12px rgba(14, 107, 51, .6); }
.fab-wa .fab-icon .ic { width: 27px; height: 27px; }
.fab-chat .fab-icon { background: var(--navy-900); color: var(--gold-light); box-shadow: 0 0 0 2px var(--gold), 0 14px 28px -12px rgba(11, 29, 43, .65); }
.fab-status { position: absolute; top: 4px; right: 4px; width: 11px; height: 11px; border-radius: 50%; background: #5CC27A; border: 2px solid var(--navy-900); }
.fab-chat .ic-close { display: none; }
.fab-chat[aria-expanded="true"] .ic-open, .fab-chat[aria-expanded="true"] .fab-status { display: none; }
.fab-chat[aria-expanded="true"] .ic-close { display: block; }
.fab-label { position: absolute; right: calc(100% + 12px); top: 50%; padding: 9px 14px; border-radius: 10px; background: var(--navy-900); color: var(--on-dark); font-size: 13px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(6px, -50%); transition: opacity .3s, transform .45s var(--ease-out); box-shadow: var(--shadow-md); border: 1px solid rgba(200, 161, 90, .3); }
.fab-label::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: inherit; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
.fab-chat.show-label .fab-label { opacity: 1; transform: translate(0, -50%); }
.chat-open .fab-wa { display: none; }
.chat-open .fab-chat .fab-label { display: none; }

.chat {
  position: fixed; z-index: 90;
  right: max(18px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 76px);
  width: min(392px, calc(100vw - 24px)); height: min(620px, calc(100dvh - 120px));
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 22px; overflow: hidden;
  box-shadow: 0 44px 90px -28px rgba(7, 20, 32, .55), 0 0 0 1px rgba(11, 29, 43, .06);
  transform-origin: bottom right;
  animation: chatIn .45s var(--ease-out);
}
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--navy-900); color: var(--on-dark); border-bottom: 2px solid var(--gold); }
.chat-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(200, 161, 90, .55); }
.chat-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.chat-head-text { flex: 1; min-width: 0; }
.chat-head h2 { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.chat-head p { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--on-dark-mute); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-close { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--on-dark); transition: background-color .25s; }
.chat-close:hover { background: rgba(243, 237, 226, .1); }
.chat-close .ic { width: 20px; height: 20px; }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; background: var(--ivory); }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; animation: msgIn .4s var(--ease-out); overflow-wrap: anywhere; }
.msg-bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink-soft); }
.msg-user { align-self: flex-end; background: var(--navy-900); color: var(--on-dark); border-bottom-right-radius: 5px; }
.msg-bot strong { color: var(--ink); }
.msg-bot p + p, .msg-bot p + ul, .msg-bot ul + p { margin-top: 8px; }
.msg-bot ul { display: grid; gap: 4px; margin-top: 6px; }
.msg-bot li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 4px; border-bottom: 1px dotted var(--line-strong); }
.msg-bot li:last-child { border-bottom: 0; }
.msg-bot li b { color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.msg-bot a:not(.msg-btn) { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.msg-price { color: var(--gold-deep); font-weight: 600; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-strong); color: var(--ink); background: var(--paper); transition: background-color .25s, color .25s, border-color .25s; }
.msg-btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-light); }
.msg-btn--wa { border-color: rgba(37, 211, 102, .5); color: #0E6B33; background: rgba(37, 211, 102, .08); }
.msg-btn--wa:hover { background: var(--wa); border-color: var(--wa); color: #06331A; }
.msg-btn .ic { width: 15px; height: 15px; }
.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-mute); opacity: .5; animation: typing 1.1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
.chat-chips { display: flex; gap: 8px; padding: 10px 14px 4px; overflow-x: auto; scrollbar-width: none; background: var(--paper); border-top: 1px solid var(--line); }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-soft); font-size: 12.5px; font-weight: 600; background: var(--paper); transition: background-color .25s, color .25s, border-color .25s; }
.chat-chips button:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-light); }
.chat-form { display: flex; gap: 8px; padding: 10px 14px; background: var(--paper); }
.chat-form input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ivory); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .25s, background-color .25s; }
.chat-form input:focus { outline: none; border-color: var(--gold); background: #fff; }
.chat-form button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-900); color: var(--gold-light); flex-shrink: 0; transition: background-color .25s, transform .4s var(--ease-out); }
.chat-form button:hover { background: var(--gold); color: var(--navy-900); transform: scale(1.05); }
.chat-form button .ic { width: 19px; height: 19px; }
.chat-human { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 14px 12px; background: var(--paper); font-size: 12px; font-weight: 600; color: #0E6B33; text-align: center; }
.chat-human:hover { text-decoration: underline; }
.chat-human .ic { width: 15px; height: 15px; color: var(--wa); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--navy-900); color: var(--on-dark); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); border: 1px solid rgba(200, 161, 90, .35); opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: opacity .3s, transform .45s var(--ease-out), visibility .3s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* 8. Efectos ---------------------------------------------------- */
/* La aparición usa `translate` para no pisar los `transform` propios (inclinación) */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .5s, background-color .4s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s, 0s; }
.js .reveal.is-visible { opacity: 1; translate: none; }
/* Si el JS no llegara a cargar, el contenido aparece igual a los 2,5 s */
html.js:not(.reveal-ready) .reveal { animation: revealSafety .01s 2.5s forwards; }
@keyframes revealSafety { to { opacity: 1; translate: none; } }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 9. Responsive ------------------------------------------------- */
@media (max-width: 539px) {
  .topbar-inner { justify-content: center; }
  .topbar-phone { display: none !important; }
  .topbar-status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .info-cards { grid-template-columns: 1fr; }
  .price-list em { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card { max-width: 250px; padding-right: 12px; }
  .hero-card img { width: 54px; height: 54px; }
  .hero-badge { width: 90px; height: 90px; top: 8%; }
  .hero-badge text { font-size: 12.2px; }
  .hero-arch { outline-offset: 8px; }
  .hero-wheel { width: 560px; height: 560px; right: -260px; margin-top: -200px; }
  .hero-strip li { padding-right: 8px; }
  .story-photo::before { inset: 12px -10px -12px 12px; }
  .story-photo figcaption { left: 14px; right: 14px; max-width: none; }
  .manifesto-photo figcaption { left: 12px; }
  .chat { right: 12px; left: 12px; width: auto; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 74px); height: calc(100dvh - 110px); max-height: 640px; }
  .fab-icon { width: 52px; height: 52px; }
  .address-actions .btn { flex: 1 1 calc(50% - 5px); }
  .faq-item { padding: 0 18px; }
}

@media (min-width: 540px) {
  .gallery-grid { grid-auto-rows: 200px; }
}

@media (min-width: 720px) {
  .topbar-note { display: inline-flex !important; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  /* En 2 columnas, el plato destacado y las bebidas ocupan la fila completa, en horizontal */
  .dish--drinks, .dish--featured { grid-column: 1 / -1; flex-direction: row; }
  .dish--drinks .dish-media, .dish--featured .dish-media { flex: 1 1 50%; aspect-ratio: auto; min-height: 280px; }
  .dish--drinks .dish-body, .dish--featured .dish-body { flex: 1 1 50%; padding: 30px; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-frame { height: 400px; }
  .section-head--split { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-head--split .section-lead { margin-bottom: 36px; justify-self: end; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
  .share-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
}

@media (min-width: 960px) {
  :root { --header-h: 112px; }
  .brand-logo { height: 94px; }
  .brand--light .brand-logo { height: 130px; }
  .js .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .js .main-nav, .main-nav {
    position: static; flex-direction: row; gap: 30px; padding: 0; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .js .main-nav a { padding: 6px 0; font-size: 14.5px; font-family: var(--sans); color: var(--on-dark-mute); border: 0; }
  .js .main-nav a:hover, .js .main-nav a.is-current { color: var(--on-dark); }
  .js .main-nav a::after { display: block; }
  .js .main-nav .nav-wa { display: none; }

  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; }
  .hero-visual { padding-bottom: 30px; }
  .hero-strip { grid-template-columns: repeat(4, 1fr); }
  .hero-strip li + li { border-left: 1px solid var(--line-dark); padding-left: 24px; }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 88px; }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .manifesto-grid { grid-template-columns: 1.05fr .95fr; gap: 88px; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .visit-side { position: sticky; top: calc(var(--header-h) + 24px); }
  .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; }

  /* Píldoras con texto, del mismo ancho */
  .fab-stack { align-items: stretch; gap: 10px; }
  .fab { padding: 5px; border: 1px solid transparent; box-shadow: 0 22px 44px -22px rgba(11, 29, 43, .55), 0 2px 8px rgba(11, 29, 43, .08); }
  .fab-icon { width: 46px; height: 46px; box-shadow: none !important; }
  .fab-icon .ic { width: 21px; height: 21px; }
  .fab-wa .fab-icon .ic { width: 24px; height: 24px; }
  .fab-text { display: flex; }
  .fab-wa { background: var(--paper); color: var(--ink); border-color: var(--line); }
  .fab-wa:hover { border-color: rgba(37, 211, 102, .55); }
  .fab-wa .fab-text small { color: #1E8A4A; }
  .fab-chat { background: var(--navy-900); color: var(--on-dark); border-color: rgba(200, 161, 90, .55); }
  .fab-chat:hover { background: var(--navy-800); }
  .fab-chat .fab-icon { background: rgba(200, 161, 90, .14); }
  .fab-chat .fab-text small { color: var(--gold-light); }
  .fab-chat .fab-status { border-color: #1A2B37; }
  .fab-chat[aria-expanded="true"] .fab-text { display: none; }
  .fab-label { display: none; }
}

@media (min-width: 1280px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  /* En 3 columnas el destacado vuelve a ser tarjeta normal y las bebidas cierran la carta a lo ancho */
  .dish--featured { grid-column: auto; flex-direction: column; }
  .dish--featured .dish-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .dish--featured .dish-body { flex: 1; padding: 24px 24px 22px; }
  .dish--drinks .dish-media { flex: 0 0 40%; aspect-ratio: 4 / 3; min-height: 0; }
  .dish--drinks .dish-body { flex: 1; padding: 40px 48px; }
  .dish--drinks .dish-desc { max-width: 56ch; }
  .dish--drinks .price-list { max-width: 460px; }
  .hero-visual { width: min(100%, 540px); }
  .gallery-grid { grid-auto-rows: 230px; }
}

/* 10. Movimiento reducido: solo efectos intrusivos ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-wheel { animation: none; }
  .hero-badge > svg:first-child { animation-duration: 60s; }
}

/* 11. Página de créditos ------------------------------------------ */
.page-plain { background: var(--ivory); }
.plain-header { padding-block: 18px; background: var(--navy-900); border-bottom: 1px solid rgba(200, 161, 90, .3); }
.plain-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.plain-header .btn-ghost { color: var(--on-dark); border-color: rgba(243, 237, 226, .3); }
.plain-header .btn-ghost:hover { background: var(--on-dark); color: var(--navy-900); }
.plain-main { padding-block: clamp(48px, 8vw, 96px); }
.plain-main h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.plain-main > .container > p { margin-top: 14px; color: var(--ink-mute); max-width: 62ch; }
.credits-list { display: grid; gap: 14px; margin-top: 36px; }
.credits-list li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; font-size: 14.5px; color: var(--ink-soft); }
.credits-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.credits-list strong { display: block; color: var(--ink); font-size: 15px; }
.credits-list a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
