/* =====================================================
   GEM - Sahay Page (aligned to gem_sahay_new content)
===================================================== */

.gem-page {
    background: var(--paper);
    font-family: var(--font-body);
}

/* Hero */
.gem-hero {
    position: relative;
    padding: 90px 0 80px;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 154, 74, 0.2), transparent 42%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #1c4d84 100%);
}

.gem-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 14px;
    opacity: 0.85;
}

.gem-breadcrumb a:hover {
    color: var(--orange);
}

.gem-hero-content-solo {
    max-width: 720px;
}

.gem-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.gem-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    margin: 0 0 18px;
    color: #fff;
}

.gem-hero h1 span {
    color: var(--orange);
}

.gem-hero-content > p {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.92;
    margin: 0 0 28px;
}

.gem-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gem-hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.gem-hero-actions .btn-secondary:hover {
    background: #fff;
    color: var(--navy);
}

/* Sticky nav */
.gem-nav {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: rgba(var(--surface-rgb), 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--ink), .08);
    box-shadow: 0 8px 24px rgba(var(--ink), 0.04);
}

body.mobile-nav-open .gem-nav {
    z-index: 1;
    pointer-events: none;
}

.gem-tabs {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 18px 0;
    scrollbar-width: none;
}

.gem-tabs::-webkit-scrollbar {
    display: none;
}

.gem-tab-link {
    position: relative;
    color: var(--page-text);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    padding-bottom: 10px;
    transition: 0.3s;
}

.gem-tab-link:hover,
.gem-tab-link.active {
    color: var(--orange);
}

.gem-tab-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 50px;
    background: var(--orange);
}

/* Sections */
.gem-section {
    padding: 90px 0;
    background: var(--surface);
    scroll-margin-top: 140px;
}

.gem-section-alt {
    background: var(--page-bg);
}

.gem-page .section-header {
    margin-bottom: 48px;
}

.gem-page .section-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff5ea;
    color: var(--orange-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.gem-page .section-header h2 {
    font-family: var(--font-display);
    color: var(--page-text);
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.gem-page .section-header p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(var(--ink), .68);
    line-height: 1.7;
}

/* Overview */
.gem-overview-copy {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.gem-overview-copy p {
    color: rgba(var(--ink), .68);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}

.gem-overview-copy a {
    color: var(--orange-deep);
    font-weight: 600;
}

.gem-overview-card {
    max-width: 640px;
    margin: 0 auto;
    background: #1c1e3b;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(24, 37, 68, 0.12);
}

.gem-logo-wrap {
    width: 100%;
    margin: 0 auto 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gem-logo-wrap img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
}

.gem-overview-card .btn {
    min-width: 220px;
}

/* Video */
.gem-video-wrap {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 24px 50px rgba(24, 37, 68, 0.14);
}

.gem-video-wrap video {
    width: 100%;
    display: block;
    max-height: 540px;
    background: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .gem-hero {
        padding: 70px 0 60px;
    }

    .gem-section {
        padding: 60px 0;
    }

    .gem-tabs {
        gap: 28px;
    }

    .gem-hero-actions .btn {
        width: 100%;
    }

    .gem-overview-card {
        padding: 36px 20px;
    }

    .gem-overview-card .btn {
        width: 100%;
        min-width: 0;
    }
}
