/* =========================================================
   PÁGINA NOSOTROS — CRIADERO CURAMAVIDA
========================================================= */

/* Variables locales de respaldo. */
:root {
    --verde-principal: #173f2c;
    --verde-oscuro: #102d20;
    --verde-suave: #e8eee9;
    --cobre: #b9783e;
    --blanco: #ffffff;
    --blanco-calido: #f8f6f1;
    --carbon: #23282a;
    --gris-texto: #60696c;
}


/* =========================================================
   ENCABEZADO NOSOTROS
========================================================= */

.nosotros-hero {
    background-position: center 90%;
}

.nosotros-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    height: 120px;
    background: linear-gradient(
        to top,
        rgba(10, 14, 13, 0.28),
        transparent
    );
    content: "";
    pointer-events: none;
}

.portada-interior-contenido {
    position: relative;
    z-index: 1;
    width: 100%;
}

.contenido-encabezado-nosotros {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.subtitulo-nosotros {
    margin-bottom: 1rem;
    color: #d6a47b;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.nosotros-hero h1 {
    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);
}

.nosotros-hero .contenido-encabezado-nosotros > p:last-child {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
}


/* =========================================================
   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;
}

.texto-destacado {
    color: var(--carbon);
    font-size: 1.18rem;
    line-height: 1.75;
}

.texto-seccion {
    color: var(--gris-texto);
    line-height: 1.85;
}

.encabezado-seccion {
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.descripcion-seccion {
    color: var(--gris-texto);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   HISTORIA
========================================================= */

.seccion-historia {
    padding: 7rem 0;
    background-color: var(--blanco-calido);
}

.contenedor-imagen-historia {
    position: relative;
    padding: 0 1.5rem 1.5rem 0;
}

.contenedor-imagen-historia::after {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 82%;
    height: 78%;
    background-color: var(--cobre);
    content: "";
}

.imagen-historia {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    box-shadow: 0 18px 45px rgba(23, 27, 31, 0.18);
}

.detalle-imagen-historia {
    position: absolute;
    right: -0.5rem;
    bottom: 2.5rem;
    z-index: 2;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: var(--verde-principal);
    color: var(--blanco);
    box-shadow: 0 10px 28px rgba(16, 45, 32, 0.28);
}

.detalle-imagen-historia i {
    color: #d6ad83;
    font-size: 1.4rem;
}

.detalle-imagen-historia span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.nota-contenido {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 1.75rem;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--cobre);
    background-color: var(--verde-suave);
}

.nota-contenido i {
    margin-top: 0.15rem;
    color: var(--verde-principal);
    font-size: 1.15rem;
}

.nota-contenido p {
    margin: 0;
    color: #57625d;
    font-size: 0.88rem;
    line-height: 1.65;
}


/* =========================================================
   MISIÓN Y VISIÓN
========================================================= */

.seccion-proposito {
    padding: 7rem 0;
    background-color: #e9ede8;
}

.tarjeta-proposito {
    display: flex;
    height: 100%;
    gap: 1.4rem;
    padding: 2.25rem;
    border-bottom: 4px solid transparent;
    background-color: var(--blanco);
    box-shadow: 0 14px 40px rgba(23, 27, 31, 0.09);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.tarjeta-proposito:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--cobre);
    box-shadow: 0 22px 48px rgba(23, 27, 31, 0.14);
}

.icono-proposito {
    display: flex;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--verde-principal);
    color: var(--blanco);
    font-size: 1.6rem;
}

.tarjeta-proposito h3 {
    margin-bottom: 0.85rem;
    color: var(--verde-principal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
}

.tarjeta-proposito p {
    margin: 0;
    color: var(--gris-texto);
    line-height: 1.8;
}


/* =========================================================
   VALORES
========================================================= */

.seccion-valores {
    padding: 7rem 0;
    background-color: var(--blanco-calido);
}

.tarjeta-valor {
    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-valor::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--cobre);
    content: "";
}

.tarjeta-valor:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 42px rgba(23, 27, 31, 0.13);
}

.tarjeta-valor > 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-valor h3 {
    margin-bottom: 0.85rem;
    color: var(--verde-principal);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.tarjeta-valor p {
    margin: 0;
    color: var(--gris-texto);
    font-size: 0.94rem;
    line-height: 1.7;
}


/* =========================================================
   INVITACIÓN FINAL
========================================================= */

.seccion-invitacion {
    padding: 5rem 0;
    background:
        linear-gradient(
            rgba(10, 35, 24, 0.93),
            rgba(10, 35, 24, 0.93)
        ),
        url("../../images/portada-criadero.jpg") center / cover no-repeat;
    color: var(--blanco);
}

.contenido-invitacion {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.subtitulo-invitacion {
    margin-bottom: 0.65rem;
    color: #d4a67a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
}

.contenido-invitacion h2 {
    margin-bottom: 0.75rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
}

.contenido-invitacion div > p:last-child {
    max-width: 650px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.contenido-invitacion .btn {
    flex-shrink: 0;
}


/* =========================================================
   DISEÑO RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {
    .nosotros-hero {
        min-height: 560px;
        padding: 4rem 0;
        background-position: center 60%;
        text-align: center;
    }

    .contenido-encabezado-nosotros {
        margin: 0 auto;
    }

    .nosotros-hero .contenido-encabezado-nosotros > p:last-child {
        margin-right: auto;
        margin-left: auto;
    }

    .seccion-historia,
    .seccion-proposito,
    .seccion-valores {
        padding: 5rem 0;
    }

    .contenido-invitacion {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .nosotros-hero {
        min-height: 520px;
        padding: 3rem 0;
        background-position: 65% 60%;
    }

    .nosotros-hero h1 {
        font-size: 3rem;
        line-height: 1.05;
    }

    .nosotros-hero .contenido-encabezado-nosotros > p:last-child {
        font-size: 1rem;
    }

    .seccion-historia,
    .seccion-proposito,
    .seccion-valores {
        padding: 4rem 0;
    }

    .contenedor-imagen-historia {
        padding: 0 0.75rem 0.75rem 0;
    }

    .imagen-historia {
        min-height: 350px;
    }

    .detalle-imagen-historia {
        right: 0;
        bottom: 1.5rem;
        padding: 0.8rem 1rem;
    }

    .titulo-seccion {
        font-size: 2.35rem;
    }

    .tarjeta-proposito {
        flex-direction: column;
        padding: 1.6rem;
    }

    .tarjeta-valor {
        padding: 1.75rem 1.25rem;
    }

    .seccion-invitacion {
        padding: 4rem 0;
        text-align: center;
    }

    .contenido-invitacion {
        align-items: center;
    }

    .contenido-invitacion .btn {
        width: 100%;
    }
}