/* ===== GLOBAL NAV ===== */
.g-topline { background: #ec4899; color: #fff; overflow: hidden; }

.g-topline-track {
    display: flex;
    gap: 32px;
    width: max-content;
    padding: 7px 0;
    animation: g-marquee 26s linear infinite;
}

.g-topline-track span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: lowercase;
    white-space: nowrap;
}

@keyframes g-marquee { to { transform: translateX(-50%); } }

.g-nav {
    position: sticky;
    top: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e8e4df;
}

.g-nav.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06); }

.g-logo { font-size: 20px; font-weight: 900; line-height: 1.05; letter-spacing: -0.6px; color: #141414; }
.g-star { color: #ec4899; }

.g-links { display: none; }

.g-link {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    padding: 4px 2px;
    transition: color 0.2s;
}

.g-link:hover {
    color: #141414;
    background: linear-gradient(transparent 55%, rgba(232, 93, 38, 0.35) 55%);
}

.g-actions { display: flex; align-items: center; gap: 12px; }

.g-cta {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #141414;
    padding: 9px 18px;
    border-radius: 999px;
    transition: 0.25s;
}

.g-cta:hover { background: #ec4899; }

.g-burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.g-burger span { width: 24px; height: 2.5px; background: #141414; border-radius: 2px; transition: 0.3s; }
.g-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.g-burger.active span:nth-child(2) { opacity: 0; }
.g-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.g-drop {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #faf8f5;
    border-bottom: 1px solid #e8e4df;
    display: none;
    flex-direction: column;
    padding: 10px 20px 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.g-drop.open { display: flex; }
.g-drop a { padding: 12px 4px; font-size: 15px; font-weight: 700; color: #141414; border-bottom: 1px dashed #e0dad2; }
.g-drop a:last-child { border-bottom: none; }
.g-drop a:hover { color: #ec4899; }

@media (min-width: 769px) {
    .g-nav { padding: 14px 48px; }
    .g-links { display: flex; gap: 26px; align-items: center; }
    .g-burger { display: none; }
    .g-drop { display: none !important; }
}

/* ===== GLOBAL FOOTER (ironclad-style, gkp theme) ===== */
.g-footer {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    padding: 64px 20px 0;
    background: linear-gradient(180deg, #fdf7f5 0%, #fcefed 45%, #fbe9e7 100%);
    color: #2b2320;
}

/* top color washes — full bleed, edges se bahar fade, koi seam nahi */
.g-footer::before {
    content: '';
    position: absolute;
    inset: -10% -10% 0 -10%;
    background:
        radial-gradient(90% 60% at 12% -5%, rgba(255, 214, 224, 0.55) 0%, rgba(255, 214, 224, 0) 60%),
        radial-gradient(80% 55% at 88% -2%, rgba(214, 226, 255, 0.50) 0%, rgba(214, 226, 255, 0) 55%),
        radial-gradient(70% 55% at 25% 105%, rgba(255, 145, 210, 0.26) 0%, rgba(255, 145, 210, 0) 60%),
        radial-gradient(80% 60% at 75% 105%, rgba(150, 160, 255, 0.24) 0%, rgba(150, 160, 255, 0) 60%);
    pointer-events: none;
    animation: g-drift 16s ease-in-out infinite;
}

/* bottom glow — mask se top edge smoothly fade hoti hai, hard line khatam */
.g-footer::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 55%;
    background:
        radial-gradient(60% 80% at 30% 90%, rgba(150, 160, 255, 0.30) 0%, rgba(150, 160, 255, 0) 65%),
        radial-gradient(70% 70% at 70% 95%, rgba(255, 120, 200, 0.25) 0%, rgba(255, 120, 200, 0) 60%),
        linear-gradient(180deg, rgba(255, 224, 214, 0) 0%, rgba(255, 214, 200, 0.35) 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    pointer-events: none;
}

@keyframes g-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(0, -1.5%, 0) scale(1.03); }
}

/* smoother hover transitions */
.g-foot-col a,
.g-foot-social a,
.g-top {
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.g-foot-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(240px, 1.1fr) minmax(420px, 2fr);
    gap: 48px;
    padding-bottom: 48px;
}

.g-foot-logo { font-size: 22px; font-weight: 900; letter-spacing: -0.6px; color: #141414; }

.g-foot-tag {
    margin: 14px 0 22px;
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(43, 35, 32, 0.72);
}

.g-foot-social { display: flex; gap: 10px; }

.g-foot-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(43, 35, 32, 0.18);
    border-radius: 10px;
    color: inherit;
    transition: background 0.2s, transform 0.2s;
}

.g-foot-social a:hover { background: rgba(255, 255, 255, 0.65); transform: translateY(-2px); }
.g-foot-social svg { width: 18px; height: 18px; }

.g-foot-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.g-foot-col h4 {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: lowercase;
    color: #141414;
}

.g-foot-col h4::after { content: " *"; color: #ec4899; }

.g-foot-col a {
    display: block;
    padding: 5px 0;
    font-size: 13.5px;
    color: rgba(43, 35, 32, 0.75);
    transition: color 0.15s;
}

.g-foot-col a:hover { color: #141414; text-decoration: underline; }

.g-foot-bottom {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 4px 26px;
    border-top: 1px solid rgba(43, 35, 32, 0.14);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: rgba(43, 35, 32, 0.68);
}

.g-foot-made a { color: inherit; text-decoration: underline; }
.g-foot-made svg { width: 1em; height: 1em; vertical-align: -0.12em; color: #ec4899; }

.g-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #141414;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #141414;
    background: none;
    cursor: pointer;
    transition: 0.25s;
}

.g-top:hover { background: #141414; color: #fff; }

/* scroll reveal */
.g-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.g-reveal.g-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .g-foot-inner { grid-template-columns: 1fr; gap: 32px; }
    .g-foot-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .g-footer { padding: 48px 16px 0; }
    .g-foot-bottom { flex-direction: column; align-items: flex-start; }
}