/* =========================================================
   BASE / RESET
   ========================================================= */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: beige;
  color: #111;
  line-height: 1.45;
}

/* =========================================================
   HERO (PORTADA)  — de styles.css
   ========================================================= */
.hero {
  position: relative;
  text-align: center;
  padding: 200px 20px;
  background: url("img/fondo-2.jpg") no-repeat center center/cover;
  color: white;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.hero h1,
.hero p,
.hero a {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.3rem;
  margin-top: -15px;
}
.hero a {
  display: inline-block;
  padding: 12px 28px;
  background: yellow;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: 0.3s;
}
.hero a:hover {
  background: #f5c518;
}

/* =========================================================
   BOTÓN DE IDIOMA (banderas) — de styles.css
   ========================================================= */
.lang-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}
.lang-toggle button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  background: yellow;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.3s;
}
.lang-toggle button:hover {
  background: #f1f1f1;
  transform: translateY(-3px);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
}
.lang-toggle img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 50%;
}

/* =========================================================
   FOOTER / CTA WHATSAPP — de styles.css
   ========================================================= */
.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: yellow;
  text-align: center;
  padding: 12px;
  z-index: 999;
}
.footer-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.footer-button:hover {
  color: #25d366;
}
.footer-button i {
  font-size: 18px;
}

/* Animaciones comunes — de styles.css */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   ENCABEZADO DE PÁGINA (centrado)
   ========================================================= */
header.encabezado-pagina {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem 0.5rem;
}

header.encabezado-pagina h1 {
  margin: 0 auto;
  display: block;
  text-align: center;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
}

/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem;
}

/* =========================================================
   SECCIONES / TARJETAS (negocio)
   ========================================================= */
.negocio {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.negocio-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
}

.negocio-desc {
  margin: 0.5rem 0 0;
  color: #555;
  text-align: center;
}

.negocio-info {
  text-align: center;
}

.negocio-contacto {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.negocio-contacto li {
   display: flex;           /* cada item en fila con alineación */
   align-items: center;     /* centrado vertical */
   margin: 4px 0;           /* espacio entre ellos */
}

.negocio-contacto strong {
  width: 90px;             /* alinear títulos */
  flex-shrink: 0;          /* evita que se encoja */
}

/* Foto fija “tarjeta móvil” */
.foto-fija {
  width: 200% !important;
  max-width: 360px !important;
  height: 280px !important;
  margin: 0 auto 0.75rem !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #000 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
}
.foto-fija img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Grid de imágenes pequeñas dentro de .negocio */
.negocio .imagenes {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0.5rem;
}
.negocio .imagenes img {
  width: 32%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.negocio .imagenes img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Galería horizontal con snap */
.galeria-horizontal {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px;
  scroll-snap-type: x mandatory;
}
.galeria-horizontal img {
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  scroll-snap-align: center;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   BOTONES / CAJAS (YouTube, SMS, Siguiente, Volver)
   ========================================================= */
/* Botones YouTube — de styles.css */
.custom-youtube-btn,
.youtube-btn {
  display: inline-block;
  background: #ff4c4c;
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.custom-youtube-btn:hover {
  background: #c0392b;
}
.youtube-btn {
  background: #e53935;
}
.youtube-btn:hover {
  background: #c62828;
}

/* Caja YouTube — de styles-dir.css */
.youtube-box {
  max-width: 400px;
  margin: 20px auto;
  padding: 15px 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.youtube-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.youtube-box a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ff0000;
  font-weight: 700;
  font-size: 18px;
}
.youtube-box img {
  width: 32px;
  height: 32px;
}

/* Enlace SMS */
.sms-link {
  display: inline-block;
  background: #fff8e1;
  color: #a67c00;
  padding: 6px 14px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.2s;
  margin-top: 6px;
}
.sms-link:hover {
  background: #ffecb3;
  transform: scale(1.05);
}

/* Botón “Siguiente” */
.siguiente-seccion {
  text-align: center;
  margin-top: 40px;
}
.btn-siguiente {
  display: inline-block;
  padding: 12px 24px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  transition: background-color 0.3s, transform 0.2s;
}
.btn-siguiente:hover {
  background: #555;
  transform: translateY(-2px);
}
.flecha {
  margin-left: 8px;
  font-size: 18px;
}

/* Botón “Volver” */
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}
.back-button {
  padding: 12px 28px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  border-radius: 8px;
  transition: all 0.3s;
}
.back-button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* =========================================================
   TARJETA CON IMAGEN GRANDE (opcional)
   ========================================================= */
.card.real {
  display: block;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 25px;   /* 👈 aumenta separación (antes estaba más chico) */
}
.card.real img {
  width: 90%;
  height: 280px;
  object-fit: cover;
}
.card.real .content {
  padding: 1.2rem 1rem 1.5rem;
}
.card.real h3 {
  margin: 0;
  color: #333;
  font-size: 1.2rem;
  text-decoration: underline;
}
.card.real p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #666;
}
.card.real:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 768px) {
  .container.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
}
@media (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
  }
}

/* =========================================================
   “KILL SWITCH” (por si queda algún estilo viejo pisando)
   ========================================================= */
section.negocio .foto-fija {
  width: 90% !important;
  max-width: 360px !important;
  height: 280px !important;
  margin: 0 auto 0.75rem !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #000 !important;
}
section.negocio .foto-fija img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ===== LOCK: Foto fija móvil (gana sí o sí) ===== */
:root{
  --foto-ancho: 90%;
  --foto-max: 360px;
  --foto-alto: 280px;
}

/* Contenedor de la foto */
section.negocio .foto-fija{
  width: var(--foto-ancho) !important;
  max-width: var(--foto-max) !important;
  height: var(--foto-alto) !important;
  margin: 0 auto .75rem !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #000 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
}

/* Imagen dentro (elige COVER o CONTAIN) */
section.negocio .foto-fija img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;   /* <- usa contain si la quieres COMPLETA sin recorte */
  display: block !important;
}

/* Ajuste para que Swiper no agrande las fotos fijas */
.nuyorkina-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 360px !important;
  height: auto !important;
}

/* Centrar absolutamente todo el bloque de info */
section.negocio .negocio-info {
  text-align: center !important;
}

/* Quitar sangría del UL y centrarlo como bloque */
section.negocio .negocio-contacto {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1rem auto 0 !important;
  text-align: center !important;
  display: inline-block;        /* hace que el UL ocupe solo su contenido y se centre */
}

/* Separación pareja de cada fila */
section.negocio .negocio-contacto li {
  margin: 0.25rem 0 !important;
}

header.encabezado-pagina {
  width: 100%;
  display: flex;
  justify-content: center;  /* centra horizontal */
  align-items: center;      /* centra vertical (si el header tiene altura) */
  text-align: center;
}

header.encabezado-pagina h1 {
  margin: 0;
  text-align: center;
}

/* --- CENTRAR HEADER A LA FUERZA --- */
body > header.encabezado-pagina {
  width: 100% !important;
  min-height: 64px;                 /* opcional, para que se note el centro vertical */
  display: grid !important;         /* más fuerte que flex para centrar 1 hijo */
  place-items: center !important;   /* centra horizontal y vertical */
  text-align: center !important;
  margin: 0 !important;
  padding: 1.25rem 1rem 0.5rem !important; /* conserva tu padding */
}

body > header.encabezado-pagina h1 {
  margin: 0 !important;
  text-align: center !important;
  font-size: clamp(28px, 5vw, 36px) !important; /* mantiene tu tamaño responsivo */
  font-weight: 800 !important;
}

/* --- BOTÓN AZUL CÁPSULA --- */
a.btn-blue,
a.btn-blue:link,
a.btn-blue:visited,
a.btn-blue:active {
  display: inline-block !important;
  padding: 14px 36px !important;
  background: linear-gradient(to bottom, #4da9ff, #0066cc) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  border: 2px solid #004c99 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
}

a.btn-blue:hover {
  background: linear-gradient(to bottom, #66bfff, #004c99) !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.4) !important;
}

/* === Override: ampliar foto en Orquestas === */
body .negocio .foto-fija {
  width: 100% !important;      /* ocupa el ancho disponible del card */
  max-width: 640px !important; /* súbelo a 640–720px si la quieres más ancha */
  height: 280px !important;    /* conservas la altura */
  margin: 0 auto .75rem !important;
}

/* Separar el botón de la lista de contacto */
.negocio-boton {
  margin-top: 1rem !important;  /* ~16px de espacio; puedes subirlo a 1.5rem */
}

/* Ajuste de tamaño del botón azul */
a.btn-blue {
  padding: 10px 18px !important;   /* más pequeño que 14x36 */
  font-size: 1rem !important;      /* un poquito más chico el texto */
}

/* ——— Botón un poco más pequeño solo en las tarjetas de negocio ——— */
section.negocio .negocio-boton a.btn-blue {
  padding: 8px 18px !important;   /* antes 14px 36px */
  font-size: 0.95rem !important;  /* antes 1.1rem */
  border-radius: 40px !important; /* mantiene estilo cápsula, un pelín menor */
}

/* separar un poco más del Facebook por si acaso */
section.negocio .negocio-boton { 
  margin-top: 1.25rem !important;
}

/* Ajuste responsive para el botón azul */
@media (max-width: 600px) {
  section.negocio .negocio-boton a.btn-blue {
    padding: 8px 16px !important;   /* más compacto en móviles */
    font-size: 0.9rem !important;   /* letra un poco más chica */
  }
}

.boton-youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #FF0000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background 0.3s ease;
}

.boton-youtube:hover {
  background-color: #cc0000;
}

.icono-youtube {
  width: 20px;
  height: 20px;
}
