/* ============================================================
   CHI SIAMO — Partenope Duel Format
   Unified single-page design
   ============================================================ */

.about-page {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 0;
}

/* --- Shared Tag ------------------------------------------ */
.ab-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 100px;
    background: rgba(232, 96, 90, .08);
    border: 1px solid rgba(232, 96, 90, .15);
    color: var(--coral);
    font-family: var(--font-display);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* --- Section Header (reusable) --------------------------- */
.ab-section-header {
    text-align: center;
    margin: 80px 0 36px;
}
.ab-section-header h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-top: 6px;
}
.ab-section-header p {
    font-size: .88rem;
    color: var(--text-muted);
    margin-top: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero ------------------------------------------------ */
.ab-hero {
    text-align: center;
    margin-bottom: 60px;
}
.ab-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--text-primary);
    margin-top: 8px;
}
.ab-hero__subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* --- Mission --------------------------------------------- */
.ab-mission {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}
.ab-mission__text h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--coral);
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.ab-mission__text p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}
.ab-mission__text p:last-child { margin-bottom: 0; }
.ab-mission__text strong { color: var(--text-primary); }
.ab-mission__logo {
    width: 200px;
    flex-shrink: 0;
}
.ab-mission__logo img {
    width: 100%;
    filter: drop-shadow(0 0 30px var(--coral-glow));
    transition: transform .4s ease, filter .4s ease;
}
.ab-mission__logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(232, 96, 90, .5));
}

/* --- Values ---------------------------------------------- */
.ab-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.ab-value {
    padding: 28px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: border-color var(--transition), transform .2s ease;
}
.ab-value:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}
.ab-value__icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 14px;
    border-radius: var(--radius-md);
    background: rgba(232, 96, 90, .08);
    color: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}
.ab-value h3 {
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.ab-value p {
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- IML ------------------------------------------------- */
.ab-iml {
    padding: 36px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
}
.ab-iml__badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    background: rgba(232, 96, 90, .1);
    border: 1px solid rgba(232, 96, 90, .2);
    color: var(--coral);
    font-family: var(--font-display);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.ab-iml h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.ab-iml > p {
    font-size: .86rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}
.ab-iml > p strong { color: var(--text-primary); }

.ab-iml__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ab-iml__stat {
    text-align: center;
}
.ab-iml__stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--coral);
}
.ab-iml__stat-lbl {
    font-size: .68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.ab-iml__ranks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}
.ab-rank {
    padding: 4px 13px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .5px;
}
.ab-rank--bronze  { background: rgba(205, 127, 50, .1);  color: #cd7f32; }
.ab-rank--silver  { background: rgba(192, 192, 192, .08); color: #c0c0c0; }
.ab-rank--gold    { background: rgba(255, 215, 0, .08);   color: #ffd700; }
.ab-rank--platinum { background: rgba(100, 200, 220, .08); color: #64c8dc; }
.ab-rank--diamond { background: rgba(120, 160, 255, .1);  color: #78a0ff; }
.ab-rank--master  { background: rgba(200, 80, 255, .1);   color: #c850ff; }

.ab-iml__links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Timeline -------------------------------------------- */
.ab-timeline {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}
.ab-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--coral), var(--border));
    border-radius: 2px;
}
.ab-timeline__item {
    position: relative;
    padding-bottom: 32px;
}
.ab-timeline__item:last-child { padding-bottom: 0; }
.ab-timeline__dot {
    position: absolute;
    left: -34px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--coral);
}
.ab-timeline__dot--active {
    background: var(--coral);
    box-shadow: 0 0 12px var(--coral-glow);
}
.ab-timeline__card {
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition);
}
.ab-timeline__card:hover { border-color: var(--border-hover); }
.ab-timeline__date {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 100px;
    background: rgba(232, 96, 90, .08);
    color: var(--coral);
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.ab-timeline__card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.ab-timeline__card p {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- CTA ------------------------------------------------- */
.ab-cta {
    text-align: center;
    padding: 60px 0 80px;
    margin-top: 60px;
}
.ab-cta h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.ab-cta p {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.ab-cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Responsive ------------------------------------------ */
@media (max-width: 768px) {
    .about-page { padding: 90px 0 0; }
    .ab-hero__title { letter-spacing: 2px; }
    .ab-hero { margin-bottom: 40px; }

    .ab-mission {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 22px;
        text-align: center;
    }
    .ab-mission__logo {
        width: 140px;
        margin: 0 auto;
        order: -1;
    }
    .ab-mission__text h2 { font-size: 1rem; }
    .ab-mission__text p { font-size: .82rem; }

    .ab-section-header { margin: 50px 0 24px; }
    .ab-section-header h2 { font-size: 1.2rem; }

    .ab-values { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ab-value { padding: 20px 16px; }
    .ab-value__icon { width: 38px; height: 38px; font-size: .9rem; }
    .ab-value h3 { font-size: .75rem; }
    .ab-value p { font-size: .72rem; }

    .ab-iml { padding: 24px 20px; }
    .ab-iml h3 { font-size: .95rem; }
    .ab-iml > p { font-size: .8rem; }
    .ab-iml__grid { grid-template-columns: repeat(2, 1fr); }
    .ab-iml__stat-val { font-size: 1.2rem; }
    .ab-iml__links { flex-direction: column; }
    .ab-iml__links .btn { width: 100%; justify-content: center; }

    .ab-timeline { padding-left: 32px; }
    .ab-timeline__dot { left: -26px; width: 10px; height: 10px; }
    .ab-timeline__card { padding: 18px 20px; }
    .ab-timeline__card h3 { font-size: .88rem; }
    .ab-timeline__card p { font-size: .78rem; }

    .ab-cta h2 { font-size: 1.2rem; }
    .ab-cta { padding: 40px 0 60px; margin-top: 40px; }
    .ab-cta__actions { flex-direction: column; align-items: center; }
    .ab-cta__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .about-page { padding: 80px 0 0; }
    .ab-hero__title { font-size: 1.8rem; }
    .ab-mission { padding: 22px 16px; gap: 20px; }
    .ab-mission__logo { width: 110px; }
    .ab-values { grid-template-columns: 1fr; }
    .ab-iml__grid { gap: 8px; }
    .ab-iml__ranks { gap: 4px; }
    .ab-rank { font-size: .6rem; padding: 3px 10px; }
    .ab-timeline { padding-left: 28px; }
    .ab-timeline__dot { left: -22px; width: 8px; height: 8px; }
    .ab-timeline__item { padding-bottom: 20px; }
}
