/* ==============================
   PAGE ABOUT – MEXI STYLE
   File: assets/css/page-about.css
============================== */

.about-page {
    --mexi-green: #0f6b5c;
    --mexi-green-2: #1f7a63;
    --mexi-yellow: #f2c14e;
    --text: #111;
    --muted: #555;
    --bg: #ffffff;
    --soft: #f6f7f8;
    --card: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --radius: 16px;

    color: var(--text);
    background: var(--bg);
}

.about-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* ===== HERO ===== */
.about-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
}

.about-hero__bg {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: grid;
    align-items: center;
    background: #0b5a4d;
}

.about-hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(15, 107, 92, .92) 0%,
            rgba(15, 107, 92, .70) 40%,
            rgba(15, 107, 92, .20) 70%,
            rgba(15, 107, 92, .05) 100%);
    z-index: 1;
}

.about-hero__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .95;
}

.about-hero__content {
    position: relative;
    z-index: 2;
    padding: 56px 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-hero__content h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.15;
    font-weight: 900;
    color: #fff;
    letter-spacing: .2px;
}

.about-hero__content p {
    margin: 0 0 18px;
    max-width: 720px;
    color: rgba(255, 255, 255, .92);
    font-size: 16px;
    line-height: 1.65;
}

.about-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--mexi-yellow);
    color: #111;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.about-hero__cta:hover {
    filter: brightness(.98);
}

/* ===== SECTION ===== */
.about-section {
    padding: 56px 0;
}

.about-section.bg-light {
    background: var(--soft);
}

.about-section h2 {
    margin: 0 0 16px;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 900;
    color: var(--mexi-green);
}

.about-section p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.75;
    font-size: 15.5px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: center;
}

.about-grid.reverse {
    grid-template-columns: .85fr 1.15fr;
}

.about-image {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}

/* ===== VALUES ===== */
.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.value-item {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 18px 16px;
    border: 1px solid rgba(0, 0, 0, .06);
}

.value-item h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
    color: #0b5a4d;
}

.value-item ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.75;
}

/* ===== COMMIT LIST ===== */
.about-commit {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.about-commit li {
    position: relative;
    padding-left: 28px;
    margin: 10px 0;
    color: var(--muted);
    line-height: 1.6;
}

.about-commit li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 107, 92, .12);
    color: var(--mexi-green);
    font-weight: 900;
}

/* ===== REASONS ===== */
.about-reasons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.reason-item {
    background: #fff;
    border-radius: 14px;
    padding: 14px 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, .06);
    text-align: center;
    font-weight: 800;
    color: #123;
}

/* ===== COUNTERS ===== */
.about-counters {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.counter {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 14px 12px;
    border: 1px solid rgba(0, 0, 0, .06);
    text-align: center;
}

.counter__num {
    font-size: 26px;
    font-weight: 900;
    color: var(--mexi-green);
    line-height: 1.1;
}

.counter__label {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
}

/* ===== CONTACT ===== */
.about-contact .contact-list {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    border: 1px solid rgba(0, 0, 0, .06);
}

.about-contact .contact-list p {
    margin: 10px 0;
    color: #234;
}

.about-contact .contact-list strong {
    color: var(--mexi-green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-hero__bg {
        min-height: 460px;
    }

    .about-grid,
    .about-grid.reverse {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .about-reasons {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-counters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .about-hero__content {
        padding: 40px 0;
    }

    .about-section {
        padding: 44px 0;
    }

    .about-reasons {
        grid-template-columns: 1fr;
    }

    .about-counters {
        grid-template-columns: 1fr;
    }
}

/* ===== FIX TEXT COLOR FOR ABOUT INTRO (NỀN TRẮNG) ===== */
.about-page .page-title,
.about-page h1 {
    color: #0f6b5c;
    /* xanh chủ đạo MEXI */
}

.about-page .page-desc,
.about-page .page-intro,
.about-page p {
    color: #444;
    /* xám đậm dễ đọc */
}

/* ===============================
   ABOUT PAGE – LAYOUT CHUẨN MEXI
=============================== */

.about-page {
    background: #fff;
    padding: 60px 0;
}

/* Wrapper */
.about-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== HERO ===== */
.about-page h1 {
    font-size: 42px;
    font-weight: 900;
    color: #0f6b5c;
    margin-bottom: 16px;
}

.about-page h1+p {
    font-size: 17px;
    color: #555;
    max-width: 720px;
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ===== SECTION ===== */
.about-page h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f6b5c;
    margin-bottom: 16px;
}

.about-page h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #f2c14e;
    margin-top: 8px;
    border-radius: 4px;
}

.about-page p {
    font-size: 16px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 16px;
}

/* ===== 2 COLUMN LAYOUT ===== */
.about-two-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin: 60px 0;
}

/* Image */
.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

/* ===== LIST ===== */
.about-page ul {
    padding-left: 20px;
}

.about-page ul li {
    margin-bottom: 10px;
    position: relative;
}

/* ===== COUNTER ===== */
.about-counter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: #f7f9f8;
    padding: 40px;
    border-radius: 20px;
    margin: 60px 0;
    text-align: center;
}

.about-counter strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: #0f6b5c;
}

.about-counter span {
    font-size: 14px;
    color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-two-col {
        grid-template-columns: 1fr;
    }

    .about-counter {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-page h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .about-counter {
        grid-template-columns: 1fr;
    }
}

/* ===== ABOUT IMAGE SLIDER ===== */
.about-image {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.about-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}

.about-slide {
    display: none;
}

.about-slide.active {
    display: block;
}

.about-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
    .about-image {
        max-width: 100%;
        margin-top: 24px;
    }
}