body {
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}
/* Menú horizontal */
.menu-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #1f4037, #99f2c8);
  padding: 1rem 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu-horizontal .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.menu-horizontal nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu-horizontal nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.menu-horizontal nav ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===============================
MODAL DE IMÁGENES
================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;

  justify-content: center;
  align-items: center;
  position: fixed;
}

.modal-contenedor {
  position: relative;
  display: inline-block;
}

.modal-contenido {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
}

/* Botón cerrar */
.cerrar {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
}

.cerrar:hover {
  background: rgba(0, 0, 0, 0.85);
}

/* Miniaturas */
.miniatura {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.miniatura:hover {
  transform: scale(1.05);
}

/* Texto "Valoración X de 5" más pequeño y elegante */
.valoracion-mini {
  font-size: 0.75rem;
  /* más pequeño */
  font-weight: 500;
  color: #6b7280;
  /* gris Amazon / Google */
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

/* Estrellas dentro de la valoración */
.valoracion-mini .estrella {
  font-size: 1rem;
  /* estrellas un poco más grandes que el texto */
  margin-left: 4px;
}

/* Resumen tipo Amazon / Google */
.resumen-valoracion {
  font-size: 0.78rem;
  color: #4b5563;
  margin-top: 2px;
  margin-bottom: 6px;
  line-height: 1.35;
  font-style: italic;
  text-align: left;
}

@media (max-width: 480px) {
  .resumen-valoracion {
    font-size: 0.74rem;
  }
}

.texto-comentario {
  margin-top: 3px;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.sede-nombre {
  font-size: 0.72rem;
  color: #6b7280;
  /* gris elegante */
  margin-bottom: 2px;
  letter-spacing: 0.2px;
}

.comentario-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.comentario-user {
  max-width: 70%;
}

/* ================= HEADER GLOBAL ================= */

/* Sidebar */

.main-footer {
  background: #000;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer p {
  opacity: 0.7;
  margin: 5px 0;
}

/* ================= RESET ================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* ================= SIDEBAR GLOBAL ================= */

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
}

/* ================= REDES ================= */

/* ================= FOOTER ================= */

.main-footer {
  background: #000;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer p {
  opacity: 0.7;
  margin: 5px 0;
}

/* TODO EL INDEX.PHP/*

/* ================= HEADER GLOBAL FIX ================= */

/* Sidebar */

/* Botón cerrar */

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* ============ PARA EL MENU HAMBURGUESA Y REDES ===============*/

/*Que el menu siempre este Visible */

body.scrolled .toggle-btn .bar {
  background: #fff;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
}

/*Estilos de INDEX.PHP*/

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ================= HERO VIDEO ================= */

.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
  /*z-index: 0;*/
}

.video-background video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.video-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* ================= HERO TEXT ================= */

.overlay-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-copy {
  margin-bottom: 60px;
}

.hero-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 2px;
  opacity: 0.9;
  font-style: bold;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 76px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: none;
}

.menu-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== BOTONES HERO ESTILO PREMIUM ===== */

.menu-buttons a {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding-bottom: 6px;

  /* 🔥 eliminamos TODO lo de botón */
  background: none;
  border: none;
  border-radius: 0;
}
/*Destacar el boton principal*/
.menu-buttons a:first-child {
  font-weight: 500;
}

/* línea inferior elegante */
.menu-buttons a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: #fff;
  transition: width 0.35s ease;
}

/* hover */
.menu-buttons a:hover::after {
  width: 100%;
}

/* ===== SIDEBAR PRO RESTAURANTE ===== */

.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;

  /* 🔥 MÁS FONDO */
  background: rgba(18, 18, 18, 0.78);

  /* blur premium */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  /* borde elegante */
  border-right: 1px solid rgba(255, 255, 255, 0.08);

  /* sombra */
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.45);

  padding: 100px 40px;
  transition: all 0.5s ease;
  z-index: 12000;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* cuando se abre */
.sidebar.active {
  left: 0;
}

/* links */
.sidebar a {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #f5f5f5;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

/* línea elegante */
.sidebar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: #d8cfc4; /* beige pastel */
  transition: width 0.3s ease;
}

/* hover PRO */
.sidebar a:hover {
  color: #d8cfc4;
}

.sidebar a:hover::after {
  width: 100%;
}

/* activo (click) */
.sidebar a.active {
  color: #7fae8c;
}

.sidebar a.active::after {
  width: 100%;
}

/* botón cerrar */
.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #fff;
}

/* ================= RESTAURANTES SECTION ================= */

#restaurantes {
  background: #111;
  padding: 80px 20px 40px; /* 👈 menos abajo */
}

#restaurantes h2:not(.section-title) {
  font-size: 48px;
  font-size: 48px;
  margin-bottom: 60px;
  font-weight: 300;
}

.restaurant-card {
  padding: 20px;
  transition: 0.4s;
  display: block;
  text-decoration: none;
  color: #fff;
}

.restaurant-card img {
  border-radius: 12px;
  transition: 0.4s;
}

.restaurant-card:hover img {
  transform: scale(1.05);
}

.restaurant-card h4 {
  margin-top: 15px;
}

.restaurant-card p {
  opacity: 0.8;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}
/* ================= SCROLL VOLTERETA STYLE ================= */

.scroll-link {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  letter-spacing: 1px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  opacity: 1;
  transition: all 0.4s ease;
  font-weight: 500; /* 🔥 más presencia */
}

/* Línea fina elegante */
.scroll-link::after {
  content: "";
  display: block;
  width: 200px;
  height: 2px;
  background: #fff;
  margin: 8px auto 0;
  transition: width 0.4s ease;
}

/* Hover */
.scroll-link:hover {
  letter-spacing: 2px;
  opacity: 1;
}

.scroll-link:hover::after {
  width: 90px;
}

/*===== EFECTO DESVANECIDO ======*/

.video-background::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent, #111);
  z-index: 2;
  pointer-events: none;
}

/* ===== Ajuste móvil HERO ===== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
    line-height: 1.1;
  }

  .hero-copy {
    margin-bottom: 40px;
  }

  .menu-buttons {
    gap: 12px;
  }

  .menu-buttons a {
    width: auto; /* 🔥 más ancho */
    font-size: 30px; /* 🔥 texto más grande */
    padding: 8px 0; /* 🔥 más altos */
    border-radius: 50px;
    letter-spacing: 1px;
  }

  .scroll-link {
    bottom: 30px; /* 🔥 lo bajamos en móvil */
    font-size: 22px;
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); /* 🔥 contraste fuerte */
  }

  .scroll-link::after {
    width: 80px; /* línea un poco más larga */
    background: #ffffff;
  }

  .sidebar {
    transition: left 0.3s ease;
  }
  .social-icons a {
    font-size: 34px;
    /*padding: 1px;*/
  }
  .social-icons {
    gap: 20px; /* más separación */
  }
}

/* ===== INTRO SECCIÓN RESTAURANTES ===== */

.section-intro {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px; /* más pequeño que hero */
  letter-spacing: 2px;
  color: #7fae8c; /* verde elegante tipo Voltereta */
  margin-bottom: 20px;
  opacity: 0.95;
}
.section-intro::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #7fae8c;
  margin: 12px auto 0;
  opacity: 0.6;
}

/* ===== TÍTULO SECCIÓN RESTAURANTES ===== */

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px; /* más pequeño que el hero principal */
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: #7fae8c;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 42px;
    line-height: 1.15;
  }
}

/* ===== DESVANECIDO HERO NOSOTROS ===== */

.hero-nosotros::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  /*background: linear-gradient(to bottom, transparent, #111);*/
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #111 80%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-fade::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, transparent, #111);
  z-index: 2;
  pointer-events: none;
}

/* =========================
BOTÓN FLOTANTE INICIO
========================= */

/* =========================
BOTÓN FLOTANTE INICIO
========================= */

.btn-inicio-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #8b0000;
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  z-index: 9999;

  /* oculto por defecto */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

/* cuando está visible */
.btn-inicio-float.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-inicio-float:hover {
  background-color: #5a0000;
  transform: translateY(-4px);
  color: #fff;
}

@media (max-width: 768px) {
  .btn-inicio-float {
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* ================= STACK VOLTERETA ================= */

/*.stack-section {
background: #eae6df;
padding: 140px 8%;
}*/

.stack-section {
  position: relative;
  padding: 80px 8%;
  overflow: hidden;
  background: url("../galeria/fondo-nosotros1.jpg") center center / cover no-repeat;
}

/*.stack-section::before {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.40); /* oscurece la imagen
z-index: 1;
}*/

.stack-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
}

/* ===== DESVANECIDO FINAL STACK SECTION ===== */

.stack-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;

  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 60%, #111 100%);

  pointer-events: none;
  z-index: 2;
}

.stack-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  position: relative;
  z-index: 2; /* encima del fondo */
}

/* IMÁGENES MÁS PEQUEÑAS */
.image-stack {
  position: relative;
  width: 380px; /* 👈 antes 500px */
  height: 500px; /* 👈 antes 620px */
  flex-shrink: 0;
  z-index: 3; /* encima del fondo */
}

.card {
  position: absolute;
  width: 100%;
  height: 100%;

  /*border-radius: 20px;*/
  border: 1px solid rgba(255, 255, 255, 0.08); /* borde sutil */
  background: #000;

  overflow: hidden;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.25);

  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* Cuando aparece */
.card.visible {
  opacity: 1;
  /*transform: translateY(0) scale(1);*/
}

/* Rotaciones tipo cartas */
.card:nth-child(1) {
  transform: rotate(-8deg);
}
.card:nth-child(2) {
  transform: rotate(4deg);
  left: 15px;
  top: 15px;
}
.card:nth-child(3) {
  transform: rotate(-3deg);
  left: 30px;
  top: 30px;
}
.card:nth-child(4) {
  transform: rotate(6deg);
  left: 45px;
  top: 45px;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTO */
.stack-text {
  max-width: 500px;
  position: relative;
  z-index: 4; /* encima de todo */
}

.stack-text h2 {
  font-size: 58px;
  font-weight: 300;
  color: #556b4f;
  margin-bottom: 25px;
}

.stack-text p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1100px) {
  .stack-container {
    flex-direction: column;
    text-align: center;
  }

  .image-stack {
    margin-bottom: 60px;
  }
}

@media (min-width: 1200px) {
  .image-stack {
    width: 450px;
    height: 600px;
  }
}

/*📱 Más pequeñas en móvil*/
@media (max-width: 767px) {
  .image-stack {
    width: 280px;
    height: 380px;
  }
}

/* ================= HEADER ================= */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20000; /* más alto que cualquier overlay */
}

/* Botón hamburguesa */
.toggle-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 30000;
}

.toggle-btn .bar {
  display: block; /* 🔥 esto es clave */
  width: 30px;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  border-radius: 3px;
}

/* Redes */
.social-icons {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 14px;
  z-index: 11000;
}

.social-icons a {
  color: #fff;
  font-size: 30px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.stack-text .hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px; /* un poco más pequeño que el hero principal */
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 1px;
  color: #7fae8c; /* verde oscuro elegante */
  margin-bottom: 25px;
}

.stack-text p {
  font-size: 22px; /* más grande que antes */
  line-height: 1.5;
  color: #ffffff; /* blanco total */
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .stack-text .hero-title {
    font-size: 48px;
  }

  .stack-text p {
    font-size: 18px;
  }
}

/* ===== TITULO SECCIÓN HISTORIA ===== */

.hero-title-section {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  font-weight: 300;
  color: #7fae8c; /* verde oscuro elegante */
  margin-bottom: 40px;
}

/* ===== TEXTO HISTORIA ===== */

.historia-text {
  max-width: 900px;
  margin: auto;
  font-size: 22px;
  line-height: 1.5;
  color: #ffffff;
  opacity: 0.95;
}

/* ===== MÓVIL ===== */

@media (max-width: 768px) {
  .hero-title-section {
    font-size: 48px;
  }

  .historia-text {
    font-size: 16px;
    line-height: 1.5;
  }

  #historia p {
    font-size: 16px;
    line-height: 1.54;
    padding: 0 10px;
    max-width: 95%;
    /*text-align: center;*/
  }

  #historia h1 {
    font-size: 42px;
    margin-top: 0 !important;
  }

  #historia {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px !important;
    padding-bottom: 60px !important;
  }

  #historia .container {
    padding-left: 8px !important;
    padding-right: 8x !important;
  }

  .stack-section {
    padding-top: 20px !important; /* antes 80px */
    padding-bottom: 60px;
  }

  .stack-container {
    gap: 40px; /* reduce espacio entre imagen y texto */
  }

  .stack-text {
    margin-top: -20px; /* opcional: lo sube un poco más */
  }
}

#historia p {
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
  text-align: left; /* 🔥 justificado */
  text-justify: inter-word;
  /* 👇 Esto reduce los huecos raros */
  word-break: normal;
  margin-bottom: 18px;
  hyphens: none; /* 🔥 evita que parta palabras */
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  /*text-align: center; /* 👈 centrado real */
}

#historia {
  padding: 110px 30px;
  padding-left: 20px;
  padding-right: 20px;
}

#historia h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  font-weight: 300;
  color: #7fae8c; /* verde elegante */
  text-align: center; /* 🔥 centrado */
  margin-bottom: 50px;
}

/* ===== DIFUMINADO HISTORIA ===== */

#historia {
  position: relative;
}

#historia::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;

  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 60%, #000 100%);

  pointer-events: none;
}

@media (min-width: 1200px) {
  #historia p {
    text-align: left;
  }
}

/* ===== UNIFICAR TÍTULOS NOSOTROS ===== */

.stack-text .hero-title,
#historia h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  color: #7fae8c;
}

/* Escritorio */
.stack-text .hero-title,
#historia h1 {
  font-size: 64px;
}

/* Móvil */
@media (max-width: 768px) {
  .stack-text .hero-title,
  #historia h1 {
    font-size: 48px;
  }
}

/* ===== HISTORIA MÁS PEQUEÑA EN MÓVIL ===== */
@media (max-width: 767px) {
  #historia h1 {
    font-size: 34px; /* más equilibrado */
    line-height: 1.2;
    margin-bottom: 30px;
  }

  #historia p {
    font-size: 18px;
    line-height: 1.5;
  }
}

/* ================= TEAM SECTION ================= */

.team-section {
  padding: 50px 30px 110px 30px; /* 🔥 menos arriba, igual abajo */
  background: #000;
  position: relative;
}

.team-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

/* ===== TEXTO ===== */

.team-text {
  max-width: 700px;
}

.team-text .hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  margin-bottom: 50px;
  font-weight: 300;
  color: #7fae8c;
}

.team-text p {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 18px;
  color: #fff;
  opacity: 0.9;
}

/* ===== IMÁGENES ===== */

.team-images {
  position: relative;
  width: 480px;
  height: 600px;
}

/* Imagen principal */
.team-img.main {
  position: absolute;
  width: 100%;
  height: 100%;
  /*border-radius: 20px;*/
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  z-index: 1;
  transform: rotate(6deg) scale(1.02);
  transform-origin: center center;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1100px) {
  .team-container {
    flex-direction: column;
    text-align: left;
  }

  .team-section {
    padding-top: 20px; /* antes 50px */
  }
  .team-images {
    margin-top: 0px;
  }

  .team-text .hero-title {
    font-size: 48px;
  }

  .team-text p {
    font-size: 18px;
  }
}

.team-img {
  cursor: pointer;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* ===== EFECTO MEJORADO EN MÓVIL ===== */
@media (max-width: 768px) {
  .team-images {
    width: 300px; /* antes 480px */
    height: 400px; /* proporción más compacta */
    margin: 0 auto; /* centrada */
  }

  .team-img.main {
    transform: rotate(6deg) scale(1);
    border-radius: 0;
  }
}

/* ===== DIFUMINADO FINAL TEAM SECTION ===== */

.team-section {
  position: relative;
}

.team-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;

  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 60%, #111 100%);

  pointer-events: none;
}

/* ===== UNIFICAR TÍTULOS EN MÓVIL ===== */
@media (max-width: 768px) {
  .hero-title,
  .hero-title-section,
  .team-text .hero-title,
  .stack-text .hero-title,
  #historia h1 {
    font-size: 48px;
    line-height: 1.15;
    letter-spacing: 0.5px;
  }
}

/* ===== EXPERIENCIA (MISMO ESTILO QUE EQUIPO) ===== */

.experiencia-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  font-weight: 300;
  color: #7fae8c;
  margin-bottom: 50px;
}

.experiencia-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.4;
  color: #ffffff;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .experiencia-section h2 {
    font-size: 42px;
    line-height: 1.15;
  }

  .experiencia-section p {
    font-size: 18px;
    line-height: 1.5;
  }
}

/*================= FIN/*

/* ===== AJUSTE HAMBURGUESA SOLO EN PC ===== */
@media (min-width: 992px) {
  .toggle-btn {
    width: 48px;
    height: 48px;
  }

  .toggle-btn .bar {
    width: 42px;
    height: 5px;
  }
  .sidebar a {
    font-size: 22px;
  }
}

/*Fuente mas grande para PC*/
@media (min-width: 1200px) {
  #restaurantes .section-intro {
    font-size: 48px;
  }

  #restaurantes .section-title {
    font-size: 72px;
    line-height: 1.05;
  }

  .menu-buttons a {
    font-size: 38px;
    padding: 18px 44px;
    letter-spacing: 1.5px;
  }
}

/* ===== BOTONES HERO MÁS GRANDES EN PC ===== */
@media (min-width: 992px) {
  .menu-buttons a {
    font-size: 34px;
    padding: 16px 36px;
    border-width: 2px;
  }
}

/*MAS TAMAÑO AL TEXTO DE LAS OPCIONES DEL MENU*/

@media (max-width: 768px) {
  .sidebar a {
    /*font-family: "Cormorant Garamond", serif;*/
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.3;
    padding: 10px 20px; /* antes 16px */
  }

  .sidebar {
    padding: 90px 30px; /* un poco menos ancho */
    gap: 14px;
  }
}

/*Imagenes largas en moviles*/
@media (max-width: 768px) {
  #restaurantes {
    padding-left: 10px;
    padding-right: 10px;
  }

  #restaurantes .container {
    padding-left: 0;
    padding-right: 0;
  }

  .row.g-4 {
    margin-left: 0;
    margin-right: 0;
  }

  .restaurant-card {
    padding: 0;
  }
}

/* ===== NOMBRE RESTAURANTE MÁS ELEGANTE ===== */

.restaurant-card h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 18px;
  margin-bottom: 8px;
  color: #ffffff;
}

.restaurant-card p {
  font-size: 16px;
  opacity: 0.7;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .restaurant-card h4 {
    font-size: 30px;
  }
}

/* ===== Quitar estilo link en cards restaurante ===== */

.restaurant-card,
.restaurant-card:visited,
.restaurant-card:hover,
.restaurant-card:focus,
.restaurant-card:active {
  text-decoration: none !important;
  color: #fff !important;
}

.restaurant-card img {
  width: 100%;
  height: auto;
  border-radius: 0px;

  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 100%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);

  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}

/*PARA EL FOOTER*/

.main-footer {
  background: #000;
  color: #aaa;
  padding: 15px 10px 10px;
  font-size: 14px;
}

/* 🔥 FILA PRINCIPAL */
.footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /*flex-wrap: nowrap;*/
  /* 🔥 CLAVE */
  overflow-x: auto;
  /* 🔥 evita que se rompa */
  flex-wrap: wrap;
}

/* TEXTO */
.footer-contact {
  color: #ccc;
  white-space: wrap;
  font-size: 15px;
}

/* SEPARADOR */
.footer-separator {
  opacity: 0.4;
}

/* ICONOS */
.footer-icons {
  display: flex;
  gap: 10px;
  margin-left: 10px;
}

.footer-icons img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px;
  object-fit: contain;
}

.footer-icons img:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* PARTE INFERIOR */
.footer-bottom {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: #666;
}

img {
  max-width: 100%;
  height: auto;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
}
/*====== ANIMACION AL ENTRAR*/
.sidebar {
  transform: translateX(-40px);
  opacity: 0;
}

.sidebar.active {
  transform: translateX(0);
  opacity: 1;
}

/* ===== FOOTER PRO ===== */

.footer-pro {
  background: #111;
  color: #ddd;
  padding: 30px 40px 30px;
  font-family: "Cormorant Garamond", serif;
}

@media (max-width: 768px) {
  .footer-pro {
    /*padding: 30px 20px 20px; /* 👈 antes 80px arriba */
    padding-top: 20px;
  }
}

/* CONTENEDOR */
.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ===== BRAND ===== */
.footer-brand h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 10px;
}

.footer-brand p {
  opacity: 0.6;
  font-size: 16px;
}

/* ===== LINKS ===== */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #7fae8c;
}

/* ===== SOCIAL ===== */
.footer-social p {
  margin: 6px 0;
  opacity: 0.7;
  cursor: pointer;
}

.footer-social p:hover {
  color: #7fae8c;
}

/* idioma */
.footer-lang {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.6;
}

/* ===== DIVIDER ===== */
.footer-divider {
  margin: 40px 0 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== PARTE FINAL ===== */
.footer-bottom-pro {
  display: flex;
  justify-content: space-between;
  font-family: "Inter", "Segoe UI", sans-serif; /* 👈 NUEVO */
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  opacity: 1;
  font-weight: 400;
  color: #d1d5db; /* 👈 gris claro elegante */
  line-height: 1.6;
  flex-direction: column;
  text-align: center;
}

.footer-bottom-pro p {
  margin: 0;
}

.footer-bottom-pro a {
  color: #9ca3af;
  text-decoration: none;
  transition: 0.3s;
}

.footer-bottom-pro a:hover {
  color: #7fae8c; /* tu verde */
}

.footer-legal {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-legal a {
  color: #aaa;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

/* ===== SUBMENU RESTAURANTES ===== */

.menu-item {
  display: flex;
  flex-direction: column;
}

/* fila principal */
.menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  color: #f5f5f5;
}

/* símbolo + */
.submenu-toggle {
  font-size: 45px;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

/* submenu oculto */
.submenu {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 10px;
  transition: all 0.4s ease;
}

/* links internos */
.submenu a {
  font-size: 18px;
  opacity: 0.8;
}

/* activo */
.menu-item.active .submenu {
  max-height: 200px;
  margin-top: 10px;
}

/* rotación del + */
.menu-item.active .submenu-toggle {
  transform: rotate(45deg);
}

/* ===== GALERÍA PRO LIMPIA ===== */

.galeria-section {
  background: #000;
  padding: 40px 0 52px 0; /* menos arriba */
  margin-top: -40px; /* 🔥 la pega con la sección anterior */
  position: relative;
  overflow: hidden;
}

/* CONTENEDOR */
.galeria-wrapper {
  width: 100%;
  overflow: hidden;
}

/* TRACK */
.galeria-track {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap; /* 🔥 CLAVE: NO BAJA */
  animation: scrollGaleria 45s linear infinite;
  width: max-content;
}

/* IMÁGENES */
.galeria-img {
  height: 260px;
  width: auto; /* 🔥 importante */
  object-fit: cover; /* 🔥 clave */
  border-radius: 14px;
  flex-shrink: 0;
  cursor: pointer;
  background: none; /* opcional para bordes */
}

.galeria-img:hover {
  transform: scale(1.05);
}

/* ANIMACIÓN */
@keyframes scrollGaleria {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* PAUSA AL HOVER */
.galeria-wrapper:hover .galeria-track {
  animation-play-state: paused;
}

/* MÓVIL */
@media (max-width: 768px) {
  .galeria-img {
    width: 220px;
    height: auto;
    object-fit: contain;
  }
  .galeria-track {
    animation: scrollGaleria 45s linear infinite;
  }
}

/*👉 degradado lateral tipo Netflix*/

.galeria-section::before,
.galeria-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.galeria-section::before {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}

.galeria-section::after {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}

/*✅ 2. DIFUMINADO ENTRE RESTAURANTES → GALERÍA*/
.galeria-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 120px;

  background: linear-gradient(
    to bottom,
    #111 0%,
    /* color de restaurantes */ rgba(0, 0, 0, 20) 10%,
    rgba(0, 0, 0, 0.2) 70%,
    transparent 70%
  );

  z-index: 3;
  pointer-events: none;
}

/*✅ 4. AJUSTE DEL TÍTULO (CLAVE)*/

.section-title {
  margin-bottom: 60px;
}

#galeria .section-title {
  margin-bottom: 35px;
  margin-top: 0;
}

/* 🔥 DIFUMINADO SOLO AL FINAL DE LA GALERÍA */
.galeria-wrapper {
  position: relative;
}

.galeria-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;

  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 60%, #000 100%);

  pointer-events: none;
  z-index: 5;
}

/*Ajuste de la posición de la X (ahora sí funciona bien)*/
.cerrar {
  position: absolute;
  top: -12px;
  right: -12px;

  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 22px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  z-index: 10;
}

/*Ampliar imagen en PC*/

@media (min-width: 769px) {
  .galeria-img {
    width: auto;
    height: 320px;
  }
}

/*🔧 1. Baja la altura de los botones*/
@media (max-width: 768px) {
  .menu-buttons {
    gap: 2px; /* 👈 antes 12px */
  }

  .menu-buttons a {
    width: 85%;
    font-size: 26px; /* un poco menos */
    padding: 10px 0; /* 👈 clave */
  }
}

/*CONTRASTE CON MOVIL*/

@media (max-width: 768px) {
  .sidebar {
    width: 82%;
    max-width: 320px;

    background: rgba(10, 10, 10, 0.65);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }
}

/* =========================================
COMING SOON MODAL
========================================= */

.coming-soon-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.72);

  backdrop-filter: blur(14px);

  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.4s ease;

  padding: 20px;
}

.coming-soon-modal.active {
  opacity: 1;
  visibility: visible;
}

.coming-soon-box {
  position: relative;

  width: 100%;
  max-width: 620px;

  padding: 70px 60px;

  border-radius: 34px;

  background: linear-gradient(135deg, rgba(18, 18, 18, 0.96), rgba(8, 8, 8, 0.92));

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);

  text-align: center;

  overflow: hidden;

  transform: translateY(30px) scale(0.96);

  transition: 0.45s ease;
}

.coming-soon-modal.active .coming-soon-box {
  transform: translateY(0) scale(1);
}

.coming-soon-box::before {
  content: "";

  position: absolute;

  inset: 0;

  background: radial-gradient(circle at top, rgba(127, 174, 140, 0.12), transparent 60%);

  pointer-events: none;
}

.coming-soon-mini {
  display: inline-block;

  margin-bottom: 24px;

  color: rgba(127, 174, 140, 0.95);

  letter-spacing: 6px;

  text-transform: uppercase;

  font-size: 13px;

  font-weight: 600;
}

.coming-soon-box h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 82px;

  font-weight: 300;

  line-height: 0.95;

  margin-bottom: 26px;

  color: #fff;
}

.coming-soon-box p {
  max-width: 460px;

  margin: auto;

  font-size: 22px;

  line-height: 1.8;

  color: rgba(255, 255, 255, 0.72);
}

.coming-soon-close {
  position: absolute;

  top: 22px;
  right: 22px;

  width: 46px;
  height: 46px;

  border-radius: 50%;

  border: none;

  background: rgba(255, 255, 255, 0.06);

  color: #fff;

  font-size: 20px;

  cursor: pointer;

  transition: 0.3s ease;
}

.coming-soon-close:hover {
  background: rgba(127, 174, 140, 0.18);

  transform: rotate(90deg);
}

/* MOBILE */

@media (max-width: 768px) {
  .coming-soon-box {
    padding: 60px 28px;
  }

  .coming-soon-box h2 {
    font-size: 58px;
  }

  .coming-soon-box p {
    font-size: 18px;
  }

  .coming-soon-mini {
    letter-spacing: 4px;
  }
}
