/* ============================================
   PÁGINA NOSOTROS
   Se alimenta de una categoría de contenidos ($_categoria).
   ============================================ */

/* ---------- PAGE HERO ---------- */
.page-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-h);
}

.page-hero__bg {
    position: absolute;
    inset: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,27,14,0.82) 0%, rgba(13,27,14,0.6) 45%, rgba(13,27,14,0.88) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 0 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: var(--t);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb i {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.35);
}

.breadcrumb span {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.page-hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
}

/* ---------- QUIÉNES SOMOS ---------- */
.about-intro {
    padding: var(--sp-3xl) 0;
    background: var(--color-white);
}

.about-intro__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--sp-2xl);
    align-items: center;
}

.about-intro__grid--single {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
}

.about-intro__media {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.about-intro__media img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

/* El video se dimensiona por su propia proporcion. Con altura fija sobraba
   caja arriba y abajo y se veian franjas negras. */
.about-intro__media video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    background: #000;
}

.about-intro__body .section__title {
    margin-bottom: var(--sp-md);
}

.about-intro__text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-soft);
}

.about-intro__text p {
    margin-bottom: 1rem;
}

.about-intro__text p:last-child {
    margin-bottom: 0;
}

.about-intro__text ul,
.about-intro__text ol {
    margin: 0 0 1rem 1.15rem;
}

.about-intro__text li {
    margin-bottom: 0.4rem;
}

/* Etiquetas de la categoría */
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: var(--sp-lg) 0 0;
}

.about-tags li {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-dark);
    background: rgba(200,242,78,0.35);
    border: 1px solid rgba(26,122,60,0.18);
    padding: 0.35rem 0.85rem;
    border-radius: var(--r-full);
}

/* ---------- CIFRAS ---------- */
/* ---------- ESPECIFICACIONES ----------
   El panel carga estos items como texto largo, no como cifras. Por eso
   van en tarjetas legibles y no en columnas de titular. */
.about-specs {
    padding: var(--sp-3xl) 0;
    background: var(--color-dark);
}

.about-specs .section__title {
    color: var(--color-white);
}

.about-specs .section__desc {
    color: rgba(255,255,255,0.7);
}

.about-specs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: var(--sp-md);
    margin-top: var(--sp-xl);
}

.about-spec {
    position: relative;
    padding: var(--sp-lg);
    padding-top: calc(var(--sp-lg) + 0.5rem);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-lg);
    transition: var(--t);
}

.about-spec:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}

.about-spec__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.85rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-dark);
    background: var(--color-accent);
    border-radius: 50%;
}

.about-spec__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-white);
    margin-bottom: 0.4rem;
    overflow-wrap: break-word;
}

.about-spec__tag {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding: 0.15rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(200,242,78,0.12);
    border-radius: 999px;
}

.about-spec__lead {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}

.about-spec__text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.68);
    margin: 0;
}

/* ---------- BLOQUES DE HISTORIA / VALORES ---------- */
.about-blocks {
    padding: var(--sp-3xl) 0;
    background: var(--color-gray-50);
}

.about-blocks__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--sp-lg);
    margin-top: var(--sp-xl);
}

.about-block {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    padding: var(--sp-lg);
    transition: var(--t);
}

.about-block:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
}

.about-block__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.about-block__lead {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.about-block__text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

.about-block__text p:last-child {
    margin-bottom: 0;
}

.about-blocks__intro {
    max-width: 780px;
    margin: 1rem auto 0;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-light);
}

.about-block__image {
    margin: calc(var(--sp-lg) * -1) calc(var(--sp-lg) * -1) var(--sp-md);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    overflow: hidden;
}

.about-block__image img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.about-block__tag {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding: 0.15rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(26,122,60,0.10);
    border-radius: 999px;
}

.about-block__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: var(--sp-md);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: var(--t);
}

.about-block__link:hover {
    gap: 0.7rem;
}

/* ---------- GALERÍA ---------- */
.about-gallery {
    padding: var(--sp-3xl) 0;
    background: var(--color-white);
}

.about-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--sp-md);
    margin-top: var(--sp-xl);
}

.about-gallery__item {
    position: relative;
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--color-gray-100);
}

.about-gallery__item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform var(--t-slow);
}

.about-gallery__item:hover img {
    transform: scale(1.06);
}

.about-gallery__item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.75rem 1rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(180deg, rgba(13,27,14,0) 0%, rgba(13,27,14,0.85) 100%);
}

/* ---------- ARTÍCULOS ---------- */
.about-articles {
    padding: var(--sp-3xl) 0;
    background: var(--color-gray-50);
}

.about-articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: var(--sp-lg);
    margin-top: var(--sp-xl);
}

.about-article {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: var(--t);
}

.about-article:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
}

.about-article__image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.about-article__body {
    padding: var(--sp-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.about-article__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.about-article__desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin-bottom: var(--sp-sm);
    flex: 1;
}

.about-article__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: var(--t);
}

.about-article__link:hover {
    gap: 0.7rem;
    color: var(--color-primary-dark);
}

.about-article__link i {
    font-size: 0.7rem;
}

/* ---------- FAQ ---------- */
.about-faq {
    padding: var(--sp-3xl) 0;
    background: var(--color-white);
}

.about-faq .faq__list {
    margin-top: var(--sp-xl);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-intro__grid {
        grid-template-columns: 1fr;
    }

    .about-intro__media {
        order: -1;
    }

    .about-intro__media img {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .page-hero__content {
        padding: 2rem 0 1.5rem;
    }

    .about-intro,
    .about-blocks,
    .about-gallery,
    .about-articles,
    .about-faq {
        padding: var(--sp-2xl) 0;
    }

    .about-specs__grid {
        grid-template-columns: 1fr;
    }

    .about-spec {
        padding: var(--sp-md);
        padding-top: calc(var(--sp-md) + 0.25rem);
    }

    .about-gallery__item img {
        height: 200px;
    }
}

