:root {
  --bg: #120d09;
  --bg-soft: #24140e;
  --wine: #8f231a;
  --red: #bf331e;
  --gold: #e1ae4f;
  --cream: #f7eedf;
  --sand: #ddc5a2;
  --text-dark: #2f1a12;
  --text-light: #fae9d2;
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-strong: 0 25px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 15px 30px rgba(20, 8, 4, 0.22);
  --t: 280ms ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 20% -10%, #4b1f16 0%, var(--bg) 46%), linear-gradient(120deg, #170f0a, #0f0806);
  color: var(--text-light);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.noise-layer {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: -1;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.section {
  padding: 7rem 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  /* Reducimos 20% aprox */
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

p {
  color: #e6d2b8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--red));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3.2rem;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background-color var(--t);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #fff6ea;
  background: linear-gradient(120deg, var(--red), var(--wine));
  box-shadow: 0 12px 28px rgba(191, 51, 30, 0.36);
}

.btn-outline {
  color: #ffe9cc;
  border: 1px solid rgba(255, 232, 199, 0.55);
  background: rgba(255, 255, 255, 0.03);
}

/* Botón CTA con pulso y destello dorado */
.btn-pulse {
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(191, 51, 30, 0.5);
  animation: btnPulseRing 2.4s ease-out infinite;
}

.btn-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 157, 0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 2.8s ease-in-out infinite;
  animation-delay: 0.8s;
}

@keyframes btnPulseRing {

  0%,
  100% {
    box-shadow: 0 12px 28px rgba(191, 51, 30, 0.5), 0 0 0 0 rgba(191, 51, 30, 0.5);
  }

  50% {
    box-shadow: 0 12px 28px rgba(191, 51, 30, 0.5), 0 0 0 10px rgba(191, 51, 30, 0);
  }
}

@keyframes btnShimmer {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 94%);
  padding: 0.72rem 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: all var(--t);
}

.nav.scrolled {
  background: rgba(15, 8, 6, 0.88);
  border: 1px solid rgba(255, 238, 208, 0.16);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  text-decoration: none;
  color: #fff4df;
}

.brand-logo {
  width: 44px;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy small {
  font-size: 0.7rem;
  opacity: 0.84;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 239, 215, 0.92);
  font-size: 0.9rem;
}

.nav .btn {
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* Estado activo del toggle para la "X" */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(18, 13, 9, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid rgba(255, 214, 150, 0.1);
    z-index: 1050;
    display: flex;
    /* Aseguramos que se comporte como flex al mostrarse */
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.4rem;
    font-family: "Fraunces", serif;
    color: var(--gold);
    letter-spacing: 0.05em;
  }

  .nav .btn {
    display: none;
    /* Escondemos el botón de reserva principal en móvil, saldrá en el menú si quieres */
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.hero-bg,
.hero-filter {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 50px;
  width: 100%;
  height: calc(100% - 50px);
}

.hero-bg {
  object-fit: cover;
  object-position: center center;
}

.hero-filter {
  background:
    linear-gradient(100deg, rgba(10, 5, 3, 0.8) 0%, rgba(10, 5, 3, 0.55) 45%, rgba(10, 5, 3, 0.82) 100%),
    radial-gradient(circle at 70% 25%, rgba(226, 138, 63, 0.36), transparent 38%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 1.2rem;
  align-items: end;
}

.hero-panel {
  background: linear-gradient(140deg, rgba(18, 10, 8, 0.85), rgba(36, 16, 12, 0.64));
  border: 1px solid rgba(255, 232, 193, 0.19);
  padding: clamp(1rem, 2vw, 1.8rem);
  /* Reducimos padding */
  border-radius: var(--radius-lg);
  /* Bordes un poco más cerrados */
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-strong);
  max-width: 580px;
  /* Limitamos el ancho para que respire la imagen */

  /* Animación Lateral Izquierda con retraso de 5s */
  opacity: 0;
  transform: translateX(-60px);
  animation: heroLeftReveal 1.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 5s;
}

@keyframes heroLeftReveal {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroRightReveal {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-panel p {
  max-width: 72ch;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-kpis {
  display: grid;
  gap: 0.72rem;

  /* Animación Lateral Derecha con retraso de 5s */
  opacity: 0;
  transform: translateX(60px);
  animation: heroRightReveal 1.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 5s;
}

.hero-kpis article {
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(27, 13, 9, 0.83), rgba(48, 20, 14, 0.6));
  border: 1px solid rgba(255, 213, 157, 0.25);
  padding: 1rem;
}

.hero-kpis h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: #ffca72;
}

.hero-kpis p {
  font-size: 0.88rem;
  color: rgba(255, 229, 193, 0.9);
}

.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  z-index: 2;
  background: linear-gradient(to right, rgba(191, 51, 30, 0.84), rgba(143, 35, 26, 0.84));
  border-top: 1px solid rgba(255, 233, 189, 0.26);
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  gap: 2.4rem;
  white-space: nowrap;
  padding: 0.8rem 1rem;
  min-width: 200%;
  animation: marquee 16s linear infinite;
}

.ticker-track span {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #ffedd2;
  font-size: 0.76rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.story {
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

.story-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 4px solid #fffdf7;
  padding: 8px;
  /* Frame effect */
  background: #fffdf7;
}

.story-image-wrap img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.history-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(22, 11, 8, 0.82);
  border: 1px solid rgba(255, 225, 174, 0.28);
  color: #ffd48c;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
}

.story-text {
  background: #fdfaf3 url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="%23c0915f" fill-opacity="0.04" fill-rule="evenodd"><path d="M0 40L40 0H20L0 20M40 40V20L20 40" /></g></svg>');
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: inset 0 0 100px rgba(192, 145, 95, 0.05), var(--shadow-soft);
  position: relative;
  border: 1px solid rgba(192, 145, 95, 0.2);
}

.story-text p {
  color: #2c1e13;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  font-family: "Outfit", sans-serif;
  font-weight: 300;
}

.story-text .first-p::first-letter {
  float: left;
  font-family: "Fraunces", serif;
  font-size: 4.5rem;
  line-height: 0.8;
  padding-right: 12px;
  padding-top: 4px;
  color: #8f231a;
  /* Rojo institucional */
  font-weight: 800;
}

.story-text blockquote {
  margin: 2.5rem 0 1rem;
  padding: 1.8rem;
  background: linear-gradient(135deg, #cf9e5d, #a67c45);
  color: #fff;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.3rem;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: 0 10px 25px rgba(166, 124, 69, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.story-text blockquote::before {
  content: '"';
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 5rem;
  opacity: 0.2;
  font-family: serif;
}

.story-seal {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: #8f231a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 6px solid #fdfaf3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 5;
  transform: rotate(-12deg);
}

.story-seal img {
  width: 50px;
  filter: brightness(0) invert(1);
}

.menu {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 179, 72, 0.2), transparent 38%),
    radial-gradient(circle at 90% 100%, rgba(191, 51, 30, 0.18), transparent 40%),
    #1b0f0b;
}

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

.dish-card {
  background: linear-gradient(160deg, rgba(250, 234, 206, 0.97), rgba(244, 219, 180, 0.94));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform var(--t), box-shadow var(--t);
  border: 1px solid rgba(255, 248, 233, 0.8);
}

.dish-card:hover {
  box-shadow: 0 22px 38px rgba(6, 3, 2, 0.42);
}

.dish-media {
  position: relative;
}

.dish-media img {
  height: 240px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.dish-card:hover .dish-media img {
  transform: scale(1.09);
}

.dish-tag {
  position: absolute;
  top: 0.72rem;
  left: 0.72rem;
  background: rgba(35, 16, 10, 0.84);
  color: #ffd18c;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0.43rem 0.65rem;
}

.dish-content {
  padding: 1.05rem;
}

.dish-content h3,
.dish-content p,
.dish-footer strong,
.dish-footer a {
  color: #351b12;
}

.dish-content p {
  font-size: 0.92rem;
  min-height: 68px;
}

.dish-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dish-footer strong {
  font-size: 1.34rem;
}

.dish-footer a {
  font-weight: 800;
  text-decoration: none;
}

.ritual {
  background: linear-gradient(140deg, #2d1611, #190d09);
}

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

.ritual-grid article {
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 242, 220, 0.08), rgba(255, 211, 153, 0.03));
  border: 1px solid rgba(255, 221, 168, 0.25);
  padding: 1.2rem;
}

.ritual-step {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* Servicios Cards */
.servicio-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 242, 220, 0.06), rgba(255, 211, 153, 0.02));
  border: 1px solid rgba(255, 221, 168, 0.2);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}

.servicio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 213, 157, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.servicio-icon {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  display: block;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: 0.7rem;
}

.gallery figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.gallery figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(143, 35, 26, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery figure:hover::after {
  opacity: 1;
}

.gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery figure:hover img {
  transform: scale(1.1);
}

/* Fila 1: a(6) + b(6) = 12 */
.gallery-a {
  grid-column: span 6;
  grid-row: span 3;
}

.gallery-b {
  grid-column: span 6;
  grid-row: span 3;
}

/* Fila 2: c(4) + d(4) + e(4) = 12 */
.gallery-c {
  grid-column: span 4;
  grid-row: span 3;
}

.gallery-d {
  grid-column: span 4;
  grid-row: span 3;
}

.gallery-e {
  grid-column: span 4;
  grid-row: span 3;
}

/* Fila 3: f(6) + g(6) = 12 */
.gallery-f {
  grid-column: span 6;
  grid-row: span 3;
}

.gallery-g {
  grid-column: span 6;
  grid-row: span 3;
}

.booking {
  background: linear-gradient(110deg, #1b0f0b, #2d1611);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  margin-top: 3rem;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  height: 450px;
  border: 1px solid rgba(255, 222, 169, 0.1);
  position: relative;
}

.map-link-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.map-container iframe {
  filter: grayscale(0.2) invert(0.9) contrast(1.2);
  /* Estilo Dark para el mapa */
  pointer-events: none;
}

.map-custom-marker {
  position: absolute;
  top: calc(50% - 12px);
  /* Ajuste de milímetros arriba de la 'H' */
  left: 50%;
  transform: translate(-50%, -100%);
  width: 60px;
  height: 60px;
  background: var(--dark);
  border: 3px solid var(--gold);
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.map-custom-marker::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: var(--gold) transparent transparent transparent;
  display: block;
  width: 0;
}

.map-custom-marker img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.info-card {
  background: linear-gradient(145deg, rgba(27, 13, 9, 0.95), rgba(48, 20, 14, 0.9));
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 213, 157, 0.2);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(10px);
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.5rem;
  background: rgba(255, 213, 157, 0.1);
  padding: 0.8rem;
  border-radius: 12px;
  line-height: 1;
}

.info-item h4 {
  color: var(--gold);
  font-family: "Fraunces", serif;
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.info-item p {
  color: #ffedd2;
  line-height: 1.5;
  font-size: 1rem;
}

.booking-actions-modern {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-gps {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 222, 169, 0.25);
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-gps:hover {
  background: rgba(255, 222, 169, 0.15);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios {
  background: linear-gradient(160deg, #100907, #1e1008);
}

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

.testi-card {
  background: linear-gradient(145deg, rgba(35, 18, 12, 0.95), rgba(22, 11, 8, 0.88));
  border: 1px solid rgba(255, 213, 157, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: default;
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  font-family: "Fraunces", serif;
  color: rgba(225, 174, 79, 0.08);
  line-height: 1;
  pointer-events: none;
}

.testi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 213, 157, 0.25);
  border-color: rgba(255, 213, 157, 0.35);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(143, 35, 26, 0.4);
}

.testi-header strong {
  display: block;
  color: #fff4e0;
  font-size: 1rem;
  font-family: "Fraunces", serif;
}

.google-badge {
  font-size: 0.72rem;
  color: rgba(255, 213, 157, 0.65);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testi-stars span {
  color: transparent;
  font-size: 1.2rem;
  animation: starReveal 0.4s ease forwards;
}

.testi-card:nth-child(1) .testi-stars span:nth-child(1) {
  animation-delay: 0.1s;
}

.testi-card:nth-child(1) .testi-stars span:nth-child(2) {
  animation-delay: 0.2s;
}

.testi-card:nth-child(1) .testi-stars span:nth-child(3) {
  animation-delay: 0.3s;
}

.testi-card:nth-child(1) .testi-stars span:nth-child(4) {
  animation-delay: 0.4s;
}

.testi-card:nth-child(1) .testi-stars span:nth-child(5) {
  animation-delay: 0.5s;
}

.testi-card:nth-child(2) .testi-stars span:nth-child(1) {
  animation-delay: 0.3s;
}

.testi-card:nth-child(2) .testi-stars span:nth-child(2) {
  animation-delay: 0.4s;
}

.testi-card:nth-child(2) .testi-stars span:nth-child(3) {
  animation-delay: 0.5s;
}

.testi-card:nth-child(2) .testi-stars span:nth-child(4) {
  animation-delay: 0.6s;
}

.testi-card:nth-child(2) .testi-stars span:nth-child(5) {
  animation-delay: 0.7s;
}

.testi-card:nth-child(3) .testi-stars span:nth-child(1) {
  animation-delay: 0.5s;
}

.testi-card:nth-child(3) .testi-stars span:nth-child(2) {
  animation-delay: 0.6s;
}

.testi-card:nth-child(3) .testi-stars span:nth-child(3) {
  animation-delay: 0.7s;
}

.testi-card:nth-child(3) .testi-stars span:nth-child(4) {
  animation-delay: 0.8s;
}

.testi-card:nth-child(3) .testi-stars span:nth-child(5) {
  animation-delay: 0.9s;
}

@keyframes starReveal {
  from {
    color: transparent;
    transform: scale(0.5) rotate(-20deg);
  }

  to {
    color: #f5b636;
    transform: scale(1) rotate(0deg);
  }
}

.testi-text {
  color: #e8d5b8;
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.testi-date {
  color: rgba(255, 213, 157, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* Puntuación global */
.testi-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255, 213, 157, 0.07), rgba(255, 213, 157, 0.02));
  border: 1px solid rgba(255, 213, 157, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.testi-score {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.score-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}

.score-stars {
  color: #f5b636;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.testi-score small {
  color: rgba(255, 213, 157, 0.55);
  font-size: 0.8rem;
  display: block;
  margin-top: 0.2rem;
}

.footer {
  background: #0d0806;
  padding: 3rem 0;
}

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

.footer p {
  color: #cbb298;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 720ms ease, transform 720ms ease;
}

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

/* ============================================
   TABLET (≤ 1080px)
   ============================================ */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .story-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid,
  .ritual-grid,
  .footer-grid,
  .testimonios-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }

  .gallery-a,
  .gallery-b,
  .gallery-c,
  .gallery-d,
  .gallery-e,
  .gallery-f,
  .gallery-g {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ============================================
   MOBILE (≤ 760px) — PRIORIDAD MÁXIMA
   ============================================ */
@media (max-width: 760px) {

  /* --- Base & Secciones --- */
  .section {
    padding: 4rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  /* --- Navbar --- */
  .nav {
    top: 0.5rem;
    padding: 0.55rem 0.8rem;
  }

  .brand-copy small {
    display: none;
  }

  /* --- Hero --- */
  .hero {
    padding-top: 5.5rem;
    padding-bottom: 4rem;
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    align-items: start;
  }

  .hero-panel {
    padding: 1.2rem;
    max-width: 100%;
    /* Desactivar animación lateral en mobile (evita overflow horizontal) */
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-panel p {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.2rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-kpis {
    /* Desactivar animación lateral */
    animation: none;
    opacity: 1;
    transform: none;
    /* Mostrar los 3 kpis en fila en mobile */
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .hero-kpis article {
    padding: 0.7rem 0.5rem;
    text-align: center;
  }

  .hero-kpis h2 {
    font-size: 1.3rem;
  }

  .hero-kpis p {
    font-size: 0.72rem;
  }

  /* --- Historia --- */
  .story-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .story-image-wrap img {
    min-height: 340px;
  }

  .story-text {
    padding: 2rem 1.4rem;
    /* Sello: reposicionar para que no salga del contenedor */
    overflow: visible;
  }

  .story-seal {
    top: -20px;
    right: -10px;
    width: 72px;
    height: 72px;
  }

  .story-text .first-p::first-letter {
    font-size: 3.2rem;
  }

  .story-text p {
    font-size: 1rem;
  }

  .story-text blockquote {
    font-size: 1.1rem;
    padding: 1.3rem 1rem;
  }

  /* --- Menú y Testimonios --- */
  .menu-grid,
  .ritual-grid,
  .footer-grid,
  .testimonios-grid {
    grid-template-columns: 1fr;
  }

  .dish-media img {
    height: 220px;
  }

  /* --- Galería --- */
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 0.5rem;
  }

  /* --- Sección Reserva + Mapa --- */
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* En mobile: mostrar primero la tarjeta de info, luego el mapa */
  .info-card {
    order: -1;
    padding: 1.6rem;
  }

  .info-group {
    gap: 1.2rem;
  }

  .info-item h4 {
    font-size: 1rem;
  }

  .info-item p {
    font-size: 0.9rem;
  }

  .map-container {
    height: 280px;
    /* Reducir la altura del mapa en mobile */
    border-radius: var(--radius-lg);
  }

  .booking-actions-modern {
    margin-top: 1.4rem;
  }

  /* --- Footer --- */
  .footer {
    padding: 2.5rem 0;
  }

  /* --- Botones generales --- */
  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* --- Testimonios --- */
  .testimonios-grid {
    grid-template-columns: 1fr;
  }

  .testi-card {
    padding: 1.4rem;
  }

  .testi-score-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .score-number {
    font-size: 2.8rem;
  }

  /* --- Servicios (Qué Ofrecemos) --- */
  .ritual-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .servicio-card {
    padding: 1.5rem 1.2rem;
  }

  .servicio-icon {
    font-size: 2.2rem;
  }

  /* --- Galería --- */
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 0.5rem;
  }
}

/* ============================================
   MOBILE PEQUEÑO (≤ 400px)
   ============================================ */
@media (max-width: 400px) {
  .hero-kpis {
    grid-template-columns: 1fr;
  }

  .hero-kpis h2 {
    font-size: 1.6rem;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
}

/* 400px extra: Servicios y Testimonios compactos */
@media (max-width: 400px) {
  .servicio-card {
    padding: 1.2rem 1rem;
  }

  .testi-card {
    padding: 1.1rem;
  }

  .testi-text {
    font-size: 0.92rem;
  }
}