/* =========================================================
   Parrilla San José — sistema visual
   Paleta: carbón cálido, hueso, brasa (cobre) y bordó
   Tipografía: Fraunces (display) + Inter (texto)
========================================================= */

:root {
  --carbon: #14110f;
  --carbon-2: #1d1916;
  --hueso: #f4efe6;
  --hueso-2: #ece4d6;
  --tinta: #2a2521;
  --tinta-soft: #5c544b;
  --ember: #c2622d;
  --ember-deep: #a64e21;
  --bordo: #6e2230;
  --oliva: #36462e;
  --oliva-deep: #2a3724;
  --line: rgba(20, 17, 15, 0.14);
  --line-light: rgba(244, 239, 230, 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--tinta);
  background: var(--hueso);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--ember); color: var(--hueso); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--carbon); color: var(--hueso); padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- tipografía base ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--carbon);
}
.display--light { color: var(--hueso); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember-deep);
  font-weight: 600;
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: var(--ember); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--tinta); }

/* ---------- layout ---------- */
.section {
  padding: clamp(64px, 9vw, 132px) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section--dark {
  background: var(--carbon);
  color: var(--hueso-2);
  padding: clamp(64px, 9vw, 132px) var(--gutter);
}
.section--dark .section__head,
.section--dark .steps { max-width: var(--maxw); margin-inline: auto; }

.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section__head .display { margin-inline: auto; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5em;
  font-family: var(--sans); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.95em 1.7em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--ember { background: var(--ember); color: var(--hueso); }
.btn--ember:hover { background: var(--ember-deep); }
.btn--line { border-color: rgba(244,239,230,0.55); color: var(--hueso); }
.btn--line:hover { background: var(--hueso); color: var(--carbon); border-color: var(--hueso); }
.btn--line-light { border-color: var(--line-light); color: var(--hueso); }
.btn--ghost { border-color: var(--line); color: var(--carbon); padding: 0.7em 1.3em; }
.btn--ghost:hover { background: var(--carbon); color: var(--hueso); }
.btn--block { width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(14px, 2vw, 22px) var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-stuck {
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; position: relative; }
.brand__logo {
  height: clamp(58px, 6.8vw, 78px); width: auto; display: block;
  flex: 0 0 auto;
}
/* En nav: dos versiones cruzadas con fade segun el fondo */
.brand .brand__logo--color { position: absolute; top: 0; left: 0; }
.brand__logo--dark  { opacity: 1; transition: opacity 0.4s var(--ease); }
.brand__logo--color { opacity: 0; transition: opacity 0.4s var(--ease); }
/* Nav con fondo claro (scrolleado): logo a color */
.nav.is-stuck .brand__logo--dark  { opacity: 0; }
.nav.is-stuck .brand__logo--color { opacity: 1; }

.brand__logo--footer { height: clamp(98px, 12vw, 134px); }

.nav__links { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav__links a {
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--hueso); font-weight: 500; position: relative; padding: 4px 0;
  transition: color 0.4s var(--ease);
}
.nav.is-stuck .nav__links a { color: var(--tinta); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--ember); transition: width 0.35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 0.7em 1.3em; }

.nav__burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 8px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav__burger span { display: block; height: 2px; background: var(--hueso); transition: 0.3s var(--ease); }
.nav.is-stuck .nav__burger span { background: var(--carbon); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 6px;
  padding: 12px var(--gutter) 28px;
  background: rgba(244,239,230,0.98); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  min-height: calc(100svh - 100%);
}
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu a {
  font-family: var(--serif); font-size: 1.5rem; color: var(--carbon);
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn { font-family: var(--sans); font-size: 0.86rem; margin-top: 14px; border-bottom: 0; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 0 var(--gutter) clamp(72px, 12vh, 130px);
  color: var(--hueso); overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1529692236671-f1f6cf9683ba?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center;
  transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,15,0.55) 0%, rgba(20,17,15,0.1) 30%, rgba(20,17,15,0.78) 92%);
}
.hero__content { position: relative; max-width: 880px; text-shadow: 0 1px 24px rgba(20,17,15,0.45); }
.hero .eyebrow--light { text-shadow: 0 1px 12px rgba(20,17,15,0.85), 0 0 2px rgba(20,17,15,0.6); }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.9rem, 10vw, 7.5rem); line-height: 0.94;
  letter-spacing: -0.025em; margin: 0.2em 0 0.4em;
}
.hero__title em { font-style: italic; color: var(--ember); }
.hero__lead { max-width: 540px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(244,239,230,0.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(72px, 12vh, 130px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  writing-mode: vertical-rl; color: rgba(244,239,230,0.7);
}
.hero__scroll-line { width: 1px; height: 54px; background: rgba(244,239,230,0.5); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--ember); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* ---------- MANIFIESTO ---------- */
.manifiesto__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.manifiesto__text .lede { margin-bottom: 1.2rem; }
.manifiesto__sign { margin-top: 2.4rem; display: flex; flex-direction: column; }
.manifiesto__signname { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--carbon); }
.manifiesto__signrole { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tinta-soft); margin-top: 4px; }

.manifiesto__media { margin: 0; position: relative; }
.manifiesto__media img { width: 100%; height: clamp(380px, 52vw, 620px); object-fit: cover; border-radius: var(--radius); }

.stats {
  list-style: none; margin: clamp(56px, 8vw, 96px) 0 0; padding: clamp(36px,5vw,48px) 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, auto); justify-content: center;
  gap: clamp(40px, 8vw, 110px); text-align: center;
}
.stats li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stats strong { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; color: var(--carbon); line-height: 1; }
.stats span { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tinta-soft); }

/* ---------- EXPERIENCIA / STEPS ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); }
.step {
  display: grid; grid-template-columns: 90px 1fr 320px; align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line-light);
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step__no { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--ember); line-height: 1; }
.step__body h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--hueso); margin: 0 0 0.5rem; }
.step__body p { margin: 0; color: rgba(244,239,230,0.75); max-width: 46ch; }
.step__img { margin: 0; overflow: hidden; border-radius: var(--radius); }
.step__img img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.7s var(--ease); }
.step:hover .step__img img { transform: scale(1.05); }

/* ---------- CARTA ---------- */
.carta__invite { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.carta__feature { margin: 0; overflow: hidden; border-radius: var(--radius); }
.carta__feature img { width: 100%; height: clamp(320px, 46vw, 560px); object-fit: cover; transition: transform 0.8s var(--ease); }
.carta__feature:hover img { transform: scale(1.04); }
.carta__note { color: var(--tinta-soft); margin: 1.4rem 0 1.8rem; max-width: 48ch; font-size: clamp(1.02rem, 1.5vw, 1.16rem); }
.carta__highlights { list-style: none; margin: 0 0 2.2rem; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.carta__highlights li { position: relative; padding-left: 26px; color: var(--tinta); font-size: 1.02rem; }
.carta__highlights li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); }
.carta__cta { width: 100%; }

/* ---------- CITA ---------- */
.quote { display: grid; place-items: center; text-align: center; }
.quote blockquote { margin: 0; max-width: 900px; }
.quote p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.8rem); line-height: 1.22; color: var(--hueso); margin: 0;
}
.quote cite { display: block; margin-top: 1.6rem; font-style: normal; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); }

/* ---------- GALERIA ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: clamp(10px, 1.4vw, 18px); max-width: var(--maxw); margin-inline: auto;
}
.gallery__item { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; cursor: pointer; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,15,0) 55%, rgba(20,17,15,0.45) 100%);
  opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none;
}
.gallery__zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(20,17,15,0.55); color: var(--hueso);
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none; backdrop-filter: blur(4px);
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }

/* ---------- LIGHTBOX / CARRUSEL ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 8, 7, 0.92); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__viewport {
  position: relative;
  width: min(92vw, 1180px); height: min(84vh, 820px);
  overflow: hidden; border-radius: var(--radius);
}
.lightbox__track {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
.lightbox__slide {
  /* Reset margins del browser en <figure> */
  margin: 0; padding: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transform: translateX(calc(var(--slide-idx, 0) * 100%));
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px;
}
.lightbox__slide img {
  display: block;
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  margin: auto;
}
.lightbox__btn {
  position: absolute; z-index: 2; border: 0; cursor: pointer; color: var(--hueso);
  background: rgba(244,239,230,0.1); border: 1px solid rgba(244,239,230,0.22);
  backdrop-filter: blur(6px); display: grid; place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox__btn:hover { background: var(--ember); border-color: var(--ember); transform: scale(1.05); }
.lightbox__close { top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 1.8rem; line-height: 1; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__nav--prev { left: clamp(10px, 3vw, 34px); }
.lightbox__nav--next { right: clamp(10px, 3vw, 34px); }
.lightbox__counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(244,239,230,0.8); font-size: 0.8rem; letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums; background: rgba(10,8,7,0.5); padding: 7px 16px; border-radius: 40px;
}
body.lb-lock { overflow: hidden; }
@media (max-width: 560px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.4rem; }
  .lightbox__close { width: 42px; height: 42px; top: 14px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__track { transition: none; }
}

/* ---------- RESEÑAS ---------- */
.reviews { background: var(--hueso-2); padding: clamp(64px, 9vw, 120px) var(--gutter); }
.reviews__inner { max-width: var(--maxw); margin: 0 auto; }
.reviews__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.reviews__head .display { margin: 0 auto 1.5rem; }
.reviews__rating { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.reviews__score { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 600; color: var(--carbon); line-height: 1; }
.reviews__stars { color: #f5a623; letter-spacing: 2px; font-size: 1.25rem; }
.reviews__count { display: inline-flex; align-items: center; gap: 7px; color: var(--tinta-soft); font-size: 0.92rem; }
.reviews__count strong { color: var(--carbon); font-weight: 600; }

.reviews__stars .review__star--half {
  background: linear-gradient(90deg, #f5a623 50%, rgba(20,17,15,0.2) 50%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.reviews__carousel {
  position: relative; overflow: hidden; margin: 0 0 clamp(32px, 4vw, 48px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.reviews__track {
  list-style: none; margin: 0; padding: 6px 0;
  display: flex; width: max-content;
  animation: reviewScroll 70s linear infinite;
}
.reviews__carousel:hover .reviews__track,
.reviews__carousel:focus-within .reviews__track { animation-play-state: paused; }
@keyframes reviewScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.review {
  flex: 0 0 clamp(278px, 80vw, 348px);
  margin-right: clamp(16px, 2vw, 24px);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 12px 30px rgba(20,17,15,0.05);
}
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__gicon { display: inline-flex; }
.review__stars { color: #f5a623; letter-spacing: 2px; font-size: 1.02rem; }
.review__star--off { color: rgba(20,17,15,0.2); }
.review__text { margin: 0; color: var(--tinta); font-size: 0.97rem; line-height: 1.6; }
.review__source { margin-top: auto; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--tinta-soft); }
.reviews__cta { display: flex; width: max-content; max-width: 100%; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .reviews__track { animation: none; }
  .reviews__carousel { overflow-x: auto; }
}

/* ---------- VISITANOS / RESERVAS ---------- */
.visitanos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; max-width: var(--maxw); margin-inline: auto; }

.infolist { list-style: none; margin: 2rem 0; padding: 0; }
.infolist li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 1.1rem 0; border-top: 1px solid var(--line-light); }
.infolist li:last-child { border-bottom: 1px solid var(--line-light); }
.infolist__k { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); padding-top: 3px; }
.infolist__v { color: var(--hueso-2); }
.infolist__v a { border-bottom: 1px solid var(--line-light); }
.infolist__v a:hover { border-color: var(--ember); color: var(--hueso); }
.visitanos__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6rem; }

.reservas { background: var(--carbon-2); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); }
.reservas__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: #25d366; border: 1px solid rgba(37,211,102,0.4); border-radius: 40px;
  padding: 6px 12px; margin-bottom: 1.2rem;
}
.reservas__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--hueso); margin: 0 0 0.6rem; line-height: 1.05; }
.reservas__sub { color: rgba(244,239,230,0.72); margin: 0 0 1.8rem; font-size: 0.98rem; }
.reservas__cta { display: flex; flex-direction: column; gap: 12px; }

.map { margin: clamp(48px, 6vw, 80px) auto 0; max-width: var(--maxw); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); }
.map iframe { width: 100%; height: clamp(300px, 38vw, 440px); border: 0; display: block; filter: grayscale(0.25) contrast(1.04); }
.map__cap { max-width: var(--maxw); margin: 14px auto 0; text-align: center; font-size: 0.86rem; letter-spacing: 0.02em; color: rgba(244,239,230,0.6); }
.map__cap a { border-bottom: 1px solid var(--line-light); padding-bottom: 1px; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.map__cap a:hover { color: var(--ember); border-color: var(--ember); }

/* ---------- FOOTER ---------- */
.footer { background: #0e0c0b; color: rgba(244,239,230,0.7); padding: clamp(56px, 7vw, 88px) var(--gutter) 28px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: center; }
.footer__brand { align-self: center; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a, .footer__contact a { font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--ember); }
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__base {
  max-width: var(--maxw); margin: clamp(40px,5vw,60px) auto 0; padding-top: 24px;
  border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 16px;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244,239,230,0.5);
}
.footer__made { color: rgba(244,239,230,0.5); transition: color 0.3s var(--ease); }
.footer__made strong { font-weight: 600; color: rgba(244,239,230,0.72); transition: color 0.3s var(--ease); }
.footer__made:hover { color: rgba(244,239,230,0.8); }
.footer__made:hover strong { color: var(--ember); }

/* ---------- Botones flotantes ---------- */
.floats {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 12px;
}
.float {
  width: 56px; height: 56px; border-radius: 50%;
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  transition: transform 0.35s var(--ease);
}
.float:hover { transform: scale(1.08) translateY(-2px); }
.float--wa { background: #25d366; }
.float--call { background: var(--ember); display: none; }

/* El botón de llamar solo aparece en mobile/tablet */
@media (max-width: 760px) {
  .float--call { display: grid; }
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media { animation: none; transform: none; }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .manifiesto__grid { grid-template-columns: 1fr; }
  .manifiesto__media { order: -1; }
  .carta__invite { grid-template-columns: 1fr; }
  .carta__invite .carta__feature { order: -1; }
  .visitanos__grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .step__img { grid-column: 1 / -1; }
  .step__img img { height: 240px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* ── NAV: logo centrado, burger a la izquierda ── */
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner {
    padding-block: 10px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 0;
  }
  .nav__burger {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
  }
  .brand__logo {
    height: clamp(40px, 11vw, 56px);
  }

  /* ── STATS ── */
  .stats { gap: clamp(20px, 7vw, 44px); }

  /* ── GALERÍA ── */
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 8px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }

  /* ── FOOTER: logo centrado, columnas ordenadas ── */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  .footer__brand {
    display: flex;
    justify-content: center;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--line-light);
  }
  .brand__logo--footer {
    height: clamp(64px, 18vw, 90px);
    margin: 0 auto;
  }
  .footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line-light);
    justify-items: center;
  }
  .footer__nav a { font-size: 0.88rem; }
  .footer__contact {
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-bottom: 0;
  }
  .footer__contact a,
  .footer__contact span { font-size: 0.9rem; }
  .footer__base {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    align-items: center;
    margin-top: clamp(28px, 5vw, 40px);
  }

  /* ── MANIFIESTO: imagen oculta en mobile ── */
  .manifiesto__media { display: none; }

  /* ── OTROS ── */
  .infolist li { grid-template-columns: 1fr; gap: 4px; }
  .infolist__k { padding-top: 0; }
  .hero { padding-bottom: clamp(56px, 14vh, 96px); }
  .hero__content { width: 100%; }
  .hero__lead { font-size: 1.05rem; }
  .section__head { text-align: left; margin-inline: 0; }
  .section__head .display { margin-inline: 0; }
}

@media (max-width: 560px) {
  /* CTA del hero a ancho completo: tap targets grandes */
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__actions .btn { width: 100%; }
  .visitanos__actions { flex-direction: column; align-items: stretch; }
  .visitanos__actions .btn { width: 100%; }
  .btn { padding: 1.05em 1.5em; }
  .gallery { grid-auto-rows: 168px; }
}

@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 1; }
}
