/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

/*========================================
  TABLA DE CONTENIDOS
==========================================
  1. RESET Y CONFIGURACIÓN BASE
  2. TIPOGRAFÍA
  3. NAVEGACIÓN
  4. FOOTER
  5. SECCIONES Y TÍTULOS
  6. COUNTDOWN (TEMPORIZADOR)
  7. PRICING (CUOTAS Y PRECIOS)
  8. TARJETAS DE CONFERENCISTAS
  9. DESCUENTOS Y PROMOCIONES
  10. SECCIÓN DE INVITACIÓN
  11. CAROUSEL
  12. RESPONSIVE
==========================================*/

/*========================================
  1. RESET Y CONFIGURACIÓN BASE
==========================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  /* ~16px base */
  line-height: 1.6;
  color: #333;
}

/* Container principal */
.container {
  width: 75vw;
  max-width: 1700px;
  min-width: 320px;
  margin: auto;
}

/*========================================
  2. TIPOGRAFÍA
==========================================*/

/* Clases de fuente Mukta Mahee */
.mukta-mahee-extralight {
  font-family: "Mukta Mahee", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.mukta-mahee-light {
  font-family: "Mukta Mahee", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.mukta-mahee-regular {
  font-family: "Mukta Mahee", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.mukta-mahee-medium {
  font-family: "Mukta Mahee", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.mukta-mahee-semibold {
  font-family: "Mukta Mahee", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.mukta-mahee-bold {
  font-family: "Mukta Mahee", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.mukta-mahee-extrabold {
  font-family: "Mukta Mahee", sans-serif;
  font-weight: 800;
  font-style: normal;
}

/* Títulos principales */
h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

/* Subtítulos */
h2,
h3,
h5 {
  font-family: 'mukta-mahee-extralight', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

/* Párrafos */
p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1rem);
  margin-bottom: 1rem;
}

/*========================================
  3. NAVEGACIÓN
==========================================*/

/* Barra de navegación */
.navbar {
  background: linear-gradient(135deg, #0097b2 0%, #0097b2 100%) !important;
}

/* Pestañas del menú */
.nav-tabs .nav-link:hover {
  color: #000;
  background-color: #0c2d59 !important;
}

/*========================================
  4. FOOTER
==========================================*/

#footer {
  padding: 0 0 30px 0;
  color: #d0d0d0;
  font-size: 14px;
  background: #111111;
}

#footer .footer-newsletter {
  padding: 30px 0;
  background: #111111;
  text-align: center;
  font-size: 15px;
  color: #fff;
}

#footer .footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 5px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px 3px 20px;
  background: #4eb478;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 5px 5px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: #45a36c;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #1b1b1b;
  color: #fff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h4 {
  font-size: 22px;
  margin: 0 0 30px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #b7b7b7;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #0097b2;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #aaaaaa;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #0097b2;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #373737;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #0097b2;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  float: right;
  text-align: center;
  font-size: 13px;
}

/*========================================
  5. SECCIONES Y TÍTULOS
==========================================*/

.section-bg {
  background-color: #fafdfb;
}

.section-title {
  text-align: center;
  padding: 5px;
  position: relative;
}

.section-title h2 {
  font-size: 6vh;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 0;
  color: #006198;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 2vw;
  color: #f4f4f4;
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 12px;
  line-height: 0;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  color: #006198;
  font-size: 5vh;
  font-weight: 700;
}

/* Imagen conferencista en forma circular */
.imagen_redonda {
  width: 120px;
  height: 120px;
  border-radius: 150px;
}

/*========================================
  6. COUNTDOWN (TEMPORIZADOR)
==========================================*/

.countdown-section {
  padding: 30px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.countdown-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
}

.countdown-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 1s ease;
}

.countdown-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  font-weight: 300;
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease;
}

.countdown-item {
  background: linear-gradient(135deg, #0097b2 0%, #0097b2 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 25px;
  min-width: 140px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: scaleIn 0.6s ease forwards;
  opacity: 0;
}

.countdown-item:nth-child(1) {
  animation-delay: 0.1s;
}

.countdown-item:nth-child(3) {
  animation-delay: 0.2s;
}

.countdown-item:nth-child(5) {
  animation-delay: 0.3s;
}

.countdown-item:nth-child(7) {
  animation-delay: 0.4s;
}

.countdown-item:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.countdown-number {
  font-size: 4rem;
  font-weight: 900;
  color: white;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.countdown-label {
  font-size: 1rem;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Poppins', sans-serif;
}

.countdown-separator {
  font-size: 3rem;
  color: white;
  font-weight: 700;
  padding: 0 10px;
}

.event-message {
  text-align: center;
  padding: 40px;
  animation: messageAppear 1s ease;
}

.message-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: bounce 1s infinite;
}

.event-message h3 {
  font-size: 3rem;
  color: white;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.event-message p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
}

/* Animaciones del countdown */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes messageAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/*========================================
  7. PRICING (CUOTAS Y PRECIOS)
==========================================*/

.pricing-section {
  margin-bottom: 80px;
}

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

.pricing-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.pricing-card.featured {
  border: 3px solid #0097b2;
}

.pricing-card.featured::before {
  content: "Mejor Precio";
  position: absolute;
  top: 20px;
  right: -35px;
  background: #9aca3c;
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-header {
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

.card-header.primary {
  background: linear-gradient(135deg, #0F2E74 0%, #1e40af 100%);
}

.card-header.secondary {
  background: linear-gradient(135deg, #0F2E74 0%, #1e40af 100%);
}

.card-header.tertiary {
  background: linear-gradient(135deg, #0F2E74 0%, #1e40af 100%);
}

.card-header h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.card-body {
  padding: 40px 30px;
  text-align: center;
}

.price {
  font-size: 1.7rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
}

.price .currency {
  font-size: 1.2rem;
  color: #718096;
  font-weight: 400;
}

.price-details {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.price-details li {
  padding: 12px 0;
  color: #4a5568;
  font-size: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.price-details li:last-child {
  border-bottom: none;
}

.price-details li strong {
  color: #2d3748;
}

.badge {
  display: inline-block;
  padding: 5px 15px;
  background: #48bb78;
  color: white;
  border-radius: 20px;
  font-size: 1.2rem;
  margin-top: 10px;
  font-weight: 500;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 95%;
  margin-top: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(60, 126, 202, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #48BB78 0%, #48BB78 100%);
  box-shadow: 0 6px 20px rgba(154, 202, 60, 0.6);
  transform: translateY(-2px);
}

.btn-dark:hover {
  background: linear-gradient(135deg, #48BB78 0%, #48BB78 100%);
  box-shadow: 0 6px 20px rgba(154, 202, 60, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/*========================================
  8. TARJETAS DE CONFERENCISTAS
==========================================*/

.section-cards {
  margin-bottom: 60px;
}

.mode-label {
  display: block;
  background: linear-gradient(135deg, #0F2E74 0%, #2a5298 100%);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 50px auto;
  width: fit-content;
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
  letter-spacing: 1px;
}

.card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* Aspect ratio 1:1 (cuadrado) */
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.08);
}

.card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 15px;
  line-height: 1.4;
  min-height: 30px;
}

.card-text {
  font-size: 1rem;
  color: #5a6c7d;
  line-height: 1.3;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify !important;
}

.row {
  display: flex;
  align-items: stretch;
}

/*========================================
  9. DESCUENTOS Y PROMOCIONES
==========================================*/

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.btn-custom {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-virtual,
.btn-virtual:hover,
.btn-virtual:focus,
.btn-virtual:active,
.btn-virtual:focus-visible {
  background-color: #0F2E74 !important;
  color: white !important;
  border-color: #0F2E74 !important;
}

.btn-presencial,
.btn-presencial:hover,
.btn-presencial:focus,
.btn-presencial:active,
.btn-presencial:focus-visible {
  background-color: #0097b2 !important;
  color: white !important;
  border-color: #0097b2 !important;
}

.discount-box {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-left: 4px solid #0097b2;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.discount-title {
  color: #0097b2;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.discount-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
}

.membership-notice {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe0b2 100%);
  border-left: 5px solid #ff9800;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.btn-payment {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.btn-payment:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  color: white;
}

/*========================================
  10. SECCIÓN DE INVITACIÓN
==========================================*/

.invitation-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
  padding: 60px 0;
}

.invitation-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  margin: 0;
  padding-left: 10px;
}

.invitation-image {
  overflow: hidden;
  height: 100%;
  transform: translateY(0);
  transition: transform 280ms ease;
  will-change: transform;
}

.invitation-image:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.invitation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.invitation-content {
  padding: 40px 45px;
  transform: translateY(0);
  transition: transform 280ms ease;
  will-change: transform;
}

.invitation-content:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.invitation-content span {
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: uppercase;
}

.invitation-title {
  color: #1e3c72;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.invitation-text {
  text-align: justify;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 20px;
}

.invitation-text strong {
  color: #2d3748;
  font-weight: 600;
}

.invitation-img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*========================================
  11. CAROUSEL
==========================================*/

.carousel-item {
  min-height: 100px;
  background: no-repeat scroll center scroll;
  -webkit-background-size: cover;
  background-size: cover;
}

.carousel-item::before {
  content: "";
  display: block;
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #000;
  opacity: 0.7;
}

.carousel-caption {
  bottom: 280px;
  padding-left: 100px;
  padding-right: 100px;
}

.carousel-caption h5 {
  font-size: 55px;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 18px;
  top: 2rem;
}

.slider-btn {
  margin-top: 30px;
}

.slider-btn .btn {
  background-color: #e74c3c;
  color: white;
  border-radius: 2px;
  padding: 1.5rem 2rem;
  font-size: 1rem;
  margin-right: 15px;
}

.slider-btn .btn-2 {
  color: #111010;
  background-color: white;
}

/*========================================
  12. RESPONSIVE
==========================================*/

/* Tablets grandes (hasta 1200px) */
@media (max-width: 1200px) {
  .section-title h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 6vh;
  }

  .card-img-wrapper {
    padding-top: 100%;
  }

  .invitation-content {
    padding: 35px 40px;
  }
}

/* Tablets (hasta 992px) */
@media (max-width: 991.98px) {
  .invitation-section {
    padding: 40px 0;
  }

  .invitation-card {
    flex-direction: column;
  }

  .invitation-image {
    height: 150px;
  }

  .invitation-content {
    padding: 35px 30px;
  }

  .card-img-wrapper {
    padding-top: 100%;
  }

  .card-title {
    font-size: 1.15rem;
    min-height: 55px;
  }
}

/* Móviles grandes (hasta 768px) */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price {
    font-size: 2.5rem;
  }

  .countdown-title {
    font-size: 2.2rem;
  }

  .countdown-number {
    font-size: 2.5rem;
  }

  .countdown-item {
    min-width: 100px;
    padding: 20px 15px;
  }

  .countdown-separator {
    font-size: 2rem;
    padding: 0 5px;
  }

  .event-message h3 {
    font-size: 2rem;
  }

  .message-icon {
    font-size: 3.5rem;
  }

  .invitation-section {
    padding: 30px 0;
  }

  .invitation-image {
    height: 280px;
  }

  .invitation-content {
    padding: 30px 25px;
  }

  .invitation-title {
    margin-bottom: 20px;
  }

  .invitation-text {
    margin-bottom: 16px;
  }

  .invitation-img {
    max-width: 100%;
  }

  .card-img-wrapper {
    padding-top: 100%;
  }

  .card-title {
    font-size: 1.1rem;
    min-height: auto;
  }

  .mode-label {
    font-size: 1.3rem;
    padding: 10px 25px;
  }

  .card-body {
    padding: 20px;
  }
}

/* Móviles pequeños (hasta 576px) */
@media (max-width: 576px) {
  .invitation-section {
    padding: 20px 0;
  }

  .invitation-card {
    border-radius: 8px;
  }

  .invitation-image {
    height: 220px;
  }

  .invitation-content {
    padding: 25px 20px;
  }

  .invitation-text {
    text-align: left;
    margin-bottom: 14px;
  }

  .card-img-wrapper {
    padding-top: 85%;
  }

  .card-title {
    font-size: 1.05rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  .btn-primary {
    padding: 10px 25px;
    font-size: 0.85rem;
  }
}

/* Móviles muy pequeños (hasta 375px) */
@media (max-width: 375px) {
  .invitation-image {
    height: 200px;
  }

  .invitation-content {
    padding: 20px 15px;
  }

  .card-img-wrapper {
    padding-top: 80%;
  }

  .mode-label {
    font-size: 1.1rem;
    padding: 8px 20px;
  }
}

@media (max-width: 400px) {
  .card-img-wrapper {
    padding-top: 80%;
  }
}

@media screen and (min-width: 300px) {
  .carousel-item {
    max-height: 700px;
  }
}

/*========================================
  13. BIOGRAFIAS DE CONFERENCISTAS
==========================================*/

.bio-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.bio-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}


/*========================================
  14. VENTANA MODAL FORMA DE PAGO
==========================================*/
#pago .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

#pago .modal-header {
  padding: 1.5rem;
}

#pago .modal-body {
  background-color: #ffffff;
}

#pago .payment-section h5 {
  font-weight: 200;
  color: #0F2E74;
}

#pago .card {
  transition: transform 0.2s ease;
}

#pago .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#pago .alert-info {
  background-color: #e7f3ff;
  color: #004085;
}

#pago hr {
  opacity: 0.1;
}

/* Responsive */
@media (max-width: 576px) {
  #pago .modal-dialog {
    margin: 0.5rem;
  }

  #pago .modal-body {
    padding: 1.5rem;
  }
}

/*========================================
  15. PROGRAMA TECNICO
==========================================*/
/*
    ═══════════════════════════════════════════════════════════════
      ESTILOS 100% AISLADOS — Solo afectan a .agenda-page
      Ninguna regla aquí toca el html, body ni selectores globales.
      Pega este bloque <style> en tu página sin miedo a conflictos.
    ═══════════════════════════════════════════════════════════════
    */

/* ── Variables CSS LOCALES (no en :root, sino en el contenedor) ── */
.agenda-page {
  /* Paleta y tokens */
  --brand-900: #0c2d59;
  /* Título principal / acentos oscuros */
  --brand-600: #0f447f;
  /* Hover / variantes */
  --accent-500: #0097b2;
  /* Encabezados de tabla / descansos */
  --danger-500: #D10038;
  /* REGISTRO */
  --text-900: #0f172a;
  --text-700: #334155;
  --muted-600: #64748b;
  --bg: #f6f9fc;
  --white: #fff;

  --radius-outer: 16px;
  --radius-inner: 12px;
  --shadow-lg: 0 10px 30px rgba(12, 45, 89, .14);
  --shadow-md: 0 6px 18px rgba(12, 45, 89, .10);
  --row-even: #fbfdff;
  --row-odd: #ffffff;

  --col-time: 14ch;
  /* ancho aproximado para “09:00 - 10:00” */
  --col-photo: 80px;
  /* tamaño foto */
  --col-theme: 22ch;
  /* ancho aproximado de temática */

  /* Reset de caja para que no herede cosas raras del padre */
  box-sizing: border-box;
  background: var(--bg);
  color: var(--text-900);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.35;

}

/* Box-sizing en todos los hijos del contenedor */
.agenda-page *,
.agenda-page *::before,
.agenda-page *::after {
  box-sizing: inherit;

}

/* ── Contenedor interior ── */
.agenda-page .ap-container {
  max-width: 1200px;
  margin: clamp(16px, 3vw, 32px) auto;
  padding: 0 clamp(12px, 3vw, 24px);
}

/* ── Banner de día ── */
.agenda-page .ap-day-banner {
  margin: 28px 0 14px;
  border-radius: var(--radius-outer);
  background: linear-gradient(135deg, var(--brand-900), #134a86 70%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.agenda-page .ap-day-banner__title {
  color: var(--white);
  text-align: center;
  font-size: clamp(1.2rem, 1.6rem + .4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: .2px;
  padding: 18px clamp(12px, 3vw, 24px);
  text-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  margin: 0;
}

/* ── Tabla ── */
.agenda-page .ap-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-outer);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.agenda-page .ap-table col.col-time {
  width: var(--col-time);
}

.agenda-page .ap-table col.col-photo {
  width: var(--col-photo);
}

.agenda-page .ap-table col.col-theme {
  width: var(--col-theme);
}

.agenda-page .ap-table thead th {
  background: linear-gradient(180deg, var(--accent-500), #0aa3bf);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 12px;
  position: sticky;
  top: 0;
  z-index: 2;
}

.agenda-page .ap-table tbody tr {
  background: var(--row-odd);
}

.agenda-page .ap-table tbody tr:nth-child(even) {
  background: var(--row-even);
}

.agenda-page .ap-table td {
  padding: 14px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #e6edf5;
}

/* ── Columna hora ── */
.agenda-page .ap-cell-time {
  font-weight: 500;
  color: var(--text-900);
  white-space: nowrap;
  position: relative;
}

/* ── Avatar ── */
.agenda-page .ap-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: 3px solid #e8f3f6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
}

/* ── Ponente ── */
.agenda-page .ap-speaker {
  text-align: left;
  line-height: 1.35;
  color: var(--text-900);
}

.agenda-page .ap-speaker a {
  color: var(--brand-900);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
}

.agenda-page .ap-speaker a:hover {
  color: var(--brand-600);
  border-bottom-color: var(--brand-600);
}

.agenda-page .ap-speaker__role {
  color: var(--muted-600);
  font-size: .92rem;
  margin-top: 4px;
}

/* ── Ponencia ── */
.agenda-page .ap-talk {
  text-align: left;
  color: var(--brand-900);
  font-weight: 7200;
  line-height: 1.35;
}

.agenda-page .ap-talk a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid rgba(12, 45, 89, .15);
  padding-bottom: 1px;
}

.agenda-page .ap-talk a:hover {
  border-bottom-color: var(--brand-900);
}

/* ── Badge ── */

.ap-badge {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  display: inline-block;
  cursor: default;
}

.agenda-page .ap-badge {
  display: inline-block;
  background: #e8f6f9;
  color: #075160;
  border: 1px solid #cbeaf0;
  font-weight: 700;
  font-size: .86rem;
  padding: 8px 10px;
  border-radius: 999px;
  white-space: normal;
  display: inline-block;
  max-width: 180px;
  text-align: center;
}

/* ── Filas especiales ── */
.agenda-page .ap-row-note td {
  text-align: center;
  font-weight: 800;
  letter-spacing: .2px;
  padding: 16px 12px;
  border-bottom: none;
}

.agenda-page .ap-row-register td {
  background: linear-gradient(180deg, #fef2f4, #ffe6eb);
  color: var(--danger-500);
  border-top: 1px dashed #ffd1db;
  border-bottom: 1px dashed #ffd1db;
  font-size: 1.05rem;
  font-weight: 700;
}

.agenda-page .ap-row-welcome td {
  background: linear-gradient(180deg, #eef6ff, #e8f1ff);
  color: #093a74;
  border-top: 1px dashed #cfe2ff;
  border-bottom: 1px dashed #cfe2ff;
  font-weight: 700;
  text-align: center;
}

.agenda-page .ap-row-break td {
  background: linear-gradient(180deg, var(--accent-500), #0aa3bf);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  font-weight: 700;
  text-align: center;
}

/* ── Hover filas normales ── */
.agenda-page .ap-table tbody tr:not(.ap-row-note):not(.ap-row-break):hover {
  background: #f2f8fc;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .agenda-page .ap-table thead {
    display: none;
  }

  .agenda-page .ap-table,
  .agenda-page .ap-table tbody,
  .agenda-page .ap-table tr,
  .agenda-page .ap-table td {
    display: block;
    width: 100%;
  }

  .agenda-page .ap-table tr {
    background: #fff;
    margin: 12px 0;
    border-radius: var(--radius-inner);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid #e9eef5;
  }

  .agenda-page .ap-table td {
    border: none;
    padding: 12px 14px;
  }

  .agenda-page .ap-cell-time {
    background: linear-gradient(180deg, #eff6ff, #eaf4ff);
    border-bottom: 1px solid #dbe8ff;
  }

  .agenda-page .ap-row-break td,
  .agenda-page .ap-row-note td {
    border-radius: var(--radius-inner);
  }
}

/*========================================
  16. BANDERA
==========================================*/
.ap-flag {
  width: 54px;
  height: auto;
  margin-top: 6px;
  border-radius: 3px;
}

.ap-flag1 {
  width: 44px;
  height: auto;
  margin-top: 6px;
  border-radius: 3px;
}


 @media (max-width: 860px) {
  .ap-speaker__flag {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


/* Efecto de iluminación en hover para el navbar */
#menu1 .nav-link {
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    border-radius: 6px;
    padding: 6px 12px;
}

#menu1 .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9),
                 0 0 16px rgba(255, 255, 255, 0.6),
                 0 0 30px rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
    transition: color 0.3s ease, text-shadow 0.3s ease, background-color 0.3s ease;
}

/* Para los items del dropdown */
#menu1 .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

/* ---------------------------------- */

/* Efecto de iluminación en hover para el navbar */
#menu2 .nav-link {
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    border-radius: 6px;
    padding: 6px 12px;
}

#menu2 .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9),
                 0 0 16px rgba(255, 255, 255, 0.6),
                 0 0 30px rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
    transition: color 0.3s ease, text-shadow 0.3s ease, background-color 0.3s ease;
}

/* Para los items del dropdown */
#menu2 .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}