/* ==========================================================================
   RESTAURANTE & ASADOR DON JUAN - Hoja de Estilos
   Estilo: Asador rústico-premium, oscuro, cálido (brasa y crema)
   ========================================================================== */

:root {
  --bg: #120e0b;
  --bg-2: #1a1410;
  --card: #211a15;
  --card-hover: #28201a;
  --line: #34281f;

  --ember: #e0642b;
  --ember-hover: #c9531c;
  --ember-glow: rgba(224, 100, 43, 0.28);
  --gold: #e3b560;
  --green: #7fb069;

  --cream: #f6ede0;
  --text: #d8cbbb;
  --muted: #a09080;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--cream);
  font-weight: 700;
  line-height: 1.2;
}

section {
  padding: 84px 0;
}

/* ---------- TOP BAR ---------- */
.top-bar {
  background-color: #0c0907;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  color: var(--ember);
  flex-shrink: 0;
}

.top-bar-link {
  color: var(--gold);
  font-weight: 600;
}

.top-bar-link:hover {
  text-decoration: underline;
}

.back-to-slipstream {
  color: #a78bfa;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.back-to-slipstream:hover {
  color: #c4b5fd;
  transform: translateX(-2px);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 14, 11, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.brand-name em {
  font-style: normal;
  color: var(--ember);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a.nav-link {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a.nav-link:hover,
.nav-links a.nav-link.active {
  color: var(--cream);
  border-bottom-color: var(--ember);
}

.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
}

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

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--ember);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--ember-glow);
}

.btn-primary:hover {
  background-color: var(--ember-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: #5a4838;
  color: var(--cream);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-block {
  width: 100%;
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ---------- HERO (INICIO) ---------- */
.hero {
  position: relative;
  padding: 110px 0 96px;
  text-align: center;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(224, 100, 43, 0.22) 0%, rgba(18, 14, 11, 0) 70%),
    linear-gradient(180deg, #170f0a 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(227, 181, 96, 0.4);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: 3.7rem;
  margin-bottom: 22px;
}

.hero h1 span {
  color: var(--ember);
  font-style: italic;
}

.hero p.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}

.hero-fact {
  background: var(--bg-2);
  padding: 22px 16px;
}

.hero-fact strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--gold);
}

.hero-fact span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- CABECERA PÁGINAS INTERIORES ---------- */
.page-hero {
  padding: 70px 0 56px;
  text-align: center;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(224, 100, 43, 0.16) 0%, rgba(18, 14, 11, 0) 70%),
    #170f0a;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: 2.9rem;
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- ENCABEZADOS DE SECCIÓN ---------- */
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.04rem;
}

.alt-bg {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- TARJETAS DE VALOR ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 100, 43, 0.5);
  background: var(--card-hover);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(224, 100, 43, 0.14);
  color: var(--ember);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- PLATOS ESTRELLA ---------- */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.signature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.signature-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(227, 181, 96, 0.4);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  margin-bottom: 16px;
}

.signature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.signature-card p {
  color: var(--muted);
  font-size: 0.93rem;
  flex-grow: 1;
  margin-bottom: 18px;
}

.signature-price {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--ember);
  font-weight: 700;
}

.center-action {
  text-align: center;
  margin-top: 44px;
}

/* ---------- BANNER MENÚ DEL DÍA (INICIO) ---------- */
.daily-banner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #2a1c12 0%, var(--card) 100%);
  border: 1px solid rgba(227, 181, 96, 0.3);
  border-radius: var(--radius-lg);
  padding: 52px;
}

.daily-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.daily-banner p {
  color: var(--text);
  margin-bottom: 24px;
}

.daily-price-box {
  text-align: center;
  border: 1px dashed rgba(227, 181, 96, 0.5);
  border-radius: var(--radius-md);
  padding: 30px 20px;
}

.daily-price-box .price {
  font-family: var(--font-title);
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.daily-price-box span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- HORARIO / UBICACIÓN ---------- */
.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 30px;
}

.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span:first-child {
  color: var(--cream);
  font-weight: 500;
}

.hours-list .closed {
  color: var(--ember);
  font-weight: 600;
}

.info-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.info-line svg {
  color: var(--ember);
  flex-shrink: 0;
  margin-top: 3px;
}

.info-line strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.info-line span,
.info-line a {
  color: var(--cream);
  font-weight: 500;
}

.info-line a:hover {
  color: var(--gold);
}

/* ---------- CARTA ---------- */
.menu-tabs-wrap {
  position: sticky;
  top: 69px;
  z-index: 900;
  background: rgba(18, 14, 11, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.menu-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tab {
  flex-shrink: 0;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.menu-tab:hover {
  color: var(--cream);
  border-color: #5a4838;
}

.menu-tab.active {
  background: var(--ember);
  border-color: var(--ember);
  color: #ffffff;
}

.menu-section {
  padding: 56px 0 8px;
}

.menu-category {
  padding: 0;
  margin-bottom: 56px;
  scroll-margin-top: 150px;
}

.menu-category[hidden] {
  display: none;
}

.menu-category-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
}

.menu-category-head h2 {
  font-size: 2rem;
  white-space: nowrap;
}

.menu-category-head .rule {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.menu-category-head small {
  color: var(--muted);
  font-size: 0.85rem;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
}

.menu-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.menu-item-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.menu-item-name {
  font-family: var(--font-title);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--cream);
}

.menu-item-dots {
  flex-grow: 1;
  border-bottom: 1px dotted #5a4838;
  transform: translateY(-4px);
  min-width: 20px;
}

.menu-item-price {
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.menu-item-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.menu-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.badge-house {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember);
  border: 1px solid rgba(224, 100, 43, 0.5);
  border-radius: var(--radius-full);
  padding: 2px 10px;
}

.badge-veg {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(127, 176, 105, 0.5);
  border-radius: var(--radius-full);
  padding: 2px 10px;
}

.allergen {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2c221b;
  border: 1px solid #4a392c;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

.legend-box {
  margin: 8px 0 72px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}

.legend-box h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.88rem;
  color: var(--muted);
}

.legend-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- MENÚ DEL DÍA ---------- */
.daily-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.daily-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.daily-card.featured {
  border-color: rgba(227, 181, 96, 0.45);
  background: linear-gradient(160deg, #2a1c12 0%, var(--card) 70%);
}

.daily-card-head {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px dashed #5a4838;
}

.daily-card-head .when {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 700;
}

.daily-card-head h2 {
  font-size: 1.9rem;
  margin: 8px 0 12px;
}

.daily-card-head .price {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.daily-card-head .price small {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
}

.course {
  margin-bottom: 22px;
}

.course:last-of-type {
  margin-bottom: 0;
}

.course h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.course li {
  padding: 4px 0;
  color: var(--cream);
  font-size: 0.97rem;
}

.course li small {
  color: var(--muted);
}

.daily-note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.daily-footnote {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- FORMULARIOS (RESERVAS / CONTACTO) ---------- */
.form-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-card .form-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-grid .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cream);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #170f0a;
  border: 1px solid #44352a;
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6f6052;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(224, 100, 43, 0.2);
}

.form-field select {
  cursor: pointer;
}

.form-field input[type="date"] {
  color-scheme: dark;
}

.form-alert {
  display: none;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: rgba(127, 176, 105, 0.12);
  border: 1px solid rgba(127, 176, 105, 0.5);
  color: #bfe0b0;
  font-size: 0.92rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-hint {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}

.side-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.side-card ul li {
  padding: 8px 0;
  font-size: 0.94rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.side-card ul li:last-child {
  border-bottom: none;
}

.side-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Mapa estilizado (sin imágenes externas, carga instantánea) */
.map-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
}

.map-visual {
  height: 190px;
  background-color: #1b1510;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(115deg, transparent 46%, rgba(227, 181, 96, 0.14) 46%, rgba(227, 181, 96, 0.14) 50%, transparent 50%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ember);
}

.map-pin span {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.map-action {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}

.map-action .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  text-align: center;
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(224, 100, 43, 0.2) 0%, rgba(18, 14, 11, 0) 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}

.cta-final h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.cta-final p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 30px;
}

/* ---------- FOOTER ---------- */
footer {
  background: #0c0907;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.footer-brand h4 em {
  font-style: normal;
  color: var(--ember);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--muted);
}

.demo-attribution {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--bg-2);
}

.demo-attribution a {
  color: #a78bfa;
  font-weight: 600;
  text-decoration: underline;
}

.demo-attribution a:hover {
  color: #c4b5fd;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .daily-banner,
  .info-split,
  .daily-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .daily-banner {
    padding: 36px 28px;
  }

  .menu-items {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .top-bar .top-bar-item:not(:first-child) {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 5% 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a.nav-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta-mobile {
    display: block;
    margin-top: 16px;
  }

  .menu-tabs-wrap {
    top: 69px;
  }

  .menu-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 72px 0 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .section-header h2,
  .cta-final h2 {
    font-size: 1.9rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-grid .form-field {
    margin-bottom: 16px;
  }

  .form-card,
  .daily-card {
    padding: 28px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .menu-category-head h2 {
    font-size: 1.6rem;
  }
}
