.about-hero {
    position: relative;
    overflow: hidden;
    padding: 4.8rem 0 6.2rem;
    background: url("../media/imagenes/about_image/banner_image.png") center / cover no-repeat;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(29, 57, 61, 0.82);
}

.about-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.about-hero__content h1 {
    margin: 0 0 0.8rem;
    color: #ffffff;
    font-size: clamp(2.6rem, 4vw, 4.4rem);
    line-height: 1.08;
    font-weight: 500;
}

.about-hero__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.02rem;
}

.about-hero__curve {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 90px;
    background: url("../media/imagenes/about_image/curva_ariiba.png") center bottom / 100% 100% no-repeat;
    pointer-events: none;
    display: block;
    line-height: 0;
    font-size: 0;
}

.about-story {
    padding: 4.8rem 0 5rem;
    background:
        radial-gradient(circle at left top, rgba(100, 176, 194, 0.1), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
}

.about-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 2.4rem;
    align-items: center;
}

.about-story__image {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 38px rgba(20, 53, 57, 0.16);
}

.about-story__image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-story__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-story__content h2 {
    margin: 0 0 1.3rem;
    color: #2c6f78;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.1;
    font-weight: 500;
    text-align: center;
}

.about-story__content p {
    margin: 0 0 1rem;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.65;
    text-align: justify;
    text-wrap: pretty;
}

.about-story__content strong {
    color: #374151;
}

.about-story__list {
    margin: 1.25rem 0 0;
    padding-left: 1.25rem;
    color: #4b5563;
    text-align: justify;
}

.about-story__list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.about-timeline {
    padding: 0 0 4.5rem;
}

.about-timeline__panel {
    max-width: 980px;
    padding: 2.5rem 2.75rem 0.25rem;
    background: #f8fbfb;
    box-shadow: 0 20px 40px rgba(20, 53, 57, 0.08);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1.1rem;
    padding-bottom: 1.85rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0.94rem;
    top: 0;
    bottom: -0.2rem;
    width: 3px;
    background: #1f4348;
}

.timeline-item:last-child::before {
    bottom: 1.15rem;
}

.timeline-item__marker {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #1f4348;
    color: #ffffff;
    font-weight: 700;
}

.timeline-item__body h3 {
    margin: -0.15rem 0 0.35rem;
    color: #1590a4;
    font-size: 1.05rem;
    font-weight: 500;
}

.timeline-item__body p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.about-principles {
    padding: 0 0 4.6rem;
}

.about-principles__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem;
}

.principle-card {
    border-radius: 2.75rem;
    box-shadow: 0 18px 36px rgba(20, 53, 57, 0.18);
}

.principle-card--accent {
    padding: 2.25rem 2.2rem 2.35rem;
    background: linear-gradient(135deg, #214b52 0%, #3b7f8b 100%);
    color: #ffffff;
}

.principle-card--accent img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
    margin-bottom: 1.6rem;
}

.principle-card--accent h3 {
    margin: 0 0 1.2rem;
    font-size: 2rem;
    font-weight: 500;
}

.principle-card--accent p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    text-align: left;
}

.about-values {
    position: relative;
    overflow: hidden;
    padding: 4.8rem 0 6rem;
    background: url("../media/imagenes/about_image/nuestros_valores.png") center / cover no-repeat;
}

.about-values__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 71, 77, 0.92) 0%, rgba(40, 98, 107, 0.84) 100%);
}

.about-values__content {
    position: relative;
    z-index: 1;
}

.about-values__header {
    margin: 0 auto 2.8rem;
    text-align: center;
    color: #ffffff;
}

.about-values__header h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 500;
}

.about-values__header p {
    margin: 0 0 1.4rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
}

.about-values__header strong {
    display: block;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    font-weight: 500;
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.45rem;
}

.value-card {
    padding: 2.2rem 1.55rem 1.7rem;
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(13, 41, 45, 0.18);
    text-align: center;
}

.value-card img {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.15rem;
    object-fit: contain;
}

.value-card h3 {
    margin: 0 0 0.7rem;
    color: #1490a2;
    font-size: 1.65rem;
    font-weight: 500;
}

.value-card p {
    margin: 0;
    color: #475569;
    line-height: 1.55;
}

.about-values__curve {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 90px;
    background: url("../media/imagenes/about_image/curva_ariiba.png") center bottom / 100% 100% no-repeat;
    pointer-events: none;
    display: block;
    line-height: 0;
    font-size: 0;
}

.about-focus {
    padding: 4.6rem 0 5rem;
    background:
        radial-gradient(circle at top left, rgba(100, 176, 194, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
}

.about-focus__header {
    margin: 0 auto 2.5rem;
    text-align: center;
}

.about-focus__header h2 {
    margin: 0 0 0.65rem;
    color: #1490a2;
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    font-weight: 500;
}

.about-focus__header p {
    margin: 0;
    color: #5b6470;
    font-size: 1rem;
}

.about-focus__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.focus-card {
    padding: 2rem 1.7rem 1.45rem;
    border-radius: 1.9rem;
    background: #ffffff;
    box-shadow: 0 14px 24px rgba(38, 94, 102, 0.12), 0 10px 0 rgba(43, 138, 154, 0.22);
}

.focus-card img {
    width: 2.35rem;
    height: 2.35rem;
    margin-bottom: 1rem;
    object-fit: contain;
}

.focus-card h3 {
    margin: 0 0 0.8rem;
    color: #1490a2;
    font-size: 1.55rem;
    font-weight: 500;
}

.focus-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
    text-align: left;
}

@media (max-width: 920px) {
    .about-focus__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .about-values__curve {
        height: 70px;
        background-size: cover;
        bottom: -2px;
    }

    .about-focus {
        padding: 4rem 0 4.2rem;
    }

    .focus-card {
        padding: 1.7rem 1.3rem 1.35rem;
    }
}

@media (max-width: 920px) {
    .about-story__grid {
        grid-template-columns: 1fr;
    }

    .about-principles__grid,
    .about-values__grid,
    .about-focus__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: 3.8rem 0 5.3rem;
    }

    .about-hero__curve {
        height: 70px;
        background-size: cover;
        bottom: -2px;
    }

    .about-story {
        padding: 4rem 0 4.2rem;
    }

    .about-timeline__panel {
        padding: 2rem 1.2rem 0.15rem;
    }

    .about-principles__grid,
    .about-values__grid,
    .about-focus__grid {
        grid-template-columns: 1fr;
    }

    .principle-card--accent {
        padding: 2rem 1.4rem;
        border-radius: 2rem;
    }

    .principle-card--accent h3 {
        font-size: 1.75rem;
    }

    .about-values {
        padding: 4rem 0 5.2rem;
    }
}
