/* About page custom sections */

.about__media-img {
    width: 100%;
    min-height: clamp(240px, 38vw, 0px);
    display: block;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: none;
}

.about-identity {
    padding: clamp(56px, 7vw, 96px) 0;
    background: linear-gradient(180deg, #f3f6fb 0%, #ffffff 48%, #f7fbfc 100%);
}

.about-identity__kicker {
    margin: 0 0 10px;
    color: #5a6472;
    font-weight: 700;
    font-size: clamp(1rem, 0.8rem + 0.4vw, 1.25rem);
}

.about-identity__title {
    margin: 0;
    max-width: 25ch;
    color: #2f3a46;
    font-weight: 400;
    line-height: 1.15;
    font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem);
}
    .about-identity__title strong,
    .about-identity__highlight strong {
        font-weight: 800;
    }
.about-identity__highlight {
    display: block;
    color: #0e4d90;
}
/* Solo afecta al hero de About */
.hero .hero__subtitle {
    margin-top: 40px;
}
.about-identity__rule {
    display: block;
    width: 180px;
    height: 8px;
    border-radius: 999px;
    margin: 14px 0 34px;
    background: linear-gradient(90deg, #8be019 0%, #2b6bdc 100%);
}

.about-identity__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.about-identity-card {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid #d9e5f2;
    border-radius: 24px;
    padding: clamp(18px, 2vw, 26px);
    box-shadow: 0 10px 24px rgba(11, 33, 81, 0.07);
}

    .about-identity-card img {
        width: 64px;
        height: 64px;
        display: inline-block;
        margin-bottom: 12px;
    }

.about-identity-card__title {
    margin: 0 0 8px;
    color: #384351;
    font-weight: 800;
    font-size: clamp(1.1rem, 0.95rem + 0.35vw, 1.35rem);
}

.about-identity-card p {
    margin: 0;
    color: #5a6472;
    line-height: 1.6;
    font-size: 1rem;
}

.about-journey {
    margin-top: clamp(30px, 4vw, 54px);
    border-radius: 28px;
    padding: clamp(22px, 3vw, 36px);
    background: radial-gradient(circle at 20% 10%, rgba(62, 198, 201, 0.35) 0%, rgba(62, 198, 201, 0) 42%), linear-gradient(180deg, #0c1f4f 0%, #0a2d66 44%, #138a96 100%);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(11, 33, 81, 0.3);
}

.about-journey__title {
    margin: 0;
    font-size: clamp(1.35rem, 1rem + 1vw, 2rem);
    font-weight: 700;
}

.about-journey__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.about-step {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    padding: 16px;
}

.about-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #8be019;
    color: #163113;
    font-weight: 800;
    font-size: 0.9rem;
}

.about-step__title {
    margin: 10px 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.about-step p {
    margin: 0;
    color: #d8e4f2;
    font-size: 0.98rem;
    line-height: 1.55;
}

@media (max-width: 1080px) {
    .about-journey__steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .about-identity__title {
        max-width: none;
    }

    .about-identity__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .about__media-img {
        min-height: 220px;
    }

    .about-identity__kicker,
    .about-identity__title {
        text-align: center;
    }

    .about-identity__rule {
        margin-inline: auto;
    }

    .about-journey__title {
        text-align: center;
    }

    .about-journey__steps {
        grid-template-columns: 1fr;
    }
}

/* Contact section override for About page.
   Keeps About base styles from home.css but aligns CTA with Servicios/Soluciones layout. */

.cta {
    background: radial-gradient(circle at 30% 90%, #3ec6c9 0%, transparent 35%), linear-gradient(180deg, #0c1f4f 0%, #0a2d66 40%, #138a96 100%);
    color: #fff;
    text-align: initial;
    padding: clamp(2rem, 6vw, 6rem) 0;
}

.cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    align-items: start;
}

.cta__title {
    margin: 0 0 12px;
    font-weight: 400;
    line-height: 1.2;
    font-size: clamp(1.6rem, 0.9rem + 2vw, 2.6rem);
}

.cta__rule {
    display: block;
    width: 180px;
    height: 8px;
    border-radius: 999px;
    margin: 14px 0 18px;
    background: linear-gradient(90deg, #8be019 0%, #2b6bdc 100%);
}

.cta__text {
    color: #d7e6f2;
    max-width: 48ch;
    margin: 0;
    font-size: clamp(1rem, 0.8rem + 0.7vw, 1.5rem);
}

.cta__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: none;
    margin: 0;
    flex-wrap: nowrap;
    justify-content: initial;
    position: relative;
}

    .cta__form input,
    .cta__form textarea {
        width: 100%;
        border: none;
        border-radius: 16px;
        padding: 16px 20px;
        font-size: 1rem;
        flex: 0 0 auto;
    }

    .cta__form textarea {
        min-height: 110px;
        resize: vertical;
    }

    .cta__form .button {
        align-self: self-end;
        min-width: min(100%, 320px);
    }

    .cta__form .cta__error {
        z-index: 30;
    }

@media (min-width: 1200px) {
    .cta .container {
        max-width: 1600px !important;
    }

    .cta__form input,
    .cta__form textarea {
        font-size: 1.05rem;
        padding: 18px 22px;
    }
}

@media (max-width: 992px) {
    .cta__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta__content {
        text-align: center;
    }

    .cta__text {
        margin: 0 auto;
    }

    .cta__rule {
        margin-inline: auto;
    }

    .cta__form {
        width: 90%;
        max-width: 640px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .cta {
        padding: 32px 16px;
    }

    .cta__form {
        gap: 12px;
    }

        .cta__form .button {
            min-width: 100%;
        }
}
