:root {
  --bg: #050812;
  --accent: #1cd4cd;
  --text: #ffffff;
  --text-muted: #fff;
  --orange: #d15a2f;
  --card-bg: #fefcfd;
  --card-text: #050812;
  --dark-card: #0a0f20;
  --gray: #b5b5b5;
  --warning: #e8a020;
  --purple: #9b7dea;
  --green: #00c4b4;
  --radius: 16px;
  --max-width: 1520px;

  /* Gradientes reutilizables */
  --gradient-gold: linear-gradient(90deg, #fefcfd 0%, #efb469 39%, #ffffff 67%, #496ad3 100%);
  --gradient-brand: linear-gradient(90deg, var(--accent), #db8660, #2b3e8f);
  --gradient-fire: linear-gradient(90deg, #fefcfd 0%, #ff9d21 39%, #ffffff 67%, #4571ff 100%);
  --gradient-hero-badge: linear-gradient(90deg, #0c6eff 0%, #db8660 52%, #0998bc 100%);
  --gradient-glass: linear-gradient(90deg, rgba(28, 212, 205, 0.3) 0%, rgba(219, 134, 96, 0.3) 52%, rgba(14, 30, 98, 0.3) 100%);

  /* Mascara para bordes con gradiente */
  --mask-border: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.fondo_principal .hero-date h1 {
color: #ffffff78;
}

/* ============================================================
   2. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.desktop-hide {
  display: none !important;
}

/* Fondos de pagina */
.fondo_principal {
  background: url('./img/fondo_principal.svg') top / cover no-repeat;
}

.fondo_1 {
  background: url('./img/fondo_1.png') top / cover no-repeat;
}

.fondo_2 {
  background: url('./img/fondo_2.png') bottom / cover no-repeat;
}

.fondo_3 {
  background: url('./img/fondo_3.png') center / cover no-repeat;
}

.fondo_actividad_1 {
  background: url('./img/fondo_actividad_1.svg') top center / cover no-repeat;
}

.fondo_actividad_2 {
  background: url('./img/fondo_actividad_2.svg') top center / cover no-repeat;
}

.fondo_actividad_3 {
  background: url('./img/fondo_actividad_3.svg') top center / cover no-repeat;
}

/* Dividers */
.section-divider {
  width: 100%;
  height: 35px;
  background: var(--gradient-brand);
}

/* Headers de seccion */
.section-label {
  color: var(--accent);
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.section-title {
  font-size: 50px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 8px;
  margin-top: 30px;
}

.section-line {
  width: 203px;
  height: 10px;
  background: var(--gradient-brand);
  margin: 0 auto 100px;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg1 {
  background: var(--bg);
}

/* ============================================================
   3. NAVBAR
   ============================================================ */
.navbar {
  position: relative;
  margin-bottom: -70px;
  z-index: 5;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo img {
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   4. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroFloat 10s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(-2%, -3%);
  }
}

.hero-dark {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 8, 18, 0.7);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url('./img/hero.svg') repeat;
  opacity: 0.12;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 80px 24px;
  max-width: var(--max-width) !important;
  margin: 0 auto;
  width: 100%;
}

.hero-content .expert-row div:last-child p:last-child {
  font-size: 13px;
}

.hero-badge {
  display: inline-block;
  padding: 9px 36px;
  background: rgba(181, 181, 181, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid transparent;
  border-radius: 20px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 60px;
  position: relative;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--gradient-hero-badge);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

. -area {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-logo img {
  height: 170px;
  width: 100%;
}

.hero-date {
  text-align: left;
}

.hero-date .divider {
  width: 133px;
  height: 10px;
  background: var(--gradient-brand);
  margin-bottom: 22px;
}

.hero-date h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.04;
  color: var(--orange);
  white-space: pre-line;
}

.hero-date h1 span {
  font-weight: 400;
}

.hero-congress-name {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  margin-top: 6px;
  text-align: center;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.24;
  max-width: 900px;
  margin: 40px auto 12px;
}

.hero-subtitle span {
  color: var(--accent);
}

.hero-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 50px;
}

.hero-cta {
  display: inline-block;
  padding: 10px 70px;
  background: var(--gradient-brand);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50px;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(28, 212, 205, 0.25);
}

.hero-note {
  font-size: 14px;
  color: #fff;
  margin-top: 12px;
  font-weight: normal;
}

/* ============================================================
   5. COUNTDOWN
   ============================================================ */
.countdown {
  background: var(--bg);
  padding: 24px 0;
  text-align: center;
}

.countdown-pre {
  font-size: 25px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: bold;
  text-transform: uppercase;
}

.countdown-pre span {
  color: var(--accent);
  font-weight: 700;
  font-size: 22px;
}

.fondo_2 .countdown-pre span {
  font-size: 36px;
}

.countdown-boxes {
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.countdown-box {
  width: 120px;
  height: 120px;
  background: linear-gradient(#12151e, #12151e) padding-box,
    var(--gradient-gold) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-box .num {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.countdown-box .label {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 1px;
  margin-top: 4px;
}

.countdown-sep {
  font-size: 36px;
  font-weight: 300;
  color: #fff;
}

.countdown-sub {
  font-size: 30px;
  color: #fff;
  margin-top: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.countdown>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

/* ============================================================
   6. ABOUT
   ============================================================ */
.about-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background: linear-gradient(90deg, #1CD4CD 0%, #DB8660 52.4%, #0E1E62 100%);
}

.about-bar--bottom {
  top: auto;
  bottom: 0;
}

.about {
  position: relative;
  background: url('./img/acerca.png') center / cover no-repeat;
  height: 700px;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .section-title span {
  color: var(--accent);
}

.about .section-line {
  margin: 0 auto 30px;
}

.about-text {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 1100px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 140px;
  margin-top: 48px;
  margin-bottom: 80px;
}

.about-card {
  position: relative;
  border-radius: var(--radius);
  padding: 45px 28px;
  transition: transform 0.3s;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 11.1px 0 rgba(0, 0, 0, 0.51);
}

.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 3px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.about-card:hover {
  transform: translateY(-4px);
}

.about-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
  text-align: center;
}

.about-card h4 {
  font-size: 30px;
  line-height: 30px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  color: var(--accent);
}

.about-card p {
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
  text-align: center;
  margin-top: 30px;
}

/* ============================================================
   7. SPEAKERS
   ============================================================ */
.speakers {
  padding: 100px 0;
}

.container-speakers {
  padding-top: 100px !important;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 60px;
}

.speakers-fade-wrapper {
  position: relative;
}

#speakersGrid {
  opacity: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(540px, auto);
  gap: 50px;
}

.speaker-slot {
  position: relative;
}

.speaker-stack {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.speaker-stack.show {
  opacity: 1;
  pointer-events: auto;
}

.speaker-stack .speaker-card {
  width: 100%;
  height: 100%;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.fade-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.fade-dot.active {
  background: var(--accent);
}

.speaker-card {
  position: relative;
  border-radius: 33px;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 4px 11.1px 0px #00000082;
}

.speaker-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 33px;
  padding: 3px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.speaker-card:hover {
  background: hsl(0, 0%, 100%, 0.25);
  transform: translateY(-4px);
}

.speaker-photo {
  width: 100%;
  height: 382px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 33px;
  border-top-right-radius: 33px;
}

.speaker-photo-wrapper {
  position: relative;
}

.speaker-flag {
  position: absolute;
  bottom: -15px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-info {
  padding: 20px 24px;
  flex: 1;
}

.speaker-info h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 90%;
}

.speaker-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.country-label {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

/* ============================================================
   8. SPONSORS
   ============================================================ */
.sponsors {
  padding: 100px 0;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ============================================================
   9. EVENT DETAILS
   ============================================================ */
.event-details {
  padding: 150px 0;
}

.fondo_principal .card_estilo_1 .detail-card:first-child p {
  font-weight: normal;
}

.fondo_actividad_1 .expert-flag{
    bottom: -5px;
    right: -5px;
}

.fondo_actividad_1 .event-details {
  padding: 0px 0 150px;
}

.detail-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 170px;
}

.detail-cards--center-last-2 {
  grid-template-columns: repeat(6, 1fr) !important;
}

.detail-cards--center-last-2 .detail-card {
  grid-column: span 2 !important;
}

.detail-cards--center-last-2 .detail-card:nth-child(4) {
  grid-column: 2 / span 2 !important;
}

.detail-cards--center-last-2 .detail-card:nth-child(5) {
  grid-column: 4 / span 2 !important;
}

.detail-card {
  position: relative;
  border-radius: var(--radius);
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
  text-align: center;
}

.detail-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 3px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.detail-card:hover {
  background: hsl(0, 0%, 100%, 0.25);
  transform: translateY(-4px);
}

.detail-card h3 {
  color: var(--accent);
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 20px;
}

.detail-card p {
  font-size: 20px;
  margin-top: 8px;
  line-height: 1.4;
  font-weight: bold;
}

.fondo_actividad_2 .detail-card {
  padding: 80px 32px;
}

.fondo_actividad_2 .detail-card p,
.fondo_actividad_3 .detail-card p {
  font-weight: normal !important;
}

/* ============================================================
   10. PROGRAM / TOPICS
   ============================================================ */
.program {
  padding: 150px 0;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 40px;
}

.topics-grid--center-last-2 {
  grid-template-columns: repeat(6, 1fr);
}

.topics-grid--center-last-2 .topic-card {
  grid-column: span 2;
}

.topics-grid--center-last-2 .topic-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.topics-grid--center-last-2 .topic-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.topic-card {
  text-align: center;
  padding: 36px 12px;
  border-radius: var(--radius);
}

.topic-icon {
  margin-bottom: 14px;
}

.topic-card h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

/* ============================================================
   11. ACTIVITIES
   ============================================================ */
.activities {
  padding: 80px 0;
}

.activities_note_section {
  padding: 50px 0;
}

.fondo_actividad_1 .activities {
  padding: 120px 0;
}

.fondo_actividad_1 .detalle .row2>div:last-child,
.fondo_actividad_1 .detalle .row2>div:last-child::before {
  border-radius: 30px;
}

.activities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 90px;
  margin-top: 48px;
  align-items: flex-start;
}

.activities-grid .activity-btn {
  padding: 8px 32px;
}

.activity-card {
  flex: 1 1 360px;
  color: #fff;
  border-radius: 30px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  background: transparent;
  position: relative;
}

.activity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: var(--gradient-fire);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.activity-date {
  position: relative;
  z-index: 1;
  border-radius: 30px 30px 0 0;
  padding: 14px 30px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #000;
  text-align: center;
  background: var(--green);
  width: 101%;
  text-transform: uppercase;
}

.activity-badge {
  padding: 8px 22px;
  background: rgba(28, 212, 205, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  justify-content: center;
  width: 250px;
  margin: 30px auto 0;
  border-radius: 15px;
  position: relative;
}

.activity-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 2px;
  background: var(--gradient-brand);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.activity-body {
  padding: 28px 28px 0;
  flex: 1;
}

.activity-body h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #fff !important;
}

.activity-body .desc {
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.activity-notice {
  position: relative;
  display: grid;
  grid-template-columns: 15% 85%;
  align-items: center;
  gap: 10px;
  padding: 14px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(14, 30, 98, 0) 0%, rgba(28, 212, 205, 0.15) 100%),
    radial-gradient(circle at 70% 70%, rgba(28, 212, 205, 0.30) 0%, rgba(14, 30, 98, 0) 100%),
    rgba(57, 67, 96, 0.6);
}

.activity-notice::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  padding: 2px;
  background: var(--gradient-fire);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.activity-notice svg {
  width: 30px;
  margin: 0 auto;
  display: flex;
}

.experts {
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.25);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.31);
  border-radius: 10px;
}

.experts h4 {
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
}

.expert-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.expert-row img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.expert-photo-wrapper {
  position: relative;
  display: inline-flex;
}

.expert-flag {
  position: absolute;
  bottom: 0px;
  right: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  border: 0.5px solid #fff;
  align-items: center;
}

.expert-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.expert-row span {
  font-size: 14px;
  font-weight: 700;
}

.activity-separator {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0;
}

.pricing-divider {
  height: 2px;
  width: 85%;
  margin: 0 auto;
  background: var(--gradient-brand);
}

.activity-pricing {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.activity-pricing .label {
  font-size: 16px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.activity-pricing .amount {
  font-size: 48px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.activity-pricing .currency {
  font-size: 16px;
  color: #fff;
  align-self: flex-end;
  padding-bottom: 6px;
  font-weight: 400;
  padding-left: 15px;
}

.activity-tax {
  font-size: 12px;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}

.activity-btn {
  position: relative;
  color: #fff;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s;
  background: var(--gradient-glass);
  backdrop-filter: blur(6px);
  height: 55px;
  align-items: center;
  justify-content: center;
  display: flex;
  width: 165px;
}

.activity-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: var(--gradient-fire);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.activities_note_section .activity-btn {
  width: 355px;
  margin: 0 auto;
  justify-content: space-between;
  padding: 0 10px 0 30px;
  background: transparent;
  backdrop-filter: blur(6px);
}

.activities_note_section .activity-btn::before {
  background: var(--gradient-brand);
}

.btn-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: relative;
  margin-left: 8px;
  vertical-align: middle;
  padding: 10px;
}

.btn-icon-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: var(--gradient-glass);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.activities_note_section .btn-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  margin-left: 8px;
  vertical-align: middle;
  padding: 15.5px;
}

.capacity {
  padding: 16px 45px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 22px;
  display: grid;
  grid-template-columns: 50% 45%;
  align-items: center;
  justify-content: space-between;
  color: var(--card-text);
  position: relative;
  z-index: 1;
  border-radius: 0 0 30px 30px;
}

.capacity span {
  font-size: 20px;
  padding: 5px 0;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 160px;
}

.capacity.green {
  background: var(--green);
}

.capacity.green span {
  background: #00a799;
}

.capacity.warning {
  background: var(--warning);
}

.capacity.warning span {
  background: #c5881b;
}

.capacity.purple {
  background: var(--purple);
}

.capacity.purple span {
  background: #846ac7;
}

.activities-note {
  text-align: center;
  color: #fff;
  font-size: 13px;
  margin-top: 28px;
  margin-inline: auto;
}

.activities-scroll {
  text-align: center;
  margin-top: 28px;
}

/* ============================================================
   12. PRICING
   ============================================================ */
.pricing {
  padding: 80px 0 50px;
}

.pricing-cards {
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-card {
  border-radius: 30px;
  padding: 48px 60px;
  border: 1px solid transparent;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  position: relative;
  transition: transform 0.3s;
  text-align: center;
  box-shadow: -6px 6px 12px rgba(0, 0, 0, 0.15);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  background:
    radial-gradient(98% 122.43% at 2% 1.6%, rgba(28, 212, 205, 0.6) 0%, rgba(14, 30, 98, 0) 100%),
    radial-gradient(98% 122.43% at 2% 1.6%, rgba(14, 30, 98, 0) 0%, rgba(28, 212, 205, 0.3) 100%);
  backdrop-filter: blur(6px);
}

.pricing-divider-sm {
  width: 70px;
  height: 10px;
  background: var(--gradient-brand);
  margin-left: -10px;
}

.pricing-amount-wrapper {
  width: 170px;
  margin: 20px auto 0;
}

.pricing-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(28, 212, 205, 0.22);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 8px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-amount {
  margin-bottom: 24px;
  display: flex;
  justify-content: end;
}

.pricing-amount .sign {
  font-size: 24px;
  font-weight: 700;
  vertical-align: super;
}

.pricing-amount .value {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.pricing-tax {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
  margin-bottom: 20px;
}

.pricing-btn-full {
  display: block;
  width: 100%;
  padding: 14px;
  color: #fff;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.2s;
  position: relative;
  background: var(--gradient-glass);
}

.pricing-btn-full::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-btn-link {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 32px;
  border: 1px solid #fff;
  border-radius: 50px;
  background: transparent;
  transition: all 0.2s;
}

.pricing-note {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-top: 50px;
  max-width: 700px;
  margin-inline: auto;
}

/* ============================================================
   13. BROCHURE
   ============================================================ */
.brochure {
  padding: 0 0 150px;
}

.fondo_actividad_1 .brochure {
  padding: 100px 0 100px;
}



.brochure-card {
  border-radius: 30px;
  padding: 48px;
  display: grid;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  grid-template-columns: 70% 30%;
  text-align: center;
}

.brochure-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 3px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.brochure-card h3 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 20px;
}

.brochure-card p {
  font-size: 20px;
  color: #fff;
  max-width: 800px;
  line-height: 1.6;
  margin: 0 auto;
}

.brochure-btn {
  padding: 10px 36px;
  background: transparent;
  color: #fff;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  border: 2px solid var(--accent);
  width: 240px;
  margin: 0 auto;
  backdrop-filter: blur(6px);
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  padding: 48px 0 24px;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 65px;
}

.footer-col h4,
.footer-col span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: bolder;
}

.footer-col>h4:first-child {
  font-size: 18px;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  line-height: 1.7;
  display: block;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-social img {
  width: 24px;
  height: 24px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.footer-bottom {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
}

/* ============================================================
   15. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 56px;
  height: 56px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

.back-to-top img {
  width: 100%;
  height: 100%;
  display: block;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   16. PAGINAS ESPECIFICAS
   ============================================================ */

/* --- ACTIVIDAD 1 --- */
.actividad-1 .hero-content {
  text-align: start;
  max-width: var(--max-width) !important;
  width: 100% !important;
}

.actividad-1 .hero-subtitle,
.actividad-1 .hero-text {
  max-width: var(--max-width) !important;
}

.actividad-1 .hero-text {
  width: 60%;
  margin-left: 0;
  margin-right: auto;
}

.actividad-1 .hero-congress-name {
  font-size: 68px;
  text-align: start;
  font-weight: bold;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.actividad-1 .hero-subtitle {
  margin: 15px auto 12px;
}

.actividad-1 .hero-content>div:first-child {
  display: flex;
  justify-content: end;
}

.actividad-1 .program {
  padding: 120px 0;
}

.actividad-1 .detail-cards {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.actividad-1 .detail-card h3 {
  font-size: 96px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.actividad-1 .detail-card p {
  font-weight: normal;
}

.actividad-1 .brochure-card h3 {
  font-size: 36px;
}

.actividad-1 .brochure-card p {
  font-size: 20px;
}

.actividad-1 .brochure-btn {
  font-weight: bold;
  font-size: 18px;
}

.fondo_actividad_1 .speaker-info h3 {
  font-size: 23px;
}

.fondo_actividad_1 .hero-content .experts {
  max-width: 380px;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  padding: 14px;
}

.fondo_actividad_1 .hero-content .experts h4 {
  font-size: 15px;
  margin-bottom: 12px;
}

.fondo_actividad_1 .hero-content .expert-row {
  gap: 12px;
  padding: 6px 0;
}



.fondo_actividad_1 .hero-content .expert-row span {
  font-size: 14px;
}



.fondo_actividad_1 .hero-content .expert-flag img {
  object-fit: contain;
  border-radius: 50%;
}

/* --- ACTIVIDAD 2 --- */
.actividad-2 .hero-content {
  text-align: start;
}

.actividad-2 .hero-congress-name {
  font-size: 50px;
  line-height: 50px;
  margin-top: 6px;
  text-align: start;
  font-weight: bold;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.actividad-2 .hero-subtitle,
.actividad-2 .hero-text {
  text-align: start;
  margin-left: 0;
}

.actividad-2 .hero-subtitle {
  margin-top: 20px;
}

.actividad-2 .experts {
  background: transparent;
  border: none;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  max-width: 65%;
  margin-bottom: 50px;
}

.actividad-2 .experts>div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.25);
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.31);
  border-radius: 10px;
}

.actividad-2 .experts .expert-row div:last-child p:first-child {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.actividad-2 .experts .expert-row div:last-child p:nth-child(2) {
  font-weight: bold;
  font-size: 20px;
}

.actividad-2 .expert-row .expert-photo-wrapper>img {
  width: 95px;
  height: 95px;
}

.actividad-2 .expert-flag {

  width: 25px;
  height: 25px;
}

.actividad-2 .info {
  grid-template-columns: repeat(3, 1fr);
  width: 60%;
}

.actividad-2 .detalle .row2>div:last-child {
  padding: 55px 0;
}

.actividad-2 .speakers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.actividad-2 .sub-title {
  text-align: center;
  max-width: 55%;
  margin: 0 auto 50px;
}

.actividad-2 .beneficios_grid div:last-child {
  grid-column: 1 / -1;
  margin: 0 auto;
}

.actividad-2 .detail-cards {
  gap: 50px 100px;
  grid-template-columns: repeat(3, 1fr);
}

/* --- ACTIVIDAD 3 --- */
.topics-grid-actividad3 {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* ============================================================
   17. COMPONENTES COMPARTIDOS
   ============================================================ */

/* --- INFO SECTION --- */
.info {
  background: var(--bg);
  max-width: var(--max-width);
  padding: 50px 0;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  gap: 30px;
}

.info>div {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: start;
  background: linear-gradient(#12151e, #12151e) padding-box,
    var(--gradient-gold) border-box;
  border: 2px solid transparent;
  backdrop-filter: blur(4px);
  padding: 20px 40px;
  border-radius: 30px;
}

.info h2 {
  font-size: 20px;
  line-height: 20px;
  color: var(--accent);
}

.info p {
  font-size: 20px;
  font-weight: bold;
}

/* --- DETALLE SECTION --- */
.detalle {
  padding-top: 130px;
}

.detalle .row2 {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 75px;
  padding: 80px 0;
  align-items: center;
}

.detalle .row2 p {
  font-size: 28px;
  text-align: justify;
}

.detalle .row2 ul {
  list-style: none;
}

.detalle .row2 ul li {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.detalle .row2 ul li .numb {
  width: 50px;
  height: 50px;
  background: rgba(28, 212, 205, 0.50);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.detalle .row2 ul li div:last-child {
  font-size: 24px;
}

.detalle .row2>div:last-child {
  position: relative;
  background: transparent;
  backdrop-filter: blur(4px);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 11.1px 0 rgba(0, 0, 0, 0.51);
  padding: 80px 0 50px;
}

.detalle .row2>div:last-child::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* --- EXPERTS VARIANT --- */
.experts_2 .expert-row {
  position: relative;
  background: transparent;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 11.1px 0 rgba(0, 0, 0, 0.51);
  border-radius: 20px;
  margin-bottom: 50px;
  gap: 40px;
  padding: 20px 40px;
}

.experts_2 .expert-row::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.experts_2 .expert-row .expert-photo-wrapper>img {
  width: 80px;
  height: 80px;
}

.experts_2 .expert-flag {
  width: 30px;
  height: 30px;
}

.experts_2 .expert-row h3 {
  font-size: 25px;
}

.experts_2 .expert-row span {
  font-size: 16px;
}

/* --- BENEFICIOS GRID --- */
.beneficios_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.beneficios_grid>div {
  text-align: center;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 50px;
  border-radius: 20px;
  position: relative;
  background: transparent;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 11.1px 0 rgba(0, 0, 0, 0.51);
}

.beneficios_grid p {
  font-size: 28px;
}

.beneficios_grid div::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--gradient-gold);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

div.beneficios_grid.beneficio_grid2>div>div:nth-child(1)>span {
  position: relative;
  padding: 7px 25px;
}

div.beneficios_grid.beneficio_grid2>div>div:nth-child(1)>span::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--gradient-brand);
  -webkit-mask: var(--mask-border);
  mask: var(--mask-border);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.beneficio_grid2 {
  grid-template-columns: 1fr !important;
}

.beneficio_grid2 div:last-child {
  grid-column: initial !important;
  margin: inherit !important;
}

.beneficio_grid2>div {
  gap: 40px;
  justify-content: start;
}

.beneficio_grid2 ul {
  text-align: start;
  margin-left: 25px;
}

.beneficio_grid2>div span {
  display: flex;
  justify-content: start;
  font-size: 16px;
}

.beneficio_grid2 h3 {
  color: var(--accent);
  font-size: 25px;
  font-weight: bold;
  text-align: start;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 20px;
}

.fondo_actividad_3 .beneficios_grid.beneficio_grid2>div:nth-child(1)>div:nth-child(2)>h3::before {
  content: '';
  height: 15px;
  width: 5px;
  background: var(--accent);
  display: block;
}

/* ============================================================
   18. RESPONSIVE
   ============================================================ */

/* --- Desktop (>= 992px) --- */
@media (min-width: 992px) {
  .detail-cards {
    margin: 0 auto;
  }

  .activity-pricing>div>span,
  .no_pc {
    display: none;
  }

  .actividad-1 .speakers-grid .speaker-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(25% - 25px);
  }

  .fondo_principal .activities {
    padding-top: 0px;
  }
}

/* --- Tablet / Mobile (<= 991px) --- */
@media (max-width: 991px) {
  .fondo_principal {
    background: url('./img/movil_fondo_principal.webp');
    background-position: center center;
    background-size: contain;
    background-repeat: repeat;
  }

  .hero-bg {
    display: none;
  }

  .fondo_1 {
    background: none !important;
  }

  .fondo_2 {
    background: none !important;
  }

  .fondo_3 {
    background: none !important;
  }

  .fondo_actividad_1 {
    background: url('./img/movil_fondo_actividad_1.svg') top center / cover no-repeat;
  }

  .fondo_actividad_2 {
    background: url('./img/movil_fondo_actividad_2.svg') top center / cover no-repeat;
  }

  .fondo_actividad_3 {
    background: url('./img/movil_fondo_actividad_3.svg') top center / cover no-repeat;
  }

  .fondo_actividad_1 .detalle {
    padding-bottom: 100px;
  }

  .container {
    padding: 0 25px;
  }

  .desktop-hide {
    display: flex !important;
  }

  .mobile-hide {
    display: none !important;
  }

  /* Navbar */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 8, 18, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 9;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 20px;
  }

  /* Hero */
  .hero-content {
    flex-direction: column;
    padding: 130px 20px 80px;
  }

  .hero-badge {
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.45);
    font-size: 18px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-text {
    font-size: 13px;
  }

  .hero-cta {
    padding: 14px 50px;
    font-size: 20px;
  }

  .hero-logo-area {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero-date {
    text-align: center;
  }

  .hero-date .divider,
  .no_movil {
    display: none;
  }

  .hero-date .divider {
    margin: 0 auto 22px;
  }

  .hero-date h1 {
    font-size: 36px;
  }

  .hero-date h1 br {
    display: none;
  }

  /* Countdown */
  .countdown,
  #about,
  .about-bar,
  .activity-notice {
    display: none;
  }

  .countdown>div {
    display: grid;
  }

  .countdown-box {
    width: 80px;
    height: 80px;
  }

  .countdown-box .num {
    font-size: 28px;
  }

  /* About */
  .about {
    height: auto;
    padding: 60px 0;
  }

  .about-features {
    gap: 24px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .about-card {
    padding: 30px 15px;
  }

  .about-card,
  .about-card::before {
    border-radius: 20px !important;
  }

  .about-card h4 {
    font-size: 19px;
    line-height: 19px;
  }

  .about-card p {
    font-size: 13px;
  }

  .about-card .icon img {
    width: 62px;
  }

  .section-divider.no_pc {
    margin-bottom: 130px;
  }

  /* Speakers */
  .speakers>div {
    padding: 50px 30px 0;
  }

  .speakers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  #speakersGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    grid-auto-rows: inherit;
    margin-top: 45px;
  }

  #speakersGrid .speaker-stack {
    position: relative;
    inset: auto;
  }

  #speakersGrid .speaker-stack:not(.show) {
    position: absolute;
  }

  #speakersGrid .speaker-stack.show {
    opacity: 1;
    pointer-events: auto;
  }

  #speakersGrid .speaker-stack .speaker-card {
    height: auto;
  }

  .speaker-photo {
    height: 280px;
  }

  .fondo_actividad_2 .speakers {
    padding: 100px 0;
  }

  .actividad-1 .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .actividad-2 .speakers-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    gap: 10px;
    margin-top: 55px;
    padding: 0 0px;
  }

  /* Event Details */
  .event-details {
    padding-bottom: 0;
  }

  .detail-cards {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .detail-card p {
    font-weight: normal;
  }

  .detail-card p br {
    display: none;
  }

  .detail-cards--center-last-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .detail-cards--center-last-2 .detail-card {
    grid-column: span 1 !important;
  }

  .fondo_actividad_2 .detail-card {
    padding: 55px 32px;
  }

  .actividad-1 .detail-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .actividad-1 .detail-card h3 {
    font-size: 48px;
  }

  .actividad-2 .detail-cards {
    grid-template-columns: repeat(2, 1fr);
    display: block;
    max-width: 400px;
    margin: 0 auto;
  }

  .actividad-2 .detail-cards .detail-card {
    margin-bottom: 35px;
  }

  /* Program */
  .program .container {
    padding: 0;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
  }

  .topics-grid-actividad3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .topics-grid--center-last-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .topics-grid--center-last-2 .topic-card {
    grid-column: span 1 !important;
  }

  .fondo_actividad_2 .topics-grid--center-last-2 {
    margin-top: 25px;
  }

  /* Activities */
  .activities {
    padding: 0 0 100px;
  }

  .activities-grid {
    flex-direction: column;
    gap: 40px;
    margin-top: 70px !important;
  }

  .activity-card {
    flex: 1 1 100%;
  }

  .activity-pricing {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .activity-pricing>div>div>span:first-child,
  .activities_note_section {
    display: none;
  }

  .capacity {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .fondo_actividad_1 .activities {
    padding: 100px 0;
  }

  /* Pricing */
  .pricing {
    padding: 80px 0 50px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .pricing .section-label,
  .pricing .section-title,
  .pricing .section-line {
    display: none;
  }

  .pricing-cards {
    margin-top: 60px;
    flex-direction: column;
  }

  .pricing-card {
    padding: 32px 20px;
  }

  .pricing-amount {
    justify-content: center;
    margin-top: 10px;
  }

  .pricing-amount .sign,
  .pricing-amount .value {
    font-size: 54px;
    line-height: 54px;
  }

  .pricing-divider-sm {
    margin: 0 auto;
  }

  .pricing-amount .value {
    font-size: 48px;
  }

  /* Brochure */
  .brochure {
    padding: 0 0 100px;
  }

  .brochure-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }

  .brochure-card::before {
    background: linear-gradient(90deg, #4571FF 0%, #FFFFFF 32.69%, #FF9D21 61.06%, #FEFCFD 100%);
  }

  .brochure-card h3 {
    font-size: 24px;
  }

  .brochure-card p {
    font-size: 13px;
  }

  .brochure-btn {
    background: #f8971f;
    border: 2px solid #f8971f;
    font-weight: 700;
  }

  .fondo_actividad_1 .brochure {
    padding: 100px 0 100px;
  }

  .fondo_actividad_1 .brochure-btn,
  .fondo_actividad_2 .brochure-btn,
  .fondo_actividad_3 .brochure-btn {
    border: 2px solid var(--accent);
    background: transparent;
    font-size: 16px;
  }
  .fondo_actividad_1 .hero-content,
  .fondo_actividad_2 .hero-content,
  .fondo_actividad_3 .hero-content {
    padding: 100px 20px 45px;
  }

  .fondo_1 .section-divider.no_pc {
    margin-bottom: 50px;
  }

  /* Info */
  .info {
    grid-template-columns: repeat(1, 1fr);
    padding: 30px 16px;
  }

  .info>div {
    padding: 14px 40px !important;
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
  }

  .info svg {
    width: 40px;
  }

  .actividad-2 .info {
    grid-template-columns: 1fr;
    width: 100%;
  }

  /* Detalle */
  .detalle {
    padding: 100px 0;
  }

  .detalle .row2 {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 0;
  }

  .detalle .row2 ul li {
    margin-bottom: 20px;
  }

  .detalle .row2>div:last-child {
    padding: 40px 0;
  }

  .detalle .row2>div:last-child::before,
  .detalle .row2>div:last-child {
    border-radius: 30px;
  }

  .fondo_actividad_1 .detalle .row2>div:last-child {
    padding: 25px 0 15px;
  }

  .actividad-2 .detalle .row2>div:last-child {
    padding: 25px 0 15px;
  }

  /* Beneficios */
  .beneficios_grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .beneficios_grid>div {
    padding: 50px;
    display: block;
  }

  div.beneficios_grid.beneficio_grid2>div>div:nth-child(1)>span {
    display: inline-flex;
  }

  .beneficio_grid2 ul li {
    font-size: 12px;
  }

  .actividad-2 .beneficios_grid div:last-child {
    width: 100%;
  }

  /* Experts */
  .expert-row div {
    text-align: start;
  }

  .experts_2 {
    margin-top: 55px;
  }

  .experts_2 .expert-row {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 30px;
    margin-bottom: 24px;
    align-items: start;
  }

  .experts_2 .expert-row .expert-photo-wrapper>img {
    width: 100px;
    height: 100px;
  }

  .experts_2 .expert-flag {
    width: 30px;
    height: 30px;
  }

  .fondo_actividad_1 .experts_2 .expert-row {
    padding: 20px 30px;
  }

  .fondo_actividad_1 .expert-flag {
    bottom: 5px;
    right: 0;
  }

  /* Actividad 2 */
  .actividad-2 .hero-congress-name br {
    display: none !important;
  }

  .actividad-2 .hero-congress-name {
    font-size: 39px !important;
  }

  .actividad-2 .experts {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .actividad-2 .sub-title {
    max-width: 100%;
  }

  /* Actividad 1 */
  .actividad-1 .hero-content,
  .actividad-2 .hero-content {
    flex-direction: column;
  }

  .actividad-1 .hero-content>div:first-child {
    justify-content: center;
  }

  .actividad-1 .hero-text {
    width: 100%;
    text-align: start;
  }

  .actividad-1 .hero-congress-name,
  .actividad-2 .hero-congress-name {
    font-size: 40px;
    text-align: start;
  }

  .actividad-1 .hero-subtitle,
  .actividad-2 .hero-subtitle {
    text-align: start;
    margin-left: auto;
  }

  .fondo_actividad_1 .hero-content .experts {
    display: none;
  }

  .fondo_actividad_1 .event-details .section-line {
    width: 203px !important;
  }

  .fondo_actividad_1 .speaker-info h3 {
    font-size: 16px;
  }

  .fondo_actividad_1 .section-line {
    width: 184px;
  }

  .fondo_actividad_1 .beneficios_grid>div {
    padding: 20px;
  }

  .fondo_actividad_1 .beneficios_grid,
  .fondo_actividad_1 .speakers-grid {
    margin-top: 50px;
  }

  .fondo_actividad_1 .brochure-card h3 {
    font-size: 28px;
  }

  .fondo_actividad_1 .brochure-card p {
    font-size: 16px;
  }

  .fondo_actividad_1 .brochure .container,
  .fondo_actividad_1 .activities .container,
  .fondo_actividad_2 .brochure .container {
    padding: 0 40px;
  }

  /* Actividad 3 */
  .fondo_actividad_3 .speakers {
    padding-bottom: 100px;
  }

  .fondo_actividad_3 .speakers>div {
    padding: 100px 30px 0;
  }

  .fondo_actividad_3 .program {
    padding: 100px 20px;
  }

  .fondo_actividad_3 .beneficios_grid.beneficio_grid2>div:nth-child(1)>div:nth-child(2)>h3 {
    width: 85%;
    text-transform: uppercase;
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .fondo_actividad_3 .beneficios_grid.beneficio_grid2>div:nth-child(1)>div:nth-child(2)>h3::before {
    content: '';
    height: 58px;
    width: 5px;
    background: var(--accent);
    display: block;
  }

  /* Card estilo 1 */
  .card_estilo_1 .detail-cards>div {
    padding: 20px !important;
    display: flex;
    align-items: center;
    text-align: start;
    gap: 20px;
    border-radius: 30px !important;
  }

  .card_estilo_1 .detail-card h3 {
    margin-bottom: 5px;
    line-height: 18px;
  }

  .card_estilo_1 .detail-cards {
    gap: 35px !important;
  }

  .card_estilo_1 .section-line,
  .program_estilo_1 .section-line {
    width: 120px !important;
    border-radius: 3px !important;
    height: 5px;
  }

  .card_estilo_1 .icon img {
    width: 40px !important;
  }

  .detail-cards>div::before {
    border-radius: 30px !important;
  }

  /* Utils */
  #speakersGrid,
  .detail-cards,
  .activities-grid,
  .pricing-cards {
    max-width: 650px;
    margin: 0 auto;
  }

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

  .fondo_actividad_2 .brochure-card h3 br {
    display: none !important;
  }

  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0px;
    max-width: 600px;
    gap: 16px;
    margin-top: 40px;
  }
}

/* --- Tablet intermedio (481px – 992px) --- */
@media (min-width: 481px) and (max-width: 992px) {
  .pricing-card {
    margin: 0 auto !important;
  }

  .speakers-grid,
  .program>div,
  .detalle>div {
    max-width: 660px !important;
    margin: 0 auto !important;
  }

  .actividad-1 .detail-cards {
    grid-template-columns: repeat(1, 1fr);
    max-width: 370px;
  }

  .actividad-2 .beneficios_grid div:last-child {
    width: 100%;
  }

  .experts_2 {
    max-width: 400px;
    margin: 0 auto;
  }

  .detail-card {
    border-radius: 30px;
  }

  .experts_2 .expert-row .expert-photo-wrapper>img {
    width: 60px;
    height: 60px;
  }

  .experts_2 .expert-flag {
    width: 30px;
    height: 30px;
  }
}

@media (min-width: 481px) {
  .text_linea_es {
    display: none;
  }
}

/* --- Small Mobile (<= 480px) --- */
@media (max-width: 480px) {

  .section-divider {
    height: 7px;
  }

  .pricing {
    padding: 50px 0 50px;
  }

  .pricing-amount {
    margin-bottom: 0px;
  }

  .section-divider.linea_es {
    height: 20px;
  }

  .text_linea_es {
    font-size: 23px;
    line-height: 23px;
    font-weight: bold;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
    background: var(--gradient-brand);
    border-radius: 50px;
    padding: 14px 40px;
    margin-top: -50px;
  }

  .section-label {
    font-size: 13px;
  }

  .section-title {
    font-size: 27px;
  }

  .section-title br {
    display: none !important;
  }

  .section-line {
    height: 5px;
    margin: 0 auto 10px;
  }

  /* Hero */
  .hero {
    min-height: 75vh;
  }

  .hero-badge {
    padding: 10px 40px;
    letter-spacing: 0;
  }

  .hero-logo img {
    height: 80px;
  }
  
  .hero-subtitle {
    margin: 15px auto 12px;
  }

  .hero-text {
    margin: 0 auto 10px;
  }

  .hero-logo-area {
    margin-bottom: 0px;
  }

  .hero-date h1 {
    margin: 10px 0;
  }

  .hero-badge {
    font-size: 14px;
    padding: 6px 20px;
  }

  .hero-cta {
    padding: 20px 55px;
    font-size: 18px;
    background: linear-gradient(90deg, #1CD4CD 0%, #DB8660 52%, #0E1E62 100%);
  }

  .hero-content {
    padding: 285px 20px 45px;
  }

  .hero-date h1 {
    font-size: 28px;
    position: relative;
    margin: 15px 0;
  }

  .hero-date h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -12px;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--accent), #db8660, #0e1e62);
  }

  .hero-congress-name {
    font-size: 16px;
  }

  /* Countdown */
  .countdown>div {
    flex-direction: column;
  }

  .countdown-box {
    width: 64px;
    height: 64px;
  }

  .countdown-box .num {
    font-size: 22px;
  }

  .countdown-box .label {
    font-size: 10px;
  }

  .countdown-sep {
    font-size: 24px;
  }

  /* About */
  .about-text {
    font-size: 18px;
  }

  /* Speakers */
  .speakers {
    padding-top: 0;
  }

  .speakers-grid {
    gap: 16px;
  }

  #speakersGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .speakers .section-line {
    width: 120px;
    border-radius: 3px;
  }

  .speaker-photo {
    height: 180px;
    border-radius: 15px !important;
  }

  .speaker-card,
  .speaker-card::before {
    border-radius: 15px !important;
  }

  .speaker-card::before {
    border-radius: 25px;
  }

  .speaker-info {
    padding: 15px;
  }

  .speaker-info h3 {
    font-size: 14px;
  }

  .speaker-info p {
    font-size: 10px;
  }

  .speaker-flag {
    bottom: -10px;
    right: 15px;
    width: 25px;
    height: 25px;
  }

  /* Event Details */
  .event-details {
    padding: 90px 20px;
  }

  .event-details .section-line {
    width: 100%;
    height: 5px;
    margin-bottom: 60px;
  }

  .detail-card {
    padding: 35px 40px;
    border-radius: 30px !important;
  }

  .detail-card::before {
    border-radius: 30px !important;
  }

  .detail-card h3 {
    font-size: 18px;
  }

  .detail-card p {
    font-size: 14px;
    font-weight: normal;
  }

  .detail-card .icon img {
    width: 61px;
  }

  .detail-cards--center-last-2 {
    grid-template-columns: 1fr !important;
  }

  .detail-cards--center-last-2 .detail-card {
    grid-column: span 1 !important;
  }

  /* Program */
  .program {
    padding: 100px 20px;
  }

  .program .container {
    padding: 0 30px;
  }

  .program_estilo_1 .topics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 40px;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }

  .topics-grid-actividad3 {
    grid-template-columns: 1fr 1fr !important;
  }

  .topic-card {
    padding: 24px 12px;
  }

  .topic-card h3 {
    font-size: 11px;
  }

  .topic-icon img {
    width: 62px;
    height: 62px;
  }

  /* Activities */
  .activity-btn {
    width: 100%;
  }

  .activity-pricing>div {
    width: 100%;
  }

  .activity-pricing>div>div {
    justify-content: end;
    display: flex;
    margin-right: auto;
    width: 100%;
    text-align: end;
    flex-direction: column;
    align-items: self-end;
  }

  .activity-pricing .label {
    width: 100%;
    display: flex;
  }

  .activity-tax {
    margin-right: 35px;
  }

  .activity-badge {
    width: 85%;
    font-size: 14px;
    letter-spacing: 0;
  }

  .activity-body h3 {
    font-size: 18px;
  }

  .activities_note_section .activity-btn {
    width: 100%;
    font-size: 14px;
  }

  .capacity {
    grid-template-columns: 1fr 1fr;
    padding: 12px 20px;
    font-size: 16px;
  }

  .capacity span {
    font-size: 14px;
    width: 100%;
  }

  .capacity>div:first-child {
    text-align: start;
  }

  /* Pricing */
  .pricing-card {
    padding: 40px 30px;
  }

  .pricing-amount .value {
    font-size: 40px;
  }

  .pricing-amount-wrapper {
    margin: 40px auto 0;
  }

  .pricing-tax {
    margin-bottom: 40px;
  }

  .pricing-btn-full {
    background: linear-gradient(90deg, #0E1E62 0%, #DB8660 47.6%, #1CD4CD 100%);
  }

  /* Brochure */
  .brochure-card h3 {
    font-size: 24px;
  }

  .brochure-btn {
    width: 100%;
  }

  /* Info */
  .info {
    grid-template-columns: 1fr;
  }

  .info>div {
    padding: 14px 16px;
  }

  .info p {
    font-size: 16px;
  }

  .info h2 {
    font-size: 16px;
  }

  /* Detalle */
  .detalle {
    padding: 100px 0 0;
  }

  .detalle .row2 p {
    font-size: 16px;
  }

  .detalle .row2 ul li .numb {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .detalle .row2 ul li div:last-child {
    font-size: 13px;
  }

  /* Actividad 1 */
  .actividad-1 .hero-congress-name {
    font-size: 28px;
  }

  .actividad-1 .detail-cards {
    grid-template-columns: 1fr;
  }

  .actividad-1 .detail-card h3 {
    font-size: 36px;
  }

  .fondo_actividad_1 .hero-congress-name {
    font-size: 35px;
  }

  .fondo_actividad_1 .hero {
    min-height: 75vh;
  }

  /* Actividad 2 */
  .actividad-2 .hero-congress-name {
    font-size: 40px;
    line-height: 1.2;
  }

  .actividad-2 .detail-cards {
    grid-template-columns: 1fr;
  }

  .actividad-2 .speakers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .actividad-2 .experts .expert-row div:last-child p:nth-child(2) {
    font-size: 14px;
  }

  .actividad-2 .expert-flag {
    bottom: 0;
    right: 0;
  }

  /* Beneficios */
  .beneficios_grid p {
    font-size: 16px;
  }

  .beneficios_grid>div>div:first-child {
    text-align: start;
  }

  .beneficio_grid2 h3 {
    font-size: 17px;
  }

  .beneficio_grid2>div span {
    font-size: 14px;
    text-align: start;
    margin: 10px 0;
  }

  .beneficio_grid2 ul {
    margin-left: 16px;
  }

  /* Experts */
  .experts_2 .expert-row h3 {
    font-size: 18px;
  }

  .experts_2 .expert-row span {
    font-size: 14px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-col>div br,
  .footer-col br {
    display: none;
  }

  .footer-col>div {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .footer-col>h4:first-child {
    display: none;
  }

  .footer-col h4,
  .footer-col span {
    color: #fff;
    font-weight: bold;
    margin-bottom: 0;
  }
}
