/* =============================================================
   About Section — Nosotros Somos
   Tema Piedrangular
   ============================================================= */

/* ---- Global box-sizing for this section ---- */
.about-section *,
.about-section *::before,
.about-section *::after {
    box-sizing: border-box;
}

/* =============================================================
   Section wrapper
   ============================================================= */
.about-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.about-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* =============================================================
   Images column
   ============================================================= */
.about-section__images {
    position: relative;
}

/* Dashed decorative frame */
.about-section__images-frame {
    position: relative;
    padding: 1.5rem;
    border: 2px dashed #c5d3ea;
    border-radius: 2px;
}

.about-section__img {
    display: block;
    width: 82%;
    height: 220px;
    object-fit: cover;
    border-radius: 2px;
}

/* Top image — right-aligned, overlaps bottom image slightly */
.about-section__img--top {
    margin-left: auto;
    position: relative;
    z-index: 2;
    margin-bottom: -2.5rem;
}

/* Bottom image — left-aligned */
.about-section__img--bottom {
    margin-right: auto;
}

/* Placeholder shown when no image is uploaded */
.about-section__img--placeholder {
    background-color: #e4ecf7;
}

/* =============================================================
   Text column
   ============================================================= */
.about-section__content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Company name */
.about-section__company {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--color-primary, #1a4ddb);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 1.25rem 0 0.25rem;
}

/* Tagline */
.about-section__tagline {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-primary, #1a4ddb);
    margin: 0 0 1.25rem;
}

/* Body paragraph */
.about-section__description {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #555;
    margin: 0 0 2rem;
}

/* =============================================================
   Section Title component — styles shared across sections
   ============================================================= */
.section-title {
    margin: 0;
}

.section-title__heading {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 900;
    color: #061539;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin: 0 0 0.625rem;
}

.section-title__underline {
    width: 3rem;
    height: 3px;
    background-color: var(--color-primary, #1a4ddb);
    border-radius: 2px;
    margin-bottom: 0.25rem;
}

.section-title--center .section-title__underline {
    margin-left: auto;
    margin-right: auto;
}

.section-title--right .section-title__underline {
    margin-left: auto;
}

.section-title__subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0.5rem 0 0;
}

/* =============================================================
   Button — .btn--dark (used in about section)
   ============================================================= */
.btn--dark {
    background-color: #1a2d4d;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 3px;
    text-decoration: none;
    padding-left: 30px;
    padding-right: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between; /* 👈 clave */

    width: 200px; /* ancho fijo */
    transition: background-color 0.2s;
}

.btn--dark:hover {
    background-color: #253d63;
}

.btn--dark svg {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.btn--dark:hover svg {
    transform: translate(3px, -3px);
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 960px) {
    .about-section__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-section__images-frame {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 3rem 0;
    }

    .about-section__img {
        width: 90%;
        height: 180px;
    }
}
