/* =====================================================
   VARIABLES COMPARTIDAS
===================================================== */

:root {
    --about-navy: #102a43;
    --about-dark: #071827;
    --about-blue: #1d6fe8;
    --about-blue-light: #eaf3ff;
    --about-green: #17a673;
    --about-green-light: #e9f8f2;
    --about-orange: #f97316;
    --about-orange-light: #fff0e6;
    --about-yellow: #f7b731;
    --about-yellow-light: #fff6d7;
    --about-purple: #7656d6;
    --about-purple-light: #f0ecff;
    --about-text: #566575;
    --about-border: #e2e8ee;
}


/* =====================================================
   HERO NOSOTROS
===================================================== */

.about-hero {
    position: relative;
    min-height: 650px;
    padding: 90px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(247, 183, 49, 0.16),
            transparent 25%
        ),
        radial-gradient(
            circle at 5% 85%,
            rgba(29, 111, 232, 0.12),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #f6faff 0%,
            #ffffff 50%,
            #fffaf0 100%
        );
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.34;
    background-image:
        linear-gradient(
            rgba(16, 42, 67, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(16, 42, 67, 0.035) 1px,
            transparent 1px
        );
    background-size: 38px 38px;
}

.about-hero .container {
    position: relative;
    z-index: 3;
}

.about-hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.about-hero-shape-one {
    top: 55px;
    left: -105px;
    width: 230px;
    height: 230px;
    border: 38px solid rgba(29, 111, 232, 0.06);
}

.about-hero-shape-two {
    right: -115px;
    bottom: -115px;
    width: 290px;
    height: 290px;
    background: rgba(247, 183, 49, 0.09);
}

.about-hero-content {
    position: relative;
    z-index: 5;
}

.about-eyebrow,
.about-section-eyebrow {
    width: fit-content;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    background: var(--about-blue-light);
    color: var(--about-blue);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-hero-content h1 {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--about-navy);
    font-size: clamp(2.8rem, 5.5vw, 4.9rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.about-hero-content h1 span {
    color: var(--about-blue);
}

.about-hero-content > p {
    max-width: 620px;
    margin: 27px 0 0;
    color: var(--about-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-hero-actions {
    margin-top: 33px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-primary-button,
.about-secondary-button {
    min-height: 51px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-primary-button {
    background: var(--about-blue);
    color: #ffffff;
    box-shadow: 0 13px 30px rgba(29, 111, 232, 0.23);
}

.about-primary-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 17px 36px rgba(29, 111, 232, 0.3);
}

.about-secondary-button {
    border: 1px solid #dbe3eb;
    background: #ffffff;
    color: var(--about-navy);
}

.about-secondary-button:hover {
    color: var(--about-blue);
    transform: translateY(-2px);
}

.about-hero-highlights {
    margin-top: 40px;
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    border-top: 1px solid rgba(16, 42, 67, 0.1);
}

.about-hero-highlights > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-hero-highlights > div > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #ffffff;
    color: var(--about-blue);
    box-shadow: 0 9px 24px rgba(16, 42, 67, 0.09);
}

.about-hero-highlights p {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.about-hero-highlights strong {
    color: var(--about-navy);
    font-size: 0.75rem;
}

.about-hero-highlights small {
    margin-top: 2px;
    color: #7a8793;
    font-size: 0.63rem;
}


/* Visual del hero */

.about-hero-visual {
    position: relative;
    min-height: 490px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual-background {
    position: absolute;
    right: 25px;
    width: 82%;
    height: 85%;
    border-radius: 45px 110px 45px 110px;
    background:
        linear-gradient(
            145deg,
            #0b2740,
            #164d79
        );
    box-shadow: 0 35px 75px rgba(16, 42, 67, 0.24);
    transform: rotate(2deg);
}

.about-visual-background::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: inherit;
}

.about-visual-grid {
    position: absolute;
    top: 68px;
    right: 65px;
    width: 105px;
    height: 105px;
    z-index: 2;
    opacity: 0.18;
    background-image:
        radial-gradient(
            circle,
            #ffffff 2px,
            transparent 2px
        );
    background-size: 16px 16px;
}

.about-hero-main-image {
    position: relative;
    z-index: 3;
    width: 88%;
    max-width: 500px;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.33));
}

.about-floating-card {
    position: absolute;
    z-index: 6;
    min-width: 190px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(16, 42, 67, 0.19);
}

.about-floating-card > span {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: grid;
    place-items: center;
    border-radius: 10px;
}

.about-floating-card div {
    display: flex;
    flex-direction: column;
}

.about-floating-card small {
    color: #87939f;
    font-size: 0.58rem;
}

.about-floating-card strong {
    margin-top: 2px;
    color: var(--about-navy);
    font-size: 0.67rem;
}

.about-card-business {
    top: 30px;
    left: 0;
}

.about-card-business > span {
    background: var(--about-blue-light);
    color: var(--about-blue);
}

.about-card-school {
    top: 220px;
    right: 0;
}

.about-card-school > span {
    background: var(--about-yellow-light);
    color: #aa7000;
}

.about-card-products {
    right: 65px;
    bottom: 16px;
    min-width: 245px;
}

.about-card-products > span {
    background: var(--about-green-light);
    color: var(--about-green);
}


/* =====================================================
   QUIÉNES SOMOS
===================================================== */

.about-company-section {
    padding: 110px 0;
    background: #ffffff;
}

.about-company-visual {
    position: relative;
    padding: 20px 35px 55px 0;
}

.about-company-main-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--about-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 28px 65px rgba(16, 42, 67, 0.12);
}

.about-company-card-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.about-company-card-header > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--about-blue-light);
    color: var(--about-blue);
}

.about-company-card-header div {
    display: flex;
    flex-direction: column;
}

.about-company-card-header small {
    color: #8995a1;
    font-size: 0.61rem;
}

.about-company-card-header strong {
    color: var(--about-navy);
    font-size: 0.78rem;
}

.about-company-image {
    height: 340px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at center,
            #ffffff,
            #edf4fa
        );
}

.about-company-image img {
    width: 100%;
    max-width: 450px;
    max-height: 290px;
    object-fit: contain;
}

.about-company-card-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--about-border);
}

.about-company-card-footer > div {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-right: 1px solid var(--about-border);
}

.about-company-card-footer > div:last-child {
    border-right: 0;
}

.about-company-card-footer strong {
    color: var(--about-navy);
    font-size: 0.75rem;
}

.about-company-card-footer small {
    margin-top: 3px;
    color: #85919d;
    font-size: 0.57rem;
}

.about-company-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 300px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #dce6ee;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(16, 42, 67, 0.14);
}

.about-company-badge > i {
    color: var(--about-green);
    font-size: 1.45rem;
}

.about-company-badge span {
    display: flex;
    flex-direction: column;
}

.about-company-badge strong {
    color: var(--about-navy);
    font-size: 0.7rem;
}

.about-company-badge small {
    margin-top: 3px;
    color: #798692;
    font-size: 0.58rem;
}

.about-company-content h2 {
    margin: 20px 0 0;
    color: var(--about-navy);
    font-size: clamp(2.25rem, 5vw, 3.65rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.about-company-content h2 span {
    color: var(--about-blue);
}

.about-company-content > p {
    margin: 17px 0 0;
    color: var(--about-text);
    font-size: 0.94rem;
    line-height: 1.8;
}

.about-company-content .about-company-lead {
    color: #37495b;
    font-size: 1.05rem;
    font-weight: 600;
}

.about-company-pillars {
    margin-top: 32px;
    display: grid;
    gap: 12px;
}

.about-company-pillars > div {
    padding: 14px;
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 12px;
    border: 1px solid var(--about-border);
    border-radius: 14px;
    background: #ffffff;
}

.about-company-pillars > div > span {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--about-blue-light);
    color: var(--about-blue);
}

.about-company-pillars > div:nth-child(2) > span {
    background: var(--about-green-light);
    color: var(--about-green);
}

.about-company-pillars > div:nth-child(3) > span {
    background: var(--about-orange-light);
    color: var(--about-orange);
}

.about-company-pillars strong {
    color: var(--about-navy);
    font-size: 0.77rem;
}

.about-company-pillars small {
    margin-top: 3px;
    color: var(--about-text);
    font-size: 0.64rem;
    line-height: 1.5;
}


/* =====================================================
   MISIÓN, VISIÓN Y VALORES
===================================================== */

.about-principles-section {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f4f8fc,
            #ffffff
        );
}

.about-principles-decoration {
    position: absolute;
    top: -120px;
    right: -110px;
    width: 300px;
    height: 300px;
    border: 55px solid rgba(29, 111, 232, 0.05);
    border-radius: 50%;
}

.about-principles-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.about-principles-heading .about-section-eyebrow {
    margin: 0 auto;
}

.about-principles-heading h2 {
    margin: 18px 0 0;
    color: var(--about-navy);
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.about-principles-heading h2 span {
    color: var(--about-blue);
}

.about-principles-heading p {
    margin: 16px 0 0;
    color: var(--about-text);
    line-height: 1.75;
}

.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.about-principle-card {
    position: relative;
    min-height: 520px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--about-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(16, 42, 67, 0.07);
}

.about-principle-number {
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(16, 42, 67, 0.08);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
}

.about-principle-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 1.25rem;
}

.mission-card .about-principle-icon {
    background: var(--about-blue-light);
    color: var(--about-blue);
}

.vision-card .about-principle-icon {
    background: var(--about-green-light);
    color: var(--about-green);
}

.values-card .about-principle-icon {
    background: var(--about-orange-light);
    color: var(--about-orange);
}

.about-principle-label {
    display: block;
    margin-top: 25px;
    color: var(--about-blue);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vision-card .about-principle-label {
    color: var(--about-green);
}

.values-card .about-principle-label {
    color: var(--about-orange);
}

.about-principle-card h3 {
    position: relative;
    z-index: 2;
    margin: 13px 0 0;
    color: var(--about-navy);
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.25;
}

.about-principle-card > p {
    margin: 18px 0 0;
    color: var(--about-text);
    font-size: 0.84rem;
    line-height: 1.75;
}

.about-principle-footer {
    position: absolute;
    right: 32px;
    bottom: 30px;
    left: 32px;
    padding-top: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--about-border);
    color: var(--about-blue);
    font-size: 0.69rem;
    font-weight: 700;
}

.vision-card .about-principle-footer {
    color: var(--about-green);
}

.about-values-list {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.about-values-list > div {
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border-radius: 11px;
    background: #f8fafc;
}

.about-values-list > div > i {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--about-orange-light);
    color: var(--about-orange);
    font-size: 0.68rem;
}

.about-values-list span {
    display: flex;
    flex-direction: column;
}

.about-values-list strong {
    color: var(--about-navy);
    font-size: 0.7rem;
}

.about-values-list small {
    margin-top: 2px;
    color: var(--about-text);
    font-size: 0.6rem;
}


/* =====================================================
   DIFERENCIADORES
===================================================== */

.about-difference-section {
    padding: 105px 0;
    background: #ffffff;
}

.about-difference-wrapper {
    padding: 65px;
    border-radius: 30px;
    background:
        linear-gradient(
            135deg,
            #071827,
            #123b5e
        );
    box-shadow: 0 32px 75px rgba(16, 42, 67, 0.2);
}

.about-difference-heading {
    max-width: 700px;
}

.about-difference-heading .about-section-eyebrow {
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.08);
    color: #72aef7;
}

.about-difference-heading h2 {
    margin: 18px 0 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.about-difference-heading h2 span {
    color: #72aef7;
}

.about-difference-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.about-difference-grid article {
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
}

.about-difference-grid article > span {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(29, 111, 232, 0.18);
    color: #72aef7;
}

.about-difference-grid article:nth-child(2) > span {
    background: rgba(23, 166, 115, 0.18);
    color: #63d6ad;
}

.about-difference-grid article:nth-child(3) > span {
    background: rgba(247, 183, 49, 0.18);
    color: #f7c95a;
}

.about-difference-grid article:nth-child(4) > span {
    background: rgba(118, 86, 214, 0.2);
    color: #c1adff;
}

.about-difference-grid strong {
    display: block;
    margin-top: 16px;
    color: #ffffff;
    font-size: 0.78rem;
}

.about-difference-grid p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.67rem;
    line-height: 1.6;
}

.about-difference-cta {
    margin-top: 42px;
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-difference-cta div {
    display: flex;
    flex-direction: column;
}

.about-difference-cta small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.66rem;
}

.about-difference-cta strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 0.9rem;
}

.about-difference-cta a {
    min-height: 47px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 11px;
    background: var(--about-blue);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 800;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1199px) {
    .about-principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-card {
        grid-column: 1 / -1;
        min-height: auto;
    }

    .about-difference-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .about-hero-content {
        text-align: center;
    }

    .about-eyebrow {
        margin: 0 auto;
    }

    .about-hero-content h1,
    .about-hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .about-hero-actions,
    .about-hero-highlights {
        justify-content: center;
    }

    .about-hero-visual {
        max-width: 650px;
        margin: 20px auto 0;
    }

    .about-company-visual {
        max-width: 650px;
        margin: 0 auto;
    }

    .about-company-content {
        text-align: center;
    }

    .about-company-content .about-section-eyebrow {
        margin: 0 auto;
    }

    .about-company-pillars {
        text-align: left;
    }

    .about-difference-wrapper {
        padding: 50px 40px;
    }
}

@media (max-width: 767px) {
    .about-hero {
        padding: 65px 0;
    }

    .about-hero-visual {
        min-height: 420px;
    }

    .about-visual-background {
        right: 5%;
        width: 90%;
    }

    .about-floating-card {
        min-width: 160px;
    }

    .about-card-products {
        right: 20px;
    }

    .about-company-section,
    .about-principles-section,
    .about-difference-section {
        padding: 75px 0;
    }

    .about-principles-grid {
        grid-template-columns: 1fr;
    }

    .values-card {
        grid-column: auto;
    }

    .about-principle-card {
        min-height: auto;
    }

    .about-principle-footer {
        position: static;
        margin-top: 30px;
    }

    .about-difference-grid {
        grid-template-columns: 1fr;
    }

    .about-difference-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-primary-button,
    .about-secondary-button {
        width: 100%;
    }

    .about-hero-highlights {
        align-items: stretch;
        flex-direction: column;
        text-align: left;
    }

    .about-hero-visual {
        min-height: 350px;
    }

    .about-hero-main-image {
        max-width: 290px;
    }

    .about-floating-card {
        min-width: auto;
        max-width: 165px;
        padding: 8px;
    }

    .about-floating-card > span {
        width: 33px;
        height: 33px;
        flex-basis: 33px;
    }

    .about-floating-card small {
        display: none;
    }

    .about-floating-card strong {
        font-size: 0.58rem;
    }

    .about-card-business {
        left: 3px;
    }

    .about-card-school {
        right: 3px;
    }

    .about-card-products {
        right: 18px;
        bottom: 5px;
    }

    .about-company-visual {
        padding: 0 0 50px;
    }

    .about-company-image {
        height: 260px;
    }

    .about-company-card-footer {
        grid-template-columns: 1fr;
    }

    .about-company-card-footer > div {
        border-right: 0;
        border-bottom: 1px solid var(--about-border);
    }

    .about-company-card-footer > div:last-child {
        border-bottom: 0;
    }

    .about-company-badge {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .about-company-content h2,
    .about-principles-heading h2 {
        font-size: 2.25rem;
    }

    .about-principle-card {
        padding: 25px;
    }

    .about-difference-wrapper {
        padding: 38px 22px;
        border-radius: 23px;
    }

    .about-difference-heading h2 {
        font-size: 2.2rem;
    }
}