    /* Variables y reset */
        :root {
            --primary: #1a73e8;
            --primary-dark: #0d47a1;
            --secondary: #4caf50;
            --accent: #ff9800;
            --light: #f8f9fa;
            --dark: #202124;
            --gray: #5f6368;
            --light-gray: #f1f3f4;
            --lighter-gray: #f8f9fc;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
            --border-radius: 12px;
            --card-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
            --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
            --gradient-accent: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
            --gradient-light: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
            --font-size-base: 1rem;
        }

        /* Modos Alto Contraste */
        :root.high-contrast-bw {
            --primary: #000000;
            --primary-dark: #000000;
            --accent: #000000;
            --light: #FFFFFF;
            --dark: #000000;
            --gray: #000000;
            --light-gray: #FFFFFF;
            --lighter-gray: #FFFFFF;
            --gradient-primary: #FFFFFF;
            --gradient-accent: #FFFFFF;
            background: #FFFFFF;
            color: #000000;
        }

        :root.high-contrast-by {
            --primary: #000000;
            --primary-dark: #000000;
            --accent: #000000;
            --light: #FFFF00;
            --dark: #000000;
            --gray: #000000;
            --light-gray: #FFFF00;
            --lighter-gray: #FFFF00;
            --gradient-primary: #000000;
            --gradient-accent: #000000;
            background: #000000;
            color: #FFFF00;
        }

        :root.high-contrast-grayscale {
            filter: grayscale(100%);
            --primary: #333333;
            --primary-dark: #000000;
            --accent: #666666;
            --light: #F0F0F0;
            --dark: #000000;
            --gray: #555555;
            --light-gray: #E0E0E0;
            --lighter-gray: #F5F5F5;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--lighter-gray);
            color: var(--dark);
            line-height: 1.6;
            padding: 0;
            margin: 0;
            overflow-x: hidden;
            font-size: var(--font-size-base);
            transition: font-size 0.3s ease;
        }

        /* Tamaños de fuente */
        body.font-smallest {
            --font-size-base: 0.7rem;
        }
        body.font-smaller {
            --font-size-base: 0.85rem;
        }
        body.font-normal {
            --font-size-base: 1rem;
        }
        body.font-larger {
            --font-size-base: 1.2rem;
        }
        body.font-largest {
            --font-size-base: 1.4rem;
        }
        body.font-xlarge {
            --font-size-base: 1.6rem;
        }
        body.font-xxlarge {
            --font-size-base: 1.8rem;
        }

        h1, h2, h3, h4 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        section {
            padding: 100px 0;
        }

        /* Botón flotante de accesibilidad */
        .accessibility-floating-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 2000;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            transition: var(--transition);
            border: none;
            font-size: 1.5rem;
        }

        .accessibility-floating-btn:hover {
            background: var(--primary-dark);
            transform: scale(1.1);
        }

        .accessibility-panel {
            position: fixed;
            bottom: 90px;
            right: 20px;
            z-index: 2000;
            width: 280px;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            padding: 20px;
            transform: translateY(10px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .accessibility-panel.open {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .accessibility-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .accessibility-header h3 {
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
        }

        .accessibility-close {
            background: none;
            border: none;
            color: var(--gray);
            font-size: 1.2rem;
            cursor: pointer;
        }

        .accessibility-section {
            margin-bottom: 20px;
        }

        .accessibility-section h4 {
            font-size: 1rem;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .font-controls {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

        .font-btn {
            padding: 10px;
            border: none;
            border-radius: 5px;
            background: rgba(26, 115, 232, 0.1);
            color: var(--primary);
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
        }

        .font-btn.active {
            background: var(--primary);
            color: white;
        }

        .font-btn:hover {
            background: rgba(26, 115, 232, 0.2);
        }

        .contrast-options {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

        .contrast-option {
            height: 40px;
            border-radius: 5px;
            border: 2px solid transparent;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.8rem;
            transition: var(--transition);
        }

        .contrast-option.active {
            border-color: var(--accent);
            box-shadow: 0 0 0 2px var(--accent);
        }

        .contrast-bw {
            background: #FFFFFF;
            color: #000000;
            border: 1px solid #000000;
        }

        .contrast-by {
            background: #000000;
            color: #FFFF00;
        }

        .contrast-grayscale {
            background: #666666;
            color: #FFFFFF;
        }

        /* Skip link para lectores de pantalla */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 0;
            background: var(--primary);
            color: white;
            padding: 10px 20px;
            z-index: 9999;
            transition: top 0.3s;
        }

        .skip-link:focus {
            top: 0;
        }

        /* Header Styles */
        header {
            background: var(--gradient-primary);
            color: white;
            padding: 20px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .logo img:hover {
            transform: rotate(10deg);
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .logo h1 {
            font-size: 1.6rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            margin-bottom: 5px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .logo span {
            font-size: 0.9rem;
            opacity: 0.9;
            font-weight: 300;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 30px;
            transition: var(--transition);
            position: relative;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        nav a:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        nav a.active {
            background: rgba(255, 255, 255, 0.25);
        }

        nav a i {
            font-size: 1.1rem;
        }

        .mobile-menu-btn {
            display: none;
            background: transparent;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            background: var(--gradient-primary);
            color: white;
            padding: 150px 0 100px;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('imagenes/foto.png') no-repeat center center;
            background-size: cover;
            opacity: 0.60;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            animation: fadeInDown 1s ease;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.4rem;
            margin-bottom: 40px;
            opacity: 0.9;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            animation: fadeInUp 1s ease 0.2s forwards;
            opacity: 0;
            font-weight: 300;
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .btn {
            display: inline-block;
            background: var(--accent);
            color: white;
            padding: 16px 40px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
            font-size: 1.1rem;
            animation: fadeInUp 1s ease 0.4s forwards;
            opacity: 0;
            position: relative;
            overflow: hidden;
        }

        .btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(-100%);
            transition: transform 0.5s ease;
        }

        .btn:hover::after {
            transform: translateX(0);
        }

        .btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid white;
            box-shadow: none;
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
        }

        /* Projects Section */
        .projects-section {
            background: white;
            position: relative;
        }

        .section-title {
            text-align: center;
            margin-bottom: 70px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 5px;
            background: var(--accent);
            border-radius: 3px;
        }

        .section-title p {
            max-width: 700px;
            margin: 30px auto 0;
            color: var(--gray);
            font-size: 1.2rem;
            font-weight: 300;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
        }

        .project-card {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            position: relative;
            display: flex;
            flex-direction: column;
            transform: translateY(0);
        }

        .project-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        }

        .project-image {
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .project-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 115, 232, 0.1);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        .project-card:hover .project-image::before {
            opacity: 1;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .project-card:hover .project-image img {
            transform: scale(1.1);
        }

        .project-content {
            padding: 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .project-content h3 {
            font-size: 1.6rem;
            margin-bottom: 15px;
            color: var(--primary-dark);
            transition: color 0.3s ease;
        }

        .project-card:hover .project-content h3 {
            color: var(--accent);
        }

        .project-content p {
            color: var(--gray);
            margin-bottom: 25px;
            flex-grow: 1;
            font-weight: 300;
        }

        .project-tags {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 25px;
        }

        .project-tag {
            background: rgba(26, 115, 232, 0.1);
            color: var(--primary);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .project-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }

        .project-meta .date {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .project-meta .btn {
            padding: 10px 25px;
            font-size: 0.95rem;
        }

        /* Features Section */
        .features-section {
            background: var(--lighter-gray);
            position: relative;
        }

        .features-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .feature-card {
            background: white;
            padding: 40px 30px;
            border-radius: var(--border-radius);
            box-shadow: var(--card-shadow);
            text-align: center;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--accent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .feature-icon {
            width: 90px;
            height: 90px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            color: white;
            font-size: 2rem;
            transition: all 0.5s ease;
        }

        .feature-card:hover .feature-icon {
            transform: rotateY(360deg);
            background: var(--gradient-accent);
        }

        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--primary-dark);
        }

        .feature-card p {
            color: var(--gray);
            font-weight: 300;
        }

        /* Publications Section */
        .publications-section {
            background: white;
            position: relative;
        }

        .publications-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .publication {
            background: var(--lighter-gray);
            padding: 35px 40px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 30px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .publication::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .publication:hover::before {
            width: 8px;
        }

        .publication:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        }

        .publication h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary);
            transition: color 0.3s ease;
        }

        .publication:hover h3 {
            color: var(--accent);
        }

        .publication .authors {
            color: var(--gray);
            margin-bottom: 20px;
            font-style: italic;
            font-weight: 300;
        }

        .publication .journal {
            display: inline-block;
            background: rgba(26, 115, 232, 0.1);
            color: var(--primary);
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: 500;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }

        .publication .abstract {
            margin-bottom: 25px;
            line-height: 1.8;
            font-weight: 300;
        }

        .publication .btn {
            padding: 10px 25px;
            font-size: 0.95rem;
            background: var(--primary);
        }

        .publication .btn:hover {
            background: var(--primary-dark);
            box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
        }

        /* Contact Section */
        .contact-section {
            background: var(--gradient-primary);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .contact-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?q=80&w=1470&auto=format&fit=crop') no-repeat center center;
            background-size: cover;
            opacity: 0.1;
        }

        .contact-container {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 50px;
        }

        .contact-info h3 {
            font-size: 2rem;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
        }

        .contact-info h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 70px;
            height: 4px;
            background: var(--accent);
        }

        .contact-details {
            margin-bottom: 40px;
        }

        .contact-detail {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 25px;
        }

        .contact-detail i {
            font-size: 1.5rem;
            color: var(--accent);
            margin-top: 5px;
        }

        .contact-detail div h4 {
            font-size: 1.2rem;
            margin-bottom: 5px;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 10px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            transition: var(--transition);
            font-size: 1.2rem;
        }

        .social-links a:hover {
            background: var(--accent);
            transform: translateY(-5px);
        }

        .contact-form {
            background: rgba(255, 255, 255, 0.1);
            padding: 40px;
            border-radius: var(--border-radius);
            backdrop-filter: blur(10px);
        }

        .contact-form h3 {
            font-size: 1.8rem;
            margin-bottom: 25px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.15);
            color: white;
            font-size: 1rem;
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s ease;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            background: rgba(255, 255, 255, 0.25);
            outline: none;
            box-shadow: 0 0 0 2px var(--accent);
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .contact-form textarea {
            height: 150px;
            resize: vertical;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 80px 0 40px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-section h3 {
            font-size: 1.4rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
        }

        .footer-section p {
            margin-bottom: 20px;
            opacity: 0.8;
            font-weight: 300;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 15px;
        }

        .footer-links a {
            color: #e8eaed;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 300;
        }

        .footer-links a:hover {
            color: var(--accent);
            transform: translateX(5px);
        }

        .footer-links a i {
            color: var(--accent);
            font-size: 0.9rem;
        }

        .subscribe-form {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .subscribe-form input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }

        .subscribe-form button {
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 5px;
            padding: 0 20px;
            cursor: pointer;
            transition: var(--transition);
        }

        .subscribe-form button:hover {
            background: #f57c00;
        }

        .copyright {
            text-align: center;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
            font-size: 0.95rem;
            font-weight: 300;
        }

        /* Animaciones */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            opacity: 0;
            animation: fadeInUp 1s ease forwards;
        }

        .delay-1 {
            animation-delay: 0.1s;
        }

        .delay-2 {
            animation-delay: 0.2s;
        }

        .delay-3 {
            animation-delay: 0.3s;
        }

        .delay-4 {
            animation-delay: 0.4s;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 3rem;
            }
            
            nav ul {
                gap: 15px;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
            
            nav ul {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--primary-dark);
                flex-direction: column;
                gap: 0;
                padding: 20px 0;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            }
            
            nav ul.show {
                display: flex;
            }
            
            nav ul li {
                width: 100%;
            }
            
            nav a {
                display: block;
                padding: 15px 30px;
                border-radius: 0;
                justify-content: center;
            }
            
            .hero {
                padding: 120px 0 80px;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }
            
            section {
                padding: 80px 0;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .accessibility-panel {
                width: 250px;
                right: 15px;
                bottom: 85px;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .btn {
                padding: 14px 30px;
                font-size: 1rem;
                width: 100%;
                max-width: 300px;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }

            .project-card {
                margin: 0 10px;
            }
            
            .accessibility-panel {
                width: 90%;
                left: 5%;
                right: 5%;
                bottom: 85px;
            }
        }
    