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

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: #ffffff;
            color: #2d3748;
            font-family: 'Outfit', sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            animation: fadeIn 0.8s ease-out forwards;
        }

        /* Cabecera (Header) con Navegación */
        header {
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            border-bottom: 2px solid #f97316;
            padding: 20px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            font-size: 1.6rem;
            font-weight: 700;
            color: #f97316;
            letter-spacing: -0.5px;
            text-decoration: none;
        }

        .logo span {
            color: #1a202c;
        }

        .nav-links {
            display: flex;
            gap: 25px;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: #4a5568;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s ease;
        }

        .nav-links a:hover, .nav-links a.active {
            color: #f97316;
        }

        /* Contenedor Principal */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 60px 20px;
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
        }

        /* Sección Hero / Presentación */
        .hero-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin-bottom: 80px;
            width: 100%;
        }

        .hero-foto-container {
            width: 170px;
            height: 170px;
            border-radius: 50%;
            border: 4px solid #f97316;
            overflow: hidden;
            margin-bottom: 25px;
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25);
            background-color: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-foto-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .hero-foto-container:hover img {
            transform: scale(1.05);
        }

        .hero-titulo {
            font-size: 2.7rem;
            color: #1a202c;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .hero-subtitulo {
            font-size: 1.25rem;
            color: #f97316;
            font-weight: 500;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero-descripcion {
            font-size: 1.1rem;
            line-height: 1.7;
            color: #4a5568;
            max-width: 700px;
            margin-bottom: 35px;
        }

        .hero-descripcion strong {
            color: #1a202c;
        }

        /* Secciones Generales */
        .section-container {
            width: 100%;
            margin-bottom: 70px;
        }

        .section-title {
            font-size: 2rem;
            color: #1a202c;
            font-weight: 700;
            margin-bottom: 35px;
            text-align: center;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background-color: #f97316;
            margin: 10px auto 0 auto;
            border-radius: 2px;
        }

        /* Grid de Proyectos */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            width: 100%;
        }

        .project-card {
            background: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-6px);
            border-color: #f97316;
            box-shadow: 0 12px 30px rgba(249, 115, 22, 0.15);
        }

        .project-img-container {
            width: 100%;
            height: 190px;
            background-color: #f8fafc;
            border-bottom: 2px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .project-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .project-img-container img.favicon-img {
            width: 70px;
            height: 70px;
            object-fit: contain;
        }

        .project-card:hover .project-img-container img:not(.favicon-img) {
            transform: scale(1.05);
        }

        .project-content {
            padding: 25px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .project-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 12px;
        }

        .project-desc {
            font-size: 0.98rem;
            color: #4a5568;
            line-height: 1.6;
            margin-bottom: 20px;
            flex: 1;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .tag {
            background-color: rgba(249, 115, 22, 0.08);
            color: #f97316;
            padding: 5px 12px;
            border-radius: 6px;
            font-size: 0.82rem;
            font-weight: 600;
        }

        /* Grid de Stack Tecnológico */
        .stack-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 16px;
            width: 100%;
        }

        .stack-item {
            background-color: #f8fafc;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 18px;
            text-align: center;
            font-weight: 500;
            color: #2d3748;
            transition: all 0.25s ease;
        }

        .stack-item:hover {
            border-color: #f97316;
            background-color: rgba(249, 115, 22, 0.04);
            color: #f97316;
            transform: translateY(-2px);
        }

        /* Botón Estilo Naranja */
        .btn-encuesta {
            background-color: #f97316;
            color: #ffffff;
            border: none;
            padding: 15px 40px;
            font-family: 'Outfit', sans-serif;
            cursor: pointer;
            border-radius: 8px;
            box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
            font-weight: 700;
            font-size: 1.05rem;
        }

        .btn-encuesta:hover {
            background-color: #ea580c;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
        }

        .btn-secondary {
            background-color: transparent;
            color: #f97316;
            border: 2px solid #f97316;
            padding: 10px 20px;
            font-family: 'Outfit', sans-serif;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.2s ease;
            text-align: center;
            text-decoration: none;
            display: block;
        }

        .btn-secondary:hover {
            background-color: #f97316;
            color: #ffffff;
        }

        /* Formulario de Contacto */
        .contact-form {
            background: #f8fafc;
            border: 2px solid #e2e8f0;
            padding: 35px;
            border-radius: 12px;
            width: 100%;
            max-width: 650px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

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

        .form-group label {
            font-weight: 600;
            font-size: 0.95rem;
            color: #1a202c;
        }

        .form-control {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            color: #2d3748;
            background-color: #ffffff;
            transition: border-color 0.2s, box-shadow 0.2s;
            outline: none;
            resize: vertical;
        }

        .form-control:focus {
            border-color: #f97316;
            box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
        }

        /* Footer */
        footer {
            background-color: #f8fafc;
            border-top: 2px solid #e2e8f0;
            padding: 30px 40px;
            text-align: center;
            color: #718096;
            font-size: 0.92rem;
            width: 100%;
        }

        /* Animaciones */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(12px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Media Queries para Móviles */
        @media (max-width: 768px) {
            header {
                padding: 15px 20px;
                flex-direction: column;
                gap: 15px;
            }
            .nav-links {
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }
            .hero-titulo {
                font-size: 2.1rem;
            }
        }
