/* Explain: Styles for page sections like hero, video player, and service cards. */
.hero-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.hero-frame-large {
    height: min(72vh, 660px);
    min-height: 420px;
}

.hero-frame::after {
    position: absolute;
    inset: 0.9rem;
    border: 1px solid rgba(21, 94, 59, 0.35);
    border-radius: 1rem;
    content: "";
    pointer-events: none;
}

.stat-card {
    border: 1px solid var(--border-color);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 1.35rem 1.2rem;
}

.video-player {
    overflow: hidden;
    border-radius: 1.6rem;
}

.video-main {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    object-fit: cover;
}

.clip-card {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.55);
    padding: 0.75rem;
    text-align: start;
    transition: border-color 300ms ease, background 300ms ease;
}

.clip-card:hover,
.clip-card.is-active {
    border-color: var(--gold);
    background: var(--gold-soft);
}

.clip-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 3.6rem;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 0.75rem;
}

.clip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 12, 14, 0.35);
    color: var(--gold);
    font-size: 1.1rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    padding: 2rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(253, 248, 240, 0.85));
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, border-color 300ms ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.service-icon {
    display: inline-flex;
    height: 3.2rem;
    width: 3.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--gold-soft), var(--purple-soft));
    color: var(--gold-deep);
    font-size: 1.35rem;
}

.service-media {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 1.2rem;
    border: 1px solid var(--glass-border);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-bubble {
    display: flex;
    gap: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 1.4rem;
    background: linear-gradient(160deg, rgba(184, 115, 51, 0.07), rgba(27, 167, 155, 0.06));
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
}

.bubble-avatar {
    display: inline-flex;
    flex: 0 0 auto;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--copper), var(--copper-deep));
    color: #FFF9F0;
    font-weight: 700;
}

@media (max-width: 767px) {
    .hero-frame-large {
        height: 460px;
    }

    .clip-thumb {
        width: 3rem;
    }
}