:root {
    --bg-color: #1d1a2f;
    --card-bg: rgba(30, 41, 59, 0.4);
    --accent-primary: #965fd4;
    --accent-secondary: #734f9a;
    --accent-green: #3f6d4e;
    --accent-lime: #8bd450;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-cyan: #22d3ee;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);

    --font-header: 'Barlow Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    /* Fondo con capas: Textura Grain fina + Puntos micro + Color base */
    background-color: var(--bg-color);
    background-image:
        /* Capa 1: Puntos micro sutiles */
        radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        /* Capa 2: Noise grain orgánico */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.75' numOctaves='4' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E"),
        /* Capa 3: Gradiente oscuro de base */
        linear-gradient(160deg, rgba(29, 26, 47, 1) 0%, rgba(20, 17, 38, 1) 100%);
    background-size: 22px 22px, 300px 300px, 100% 100%;
}

/* Capas de Gradients Animados (Blobs) */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
}

body::before {
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation: blob-float 20s infinite alternate ease-in-out;
}

body::after {
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: blob-float 25s infinite alternate-reverse ease-in-out;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10%, 15%) scale(1.1);
    }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

header {
    margin-bottom: 1.5rem;
}

.header-main {
    text-align: center;
    margin-bottom: 1rem;
}

.profile-photo-wrapper {
    grid-column: 1 / -1 !important;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 100%;
}



.profile-photo-container {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}

h1 {
    font-family: var(--font-header);
    font-size: clamp(2.5rem, 8vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
    line-height: 0.95;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h1 .accent {
    background: linear-gradient(90deg, var(--accent-primary) 20%, var(--accent-cyan) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(150, 95, 212, 0.3));
}

.subtitle {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-family: var(--font-header);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: var(--text-glow);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 1.4rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.nav-links a:hover {
    color: var(--accent-lime);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: var(--accent-lime);
    box-shadow: 0 0 15px rgba(139, 212, 80, 0.3);
}

.contact-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        padding: 1.5rem;
    }
}

@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
}




.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}


.contact-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.contact-item i {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item small {
    opacity: 0.6;
    margin-left: 2px;
}

/* Harvard Layout (Single Column) */
.grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 850px;
    margin: 0 auto;
}

.content-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Section Dividers */
.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

/* Cards & Glassmorphism */
.glass {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.3) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(150, 95, 212, 0.3);
}

.card-header {
    margin-bottom: 1.25rem;
}

.card-header h2 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-header h2 i {
    color: var(--accent-primary);
}

.card-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 6px var(--accent-primary);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--accent-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-header);
    margin-bottom: 0.25rem;
}

.timeline-org {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.objective-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.quote {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(139, 212, 80, 0.05);
    border-left: 4px solid var(--accent-lime);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.05rem;
    border-radius: 0 16px 16px 0;
}

.visual-row {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Profile Section (Deprecated, moved to header) */
.profile-card {
    text-align: center;
}

.profile-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    padding: 4px;
}

.profile-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.contact-info {
    margin-top: 2rem;
    text-align: left;
}

/* Contact Toggle & Details */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.main-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    cursor: pointer;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-family: var(--font-header);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
}

.contact-item i.toggle-icon {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: inline-block;
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    width: 100%;
}

.collapsible-content.open {
    max-height: 600px;
    opacity: 1;
}

.contact-grid.collapsible-content {
    margin-top: 0.5rem;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    transition: all 0.4s ease-out;
}

.contact-grid.collapsible-content.open {
    margin-top: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-color: var(--border-color);
}

.contact-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Inline Informative Box for Contact Items */
.contact-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
}


.contact-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    width: 100%;
}


.contact-item-wrapper:hover .contact-item-header {
    color: var(--text-primary);
}

.contact-item-header i {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.contact-item-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    margin-left: 0;
}

.contact-item-wrapper.active .contact-item-body {
    max-height: 150px;
    opacity: 1;
    margin-top: 8px;
}

.contact-info-box {
    background: rgba(20, 20, 30, 0.6);
    border-left: 3px solid var(--accent-cyan);
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.4;
}



/* Skills Badges */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Education & Certs Grid */
.edu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.edu-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--accent-secondary);
    transition: var(--transition);
}

.edu-item.highlight {
    border-left-color: var(--accent-lime);
    background: rgba(139, 212, 80, 0.04);
}

.edu-date {
    font-size: 0.8rem;
    color: var(--accent-lime);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.edu-heading {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-header);
    margin-bottom: 0.25rem;
}

.edu-org {
    font-size: 0.95rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.edu-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.secondary-edu-header {
    margin: 3rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
}

.secondary-edu-header h3 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    color: var(--accent-lime);
    text-transform: uppercase;
}

.edu-grid-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.edu-item-small {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 2px solid var(--accent-primary);
}

.edu-item-small .edu-date {
    margin-bottom: 0.25rem;
}

.edu-item-small p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Certs Grid (Deprecated, unified with edu-grid) */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.cert-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.cert-item strong {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

.self-taught {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════
   Skill Bubble Map (Cartesian System)
   ═══════════════════════════════════ */

#profile {
    margin-top: 0;
}

.skill-map-section {
    overflow: visible;
    margin-top: 50px;
}

#vitalsigns {
    margin-top: 20px;
}

.skill-map-legend {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-soft .legend-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-primary);
}

.legend-hybrid .legend-dot {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.legend-hard .legend-dot {
    background: var(--accent-lime);
    box-shadow: 0 0 8px var(--accent-lime);
}

.skill-map-wrapper {
    position: relative;
    width: 100%;
    min-height: 350px;
    height: 48vh;
    max-height: 600px;
    padding: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    touch-action: pan-y;
    /* Crucial para permitir mobile native scroll */
}

@media (min-width: 768px) {
    .skill-map-wrapper {
        min-height: 500px;
    }
}

.map-3d-ui {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    z-index: 10;
}

.map-hint {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.map-hint.icon-only {
    padding: 8px 12px;
    border-radius: 50%;
    color: var(--accent-lime);
    font-size: 16px;
}

@keyframes swipe {
    0% {
        transform: translateX(-15px) rotate(-15deg);
        opacity: 0.6;
    }

    50% {
        transform: translateX(15px) rotate(15deg);
        opacity: 1;
        filter: drop-shadow(0 0 8px var(--accent-lime));
    }

    100% {
        transform: translateX(-15px) rotate(-15deg);
        opacity: 0.6;
    }
}

.swipe-animation {
    display: inline-block;
    animation: swipe 2s ease-in-out infinite;
}

.map-zoom-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: auto;
}

.btn-zoom {
    background: rgba(40, 40, 50, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-zoom:hover {
    background: var(--accent-cyan);
    color: #000;
}

.skill-bubble-svg {
    width: 100%;
    height: auto;
    max-width: 620px;
    display: block;
    margin: 0 auto;
    overflow: visible;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.3));
}

/* Zone Backgrounds */
.skill-zone {
    stroke: none;
}

.skill-zone-soft {
    fill: rgba(150, 95, 212, 0.07);
}

.skill-zone-hybrid {
    fill: rgba(34, 211, 238, 0.05);
}

.skill-zone-hard {
    fill: rgba(139, 212, 80, 0.07);
}

/* Zone Labels */
.skill-zone-label {
    font-family: var(--font-header);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-anchor: middle;
    text-transform: uppercase;
}

.soft-label {
    fill: var(--accent-primary);
    opacity: 0.6;
}

.hybrid-label {
    fill: var(--accent-cyan);
    opacity: 0.5;
}

.hard-label {
    fill: var(--accent-lime);
    opacity: 0.6;
}

/* Axis */
.cartesian-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 1px;
    stroke-dasharray: 4 6;
    pointer-events: none;
}

.triangle-border {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1.5px;
    stroke-linejoin: round;
    pointer-events: none;
}

.triangle-divider {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1.5px;
    stroke-linecap: round;
    pointer-events: none;
}

.skill-axis-line {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
    stroke-dasharray: 3 4;
}

.skill-axis-arrow {
    fill: rgba(255, 255, 255, 0.2);
}

.skill-axis-text {
    font-family: var(--font-body);
    font-size: 9px;
    fill: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

/* Skill Bubbles */
.skill-bubble-group {
    cursor: pointer;
    transition: filter 0.2s ease;
}

.skill-bubble-group:hover {
    filter: brightness(1.25) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.skill-bubble {
    stroke-width: 2;
    transition: r 0.3s ease, opacity 0.2s ease;
}

/* Soft (blandas) - Purple */
.skill-bubble-soft {
    fill: rgba(150, 95, 212, 0.22);
    stroke: var(--accent-primary);
    filter: drop-shadow(0 0 8px rgba(150, 95, 212, 0.5));
}

/* Hard (duras) - Lime green */
.skill-bubble-hard {
    fill: rgba(139, 212, 80, 0.18);
    stroke: var(--accent-lime);
    filter: drop-shadow(0 0 8px rgba(139, 212, 80, 0.5));
}

/* Hybrid leaning soft (cyan-purple) */
.skill-bubble-hybrid {
    fill: rgba(34, 211, 238, 0.15);
    stroke: var(--accent-cyan);
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.45));
}

/* Hybrid leaning hard (cyan-lime) */
.skill-bubble-hybrid-hard {
    fill: rgba(72, 230, 150, 0.15);
    stroke: #48e699;
    filter: drop-shadow(0 0 8px rgba(72, 230, 150, 0.45));
}

/* Bubble Labels */
.bubble-label {
    font-family: var(--font-header);
    font-size: 9.5px;
    font-weight: 700;
    fill: var(--text-primary);
    text-anchor: middle;
    paint-order: stroke;
    stroke: rgba(20, 18, 40, 0.9);
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
    letter-spacing: 0.03em;
    pointer-events: none;
}

.bubble-label-lg {
    font-size: 12px;
}

/* Tooltip */
.skill-tooltip-group {
    pointer-events: none;
}

.tooltip-bg {
    fill: rgba(20, 16, 45, 0.94);
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}

.tooltip-name {
    font-family: var(--font-header);
    font-size: 11px;
    font-weight: 700;
    fill: var(--text-primary);
    letter-spacing: 0.04em;
}

.tooltip-type {
    font-family: var(--font-body);
    font-size: 9.5px;
    fill: var(--accent-cyan);
    font-weight: 600;
}

.tooltip-time {
    font-family: var(--font-mono);
    font-size: 9px;
    fill: var(--accent-lime);
}

.tooltip-detail {
    font-family: var(--font-body);
    font-size: 8.5px;
    fill: var(--text-secondary);
    font-style: italic;
}

/* Bubble Chart 2D (Print Fallback) */
.bubble-container {
    display: none;
    /* hidden on screen, shown in print */
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.bubble-chart {
    width: 100%;
    height: auto;
    display: block;
}

/* Hub center */
.hub-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 2px;
}

.hub-dot {
    fill: rgba(255, 255, 255, 0.8);
}

/* Connector lines */
.conn-line {
    stroke-width: 1px;
    stroke-dasharray: 4 4;
    opacity: 0.5;
}

.conn-soft {
    stroke: #965fd4;
}

.conn-hard {
    stroke: #8bd450;
}

.conn-hybrid {
    stroke: #22d3ee;
}

/* Bubble nodes */
.bnode {
    stroke-width: 2px;
}

.bnode-soft {
    fill: rgba(150, 95, 212, 0.20);
    stroke: #965fd4;
}

.bnode-hard {
    fill: rgba(139, 212, 80, 0.18);
    stroke: #8bd450;
}

.bnode-hybrid {
    fill: rgba(34, 211, 238, 0.15);
    stroke: #22d3ee;
}

.bnode-hybrid-warm {
    fill: rgba(255, 183, 77, 0.18);
    stroke: #ffb74d;
}

.bnode-big {
    stroke-width: 3px;
}

/* Labels on bubbles */
.blabel {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 7.5px;
    font-weight: 600;
    fill: #e2e8f0;
    dominant-baseline: middle;
    pointer-events: none;
}

/* Zone labels */
.zone-label {
    font-family: var(--font-header, 'Barlow Condensed', sans-serif);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.65;
}

.zone-soft {
    fill: #965fd4;
}

.zone-hard {
    fill: #8bd450;
}

.zone-hybrid {
    fill: #22d3ee;
}

/* Keep radar container hidden */
.radar-container {
    display: none;
}


.radar-chart {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
}

.radar-grid {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 0.5px;
}

.radar-axis {
    stroke: var(--border-color);
    stroke-width: 0.5px;
    stroke-dasharray: 2;
}

.radar-data {
    fill: rgba(139, 212, 80, 0.15);
    stroke: var(--accent-lime);
    stroke-width: 2px;
}

.radar-point {
    fill: var(--accent-primary);
}

.radar-label {
    fill: var(--text-primary);
    font-size: 10px;
    font-family: var(--font-header);
    letter-spacing: 0.05em;
    font-weight: 600;
    text-transform: uppercase;
    text-anchor: middle;
    paint-order: stroke;
    stroke: var(--bg-color);
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.radar-icon {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    fill: var(--accent-lime);
    margin-left: 5px;
    font-size: 11px;
}


/* Gauge Component (90 Degree Compact) */
.gauge-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.carousel-container {
    width: 100%;
    overflow: visible;
}

/* Scrollbar styles move to mobile media query */
.carousel-container::-webkit-scrollbar {
    display: none;
}

.gauge-grid.carousel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    width: 100% !important;
}

.gauge-item {
    text-align: center;
    width: 130px;
    flex-shrink: 0;
}

.gauge {
    width: 100%;
}

.gauge-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 12;
    stroke-linecap: round;
}

/* Custom Gauge Colors (NPS and Specials) */
.color-nps-red {
    --gauge-color: #ef4444;
    /* Rojo para detractores / bajo */
}

.color-nps-yellow {
    --gauge-color: #f59e0b;
    /* Amarillo/Naranja para pasivos / medio */
}

.color-nps-green {
    --gauge-color: #10b981;
    /* Verde para promotores / alto */
}

.color-coffee {
    --gauge-color: #ff9800;
    /* Naranja propio */
}

.color-affection {
    /* Usamos un color solido como fallback, el gradiente va directo en el SVG o via text-fill */
    --gauge-color: #f472b6;
}

.gauge-fill {
    fill: none;
    stroke: var(--gauge-color, var(--accent-lime));
    stroke-width: 12;
    stroke-linecap: round;
    transform-origin: 50px 50px;
    filter: drop-shadow(0 0 5px var(--gauge-color, var(--accent-lime)));
}

/* Excepcion para Affection en stroke SVG ya que es gradiente, 
   lo pasamos directo por url(#affection-gradient) en el path. */
path.gauge-fill-affection {
    stroke: url(#affection-gradient) !important;
    filter: drop-shadow(0 0 5px rgba(244, 114, 182, 0.6)) !important;
}



.gauge-needle {
    stroke: var(--text-primary);
    stroke-width: 3;
    stroke-linecap: round;
    transform-origin: 50px 50px;
}

.gauge-cap {
    fill: var(--bg-color);
    stroke: var(--text-primary);
    stroke-width: 1.5;
}

.gauge-info {
    margin-top: -5px;
}

.gauge-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-header);
    margin-bottom: 0.2rem;
}

.gauge-name {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gauge-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--gauge-color, var(--accent-lime));
    font-weight: 500;
    margin-top: 0.25rem;
    opacity: 0.8;
    font-style: italic;
}

.color-affection .gauge-desc {
    background: linear-gradient(90deg, #f472b6, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.controls {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.export-banner {
    margin-top: 4rem;
}

.export-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.export-banner h2 {
    font-family: var(--font-header);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.features li {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    font-size: 0.95rem;
}

.features li strong {
    display: block;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
    font-family: var(--font-header);
}

.btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-family: var(--font-header);
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transition: filter 0.3s, transform 0.2s;
}

.btn:hover {
    filter: brightness(1.1);
}

.btn:active {
    transform: scale(0.98);
}


/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .container {
        padding: 2rem 1.5rem;
    }

    .visual-row {
        gap: 2rem;
    }
}

@media (max-width: 850px) {
    h1 {
        font-size: 3.5rem;
    }

    .grid {
        padding: 0 1rem;
    }

    /* Enforce wrapping grid instead of carousel on Mobile/Tablet */
    .carousel-container {
        overflow: visible;
        padding-bottom: 0;
    }

    .gauge-grid.carousel {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        justify-items: center;
        width: 100%;
        padding: 0;
        gap: 1.5rem;
    }

    .gauge-item {
        width: 110px;
    }
}

@media (max-width: 600px) {
    :root {
        --glass-blur: blur(8px);
    }

    .container {
        padding: 1.5rem 1rem;
    }

    header {
        margin-bottom: 2.5rem;
    }

    h1 {
        font-size: 2.6rem;
    }

    .subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
        padding: 1rem;
    }


    .profile-photo-container {
        width: 100px;
        height: 100px;
    }

    .contact-item,
    .contact-item-header {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .contact-item i,
    .contact-item-header i {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }


    .glass {
        padding: 1rem;
        border-radius: 16px;
    }

    .card-header {
        margin-bottom: 1.5rem;
    }

    .card-header h2 {
        font-size: 1.2rem;
    }

    .objective-text {
        font-size: 0.95rem;
    }

    .quote {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .radar-chart {
        max-width: 280px;
    }

    .radar-label {
        font-size: 11px;
    }

    .skill-map-wrapper {
        min-height: 550px;
        height: 75vh;
    }

    /* Bottom Sheet Tooltip on Mobile */
    #skill-tooltip-html {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        top: auto !important;
        width: 100% !important;
        height: 25vh !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 1.5rem !important;
        background: rgba(20, 20, 30, 0.98) !important;
        border-top: 1px solid var(--accent-cyan) !important;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.6) !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Fix display block vs flex from JS inline styles */
    #skill-tooltip-html[style*="display: block"] {
        display: flex !important;
    }

    /* Scaling up tooltip text for bottom sheet */
    #skill-tooltip-html h4 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    #skill-tooltip-html p {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }

    .gauge-grid {
        gap: 1.5rem 1rem;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .gauge-item {
        width: 100px;
    }

    .gauge-value {
        font-size: 1.1rem;
    }

    .timeline {
        padding-left: 0.75rem;
    }

    .timeline-item {
        margin-bottom: 1.5rem;
    }

    .timeline-title {
        font-size: 1rem;
    }

    .edu-heading {
        font-size: 1rem;
    }

    .edu-item {
        padding: 1rem;
    }

    .edu-grid-secondary {
        grid-template-columns: 1fr;
    }

    .export-flex {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 2.3rem;
    }

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



    .radar-chart {
        max-width: 240px;
    }

    .radar-label {
        font-size: 12px;
        /* Slightly larger to combat smaller chart */
    }
}

/* PRINT STYLES - Crucial for PDF output */

@media print {
    @page {
        size: A4;
        margin: 1.5cm;
    }

    :root {
        --bg-color: #ffffff;
        --text-primary: #000000;
        --text-secondary: #334155;
        --border-color: #cbd5e1;
        --accent-primary: #4f46e5;
        --accent-lime: #16a34a;
        --accent-purple: #7c3aed;
    }

    body {
        background: white !important;
        color: black !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .container {
        padding: 0;
        max-width: 100%;
    }

    header {
        margin-bottom: 2rem;
    }

    h1 {
        color: black !important;
    }

    h1 .accent {
        background: none !important;
        -webkit-text-fill-color: initial !important;
        color: var(--accent-primary) !important;
    }

    .contact-grid {
        background: none !important;
        border: 1px solid #e2e8f0;
        padding: 1rem;
        margin-top: 1rem;
    }

    .contact-item i {
        color: var(--accent-primary) !important;
    }

    .glass {
        background: transparent !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        border-radius: 12px !important;
        padding: 1rem !important;
        break-inside: avoid;
    }

    .export-banner,
    .main-toggle,
    .html-tooltip,
    .nav-links {
        display: none !important;
    }

    /* Ocultar fondos de ítems en impresión */
    .edu-item,
    .timeline-item,
    .quote,
    .badge,
    .contact-item-wrapper,
    .contact-item {
        background: transparent !important;
        border-color: #cbd5e1 !important;
        color: black !important;
    }

    .contact-item i {
        color: var(--accent-primary) !important;
    }

    /* Compactar Educación en Impresión */
    .edu-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.8rem !important;
    }

    .edu-item {
        background: #f8fafc !important;
        border-left-width: 4px !important;
        padding: 0.8rem !important;
        border-radius: 8px !important;
    }

    .edu-heading {
        font-size: 1.05rem !important;
    }

    .edu-org,
    .edu-meta {
        font-size: 0.8rem !important;
    }

    .secondary-edu-header {
        margin: 1.5rem 0 0.8rem !important;
        padding-top: 0.8rem !important;
    }

    .edu-grid-secondary {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }

    .edu-item.highlight {
        background: #f0fdf4 !important;
    }

    /* Bubble Map 2D for Print */
    .bubble-container {
        display: block !important;
    }

    .hub-circle {
        stroke: #334155 !important;
    }

    .hub-dot {
        fill: #334155 !important;
    }

    .conn-soft {
        stroke: #6d28d9 !important;
        opacity: 0.4 !important;
    }

    .conn-hard {
        stroke: #4d7c0f !important;
        opacity: 0.4 !important;
    }

    .conn-hybrid {
        stroke: #0e7490 !important;
        opacity: 0.4 !important;
    }

    .bnode-soft {
        fill: rgba(109, 40, 217, 0.08) !important;
        stroke: #6d28d9 !important;
    }

    .bnode-hard {
        fill: rgba(77, 124, 15, 0.08) !important;
        stroke: #4d7c0f !important;
    }

    .bnode-hybrid {
        fill: rgba(14, 116, 144, 0.08) !important;
        stroke: #0e7490 !important;
    }

    .bnode-hybrid-warm {
        fill: rgba(180, 83, 9, 0.08) !important;
        stroke: #b45309 !important;
    }

    .blabel {
        fill: #1e293b !important;
    }

    .zone-soft {
        fill: #6d28d9 !important;
    }

    .zone-hard {
        fill: #4d7c0f !important;
    }

    .zone-hybrid {
        fill: #0e7490 !important;
    }

    /* Radar (ahora legacy) sigue oculto */
    .radar-container {
        display: none !important;
    }

    /* Hide 3D Map and elements on Print - Ensure 2D shows */
    .skill-map-wrapper,
    #skill-canvas-container,
    .map-3d-ui {
        display: none !important;
    }

    .skill-map-legend {
        display: flex !important;
        margin-bottom: 1.5rem !important;
    }

    /* Gauge Adjustments */
    .gauge {
        width: 120px !important;
        height: 120px !important;
    }

    .gauge-bg {
        stroke: #e2e8f0 !important;
    }

    .gauge-fill {
        filter: none !important;
        stroke-width: 14 !important;
    }

    /* Fallback solid colors for print (no vars) */
    .color-nps-red .gauge-fill {
        stroke: #ef4444 !important;
    }

    .color-nps-yellow .gauge-fill {
        stroke: #f59e0b !important;
    }

    .color-nps-green .gauge-fill {
        stroke: #10b981 !important;
    }

    .color-coffee .gauge-fill {
        stroke: #ff9800 !important;
    }

    .color-affection .gauge-fill {
        stroke: #f472b6 !important;
    }

    .gauge-value {
        color: black !important;
    }

    .gauge-name {
        color: #64748b !important;
    }

    .carousel-container {
        overflow: visible !important;
        min-height: 200px !important;
    }

    .bubble-chart {
        width: 100% !important;
        height: auto !important;
        max-width: 450px !important;
        max-height: 320px !important;
        margin: 0 auto !important;
    }

    .gauge-grid.carousel {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1.5rem !important;
    }

    /* Hide non-printable elements */
    .export-banner,
    .controls,
    .print-btn,
    .carousel-container::-webkit-scrollbar,
    .sr-only {
        display: none !important;
    }

    /* Prevent breaking inside cards */
    .card,
    .timeline-item,
    .edu-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

/* ═══════════════════════════════════════════════════════
   EXPORTACIÓN DIGITAL — body.exporting-digital
   Todas las unidades en mm para consistencia con A4 (210×297mm)
   ═══════════════════════════════════════════════════════ */

/* ── 1. Contenedor Principal (A4) ────────────────────── */
body.exporting-digital {
    background-color: #1d1a2f !important;
    background-image: none !important;
    overflow: visible !important;
    width: 210mm !important;
}

body.exporting-digital .container {
    width: 210mm !important;
    max-width: 210mm !important;
    margin: 0 !important;
    padding: 10mm 15mm !important;
    min-height: 297mm !important;
    background-color: #1d1a2f !important;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.75' numOctaves='4' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E") !important;
    background-size: 22px 22px, 300px 300px !important;
    overflow: visible !important;
    position: relative !important;
}

/* ── 2. Elementos ocultos ────────────────────────────── */
body.exporting-digital .export-banner,
body.exporting-digital .html-tooltip,
body.exporting-digital .main-toggle,
body.exporting-digital .nav-links,
body.exporting-digital .sr-only,
body.exporting-digital .skill-map-wrapper,
body.exporting-digital #skill-canvas-container,
body.exporting-digital #skill-map-3d-canvas,
body.exporting-digital .map-3d-ui,
body.exporting-digital br {
    display: none !important;
}

/* ── 3. Header y Foto de Perfil ─────────────────────── */
body.exporting-digital header {
    margin-bottom: 6mm !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

body.exporting-digital h1 {
    font-size: 2.2rem !important;
    margin-bottom: 3mm !important;
    text-align: center !important;
    color: var(--text-primary) !important;
}

body.exporting-digital .subtitle {
    font-size: 1rem !important;
    margin-bottom: 6mm !important;
    letter-spacing: 0.2rem !important;
    text-align: center !important;
}

body.exporting-digital .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4mm !important;
    padding: 6mm !important;
    background: rgba(255, 255, 255, 0.03) !important;
    margin: 4mm 0 8mm 0 !important;
    max-height: none !important;
    opacity: 1 !important;
}

body.exporting-digital .contact-item {
    font-size: 0.85rem !important;
    padding: 2mm !important;
    color: var(--text-primary) !important;
}

body.exporting-digital .contact-item span,
body.exporting-digital .contact-item-header span {
    color: var(--text-primary) !important;
}

body.exporting-digital .profile-photo-container {
    width: 28mm !important;
    height: 28mm !important;
    min-width: 28mm !important;
    min-height: 28mm !important;
    margin: 0 auto 4mm auto !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
}

body.exporting-digital .profile-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ── 4. Tarjetas (Glass) ────────────────────────────── */
body.exporting-digital .glass {
    padding: 10mm 15mm !important;
    margin-bottom: 8mm !important;
    border-radius: 12px !important;
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(150, 95, 212, 0.25) !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    position: relative !important;
}

body.exporting-digital .card-header h2 {
    color: #22d3ee !important;
}

/* ── 5. Ajustes de Márgenes de Sección ──────────────── */
body.exporting-digital #profile {
    padding-top: 30mm !important; 
    margin-top: 0 !important;
}

body.exporting-digital .skill-map-section {
    margin-top: 3mm !important;
}

body.exporting-digital #vitalsigns {
    margin-top: 0 !important;
}

body.exporting-digital #education {
    margin-top: 0 !important;
}

/* ── 6. Mapa de Skills (Visual 2D) ─────────────────── */
body.exporting-digital .bubble-container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 160mm !important;
    margin: 6mm auto 10mm auto !important;
    page-break-inside: avoid !important;
}

body.exporting-digital .bubble-chart {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

body.exporting-digital .skill-map-legend {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    justify-content: center !important;
    margin-bottom: 4mm !important;
}

body.exporting-digital .blabel {
    font-size: 10px !important;
    font-weight: 800 !important;
    fill: #ffffff !important;
}

body.exporting-digital .zone-label {
    font-size: 12px !important;
    font-weight: 900 !important;
    opacity: 0.9 !important;
}

body.exporting-digital .conn-line {
    stroke-width: 1.5px !important;
    opacity: 0.7 !important;
}

body.exporting-digital .hub-circle {
    stroke: rgba(255, 255, 255, 0.5) !important;
    stroke-width: 3px !important;
}

/* ── 7. Velocímetros (Gauges) ───────────────────────── */
body.exporting-digital .gauge-bg {
    stroke: #334155 !important;
}

body.exporting-digital .gauge-fill {
    filter: none !important;
    stroke-width: 14 !important;
}

body.exporting-digital .color-nps-red .gauge-fill { stroke: #ef4444 !important; }
body.exporting-digital .color-nps-yellow .gauge-fill { stroke: #f59e0b !important; }
body.exporting-digital .color-nps-green .gauge-fill { stroke: #10b981 !important; }
body.exporting-digital .color-coffee .gauge-fill { stroke: #ff9800 !important; }
body.exporting-digital .color-affection .gauge-fill { stroke: #f472b6 !important; }

/* ── 8. Educación y Timeline ────────────────────────── */
body.exporting-digital .edu-grid,
body.exporting-digital .edu-grid-secondary {
    grid-template-columns: 1fr 1fr !important;
    gap: 4mm !important;
}

body.exporting-digital .edu-item {
    padding: 4mm !important;
    border-radius: 6px !important;
    background: transparent !important;
    border-color: rgba(150, 95, 212, 0.1) !important;
}

body.exporting-digital .edu-heading { font-size: 1.05rem !important; }
body.exporting-digital .edu-org,
body.exporting-digital .edu-meta { font-size: 0.8rem !important; }

body.exporting-digital .secondary-edu-header {
    margin: 4mm 0 2mm !important;
    padding-top: 4mm !important;
}

body.exporting-digital .timeline-item,
body.exporting-digital .contact-item-wrapper,
body.exporting-digital .gauge-item {
    background: transparent !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

/* ── 9. Elementos UI Web (Fuera de Impresión) ───────── */
@media screen {
    .bubble-container { display: none; }
}

.export-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.digital-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan)) !important;
    border-color: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(150, 95, 212, 0.4) !important;
}

.print-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

/* NEW EXPORT UI */
.export-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.digital-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan)) !important;
    border-color: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(150, 95, 212, 0.4) !important;
}

.digital-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(150, 95, 212, 0.6) !important;
}

.print-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

.print-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--accent-lime) !important;
}

@media (max-width: 600px) {
    .export-buttons {
        flex-direction: column;
        width: 100%;
    }
}