 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: #ffefd3;
            background: #000814;
            overflow-x: hidden;
        }

        

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
        }

        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 8, 20, 0.9);
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
            border-bottom: 1px solid rgba(255, 196, 155, 0.1);
        }

        nav .container {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            gap: 1rem;
            position: relative;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, #ffc49b, #ffefd3);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -1px;
            flex: 1;
            min-width: 0; /* Permite que se comprima si es necesario */
        }

        /* Language Selector */
        .language-selector {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            justify-self: center;
            transition: all 0.3s ease;
        }

        .world-icon {
            width: 32px;
            height: 32px;
            background: linear-gradient(#adb6c4);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .world-icon::before {
            content: '🌍';
            filter: brightness(1.2);
        }

        .language-selector:hover .world-icon {
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(255, 196, 155, 0.3);
        }

        .lang-btn {
            background: rgba(173, 182, 196, 0.1);
            border: 1px solid rgba(255, 196, 155, 0.3);
            color: rgba(255, 239, 211, 0.8);
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
        }

        .lang-btn a {
            color: rgba(255, 239, 211, 0.8);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
        }

        .lang-btn:hover {
            background: linear-gradient(135deg, #ffc49b, #ffefd3);
            color: #000814;
            border-color: #ffc49b;
            transform: translateY(-2px);
        }
        .lang-btn:hover a{
            background: linear-gradient(135deg, #ffc49b, #ffefd3);
            color: #000814;
            border-color: #ffc49b;
            transform: translateY(-2px);
        }

        .lang-btn.active {
            background: linear-gradient(135deg, #ffc49b, #ffefd3);
            color: #000814;
            border-color: #ffc49b;
        }
        .lang-btn.active a {
            color: #000814;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            flex: 1;
            justify-content: flex-end;
        }

        .nav-links a {
            text-decoration: none;
            color: rgba(255, 239, 211, 0.8);
            transition: all 0.3s ease;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-links a:hover {
            color: #ffc49b;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #ffc49b, #ffefd3);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a.active {
            color: #ffc49b;
        }

        .nav-links a.active::after {
            width: 100%;
        }

        /* Mobile menu toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: #ffc49b;
            margin: 3px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        /* Hero Section - OPTIMIZED FOR BUSINESS */
        .hero {
            height: 70vh;
            min-height: 500px;
            max-height: 700px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            background-image: url('Media/portada_eloisa.jpg');
            background-size: 100%;
            background-position: center top 20%;
            background-attachment: fixed;
            background-repeat: no-repeat;
        }

        /* Dark overlay for better text readability */
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 8, 20, 0.7);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            animation: fadeInUp 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
        }

        .hero h1 {
            font-size: clamp(3rem, 8vw, 6rem);
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #ffefd3, #ffc49b, #adb6c4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
            letter-spacing: -3px;
            line-height: 0.9;
        }

        .hero .subtitle {
            font-size: clamp(1rem, 4vw, 1.8rem);
            color: rgba(173, 182, 196, 0.9);
            margin-bottom: 3rem;
            font-weight: 300;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2;
            font-size: 3rem;
            color: #adb6c4;
            animation: arrowBounce 2s infinite;
        }

        .scroll-indicator::before {
            content: '↓';
            display: block;
        }

        @keyframes arrowBounce {
            0%, 100% {
                opacity: 0.3;
                transform: translateX(-50%) translateY(0);
            }
            50% {
                opacity: 1;
                transform: translateX(-50%) translateY(10px);
            }
        }

        /* About Section */
        .about {
            padding: 40px 0;
            background: #000814;
            position: relative;
        }

        .aboutsection-title {
            text-align: center;
            font-size: clamp(2.5rem, 6vw, 4rem);
            margin-bottom: 4rem;
            background: linear-gradient(135deg, #ffefd3, #adb6c4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
            letter-spacing: -2px;
            position: relative;
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .section-title {
            text-align: center;
            font-size: clamp(2.5rem, 6vw, 4rem);
            margin-bottom: 4rem;
            background: linear-gradient(135deg, #ffefd3, #adb6c4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
            letter-spacing: -2px;
            position: relative;
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 4rem;
            align-items: center;
            text-align: justify;
        }

        .about-visual {
            text-align: center;
        }

        .about-visual img {
            width: 100%;
            max-width: 400px;
            height: auto;
            border-radius: 15px;
            object-fit: cover;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .about-text {
            font-size: 1.2rem;
            line-height: 1.8;
            color: rgba(255, 239, 211, 0.9);
        }

        .about-text p {
            margin-bottom: 2rem;
            transform: translateY(30px);
            opacity: 0;
            animation: fadeInUp 0.8s ease-out forwards;
        }
        .about-text p:nth-child(1) { animation-delay: 0.2s; }
        .about-text p:nth-child(2) { animation-delay: 0.4s; }
        .about-text p:nth-child(3) { animation-delay: 0.6s; }
        .about-text p:nth-child(4) { animation-delay: 0.8s; }

        /* Demo Reels Section */
        .demo-reels {
            padding: 40px;
            background: #000814;
            position: relative;
        }

        .reels-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 3rem;
            margin-top: 4rem;
        }

        .reel-card {
            background: linear-gradient(135deg, rgba(173, 182, 196, 0.08), rgba(255, 239, 211, 0.05));
            border: 1px solid rgba(173, 182, 196, 0.2);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
            backdrop-filter: blur(20px);
            position: relative;
            cursor: pointer;
            width: fit-content; /* Restauramos fit-content para que se ajuste exactamente al contenido */
        }

        .reel-card:hover {
            transform: translateY(-10px);
            border-color: rgba(255, 196, 155, 0.4);
            box-shadow: 0 20px 40px rgba(255, 196, 155, 0.15);
        }

        .reel-media {
            width: 500px; /* Ancho fijo para el video */
            height: 281px; /* Altura correspondiente al aspect ratio 16:9 (500 * 9/16 = 281) */
            background: linear-gradient(135deg, #294c60, #adb6c4);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .reel-iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .reel-content {
            padding: 2rem;
            text-align: center;
            width: 500px;
        }

        .reel-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: #ffefd3;
            font-weight: 700;
            letter-spacing: -1px;
        }

        .reel-description {
            color: rgba(173, 182, 196, 0.9);
            line-height: 1.7;
            font-size: 1rem;
        }


        /* Skills Section */
        .skills {
            padding: 80px 0;
            background: #000814;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .skill-category {
            background: linear-gradient(135deg, rgba(173, 182, 196, 0.08), rgba(255, 239, 211, 0.05));
            border: 1px solid rgba(173, 182, 196, 0.2);
            padding: 2.5rem;
            border-radius: 20px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .skill-category::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, #adb6c4, #ffc49b);
        }

        .skill-category:hover {
            transform: translateY(-5px);
            border-color: rgba(173, 182, 196, 0.4);
            box-shadow: 0 15px 30px rgba(173, 182, 196, 0.1);
        }

        .skill-category h3 {
            color: #ffefd3;
            margin-bottom: 2rem;
            font-size: 1.4rem;
            font-weight: 700;
            text-align: center;
        }

        .skill-list {
            list-style: none;
            color: rgba(173, 182, 196, 0.9);
        }

        .skill-list li {
            padding: 0.7rem 0;
            font-size: 1rem;
            position: relative;
            padding-left: 2rem;
        }

        .skill-list li::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: #ffc49b;
            font-weight: bold;
        }

        /* CV Download Section */
        .cv-download {
            padding: 60px 0;
            text-align: center;
            background: #000814;
        }

        .cv-download h2 {
            font-size: clamp(2rem, 5vw, 3rem);
            color: #ffefd3;
            margin-bottom: 2rem;
            font-weight: 700;
            letter-spacing: -2px;
        }

        .cv-button {
            display: inline-block;
            padding: 16px 40px;
            background: linear-gradient(135deg, #ffc49b, #ffefd3);
            color: #000814;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.9rem;
        }

        .cv-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 20px rgba(255, 196, 155, 0.3);
        }

        /* Footer */
        footer {
            padding: 60px 0;
            background: #000814;
            color: rgba(255, 239, 211, 0.8);
            text-align: center;
            border-top: 1px solid rgba(173, 182, 196, 0.2);
        }

        .contact-info {
            margin-bottom: 2rem;
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .contact-info a {
            color: #ffc49b;
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;
        }

        .contact-info a:hover {
            color: #adb6c4;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* RESPONSIVE DESIGN - FIXED */
        @media (max-width: 768px) {
            .container {
                padding: 0 20px;
            }

            .logo{
                font-size: 1.4rem;
            }

            .menu-toggle {
                display: flex;
                margin-left: auto;
            }

            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background: rgba(0, 8, 20, 0.95);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding-top: 3rem;
                gap: 2rem;
                transition: left 0.3s ease;
            }

            .nav-links.active {
                left: 0;
            }

            .nav-links li {
                width: 100%;
                text-align: center;
            }

            .nav-links a {
                display: block;
                padding: 1rem;
                font-size: 1.2rem;
                width: 100%;
            }

            .hero {
                height: 100vh;
                background-attachment: scroll;
            }

            .hero h1 {
                font-size: clamp(2.5rem, 12vw, 4rem);
                letter-spacing: -2px;
            }

            .hero .subtitle {
                font-size: clamp(0.9rem, 4vw, 1.2rem);
                letter-spacing: 1px;
                margin-bottom: 2rem;
            }

            .scroll-indicator {
                bottom: 40px;
                font-size: 2rem;
            }

            .about {
                padding: 40px 0;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 3rem;
                text-align: center;
            }

            .aboutsection-title {
                margin-bottom: 2rem;
            }

            .reels-grid {
                gap: 2rem;
            }
            
            .reel-media {
                width: 350px;
                height: 197px; /* 350 * 9/16 = 197 */
            }
            
            .reel-content {
                padding: 1.2rem; /* Reducir padding para dar más espacio al texto */
                width: 350px; /* Mismo ancho que el media */
            }
            
            .reel-title {
                font-size: 1.4rem;
                margin-bottom: 1rem;
                line-height: 1.3; /* Mejor line-height para títulos largos */
            }
            
            .reel-description {
                font-size: 0.9rem;
                line-height: 1.5;
            }
        

            .skills {
                padding: 40px 0;
            }

            .skills-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .skill-category {
                padding: 2rem;
            }

            .cv-download {
                padding: 60px 0;
            }

            .contact-info {
                flex-direction: column;
                gap: 1rem;
            }

            .about-text {
                font-size: 1.1rem;
                text-align: justify;
            }

            .reel-description {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .logo{
                font-size: 1.4rem;
            }

            .hero h1 {
                font-size: clamp(2rem, 10vw, 3rem);
            }

            .hero .subtitle {
                font-size: clamp(0.8rem, 3.5vw, 1rem);
            }

            .reel-card, .skill-category {
                padding: 0;
            }

            .skill-category {
                padding: 1.5rem;
            }
            .reel-media {
                width: 300px;
                height: 169px; /* 300 * 9/16 = 169 */
            }
            
            .reel-content {
                padding: 1rem; /* Padding más pequeño */
                width: 300px; /* Mismo ancho que el media */
            }
            
            .reel-title {
                font-size: 1.2rem;
                margin-bottom: 0.8rem;
                line-height: 1.2;
            }
            
            .reel-description {
                font-size: 0.85rem;
                line-height: 1.4;
            }
        }