/* About Us: mobile-first premium layout */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.about-us-page,
.about-us-page * {
    max-width: 100%;
    min-width: 0;
}

.about-us-page {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin-top: 1rem;
    overflow-x: hidden;
}

.about-hero,
.about-section,
.future-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.about-hero {
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid rgba(11, 94, 215, 0.16);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(219, 234, 254, 0.95), transparent 16rem),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.about-hero-copy {
    display: grid;
    gap: 0.8rem;
    justify-items: center;
}

.about-badge,
.section-kicker {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.36rem 0.7rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
}

.about-hero h1,
.about-section h2,
.future-section h2 {
    margin: 0;
    color: var(--secondary);
    line-height: 1.16;
    overflow-wrap: break-word;
    word-break: normal;
}

.about-hero h1 {
    width: 100%;
    font-size: clamp(1.55rem, 8vw, 2.25rem);
}

.about-hero p,
.section-copy p,
.info-card p,
.team-card p,
.future-section p,
.section-subtitle {
    margin: 0;
    color: var(--muted);
    overflow-wrap: break-word;
}

.about-hero p {
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hero-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 0.2rem;
}

.about-us-page .btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 0.95rem;
    border-radius: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.about-us-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.about-us-page .btn-primary {
    background: var(--primary);
    color: #fff;
}

.about-us-page .btn-primary:hover {
    background: var(--primary-dark);
}

.about-us-page .btn-secondary {
    border: 1px solid var(--primary);
    background: #fff;
    color: var(--primary);
}

.about-us-page .btn-secondary:hover {
    background: #eff6ff;
}

.about-hero-card,
.stat-card,
.info-card,
.team-card,
.future-section,
.about-section.story-section {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.about-hero-card {
    display: grid;
    gap: 0.55rem;
    justify-items: center;
    padding: 1rem;
}

.hero-card-icon,
.info-card i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f0ff, #fff7ed);
    color: var(--primary);
    font-size: 1.15rem;
}

.about-hero-card h2 {
    margin: 0;
    color: var(--secondary);
    font-size: 1.08rem;
    line-height: 1.25;
}

.about-hero-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.trust-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}

.stat-card {
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem 0.65rem;
    text-align: center;
}

.stat-card strong {
    color: var(--primary);
    font-size: 1.22rem;
    line-height: 1.2;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.about-section {
    padding: 0.1rem 0;
}

.story-section {
    padding: 1.1rem;
}

.section-grid,
.section-copy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.about-section h2,
.future-section h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
}

.center-heading,
.section-subtitle {
    text-align: center;
}

.section-subtitle {
    max-width: 680px;
    margin: 0 auto;
}

.card-grid,
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.mission-grid,
.choose-grid {
    margin-top: 0.2rem;
}

.info-card,
.team-card {
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
}

.info-card {
    text-align: left;
}

.info-card h3,
.team-card h3 {
    margin: 0;
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.25;
}

.info-card p,
.team-card p {
    font-size: 0.92rem;
    line-height: 1.55;
}

.team-section {
    gap: 0.75rem;
}

.team-card {
    text-align: center;
    justify-items: center;
}

.team-card img {
    width: 112px;
    height: 112px;
    border: 4px solid #e8f0ff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.team-card .role {
    color: var(--primary);
    font-weight: 800;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.future-section {
    padding: 1.15rem;
    text-align: center;
    justify-items: center;
    background:
        linear-gradient(135deg, rgba(11, 94, 215, 0.08), rgba(245, 158, 11, 0.08)),
        #fff;
}

:where(.about-us-page a, .about-us-page button):focus-visible {
    outline: 3px solid rgba(245, 158, 11, 0.55);
    outline-offset: 3px;
}

@media (min-width: 426px) {
    .about-us-page {
        gap: 1.7rem;
    }

    .about-hero,
    .story-section,
    .future-section {
        padding: 1.35rem;
    }
}

@media (min-width: 768px) {
    .about-us-page {
        gap: 2rem;
    }

    .hero-buttons {
        grid-template-columns: repeat(2, minmax(0, 160px));
        justify-content: center;
    }

    .trust-stats,
    .choose-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .mission-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-section {
        padding: 1.6rem;
    }
}

@media (min-width: 900px) {
    .about-us-page {
        gap: 2.5rem;
    }

    .about-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: center;
        gap: 2rem;
        padding: 2.4rem;
        text-align: left;
    }

    .about-hero-copy {
        justify-items: start;
    }

    .about-hero h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
        line-height: 1.05;
    }

    .about-hero p {
        font-size: 1.08rem;
    }

    .hero-buttons {
        justify-content: start;
    }

    .about-hero-card {
        padding: 1.5rem;
        text-align: center;
    }

    .section-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
        gap: 2rem;
    }

    .story-section,
    .future-section {
        padding: 2rem;
    }

    .mission-grid,
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1100px) {
    .about-us-page {
        gap: 3rem;
    }

    .about-hero {
        padding: 3rem;
        border-radius: 26px;
    }

    .about-section,
    .future-section {
        border-radius: 22px;
    }
}
