/* ==========================================================================
   STYLE.CSS - Portafolio Premium de Jacqueline Azabache Sabando
   Inspiración: Stripe, Linear, Deel (Aesthetics: Dark Premium)
   ========================================================================== */

/* 1. Variables Globales & Temas */
:root {
    /* Paleta de Colores */
    --bg-primary: #070a13;
    --bg-secondary: #0c1122;
    --bg-tertiary: #131b31;
    --bg-card: rgba(15, 23, 42, 0.5);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Acentos */
    --accent-emerald: #10b981;
    --accent-emerald-hover: #34d399;
    --accent-emerald-glow: rgba(16, 185, 129, 0.12);
    
    --accent-blue: #3b82f6;
    --accent-blue-hover: #60a5fa;
    --accent-blue-glow: rgba(59, 130, 246, 0.15);
    
    --accent-indigo: #6366f1;
    
    /* Glassmorphism */
    --glass-bg: rgba(12, 17, 34, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-hover: rgba(255, 255, 255, 0.12);
    
    /* Fuentes */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Sombras & Brillos */
    --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);
    
    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Bordes & Espaciado */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --container-max: 1200px;
    --header-height: 80px;
}

/* 2. Reseteo Básico */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* 3. Componentes Utilitarios Globales */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 100%);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, var(--accent-blue-hover) 0%, #4f46e5 100%);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.icon {
    width: 20px;
    height: 20px;
}

/* Badges */
.badge-container {
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.badge-success {
    background-color: var(--accent-emerald-glow);
    color: var(--accent-emerald);
    border-color: rgba(16, 185, 129, 0.25);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* Encabezados de Sección */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* 4. Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(7, 10, 19, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-blue);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburguesa móvil */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 110;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 5. Menú Móvil */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-nav a:hover {
    color: #ffffff;
}

/* 6. Hero Section */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 96px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-social .social-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-social .social-link:hover {
    color: #ffffff;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.glass-photo-frame {
    position: relative;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-slow);
}

.glass-photo-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(0, 0, 0, 0) 60%);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-image {
    width: 380px;
    height: 480px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 6px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-photo-frame:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.hero-background-gradient {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(99, 102, 241, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
    filter: blur(60px);
}

/* 7. Sobre Jacqueline */
.about-section {
    padding: 96px 0;
    border-top: 1px solid var(--glass-border);
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.about-narrative {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-narrative p {
    margin-bottom: 20px;
}

.about-narrative strong {
    color: #ffffff;
    font-weight: 600;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--glass-border-hover);
    background-color: rgba(15, 23, 42, 0.7);
    transform: translateX(6px);
}

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent-emerald);
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-emerald-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 8. Especialidades */
.specialties-section {
    padding: 96px 0;
    border-top: 1px solid var(--glass-border);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.specialty-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-indigo) 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.specialty-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    background-color: var(--bg-tertiary);
    box-shadow: var(--shadow-md);
}

.specialty-card:hover::before {
    opacity: 1;
}

.specialty-icon-wrapper {
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--accent-blue);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.specialty-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

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

/* 9. Experiencia Profesional */
.experience-section {
    padding: 96px 0;
    border-top: 1px solid var(--glass-border);
    background-color: var(--bg-secondary);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 48px;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.experience-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(15, 23, 42, 0.7);
    box-shadow: var(--shadow-md);
}

.experience-header-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 24px;
}

.company-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.company-info .role-title {
    font-size: 1.1rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.job-meta {
    text-align: right;
}

.job-period {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.job-location {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.experience-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.experience-skill-badge {
    font-size: 0.78rem;
    font-weight: 600;
    background-color: rgba(59, 130, 246, 0.06);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.experience-achievements h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.experience-achievements ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.experience-achievements li {
    position: relative;
    font-size: 0.98rem;
    color: var(--text-secondary);
    padding-left: 24px;
    line-height: 1.6;
}

.experience-achievements li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-emerald);
    font-weight: bold;
}

/* 10. Trayectoria (Línea de Tiempo) */
.trajectory-section {
    padding: 96px 0;
    border-top: 1px solid var(--glass-border);
}

.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-emerald) 50%, var(--bg-tertiary) 100%);
    transform: translateX(-50%);
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 3px solid var(--accent-blue);
    z-index: 10;
    transition: var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-emerald);
    border-color: var(--accent-emerald);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--accent-emerald);
}

.timeline-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    background-color: var(--bg-tertiary);
}

.timeline-date {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.timeline-content .timeline-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 11. Educación & Certificaciones */
.education-section {
    padding: 96px 0;
    border-top: 1px solid var(--glass-border);
    background-color: var(--bg-secondary);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.block-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 12px;
}

.block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-blue);
}

.education-list, .certifications-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.edu-card, .cert-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.edu-card:hover, .cert-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    background-color: rgba(15, 23, 42, 0.7);
}

.edu-card h4, .cert-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.edu-institution, .cert-org {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 6px;
}

.edu-period, .cert-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* 12. Cursos & Capacitaciones */
.courses-section {
    padding: 96px 0;
    border-top: 1px solid var(--glass-border);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.course-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition-normal);
}

.course-card:hover {
    border-color: var(--glass-border-hover);
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
}

.course-icon-wrapper {
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.course-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.course-provider {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 13. Competencias */
.skills-section {
    padding: 96px 0;
    border-top: 1px solid var(--glass-border);
    background-color: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.skill-category {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 32px;
}

.skill-category-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.skill-category-title .icon {
    color: var(--accent-blue);
}

.skill-tags {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-tag-item {
    font-size: 0.92rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-tag-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
}

/* 14. Formulario de Contacto */
.contact-section {
    padding: 96px 0;
    border-top: 1px solid var(--glass-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .info-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.contact-info .info-lead {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.contact-item-link:hover {
    border-color: var(--glass-border-hover);
    background-color: var(--bg-tertiary);
    transform: translateX(4px);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Formulario */
.contact-form-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
    background-color: var(--bg-secondary);
}

.form-feedback {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-feedback.success {
    display: block;
    color: var(--accent-emerald);
}

.form-feedback.error {
    display: block;
    color: #ef4444;
}

/* 15. Footer */
.main-footer {
    background-color: #04060b;
    border-top: 1px solid var(--glass-border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-footer {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand .logo-footer span {
    color: var(--accent-blue);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: #ffffff;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue) !important;
    font-weight: 600;
}

.admin-link:hover {
    color: var(--accent-blue-hover) !important;
}

.admin-link .icon {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Animación global de entrada */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   16. PRELOADER PREMIUM (CARGA EN TIEMPO REAL)
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #070a13;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 320px;
    padding: 20px;
}

.preloader-logo {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2px;
    animation: pulse-logo 1.5s infinite ease-in-out;
}

.preloader-logo span {
    color: var(--accent-blue);
}

.preloader-spinner-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(59, 130, 246, 0.05);
    border-top: 3px solid var(--accent-blue);
    border-right: 3px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.preloader-text {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    min-height: 40px;
    line-height: 1.5;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

/* Animaciones */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-logo {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(0.96); 
        filter: drop-shadow(0 0 0px rgba(59, 130, 246, 0));
    }
    50% { 
        opacity: 1; 
        transform: scale(1.04);
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
    }
}

/* Clase para desvanecer e inactivar */
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ==========================================================================
   17. HOJA DE ESTILOS DE IMPRESIÓN - CV FORMATO ATS (APPLICANT TRACKING SYSTEM)
   ========================================================================== */
@media print {
    /* Ocultar absolutamente todos los elementos de pantalla */
    body > *:not(#cv-ats-print) {
        display: none !important;
    }
    
    body {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #000000 !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 10.5pt !important;
        line-height: 1.4 !important;
        margin: 0.5in !important;
        padding: 0 !important;
    }
    
    .cv-ats-print-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    /* Encabezado ATS */
    .ats-header {
        text-align: center;
        border-bottom: 2px solid #000000;
        padding-bottom: 10px;
        margin-bottom: 18px;
    }
    
    .ats-name {
        font-size: 22pt;
        font-weight: bold;
        margin: 0 0 4px 0;
        color: #000000;
        letter-spacing: -0.5px;
    }
    
    .ats-role {
        font-size: 13pt;
        font-weight: bold;
        margin: 0 0 6px 0;
        color: #333333;
    }
    
    .ats-contact-info {
        font-size: 9.5pt;
        margin: 0;
        color: #444444;
    }
    
    /* Secciones ATS */
    .ats-section {
        margin-bottom: 18px;
    }
    
    .ats-section-title {
        font-size: 12pt;
        font-weight: bold;
        text-transform: uppercase;
        border-bottom: 1px solid #444444;
        padding-bottom: 2px;
        margin: 0 0 8px 0;
        color: #000000;
    }
    
    .ats-about-text {
        font-size: 9.5pt;
        margin: 0;
        text-align: justify;
    }
    
    /* Items (Experiencias/Estudios) */
    .ats-item {
        margin-bottom: 12px;
        page-break-inside: avoid;
    }
    
    .ats-item-header {
        display: flex;
        justify-content: space-between;
        font-weight: bold;
        font-size: 10pt;
        margin-bottom: 2px;
    }
    
    .ats-item-subheader {
        display: flex;
        justify-content: space-between;
        font-style: italic;
        font-size: 9.5pt;
        color: #222222;
        margin-bottom: 4px;
    }
    
    .ats-item-desc {
        font-size: 9.5pt;
        margin: 0 0 4px 0;
        text-align: justify;
    }
    
    /* Logros y Habilidades */
    .ats-achievements-list {
        margin: 4px 0 0 0;
        padding-left: 18px;
    }
    
    .ats-achievements-list li {
        font-size: 9pt;
        margin-bottom: 2px;
        list-style-type: square;
    }
    
    .ats-skills-group {
        font-size: 9.5pt;
        line-height: 1.5;
    }
}

/* Ocultar la versión ATS en visualización web */
.cv-ats-print-container {
    display: none;
}

