html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: Helvetica, Arial, sans-serif;
}

/* Section Titles */
h2.display-5,
h2.display-5.fw-bold {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: #20284C;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-radius: 0 0 2rem 2rem;
}

.hero-section-with-image {
  background-image: url('/images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section-with-image .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.7) 0%, rgba(10, 88, 202, 0.7) 100%);
  z-index: 1;
}

.hero-banner {
  width: 100%;
  display: block;
  padding-top: 90px !important;
  margin-top: 0 !important;
  position: relative;
}

@media (max-width: 991px) {
  .hero-banner {
    padding-top: 85px !important;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    padding-top: 80px !important;
  }
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Banner de Registro */
.registro-banner {
  width: 100%;
  display: block;
  padding-top: 72px !important;
  margin-top: 0 !important;
  position: relative;
}

@media (max-width: 991px) {
  .registro-banner {
    padding-top: 72px !important;
  }
}

@media (max-width: 576px) {
  .registro-banner {
    padding-top: 75px !important;
  }
}

.registro-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cta-section {
  background-color: #20284C;
  color: white;
}

.hero-logo {
  max-height: 300px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.min-vh-50 {
  min-height: 50vh;
}

.hero-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hero-info i {
  font-size: 1.5rem;
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Location and Contact Cards - No hover effect */
.location-card,
.contact-card {
  transition: none;
}

.location-card:hover,
.contact-card:hover {
  transform: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.expositor-card {
  transition: all 0.3s ease;
}

.expositor-card:hover {
  transform: translateY(-8px);
}

.expositor-logo {
  max-height: 100px;
  object-fit: contain;
}

/* Feature Icons */
.feature-icon {
  color: #20284C;
}

.feature-icon i {
  color: #20284C !important;
}

/* Event Dates */
.date-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.date-item:last-child {
  border-bottom: none;
}

/* Location Info */
.location-info p {
  margin-bottom: 0.5rem;
}

.location-info i {
  margin-right: 0.5rem;
  color: #0d6efd;
}

/* Form Styles */
.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Navbar */
.navbar {
  background-color: #20284C !important; /* Azul oscuro */
}

.navbar.fixed-top {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

body {
  padding-top: 0;
}

main {
  padding-top: 0 !important;
}

/* Header Section - Secciones que empiezan después del menú fijo */
section.text-white[style*="background-color: #20284C"],
.page-header-section {
  margin-top: 0 !important;
  padding-top: 90px !important;
}

@media (max-width: 991px) {
  section.text-white[style*="background-color: #20284C"],
  .page-header-section {
    padding-top: 90px !important;
  }
}

@media (max-width: 768px) {
  section.text-white[style*="background-color: #20284C"],
  .page-header-section {
    padding-top: 85px !important;
  }
}

@media (max-width: 576px) {
  section.text-white[style*="background-color: #20284C"],
  .page-header-section {
    padding-top: 95px !important;
  }
}


.navbar-brand {
  font-size: 1.5rem;
}

.navbar-brand img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-brand img {
    max-height: 30px;
  }
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Submenús: unificar color de items (evita azul de enlaces visitados/externos) */
.navbar .dropdown-menu .dropdown-item,
.navbar .dropdown-menu .dropdown-item:link,
.navbar .dropdown-menu .dropdown-item:visited,
.navbar .dropdown-menu .dropdown-item:active {
  color: #212529;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  color: #20284C;
  background-color: #f5f6fa;
}

/* CTA de Registro en navbar */
.navbar .nav-link.nav-registro-cta {
  background-color: #ffffff;
  color: #20284C !important;
  border-radius: 999px;
  padding: 0.55rem 1.05rem !important;
  margin-left: 0.5rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.navbar .nav-link.nav-registro-cta img {
  /* El ícono es claro; lo oscurecemos para fondo blanco */
  filter: brightness(0) saturate(100%);
}

.navbar .nav-link.nav-registro-cta:hover {
  background-color: #f2f2f2;
  color: #20284C !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.navbar .nav-link.nav-registro-cta:focus,
.navbar .nav-link.nav-registro-cta:active {
  color: #20284C !important;
}

@media (max-width: 991px) {
  .navbar .nav-link.nav-registro-cta {
    display: inline-flex;
    width: fit-content;
    margin: 0.5rem 0 0 0;
  }
}

/* Íconos de redes sociales en el navbar */
.navbar .nav-social {
  margin-left: 0.5rem;
  gap: 0.25rem;
}

.navbar .nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.05rem;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar .nav-social-link:hover,
.navbar .nav-social-link:focus {
  background-color: #ffffff;
  color: #20284C;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .navbar .nav-social {
    margin: 0.75rem 0 0 0;
    justify-content: flex-start;
  }
}

/* Íconos de redes sociales en el footer */
.footer-social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-social a,
.footer-social a:link,
.footer-social a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 1.2rem;
  text-decoration: none !important;
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a i {
  color: #ffffff !important;
}

.footer-social a:hover,
.footer-social a:focus,
.footer-social a:hover i,
.footer-social a:focus i {
  background-color: rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}

/* =====================================================
   Página Registro - Aviso para Visitantes
   ===================================================== */
.registro-aviso-visitante {
  border-radius: 12px;
  border: 1px dashed #d8dcec !important;
  background-color: #fafbfd;
}

.registro-aviso-visitante .registro-aviso-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: #20284C;
  color: #ffffff;
  font-size: 1.3rem;
}

.registro-aviso-visitante h6 {
  color: #20284C;
}

.registro-aviso-btn {
  background-color: #20284C;
  color: #ffffff;
  border: 2px solid #20284C;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.registro-aviso-btn:hover,
.registro-aviso-btn:focus {
  background-color: #ffffff;
  color: #20284C;
  transform: translateY(-1px);
}

.registro-gracias-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background-color: rgba(32, 40, 76, 0.08);
  color: #20284C;
  font-size: 2.5rem;
}

/* Footer */
footer a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

/* Statistics */
.stat-item {
  padding: 1.5rem 0;
}

.stat-number {
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Category Cards */
.category-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Industries Cards - Grid de tarjetas pequeñas */
.industry-card {
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.industry-card:hover {
  background-color: #20284C;
  transform: scale(1.05);
  box-shadow: 0 0.5rem 1rem rgba(32, 40, 76, 0.3) !important;
  border-color: #20284C;
}

.industry-card:hover p {
  color: white;
}

.industry-card p {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #20284C;
  margin: 0;
  transition: color 0.3s ease;
}

/* Tarjeta especial "Y más sectores" */
.industry-card-more {
  border: 2px dashed #20284C;
  background-color: #f8f9fa;
}

.industry-card-more:hover {
  background-color: #20284C;
  border-style: solid;
}

/* Gallery Images */
.gallery-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

/* Statistics Images */
.stat-image {
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

/* Package Cards */
.package-card {
  transition: transform 0.3s ease;
}

.package-card:hover {
  transform: translateY(-5px);
}

.package-card .card-header {
  border-radius: 0;
}

.package-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.package-card ul li:last-child {
  border-bottom: none;
}

/* Expositor Section Cards */
.expositor-section-card {
  background-color: white;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
}

.expositor-section-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.expositor-header {
  background-color: #e9ecef;
  padding: 1.5rem;
}

.expositor-header h4 {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  color: #20284C;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.expositor-content {
  padding: 2rem 1.5rem;
}

.expositor-text {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #20284C;
  margin-bottom: 1.5rem;
}

.expositor-divider {
  border: none;
  border-top: 2px solid #20284C;
  margin: 1.5rem auto;
  width: 80%;
}

.expositor-link {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #20284C;
  text-decoration: underline;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.expositor-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Call to Action Final */
.cta-final-section {
  background-color: #20284C;
  background-image: url('/images/BANNER SECUNDARIO HOME.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-final-section h2.display-5 {
  color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section,
  .hero-section-with-image {
    border-radius: 0;
    min-height: auto;
    padding: 3rem 0;
  }
  
  .display-2 {
    font-size: 2.5rem;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero-logo {
    max-height: 200px;
    margin-top: 2rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.5s ease-out;
}

/* Formulario de Registro */
.registro-card {
  font-family: Helvetica, Arial, sans-serif;
}

.registro-header {
  background-color: #20284C !important;
  font-family: Helvetica, Arial, sans-serif;
}

.registro-header h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.registro-body {
  background-color: #EDECF0;
  font-family: Helvetica, Arial, sans-serif;
}

.registro-body .form-label {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #20284C;
}

.registro-body .form-control,
.registro-body .form-select {
  font-family: Helvetica, Arial, sans-serif;
  border-color: #dee2e6;
}

.registro-body .form-control:focus,
.registro-body .form-select:focus {
  border-color: #20284C;
  box-shadow: 0 0 0 0.25rem rgba(32, 40, 76, 0.25);
}

/* Acordeón personalizado */
.accordion-button {
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: #20284C !important;
  color: white !important;
}

.accordion-button.collapsed {
  background-color: #20284C !important;
  color: white !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-item {
  border: none !important;
}

/* Imágenes de "Por qué asistir" sin efecto hover */
.porque-asistir-image-wrapper {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

.porque-asistir-image-wrapper img {
  display: block;
}

.registro-submit-btn {
  background-color: #20284C;
  border-color: #20284C;
  color: white;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.registro-submit-btn:hover {
  background-color: #1a1f3d;
  border-color: #1a1f3d;
  color: white;
}

.registro-cancel-btn {
  border-color: #20284C;
  color: #20284C;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.registro-cancel-btn:hover {
  background-color: #20284C;
  border-color: #20284C;
  color: white;
}

.registro-body .alert {
  font-family: Helvetica, Arial, sans-serif;
}

/* Botón flotante WhatsApp (esquina inferior derecha, siempre visible) */
/* Sin hover: fondo azul, líneas blancas */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #20284C;
  color: white;
  border: 2px solid #20284C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float,
.whatsapp-float:link,
.whatsapp-float:visited {
  background-color: #20284C;
  color: white;
  border-color: #20284C;
}

.whatsapp-float:hover {
  background-color: white;
  color: #20284C;
  border-color: #20284C;
  box-shadow: 0 4px 12px rgba(32, 40, 76, 0.3);
}

/* Animaciones imágenes Planifica tu Visita (¿Qué hacer en Monterrey? y Recomendaciones Gastronómicas) */
.planifica-img-col {
  opacity: 0;
  transform: translateY(24px);
}

.planifica-img-col.animar-entrada {
  animation: planifica-fade-in-up 0.5s ease-out forwards;
}

.planifica-img-col.animar-entrada:nth-child(1) { animation-delay: 0.05s; }
.planifica-img-col.animar-entrada:nth-child(2) { animation-delay: 0.1s; }
.planifica-img-col.animar-entrada:nth-child(3) { animation-delay: 0.15s; }
.planifica-img-col.animar-entrada:nth-child(4) { animation-delay: 0.2s; }
.planifica-img-col.animar-entrada:nth-child(5) { animation-delay: 0.25s; }
.planifica-img-col.animar-entrada:nth-child(6) { animation-delay: 0.3s; }
.planifica-img-col.animar-entrada:nth-child(7) { animation-delay: 0.35s; }
.planifica-img-col.animar-entrada:nth-child(8) { animation-delay: 0.4s; }
.planifica-img-col.animar-entrada:nth-child(9) { animation-delay: 0.45s; }
.planifica-img-col.animar-entrada:nth-child(10) { animation-delay: 0.5s; }
.planifica-img-col.animar-entrada:nth-child(11) { animation-delay: 0.55s; }
.planifica-img-col.animar-entrada:nth-child(12) { animation-delay: 0.6s; }

@keyframes planifica-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover suave en imágenes de Planifica */
.planifica-img-col img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.planifica-img-col:hover img {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(32, 40, 76, 0.2);
}

/* ========== Animaciones Home ========== */
@keyframes home-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes home-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-fade-in-scale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hero banner: entrada suave */
.home-hero-banner {
  animation: home-fade-in 0.8s ease-out;
}

/* Botones hero: aparecen con desfase */
.home-hero-cta .btn {
  opacity: 0;
  animation: home-fade-in-up 0.6s ease-out forwards;
}
.home-hero-cta .btn:nth-child(1) { animation-delay: 0.2s; }
.home-hero-cta .btn:nth-child(2) { animation-delay: 0.35s; }

/* Estadísticas: entrada en cascada */
.home-stat-col {
  opacity: 0;
  animation: home-fade-in-up 0.6s ease-out forwards;
}
.home-stat-col:nth-child(1) { animation-delay: 0.1s; }
.home-stat-col:nth-child(2) { animation-delay: 0.2s; }
.home-stat-col:nth-child(3) { animation-delay: 0.3s; }
.home-stat-col:nth-child(4) { animation-delay: 0.4s; }

/* Sección evento: imagen y texto */
.home-event-img {
  opacity: 0;
  animation: home-fade-in 0.7s ease-out 0.15s forwards;
}
.home-event-text {
  opacity: 0;
  animation: home-fade-in-up 0.7s ease-out 0.25s forwards;
}

/* Título "¿Por qué asistir?" */
.home-features-header {
  opacity: 0;
  animation: home-fade-in-up 0.6s ease-out 0.1s forwards;
}

/* Tarjetas de características: entrada en cascada */
.home-feature-card {
  opacity: 0;
  animation: home-fade-in-up 0.6s ease-out forwards;
}
.home-feature-card:nth-child(1) { animation-delay: 0.2s; }
.home-feature-card:nth-child(2) { animation-delay: 0.35s; }
.home-feature-card:nth-child(3) { animation-delay: 0.5s; }

/* Banner alianza */
.home-banner-alianza {
  opacity: 0;
  animation: home-fade-in 0.8s ease-out 0.2s forwards;
}

/* Títulos sección Alianzas */
.home-alliances-header {
  opacity: 0;
  animation: home-fade-in-up 0.6s ease-out 0.1s forwards;
}

/* CTA final */
.home-cta-final {
  opacity: 0;
  animation: home-fade-in-up 0.7s ease-out 0.15s forwards;
}
.home-cta-final .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-cta-final .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   Modal de Selección de Registro (Visitante / Expositor)
   ===================================================== */
.registro-modal .modal-content {
  border-radius: 18px;
  overflow: hidden;
}

.registro-modal .modal-header .btn-close {
  font-size: 0.9rem;
  opacity: 0.6;
}

.registro-modal .modal-header .btn-close:hover {
  opacity: 1;
}

.registro-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 2px solid transparent;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 280px;
  height: 100%;
}

.registro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(32, 40, 76, 0.22);
}

.registro-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  font-size: 2rem;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.registro-card-title {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.registro-card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.registro-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  transition: gap 0.25s ease;
}

.registro-card:hover .registro-card-cta i {
  transform: translateX(4px);
}

.registro-card-cta i {
  transition: transform 0.25s ease;
}

/* Tarjeta: Visitante (sólida, color primario) */
.registro-card-visitante,
.registro-card-visitante:hover,
.registro-card-visitante:focus,
.registro-card-visitante:active {
  background: linear-gradient(135deg, #20284C 0%, #2d3866 100%);
  color: #ffffff !important;
}

.registro-card-visitante .registro-card-title,
.registro-card-visitante .registro-card-text,
.registro-card-visitante .registro-card-cta {
  color: #ffffff !important;
}

.registro-card-visitante .registro-card-icon {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.registro-card-visitante:hover {
  border-color: #20284C;
}

.registro-card-visitante:hover .registro-card-icon {
  background-color: #ffffff;
  color: #20284C;
  transform: scale(1.08);
}

/* Tarjeta: Expositor (clara con acento) */
.registro-card-expositor {
  background-color: #f6f7fb;
  color: #20284C;
  border-color: #e3e5ee;
}

.registro-card-expositor .registro-card-icon {
  background-color: #20284C;
  color: #ffffff;
}

.registro-card-expositor .registro-card-cta {
  border-top-color: rgba(32, 40, 76, 0.15);
}

.registro-card-expositor:hover {
  border-color: #20284C;
  background-color: #ffffff;
}

.registro-card-expositor:hover .registro-card-icon {
  transform: scale(1.08);
}

@media (max-width: 575.98px) {
  .registro-card {
    min-height: auto;
    padding: 1.75rem 1.25rem;
  }
  .registro-card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
  .registro-card-title {
    font-size: 1.2rem;
  }
}

/* Overlay flotante: dominio legado → sitio oficial */
body.domain-redirect-overlay-open {
  overflow: hidden;
}

.domain-redirect-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.domain-redirect-overlay-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(32, 40, 76, 0.72);
  cursor: pointer;
}

.domain-redirect-floating {
  position: relative;
  z-index: 1;
  width: min(94vw, 960px);
  max-width: 960px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
}

@media (min-width: 1200px) {
  .domain-redirect-floating {
    width: min(92vw, 1100px);
    max-width: 1100px;
  }
}

.domain-redirect-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  opacity: 0.95;
  padding: 0.55rem;
  background-color: rgba(32, 40, 76, 0.55);
  border-radius: 50%;
  filter: invert(1);
}

.domain-redirect-close:hover {
  opacity: 1;
  background-color: rgba(32, 40, 76, 0.85);
}

.domain-redirect-floating-link {
  display: block;
  line-height: 0;
  cursor: pointer;
}

.domain-redirect-floating-link:focus-visible {
  outline: 3px solid #20284C;
  outline-offset: 3px;
}

.domain-redirect-floating-img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.domain-redirect-floating-link:hover .domain-redirect-floating-img {
  opacity: 0.95;
  transform: scale(1.01);
}

@media (max-width: 576px) {
  .domain-redirect-overlay {
    padding: 1rem;
    align-items: center;
    justify-content: center;
  }
  .domain-redirect-floating {
    width: min(96vw, 960px);
    border-radius: 12px;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
  }
  .domain-redirect-floating-img {
    max-height: calc(100dvh - 4rem);
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
