/* ============================================
   DIPLOMATURA GÉNERO, DIVERSIDAD Y SEGURIDAD PÚBLICA
   IUSP / UNCuyo — Landing Page Premium 2026
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Paleta principal solicitada */
  --primary-900: #120D3A; /* Azul marino muy oscuro - títulos principales */
  --primary-800: #54218C; /* Violeta profundo - segunda línea */
  --primary-700: #6D3AA8; /* Violeta medio - acentos */

  --gold-500: #B88736; /* Dorado/ocre - acentos */
  --gold-400: #D6A857;
  --gold-600: #A06F2A;

  --white: #ffffff;
  --bg-light: #F2F2F2; /* Gris claro - fondo */
  --gray-50: var(--bg-light);
  --gray-100: #f1f1f3;
  --gray-200: #D6D2D8; /* Gris medio - líneas divisorias */
  --gray-300: #c9c6cc;
  --gray-400: #94929a;
  --gray-500: #4A4A5F; /* Gris oscuro - texto secundario */

  --font-sans: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-serif: 'Playfair Display',Georgia,serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--primary-900); background: var(--gray-50); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* Asegurar buen contraste en enlaces y elementos interactivos */
a { color: var(--primary-700); }
a:hover, a:focus { color: var(--primary-800); text-decoration: underline; }

/* Accesibilidad: focus visible global */
:focus { outline: none; }
:focus-visible { box-shadow: 0 0 0 3px rgba(105,65,160,0.16); border-radius: 6px; }

/* Enlaces y tablas globales según diseño solicitado */
a { text-decoration: none; color: #464feb; }
tr th, tr td { border: 1px solid #e6e6e6; }
tr th { background-color: #f5f5f5; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary-500); border-radius: 999px; }
::selection { background: var(--gold-500); color: var(--primary-900); }

.container { width: 92%; max-width: 1280px; margin: 0 auto; }

/* HEADER */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(6,20,40,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); transition: all 0.3s ease; }
#header.scrolled { background: rgba(6,20,40,0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; min-height: 72px; }
.logos { display: flex; align-items: center; gap: 1rem; }
.logo-item { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text { font-size: 1.5rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; }
.logo-sub { font-size: 0.65rem; font-weight: 500; color: var(--gold-500); text-transform: uppercase; letter-spacing: 0.1em; }
.logo-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.15); }
.logo-text-alt { font-size: 0.75rem; font-weight: 600; color: var(--white); letter-spacing: 0.02em; }
.logo-sub-alt { font-size: 0.6rem; font-weight: 400; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { color: var(--gray-300); text-decoration: none; font-size: 0.875rem; font-weight: 500; padding: 0.5rem 1rem; border-radius: 999px; transition: all 0.15s ease; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scaleX(0); width: 20px; height: 2px; background: var(--gold-500); border-radius: 999px; transition: transform 0.3s ease; }
.nav-link:hover { color: var(--gold-500); }
.nav-link:focus, .nav-link:focus-visible { color: var(--gold-500); outline: none; box-shadow: 0 0 0 3px rgba(184,135,54,0.18); border-radius: 8px; }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-cta { background: var(--gold-500); color: var(--primary-900) !important; font-weight: 700; margin-left: 0.5rem; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 10px 40px rgba(243,198,72,0.3); }

.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; }
.menu-toggle span { display: block; width: 100%; height: 2.5px; background: var(--white); border-radius: 999px; transition: all 0.3s ease; transform-origin: center; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8.75px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: linear-gradient(135deg, rgba(13,47,95,0.97) 0%, rgba(29,92,184,0.92) 50%, rgba(13,47,95,0.95) 100%), url('img/hero-genero.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,58,0.45) 0%, rgba(84,33,140,0.55) 50%, rgba(18,13,58,0.85) 100%); mix-blend-mode: multiply; z-index: 2; pointer-events: none; }

/* Extra subtle overlay to introduce secondary violet/gold tint without editing the image */
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(109,58,168,0.06) 0%, rgba(184,135,54,0.03) 100%); mix-blend-mode: overlay; z-index: 2; pointer-events: none; }
.hero-content { position: relative; z-index: 3; padding: calc(72px + 6rem) 0 6rem; }

.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(243,198,72,0.15); border: 1px solid rgba(243,198,72,0.3); backdrop-filter: blur(10px); padding: 0.625rem 1.25rem; border-radius: 999px; margin-bottom: 2rem; }
.badge-icon { color: var(--gold-500); font-size: 1rem; }
.hero-badge span { color: var(--gold-400); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

.hero h1 { font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 1.1; margin-bottom: 2rem; color: var(--white); }
.hero h1 .line { display: block; }
.hero h1 .accent { background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 50%, var(--gold-600) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-description { max-width: 800px; margin: 0 auto 3rem; font-size: clamp(1rem, 2vw, 1.25rem); color: var(--gray-300); line-height: 1.7; font-weight: 300; }

.hero-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 900px; margin: 0 auto 3rem; }
.counter { background: rgba(255,255,255,0.06); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; padding: 2rem 1rem; transition: all 0.3s ease; }
.counter:hover { background: rgba(255,255,255,0.1); border-color: rgba(243,198,72,0.2); transform: translateY(-4px); }
.counter-icon { width: 40px; height: 40px; margin: 0 auto 1rem; color: var(--gold-500); }
.counter-icon svg { width: 100%; height: 100%; }
.counter-value { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 0.5rem; }
.counter-number { font-size: 2.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.counter-suffix { font-size: 1rem; font-weight: 600; color: var(--gray-400); }
.counter-label { display: block; font-size: 0.8rem; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

.hero-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; border-radius: 999px; font-size: 0.9375rem; font-weight: 700; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 50%, var(--gold-600) 100%); color: var(--primary-900); box-shadow: 0 10px 40px rgba(184,135,54,0.18); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 50px rgba(160,111,42,0.22); }
.btn-primary .btn-arrow { width: 18px; height: 18px; transition: transform 0.3s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: var(--white); color: var(--primary-700); border-color: var(--white); transform: translateY(-3px); }

.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: var(--gray-400); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }
.scroll-mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; position: relative; }
.scroll-wheel { width: 4px; height: 8px; background: var(--gold-500); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollWheel 2s ease-in-out infinite; }

@keyframes scrollWheel {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}

/* SECTIONS */
.section { padding: 6rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary-500); margin-bottom: 1rem; }
.section-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; color: var(--primary-900); line-height: 1.15; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-500); max-width: 700px; margin: 0 auto; }
.section-line { width: 60px; height: 3px; background: var(--gold-500); margin: 1.5rem auto 0; border-radius: 999px; }
.section-header.light .section-eyebrow { color: var(--gold-400); }
.section-header.light .section-title { color: var(--white); }
.section-header.light .section-line { background: var(--gold-500); }

/* PRESENTATION */
.section-presentation { background: var(--white); }
.presentation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.presentation-text .lead { font-size: 1.35rem; line-height: 1.6; color: var(--gray-700); margin-bottom: 1.5rem; }
.presentation-text p { font-size: 1.05rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 1rem; }
.presentation-meta { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.meta-item { text-align: center; }
.meta-number { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary-700); line-height: 1; }
.meta-label { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.25rem; }

.presentation-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.visual-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 20px; padding: 2rem; transition: all 0.3s ease; }
.visual-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--primary-300); }
.visual-card.accent { background: var(--primary-700); border-color: var(--primary-600); color: var(--white); }
.visual-card.accent .visual-big { color: var(--gold-500); }
.visual-card.accent .visual-small { color: var(--gray-300); }
.visual-icon { width: 48px; height: 48px; color: var(--primary-500); margin-bottom: 1rem; }
.visual-card.accent .visual-icon { color: var(--gold-500); }
.visual-icon svg { width: 100%; height: 100%; }
.visual-card h4 { font-size: 0.875rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.visual-big { font-size: 1.75rem; font-weight: 800; color: var(--primary-700); line-height: 1.2; }
.visual-small { font-size: 0.875rem; color: var(--gray-500); margin-top: 0.25rem; }

/* FEATURES */
.section-features { background: var(--gray-50); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 24px; padding: 2.5rem 2rem; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold-500); transform: scaleX(0); transition: transform 0.4s ease; border-radius: 24px 24px 0 0; }
.feature-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-number { font-size: 0.75rem; font-weight: 800; color: var(--gray-300); letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.feature-icon { width: 56px; height: 56px; color: var(--primary-500); margin-bottom: 1.5rem; background: var(--gray-50); border-radius: 16px; padding: 12px; }
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary-900); margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.6; }

/* DARK SECTION */
.section-dark { background: linear-gradient(180deg, var(--primary-800) 0%, var(--primary-900) 100%); color: var(--white); }

/* OBJECTIVES */
.objectives-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.objective-main { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 3rem; }
.objective-badge { display: inline-block; background: var(--gold-500); color: var(--primary-900); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.5rem 1rem; border-radius: 999px; margin-bottom: 1.5rem; }
.objective-main h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.4; color: var(--white); }
.objectives-list { display: flex; flex-direction: column; gap: 1.25rem; }
.objective-item { display: flex; gap: 1rem; align-items: flex-start; }
.objective-marker { width: 28px; height: 28px; min-width: 28px; background: rgba(243,198,72,0.15); border: 1px solid rgba(243,198,72,0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold-500); margin-top: 2px; }
.objective-marker svg { width: 14px; height: 14px; }
.objective-content h4 { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.objective-content p { font-size: 0.9375rem; color: var(--gray-400); line-height: 1.5; }

/* DESTINATARIOS */
.section-destinatarios { background: var(--white); }
.destinatarios-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.dest-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 20px; padding: 2rem 1.5rem; text-align: center; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.dest-card:hover { background: var(--primary-700); border-color: var(--primary-600); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(13,47,95,0.2); }
.dest-card:hover .dest-icon { color: var(--gold-500); }
.dest-card:hover h4 { color: var(--white); }
.dest-icon { width: 48px; height: 48px; color: var(--primary-500); margin: 0 auto 1rem; transition: color 0.3s ease; }
.dest-icon svg { width: 100%; height: 100%; }
.dest-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--gray-700); line-height: 1.3; transition: color 0.3s ease; }

/* REQUISITOS */
.section-requisitos { background: var(--gray-50); }
.requisitos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.req-block { background: var(--white); border: 1px solid var(--gray-200); border-radius: 24px; padding: 3rem; transition: all 0.3s ease; }
.req-block:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: var(--gray-300); }
.req-block-alt { background: var(--primary-700); border-color: var(--primary-600); color: var(--white); }
.req-block-alt:hover { box-shadow: 0 20px 40px rgba(13,47,95,0.2); }
.req-header { margin-bottom: 2rem; }
.req-eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary-500); margin-bottom: 0.5rem; display: block; }
.req-block-alt .req-eyebrow { color: var(--gold-400); }
.req-header h3 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; color: var(--primary-900); }
.req-block-alt .req-header h3 { color: var(--white); }
.req-list { display: flex; flex-direction: column; gap: 1.5rem; }
.req-item { display: flex; gap: 1rem; align-items: flex-start; }
.req-number { font-size: 1.5rem; font-weight: 800; color: var(--gold-500); line-height: 1; min-width: 36px; }
.req-item p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.6; }
.req-block-alt .req-item p { color: var(--gray-300); }

/* PLAN */
.section-plan { background: var(--white); }
.modules-timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-track { position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.module-card { position: relative; padding-left: 80px; margin-bottom: 1.5rem; }
.module-marker { position: absolute; left: 0; top: 0; width: 50px; height: 50px; background: var(--primary-700); color: var(--white); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 800; z-index: 2; box-shadow: 0 4px 15px rgba(13,47,95,0.3); }
.module-card-tfi .module-marker { background: var(--gold-500); color: var(--primary-900); font-size: 0.75rem; }
.module-content { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 20px; padding: 1.75rem 2rem; transition: all 0.3s ease; }
.module-content:hover { background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.06); border-color: var(--primary-300); transform: translateX(4px); }
.module-hours { display: inline-block; background: rgba(29,92,184,0.1); color: var(--primary-700); font-size: 0.75rem; font-weight: 700; padding: 0.375rem 0.875rem; border-radius: 999px; margin-bottom: 0.75rem; }
.module-card-tfi .module-hours { background: rgba(243,198,72,0.15); color: var(--gold-600); }
.module-content h4 { font-size: 1.15rem; font-weight: 700; color: var(--primary-900); margin-bottom: 0.5rem; }
.module-content p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }

.plan-footer { margin-top: 4rem; }
.plan-stats { display: flex; justify-content: center; gap: 4rem; padding: 2rem 0; border-top: 1px solid var(--gray-200); }
.plan-stat { text-align: center; }
.plan-stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary-700); line-height: 1; }
.plan-stat-label { font-size: 0.875rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.5rem; }

/* PRICING */
.section-pricing { background: linear-gradient(135deg, #fef9e7 0%, #fdf3d0 50%, #fef9e7 100%); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1000px; margin: 0 auto; }
.pricing-card { background: var(--white); border-radius: 28px; padding: 3rem; box-shadow: 0 20px 60px rgba(0,0,0,0.08); border: 1px solid rgba(243,198,72,0.2); transition: all 0.3s ease; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(0,0,0,0.12); }
.pricing-badge { display: inline-block; background: var(--primary-700); color: var(--white); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.5rem 1.25rem; border-radius: 999px; margin-bottom: 1.5rem; }
.pricing-badge-alt { background: var(--gold-500); color: var(--primary-900); }
.pricing-amount { display: flex; align-items: flex-start; justify-content: center; gap: 0.25rem; margin-bottom: 0.5rem; }
.pricing-currency { font-size: 2rem; font-weight: 700; color: var(--primary-700); margin-top: 0.5rem; }
.pricing-number { font-size: 4.5rem; font-weight: 900; color: var(--primary-900); line-height: 1; letter-spacing: -0.03em; }
.pricing-note { text-align: center; font-size: 0.9375rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.pricing-divider { height: 1px; background: var(--gray-200); margin: 1.5rem 0; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; font-size: 0.95rem; color: var(--gray-600); }
.pricing-features li svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; }
.btn-pricing { 
    width: auto; 
    justify-content: center; 
    background: var(--primary-700); 
    color: var(--white); 
    padding: 1rem 2.5rem;
    align-self: center;
}
.btn-pricing:hover { background: var(--primary-600); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(13,47,95,0.3); }

.payment-info { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-intro { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 0.5rem; }
.payment-detail { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); }
.payment-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; }
.payment-value { font-size: 0.9rem; font-weight: 600; color: var(--primary-700); }
.payment-value.copyable { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: var(--gray-100); padding: 0.25rem 0.75rem; border-radius: 8px; transition: all 0.2s ease; outline: none; }
.payment-value.copyable:hover { background: rgba(29,92,184,0.1); color: var(--primary-600); }
.payment-value.copyable:focus-visible { box-shadow: 0 0 0 3px rgba(243,198,72,0.35); }
.payment-note { font-size: 0.8rem; color: var(--gray-500); margin-top: 1rem; font-style: italic; }

/* INSCRIPCION */
.section-inscripcion { background: var(--white); }
.inscripcion-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.inscripcion-info .section-eyebrow { margin-bottom: 1rem; }
.inscripcion-info h2 { font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--primary-900); margin-bottom: 1rem; }
.inscripcion-lead { font-size: 1.1rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; min-width: 44px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary-500); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-text { display: flex; flex-direction: column; }
.contact-label { font-size: 0.75rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.contact-text a, .contact-text span { font-size: 0.95rem; color: var(--gray-700); text-decoration: none; transition: color 0.2s ease; }
.contact-text a:hover { color: var(--primary-500); }

.inscripcion-form-wrapper { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 24px; padding: 2.5rem; }
.inscripcion-form { 
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
    align-items: flex-start;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group textarea { padding: 0.875rem 1rem; border: 1px solid var(--gray-300); border-radius: 12px; font-family: var(--font-sans); font-size: 0.9375rem; color: var(--gray-800); background: var(--white); transition: all 0.2s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-400); box-shadow: 0 0 0 3px rgba(29,92,184,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-400); }
.btn-form { 
    width: auto; 
    justify-content: center; 
    background: var(--primary-700); 
    color: var(--white); 
    margin-top: 0.5rem; 
    padding: 1rem 2.5rem;
    align-self: flex-start;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.btn-form:hover { 
    background: var(--primary-600); 
    transform: translateY(-2px); 
    box-shadow: 0 10px 30px rgba(13,47,95,0.25); 
}

/* FOOTER */
.footer { background: var(--primary-900); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logos { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-logo-item { display: flex; flex-direction: column; }
.footer-logo-text { font-size: 1.5rem; font-weight: 900; color: var(--white); line-height: 1; }
.footer-logo-sub { font-size: 0.7rem; color: var(--gray-400); }
.footer-logo-text-alt { font-size: 1.25rem; font-weight: 700; color: var(--white); line-height: 1; }
.footer-logo-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }
.footer-desc { font-size: 0.9rem; color: var(--gray-400); line-height: 1.7; max-width: 400px; }
.footer-links h4, .footer-contact h4 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-500); margin-bottom: 1.25rem; }
.footer-links a { display: block; color: var(--gray-400); text-decoration: none; font-size: 0.9rem; padding: 0.375rem 0; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-contact a, .footer-contact span { display: block; color: var(--gray-400); text-decoration: none; font-size: 0.9rem; padding: 0.375rem 0; transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-500); }
.footer-legal { margin-top: 0.5rem; font-size: 0.75rem !important; color: var(--gray-600) !important; }

/* TOAST */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--primary-800); color: var(--white); padding: 1rem 1.5rem; border-radius: 12px; display: flex; align-items: center; gap: 0.75rem; box-shadow: 0 10px 40px rgba(0,0,0,0.3); transform: translateY(100px); opacity: 0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 9999; border: 1px solid rgba(255,255,255,0.1); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { width: 20px; height: 20px; color: var(--gold-500); }
.toast-icon svg { width: 100%; height: 100%; }
.toast-message { font-size: 0.9rem; font-weight: 500; }

/* REVEAL ANIMATIONS */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
[data-reveal=\"left\"] { transform: translateX(-60px); }
[data-reveal=\"right\"] { transform: translateX(60px); }
[data-reveal].revealed { opacity: 1; transform: translateY(0) translateX(0); }

/* PARTICLES */
.particle { position: absolute; border-radius: 50%; background: rgba(243,198,72,0.3); pointer-events: none; animation: floatParticle linear infinite; }
@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .presentation-grid, .objectives-grid, .requisitos-grid, .pricing-grid, .inscripcion-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .destinatarios-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan-stats { gap: 2rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links { display: none; position: absolute; right: 1rem; top: 100%; background: rgba(6,20,40,0.98); backdrop-filter: blur(20px); flex-direction: column; gap: 0.5rem; padding: 1.5rem; border-radius: 20px; width: calc(100% - 2rem); max-width: 320px; border: 1px solid rgba(255,255,255,0.1); max-height: calc(100vh - 100px); overflow-y: auto; }
  .nav-links.active { display: flex; }
  .nav-link { padding: 0.75rem 1rem; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; }
  .hero-counters { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: clamp(1.7rem, 6vw, 2.75rem); }
  .features-grid { grid-template-columns: 1fr; }
  .destinatarios-grid { grid-template-columns: repeat(2, 1fr); }
  .presentation-meta { grid-template-columns: repeat(3, 1fr); }
  .plan-stats { flex-wrap: wrap; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-desc { max-width: none; }
  .footer-logos { justify-content: center; }
  .module-card { padding-left: 60px; }
  .module-marker { width: 40px; height: 40px; font-size: 0.75rem; }
  .timeline-track { left: 19px; }
  .hero { background-attachment: scroll; }
  /* Nav adjustments for small screens */
  .menu-toggle { z-index: 1100; }
  .nav-links { right: 0.75rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .section { padding: 4rem 0; }
  .pricing-number { font-size: 3rem; }
  .pricing-currency { font-size: 1.5rem; }
  .counter-number { font-size: 1.75rem; }
  .meta-number { font-size: 1.25rem; }
  .dest-card { padding: 1.5rem 1rem; }
  .req-block { padding: 2rem 1.5rem; }
  .section-title { font-size: clamp(1.25rem, 5.5vw, 1.75rem); }
}

/* CHATBOT FAQ */
.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 50%, var(--gold-600) 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(184,135,54,0.4);
  transition: all 0.3s ease;
  position: relative;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(184,135,54,0.5);
}

.chatbot-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(184,135,54,0.3);
}

.chatbot-icon-open, .chatbot-icon-close {
  width: 28px;
  height: 28px;
  color: var(--primary-900);
  transition: all 0.3s ease;
}

.chatbot-icon-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.chatbot-widget.open .chatbot-icon-open {
  opacity: 0;
  transform: rotate(90deg);
}

.chatbot-widget.open .chatbot-icon-close {
  opacity: 1;
  transform: rotate(0);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 2rem);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.chatbot-widget.open .chatbot-window {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.chatbot-header-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
}

.chatbot-avatar svg {
  width: 22px;
  height: 22px;
}

.chatbot-title h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.chatbot-title p {
  font-size: 0.75rem;
  color: var(--gray-300);
}

.chatbot-close {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.2s ease;
}

.chatbot-close:hover {
  background: rgba(255,255,255,0.2);
}

.chatbot-close svg {
  width: 18px;
  height: 18px;
}

.chatbot-messages {
  height: 350px;
  overflow-y: auto;
  padding: 1.25rem;
  background: var(--gray-50);
}

.chatbot-message {
  margin-bottom: 1rem;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-message-content {
  max-width: 85%;
  padding: 0.875rem 1.125rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chatbot-message-bot .chatbot-message-content {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: 4px;
}

.chatbot-message-user {
  display: flex;
  justify-content: flex-end;
}

.chatbot-message-user .chatbot-message-content {
  background: var(--primary-700);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chatbot-quick-questions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chatbot-quick-btn {
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--gray-700);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.chatbot-quick-btn:hover {
  background: var(--primary-700);
  color: var(--white);
  border-color: var(--primary-700);
  transform: translateX(4px);
}

.chatbot-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.chatbot-input-area input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  background: var(--gray-50);
  transition: all 0.2s ease;
}

.chatbot-input-area input:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(29,92,184,0.1);
  background: var(--white);
}

.chatbot-send {
  width: 44px;
  height: 44px;
  background: var(--primary-700);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chatbot-send:hover {
  background: var(--primary-600);
  transform: scale(1.05);
}

.chatbot-send svg {
  width: 20px;
  height: 20px;
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: var(--gray-100);
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 999px;
}

@media (max-width: 480px) {
  .chatbot-widget {
    bottom: 1.5rem;
    right: 1rem;
  }

  .chatbot-window {
    width: calc(100vw - 2rem);
    bottom: 70px;
  }

  .chatbot-messages {
    height: 300px;
  }

  .chatbot-toggle {
    width: 52px;
    height: 52px;
  }
}