/* =========================================================
   PÁGINA REPRODUCTORES — CRIADERO CURAMAVIDA
========================================================= */

:root {
    --verde-principal: #173f2c;
    --verde-oscuro: #102d20;
    --verde-suave: #e8eee9;
    --cobre: #b9783e;
    --cobre-claro: #d2a477;
    --blanco: #ffffff;
    --blanco-calido: #f8f6f1;
    --carbon: #23282a;
    --gris-texto: #60696c;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.encabezado-reproductores {
    position: relative;
    display: flex;
    min-height: 440px;
    align-items: center;
    overflow: hidden;
    padding: 7rem 0;
    background:
        linear-gradient(
            90deg,
            rgba(10, 35, 24, 0.96) 0%,
            rgba(16, 55, 37, 0.88) 55%,
            rgba(23, 63, 44, 0.70) 100%
        ),
        url("../../images/portada-criadero.jpg") center / cover no-repeat;
    color: var(--blanco);
}

.encabezado-reproductores::after {
    position: absolute;
    right: -110px;
    bottom: -190px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.contenido-encabezado-reproductores {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.subtitulo-encabezado {
    margin-bottom: 1rem;
    color: var(--cobre-claro);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.encabezado-reproductores h1 {
    margin-bottom: 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 5.2rem);
    font-weight: 700;
    line-height: 1.05;
}

.encabezado-reproductores
.contenido-encabezado-reproductores > p:last-child {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    line-height: 1.8;
}


/* =========================================================
   ESTILOS COMPARTIDOS
========================================================= */

.subtitulo-seccion {
    margin-bottom: 0.75rem;
    color: var(--cobre);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.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;
}

.encabezado-seccion {
    max-width: 780px;
    margin: 0 auto 3.5rem;
}

.descripcion-seccion {
    margin-bottom: 0;
    color: var(--gris-texto);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   PRESENTACIÓN
========================================================= */

.seccion-presentacion-reproductores {
    padding: 6.5rem 0 3rem;
    background-color: var(--blanco-calido);
}

.aviso-contenido {
    display: flex;
    max-width: 920px;
    gap: 0.9rem;
    align-items: flex-start;
    margin: 0 auto;
    padding: 1.1rem 1.3rem;
    border-left: 4px solid var(--cobre);
    background-color: var(--verde-suave);
}

.aviso-contenido i {
    margin-top: 0.15rem;
    color: var(--verde-principal);
    font-size: 1.2rem;
}

.aviso-contenido p {
    margin: 0;
    color: #57625d;
    font-size: 0.9rem;
    line-height: 1.7;
}


/* =========================================================
   LISTADO DE REPRODUCTORES
========================================================= */

.seccion-listado-reproductores {
    padding: 3rem 0 7rem;
    background-color: var(--blanco-calido);
}

.tarjeta-reproductor {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(23, 63, 44, 0.1);
    background-color: var(--blanco);
    box-shadow: 0 14px 38px rgba(23, 27, 31, 0.09);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tarjeta-reproductor:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(23, 27, 31, 0.16);
}

.contenedor-imagen-reproductor {
    position: relative;
    height: 300px;
    overflow: hidden;
    background-color: var(--verde-suave);
}

.imagen-reproductor {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center center;

    background-color: var(--verde-principal);
}


.contenedor-imagen-reproductor::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 35%;
    background: linear-gradient(
        to top,
        rgba(10, 35, 24, 0.55),
        transparent
    );
    content: "";
}

.etiqueta-reproductor {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    z-index: 1;
    padding: 0.5rem 0.85rem;
    background-color: var(--verde-principal);
    color: var(--blanco);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(10, 35, 24, 0.25);
}

.contenido-reproductor {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.8rem;
}

.nombre-criadero {
    margin-bottom: 0.45rem;
    color: var(--cobre);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.contenido-reproductor h2 {
    margin-bottom: 0.45rem;
    color: var(--verde-principal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
}

.numero-registro {
    margin-bottom: 1.35rem;
    color: #798083;
    font-size: 0.84rem;
}

.datos-reproductor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.35rem;
}

.datos-reproductor > div {
    display: flex;
    min-width: 0;
    gap: 0.65rem;
    align-items: center;
    padding: 0.8rem;
    background-color: var(--verde-suave);
}

.datos-reproductor i {
    flex-shrink: 0;
    color: var(--verde-principal);
    font-size: 1.05rem;
}

.datos-reproductor span {
    min-width: 0;
    color: var(--carbon);
    font-size: 0.86rem;
    font-weight: 600;
}

.datos-reproductor small {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--gris-texto);
    font-size: 0.68rem;
    font-weight: 500;
}

.descripcion-reproductor {
    margin-bottom: 1.35rem;
    color: var(--gris-texto);
    font-size: 0.94rem;
    line-height: 1.75;
}

.genealogia-resumida {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-left: 3px solid var(--cobre);
    background-color: #f2f4f1;
}

.genealogia-resumida > div {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.6rem;
    align-items: baseline;
}

.genealogia-resumida span {
    color: var(--cobre);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
}

.genealogia-resumida strong {
    overflow-wrap: anywhere;
    color: var(--verde-principal);
    font-size: 0.88rem;
}

.enlace-reproductor {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    color: var(--verde-principal);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
    text-decoration: none;
    text-transform: uppercase;
}

.enlace-reproductor i {
    transition: transform 0.25s ease;
}

.enlace-reproductor:hover {
    color: var(--cobre);
}

.enlace-reproductor:hover i {
    transform: translateX(5px);
}


/* =========================================================
   CRITERIOS DE SELECCIÓN
========================================================= */

.seccion-seleccion {
    padding: 7rem 0;
    background-color: #e9ede8;
}

.tarjeta-criterio {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(23, 63, 44, 0.1);
    background-color: var(--blanco);
    text-align: center;
    box-shadow: 0 10px 30px rgba(23, 27, 31, 0.07);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tarjeta-criterio::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--cobre);
    content: "";
}

.tarjeta-criterio:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 42px rgba(23, 27, 31, 0.13);
}

.tarjeta-criterio > i {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    border-radius: 50%;
    background-color: var(--verde-suave);
    color: var(--verde-principal);
    font-size: 1.8rem;
}

.tarjeta-criterio h3 {
    margin-bottom: 0.85rem;
    color: var(--verde-principal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.tarjeta-criterio p {
    margin: 0;
    color: var(--gris-texto);
    font-size: 0.94rem;
    line-height: 1.7;
}


/* =========================================================
   CONTACTO FINAL
========================================================= */

.seccion-contacto-reproductores {
    padding: 5rem 0;
    background:
        linear-gradient(
            rgba(10, 35, 24, 0.94),
            rgba(10, 35, 24, 0.94)
        ),
        url("../../images/portada-criadero.jpg") center / cover no-repeat;
    color: var(--blanco);
}

.contenido-contacto-reproductores {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.subtitulo-contacto {
    margin-bottom: 0.65rem;
    color: var(--cobre-claro);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
}

.contenido-contacto-reproductores h2 {
    max-width: 760px;
    margin-bottom: 0.75rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
}

.contenido-contacto-reproductores div > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.contenido-contacto-reproductores .btn {
    flex-shrink: 0;
}


/* =========================================================
   DISEÑO RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {
    .encabezado-reproductores {
        min-height: 380px;
        padding: 5.5rem 0;
        text-align: center;
    }

    .contenido-encabezado-reproductores {
        margin: 0 auto;
    }

    .encabezado-reproductores
    .contenido-encabezado-reproductores > p:last-child {
        margin-right: auto;
        margin-left: auto;
    }

    .seccion-presentacion-reproductores {
        padding-top: 5rem;
    }

    .seccion-listado-reproductores,
    .seccion-seleccion {
        padding-bottom: 5rem;
    }

    .contenido-contacto-reproductores {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .contenedor-imagen-reproductor {
        height: 340px;
    }
}

@media (max-width: 575.98px) {
    .encabezado-reproductores {
        min-height: 340px;
        padding: 4rem 0;
    }

    .encabezado-reproductores h1 {
        font-size: 3rem;
    }

    .encabezado-reproductores
    .contenido-encabezado-reproductores > p:last-child {
        font-size: 1rem;
    }

    .seccion-presentacion-reproductores {
        padding: 4rem 0 2rem;
    }

    .seccion-listado-reproductores {
        padding: 2rem 0 4rem;
    }

    .seccion-seleccion {
        padding: 4rem 0;
    }

    .contenedor-imagen-reproductor {
        height: 280px;
    }

    .contenido-reproductor {
        padding: 1.35rem;
    }

    .datos-reproductor {
        grid-template-columns: 1fr;
    }

    .tarjeta-criterio {
        padding: 1.75rem 1.25rem;
    }

    .seccion-contacto-reproductores {
        padding: 4rem 0;
        text-align: center;
    }

    .contenido-contacto-reproductores {
        align-items: center;
    }

    .contenido-contacto-reproductores .btn {
        width: 100%;
    }
}