/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #130d09;
  --bg-2: #1c140d;
  --bg-3: #261b12;
  --bg-4: #2f2216;
  --cream: #f4ead4;
  --cream-2: #ddccab;
  --cream-3: #96866c;
  --accent: #9a3324;
  --accent-2: #782821;
  --gold: #cc9f56;
  --gold-2: #a67f42;
  --line: rgba(244, 234, 212, 0.12);
  --line-strong: rgba(244, 234, 212, 0.22);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-impact: "Anton", ui-sans-serif, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1180px;
  --nav-h: 76px;
}

@property --mesh-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { 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; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--font-display); font-weight: 600; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px) { .container { padding-inline: 2rem; } }

.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;
}

.kicker {
  font-family: var(--font-impact);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.kicker::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: 0.6rem; }
.section-head p { color: var(--cream-2); margin-top: 1rem; font-size: 1.05rem; max-width: 52ch; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow-italic { font-style: italic; color: var(--gold); }

/* halo backdrop, extends beyond section bounds intentionally */
.section-halo {
  position: absolute;
  inset: -20% -10% -20% -10%;
  background: radial-gradient(45% 40% at 50% 30%, rgba(204, 159, 86, 0.14), transparent 72%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-impact);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(155deg, var(--accent), var(--accent-2));
  color: var(--cream);
  box-shadow: 0 14px 30px -10px rgba(154, 51, 36, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(154, 51, 36, 0.7); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--cream);
  background: rgba(244, 234, 212, 0.04);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-gold {
  background: linear-gradient(155deg, var(--gold), var(--gold-2));
  color: var(--bg);
  box-shadow: 0 14px 30px -10px rgba(204, 159, 86, 0.5);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(204, 159, 86, 0.65); }
.btn-sm { padding: 0.7rem 1.3rem; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(19, 13, 9, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand-mark { display: flex; align-items: center; gap: 0.65rem; }
.brand-mark svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand-wordmark {
  font-family: var(--font-impact);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-links a {
  position: relative;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--cream-2);
  padding-block: 0.3rem;
  transition: color .3s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--gold);
  transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 0.9rem; }
.nav-actions .btn { display: none; }
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: 0.6rem;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--cream); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 490;
  background: rgba(15, 10, 7, 0.98);
  display: flex; flex-direction: column; padding: 2rem 1.5rem;
  gap: 1.6rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; color: var(--cream); }
.mobile-menu .btn { margin-top: 1rem; align-self: flex-start; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.05) brightness(0.55);
}
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19,13,9,0.55) 0%, rgba(19,13,9,0.35) 32%, rgba(19,13,9,0.55) 62%, var(--bg) 96%),
    linear-gradient(90deg, rgba(19,13,9,0.75) 0%, transparent 55%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: 1;
  background:
    conic-gradient(from var(--mesh-angle) at 30% 70%, rgba(204,159,86,0.22), transparent 30%, transparent 70%, rgba(154,51,36,0.2)),
    radial-gradient(38% 30% at 78% 18%, rgba(204,159,86,0.28), transparent 70%);
  filter: blur(90px);
  animation: meshSpin 26s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes meshSpin {
  to { --mesh-angle: 360deg; }
}
/* continuous filter+blend repaint is too heavy for mobile GPUs; freeze to a static frame there */
@media (max-width: 719px) {
  .hero-mesh { animation: none; }
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}
.hero-inner {
  position: relative; z-index: 3;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 5rem);
  display: flex; flex-direction: column; gap: 1.6rem;
}
.hero-crown { width: 46px; height: 46px; color: var(--gold); }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  max-width: 16ch;
  color: var(--cream);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  color: var(--cream-2);
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.4rem; }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem;
  margin-top: 1.6rem;
  color: var(--cream-3);
  font-size: 0.85rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244,234,212,0.04);
  backdrop-filter: blur(6px);
}
.hero-badge strong { color: var(--gold); font-family: var(--font-impact); font-weight: 400; }
.hero-scroll {
  position: absolute; right: clamp(1.25rem, 4vw, 3rem); bottom: 2.2rem; z-index: 3;
  writing-mode: vertical-rl;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-3);
  display: none;
  align-items: center; gap: 0.8rem;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 46px; background: var(--line-strong);
  animation: scrollLine 2.4s var(--ease-soft) infinite;
}
@keyframes scrollLine { 0%, 100% { transform: scaleY(1); opacity: .5; } 50% { transform: scaleY(0.5); opacity: 1; } }
@media (min-width: 720px) { .hero-scroll { display: inline-flex; } }

/* =============================================================
   7. Historia
   ============================================================= */
.historia { background: var(--bg); }
.historia-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.historia-figure { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); width: 100%; max-width: 480px; max-height: 720px; margin-inline: auto; }
.historia-figure img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; object-position: 50% 15%; transition: transform .8s var(--ease-out); }
.historia-figure:hover img { transform: scale(1.06); }
.historia-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(19,13,9,0.7));
}
.historia-copy p { color: var(--cream-2); margin-top: 1.1rem; font-size: 1.02rem; }
.historia-pull {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  color: var(--cream);
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  margin-block: 1.6rem;
}
.historia-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.pillar { padding-top: 1rem; border-top: 1px solid var(--line); }
.pillar strong { display: block; font-family: var(--font-impact); font-weight: 400; color: var(--gold); font-size: 1.6rem; }
.pillar span { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: var(--cream-3); }

@media (min-width: 960px) {
  .historia-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
}

/* =============================================================
   8. Menu / Carta
   ============================================================= */
.carta { background: var(--bg-2); }
.carta-tabs {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem;
  scrollbar-width: none; overflow-y: visible;
  -ms-overflow-style: none;
}
.carta-tabs::-webkit-scrollbar { display: none; }
.carta-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-impact);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream-3);
  border: 1px solid var(--line);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.carta-tab:hover { color: var(--cream); border-color: var(--line-strong); }
.carta-tab.is-active {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}
.carta-panels { margin-top: 2.6rem; }
.carta-panel { display: none; }
.carta-panel.is-active { display: block; animation: fadeUp .5s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.carta-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.carta-figure { border-radius: 20px; overflow: hidden; position: relative; box-shadow: var(--shadow); width: 100%; max-width: 480px; max-height: 720px; margin-inline: auto; }
.carta-figure img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.carta-figure figcaption {
  position: absolute; left: 1.2rem; bottom: 1.1rem;
  font-family: var(--font-display); font-style: italic; color: var(--cream);
  font-size: 1.1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.carta-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(19,13,9,0.75)); }

.carta-group + .carta-group { margin-top: 2.2rem; }
.carta-group-title {
  font-family: var(--font-impact); font-weight: 400;
  font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.carta-group-note { font-size: 0.82rem; color: var(--cream-3); margin-top: -0.4rem; margin-bottom: 1rem; font-style: italic; }
.dish { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; border-bottom: 1px dashed var(--line); }
.dish:last-child { border-bottom: none; }
.dish-info h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--cream); letter-spacing: 0; }
.dish-info p { font-size: 0.86rem; color: var(--cream-3); margin-top: 0.25rem; max-width: 46ch; }
.dish-price { font-family: var(--font-impact); font-weight: 400; color: var(--gold); white-space: nowrap; font-size: 0.98rem; align-self: flex-start; }

.carta-allergen {
  margin-top: 2.5rem; padding: 1.1rem 1.3rem;
  border: 1px solid var(--line); border-radius: 14px;
  font-size: 0.86rem; color: var(--cream-3);
  background: rgba(244,234,212,0.03);
}

@media (min-width: 900px) {
  .carta-layout { grid-template-columns: 0.9fr 1.6fr; gap: 3rem; align-items: start; }
  .carta-figure { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
}

/* =============================================================
   9. Testimonials
   ============================================================= */
.grupos { background: var(--bg); position: relative; }
.grupos-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-top: 1rem; }
.grupo-card {
  display: flex; flex-direction: column;
  padding: 2rem;
  border-radius: 20px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.grupo-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.grupo-name { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.5rem; }
.grupo-block { margin-top: 1.3rem; }
.grupo-block h4 {
  font-family: var(--font-impact); font-weight: 400; font-size: 0.76rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-3);
  margin-bottom: 0.5rem;
}
.grupo-block ul { display: flex; flex-direction: column; gap: 0.45rem; }
.grupo-block li { font-size: 0.92rem; color: var(--cream-2); line-height: 1.4; padding-left: 0.9rem; position: relative; }
.grupo-block li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.grupo-block p { font-size: 0.92rem; color: var(--cream-2); }
.grupo-note { margin-top: 1.1rem; font-size: 0.8rem; font-style: italic; color: var(--cream-3); }
.grupo-prices {
  margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px dashed var(--line);
  display: flex; gap: 1.2rem;
}
.grupo-price { flex: 1; }
.grupo-price strong { display: block; font-family: var(--font-impact); font-weight: 400; color: var(--cream); font-size: 1.5rem; }
.grupo-price span { display: block; margin-top: 0.2rem; font-size: 0.78rem; color: var(--cream-3); }
.grupos-footnote { margin-top: 2rem; font-size: 0.82rem; color: var(--cream-3); max-width: 70ch; }
.grupos-cta {
  margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
}
@media (min-width: 720px) { .grupos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .grupos-grid { grid-template-columns: repeat(4, 1fr); } }

.testimonios { background: var(--bg-2); }
.testi-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.testi-card {
  padding: 2rem;
  border-radius: 20px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.testi-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.testi-stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.95rem; }
.testi-quote { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; margin-top: 1rem; color: var(--cream); }
.testi-author { margin-top: 1.3rem; font-size: 0.85rem; color: var(--cream-3); }
.testi-author strong { color: var(--cream-2); font-weight: 600; }
@media (min-width: 860px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   10. Reserva
   ============================================================= */
.reserva { background: var(--bg-2); position: relative; }
.reserva-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.reserva-info p { color: var(--cream-2); margin-top: 1rem; max-width: 44ch; }
.reserva-quick { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.9rem; }
.reserva-quick-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: 14px;
  font-size: 0.92rem; color: var(--cream-2);
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.reserva-quick-item:hover { border-color: var(--gold); transform: translateX(4px); }
.reserva-quick-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

.form-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
  position: relative;
}
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream-3); }
.field input, .field select, .field textarea {
  background: rgba(19,13,9,0.5);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: rgba(19,13,9,0.75);
  outline: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field.has-error label { color: var(--accent); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--accent); background: rgba(154, 51, 36, 0.08); }

.form-alert {
  display: none;
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: rgba(154, 51, 36, 0.12);
  color: var(--cream);
  font-size: 0.88rem;
}
.form-alert.is-visible { display: block; animation: fadeUp .4s var(--ease-out); }
.form-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-note { font-size: 0.8rem; color: var(--cream-3); }

.form-success {
  position: absolute; inset: 0;
  border-radius: 22px;
  background: var(--bg-3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 1rem; padding: 2rem;
  opacity: 0; pointer-events: none; transform: scale(0.97);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.form-success.is-visible { opacity: 1; pointer-events: auto; transform: scale(1); }
.form-success svg { width: 60px; height: 60px; color: var(--gold); }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--cream-2); max-width: 34ch; }
.check-path { stroke-dasharray: 48; stroke-dashoffset: 48; }
.form-success.is-visible .check-path { animation: drawCheck .6s var(--ease-out) .15s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* =============================================================
   11. Contacto
   ============================================================= */
.contacto { background: var(--bg); }
.contacto-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.contacto-block + .contacto-block { margin-top: 2rem; }
.contacto-block h3 { font-family: var(--font-impact); font-weight: 400; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px dashed var(--line); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.55rem 0; font-size: 0.94rem; color: var(--cream-2); }
.hours-table td:last-child { text-align: right; font-family: var(--font-impact); font-weight: 400; color: var(--cream); letter-spacing: 0.02em; }
.hours-table tr.is-closed td:last-child { color: var(--accent); }

.contact-list { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-list a, .contact-list p {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.96rem; color: var(--cream-2);
  transition: color .3s var(--ease-out);
}
.contact-list a:hover { color: var(--gold); }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

.social-row { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.social-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out), background .3s var(--ease-out);
}
.social-pill:hover { border-color: var(--gold); transform: translateY(-3px); background: rgba(204,159,86,0.08); }
.social-pill svg { width: 19px; height: 19px; color: var(--cream); }

.map-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  background: var(--bg-3);
}
.map-stylized { position: absolute; inset: 0; }
.map-pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.map-pin-dot {
  width: 20px; height: 20px; border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(154,51,36,0.22);
  animation: pinPulse 2.4s var(--ease-soft) infinite;
}
@keyframes pinPulse { 0%,100% { box-shadow: 0 0 0 6px rgba(154,51,36,0.22);} 50% { box-shadow: 0 0 0 12px rgba(154,51,36,0.08);} }
.map-caption {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  padding: 0.9rem 1.1rem; border-radius: 14px;
  background: rgba(19,13,9,0.75); backdrop-filter: blur(8px);
  font-size: 0.85rem; color: var(--cream-2);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.map-caption a { color: var(--gold); font-family: var(--font-impact); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }

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

/* =============================================================
   12. Footer
   ============================================================= */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand svg { width: 32px; height: 32px; color: var(--gold); }
.footer-tagline { margin-top: 0.9rem; color: var(--cream-3); font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-impact); font-weight: 400; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 0.9rem; }
.footer-col a { display: block; padding-block: 0.35rem; font-size: 0.92rem; color: var(--cream-2); transition: color .3s var(--ease-out); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between;
  font-size: 0.78rem; color: var(--cream-3);
}
.footer-bottom a { color: var(--cream-3); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold); }

@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 0.8fr); }
}

/* =============================================================
   13. Reveal / scroll animation defensive rules
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-split] { opacity: 1; transform: none; }

/* tilt-ready cards */
[data-tilt] { transition: transform .35s var(--ease-out); transform-style: preserve-3d; will-change: transform; }

/* count-up target */
[data-count-to] { font-variant-numeric: tabular-nums; }

/* =============================================================
   15. Responsive type scale helpers
   ============================================================= */
@media (min-width: 540px) { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

/* =============================================================
   16. Reduced motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .map-pin-dot { animation: none; }
}

/* =============================================================
   17. Credits page
   ============================================================= */
.page-credits main { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 5rem; }
.credits-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--cream-2); }
.credits-list a { color: var(--gold); }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--cream-2); font-size: 0.9rem; }
