/* ===========================================
   EL CLUB DE LA PASTA — styles.css
   Palette: Yellow · Black · White
   =========================================== */

/* ─── 1. DESIGN TOKENS ──────────────────── */
:root {
  /* Core Palette: Yellow · Black · White */
  --background:        #FAFAFA;
  --background-alt:    #F2EEE8;
  --background-dark:   #0D0D0D;
  --background-dark2:  #161616;

  --foreground:        #0D0D0D;
  --foreground-muted:  #6B6661;
  --foreground-light:  #FAFAFA;
  --foreground-dim:    rgba(250,250,250,0.62);

  --primary:           #0D0D0D;
  --primary-fg:        #FAFAFA;

  --accent:            #E8B931;   /* golden yellow — brand hero colour */
  --accent-dark:       #C9A228;
  --accent-light:      #F2CA4A;
  --accent-fg:         #0D0D0D;   /* black text on yellow */

  --card:              #FFFFFF;
  --card-dark:         #1A1A1A;

  --border:            rgba(13,13,13,0.10);
  --border-light:      rgba(250,250,250,0.13);

  --whatsapp:          #25D366;
  --whatsapp-hover:    #1dbb58;

  /* shadcn-compatible tokens */
  --ring:              rgba(232,185,49,0.45);
  --radius:            0.5rem;
  --radius-sm:         0.25rem;
  --radius-lg:         1rem;

  /* Typography */
  --font-display: 'Playfair Display SC', Georgia, serif;
  --font-body:    'Karla', 'DM Sans', sans-serif;
  --font-accent:  'Dancing Script', cursive;

  /* Spacing — 4 px base (shadcn scale) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Shadows — warm-tinted */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow:    0 4px 8px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.07), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 30px rgba(0,0,0,0.08), 0 8px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 30px 60px rgba(0,0,0,0.12);

  /* Transitions */
  --ease:      250ms ease;
  --ease-fast: 150ms ease;
  --ease-slow: 450ms ease;

  /* Container */
  --max-w:     1200px;
  --pad:       1.5rem;
}

/* ─── 2. RESET ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul, ol { list-style: none; }
svg { display: block; flex-shrink: 0; }

/* ─── 3. GRAIN OVERLAY ───────────────────── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.03;
}

/* ─── 4. SKIP LINK ───────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: var(--sp-4); z-index: 10000;
  background: var(--accent); color: var(--accent-fg);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius);
  font-weight: 700; font-size: 0.875rem;
  transition: top var(--ease-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ─── 5. TYPOGRAPHY ─────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; }

.section-subtitle {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-3);
}
.on-dark .section-subtitle { color: var(--accent-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--foreground);
  margin-bottom: var(--sp-4);
}
.on-dark .section-title { color: var(--foreground-light); }

/* ─── 6. ORNAMENT DIVIDER ───────────────── */
.divider {
  display: flex; align-items: center; gap: var(--sp-3);
  margin: var(--sp-6) 0;
  color: var(--accent);
  width: 260px;
}
.divider--center { margin-left: auto; margin-right: auto; }
.divider svg { flex: none; }

/* ─── 7. CONTAINER & LAYOUT ─────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: var(--sp-20) 0; }
.section-alt  { background: var(--background-alt); }
.section-dark { background: var(--background-dark); }
.section-dark2 { background: var(--background-dark2); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-16);
}
.section-header .divider { justify-content: center; margin-left: auto; margin-right: auto; }

/* ─── 8. BUTTONS ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: pointer; min-height: 48px; white-space: nowrap;
  border: 2px solid transparent;
}
.btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.btn:active { transform: scale(0.97); }

.btn-yellow {
  background: var(--accent); color: var(--accent-fg);
  box-shadow: var(--shadow-sm);
}
.btn-yellow:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-black {
  background: var(--foreground); color: var(--foreground-light);
  box-shadow: var(--shadow-sm);
}
.btn-black:hover { background: #2a2a2a; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.65);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: #fff; transform: translateY(-2px); }

.btn-outline-black {
  background: transparent; color: var(--foreground); border-color: var(--foreground);
}
.btn-outline-black:hover { background: var(--foreground); color: var(--foreground-light); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ─── 9. NAVBAR ──────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: var(--sp-5) 0;
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: var(--sp-3) 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0;
}
.logo-img { height: 44px; width: auto; }
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1rem; line-height: 1.15; color: #fff; letter-spacing: 0.03em;
}
.logo-wordmark em { font-style: normal; color: var(--accent); }

/* Desktop links */
.nav-links {
  display: none; align-items: center; gap: var(--sp-6);
}
.nav-link {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: var(--sp-2) 0; position: relative;
  transition: color var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* Lang toggle */
.lang-toggle { display: flex; align-items: center; gap: var(--sp-1); color: rgba(255,255,255,0.3); font-size: 0.78rem; }
.lang-btn {
  color: rgba(255,255,255,0.55); font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.06em; padding: 4px var(--sp-2); border-radius: var(--radius-sm);
  min-height: 32px; min-width: 34px;
  transition: color var(--ease), background var(--ease);
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { color: var(--accent); background: rgba(232,185,49,0.12); }
.lang-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* CTA in nav */
.nav-cta { padding: 0.5rem 1.1rem; font-size: 0.78rem; min-height: 38px; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; min-height: 44px; min-width: 44px; padding: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-links.open {
  display: flex !important; flex-direction: column;
  position: fixed; inset: 0; background: rgba(10,10,10,0.99);
  padding: var(--sp-24) var(--sp-8) var(--sp-8);
  align-items: center; justify-content: center;
  gap: var(--sp-8); z-index: 90;
}
.nav-links.open .nav-link { font-size: 1.5rem; letter-spacing: 0.14em; }
.nav-links.open .lang-toggle { margin-top: var(--sp-4); }
.nav-links.open .nav-cta { margin-top: var(--sp-4); padding: var(--sp-4) var(--sp-8); font-size: 1rem; min-height: 52px; }

/* ─── 10. HERO ───────────────────────────── */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.04); transition: transform 10s ease-out;
}
.hero.loaded .hero-img { transform: scale(1); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.42) 0%, rgba(10,10,10,0.70) 55%, rgba(10,10,10,0.90) 100%);
}

/* Yellow accent bar at very top of hero */
.hero-accent-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); z-index: 3;
}

.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: var(--sp-8) var(--pad); max-width: 860px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--accent); color: var(--accent-fg);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 2px;
  margin-bottom: var(--sp-5);
  opacity: 0; animation: fadeUp 0.7s 0.2s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 11vw, 7.5rem);
  font-weight: 700; line-height: 1.0; color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
  margin-bottom: var(--sp-5);
  opacity: 0; animation: fadeUp 0.8s 0.35s ease forwards;
}
.hero-title span { color: var(--accent); }

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  color: rgba(255,255,255,0.82); line-height: 1.5; margin-bottom: var(--sp-10);
  opacity: 0; animation: fadeUp 0.8s 0.55s ease forwards;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center;
  opacity: 0; animation: fadeUp 0.8s 0.75s ease forwards;
}

.hero-scroll {
  position: absolute; bottom: var(--sp-8); left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  color: rgba(255,255,255,0.45); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 0.7s 1.2s ease forwards;
}
.hero-scroll svg { animation: bounceY 2.2s ease-in-out infinite; }

/* ─── 11. ABOUT ──────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-12); align-items: center;
}
.about-text .section-title { color: var(--foreground); }
.about-text p { color: var(--foreground-muted); margin-bottom: var(--sp-4); font-size: 1.05rem; max-width: 540px; }

.about-features { display: flex; flex-direction: column; gap: var(--sp-5); margin-top: var(--sp-8); }
.about-feature { display: flex; align-items: flex-start; gap: var(--sp-4); }
.feature-icon {
  width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-fg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-feature strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--foreground); margin-bottom: var(--sp-1); }
.about-feature p { font-size: 0.875rem !important; color: var(--foreground-muted) !important; margin-bottom: 0 !important; }

.about-image { position: relative; }
.about-image img {
  width: 100%; height: 480px; object-fit: cover; object-position: center top;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
}
.about-image::before {
  content: '';
  position: absolute; top: -14px; left: -14px; right: 14px; bottom: 14px;
  border: 3px solid var(--accent); border-radius: var(--radius-lg);
  opacity: 0.45; z-index: -1;
}

/* ─── 12. CARTA / MENU ───────────────────── */
.menu-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  border-bottom: 2px solid var(--border); margin-bottom: var(--sp-10);
}
.menu-tab {
  font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.08em;
  color: var(--foreground-muted);
  padding: var(--sp-3) var(--sp-6);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color var(--ease), border-color var(--ease);
  min-height: 48px;
}
.menu-tab:hover { color: var(--foreground); }
.menu-tab.active { color: var(--accent-fg); border-bottom-color: var(--accent); font-weight: 700; background: transparent; }
.menu-tab:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }

.menu-card {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  cursor: default;
}
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }

.card-icon {
  width: 52px; height: 52px; background: var(--background-alt); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent);
}

.card-body { flex: 1; min-width: 0; }
.card-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--foreground); margin-bottom: 2px; }
.card-desc { font-size: 0.83rem; color: var(--foreground-muted); line-height: 1.5; }
.card-price {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--accent-fg);
  background: var(--accent); padding: 4px 10px; border-radius: var(--radius-sm);
  flex-shrink: 0; white-space: nowrap;
}

/* ─── 12b. MENU BUILD-YOUR-OWN ───────────── */
.menu-note {
  font-size: 0.85rem; color: var(--foreground-muted); font-style: italic;
  margin-bottom: var(--sp-6);
}
.menu-subsection { margin-bottom: var(--sp-10); }
.menu-subsection:last-child { margin-bottom: 0; }
.menu-subtitle {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--foreground); margin-bottom: var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-2);
}
.menu-subtitle::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}

.pick-grid { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.pick-item {
  display: flex; align-items: center; gap: var(--sp-2);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-4); font-size: 0.9rem; color: var(--foreground);
  transition: border-color var(--ease);
}
.pick-item:hover { border-color: var(--accent); }
.pick-item .pick-extra { color: var(--accent-fg); font-weight: 700; font-size: 0.78rem; }

.extra-tier {
  display: flex; gap: var(--sp-4); align-items: baseline;
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.extra-tier:last-child { border-bottom: none; }
.extra-tier-price {
  font-family: var(--font-display); font-weight: 700; color: var(--accent-fg);
  background: var(--accent); padding: 3px 10px; border-radius: var(--radius-sm);
  font-size: 0.85rem; flex-shrink: 0;
}
.extra-tier-items { color: var(--foreground-muted); font-size: 0.9rem; line-height: 1.6; }

/* ─── 13. SIGNATURE / FEATURE ────────────── */
.section-signature {
  position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden;
}
.sig-bg { position: absolute; inset: 0; }
.sig-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.sig-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.93) 0%, rgba(10,10,10,0.78) 55%, rgba(10,10,10,0.55) 100%);
}
.sig-content {
  position: relative; z-index: 2; max-width: 540px; color: #fff; padding: var(--sp-16) 0;
}
.sig-content .section-subtitle { color: var(--accent-light); }
.sig-content .section-title { color: #fff; }
.sig-content p { color: rgba(255,255,255,0.77); font-size: 1.05rem; line-height: 1.75; margin-bottom: var(--sp-8); max-width: 460px; }
.sig-content .divider { color: var(--accent); }

/* ─── 14. VALORES ────────────────────────── */
.valores-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }

.valor-card {
  text-align: center; padding: var(--sp-8);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.valor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

.valor-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto var(--sp-5);
  background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: var(--accent-fg);
}
.valor-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--foreground); margin-bottom: var(--sp-3); }
.valor-card p { font-size: 0.93rem; color: var(--foreground-muted); line-height: 1.65; max-width: 260px; margin: 0 auto; }

/* ─── 15. CONTACT ────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-12); align-items: start; }

.contact-info .section-title { color: var(--foreground-light); }
.contact-info .section-subtitle { color: var(--accent-light); }
.contact-info .divider { color: var(--accent); }

.contact-details { display: flex; flex-direction: column; gap: var(--sp-5); margin: var(--sp-8) 0; }
.contact-item { display: flex; align-items: flex-start; gap: var(--sp-4); }
.c-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(232,185,49,0.12); border: 1px solid rgba(232,185,49,0.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent);
}
.c-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.38); display: block; margin-bottom: 3px; }
.c-value { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.55; }
.c-value a { color: rgba(255,255,255,0.78); transition: color var(--ease); }
.c-value a:hover { color: var(--accent); }

.contact-map {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); height: 380px;
  border: 2px solid rgba(232,185,49,0.15);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }
.contact-map-placeholder {
  width: 100%; height: 100%; background: var(--background-dark2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-3); color: rgba(255,255,255,0.3);
  font-size: 0.875rem; text-align: center; padding: var(--sp-8);
}
.contact-map-placeholder svg { color: var(--accent); opacity: 0.6; }
.contact-map-placeholder p { color: rgba(255,255,255,0.5); }

/* ─── 16. FOOTER ─────────────────────────── */
.footer {
  background: var(--background-dark); color: rgba(255,255,255,0.5);
  padding: var(--sp-16) 0 var(--sp-8);
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: var(--sp-6);
}

.footer-brand-name {
  font-family: var(--font-display); font-size: 1.4rem; color: #fff;
  display: block; margin-bottom: var(--sp-2);
}
.footer-brand-tagline { font-family: var(--font-accent); font-size: 1.1rem; color: var(--accent); margin-bottom: var(--sp-4); }
.footer-brand-desc { font-size: 0.875rem; line-height: 1.65; color: rgba(255,255,255,0.4); max-width: 260px; }

.footer-col h4 { font-size: 0.73rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.35); font-family: var(--font-body); font-weight: 800; margin-bottom: var(--sp-4); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color var(--ease); }
.footer-col a:hover { color: var(--accent); }

.social-links { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.social-link {
  width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.13);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.social-link:hover { color: var(--accent-fg); border-color: var(--accent); background: var(--accent); }
.social-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.footer-bottom {
  display: flex; flex-direction: column; gap: var(--sp-2);
  font-size: 0.78rem; color: rgba(255,255,255,0.28);
}

/* ─── 17. WHATSAPP FAB ───────────────────── */
.wa-fab {
  position: fixed; bottom: var(--sp-6); right: var(--sp-6); z-index: 50;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.42);
  transition: transform var(--ease), box-shadow var(--ease);
  animation: waPulse 3.2s ease-in-out infinite;
}
.wa-fab:hover { transform: scale(1.12); box-shadow: 0 6px 30px rgba(37,211,102,0.58); }
.wa-fab:focus-visible { outline: 3px solid var(--whatsapp); outline-offset: 3px; }

/* ─── 18. SCROLL REVEAL ──────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.from-right { transform: translateX(26px) translateY(0); }
.reveal.visible   { opacity: 1; transform: translateY(0) translateX(0); }

/* Stagger siblings */
.menu-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.menu-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.menu-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.menu-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.menu-grid .reveal:nth-child(6) { transition-delay: 0.30s; }
.valores-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.valores-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ─── 19. KEYFRAMES ─────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 22px rgba(37,211,102,0.42); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.62), 0 0 0 10px rgba(37,211,102,0.07); }
}

/* ─── 20. RESPONSIVE: md (768px) ────────── */
@media (min-width: 768px) {
  :root { --pad: 2rem; }
  .hamburger { display: none; }
  .nav-links { display: flex; }

  .about-grid   { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
  .menu-grid    { grid-template-columns: 1fr 1fr; }
  .valores-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid  { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ─── 21. RESPONSIVE: lg (1024px) ───────── */
@media (min-width: 1024px) {
  :root { --pad: 2.5rem; }
  .about-image img { height: 600px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── 22. RESPONSIVE: xl (1440px) ───────── */
@media (min-width: 1440px) {
  :root { --pad: 3rem; }
}

/* ─── 23. REDUCED MOTION ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-eyebrow, .hero-title, .hero-tagline, .hero-ctas, .hero-scroll {
    opacity: 1; animation: none;
  }
}
