/* =============================================
   TRASCENDENTAL 4.1 — ALTA TÉCNICA DENTAL 2026
   Nueva Identidad Visual extraída de poster-congreso.png:
   - Fondo: Plata clínico y blanco puro (#f6f8fb, #ffffff)
   - Cian Eléctrico: #00a8cc / #0284c7 (bio-tecnología y Trascendental 4.1)
   - Púrpura / Violeta: #7928ca / #581c87 (degradado CDMX y acentos)
   - Coral Neón: #ff6b6b (anillo orbital)
   - Textos: Grafito / Slate profundo (#0f172a, #334155)
   - Tipografía: Outfit (geométrica moderna) + Inter
============================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── PALETA IDENTIDAD 2026 ── */
  --bg-page: #f6f8fb;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #edf2f8;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-dark-section: #0b0f19;
  --bg-dark-surface: #131b2e;

  /* Textos */
  --text-title: #090d16;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #94a3b8;

  /* Colores de Marca */
  --cyan: #00a8cc;
  --cyan-dark: #0284c7;
  --cyan-light: #e0f7fa;
  --cyan-glow: rgba(0, 168, 204, 0.35);

  --purple: #7928ca;
  --purple-deep: #581c87;
  --purple-light: #f3e8ff;
  --purple-glow: rgba(121, 40, 202, 0.3);

  --coral: #ff6b6b;
  --gold: #d97706;
  --gold-light: #fef3c7;

  /* Compatibilidad con scripts y elementos existentes */
  --amber: #00a8cc;
  --indigo: #0f172a;
  --midnight: #f6f8fb;
  --orange: #7928ca;
  --blue: #00a8cc;
  --white: #ffffff;
  --muted: #475569;

  /* Bordes y Sombras */
  --border-subtle: rgba(226, 232, 240, 0.85);
  --border-card: #e2e8f0;
  --border-focus: rgba(0, 168, 204, 0.5);
  --glass-border: rgba(226, 232, 240, 0.85);
  --glass: rgba(255, 255, 255, 0.85);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.1), 0 8px 16px -6px rgba(0, 168, 204, 0.06);
  --shadow-glow: 0 0 35px rgba(0, 168, 204, 0.22);

  /* Degradados de Marca */
  --grad-cdmx: linear-gradient(135deg, #7928ca 0%, #00b4d8 100%);
  --grad-btn: linear-gradient(135deg, #7928ca 0%, #00a8cc 100%);
  --grad-btn-hover: linear-gradient(135deg, #6d28d9 0%, #0284c7 100%);
  --grad-cyan: linear-gradient(135deg, #00a8cc 0%, #0284c7 100%);
  --grad-badge: linear-gradient(135deg, rgba(121, 40, 202, 0.08) 0%, rgba(0, 168, 204, 0.08) 100%);

  /* Tipografía */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-serif: 'Outfit', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #edf2f7;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: background 0.35s, padding 0.35s, gap 0.35s, box-shadow 0.35s;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 0.55rem 2.5rem;
  gap: 0.45rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-top {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  text-decoration: none;
}

.nav-brand-img {
  height: 64px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.82;
  transition: opacity 0.3s ease, height 0.4s ease, transform 0.3s ease;
}

#navbar.scrolled .nav-brand-img {
  height: 38px;
}

.nav-brand-img:hover {
  opacity: 1;
  transform: scale(1.04);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}

.nav-links a:hover {
  color: var(--cyan-dark);
  background: rgba(0, 168, 204, 0.08);
}

.nav-links a.active-nav {
  color: var(--cyan-dark) !important;
  font-weight: 700 !important;
  background: rgba(0, 168, 204, 0.09) !important;
}

.nav-cta {
  background: var(--grad-btn) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 0.52rem 1.4rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 18px rgba(121, 40, 202, 0.3) !important;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 168, 204, 0.4) !important;
  opacity: 0.95;
  background: var(--grad-btn-hover) !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO SECTION (NUEVA IDENTIDAD PÓSTER) ── */
.hero {
  position: relative;
  padding-top: 125px;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-page);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(121, 40, 202, 0.09) 0%, rgba(0, 168, 204, 0.06) 38%, transparent 72%),
    radial-gradient(circle at 80% 60%, rgba(0, 168, 204, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 60%, rgba(121, 40, 202, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 1080px;
  animation: heroFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

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

/* Visual Central del Póster */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-halo {
  position: absolute;
  width: min(440px, 80vw);
  height: min(440px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.15) 0%, rgba(0, 168, 204, 0.12) 60%, transparent 75%);
  box-shadow: 0 0 60px rgba(0, 168, 204, 0.2);
  filter: blur(8px);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.96);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.hero-visual-img {
  position: relative;
  z-index: 2;
  width: min(620px, 82vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(15, 23, 42, 0.12));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-img:hover {
  transform: scale(1.02);
}

/* Bloque Tipográfico de Identidad (Póster) */
.hero-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  margin-top: 4.2rem;
  margin-bottom: 1.4rem;
  width: 100%;
  max-width: 980px;
}

.hero-identity-left {
  text-align: right;
  flex: 1.2;
}

.hero-edition {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--text-main);
  text-transform: uppercase;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.45rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-title);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-top: 0.3rem;
}

/* Línea separadora con dot del póster */
.hero-identity-sep {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2px;
  height: 105px;
  background: linear-gradient(to bottom, #7928ca 0%, #00a8cc 100%);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-identity-sep .sep-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00a8cc;
  box-shadow: 0 0 10px #00a8cc;
  left: 50%;
  transform: translateX(-50%);
}

.hero-identity-sep .sep-dot.top {
  top: 18%;
}

.hero-identity-sep .sep-dot.bottom {
  bottom: 18%;
}

.hero-identity-right {
  text-align: left;
  flex: 1;
}

.hero-series {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: #0096c7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-cdmx {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.02em;
  background: var(--grad-cdmx);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.2rem 0;
}

.hero-city {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.3vw, 0.92rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Badge Sede y Fecha */
.hero-venue-badge {
  display: inline-flex;
  z-index: 3;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0.6rem 1.6rem;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--border-card);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.6vw, 1.1rem);
  font-weight: 700;
  color: #4338ca;
  letter-spacing: 0.06em;
}

.hero-venue-badge .badge-bar {
  width: 4px;
  height: 1.25em;
  background: #4f46e5;
  border-radius: 2px;
}

/* Acciones Hero */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.88rem 2.4rem;
  background: var(--grad-btn);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  box-shadow: 0 4px 22px rgba(121, 40, 202, 0.35);
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 168, 204, 0.45);
  background: var(--grad-btn-hover);
}

.btn-secondary {
  display: inline-block;
  padding: 0.88rem 2.2rem;
  background: #ffffff;
  color: var(--cyan-dark);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  border: 1.5px solid var(--cyan);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--cyan);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 168, 204, 0.25);
}

.btn-ghost {
  display: inline-block;
  padding: 0.88rem 2.2rem;
  border: 1px solid var(--border-card);
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, background 0.25s, transform 0.25s, color 0.25s;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan-dark);
  background: rgba(0, 168, 204, 0.05);
  transform: translateY(-2px);
}

/* Video Promocional */
.hero-video-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-video {
  width: min(800px, 92vw);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: #0f172a;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 0 35px rgba(0, 168, 204, 0.08);
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── COUNTDOWN BAR (CONTRASTE TECNOLÓGICO) ── */
.countdown-bar {
  background: linear-gradient(135deg, #0b0f19 0%, #161a2e 50%, #0c263d 100%);
  padding: 1.6rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.countdown-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #94a3b8;
}

.countdown-timers {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  backdrop-filter: blur(10px);
}

.timer-unit span {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
}

.timer-unit small {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.timer-sep {
  font-size: 1.8rem;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

/* ── SECTIONS GENERIC ── */
.section {
  padding: 6.5rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.8rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  background: rgba(0, 168, 204, 0.08);
  border: 1px solid rgba(0, 168, 204, 0.25);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-title);
  letter-spacing: -0.015em;
}

.section-title em {
  font-style: normal;
  font-weight: 800;
  background: var(--grad-cdmx);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ── EVENTO ── */
.evento-section {
  background: #ffffff;
}

.evento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
}

.evento-card {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.evento-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
}

.evento-icon {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.evento-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-title);
}

.evento-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── CONFERENCISTAS ── */
.conferencistas-section {
  background: var(--bg-page);
}

.conferencistas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.6rem;
}

.speaker-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #ffffff;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.speaker-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: grayscale(12%);
}

.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 168, 204, 0.2);
  border-color: var(--cyan);
}

.speaker-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.speaker-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 1rem 1.2rem;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.94) 0%, rgba(11, 15, 25, 0.6) 60%, transparent 100%);
  transform: translateY(6px);
  transition: transform 0.35s ease, background 0.35s ease;
}

.speaker-card:hover .speaker-info {
  transform: translateY(0);
}

.speaker-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0;
  transition: color 0.3s;
}

.speaker-card:hover .speaker-info h3 {
  color: #38bdf8;
}

/* ── PROGRAMA ── */
.programa-section {
  background: #ffffff;
}

.programa-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.programa-download-wrap {
  display: flex;
  justify-content: center;
  margin-top: -1rem;
  margin-bottom: 2.5rem;
}

.programa-download {
  text-align: center;
}

.tab-btn {
  padding: 0.65rem 1.8rem;
  border-radius: 50px;
  border: 1px solid var(--border-card);
  background: var(--bg-page);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.tab-btn.active {
  background: var(--grad-btn);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(121, 40, 202, 0.25);
}

.tab-btn:hover:not(.active) {
  border-color: var(--cyan);
  color: var(--cyan-dark);
  background: rgba(0, 168, 204, 0.05);
}

.programa-content {
  display: none;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.programa-content.active {
  display: flex;
}

.agenda-item {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border-card);
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-item:hover {
  background: rgba(0, 168, 204, 0.04);
  transform: translateX(4px);
}

.agenda-time {
  min-width: 65px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cyan-dark);
  padding-top: 0.1rem;
}

.agenda-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.agenda-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── MARCAS ── */
.marcas-section {
  background: var(--bg-page);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.2rem;
}

.brand-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 1.2rem;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.brand-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--cyan);
  box-shadow: 0 12px 28px rgba(0, 168, 204, 0.15);
}

.brand-item img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.3s, transform 0.3s;
}

.brand-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* ── INSCRIPCION ── */
.inscripcion-section {
  position: relative;
  background: #ffffff;
}

.inscripcion-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 30%, rgba(121, 40, 202, 0.06) 0%, rgba(0, 168, 204, 0.05) 50%, transparent 80%);
  pointer-events: none;
}

.inscripcion-section .container {
  position: relative;
  z-index: 1;
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  align-items: stretch;
}

.ticket-card {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 2.8rem 1.8rem;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.ticket-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ticket-card.featured {
  background: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(135deg, #7928ca, #00a8cc);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 18px 45px rgba(121, 40, 202, 0.14);
}

.ticket-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(121, 40, 202, 0.3);
  white-space: nowrap;
}

.ticket-header {
  margin-bottom: 2rem;
  text-align: center;
}

.ticket-type {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.6rem;
  min-height: 1.2em;
}

.ticket-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.2rem;
  color: var(--cyan-dark);
  line-height: 1;
}

.ticket-img {
  display: block;
  margin: 0 auto 1.2rem;
  width: 120px;
  border: 1px solid var(--border-card);
}

.price-currency {
  font-size: 1.6rem;
  vertical-align: super;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

.ticket-features {
  list-style: none;
  margin-bottom: 2.2rem;
  flex: 1 1 auto;
}

.ticket-features li {
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-card);
}

.ticket-features li:last-child {
  border: none;
}

.ticket-card .btn-primary {
  display: block;
  text-align: center;
  padding: 0.88rem 1.2rem;
  margin-top: auto;
  width: 100%;
}

.pago-info {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}

.pago-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 1.2rem;
}

.pago-datos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.pago-datos p {
  font-size: 0.95rem;
  color: var(--text-main);
}

.pago-nota {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pago-nota a {
  color: #10b981;
  font-weight: 700;
  text-decoration: none;
}

.pago-nota a:hover {
  text-decoration: underline;
}

/* ── SEDE ── */
.sede-section {
  background: var(--bg-page);
}

.sede-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sede-address {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.sede-icon {
  font-size: 2.2rem;
}

.sede-address h2,
.sede-address h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.5rem;
}

.sede-address p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.sede-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.sede-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.sede-map iframe {
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card) !important;
}

/* ── HOTELES ── */
.hoteles-section {
  background: #ffffff;
}

.hoteles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.hotel-card {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.hotel-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}

.hotel-stars {
  color: #f59e0b;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.hotel-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.4rem;
}

.hotel-addr {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.hotel-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan-dark);
  margin-bottom: 0.4rem;
}

.hotel-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hotel-tel {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.hotel-card small {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ── CONTACTO ── */
.contacto-section {
  background: var(--bg-page);
}

.contacto-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.contacto-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: var(--text-main);
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.contacto-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 10px 24px rgba(0, 168, 204, 0.15);
}

.contacto-card.whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
}

.contacto-icon {
  font-size: 1.8rem;
}

.contacto-card span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

.alert {
  max-width: 640px;
  margin: 2rem auto 0;
  padding: 1.2rem 1.6rem;
  background: #10b98108;
  color: #10b981;
  border: 1px solid #10b981;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-align: center;
}

/* Formulario de Contacto */
.contacto-form {
  max-width: 660px;
  margin: 2.5rem auto 0;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 2.8rem 2.2rem;
  box-shadow: var(--shadow-md);
}

.contacto-form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-title);
  text-align: center;
  margin-bottom: 1.8rem;
}

.contacto-form .form-group {
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contacto-form label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--text-main);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: #94a3b8;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 168, 204, 0.12);
}

.contacto-submit-btn {
  width: 100%;
  margin-top: 0.8rem;
  cursor: pointer;
  border: none;
}

/* ── FOOTER (ALTO CONTRASTE) ── */
.footer {
  background: var(--bg-dark-section);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2rem;
  color: var(--text-on-dark);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #38bdf8;
}

.footer-social {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 0.5rem;
}

.footer-social a {
  color: var(--text-on-dark);
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  opacity: 1;
  color: #38bdf8;
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  right: 1.8rem;
  bottom: 1.8rem;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--grad-btn);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(121, 40, 202, 0.38), 0 4px 12px rgba(0, 168, 204, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--grad-btn-hover);
  color: #ffffff;
  transform: translateY(-0.25rem) scale(1.06);
  box-shadow: 0 14px 32px rgba(121, 40, 202, 0.5), 0 6px 16px rgba(0, 168, 204, 0.38);
}

.scroll-top:active {
  transform: translateY(0) scale(0.96);
}

.scroll-top svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 992px) {
  .sede-content {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .ticket-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }

  .ticket-card:nth-child(1) {
    order: 3;
  }

  .ticket-card:nth-child(2) {
    order: 1;
  }

  .ticket-card:nth-child(3) {
    order: 2;
  }

  .ticket-card:nth-child(1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 2rem) / 2);
  }
}

@media (max-width: 840px) {
  .hero-identity {
    flex-direction: column;
    gap: 1.2rem;
  }

  .hero-identity-left,
  .hero-identity-right {
    text-align: center;
  }

  .hero-identity-sep {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, #7928ca 0%, #00a8cc 100%);
    margin: 0.5rem auto;
  }

  .hero-identity-sep .sep-dot {
    top: 50%;
    transform: translateY(-50%);
  }

  .hero-identity-sep .sep-dot.top {
    left: 20%;
    top: 50%;
  }

  .hero-identity-sep .sep-dot.bottom {
    left: auto;
    right: 20%;
    bottom: auto;
    top: 50%;
  }
}

@media (max-width: 768px) {
  #navbar {
    padding: 0.9rem 1.2rem;
    gap: 0;
  }

  .nav-top {
    justify-content: space-between;
  }

  .nav-logo {
    gap: 1rem;
  }

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

  #navbar.scrolled .nav-brand-img {
    height: 30px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.4rem 1.2rem;
    border-top: 1px solid var(--border-card);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    gap: 0.3rem;
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 130px;
  }

  .ticket-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .ticket-card:nth-child(1) {
    grid-column: auto;
    max-width: 100%;
  }

  .section {
    padding: 5rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .conferencistas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticket-card {
    padding: 2.4rem 1.4rem;
  }

  .nav-brand-img {
    height: 28px;
  }

  .hero-venue-badge {
    flex-direction: row;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .countdown-timers {
    gap: 0.35rem;
  }

  .timer-unit {
    min-width: 52px;
    padding: 0.5rem 0.6rem;
  }

  .timer-unit span {
    font-size: 1.6rem;
  }

  .scroll-top {
    right: 1.2rem;
    bottom: 1.2rem;
  }
}