/* Explain: Updated layout styles for hero sections and image frames. */
.section-pad {
    padding: clamp(4.5rem, 8vw, 7rem) 1.25rem;
}

.hero-section {
    position: relative;
    min-height: 86vh;
    overflow: hidden;
    background: var(--black-color);
    color: var(--white-color);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.56;
    filter: saturate(0.92) contrast(1.05);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 11, 13, 0.9), rgba(11, 11, 13, 0.58), rgba(11, 11, 13, 0.25)),
        linear-gradient(180deg, rgba(11, 11, 13, 0.1), rgba(11, 11, 13, 0.86));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 86vh;
    align-items: center;
    padding: 8rem 1.25rem 5rem;
}

.stat-band {
    display: grid;
    gap: 1rem;
    border-top: 1px solid rgba(184, 135, 44, 0.28);
    border-bottom: 1px solid rgba(184, 135, 44, 0.28);
    background: rgba(11, 11, 13, 0.9);
    color: var(--white-color);
    padding: 1.2rem;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dark-section {
    background:
        radial-gradient(circle at 85% 15%, rgba(184, 135, 44, 0.18), transparent 28rem),
        var(--black-color);
    color: var(--white-color);
}

.cream-section {
    background: var(--cream-color);
}

.split-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
}

.map-frame {
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.map-frame iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
}

.gallery-tile {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    background: var(--surface-color);
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform 420ms ease;
}

.gallery-tile:hover img {
    transform: scale(1.05);
}

.gallery-tile figcaption {
    position: absolute;
    inset-inline: 1rem;
    bottom: 1rem;
    border-radius: 18px;
    background: rgba(11, 11, 13, 0.78);
    padding: 0.85rem 1rem;
    color: var(--white-color);
    backdrop-filter: blur(14px);
    pointer-events: none;
}

.gallery-lightbox-trigger {
    display: block;
    width: 100%;
    min-height: 280px;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.gallery-lightbox-trigger:focus-visible {
    outline: 3px solid var(--gold-color);
    outline-offset: -5px;
}

.policy-card {
    padding: clamp(1.25rem, 4vw, 3rem);
}

@media (min-width: 768px) {
    .section-pad {
        padding-inline: 2rem;
    }

    .stat-band {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding-inline: 2rem;
    }
}