/* ================= VARIABLES ================= */
:root {
  --rojo: #d81f26;
  --rojo-oscuro: #b6161c;
  --alto-nav: 160px;
}

/* ================= BASE ================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  line-height: 1.6;
}

/* ================= FIX NAV + ANCLAS ================= */
section {
  scroll-margin-top: var(--alto-nav);
}

/* ================= BOTONES ================= */
.btn-copa-inka,
.btn-whatsapp {
  margin-top: 30px;
}

.btn-copa-inka {
  background: var(--rojo);
  color: #fff;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

.btn-copa-inka:hover {
  background: var(--rojo-oscuro);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
}

/* ================= NAV ================= */
.nav-secciones {
  position: sticky;
  top: 0;
  background: #fff;
  align-items: center;
  border-bottom: 1px solid #eee;
  z-index: 9999;
}

/* LOGO */
.logo-nav img {
  max-width: 50px;
  object-fit: contain;
}

/* LINKS */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--rojo);
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 4px;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--rojo);
  color: #fff;
}

.nav-spacer {
  width: 58px;
}

/* ================= HERO ================= */
.hero-horeca {
  text-align: center;
}

.hero-horeca h3 {
  font-size: 34px;
  font-weight: 900;
  max-width: 750px;
  margin: auto;
}

/* ================= FERIA ================= */
#feria {
  padding: 150px 0;
  background: var(--rojo);
  text-align: center;
}

#feria h3 {
  margin-bottom: 70px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
}

/* GRID */
.cards-feria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* CARD */
.card-feria {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* HOVER */
.card-feria:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

/* IMAGEN */
.card-feria img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* CONTENIDO */
.card-feria p {
  padding: 20px 18px 26px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* TITULO */
.card-feria p strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: #000;
}
/* ================= RUBROS ================= */
.rubros {
  padding: 150px 0;
  text-align: center;
}

.rubros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.rubro {
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.rubro h6 {
  font-size: 16px;
  font-weight: 900;
  color: var(--rojo);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.rubro ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rubro ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
}

.rubro ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--rojo);
  font-weight: bold;
}

/* ================= CAMPEONATOS ================= */
.campeonatos {
  padding: 150px 0;
  background: #f6f6f6;
}

.campeonatos h3 {
  text-align: center;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 70px;
  letter-spacing: 2px;
}

/* GRID */
.campeonatos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
}

/* CARD */
.campeonato-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.campeonato-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}

/* IMAGEN */
.campeonato-img img {
  width: 100%;
  height: 250px;           /* 🔴 MEDIDA IDEAL */
  object-fit: cover;
  display: block;
}

/* CONTENIDO */
.campeonato-card h6 {
  padding: 22px 22px 10px;
  font-size: 15px;
  font-weight: 900;
  color: var(--rojo);
  text-transform: uppercase;
}

.campeonato-card p {
  padding: 0 22px 26px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}


/* ================= COPA INKA ================= */
.copa-inka {
  margin: 160px auto;
  padding: 80px 70px;
  max-width: 1000px;
  border: 1px solid #eee;
  border-radius: 20px;
  background: #fff;
}

.copa-inka h3 {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  color: var(--rojo);
  margin-bottom: 50px;
}

.copa-inka-flex {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
}

.copa-inka-flex img {
  max-width: 420px;
  width: 100%;
  border-radius: 12px;
}

.copa-inka-texto {
  max-width: 460px;
}

.copa-inka-texto h4 {
  font-size: 22px;
  font-weight: 900;
  color: #111;
  margin-bottom: 18px;
}

.copa-inka-texto p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}
/* ================= SÉ EXPOSITOR ================= */
.bloque-expositor { background: var(--rojo); padding: 100px 20px; text-align: center; } .bloque-expositor h3 { color: #fff; font-size: 28px; font-weight: 900; letter-spacing: 2px; } .bloque-expositor h2 { color: 777777; font-size: 36px; font-weight: 900; margin-bottom: 30px; } .btn-expositor { display: inline-block; background: #fff; color: var(--rojo); font-weight: 900; padding: 14px 34px; border-radius: 6px; text-decoration: none; margin-bottom: 18px; } .btn-plano { display: inline-block; border: 2px solid 777777; color: #fff; font-weight: 800; padding: 12px 30px; border-radius: 6px; text-decoration: none; } .descuento { color: #fff; margin-bottom: 18px; font-size: 14px; }

/* ================= SEDE ================= */
.sede {
  padding: 120px 20px;
}

.sede-titulo {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 60px;
}

.sede-flex {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.sede-img img {
  width: 414px;
  border-radius: 12px;
}

.sede-texto {
  max-width: 500px;
}

.sede-texto h4 {
  font-size: 22px;
  margin-bottom: 18px;
}

.sede-texto h4 span {
  color: var(--rojo);
}
/* ================= FOOTER ================= */
.footer-horeca {
  background: var(--rojo);
  color: #fff;
  padding: 55px 20px; /* ⬅️ más aire como el nav */
}

.footer-flex {
  display: grid;
  grid-template-columns: 280px 1fr; /* ⬅️ fija el espacio del logo */
  align-items: center;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo img {
  width: 260px;        /* MISMO ancho que el NAV */
  height: 120px;       /* MISMA altura que el NAV */
  object-fit: contain;
  display: block;
}

.footer-contacto {
  text-align: center;
}

.footer-contacto div {
  margin-bottom: 10px;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .footer-flex {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo img {
    width: 200px;
    height: auto;
  }
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .footer-flex {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo img {
    width: 150px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  /* NAV */
  .nav-secciones {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .nav-spacer {
    display: none;
  }

  /* COPA INKA */
  .copa-inka-flex {
    flex-direction: column;
    text-align: center;
  }

  /* EXPOSITOR Y SEDE */
  .expositor-flex,
  .sede-flex {
    flex-direction: column;
    text-align: center;
  }

  .expositor-img img,
  .sede-img img {
    width: 100%;
    max-width: 350px;
  }

  .expositor-texto,
  .sede-texto {
    width: 100%;
  }

  /* FOOTER */
  .footer-flex {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo img {
    max-width: 100%;
  }

  .footer-contacto {
    justify-self: center;
  }
}
/* ================= esto es nuevo -  TITULOS UNIFICADOS FERIA ================= */

/* Titulos principales de secciones */
section h3,
.sede-titulo,
.campeonatos h3,
.copa-inka h3,
.bloque-expositor h3 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
  position: relative;
}

/* Línea decorativa elegante */
section h3::after,
.sede-titulo::after,
.campeonatos h3::after,
.copa-inka h3::after,
.bloque-expositor h3::after {
  content: "";
  width: 70px;
  height: 4px;
  background: var(--rojo);
  display: block;
  margin: 18px auto 0;
}

/* Titulos sobre fondo rojo */
#feria h3,
.bloque-expositor h3 {
  color: #fff;
}

#feria h3::after,
.bloque-expositor h3::after {
  background: #fff;
}

/* Subtítulos internos */
h4 {
  font-weight: 900;
  letter-spacing: 1px;
}

/* Títulos pequeños (cards, rubros, campeonatos) */
h6 {
  letter-spacing: 1px;
}

/* ================= WHATSAPP FLOTANTE ================= */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 99999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

.whatsapp-float img {
  width: 34px;
}

.whatsapp-float {
  border: 3px solid #fff;
}

.whatsapp-float::after {
  content: "¿Hablamos?";
  position: absolute;
  right: 72px;
  background: #25d366;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: 0.3s;
}

.whatsapp-float:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ====== AJUSTE REAL TITULOS (VISIBLE) ====== */
section > .container > h3,
.sede-titulo {
  padding-bottom: 14px;
}

/* Línea decorativa visible */
section > .container > h3::after,
.sede-titulo::after {
  content: "";
  width: 90px;
  height: 5px;
  background: currentColor; /* usa blanco o rojo según sección */
  display: block;
  margin: 22px auto 0;
  border-radius: 3px;
}
/* ================= AJUSTE DE ESPACIADOS (≈30% MENOS) ================= */
#feria {
  padding: 100px 0;
}

.rubros {
  padding: 100px 0;
}

.campeonatos {
  padding: 100px 0;
}

.copa-inka {
  margin: 110px auto;
  padding: 70px 60px;
}

.bloque-expositor {
  padding: 80px 20px;
}

/* ================= FIX COLORES SÉ EXPOSITOR ================= */
/* Fondo rojo → texto blanco */
.bloque-expositor h2,
.bloque-expositor h3,
.bloque-expositor p,
.bloque-expositor span {
  color: 18171c !important;
}

/* Línea decorativa en blanco */
.bloque-expositor h3::after {
  background: 18171c !important;
}

/* =====================================================
   FIX DEFINITIVO SÉ EXPOSITOR (TODO BLANCO)
===================================================== */
.bloque-expositor * {
  color: a2a2a2 !important;
}

.bloque-expositor h3::after {
  background: a2a2a2 !important;
}


/* =====================================================
   RUBROS PARTICIPANTES – 5 BLOQUES EN HORIZONTAL
===================================================== */

/* Desktop: fuerza 5 columnas exactas */
@media (min-width: 1024px) {
  .rubros-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Ajuste visual para que no se vean apretados */
.rubro {
  min-height: 100%;
}

/* Tablet: baja a 2–3 columnas (natural) */
@media (max-width: 1023px) {
  .rubros-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.btn-expositor {
  background-color: #fff; /* Fondo blanco */
  color: #c0392b; /* Texto negro */
  border: 1px solid #1f4aa8; /* Borde negro */
  font-weight: 900; /* Negrita */
  padding: 14px 34px; /* Espaciado */
  border-radius: 6px; /* Bordes redondeados */
  text-decoration: none; /* Sin subrayado */
  display: inline-block; /* Para que se comporte como un botón */
  transition: background-color 0.2s, color 0.2s; /* Transición suave */
}

.btn-expositor:hover {
  background-color: a2a2a2; /* Mantiene fondo blanco al pasar el cursor */
  color: #000; /* Mantiene texto negro al pasar el cursor */
}

/* BOTÓN FLOTANTE 20% */
.btn-descuento-float {
  position: fixed;
  bottom: 100px; /* para que no choque con WhatsApp */
  right: 22px;
  width: 90px;
  height: 90px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 99998; /* casi igual que WhatsApp */
  animation: pulse 1.8s infinite;
}

.btn-descuento-float:hover {
  transform: scale(1.1);
  background: #b8000f;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.btn-descuento-float {
  animation: pulse 1.8s infinite;
}
