/* ==========================================================
   PORTADA PRINCIPAL
========================================================== */

/*
La altura, el degradado, la sombra y el brillo se controlan desde:

static/css/base/generales.css

Aquí solamente se asigna la fotografía y se configuran los textos
propios de la página de Inicio.
*/

.portada-provisional {
    background-image: var(--imagen-portada, none);
    background-position: center 67%;
}


/* ==========================================================
   CONTENIDO DE LA PORTADA
========================================================== */

.contenido-portada {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.portada-provisional h1 {
    margin-top: 0;
    margin-bottom: 1.25rem;

    color: var(--blanco);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 0.98;

    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.portada-provisional .descripcion-portada {
    max-width: 650px;
    margin-bottom: 2rem;

    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.subtitulo-portada,
.subtitulo-seccion {
    color: var(--cobre);
    font-weight: 700;
    text-transform: uppercase;
}

.subtitulo-portada {
    margin-bottom: 1rem;

    color: #d6a47b;
    font-size: 0.85rem;
    letter-spacing: 0.2rem;
}


/* ==========================================================
   PRESENTACIÓN DEL CRIADERO
========================================================== */

.seccion-presentacion {
    padding: 7rem 0;
    background-color: var(--blanco-calido);
}

.contenedor-imagen-presentacion {
    position: relative;
    padding: 0 1.5rem 1.5rem 0;
}

.contenedor-imagen-presentacion::before {
    position: absolute;
    right: 0;
    bottom: 0;

    width: 75%;
    height: 75%;

    border: 2px solid var(--cobre);

    content: "";
}

.imagen-presentacion {
    position: relative;
    z-index: 1;

    display: block;
    width: 100%;
    min-height: 480px;
    max-height: 560px;

    border-radius: 4px;

    object-fit: cover;

    box-shadow: 0 20px 55px rgba(23, 27, 31, 0.18);
}


/* Se muestra cuando todavía no existe una imagen. */

.imagen-presentacion-sin-foto {
    position: relative;
    z-index: 1;

    display: flex;
    width: 100%;
    min-height: 480px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;

    border-radius: 4px;

    background: linear-gradient(
        135deg,
        #173d2c,
        #24593f
    );

    color: rgba(255, 255, 255, 0.85);
    text-align: center;

    box-shadow: 0 20px 55px rgba(23, 27, 31, 0.18);
}

.imagen-presentacion-sin-foto i {
    font-size: 3rem;
}

.imagen-presentacion-sin-foto span {
    font-size: 0.95rem;
    font-weight: 600;
}


/* ==========================================================
   SELLO DE PRESENTACIÓN
========================================================== */

.sello-presentacion {
    position: absolute;
    z-index: 2;
    right: -10px;
    bottom: 45px;

    display: flex;
    width: 155px;
    height: 155px;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 1rem;

    border: 5px solid var(--blanco-calido);
    border-radius: 50%;

    background-color: var(--verde-principal);
    color: var(--blanco);
    text-align: center;

    box-shadow: 0 12px 35px rgba(23, 27, 31, 0.22);
}

.sello-presentacion strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.sello-presentacion span {
    margin-top: 0.35rem;

    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
}


/* ==========================================================
   TEXTOS DE SECCIÓN
========================================================== */

.subtitulo-seccion {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.18rem;
}

.titulo-seccion {
    margin-bottom: 1.5rem;

    color: var(--verde-principal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.texto-destacado {
    color: var(--carbon);
    font-size: 1.2rem;
    line-height: 1.7;
}

.texto-seccion {
    color: #5f676b;
    line-height: 1.8;
}


/* ==========================================================
   VALORES DEL CRIADERO
========================================================== */

.valores-resumen {
    margin-top: 1.5rem;
}

.valor-item {
    display: flex;
    height: 100%;
    gap: 1rem;
    align-items: flex-start;

    padding: 1rem;

    border-left: 3px solid var(--cobre);

    background-color: rgba(255, 255, 255, 0.65);
}

.valor-item i {
    color: var(--verde-principal);
    font-size: 1.6rem;
}

.valor-item strong,
.valor-item span {
    display: block;
}

.valor-item span {
    margin-top: 0.25rem;

    color: #6d7477;
    font-size: 0.85rem;
}


/* ==========================================================
   REPRODUCTORES DESTACADOS
========================================================== */

.seccion-reproductores {
    padding: 7rem 0;
    background-color: #e9ebe5;
}

.encabezado-reproductores {
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.descripcion-seccion {
    color: #5f676b;
    font-size: 1.05rem;
    line-height: 1.8;
}

.tarjeta-reproductor {
    height: 100%;
    overflow: hidden;

    background-color: var(--blanco);

    box-shadow: 0 14px 40px rgba(23, 27, 31, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tarjeta-reproductor:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 50px rgba(23, 27, 31, 0.16);
}


/* ==========================================================
   FOTOGRAFÍA DEL REPRODUCTOR
========================================================== */

.contenedor-foto-reproductor {
    position: relative;
    overflow: hidden;

    aspect-ratio: 4 / 5;

    background-color: var(--verde-principal);
}

.foto-reproductor {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center center;

    background-color: var(--verde-principal);

    transition: transform 0.5s ease;
}

.tarjeta-reproductor:hover .foto-reproductor {
    transform: scale(1.04);
}


/* Se muestra cuando no existe fotografía. */

.sin-foto-reproductor {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 320px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;

    background: linear-gradient(
        135deg,
        #173d2c,
        #24593f
    );

    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.sin-foto-reproductor i {
    font-size: 3rem;
}

.sin-foto-reproductor span {
    font-size: 0.95rem;
    font-weight: 600;
}

.etiqueta-reproductor {
    position: absolute;
    z-index: 2;
    top: 1rem;
    left: 1rem;

    padding: 0.45rem 0.8rem;

    background-color: var(--cobre);
    color: var(--blanco);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}


/* ==========================================================
   INFORMACIÓN DEL REPRODUCTOR
========================================================== */

.contenido-reproductor {
    padding: 1.6rem;
}

.criadero-reproductor {
    margin-bottom: 0.35rem;

    color: var(--cobre);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09rem;
    text-transform: uppercase;
}

.contenido-reproductor h3 {
    margin-bottom: 1rem;

    color: var(--verde-principal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
}

.datos-reproductor {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;

    margin-bottom: 1rem;

    color: #687174;
    font-size: 0.82rem;
}

.datos-reproductor i {
    margin-right: 0.25rem;
    color: var(--cobre);
}

.contenido-reproductor > p:not(.criadero-reproductor) {
    color: #60686b;
    line-height: 1.7;
}

.enlace-reproductor {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;

    color: var(--verde-principal);
    font-weight: 700;
    text-decoration: none;
}

.enlace-reproductor:hover,
.enlace-reproductor:focus {
    color: var(--cobre);
}


/* ==========================================================
   TABLETS
========================================================== */

@media (max-width: 991.98px) {
    .contenido-portada {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .portada-provisional .descripcion-portada {
        margin-right: auto;
        margin-left: auto;
    }

    .contenido-portada .d-flex {
        justify-content: center;
    }

    .seccion-presentacion,
    .seccion-reproductores {
        padding: 5rem 0;
    }
}


/* ==========================================================
   CELULARES
========================================================== */

@media (max-width: 575.98px) {
    .portada-provisional h1 {
        font-size: 3rem;
        line-height: 1.05;
    }

    .subtitulo-portada {
        font-size: 0.72rem;
        letter-spacing: 0.14rem;
    }

    .contenido-portada .btn {
        width: 100%;
    }

    .seccion-presentacion,
    .seccion-reproductores {
        padding: 4rem 0;
    }

    .contenedor-imagen-presentacion {
        padding: 0 0.75rem 0.75rem 0;
    }

    .imagen-presentacion,
    .imagen-presentacion-sin-foto {
        min-height: 350px;
        max-height: 430px;
    }

    .sello-presentacion {
        right: 0;
        bottom: 25px;

        width: 125px;
        height: 125px;
    }

    .sello-presentacion strong {
        font-size: 1rem;
    }

    .titulo-seccion {
        font-size: 2.4rem;
    }
}