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

        body {
            font-family: 'Georgia', serif;
            background: #f8f9fa;
            color: #2c3e50;
            line-height: 1.6;
        }

        /* Header */
        header {
            background: #ffffff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .logo {
            font-size: 1.8em;
            font-weight: bold;
            color: #e74c3c;
            text-decoration: none;
            letter-spacing: -1px;
        }

        .back-link {
            color: #2c3e50;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .back-link:hover {
            color: #e74c3c;
        }

        /* Main content */
        main {
            margin-top: 80px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding: 60px 40px;
        }

        /* Hero section */
        .project-hero {
            text-align: center;
            margin-bottom: 80px;
        }

        .project-hero h1 {
            font-size: 3.5em;
            font-weight: 300;
            color: #2c3e50;
            margin-bottom: 20px;
        }

        .project-hero .subtitle {
            font-size: 1.3em;
            color: #7f8c8d;
            margin-bottom: 40px;
        }

        .project-meta {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }

        .meta-item {
            text-align: center;
        }

        .meta-label {
            font-size: 0.9em;
            color: #7f8c8d;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 5px;
        }

        .meta-value {
            font-size: 1.1em;
            color: #2c3e50;
            font-weight: 500;
        }

        /* Main image carousel */
        .hero-carousel {
            position: relative;
            aspect-ratio: 4 / 3;
            width: 100%;
            max-width: 1000px; /* ajusta según tu diseño */
            margin: 0 auto 60px auto; /* ← esto lo centra horizontalmente */
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            max-height: 600px;
        }



        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: 100%;
        }

        .carousel-slide {
            min-width: 100%;
            height: 100%;
            position: relative;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
            display: block;
        }

        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            padding: 15px 20px;
            cursor: pointer;
            border-radius: 50%;
            font-size: 20px;
            z-index: 10;
            transition: all 0.3s ease;
        }

        .carousel-nav:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-prev {
            left: 20px;
        }

        .carousel-next {
            right: 20px;
        }

        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 10;
        }

        .indicator {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: white;
            transform: scale(1.2);
        }

        /* Project links */
        .project-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 80px;
        }

        .btn-primary {
            background: #e74c3c;
            color: white;
            padding: 15px 35px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 500;
            transition: all 0.3s ease;
            border: 2px solid #e74c3c;
        }

        .btn-primary:hover {
            background: transparent;
            color: #e74c3c;
        }

        .btn-secondary {
            color: #2c3e50;
            padding: 15px 35px;
            text-decoration: none;
            border: 2px solid #2c3e50;
            border-radius: 5px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background: #2c3e50;
            color: white;
        }

        /* Content sections */
        .content-section {
            margin-bottom: 80px;
        }

        .content-section h2 {
            font-size: 2.2em;
            font-weight: 300;
            color: #2c3e50;
            margin-bottom: 30px;
            text-align: center;
        }

        .content-section p {
            font-size: 1.1em;
            color: #7f8c8d;
            margin-bottom: 25px;
            text-align: justify;
        }

        /* Tech stack */
        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-bottom: 40px;
        }

        .tech-tag {
            background: #ecf0f1;
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 0.95em;
            color: #2c3e50;
            border: 1px solid #bdc3c7;
            font-weight: 500;
        }

        /* Features grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }

        .feature-card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-card h3 {
            font-size: 1.3em;
            color: #2c3e50;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .feature-icon {
            font-size: 1.5em;
            color: #e74c3c;
        }

        .feature-icon-img {
            width: 1.5em;
            height: 1.5em;
            object-fit: contain;
            vertical-align: middle;
            display: inline-block;
            margin-right: 10px;
        }



        .feature-card p {
            color: #7f8c8d;
            text-align: left;
        }

        /* Development process */
        .development-timeline {
            position: relative;
            padding: 40px 0;
        }

        .timeline-item {
            display: flex;
            align-items: center;
            margin-bottom: 40px;
            position: relative;
        }

        .timeline-item:nth-child(even) {
            flex-direction: row-reverse;
        }

        .timeline-content {
            flex: 1;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            margin: 0 30px;
        }

        .timeline-content h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.3em;
        }

        .timeline-content p {
            color: #7f8c8d;
            text-align: left;
            margin-bottom: 0;
        }

        .timeline-marker {
            width: 20px;
            height: 20px;
            background: #e74c3c;
            border-radius: 50%;
            z-index: 2;
            position: relative;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 100%;
            background: #ecf0f1;
            z-index: 1;
        }

        .timeline-item:last-child::before {
            display: none;
        }

        /* Team section */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        .team-stat {
            background: white;
            padding: 30px 20px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .team-number {
            font-size: 2.5em;
            font-weight: bold;
            color: #e74c3c;
            display: block;
            margin-bottom: 10px;
        }

        .team-label {
            color: #7f8c8d;
            font-size: 1em;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header-content {
                padding: 0 20px;
            }

            main {
                padding: 40px 20px;
            }

            .project-hero h1 {
                font-size: 2.5em;
            }

            .project-meta {
                gap: 20px;
            }

            .hero-carousel {
                height: 300px;
            }

            .project-links {
                flex-direction: column;
                align-items: center;
            }

            .timeline-item {
                flex-direction: column !important;
                text-align: center;
            }

            .timeline-content {
                margin: 20px 0;
            }

            .timeline-item::before {
                left: 50%;
                transform: translateX(-50%);
            }
        }