﻿/* =========================================================
   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 {
    background: var(--about-dark);
    padding: 60px 0;
}

.stats-motion-divider {
    position: relative;
    width: min(1150px, 90%);
    height: 2px;
    margin: -20px auto 36px;
    overflow: hidden;
    background: rgba(255, 255, 255, .14);
}

.stats-motion-divider::after {
    position: absolute;
    top: 0;
    left: -22%;
    width: 22%;
    height: 100%;
    background: var(--about-primary);
    box-shadow: 0 0 12px var(--about-primary);
    content: "";
    animation: statsDividerFlow 3s linear infinite;
}

@keyframes statsDividerFlow {
    to {
        left: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stats-motion-divider::after {
        left: 40%;
        animation: none;
    }
}

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

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    text-align: center;

    padding: 15px 25px;

    border-right: 1px solid rgba(255,255,255,.12);
}

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

.stat-number {
    display: block;

    color: var(--about-primary);

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

    font-size: 48px;
    font-weight: 700;

    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,.65);

    font-size: 14px;
}


/* =========================================================
   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: 25px;
    }

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

}


@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;
    }

    .stat {
        border-right: none;
    }

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

}


