  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }

        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* Sección de proyectos mejorada */
        .projects-section {
            padding: 100px 0;
            background: linear-gradient(135deg, #ffffff 0%, #f2f6fc 100%);
            position: relative;
        }
        
        .projects-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23e9ecef" fill-opacity="0.2" d="M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,224C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
            background-position: center;
            opacity: 0.3;
            z-index: -1;
        }
        
        .projects-header {
            text-align: center;
            margin-bottom: 80px;
            padding: 0 20px;
        }
        
        .projects-pre-title {
            font-size: 16px;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: #888;
            margin-bottom: 16px;
            font-weight: 500;
        }
        
        .projects-main-title {
            font-size: 60px;
            text-align: center;
            font-weight: 700;
            margin-bottom: 24px;
            color: #2c3e50;
            line-height: 1.1;
        }
        
        .projects-intro {
            font-size: 18px;
            line-height: 1.7;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Carrusel tipo tríptico */
        .triptych-carousel {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            height: 500px; /* Altura fija */
            perspective: 1500px;
            overflow: hidden;
        }
        
        .carousel-container {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .project-card {
            position: absolute;
            width: 350px; /* Ancho fijo */
            height: 450px; /* Alto fijo */
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            transition: all 0.6s cubic-bezier(0.21, 1.00, 0.34, 1.00);
            cursor: pointer;
        }
        
        .project-card.left {
            transform: translateX(-90%) scale(0.85);
            filter: blur(2px) brightness(0.9);
            z-index: 1;
        }
        
        .project-card.center {
            transform: translateX(0) scale(1);
            filter: none;
            z-index: 3;
            width: 350px; /* Mismo ancho fijo */
            height: 450px; /* Mismo alto fijo */
        }
        
        .project-card.right {
            transform: translateX(90%) scale(0.85);
            filter: blur(2px) brightness(0.9);
            z-index: 1;
        }
        
        .project-card.hidden {
            opacity: 0;
            visibility: hidden;
        }
        
        .card-image-container {
            position: relative;
            height: 280px; /* Altura fija para imagen */
            width: 100%;
            overflow: hidden;
        }
        
        .card-image-slider {
            position: relative;
            width: 100%;
            height: 100%;
        }
        
        .card-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease;
            background-size: cover;
            background-position: center;
        }
        
        .card-slide.active {
            opacity: 1;
        }
        
        .card-slide-controls {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 5;
        }
        
        .card-slide-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .card-slide-dot.active {
            background: white;
            transform: scale(1.2);
        }
        
        .card-content {
            padding: 20px;
            height: 170px; /* Altura fija para contenido */
            display: flex;
            flex-direction: column;
            justify-content: center;
            transition: all 0.4s ease;
        }
        
        .project-card:not(.center) .card-content {
            opacity: 0;
            transform: translateY(10px);
        }
        
        .project-card.center .card-content {
            opacity: 1;
            transform: translateY(0);
        }
        
        .card-title {
            font-size: 22px;
            margin-bottom: 15px;
            color: #2c3e50;
            font-weight: 700;
            text-align: center;
        }
        
        .card-meta {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 10px;
            justify-content: center;
        }
        
        .meta-icon {
            width: 28px;
            height: 28px;
            background: #f8f9fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #3498db;
            font-size: 13px;
        }
        
        .meta-content {
            display: flex;
            flex-direction: column;
        }
        
        .meta-label {
            font-size: 11px;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .meta-value {
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }
        
        .card-link {
            display: inline-block;
            background: #2c3e50;
            color: white;
            padding: 10px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            text-align: center;
            margin-top: 10px;
        }
        
        .card-link:hover {
            background: #1a252f;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        /* Controles de navegación */
        .carousel-controls {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 20px 20px;
            z-index: 10;
            pointer-events: none;
        }
        
        .carousel-control {
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            pointer-events: auto;
        }
        
        .carousel-control:hover {
            background: #2c3e50;
            color: white;
            transform: scale(1.1);
        }
        
        .carousel-dots {
            display: flex;
            justify-content: center;
            margin-top: 40px;
            gap: 12px;
        }
        
        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .carousel-dot.active {
            background: #2c3e50;
            transform: scale(1.2);
        }
        
        .view-all-button {
            display: block;
            text-align: center;
            margin-top: 70px;
        }
        
        .view-all-btn {
            background: #2c3e50;
            color: white;
            padding: 16px 42px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        
        .view-all-btn:hover {
            background: #1a252f;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
        
        /* Responsive */
        @media (max-width: 1199px) {
            .projects-main-title {
                font-size: 50px;
            }
            
            .triptych-carousel {
                height: 450px;
            }
            
            .project-card {
                width: 320px;
                height: 420px;
            }
            
            .project-card.center {
                width: 320px;
                height: 420px;
            }
            
            .card-image-container {
                height: 250px;
            }
            
            .card-content {
                height: 170px;
            }
        }
        
        @media (max-width: 991px) {
            .projects-main-title {
                font-size: 42px;
            }
            
            .triptych-carousel {
                height: 420px;
            }
            
            .project-card {
                width: 300px;
                height: 400px;
            }
            
            .project-card.center {
                width: 300px;
                height: 400px;
            }
            
            .project-card.left {
                transform: translateX(-85%) scale(0.85);
            }
            
            .project-card.right {
                transform: translateX(85%) scale(0.85);
            }
            
            .card-image-container {
                height: 230px;
            }
            
            .card-content {
                height: 170px;
            }
        }
        
        @media (max-width: 767px) {
            .projects-section {
                padding: 70px 0;
            }
            
            .projects-main-title {
                font-size: 36px;
            }
            
            .projects-intro {
                font-size: 16px;
            }
            
            .triptych-carousel {
                height: auto;
                perspective: none;
            }
            
            .carousel-container {
                flex-direction: column;
                align-items: center;
                gap: 30px;
            }
            
            .project-card {
                position: relative;
                width: 100%;
                max-width: 400px;
                height: 450px;
                transform: none !important;
                filter: none !important;
                opacity: 1 !important;
                visibility: visible !important;
                display: none;
            }
            
            .project-card.active {
                display: block;
            }
            
            .project-card .card-content {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }
            
            .carousel-controls {
                position: static;
                margin-top: 30px;
                justify-content: center;
                gap: 20px;
                pointer-events: auto;
            }
            
            .card-image-container {
                height: 250px;
            }

            
        }