.gallery-page {
    background: #ffffff;
    color: #0f172a;
    overflow: hidden;
}

/* HERO */

.gallery-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background: #0f172a;
    overflow: hidden;
}

.gallery-hero-bg,
.gallery-hero-overlay {
    position: absolute;
    inset: 0;
}

.gallery-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .46;
}

.gallery-hero-overlay {
    background:
        radial-gradient(circle at 82% 20%, rgba(220, 38, 38, .24), transparent 32%),
        linear-gradient(90deg, rgba(15, 23, 42, .97), rgba(15, 23, 42, .78), rgba(15, 23, 42, .36));
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
    padding: 90px 0;
}

.gallery-breadcrumb {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.72);
    margin-bottom: 22px;
    font-size: 14px;
}

.gallery-breadcrumb a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}

.gallery-breadcrumb strong {
    color: #ffffff;
}

.gallery-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 900;
}

.gallery-hero p {
    max-width: 720px;
    margin-top: 22px;
    color: rgba(255,255,255,.8);
    font-size: 18px;
    line-height: 1.8;
}

.gallery-hero-stats {
    display: grid;
    gap: 14px;
}

.gallery-hero-stats div {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 105px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(16px);
}

.gallery-hero-stats i {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.14);
    color: #60a5fa;
    font-size: 28px;
}

.gallery-hero-stats strong {
    display: block;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
}

.gallery-hero-stats span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.72);
    font-weight: 800;
}

/* CONTENT */

.gallery-content {
    padding: 85px 0;
    background: #ffffff;
}

.gallery-toolbar {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 18px;
    align-items: start;
    margin-bottom: 34px;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-filter {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    cursor: pointer;
    transition: .25s ease;
}

.gallery-filter i {
    font-size: 18px;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 14px 32px rgba(37, 99, 235, .22);
}

.gallery-search {
    position: relative;
}

.gallery-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 20px;
}

.gallery-search input {
    width: 100%;
    height: 50px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    padding: 0 16px 0 46px;
    color: #0f172a;
    font-weight: 800;
    outline: none;
    background: #ffffff;
}

.gallery-search input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .08);
}

/* GRID */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-album-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 65px rgba(15, 23, 42, .06);
    transition: .25s ease;
}

.gallery-album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 90px rgba(15, 23, 42, .11);
}

.gallery-album-card.is-hidden {
    display: none;
}

.gallery-album-image {
    position: relative;
    height: 255px;
    background: #e2e8f0;
    overflow: hidden;
}

.gallery-album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.gallery-album-card:hover .gallery-album-image img {
    transform: scale(1.07);
}

.gallery-photo-count {
    position: absolute;
    left: 18px;
    bottom: 18px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 14px 35px rgba(15,23,42,.16);
}

.gallery-album-body {
    padding: 24px;
}

.gallery-album-category {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.gallery-album-body h3 {
    margin: 0;
    color: #0f172a;
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -.5px;
    font-weight: 900;
}

.gallery-album-body p {
    margin-top: 12px;
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

.gallery-album-footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-top: 22px;
}

.gallery-album-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.gallery-album-footer span i {
    color: #1d4ed8;
}

.gallery-album-footer a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.gallery-album-footer a i {
    transition: .25s ease;
}

.gallery-album-footer a:hover i {
    transform: translateX(4px);
}

/* EMPTY */

.gallery-empty,
.gallery-no-result {
    text-align: center;
    padding: 70px 30px;
    border-radius: 30px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.gallery-empty i,
.gallery-no-result i {
    font-size: 56px;
    color: #1d4ed8;
}

.gallery-empty h3,
.gallery-no-result h3 {
    margin: 18px 0 8px;
    color: #0f172a;
    font-size: 26px;
}

.gallery-empty p,
.gallery-no-result p {
    color: #64748b;
    line-height: 1.7;
}

.gallery-no-result {
    display: none;
    margin-top: 24px;
}

.gallery-no-result.is-visible {
    display: block;
}

/* CTA */

.gallery-cta {
    padding: 0 0 85px;
    background: #ffffff;
}

.gallery-cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 42px;
    border-radius: 34px;
    background: linear-gradient(135deg, #1d4ed8, #0f172a);
    color: #ffffff;
    box-shadow: 0 35px 90px rgba(15, 23, 42, .15);
}

.gallery-cta-card > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.gallery-cta-card > div > i {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(255,255,255,.14);
    font-size: 32px;
}

.gallery-cta-card h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.gallery-cta-card p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
}

.gallery-cta-card a {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    background: #ffffff;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

/* ANIMATIONS */

.gallery-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.gallery-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .gallery-hero-content {
        grid-template-columns: 1fr;
    }

    .gallery-hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-toolbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .gallery-hero-stats,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-cta-card,
    .gallery-cta-card > div {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .gallery-hero {
        min-height: auto;
    }

    .gallery-hero-content {
        padding: 65px 0;
    }

    .gallery-hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .gallery-content {
        padding: 60px 0;
    }

    .gallery-album-card,
    .gallery-cta-card,
    .gallery-empty,
    .gallery-no-result {
        border-radius: 24px;
    }

    .gallery-album-image {
        height: 230px;
    }

    .gallery-album-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-cta-card {
        padding: 28px;
    }
}