* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111;
    color: white;
}


/* CABECERA */

.cabecera {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 25px 40px;

    background: #181818;

    border-bottom: 2px solid #333;
}

.logo {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5c400;
    color: #111;

    font-size: 22px;
    font-weight: bold;

    border-radius: 12px;
}

.cabecera h1 {
    margin: 0;
    font-size: 28px;
}

.cabecera p {
    margin: 5px 0 0;
    color: #aaa;
}


/* TITULO */

.titulo {
    max-width: 1200px;
    margin: 40px auto 20px;

    padding: 0 20px;
}

.titulo h2 {
    margin-bottom: 5px;
    font-size: 32px;
}

.titulo p {
    color: #aaa;
}


/* COLECCION */

.coleccion {
    max-width: 1200px;

    margin: 0 auto;

    padding: 20px;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;
}


/* TARJETAS */

.tarjeta {
    background: #1c1c1c;

    border-radius: 15px;

    overflow: hidden;

    border: 1px solid #333;

    transition: transform 0.2s;
}

.tarjeta:hover {
    transform: translateY(-5px);
}


/* IMAGEN */

.imagen {
    height: 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #252525;
}

.coche-placeholder {
    font-size: 70px;
}


/* INFORMACION */

.informacion {
    padding: 20px;
}

.informacion h3 {
    font-size: 25px;

    margin: 10px 0 5px;
}

.informacion p {
    color: #aaa;
}


/* ESTADO */

.estado {
    display: inline-block;

    padding: 5px 10px;

    border-radius: 20px;

    background: #333;

    font-size: 12px;
    font-weight: bold;
}

.estado.activo {
    background: #245c36;
}


/* PROGRESO */

.barra {
    height: 10px;

    margin-top: 20px;

    background: #333;

    border-radius: 10px;

    overflow: hidden;
}

.progreso {
    height: 100%;

    background: #f5c400;
}

.porcentaje {
    text-align: right;
    margin: 5px 0;
}


/* BOTON */

button {
    width: 100%;

    margin-top: 15px;

    padding: 12px;

    border: 0;

    border-radius: 8px;

    background: #f5c400;

    font-weight: bold;

    cursor: pointer;
}


/* BLOQUEADO */

.bloqueado {
    opacity: 0.65;
}

.bloqueado .silueta {
    height: 180px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #080808;

    font-size: 65px;

    filter: grayscale(1);
}

.bloqueado h3 {
    color: #777;
}

/* ========================= */
/* FICHA DEL PROYECTO */
/* ========================= */

.ficha {
    max-width: 1200px;

    margin: 40px auto;

    padding: 20px;
}


.volver {
    display: inline-block;

    margin-bottom: 30px;

    color: #f5c400;

    text-decoration: none;

    font-weight: bold;
}


/* CABECERA DE LA FICHA */

.ficha-cabecera {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 40px;

    background: #1c1c1c;

    border-radius: 15px;

    overflow: hidden;

    border: 1px solid #333;

}


.ficha-imagen {

    min-height: 350px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #252525;

    font-size: 120px;

}


.ficha-informacion {

    padding: 40px;

}


.ficha-informacion h2 {

    font-size: 45px;

    margin: 20px 0 5px;

}


.ficha-informacion h3 {

    font-size: 25px;

    color: #aaa;

    margin-top: 0;

}


/* SECCIONES */

.seccion-ficha {

    margin-top: 30px;

    padding: 30px;

    background: #1c1c1c;

    border-radius: 15px;

    border: 1px solid #333;

}


.seccion-ficha h2 {

    margin-top: 0;

}


/* MÓVIL */

@media (max-width: 700px) {

    .ficha-cabecera {

        grid-template-columns: 1fr;

    }

    .ficha-imagen {

        min-height: 250px;

    }

}

.boton {

    display: block;

    width: 100%;

    margin-top: 15px;

    padding: 12px;

    border-radius: 8px;

    background: #f5c400;

    color: #111;

    text-align: center;

    text-decoration: none;

    font-weight: bold;

}

/* DATOS DEL COCHE */

.datos-coche {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 30px;

}


.datos-coche div {

    background: #1c1c1c;

    border: 1px solid #333;

    border-radius: 15px;

    padding: 25px;

}


.datos-coche span {

    display: block;

    color: #888;

    font-size: 12px;

    margin-bottom: 10px;

}


.datos-coche strong {

    font-size: 20px;

}


@media (max-width: 700px) {

    .datos-coche {

        grid-template-columns: 1fr;

    }

}
/* ========================= */
/* TIMELINE */
/* ========================= */

.timeline {

    position: relative;

    margin-top: 30px;

    padding-left: 30px;

}


.timeline::before {

    content: "";

    position: absolute;

    left: 8px;

    top: 0;

    bottom: 0;

    width: 3px;

    background: #333;

}


.avance {

    position: relative;

    margin-bottom: 30px;

}


.avance::before {

    content: "";

    position: absolute;

    left: -28px;

    top: 5px;

    width: 15px;

    height: 15px;

    border-radius: 50%;

    background: #f5c400;

}


.avance-fecha {

    color: #f5c400;

    font-weight: bold;

    margin-bottom: 8px;

}


.avance-contenido {

    background: #252525;

    border-radius: 12px;

    padding: 20px;

    border: 1px solid #333;

}


.avance-contenido h3 {

    margin: 8px 0;

}


.avance-contenido p {

    margin-bottom: 0;

    line-height: 1.6;

}


.avance-tipo {

    font-size: 11px;

    padding: 4px 8px;

    border-radius: 10px;

    background: #333;

    color: #aaa;

}


/* ========================= */
/* GALERÍA */
/* ========================= */

.galeria {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;

    margin-top: 25px;

}


.foto {

    background: #252525;

    border-radius: 12px;

    overflow: hidden;

    border: 1px solid #333;

}


.foto img {

    width: 100%;

    height: 220px;

    object-fit: cover;

    display: block;

}


.foto-info {

    padding: 15px;

}


.foto-info span {

    font-size: 11px;

    color: #f5c400;

    font-weight: bold;

}


.foto-info h3 {

    margin: 8px 0 0;

    font-size: 16px;

}
