/* =====================================================================
   Sabor Caribe — estilos (mobile-first)
   Los colores de marca se sobrescriben desde config.js → colores.
   ===================================================================== */

:root {
  --c-primary: #0F6E4F;
  --c-primary-dark: #0A4A36;
  --c-accent: #FFB627;
  --c-orange: #C2410C;
  --c-tint: #FFF3DF;
  --c-bg: #FFFDF8;
  --c-surface: #FFFFFF;
  --c-text: #1F2A24;
  --c-muted: #56676A;
  --c-line: #EFE4D2;
  --c-wa: #0E7C3F;
  --c-danger: #A4161A;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgb(29 42 44 / .08);
  --shadow-lg: 0 18px 50px rgb(29 42 44 / .18);
  --header-h: 60px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 52px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; }
a { color: var(--c-primary); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.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: absolute; left: 8px; top: -60px; z-index: 100; background: var(--c-text); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 640px; }
.muted { color: var(--c-muted); }
.small { font-size: .875rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn:hover { filter: brightness(1.06); }
.btn--accent { background: var(--c-accent); color: #1D2A2C; }
.btn--light { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .8); backdrop-filter: blur(4px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--orange { background: var(--c-orange); color: #fff; }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--wa { background: var(--c-wa); color: #fff; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--c-muted); text-decoration: underline; cursor: pointer; padding: 12px; min-height: 44px; width: 100%; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(29 42 44 / .06); cursor: pointer; }

/* ---------- Encabezado ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--c-bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.topbar__in { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: var(--header-h); column-gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); min-height: 44px; }
.brand__logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c-primary); font-size: 1.35rem; overflow: hidden; }
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.nav {
  grid-column: 1 / -1; grid-row: 2;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; padding: 8px 14px; min-height: 40px; display: inline-flex; align-items: center;
  border-radius: 999px; text-decoration: none; color: var(--c-text); font-weight: 500; font-size: .95rem;
  background: rgb(29 42 44 / .05);
}
.nav a:hover { background: rgb(29 42 44 / .1); }
.cart-btn {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: var(--c-primary); color: #fff; cursor: pointer;
}
.badge {
  position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--c-accent); color: #1D2A2C;
  font-size: .75rem; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--c-bg);
}
.badge.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

.mesa-banner {
  position: sticky; top: calc(var(--header-h) + 48px); z-index: 25;
  background: var(--c-accent); color: #1D2A2C; text-align: center;
  padding: 10px var(--gutter); font-weight: 500; font-size: .95rem;
}
.mesa-banner strong { font-weight: 800; }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero__media {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 82% 18%, rgb(255 182 39 / .95) 0 9%, rgb(255 182 39 / .25) 18%, transparent 34%),
    linear-gradient(170deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  background-size: cover; background-position: 55% 75%;
}
.hero__media.has-photo .hero__art { display: none; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .05) 20%, rgb(0 0 0 / .65) 100%);
}
.hero__art { position: absolute; inset: 0; }
.hero__art span { position: absolute; filter: drop-shadow(0 10px 18px rgb(0 0 0 / .25)); animation: float 6s ease-in-out infinite; }
.hero__art span:nth-child(1) { font-size: 7.5rem; right: 8%; top: 24%; }
.hero__art span:nth-child(2) { font-size: 3.5rem; right: 46%; top: 12%; animation-delay: -2s; }
.hero__art span:nth-child(3) { font-size: 3rem; right: 4%; top: 52%; animation-delay: -4s; }
.hero__art span:nth-child(4) { font-size: 4.5rem; left: 4%; top: 8%; opacity: .55; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-4deg); } }
.hero__content { padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 5rem); font-weight: 800; letter-spacing: -.03em; text-shadow: 0 2px 20px rgb(0 0 0 / .25); }
.hero__lead { font-size: clamp(1.05rem, 4vw, 1.35rem); max-width: 32ch; margin: 10px 0 24px; text-shadow: 0 1px 10px rgb(0 0 0 / .3); }
.hero__ctas { display: grid; gap: 12px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  padding: 6px 14px; border-radius: 999px; font-size: .875rem; font-weight: 600;
  background: rgb(0 0 0 / .35); backdrop-filter: blur(6px);
}
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #F2A33A; }
.status-pill.is-open::before { background: #4ADE80; box-shadow: 0 0 0 4px rgb(74 222 128 / .25); }

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
.section--tint { background: var(--c-tint); }
.section__head { margin-bottom: 24px; }
.eyebrow { margin: 0 0 6px; color: var(--c-orange); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.section h2 { font-size: clamp(1.7rem, 6vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.section__sub { color: var(--c-muted); margin: 10px 0 0; max-width: 60ch; }
.card { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }

/* ---------- Carta ---------- */
.menu-tools {
  position: sticky; top: calc(var(--header-h) + 48px); z-index: 20;
  background: var(--c-bg); padding: 10px 0 12px; margin-bottom: 8px;
}
body.is-mesa .menu-tools { top: calc(var(--header-h) + 48px + 44px); }
.search {
  display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 50px;
  background: var(--c-surface); border: 2px solid var(--c-line); border-radius: 999px; color: var(--c-muted);
}
.search:focus-within { border-color: var(--c-primary); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; min-height: 46px; font-size: 1rem; color: var(--c-text); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--c-line); background: var(--c-surface); font-weight: 600; font-size: .95rem;
}
.chip[aria-pressed="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.menu-empty { text-align: center; padding: 32px 0; color: var(--c-muted); }
.menu-group { margin-top: 24px; }
.menu-group h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 14px; }
.menu-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.dish {
  display: grid; grid-template-columns: 112px 1fr; gap: 0;
  background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.dish__media { position: relative; min-height: 100%; aspect-ratio: auto; }
.dish__media img, .ph { width: 100%; height: 100%; object-fit: cover; min-height: 128px; }
.ph {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgb(255 255 255 / .55), transparent 55%),
    linear-gradient(135deg, hsl(var(--h, 30) 75% 86%), hsl(calc(var(--h, 30) + 28) 70% 72%));
}
.ph span { font-size: 3rem; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .15)); }
.tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--c-accent); color: #1D2A2C; font-size: .7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
}
.dish__body { padding: 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dish__name { font-size: 1.05rem; font-weight: 700; }
.dish__desc { margin: 0; color: var(--c-muted); font-size: .9rem; line-height: 1.4; }
.dish__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 1.1rem; color: var(--c-primary-dark); }
.btn--add { min-height: 44px; padding: 8px 16px; background: var(--c-orange); color: #fff; font-size: .95rem; }
.in-cart { font-size: .8rem; font-weight: 600; color: var(--c-wa); width: 100%; }
.dish.is-out { opacity: .65; }
.out { font-size: .85rem; font-weight: 700; color: var(--c-danger); }

/* ---------- Domicilios ---------- */
.info-grid { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.info-grid li { background: var(--c-surface); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.info-grid .ico { font-size: 1.6rem; display: block; }
.info-grid strong { display: block; font-size: 1.05rem; margin-top: 4px; }
.info-grid span.lbl { color: var(--c-muted); font-size: .85rem; }
.barrios { margin-bottom: 24px; }
.barrios h3 { font-size: 1.1rem; margin-bottom: 10px; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { background: var(--c-surface); border: 1px solid var(--c-line); padding: 6px 12px; border-radius: 999px; font-size: .9rem; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 16px; }
.fields { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.fields legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; padding: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--c-muted); font-size: .85rem; }
input:not([type="radio"]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 2px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-surface);
  font-size: 1rem; /* 16px evita el zoom en iOS */
}
textarea { resize: vertical; min-height: 72px; }
.search input:not([type="radio"]) { border: 0; padding: 0; min-height: 46px; background: transparent; box-shadow: none; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent); }
[aria-invalid="true"] { border-color: var(--c-danger) !important; }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio {
  position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px;
  border: 2px solid var(--c-line); border-radius: 999px; background: var(--c-surface); cursor: pointer; font-weight: 500;
}
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 8%, transparent); color: var(--c-primary-dark); font-weight: 700; }
.radio:has(input:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.form-error { margin: 0; color: var(--c-danger); font-weight: 600; font-size: .95rem; }
.form-error:empty { display: none; }
.wa-ico { flex: none; }

/* ---------- Visítanos ---------- */
.visit { display: grid; gap: 16px; }
.visit__info h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); margin: 0 0 6px; }
.address { font-size: 1.1rem; font-weight: 600; margin: 0 0 20px; }
.hours { list-style: none; margin: 0 0 20px; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--c-line); }
.hours li.is-today { font-weight: 700; color: var(--c-primary-dark); }
.visit__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 280px; background: #E6DCCB; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* ---------- Pie ---------- */
.footer { background: var(--c-primary-dark); color: #fff; padding: 40px 0 120px; }
.footer__in { display: grid; gap: 20px; }
.footer__brand { font-size: 1.3rem; font-weight: 800; margin: 0; }
.footer__muted { color: rgb(255 255 255 / .78); margin: 4px 0 0; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; }
.social a:hover { background: rgb(255 255 255 / .22); }

/* ---------- Carrito flotante ---------- */
.cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 18px 8px 8px;
  border: 0; border-radius: 999px; background: var(--c-orange); color: #fff; cursor: pointer;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: 1rem;
  animation: rise .3s ease;
}
@keyframes rise { from { transform: translateY(120%); } }
.cart-bar__count { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 50%; background: rgb(0 0 0 / .2); }
.cart-bar__label { flex: 1; text-align: left; }
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 39;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: var(--shadow-lg); transition: bottom .25s ease;
}
body.has-cart .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }

/* ---------- Drawer del pedido ---------- */
.drawer {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0;
  border: 0; background: var(--c-bg); color: var(--c-text);
  display: flex; flex-direction: column;
}
.drawer:not([open]) { display: none; }
.drawer::backdrop { background: rgb(13 24 26 / .55); backdrop-filter: blur(2px); }
.drawer[open] { animation: slide-up .25s ease; }
@keyframes slide-up { from { transform: translateY(30px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid var(--c-line); background: var(--c-surface); }
.drawer__head h2 { font-size: 1.3rem; font-weight: 800; }
.drawer__mode { margin: 0; padding: 10px var(--gutter); background: color-mix(in srgb, var(--c-accent) 25%, transparent); font-weight: 600; font-size: .95rem; }
.drawer__mode:empty { display: none; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 20px; align-content: start; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart-item { background: var(--c-surface); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.cart-item__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cart-item__name { font-weight: 700; }
.cart-item__unit { color: var(--c-muted); font-size: .85rem; }
.cart-item__total { font-weight: 800; white-space: nowrap; }
.cart-item__row { display: flex; align-items: center; gap: 10px; }
.cart-item__row input { min-height: 44px; font-size: .95rem; padding: 8px 12px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--c-line); border-radius: 999px; flex: none; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; font-weight: 700; cursor: pointer; color: var(--c-primary-dark); border-radius: 50%; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; }
.cart-empty { text-align: center; padding: 24px 0; color: var(--c-muted); }
.cart-empty__ico { font-size: 3rem; margin: 0; }
.summary { margin: 0; background: var(--c-surface); border-radius: var(--radius); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; box-shadow: var(--shadow); }
.summary dt { color: var(--c-muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { font-size: 1.2rem; font-weight: 800; color: var(--c-text); padding-top: 8px; border-top: 1px solid var(--c-line); }
.summary .hint { grid-column: 1 / -1; font-size: .85rem; color: var(--c-wa); font-weight: 600; text-align: left; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--c-text); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-lg);
  transition: opacity .2s ease, transform .2s ease; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 16px; text-align: center; background: var(--c-accent); margin: 0; }

/* ============ Tablet en adelante ============ */
@media (min-width: 600px) {
  .hero__ctas { display: flex; flex-wrap: wrap; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .dish { grid-template-columns: 1fr; }
  .dish__media img, .ph { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
  .info-grid { grid-template-columns: repeat(4, 1fr); }
  .drawer { width: min(460px, 100%); margin-left: auto; height: 100%; }
  .footer__in { grid-template-columns: 1fr auto; align-items: center; }
  .footer__in > .small { grid-column: 1 / -1; }
}

@media (min-width: 860px) {
  :root { --header-h: 72px; --gutter: 24px; }
  html { scroll-padding-top: calc(var(--header-h) + 12px); }
  .topbar__in { grid-template-columns: auto 1fr auto; }
  .nav { grid-column: auto; grid-row: auto; justify-content: center; margin: 0; padding: 0; overflow: visible; }
  .nav a { background: none; }
  .mesa-banner, .menu-tools { top: var(--header-h); }
  body.is-mesa .menu-tools { top: calc(var(--header-h) + 44px); }
  .hero { min-height: 82vh; align-items: center; }
  .hero__art span:nth-child(1) { font-size: 13rem; right: 10%; top: 26%; }
  .section { padding: 88px 0; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .visit { grid-template-columns: 1fr 1.3fr; }
  .cart-bar { left: auto; right: 96px; width: 340px; }
  body.has-cart .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); width: 58px; height: 58px; }
  .footer { padding-bottom: 48px; }
}

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

/* ---------- Nosotros ---------- */
.about { display: grid; gap: 24px; margin-bottom: 28px; }
.about__text p { color: var(--c-muted); margin: 12px 0 0; max-width: 60ch; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-self: end; }
.stats li { background: var(--c-surface); border-radius: var(--radius); padding: 16px 12px; text-align: center; box-shadow: var(--shadow); }
.stats strong { display: block; font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 800; color: var(--c-orange); line-height: 1.1; }
.stats span { font-size: .8rem; color: var(--c-muted); line-height: 1.3; display: block; margin-top: 4px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery li { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--c-line); }
.gallery li:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery li:hover img { transform: scale(1.05); }

/* ---------- Reseñas ---------- */
.rating-summary { margin: 12px 0 0; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rating-summary .big { font-size: 1.6rem; font-weight: 800; }
.stars { color: #E89A00; letter-spacing: 2px; font-size: 1.1rem; }
.stars .off { color: #D9CFBF; }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.review { margin: 0; background: var(--c-surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; border-top: 4px solid var(--c-accent); }
.review blockquote { margin: 0; font-size: 1rem; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-weight: 700; flex: none; }
.review .src { font-weight: 400; color: var(--c-muted); font-size: .85rem; display: block; }

.footer__link { color: #fff; text-decoration: none; font-weight: 600; display: inline-block; padding: 6px 0; }
.footer__link:hover { text-decoration: underline; }

/* ---------- Animaciones al bajar ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

@media (min-width: 600px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .gallery li { aspect-ratio: auto; }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .about { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; }
  .gallery { grid-auto-rows: 220px; }
  .reviews { grid-template-columns: repeat(4, 1fr); }
}
