/* TUGU GROUP: shared luxury design system */

.gold-gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5E7A3 30%, #D4AF37 70%, #9E7D1C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-metallic-bg {
    background: linear-gradient(135deg, #F5E7A3 0%, #D4AF37 50%, #8F6F16 100%);
}

.gold-border-glow {
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 20px -5px rgba(212, 175, 55, 0.05);
    transition: all 0.4s ease;
}

.gold-border-glow:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 10px 30px -5px rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

.glass-nav {
    background: rgba(7, 8, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

/* Internal page hero banner */
.page-hero-bg {
    background-image:
        radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.14), transparent 45%),
        radial-gradient(circle at 85% 0%, rgba(212, 175, 55, 0.08), transparent 40%),
        linear-gradient(180deg, #07080B 0%, #0E1017 100%);
}

/* Faint architectural grid, echoes the tower/skyline mark in the logo.
   Lives on ::before (not the section itself) so the mask fades only the
   pattern, not the heading/CTA content stacked above it. */
.grid-overlay {
    position: relative;
}

.grid-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form fields */
.field-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #F1F5F9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field-input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.field-input.field-error {
    border-color: rgba(239, 68, 68, 0.7);
}

.field-error-msg {
    display: none;
}

.field-input.field-error+.field-error-msg,
.field-error-msg.is-shown {
    display: block;
}

/* Mobile nav panel */
#mobile-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobile-nav.is-open {
    max-height: 480px;
}

/* Logo mark frame */
.logo-frame {
    background: #000;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

/* Turnstile widget: centered on mobile, left-aligned with the form from sm: up */
.turnstile-wrapper {
    display: flex;
    justify-content: center;
}

@media (min-width: 640px) {
    .turnstile-wrapper {
        justify-content: flex-start;
    }
}

/* Homepage hero banner slider */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s linear 1s;
    background-size: cover;
    background-position: center;
    background-color: #07080B;
    z-index: 0;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 0s linear 0s;
    z-index: 1;
}

[data-slide-dot] {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.4);
    transition: all 0.4s ease;
    cursor: pointer;
}

[data-slide-dot].is-active {
    width: 1.75rem;
    background: #D4AF37;
}

@media (min-width: 640px) {
    .subsidiaries-heading {
        white-space: nowrap;
    }
}
