﻿/* =========================================================
   VARIABLES
========================================================= */

:root {
    --about-primary: var(--color-secundario);
    --about-primary-dark: color-mix(in srgb, var(--color-secundario) 85%, #000);
    --about-dark: #111820;
    --about-dark-2: #18232d;
    --about-text: #344454;
    --about-muted: #718096;
    --about-light: #f6f7f8;
    --about-white: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.about-hero {
    position: relative;
    min-height: 720px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 13, 18, .96) 0%,
            rgba(8, 13, 18, .88) 45%,
            rgba(8, 13, 18, .40) 100%
        );
}

.about-hero-container {
    position: relative;
    z-index: 2;

    width: min(1250px, 90%);
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}


/* =========================================================
   HERO TEXT
========================================================= */

.about-hero-content {
    max-width: 650px;
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--about-primary);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;

    border: 1px solid rgba(255, 107, 0, .4);
    border-radius: 30px;

    padding: 9px 17px;

    margin-bottom: 25px;
}

.about-label span {
    width: 7px;
    height: 7px;
    background: var(--about-primary);
    border-radius: 50%;
}

.about-hero h1 {
    color: white;
    font-family: "Jost", sans-serif;

    font-size: clamp(55px, 6vw, 82px);
    line-height: 1;

    margin: 0;
}

.about-hero h1 strong {
    color: var(--about-primary);
    font-weight: 700;
}

.about-line {
    width: 70px;
    height: 4px;

    background: var(--about-primary);

    margin: 28px 0;
}

.about-hero-content p {
    max-width: 610px;

    color: rgba(255,255,255,.72);

    font-size: 18px;
    line-height: 1.8;

    margin-bottom: 35px;
}


/* =========================================================
   BUTTON
========================================================= */

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 17px 28px;

    background: var(--about-primary);
    color: white;

    border-radius: 40px;

    font-weight: 700;
    text-decoration: none;

    transition: .3s ease;

    box-shadow: 0 12px 35px color-mix(in srgb, var(--color-secundario) 25%, transparent);
}

.about-btn i {
    font-size: 20px;
    transition: .3s ease;
}

.about-btn:hover {
    background: var(--about-primary-dark);
    color: white;
    transform: translateY(-3px);
}

.about-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.about-hero-visual {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;

    border: 1px dashed color-mix(in srgb, var(--color-secundario) 55%, transparent);

    border-radius: 50%;
}

.visual-circle-1 {
    width: 480px;
    height: 480px;
}

.visual-circle-2 {
    width: 360px;
    height: 360px;
}

.visual-image {
    position: relative;
    z-index: 2;

    width: 370px;
    height: 470px;

    border-radius: 190px 190px 25px 25px;

    overflow: hidden;

    border: 6px solid rgba(255,255,255,.9);

    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.visual-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.experience-badge {
    position: absolute;

    right: 20px;
    bottom: 50px;

    z-index: 5;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 18px 25px;

    background: var(--about-primary);

    color: white;

    border-radius: 8px;

    box-shadow: 0 15px 40px rgba(0,0,0,.3);
}

.experience-badge strong {
    font-size: 38px;
    line-height: 1;
}

.experience-badge span {
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
}


/* =========================================================
   ABOUT SECTION
========================================================= */

.about-section {
    padding: 110px 0;

    background: white;
}

.about-container {
    width: min(1150px, 90%);
    margin: auto;

    display: grid;
    grid-template-columns: 1.4fr .8fr;

    gap: 100px;
    align-items: center;
}

.section-tag {
    display: inline-block;

    color: var(--about-primary);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.about-content h2,
.mvv-heading h2 {
    color: var(--about-dark);

    font-family: "Jost", sans-serif;

    font-size: clamp(40px, 4vw, 58px);

    line-height: 1.1;

    margin: 0;
}

.about-content h2 span,
.mvv-heading h2 span,
.about-cta h2 span {
    color: var(--about-primary);
}

.section-decoration {
    width: 60px;
    height: 4px;

    background: var(--about-primary);

    margin: 25px 0;
}

.about-description {
    color: var(--about-text);

    font-size: 17px;
    line-height: 1.9;
}

.about-description p {
    margin-bottom: 15px;
}


/* =========================================================
   SIDE CARDS
========================================================= */

.about-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-side-card {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 23px;

    background: var(--about-light);

    border-left: 4px solid var(--about-primary);

    border-radius: 5px;

    transition: .3s ease;
}

.about-side-card:hover {
    transform: translateX(7px);
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
}

.about-side-card i {
    font-size: 30px;
    color: var(--about-primary);
}

.about-side-card strong {
    display: block;

    color: var(--about-dark);

    font-size: 17px;

    margin-bottom: 4px;
}

.about-side-card span {
    color: var(--about-muted);
    font-size: 14px;
}


/* =========================================================
   STATS
========================================================= */

.about-stats {
    margin-bottom: 80px;
    padding: 0;
    background: transparent;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1032px, calc(100% - 40px));
    min-height: 112px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #dde7ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 28, 43, .10);
}

.stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    text-align: left;
    border-right: 1px solid #e5edf3;
}

.stat:last-child {
    border-right: none;
}

.stat-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-secundario, #1a9fd9) 12%, #fff);
    color: var(--color-secundario, #1a9fd9);
    font-size: 21px;
    line-height: 1;
}

.stat-icon i {
    font-size: inherit;
    line-height: 1;
}

.stat-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.stat-number {
    display: block;
    color: #0f1c2b;
    font-family: "Plus Jakarta Sans", "Jost", sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 4px;
}

.stat-label {
    color: #546679;
    font-family: "Plus Jakarta Sans", "Jost", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}


/* =========================================================
   MVV
========================================================= */

.mvv-section {
    padding: 110px 0;

    background: var(--about-light);
}

.mvv-container {
    width: min(1150px, 90%);
    margin: auto;
}

.mvv-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.mvv-heading p {
    color: var(--about-muted);

    font-size: 16px;
    line-height: 1.8;

    margin-top: 20px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.mvv-card {
    position: relative;

    background: white;

    padding: 45px 35px;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 15px 45px rgba(20,30,40,.07);

    transition: .35s ease;
}

.mvv-card::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background: var(--about-primary);

    transform: scaleX(0);
    transform-origin: left;

    transition: .35s ease;
}

.mvv-card:hover {
    transform: translateY(-8px);
}

.mvv-card:hover::after {
    transform: scaleX(1);
}

.mvv-number {
    position: absolute;

    right: 25px;
    top: 20px;

    color: color-mix(in srgb, var(--color-secundario) 12%, transparent);

    font-size: 65px;
    font-weight: 800;
}

.mvv-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: color-mix(in srgb, var(--color-secundario) 10%, transparent);

    color: var(--about-primary);

    border-radius: 50%;

    font-size: 27px;

    margin-bottom: 25px;
}

.mvv-card h3 {
    color: var(--about-dark);

    font-size: 25px;

    margin-bottom: 15px;
}

.mvv-card p {
    color: var(--about-muted);

    line-height: 1.8;

    font-size: 15px;
}


/* =========================================================
   CTA
========================================================= */

.about-cta {
    position: relative;

    padding: 100px 20px;

    text-align: center;
}

.about-cta-content {
    position: relative;
    z-index: 2;

    max-width: 750px;
    margin: auto;
}

.about-cta h2 {
    color: white;

    font-family: "Jost", sans-serif;

    font-size: clamp(38px, 5vw, 60px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.about-cta p {
    color: rgba(255,255,255,.7);

    font-size: 17px;

    margin-bottom: 30px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .about-hero {
        min-height: auto;
        padding: 100px 0;
    }

    .about-hero-container {
        grid-template-columns: 1fr;
    }

    .about-hero-visual {
        min-height: 480px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(-n + 2) {
        border-bottom: 1px solid #e5edf3;
    }
}


@media (max-width: 600px) {

    .about-hero h1 {
        font-size: 48px;
    }

    .about-hero-content p {
        font-size: 16px;
    }

    .about-hero-visual {
        min-height: 390px;
    }

    .visual-image {
        width: 270px;
        height: 350px;
    }

    .visual-circle-1 {
        width: 340px;
        height: 340px;
    }

    .visual-circle-2 {
        width: 270px;
        height: 270px;
    }

    .experience-badge {
        right: 0;
        bottom: 15px;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        width: calc(100% - 32px);
        gap: 0;
    }

    .about-stats {
        margin-bottom: 48px;
        padding: 0;
    }

    .stat {
        gap: 10px;
        padding: 14px 12px;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 18px;
    }

    .stat-number {
        font-size: 23px;
    }

    .stat-label {
        font-size: 11px;
    }
}

@media (max-width: 559px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat,
    .stat:nth-child(2),
    .stat:nth-child(-n + 2) {
        border-right: none;
        border-bottom: 1px solid #e5edf3;
    }

    .stat:last-child {
        border-bottom: none;
    }
}

/* Alternativa clara de la sección Quiénes somos */
.about-hero--editorial {
    min-height: 0;
    padding: 72px 0 64px;
    overflow: hidden;
    background: #fff;
}

.about-hero--editorial .about-editorial-container {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(1190px, 90%);
    min-height: 570px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(36px, 6vw, 82px);
    margin: 0 auto;
}

.about-hero--editorial .about-hero-overlay {
    display: none;
}

.about-editorial-content {
    max-width: 590px;
    color: #14191f;
}

.about-editorial-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    color: var(--color-secundario, #08b8df);
    font-size: 15px;
    font-weight: 700;
}

.about-editorial-label i {
    color: #183541;
    font-size: 24px;
}

.about-hero--editorial h1 {
    margin: 0 0 24px;
    color: #101114;
    font-family: "Jost", sans-serif;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.08;
}

.about-hero--editorial h1 strong {
    color: var(--color-secundario, #08b8df);
}

.about-editorial-description {
    max-width: 570px;
    margin: 0 0 26px;
    color: #303943;
    font-size: 17px;
    line-height: 1.8;
}

.about-editorial-tabs {
    display: flex;
    gap: 28px;
    margin: 0 0 14px;
    border-bottom: 2px solid #e8ebee;
}

.about-editorial-tab {
    position: relative;
    padding: 12px 10px 14px;
    color: #222a31;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.about-editorial-tab::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: var(--color-secundario, #08b8df);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.about-editorial-tab.is-active {
    color: var(--color-secundario, #08b8df);
}

.about-editorial-tab.is-active::after {
    transform: scaleX(1);
}

.about-editorial-tab:focus-visible,
.about-editorial-link:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--color-secundario, #08b8df) 45%, transparent);
    outline-offset: 3px;
}

.about-editorial-panel {
    min-height: 86px;
    margin-bottom: 18px;
    color: #78838d;
    font-size: 15px;
    line-height: 1.8;
}

.about-editorial-panel[hidden] {
    display: none;
}

.about-editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--color-secundario, #08b8df);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.about-editorial-link i {
    transition: transform .2s ease;
}

.about-editorial-link:hover {
    color: var(--color-secundario, #08b8df);
}

.about-editorial-link:hover i {
    transform: translateX(4px);
}

.about-editorial-visual {
    position: relative;
    display: flex;
    min-height: 650px;
    align-items: center;
    justify-content: center;
}

.about-editorial-ring {
    position: absolute;
    top: 5%;
    right: 2%;
    width: clamp(170px, 19vw, 250px);
    aspect-ratio: 1;
    /* border: 34px solid var(--color-secundario, #08b8df);
    border-radius: 50%; */
}

.about-editorial-orbit {
    position: absolute;
    right: 10%;
    bottom: 5%;
    width: min(82%, 470px);
    aspect-ratio: 1;
    /* border-radius: 50%;
    background: radial-gradient(circle at 45% 45%,
        color-mix(in srgb, var(--color-secundario, #08b8df) 88%, #fff),
        color-mix(in srgb, var(--color-secundario, #08b8df) 70%, #143fc4)); */
}

.about-editorial-image {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(100%, 560px);
    height: 600px;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
   /*  border-radius: 48% 48% 42% 42%; */
}

.about-editorial-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.about-editorial-experience {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 13%;
    display: grid;
    min-width: 150px;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 9px;
    padding: 12px 16px;
    color: #1b2b35;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(20, 42, 55, .18);
}

.about-editorial-experience i {
    grid-row: span 2;
    color: var(--color-secundario, #08b8df);
    font-size: 23px;
}

.about-editorial-experience strong {
    font-size: 19px;
    line-height: 1;
}

.about-editorial-experience span {
    color: #6f7a84;
    font-size: 10px;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .about-hero--editorial {
        padding: 58px 0;
    }

    .about-hero--editorial .about-editorial-container {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-editorial-content {
        max-width: 720px;
    }

    .about-editorial-visual {
        min-height: 550px;
    }

    .about-editorial-image {
        width: min(90%, 480px);
        height: 520px;
    }

    .about-editorial-orbit {
        right: 16%;
        width: min(60%, 390px);
    }

    .about-editorial-ring {
        right: 16%;
        width: 190px;
    }

    .about-editorial-experience {
        right: 14%;
    }
}

@media (max-width: 600px) {
    .about-hero--editorial {
        padding: 44px 0 36px;
    }

    .about-hero--editorial .about-editorial-container {
        width: calc(100% - 36px);
        gap: 20px;
    }

    .about-editorial-label {
        margin-bottom: 14px;
        font-size: 13px;
    }

    .about-hero--editorial h1 {
        margin-bottom: 16px;
        font-size: clamp(34px, 9vw, 44px);
    }

    .about-editorial-description {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.65;
    }

    .about-editorial-tabs {
        gap: 12px;
    }

    .about-editorial-tab {
        padding: 10px 8px 12px;
        font-size: 13px;
    }

    .about-editorial-panel {
        min-height: 0;
        margin-bottom: 15px;
        font-size: 14px;
        line-height: 1.65;
    }

    .about-editorial-visual {
        min-height: 460px;
    }

    .about-editorial-image {
        width: min(100%, 400px);
        height: 440px;
    }

    .about-editorial-ring {
        top: 0;
        right: 3%;
        width: 140px;
        border-width: 22px;
    }

    .about-editorial-orbit {
        right: 8%;
        bottom: 3%;
        width: 78%;
    }

    .about-editorial-experience {
        right: 0;
        bottom: 8%;
        min-width: 125px;
        padding: 9px 11px;
    }

    .about-editorial-experience i {
        font-size: 19px;
    }
}

html[data-theme="dark"] .about-hero--editorial {
    background: var(--theme-surface, #151a20);
}

html[data-theme="dark"] .about-hero--editorial h1,
html[data-theme="dark"] .about-editorial-label i,
html[data-theme="dark"] .about-editorial-tab {
    color: var(--theme-text, #f3f4f6);
}

html[data-theme="dark"] .about-editorial-description {
    color: var(--theme-text, #e5e7eb);
}

html[data-theme="dark"] .about-editorial-panel {
    color: var(--theme-muted, #a5aab3);
}

html[data-theme="dark"] .about-editorial-experience {
    color: var(--theme-text, #f3f4f6);
    background: var(--theme-surface-raised, #202731);
}

html[data-theme="dark"] .stats-container {
    border-color: #223548;
    background: #0b1520;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .stat,
html[data-theme="dark"] .stat:nth-child(-n + 2) {
    border-color: #223548;
}

html[data-theme="dark"] .stat-number {
    color: #fff;
}

html[data-theme="dark"] .stat-label {
    color: #9fb0c2;
}

html[data-theme="dark"] .stat-icon {
    background: color-mix(in srgb, var(--color-secundario, #1a9fd9) 18%, #0b1520);
}

