/* =========================================================
   CASA PONZANO — Hoja de estilos principal
   Estilo: moderno y minimalista
   Paleta: off-white, carbón, oro suave
   ========================================================= */

:root {
  --bg: #FAFAF7;
  --bg-alt: #F2EFE8;
  --bg-dark: #111111;
  --text: #161616;
  --text-soft: #4A4A4A;
  --text-muted: #8A8479;
  --line: #E6E1D6;
  --gold: #B8945A;
  --gold-dark: #8E6F3F;
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 2px;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--text);
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; }

p { margin: 0 0 1.1em; color: var(--text-soft); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin: 0 0 1.2rem;
  display: inline-block;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #E9E4D7; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #FFF; }
.section--dark p { color: #BDB6A7; }

/* ------------------ HEADER ------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: .04em;
  font-weight: 500;
}
.logo span { color: var(--gold-dark); }

.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 2.6vw, 2.4rem);
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}
.nav-links a.active,
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--text);
  color: #FFF !important;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  font-size: .78rem !important;
  letter-spacing: .14em;
  transition: background .25s ease;
}
.nav-cta:hover { background: var(--gold-dark); }

.lang-switch {
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--text-muted);
}
.lang-switch a { color: var(--text-muted); padding: 0 .25rem; }
.lang-switch a.active { color: var(--text); font-weight: 600; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 110;
    font-size: 1.6rem;
  }
  .nav-links {
    position: fixed;
    inset: 0;                       /* pantalla completa */
    width: 100vw;
    height: 100vh;
    height: 100dvh;                  /* respeta la barra del navegador móvil */
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 5rem 2rem 3rem;
    z-index: 100;
    overflow-y: auto;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a {
    font-size: 1.25rem;
    color: #161616;
    font-weight: 500;
    letter-spacing: .12em;
  }
  .nav-links .lang-switch { font-size: 1rem; }
  .nav-links .lang-switch a { font-size: 1rem; color: #161616; }
  .nav-links .nav-cta {
    background: #161616;
    color: #FFF !important;
    padding: 1rem 2.4rem;
    margin-top: 1rem;
  }
  /* Bloqueo de scroll del body cuando el menú está abierto */
  body:has(.nav-links.is-open) { overflow: hidden; }
}

/* ------------------ BUTTONS ------------------ */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--text);
  background: var(--text);
  color: #FFF !important;
  border-radius: 999px;
  cursor: pointer;
  transition: all .3s ease;
}
.btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--text);
}
.btn--ghost:hover {
  background: var(--text);
  color: #FFF !important;
}
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
}

/* ------------------ HERO ------------------ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: #1a1a1a;
  color: #FFF;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55) saturate(1.05);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%),
    radial-gradient(circle at 20% 30%, rgba(184,148,90,.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(184,148,90,.10), transparent 60%);
  pointer-events: none;
}
.hero-inner { z-index: 2; }
.hero-inner {
  position: relative;
  max-width: 880px;
  padding: 5rem var(--gutter) 6rem;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  color: #FFF;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero .eyebrow { color: var(--gold); }
.hero p.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #D9D2C2;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-cta .btn--ghost {
  color: #FFF !important;
  border-color: rgba(255,255,255,.4);
}
.hero-cta .btn--ghost:hover {
  background: #FFF;
  color: var(--text) !important;
  border-color: #FFF;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .7rem;
  letter-spacing: .25em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}

/* ------------------ TWO-COL ------------------ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.two-col--reverse > :first-child { order: 2; }
@media (max-width: 800px) {
  .two-col, .two-col--reverse { grid-template-columns: 1fr; }
  .two-col--reverse > :first-child { order: 0; }
}

.image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #2a2620, #4a3f30);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-frame.is-wide { aspect-ratio: 16/10; }
.image-frame.is-square { aspect-ratio: 1/1; }

/* ------------------ PHOTO STRIP / GALLERY ------------------ */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr 1fr; } }
.photo-strip .image-frame { aspect-ratio: 1/1; }

.section-photo {
  width: 100%;
  height: clamp(280px, 50vh, 480px);
  overflow: hidden;
  position: relative;
}
.section-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ------------------ FEATURE GRID ------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3rem;
}
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.feature .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-dark);
  font-weight: 400;
  display: block;
  margin-bottom: .8rem;
}

/* ------------------ MENU PAGE ------------------ */
.menu-section {
  margin-bottom: 4rem;
}
.menu-section h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.menu-section h2 small {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .25em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}
.dish:last-child { border-bottom: 0; }
.dish-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 .35rem;
}
.dish-name .star {
  color: var(--gold-dark);
  font-size: .8em;
  margin-left: .4rem;
}
.dish-desc {
  margin: 0;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.dish-price {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-dark);
  white-space: nowrap;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: .4rem;
  background: var(--bg-alt);
  border-radius: 999px;
  max-width: 100%;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.menu-tabs a {
  padding: .55rem 1.2rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-radius: 999px;
  font-weight: 500;
}
.menu-tabs a:hover, .menu-tabs a.active {
  background: var(--text);
  color: #FFF;
}

.allergen-note {
  font-size: .82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ------------------ RESERVATION PAGE ------------------ */
.reserve-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 900px) {
  .reserve-wrap { grid-template-columns: 1fr; }
}
.cover-manager-mount {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 580px;
  padding: .75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  text-align: center;
  overflow: hidden;
}
.cover-manager-mount iframe {
  width: 100% !important;
  min-height: 560px;
  border: 0;
  display: block;
  background: #FFF;
}
.cover-manager-mount .placeholder-note {
  max-width: 360px;
  color: var(--text-muted);
  font-size: .9rem;
  margin: auto;
}

.info-card {
  background: #FFF;
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.info-card h3 { margin-bottom: .8rem; }
.info-card .label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .25rem;
}

/* ------------------ CONTACT ------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.map-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 2rem;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.transport-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.transport-list li {
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.transport-list li:last-child { border-bottom: 0; }
.transport-list .tag {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.transport-list .tag.metro { background: #DA291C; }
.transport-list .tag.bus  { background: #1A75CF; }

/* ------------------ ABOUT / CONTENT ------------------ */
.lead-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  max-width: 800px;
  margin: 0 0 3rem;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}
.value h3 {
  font-size: 1.15rem;
  border-top: 2px solid var(--gold);
  padding-top: 1.2rem;
  margin-bottom: .8rem;
}

.press-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
}

/* ------------------ FOOTER ------------------ */
.site-footer {
  background: var(--bg-dark);
  color: #BDB6A7;
  padding: 5rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  color: #FFF;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li { padding: .35rem 0; }
.footer-grid a { color: #BDB6A7; font-size: .9rem; }
.footer-grid a:hover { color: var(--gold); }

.footer-brand .logo { color: #FFF; font-size: 1.6rem; }
.footer-brand p { color: #8A8479; font-size: .9rem; margin-top: 1rem; }

.footer-bottom {
  border-top: 1px solid #2A2620;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .78rem;
  color: #6E6859;
}

/* ------------------ UTIL ------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
  border: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------ HOURS CARD (visual) ------------------ */
.hours-card { padding: 2.2rem 2rem; }
.hours-card h3 { margin-bottom: 1.4rem; }
.hours-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line);
}
.hours-row:last-child { border-bottom: 0; }
.hours-day {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  font-weight: 500;
}
.hours-time {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: .98rem;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: .02em;
  font-weight: 500;
}
.hours-badge {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--gold);
  color: #FFF;
  padding: .3rem .65rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.hours-row--feature .hours-time {
  color: var(--gold-dark);
  font-weight: 600;
}
@media (max-width: 520px) {
  .hours-row { grid-template-columns: 1fr; gap: .35rem; padding: 1rem 0; }
  .hours-time { font-size: 1.05rem; }
}

/* ------------------ WHATSAPP FLOATING BUTTON ------------------ */
.whatsapp-float {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  z-index: 90;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 28px rgba(37,211,102,.35);
  color: #FFF;
}
.whatsapp-float svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.whatsapp-float .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .55;
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes wa-pulse {
  0%   { transform: scale(.95); opacity: .55; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 600px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 1rem; right: 1rem; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* WhatsApp inline button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  background: #25D366;
  color: #FFF !important;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 0;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-1px);
  color: #FFF !important;
}
.btn-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Skip link - accesibilidad */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #FFF;
  padding: .8rem 1.2rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }
