/* Override section overflow for corner-plus visibility */
.about-hero,
.about-timeline,
.about-certifs,
.about-cta,
section:has(.about-numbers),
section:has(.about-pillars-grid),
section:has(.about-testimonial),
section:has(.about-masonry) {
    overflow: visible;
    overflow-x: clip;
}

/* ═══════════════════════════════════════
   ABOUT PAGE — HERO
   ═══════════════════════════════════════ */
.about-hero {
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--midnight);
}
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.about-hero-img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(124, 152, 179, 0.1);
}
.about-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-hero-content .section-title {
    margin-bottom: var(--space-md);
}
.about-hero-conviction {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--golden);
    line-height: 1.4;
    margin-bottom: var(--space-md);
}
.about-hero-sub {
    font-size: 0.95rem;
    color: var(--soft-blue);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}
.about-hero-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--golden);
    transition: gap 0.3s;
}
.about-hero-linkedin:hover {
    gap: 0.8rem;
}
.about-hero-linkedin svg {
    width: 16px;
    height: 16px;
    fill: var(--golden);
}

/* ═══════════════════════════════════════
   NUMBERS
   ═══════════════════════════════════════ */
.about-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
}
.about-number {
    position: relative;
    text-align: center;
    padding: 2rem 1rem;
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    overflow: visible;
}
.about-number:nth-child(even) {
    background: rgba(27, 73, 101, 0.08);
}
.about-number strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--golden);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.about-number span {
    font-size: 0.78rem;
    color: var(--soft-blue);
}

/* ═══════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════ */
.about-timeline {
    background: var(--midnight-light);
}
.about-timeline-list {
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    position: relative;
    padding-left: 2.5rem;
}
.about-timeline-list::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(124, 152, 179, 0.15);
}
.about-timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}
.about-timeline-item:last-child {
    padding-bottom: 0;
}
.about-timeline-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-timeline-item.visible {
    opacity: 1;
    transform: none;
}
.about-timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--midnight-light);
    border: 2px solid rgba(249, 220, 92, 0.2);
    z-index: 1;
    transition: border-color 0.6s, background 0.6s, box-shadow 0.6s;
}
.about-timeline-item.visible::before {
    border-color: rgba(249, 220, 92, 0.5);
}
.about-timeline-item.active::before {
    background: var(--golden);
    border-color: var(--golden);
    box-shadow: 0 0 12px rgba(249, 220, 92, 0.3);
}
.about-timeline-year {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--golden);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.about-timeline-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.about-timeline-item p {
    font-size: 0.88rem;
    color: var(--soft-blue);
    line-height: 1.65;
}

/* ═══════════════════════════════════════
   PILLARS
   ═══════════════════════════════════════ */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: var(--space-lg);
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
}
.about-pillar-card {
    position: relative;
    background: var(--midnight);
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    padding: 2.5rem 2rem;
    transition: background 0.3s;
    overflow: visible;
}
.about-pillar-card:nth-child(even) {
    background: rgba(27, 73, 101, 0.08);
}
.about-pillar-card:hover {
    background: rgba(27, 73, 101, 0.12);
}
.about-pillar-icon {
    margin-bottom: 1.25rem;
}
.about-pillar-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}
.about-pillar-card p {
    font-size: 0.88rem;
    color: var(--soft-blue);
    line-height: 1.65;
}

/* ═══════════════════════════════════════
   TESTIMONIAL (home style)
   ═══════════════════════════════════════ */
.about-testimonial-grid {
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
}
.about-testi-card {
    position: relative;
    background: rgba(27, 73, 101, 0.08);
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s;
    overflow: visible;
}
.about-testi-card:hover {
    background: rgba(27, 73, 101, 0.15);
}
.about-testi-quote {
    font-size: 0.9rem;
    color: var(--light-blue);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}
.about-testi-quote::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--golden);
    line-height: 0.5;
    display: block;
    margin-bottom: 0.75rem;
}
.about-testi-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.about-testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249, 220, 92, 0.2);
    flex-shrink: 0;
}
.about-testi-info { flex: 1; min-width: 0; }
.about-testi-author { font-size: 0.82rem; font-weight: 700; color: var(--off-white); }
.about-testi-role { font-size: 0.72rem; color: var(--soft-blue); margin-top: 0.15rem; }
.about-testi-linkedin {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(124, 152, 179, 0.2);
    transition: border-color 0.3s, background 0.3s;
}
.about-testi-linkedin:hover {
    border-color: rgba(249, 220, 92, 0.4);
    background: rgba(249, 220, 92, 0.08);
}
.about-testi-linkedin svg {
    width: 16px;
    height: 16px;
    fill: var(--soft-blue);
    transition: fill 0.3s;
}
.about-testi-linkedin:hover svg {
    fill: var(--golden);
}

/* ═══════════════════════════════════════
   CERTIFICATIONS
   ═══════════════════════════════════════ */
.about-certifs {
    background: var(--midnight-light);
}
.about-certifs-intro {
    font-size: 0.88rem;
    color: var(--soft-blue);
    text-align: center;
    margin-top: var(--space-sm);
}
.about-certifs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: var(--space-lg);
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
}
.about-certif-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--midnight);
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    transition: background 0.3s;
    overflow: visible;
}
.about-certif-item:nth-child(even) {
    background: rgba(27, 73, 101, 0.08);
}
.about-certif-item:hover {
    background: rgba(27, 73, 101, 0.12);
}
.about-certif-item img {
    height: 55px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 10px 14px;
}
.about-certif-label {
    font-size: 0.72rem;
    color: var(--soft-blue);
    line-height: 1.4;
}

/* ═══════════════════════════════════════
   PHOTOS MASONRY
   ═══════════════════════════════════════ */
.about-masonry {
    columns: 3;
    column-gap: 0;
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
}
.about-masonry-item {
    break-inside: avoid;
    position: relative;
    overflow: visible;
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
}
.about-masonry-item img {
    overflow: hidden;
}
.about-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ═══════════════════════════════════════
   CTA
   ═══════════════════════════════════════ */
.about-cta {
    text-align: center;
    padding: var(--space-xl) 0;
}
.about-cta .section-title {
    margin: 0 auto var(--space-md);
}
.about-cta .btn-sub {
    font-size: 0.82rem;
    color: var(--soft-blue);
    margin-top: 0.75rem;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .about-hero-img {
        max-height: 400px;
    }
    .about-numbers {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-masonry {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
    .about-certifs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-numbers {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-masonry {
        columns: 1;
    }
}
