/* ==========================================================================
   133. NOSOTROS: HERO BANNER (.banner-section)
   ========================================================================== */
#about .banner-section {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 622px;
    padding-bottom: 69px;
    background-image: url(../../assets/images/nosotros-banner-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--cream-dark);
}

#about .banner-section h1,
#about .banner-section p {
    margin: 0;
}

#about .banner-section .banner-content {
    max-width: 497px;
    margin-inline: auto;
    padding-inline: 1rem;
    text-align: center;
}

#about .banner-section .title {
    margin: 40px 0 20px;
    margin-bottom: 10.75rem;
    font-family: var(--font-heading); /* PPRader */
    font-size: 72px;
    font-weight: 700;
    line-height: 80px;
    letter-spacing: 1.38px;
    text-transform: uppercase;
}

#about .banner-section .description {
    font-family: var(--font-main); /* PPMori */
    line-height: 1.5;
}

@media (min-width: 960px) {
    #about .banner-section {
        height: 664px;
        padding-bottom: 96px;
    }
}

@media only screen and (max-width: 720px) {
    #about .banner-section {
        padding: 0 2rem;
    }

    #about .banner-section .title {
        margin: 20px 0 10px;
        font-size: 48px;
        line-height: 60px;
        letter-spacing: 1px;
    }
}

/* ==========================================================================
   134. NOSOTROS: SECCIÓN DE VIDEO (.video-section)
   ========================================================================== */
#about .video-section {
    padding-bottom: 0;
}

#about .video-section .row {
    row-gap: 3rem;
}

#about .video-section .text-container p {
    color: var(--cream-dark);
    font-family: var(--font-main);
    line-height: 1.5rem;
    text-align: center;
}

#about .video-section .video-container {
    max-width: 1000px !important;
    margin: 2rem auto;
}

#about .video-section .video-container iframe {
    width: 100%;
    height: 375px;
    margin: 0 auto;
    border-radius: var(--radius-lg); /* 1.2rem */
}

#about .video-section .trees-decoration {
    width: 100%;
    margin-bottom: -10px;
}

@media (min-width: 48em) {
    #about .video-section .row { row-gap: 3.5rem; }
}

@media (max-width: 62em) {
    #about .video-section .video { min-width: 100%; }
}

/* ==========================================================================
   135. NOSOTROS: SLIDER DE IMPACTO (.impact-section)
   ========================================================================== */
#about .impact-section .articles-slider {
    padding: 40px 0;
}

#about .impact-section .articles-slider .article {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    height: 280px;
    padding: 2rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
}

#about .impact-section .articles-slider .article .description {
    z-index: 100;
    color: var(--cream-dark);
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
}

#about .impact-section .articles-slider .article .description strong {
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Filtro de fondo para legibilidad de texto */
#about .impact-section .articles-slider .article .background-filter {
    position: absolute;
    inset: 0;
    background-color: var(--pure-black);
    opacity: 0.4;
    border-radius: 8px;
    transition: var(--transition-fast);
}

#about .impact-section .articles-slider .article:hover .background-filter,
#about .impact-section .articles-slider .article:active .background-filter {
    opacity: 0.5;
}

@media (max-width: 960px) {
    #about .impact-section .articles-slider .article .description { width: 100%; }
}

/* ==========================================================================
   136. NOSOTROS: TARJETAS DE BLOG/POSTS (.post-card)
   ========================================================================== */
#about .post-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 300px;
    height: 400px;
    padding: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--cream-dark);
    font-family: var(--font-main);
    font-weight: 600;
    line-height: 28px;
    text-align: left;
    border-radius: 8px;
    box-sizing: border-box;
}

#about .post-card .post-category {
    z-index: 10;
    width: fit-content;
    padding: 0 10px;
    background-color: var(--pure-white);
    color: var(--primary-dark-green);
    font-size: 12px;
    border-radius: 16px;
}

#about .post-card .post-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

#about .post-card .post-content .content-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

#about .post-card .post-content .content-read-time {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Lógica de contenido desplegable en tarjeta */
#about .post-card .post-content .content-hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

#about .post-card .post-content .content-hidden .hidden-link {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media screen and (max-width: 720px) {
    #about .post-card { width: calc(100% - 20px); }
}

/* ==========================================================================
   137. NOSOTROS: SECCIÓN DE EQUIPO (.agents-section)
   ========================================================================== */
#about .agents-section {
    margin-top: 3rem;
    padding: 0 !important;
    background-position: top center;
}

#about .agents-section .agents-slider {
    margin: 80px 0;
}

#about .agents-section .agents-slider .agent {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin: 0 auto;
    padding: 10px;
    background-color: var(--pure-white);
    text-align: start;
    border-radius: 8px;
}

/* Efecto de cambio de imagen (Hover Swap) */
#about .agents-section .agents-slider .agent .image-container {
    position: relative;
    width: 255px;
    height: 255px;
}

#about .agents-section .agents-slider .agent .image-container .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.5s ease-in-out;
}

#about .agents-section .agents-slider .agent .image-container .image.second-image { opacity: 0; }
#about .agents-section .agents-slider .agent .image-container .image.first-image { opacity: 1; }

#about .agents-section .agents-slider .agent:hover .image-container .image.first-image { opacity: 0; }
#about .agents-section .agents-slider .agent:hover .image-container .image.second-image { opacity: 1; }

#about .agents-section .agents-slider .agent .name {
    margin: 10px 0 0 10px;
    color: var(--primary-dark-green);
    font-family: var(--font-heading); /* Rader para nombres */
    font-size: 20px;
    font-weight: 800;
    line-height: 24px;
}

#about .agents-section .agents-slider .agent .position {
    margin: 0 0 0 10px;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
}

/* ==========================================================================
   138. NOSOTROS: OPINIONES Y NAVEGACIÓN (.opinions-section)
   ========================================================================== */
#about .opinions-section {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
}

#about .opinions-section h3,
#about .opinions-section p {
    margin: 0;
}

/* Barra de botones del slider */
#about .opinions-section .slider-buttons {
    position: relative;
    margin-inline: -2rem;
    margin-bottom: 3rem;
    border-top: 1px solid var(--cream-light);
    border-bottom: 1px solid var(--cream-light);
}

#about .opinions-section .slider-buttons .arrow__element {
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

#about .opinions-section .slider-buttons .arrow__element.opinions__prev {
    background-image: url(../images/left-primary-light.svg);
}

#about .opinions-section .slider-buttons .arrow__element.opinions__next {
    background-image: url(../images/right-primary-light.svg);
}

#about .opinions-section .button-list {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    padding: 0.5rem 0;
    font-family: var(--font-main);
    font-size: 1.5rem;
    line-height: 2.5rem;
}

@media (min-width: 960px) {
    #about .opinions-section { padding-top: 2.5rem; padding-bottom: 6rem; }
    #about .opinions-section .slider-buttons { margin-inline: 0; margin-bottom: 3.5rem; }
    #about .opinions-section .button-list { padding: 1.5rem 0; justify-content: space-evenly; }
}

/* ==========================================================================
   139. OPINIONES: SELECTORES DE CATEGORÍA (.button-list)
   ========================================================================== */
#about .opinions-section .button-list > button {
    display: block;
    margin: 0;
    padding-inline: 1rem;
    background-color: transparent;
    border: none;
    border-radius: 1.25rem;
    color: var(--primary-dark-green-muted);
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition-fast);
}

#about .opinions-section .button-list > button:first-child {
    margin-left: 2rem;
}

#about .opinions-section .button-list > button:last-child {
    margin-right: 2rem;
}

#about .opinions-section .button-list > button.active {
    background-color: var(--primary-green);
    color: var(--primary-dark-green);
}

/* ==========================================================================
   140. OPINIONES: ESTRUCTURA DEL SLIDER (.slider-element)
   ========================================================================== */
#about .opinions-section .slider {
    margin-inline: -2rem;
}

#about .opinions-section .slider-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-inline: 1rem;
}

@media (min-width: 960px) {
    #about .opinions-section .slider-element {
        flex-direction: row;
        width: 1200px;
        padding-inline: 2rem;
        column-gap: 5rem;
    }
}

#about .opinions-section .slider-element > .image {
    width: 100%;
    max-width: 480px;
    height: 416px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* ==========================================================================
   141. OPINIONES: CONTENIDO Y LOGOTIPOS (.content)
   ========================================================================== */
#about .opinions-section .slider-element > .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#about .opinions-section .slider-element > .content .logo {
    max-width: 250px;
    height: 110px;
    margin-bottom: 1rem;
    margin-left: 0;
    object-fit: contain;
}

#about .opinions-section .slider-element > .content .description {
    max-width: 600px;
    text-wrap: wrap;
}

/* Tipografía de fecha y encabezados */
#about .opinions-section .slider-element > .content .date-element {
    margin-bottom: 0.5rem;
    color: var(--primary-dark-green);
    font-family: var(--font-heading);
    font-size: xx-large;
    font-weight: 600;
    text-transform: uppercase;
}

#about .opinions-section .slider-element > .content .pre-heading {
    margin-bottom: 0.5rem;
    font-family: var(--font-main);
    text-transform: uppercase;
}

#about .opinions-section .slider-element > .content .heading {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

#about .opinions-section .slider-element > .content .text {
    font-family: var(--font-main);
    line-height: 1.5;
}

/* ==========================================================================
   142. AJUSTES DESKTOP PARA OPINIONES (min-width: 960px)
   ========================================================================== */
@media (min-width: 960px) {
    #about .opinions-section .slider-element > .content {
        align-items: flex-start !important;
        text-align: left;
    }

    #about .opinions-section .slider-element > .content .heading {
        margin-bottom: 1.5rem;
        line-height: 1;
    }
}

@media screen and (max-width: 1024px) {
    #about .opinions-section .slider-element > .content .logo {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   290. SOBRE NOSOTROS: LOGOS Y SLIDERS (#about)
   ========================================================================== */
#about .opinions-section .slider-element .content .logo img {
    height: 110px;
    max-width: 250px;
    object-fit: contain;
}

/* ==========================================================================
   293. SOBRE NOSOTROS: SLIDER DE AGENTES (#about)
   ========================================================================== */
#about .agents-section .agents-slider .slick-slide img {
    width: 100%;
}