.gallery-hero {
    padding: 90px 0 70px;
    background:
        radial-gradient(circle at 85% 15%, rgba(239,166,44,0.2), transparent 28%),
        linear-gradient(135deg, #062b43, #0d496a);
    color: #ffffff;
}

.gallery-hero h1 {
    max-width: 760px;
    margin: 12px 0 12px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1;
}

.gallery-hero p {
    max-width: 520px;
    color: rgba(255,255,255,0.76);
    font-size: 17px;
}

.gallery-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.gallery-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    color: #ffffff;
    font-size: 13px;
    transition: 0.3s ease;
}

.gallery-nav a:hover {
    border-color: #efa62c;
    background: #efa62c;
    color: #092f48;
}

.gallery-section {
    padding: 85px 0;
    background: #ffffff;
}

.gallery-section-dark {
    background: #f1f5f7;
}

.gallery-heading {
    margin-bottom: 32px;
}

.gallery-heading h2 {
    margin-top: 8px;
    color: #092f48;
    font-size: clamp(30px, 4vw, 42px);
}

.photo-grid,
.website-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.photo-card {
    overflow: hidden;
    border: 1px solid #e3e9ed;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(9,47,72,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(9,47,72,0.14);
}

.photo-frame {
    display: grid;
    min-height: 260px;
    place-items: center;
    background: linear-gradient(135deg, #092f48, #0d496a);
}

.photo-frame img,
.photo-fallback {
    grid-area: 1 / 1;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.photo-fallback {
    display: grid;
    place-items: center;
    color: #efa62c;
    font-size: 54px;
}

.photo-card-content {
    padding: 20px 22px 23px;
}

.photo-card-content span,
.video-gallery-card span,
.website-gallery-card div > span {
    color: #efa62c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.photo-card-content h3,
.video-gallery-card h3,
.website-gallery-card h3 {
    margin-top: 7px;
    color: #092f48;
    font-size: 20px;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-gallery-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    padding: 24px;
    border-radius: 8px;
    background: #092f48;
    color: #ffffff;
}

.video-gallery-card video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 5px;
    background: #000000;
}

.video-gallery-card h3 {
    color: #ffffff;
}

.video-gallery-card p,
.website-gallery-card p {
    margin-top: 10px;
    color: #71828b;
    font-size: 14px;
}

.video-gallery-card p {
    color: rgba(255,255,255,0.68);
}

.website-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
}

.website-gallery-card {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border: 1px solid #e3e9ed;
    border-radius: 8px;
    color: #092f48;
    transition: 0.3s ease;
}

.website-gallery-card:hover {
    border-color: #efa62c;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(9,47,72,0.1);
}

.website-gallery-number {
    color: #efa62c;
    font-size: 12px;
    font-weight: 700;
}

.website-gallery-card > i:not(.website-gallery-arrow) {
    font-size: 25px;
}

.website-gallery-arrow {
    font-size: 14px;
}

@media (max-width: 760px) {
    .gallery-hero {
        padding: 65px 0 55px;
    }

    .gallery-section {
        padding: 60px 0;
    }

    .photo-grid,
    .website-gallery-grid,
    .video-gallery-grid {
        grid-template-columns: 1fr;
    }

    .website-gallery-card {
        grid-template-columns: auto auto 1fr auto;
    }
}

@media (max-width: 480px) {
    .website-gallery-card {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        padding: 18px;
    }

    .website-gallery-card > i:not(.website-gallery-arrow) {
        display: none;
    }
}
