/* ----- Hero ----- */
.about-hero {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, #005570 30%, #0D8C8C 100%);
    padding: 10rem 10vw 3rem;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.about-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.about-hero h1 span {
    color: var(--teal);
}

.about-hero p {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, .7);
    line-height: 1.75;
    max-width: 520px;
}

/* ----- Story ----- */
.story-section {
    padding: 3rem 5vw;
    background: var(--cream);
}

.section-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--teal-dark);
    border-radius: 2px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.story-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 1.1rem;
}

.story-text h2 em {
    color: var(--teal);
    font-style: normal;
}

.story-text p {
    font-size: 1rem;
    color: var(--ocean-deep-light);
    line-height: 1.8;
    margin-bottom: 1.1rem;
    max-width: 440px;
}

/* Stats row */
.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(66, 90, 97, .25);
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--teal-dark);
    display: block;
}

.stat-label {
    font-size: .78rem;
    color: var(--ocean-deep-light);
    letter-spacing: .05em;
    margin-top: .15rem;
}

/* Story image side */
.story-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.story-img {
    border-radius: 16px;
    overflow: hidden;
    background: var(--ocean-deep);
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.story-img:hover img {
    transform: scale(1.04);
}

.story-img.tall {
    grid-row: span 2;
    min-height: 320px;
}

.story-img.short {
    min-height: 150px;
}

/* ----- Values ----- */
.values-section {
    padding: 6rem 5vw;
    background: var(--ocean-deep);
}

.values-section .section-label {
    justify-content: center;
    color: var(--teal);
}

.values-section .section-label::before,
.values-section .section-label::after {
    content: '';
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--teal);
}

.values-section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.value-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    transition: transform .25s, box-shadow .25s;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(14, 138, 142, .12);
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.value-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: .5rem;
}

.value-card p {
    font-size: .9rem;
    color: var(--ocean-deep-light);
    line-height: 1.75;
}

/* ----- Team ----- */
.team-section {
    padding: 6rem 5vw;
    background: linear-gradient(to bottom, var(--cream) 0%, var(--cream-dark) 100%);
}

.team-section > .section-label {
    justify-content: center;
    color: var(--teal-dark);
    margin-bottom: 2rem;
}

.team-section .section-label::before,
.team-section .section-label::after {
    content: '';
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--teal-dark);
}

.team-section > h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--ocean-deep);
    margin-bottom: 5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--ocean-deep);
    overflow: hidden;
    border: 4px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: .25rem;
}

.team-card span {
    font-size: .8rem;
    color: var(--teal-dark);
    font-weight: 600;
}

/* ----- Gallery ----- */
.gallery-section {
    padding: 6rem 5vw;
    background: var(--cream-dark);
}

.gallery-section .section-label {
    justify-content: center;
    color: var(--teal-dark);
    margin-bottom: 2rem;
}

.gallery-section .section-label::before,
.gallery-section .section-label::after {
    content: '';
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--teal-dark);
}

.gallery-section > h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--ocean-deep);
    margin-bottom: 1rem;
}

.gallery-section > p {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ocean-deep-light);
margin-bottom: 3rem;
}

/* Filter tabs */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: .7rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: .5rem 1.2rem;
    border-radius: 50px;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--teal-dark);
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: .75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 107, 110, .6);
    opacity: 0;
    transition: opacity .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay img {
    height: 5rem;
    width: 5rem;
    object-fit: cover;
}

/* Span classes */
.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

/* Gallery load more */
.gallery-more {
    text-align: center;
    margin-top: 2.25rem;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: .8rem 1.8rem;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .03em;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 6px 24px rgba(13, 179, 179, .35);
    cursor: pointer
}

.btn-primary:hover {
    background: var(--ocean-deep);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(13, 179, 179, .45);
}

/* ----- Light box ----- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, .88);
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 85vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, .22);
}

/* ----- Hidden items -----*/
.gallery-item.hidden {
    display: none;
}


/* ----- Responsive ----- */
@media (max-width: 768px) {
    /* --- Hero --- */
    .about-hero {
        padding: 130px 5vw 3rem;
        text-align: center;
    }

    .about-hero p {
        max-width: 100%;
        margin: 0 auto;
    }

    /* --- Story --- */
    .story-section {
        padding: 4rem 5vw;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .section-label {
        justify-content: center;
    }

    .story-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-row {
        justify-content: center;
    }

    .story-img.tall {
        min-height: 220px;
    }

    .story-img.short {
        min-height: 120px;
    }

    /* --- Values --- */
    .values-section {
        padding: 4rem 5vw;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* --- Team --- */
    .team-section {
        padding: 4rem 5vw;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* --- Gallery --- */
    .gallery-section {
        padding: 4rem 5vw;
    }

    .gallery-section > p {
        max-width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    /* --- Hero --- */
    .about-hero {
        padding: 100px 5vw 2.5rem;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: .9rem;
    }

    /* --- Story --- */
    .story-section {
        padding: 3rem 5vw;
    }

    .story-text h2 {
        font-size: 1.6rem;
    }

    .stats-row {
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .story-visuals {
        grid-template-columns: 1fr;
    }

    .story-img.tall {
        grid-row: auto;
        min-height: 200px;
    }

    .story-img.short {
        min-height: 160px;
    }

    /* --- Values --- */
    .values-section {
        padding: 3rem 5vw;
    }

    .values-section h2 {
        font-size: 1.4rem;
    }

    .value-card {
        padding: 1.5rem 1.25rem;
    }

    /* --- Team --- */
    .team-section {
        padding: 3rem 5vw;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    /* --- Gallery --- */
    .gallery-section {
        padding: 3rem 5vw;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .filter-btn {
        font-size: .78rem;
        padding: .4rem .9rem;
    }
}