/* ============================================================
   Afecte Brunch — stylesheet
   Archetype: Editorial Light Cream
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --verde:   #2D4A3E;
  --verde-m: #5A7A6B;
  --dorado:  #C9A961;
  --crema:   #F5F0E8;
  --crema-s: #FAF6EF;
  --ink:     #1e3029;
  --muted:   rgba(45, 74, 62, 0.55);
  --line:    rgba(45, 74, 62, 0.1);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --nav-h: 72px;
  --max-w: 1240px;
  --pad-x: clamp(1.25rem, 5vw, 4.5rem);
  --sec-y: clamp(4rem, 10vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--crema);
  color: var(--verde);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* Defensive: never let split-text elements go invisible */
.reveal[data-split] {
  opacity: 1 !important;
  transform: none !important;
}

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--verde);
}

h1 { font-size: clamp(3rem, 9vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dorado);
  display: block;
  margin-bottom: 1.25rem;
}

p {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
}

.lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.6;
  color: var(--verde);
}

/* ─── Layout utilities ───────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.sec-pad   { padding: var(--sec-y) 0; }
.sec-pad-b { padding-bottom: var(--sec-y); }
.sec-pad-t { padding-top: var(--sec-y); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--dorado);
  padding: 0.85rem 2rem;
  border-radius: 2px;
  border: 1.5px solid var(--dorado);
  transition: background-color 0.25s, color 0.25s, transform 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--verde);
    border-color: var(--verde);
    transform: translateY(-2px);
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dorado);
  background: transparent;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  border: 1.5px solid var(--dorado);
  transition: background-color 0.25s, color 0.25s, transform 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

@media (hover: hover) {
  .btn-outline:hover {
    background: var(--dorado);
    color: #fff;
    transform: translateY(-2px);
  }
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: background-color 0.25s, border-color 0.25s, transform 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

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

/* WhatsApp button */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--dorado);
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  transition: background-color 0.25s, transform 0.2s;
  white-space: nowrap;
}

.btn-wa svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (hover: hover) {
  .btn-wa:hover {
    background: var(--verde);
    transform: translateY(-1px);
  }
}

/* ─── Gold divider ───────────────────────────────────────── */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem auto;
  max-width: 220px;
  color: var(--dorado);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
}

.gold-divider::before,
.gold-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--dorado);
  opacity: 0.4;
}

/* ─── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Navbar ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-scrolled {
  background-color: var(--crema);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  gap: 2px;
  flex-shrink: 0;
}

.logo-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.02em;
  transition: color 0.35s;
}

.logo-sub {
  font-family: var(--sans);
  font-size: 0.48rem;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  transition: color 0.35s;
}

.nav.is-scrolled .logo-name { color: var(--verde); }
.nav.is-scrolled .logo-sub  { color: var(--dorado); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--dorado);
  transition: width 0.3s;
}

@media (hover: hover) {
  .nav-links a:hover { color: #fff; }
  .nav-links a:hover::after { width: 100%; }
}

.nav.is-scrolled .nav-links a { color: var(--verde-m); }
@media (hover: hover) {
  .nav.is-scrolled .nav-links a:hover { color: var(--verde); }
}

/* Right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
}

.lang-btn {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
}

.lang-btn.active {
  color: #fff;
  font-weight: 700;
}

.nav.is-scrolled .lang-btn       { color: var(--muted); }
.nav.is-scrolled .lang-btn.active { color: var(--verde); }

.lang-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.65rem;
}
.nav.is-scrolled .lang-divider { color: var(--line); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.85);
  transition: all 0.3s;
  transform-origin: center;
}

.nav.is-scrolled .nav-burger span { background: var(--verde); }

.nav-burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Mobile nav overlay ─────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--crema-s);
  z-index: 199;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.nav-overlay-links a {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--verde);
  transition: color 0.2s;
}

@media (hover: hover) {
  .nav-overlay-links a:hover { color: var(--dorado); }
}

.nav-overlay-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.overlay-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.overlay-lang .lang-btn {
  color: var(--muted);
  font-size: 0.8rem;
}

.overlay-lang .lang-btn.active {
  color: var(--verde);
  font-weight: 700;
}

.overlay-lang .lang-divider {
  color: var(--line);
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: -15%;
  left: 0;
  right: 0;
  bottom: -15%;
  background: url('../images/ambiente-mesa3.jpg') center / cover no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 40, 30, 0.45) 0%,
    rgba(20, 40, 30, 0.55) 60%,
    rgba(20, 40, 30, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad-x);
  max-width: 820px;
}

.hero-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.1%{ transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Intro section ──────────────────────────────────────── */
.intro {
  background: var(--crema);
  text-align: center;
}

.intro .container {
  max-width: 760px;
}

.intro-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.45;
  color: var(--verde);
  font-weight: 400;
}

.intro-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--verde-m);
  max-width: 560px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

/* ─── Gallery section ────────────────────────────────────── */
.gallery {
  background: var(--crema-s);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--line);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (hover: hover) {
  .gallery-item:hover img {
    transform: scale(1.05);
  }
}

.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: unset;
}

/* ─── Feature: Artisanal ─────────────────────────────────── */
.feature-artisanal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.feature-img {
  position: relative;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-content {
  background: var(--verde);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(2.5rem, 6vw, 6rem);
}

.feature-content .label { color: var(--dorado); }

.feature-content h2 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.25;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 380px;
}

/* ─── Experience pillars ─────────────────────────────────── */
.experience {
  background: var(--crema-s);
  text-align: center;
}

.experience-head {
  max-width: 600px;
  margin: 0 auto 4rem;
}

.experience-head h2 {
  margin-top: 0.75rem;
  font-style: italic;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.pillar-icon {
  font-size: 1.1rem;
  color: var(--dorado);
  margin-bottom: 1.25rem;
  letter-spacing: 0.3em;
}

.pillar h3 {
  font-style: italic;
  color: var(--verde);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--verde-m);
  max-width: 260px;
  margin: 0 auto;
}

/* ─── Marquee ────────────────────────────────────────────── */
.marquee-section {
  background: var(--verde);
  overflow: hidden;
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-text {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.65);
  padding-right: 0;
}

.marquee-sep {
  color: var(--dorado);
  margin: 0 1.5rem;
  font-size: 0.5rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Menu CTA ───────────────────────────────────────────── */
.menu-cta {
  background: var(--crema);
}

.menu-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.menu-cta-text h2 {
  font-style: italic;
  margin: 0.75rem 0 1.25rem;
  line-height: 1.25;
}

.menu-cta-text p {
  color: var(--verde-m);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  max-width: 380px;
}

.menu-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu-cta-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.menu-cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.menu-cta-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 97, 0.2);
  pointer-events: none;
}

/* ─── Info section ───────────────────────────────────────── */
.info-section {
  background: var(--crema-s);
  border-top: 1px solid var(--line);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.info-col h3 {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--verde);
  margin-bottom: 1.25rem;
}

.hours-table {
  border-collapse: collapse;
  width: 100%;
}

.hours-table td {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--verde-m);
  padding: 0.4rem 0;
  font-weight: 300;
  vertical-align: top;
}

.hours-table td:last-child {
  padding-left: 1.5rem;
  color: var(--verde);
  font-weight: 400;
}

.info-address {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-style: normal;
  color: var(--verde-m);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.info-nearby {
  font-size: 0.82rem;
  color: var(--dorado);
  letter-spacing: 0.05em;
}

.info-phone {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--verde);
  margin-bottom: 1rem;
  transition: color 0.2s;
}

@media (hover: hover) {
  .info-phone:hover { color: var(--dorado); }
}

.info-ig {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--verde-m);
  margin-top: 0.85rem;
  transition: color 0.2s;
}

@media (hover: hover) {
  .info-ig:hover { color: var(--verde); }
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--verde);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer .logo-name {
  color: #fff;
  font-size: 1.4rem;
}

.footer .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

@media (hover: hover) {
  .footer-nav a:hover { color: #fff; }
}

.footer-copy {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

/* ─── Subpage hero (shorter) ─────────────────────────────── */
.page-hero {
  position: relative;
  height: 60svh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  margin-top: var(--nav-h);
}

.page-hero-bg {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 40, 30, 0.75) 0%,
    rgba(20, 40, 30, 0.3) 60%,
    transparent 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.page-hero-content .label {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}

.page-hero-content h1 {
  color: #fff;
  font-style: italic;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
}

/* ─── Carta page ─────────────────────────────────────────── */
.carta-downloads {
  background: var(--crema);
}

.download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.download-card {
  border: 1px solid var(--line);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

@media (hover: hover) {
  .download-card:hover {
    border-color: var(--dorado);
    box-shadow: 0 4px 24px rgba(45, 74, 62, 0.08);
  }
}

.download-card h3 {
  font-style: italic;
  font-size: 1.5rem;
  color: var(--verde);
}

.download-card p {
  font-size: 0.88rem;
  color: var(--verde-m);
}

.carta-highlights {
  background: var(--crema-s);
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.menu-category {
  padding: 2rem;
  border-top: 1px solid var(--dorado);
}

.menu-category h3 {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--verde);
  margin-bottom: 0.75rem;
}

.menu-category ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.menu-category li {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--verde-m);
  font-weight: 300;
  padding-left: 0.75rem;
  position: relative;
}

.menu-category li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--dorado);
  font-size: 0.7rem;
}

.carta-note {
  background: var(--verde);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}

.carta-note p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ─── Nosotros page ──────────────────────────────────────── */
.story-section {
  background: var(--crema);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.story-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-img::before {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  height: 60%;
  border: 1px solid var(--dorado);
  opacity: 0.3;
  z-index: -1;
}

.story-text .lead {
  margin: 1.25rem 0 1.5rem;
}

.story-text p {
  font-size: 0.95rem;
  color: var(--verde-m);
  margin-bottom: 1.25rem;
}

.values-section {
  background: var(--crema-s);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem 1.5rem;
  border-top: 2px solid var(--dorado);
}

.value-card .value-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--dorado);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.05rem;
  color: var(--verde);
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--verde-m);
}

/* ─── Contacto page ──────────────────────────────────────── */
.contacto-main {
  background: var(--crema);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contacto-info h2 {
  font-style: italic;
  margin: 0.75rem 0 2rem;
}

.contacto-block {
  margin-bottom: 2.5rem;
}

.contacto-block .label { margin-bottom: 0.75rem; }

.contacto-block p,
.contacto-block address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--verde-m);
  line-height: 1.75;
  font-weight: 300;
}

.contact-phone-big {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--verde);
  display: block;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

@media (hover: hover) {
  .contact-phone-big:hover { color: var(--dorado); }
}

.map-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hours-full-table {
  border-collapse: collapse;
  width: 100%;
}

.hours-full-table tr {
  border-bottom: 1px solid var(--line);
}

.hours-full-table td {
  font-family: var(--sans);
  font-size: 0.88rem;
  padding: 0.65rem 0;
  color: var(--verde-m);
  font-weight: 300;
  vertical-align: top;
}

.hours-full-table td:last-child {
  text-align: right;
  color: var(--verde);
  font-weight: 400;
}

.hours-full-table tr.today td {
  color: var(--dorado);
  font-weight: 400;
}

/* ─── Page transition ────────────────────────────────────── */
::view-transition-old(root) {
  animation: 300ms ease both fade-out;
}
::view-transition-new(root) {
  animation: 400ms ease both fade-in;
}

@keyframes fade-out {
  to { opacity: 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
}

/* ─── prefers-reduced-motion (ONLY intrusive effects) ───── */
@media (prefers-reduced-motion: reduce) {
  .scroll-line  { animation: none; opacity: 0.4; }
  /* marquee keeps running — functional, not intrusive */
  /* reveals keep running — they're functional feedback */
  /* hover keeps running — it's feedback */
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .feature-artisanal {
    grid-template-columns: 1fr;
  }
  .feature-img {
    aspect-ratio: 16 / 9;
    max-height: 50vw;
  }
  .feature-img img {
    height: 100%;
  }
  .menu-cta-inner {
    grid-template-columns: 1fr;
  }
  .menu-cta-img {
    aspect-ratio: 16 / 9;
    max-height: 360px;
    order: -1;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 480px;
    margin: 3rem auto 0;
  }
  .story-inner {
    grid-template-columns: 1fr;
  }
  .story-img {
    aspect-ratio: 16 / 9;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  .map-wrap {
    position: static;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .lang-toggle,
  .btn-wa { display: none !important; }

  .nav-burger { display: flex; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--tall {
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }

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

  .footer-nav { justify-content: center; }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .download-cards { grid-template-columns: 1fr; }

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

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

@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .gallery-item { aspect-ratio: 4 / 3; }
  .hero-actions { flex-direction: column; align-items: center; }
  .menu-categories { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .menu-btns { flex-direction: column; }
}
