  :root {
            --verde-principal: #2ECC71;
            --verde-oscuro: #27AE60;
            --amarillo-branding: #F1C40F;
            --blanco-puro: #FFFFFF;
            --negro-texto: #1a1a1a;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { 
            font-family: 'Montserrat', sans-serif; 
            background-color: var(--blanco-puro);
            color: var(--negro-texto);
            line-height: 1.6;
        }

        /* --- NAVBAR PROFESIONAL --- */
        .navbar {
            background: white !important;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            padding: 12px 0;
        }
        .navbar-brand { 
            font-weight: 900; 
            color: var(--verde-oscuro) !important; 
            letter-spacing: -0.5px;
            font-size: 1.3rem;
        }
        .nav-link { 
            font-weight: 600; 
            color: var(--negro-texto) !important; 
            font-size: 0.9rem;
            transition: 0.3s ease;
            text-transform: uppercase;
            margin: 0 10px;
            position: relative;
        }
        .nav-link:hover { 
            color: var(--verde-principal) !important; 
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--verde-principal);
            transition: width 0.3s ease;
        }
        .nav-link:hover::after {
            width: 100%;
        }

        /* --- HERO BIOGRAFÍA --- */
        .hero-biografia {
            background: linear-gradient(135deg, var(--verde-principal) 0%, #229954 100%);
            padding: 80px 0 60px;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .hero-biografia::before {
            content: '';
            position: absolute;
            top: 0;
            right: -100px;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .hero-biografia h1 {
            font-size: clamp(1.8rem, 6vw, 3.5rem);
            font-weight: 900;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
            letter-spacing: -0.5px;
        }

        .hero-biografia p {
            font-size: 1.1rem;
            opacity: 0.95;
            max-width: 600px;
            position: relative;
            z-index: 1;
            line-height: 1.5;
        }

        /* --- BIOGRAFÍA SECTION --- */
        .biografia-section {
            padding: 70px 0;
            background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(241, 196, 15, 0.05) 100%);
        }

        .biografia-content {
            background: white;
            border-radius: 15px;
            padding: 40px 35px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .biografia-content h2 {
            font-size: clamp(2rem, 3vw, 2.8rem);
            font-weight: 900;
            color: var(--negro-texto);
            margin-bottom: 8px;
            border-left: 5px solid var(--verde-principal);
            padding-left: 20px;
        }

        .biografia-content p {
            font-size: 1.05rem;
            line-height: 1.7;
            color: #555;
            margin-bottom: 10px;
        }

        .biografia-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 18px;
            margin-top: 30px;
            position: relative;
            padding-top: 50px;
        }

        .biografia-highlights::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, transparent, var(--verde-principal) 10%, var(--verde-principal) 90%, transparent);
            border-radius: 2px;
        }



        .highlight-item {
            background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.05));
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid var(--verde-principal);
            transition: all 0.3s ease;
        }

        .highlight-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(46, 204, 113, 0.15);
        }

        .highlight-item h4 {
            color: var(--verde-principal);
            font-weight: 800;
            font-size: 1rem;
            margin-bottom: 8px;
        }

        .highlight-item p {
            font-size: 0.9rem;
            margin: 0;
        }

        .profile-title-banner {
            background: linear-gradient(135deg, var(--verde-principal) 0%, var(--verde-oscuro) 100%);
            color: white;
            padding: 16px 50px;
            border-radius: 50px;
            text-align: center;
            font-weight: 800;
            font-size: 1.1rem;
            letter-spacing: 1px;
            margin: 0 auto 1px;
            display: inline-block;
            box-shadow: 0 8px 20px rgba(46, 204, 113, 0.25);
            transition: all 0.3s ease;
        }

        .profile-title-banner:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(46, 204, 113, 0.35);
        }

        /* --- GALERÍA BIOGRAFÍA --- */
        .galeria-biografia {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 35px;
        }

        .galeria-item {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
            transition: all 0.3s ease;
        }

        .galeria-item img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
        }

        .galeria-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(46, 204, 113, 0.2);
        }

        /* --- LAYOUT SOBRE MÍ CON IMAGEN --- */
        .biografia-content-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5px;
            align-items: center;
            margin-bottom: 25px;
            margin-top: 8px;
        }

        .biografia-text {
            flex: 1;
            padding-right: 0;
        }

        .biografia-image {
            flex: 1;
            margin-left: 0;
        }

        .biografia-image img {
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .biografia-content-wrapper + p {
            grid-column: 1 / -1;
            width: 100%;
        }

        @media (max-width: 768px) {
            .biografia-content-wrapper {
                grid-template-columns: 1fr;
            }
        }

        /* --- EXPERIENCIA TIMELINE --- */
        .timeline-section {
            padding: 70px 0;
            background: white;
        }

        .timeline-section h2 {
            text-align: center;
            font-size: clamp(2rem, 3vw, 2.8rem);
            font-weight: 900;
            color: var(--negro-texto);
            margin-bottom: 50px;
        }

        .timeline {
            position: relative;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 3px;
            height: 100%;
            background: linear-gradient(to bottom, var(--verde-principal), var(--amarillo-branding));
        }

        .timeline-item {
            margin-bottom: 35px;
            position: relative;
        }

        .timeline-item:nth-child(odd) .timeline-content {
            margin-left: 0;
            margin-right: auto;
            width: 48%;
            text-align: right;
            padding-right: 35px;
        }

        .timeline-item:nth-child(even) .timeline-content {
            margin-left: auto;
            margin-right: 0;
            width: 48%;
            text-align: left;
            padding-left: 35px;
        }

        .timeline-dot {
            position: absolute;
            left: 50%;
            top: 0;
            transform: translateX(-50%);
            width: 20px;
            height: 20px;
            background: var(--verde-principal);
            border: 4px solid white;
            border-radius: 50%;
            z-index: 1;
            box-shadow: 0 0 0 4px var(--verde-principal);
        }

        .timeline-content {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .timeline-content h4 {
            color: var(--verde-principal);
            font-weight: 800;
            font-size: 1.1rem;
            margin-bottom: 5px;
        }

        .timeline-content .year {
            color: var(--amarillo-branding);
            font-weight: 700;
            font-size: 0.85rem;
            margin-bottom: 8px;
        }

        .timeline-content p {
            color: #666;
            font-size: 0.9rem;
            margin: 0;
        }

        /* --- FOOTER --- */
        .footer-main {
            background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
            color: white;
            padding: 70px 0 35px;
            margin-top: 60px;
        }

        .footer-main h3 {
            font-size: 1.4rem;
            font-weight: 800;
            margin-bottom: 12px;
            letter-spacing: 0.5px;
        }

        .footer-main p {
            font-size: 0.95rem;
            opacity: 0.95;
            margin-bottom: 0;
        }

        .footer-main > .container > .text-center > p:nth-of-type(1) {
            margin-bottom: 28px;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin: 30px 0 35px 0;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            background: rgba(255, 255, 255, 0.22);
            color: white;
            border-radius: 50%;
            transition: all 0.3s ease;
            font-size: 1.15rem;
            text-decoration: none;
            border: 2px solid rgba(255, 255, 255, 0.25);
        }

        .social-link:hover {
            background: white;
            color: var(--verde-principal);
            transform: translateY(-4px);
            border-color: white;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }

        .footer-main .footer-text {
            font-size: 0.88rem;
            opacity: 0.88;
            border-top: 1px solid rgba(255, 255, 255, 0.18);
            padding-top: 28px;
            margin-top: 28px;
        }

        .footer-main .footer-text p {
            margin-bottom: 10px;
        }

        .footer-main .footer-text p:last-child {
            margin-bottom: 0;
            font-size: 0.82rem;
            opacity: 0.8;
        }

        /* --- FOOTER COMPLETO --- */
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        }

        .footer-section h4 {
            font-size: 1.1rem;
            font-weight: 800;
            margin-bottom: 15px;
            color: white;
        }

        .footer-section p {
            font-size: 0.9rem;
            opacity: 0.88;
            margin-bottom: 8px;
            line-height: 1.6;
        }

        .footer-section ul {
            list-style: none;
            padding: 0;
        }

        .footer-section ul li {
            margin-bottom: 10px;
        }

        .footer-section ul li a {
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            font-size: 0.9rem;
            transition: 0.3s ease;
        }

        .footer-section ul li a:hover {
            color: white;
            padding-left: 5px;
        }

        .footer-bottom-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            font-size: 0.85rem;
            opacity: 0.85;
            padding-top: 20px;
        }

        .footer-info-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-info-item i {
            color: var(--amarillo-branding);
            font-size: 1rem;
        }

        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .footer-bottom-info {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 768px) {
            .timeline::before {
                left: 30px;
            }

            .timeline-item:nth-child(odd) .timeline-content,
            .timeline-item:nth-child(even) .timeline-content {
                width: calc(100% - 80px);
                margin-left: 80px;
                margin-right: 0 !important;
                text-align: left;
                padding-left: 20px;
                padding-right: 20px;
            }

            .timeline-dot {
                left: 30px;
            }
        }

        .fade-in {
            animation: fadeIn 1s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }