/* ========================================
   LEGAL GEORGIA - PREMIUM LAW FIRM
   Black, White & Dark Gold with 3D Icons
   ======================================== */

:root {
    --gold: #b8860b;
    --gold-light: #d4a017;
    --gold-dark: #8B6914;
    --gold-pale: #c9a227;
    --gold-glow: rgba(184, 134, 11, 0.5);
    --gold-shadow: #6b5000;

    --black: #0d0b08;
    --black-light: #12100c;
    --black-secondary: #181510;
    --black-tertiary: #1f1b15;
    --black-card: #1a1712;

    --white: #ffffff;
    --white-soft: #f2f0ec;
    --white-muted: #d4cfc6;
    --white-dark: #b0a998;

    --border-color: rgba(184, 134, 11, 0.22);
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   RESET & GLOBAL
   ======================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(184, 134, 11, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 134, 11, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 90%, rgba(184, 134, 11, 0.08) 0%, transparent 50%),
        linear-gradient(160deg, #0d0b08 0%, #100e0a 50%, #0d0b08 100%);
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    opacity: 0;
    animation: bodyFadeIn 0.8s ease 0.1s forwards;
}

@keyframes bodyFadeIn {
    to { opacity: 1; }
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }

p {
    color: var(--white-muted);
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 11, 8, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: 'Playfair Display', 'Georgia', serif;
    letter-spacing: 1px;
}

.logo:hover {
    text-shadow: 0 0 25px var(--gold-glow);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-dark) 100%);
    border-radius: 12px;
    position: relative;
    transform: rotateX(5deg) rotateY(-5deg);
    transition: transform 0.5s var(--ease-out-back), box-shadow 0.5s ease;
    box-shadow:
        1px 1px 0 var(--gold-dark),
        2px 2px 0 var(--gold-dark),
        3px 3px 0 var(--gold-shadow),
        4px 4px 0 rgba(107, 80, 0, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.5);
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.logo:hover .logo-icon {
    transform: rotateX(0) rotateY(0) scale(1.08);
    box-shadow:
        0 0 0 transparent,
        0 0 0 transparent,
        0 0 0 transparent,
        0 0 0 transparent,
        0 12px 30px rgba(0, 0, 0, 0.4),
        0 0 25px var(--gold-glow);
}

.logo-text {
    transition: var(--transition-fast);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--white-muted);
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    transition: width 0.4s ease, left 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition-fast);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.75rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(184, 134, 11, 0.3);
    color: var(--white-dark);
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.3);
    transform: translateY(-2px);
}

/* ========================================
   3D ICON SYSTEM
   ======================================== */

.icon-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
    margin-bottom: 1.5rem;
}

.icon-3d-face {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-dark) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(8deg) rotateY(-8deg);
    transition: transform 0.5s var(--ease-out-back), box-shadow 0.5s ease;
    box-shadow:
        1px 1px 0 var(--gold-dark),
        2px 2px 0 var(--gold-dark),
        3px 3px 0 var(--gold-dark),
        4px 4px 0 var(--gold-dark),
        5px 5px 0 var(--gold-shadow),
        6px 6px 0 rgba(107, 80, 0, 0.7),
        7px 7px 0 rgba(107, 80, 0, 0.5),
        8px 8px 0 rgba(107, 80, 0, 0.3),
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
    animation: iconFloat 4s ease-in-out infinite;
}

/* Glass highlight on the 3D face */
.icon-3d-face::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.05) 40%, transparent 60%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Glow effect behind icon */
.icon-3d-face::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 24px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.icon-3d-face svg {
    width: 36px;
    height: 36px;
    stroke: var(--black);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.icon-3d:hover .icon-3d-face {
    transform: rotateX(0) rotateY(0) translateY(-8px) scale(1.05);
    box-shadow:
        0 0 0 transparent,
        0 0 0 transparent,
        0 0 0 transparent,
        0 0 0 transparent,
        0 0 0 transparent,
        0 0 0 transparent,
        0 0 0 transparent,
        0 0 0 transparent,
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 35px var(--gold-glow);
    animation-play-state: paused;
}

.icon-3d:hover .icon-3d-face::after {
    opacity: 1;
}

/* Larger 3D icons for detail pages */
.icon-3d-lg .icon-3d-face {
    width: 100px;
    height: 100px;
    border-radius: 22px;
}

.icon-3d-lg .icon-3d-face::before {
    border-radius: 22px;
}

.icon-3d-lg .icon-3d-face svg {
    width: 48px;
    height: 48px;
}

/* Staggered float animation delays */
.service-card:nth-child(1) .icon-3d-face { animation-delay: 0s; }
.service-card:nth-child(2) .icon-3d-face { animation-delay: 0.2s; }
.service-card:nth-child(3) .icon-3d-face { animation-delay: 0.4s; }
.service-card:nth-child(4) .icon-3d-face { animation-delay: 0.6s; }
.service-card:nth-child(5) .icon-3d-face { animation-delay: 0.8s; }
.service-card:nth-child(6) .icon-3d-face { animation-delay: 1.0s; }
.service-card:nth-child(7) .icon-3d-face { animation-delay: 1.2s; }
.service-card:nth-child(8) .icon-3d-face { animation-delay: 1.4s; }
.service-card:nth-child(9) .icon-3d-face { animation-delay: 1.6s; }
.service-card:nth-child(10) .icon-3d-face { animation-delay: 1.8s; }
.service-card:nth-child(11) .icon-3d-face { animation-delay: 2.0s; }
.service-card:nth-child(12) .icon-3d-face { animation-delay: 2.2s; }

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 25%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 75%
    );
    transition: left 0.8s ease;
}

.btn:hover::before {
    left: 60%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--black);
    border: none;
    box-shadow:
        2px 2px 0 var(--gold-dark),
        4px 4px 0 var(--gold-shadow),
        0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(0);
}

.btn-primary:hover {
    box-shadow:
        0 0 0 transparent,
        0 0 0 transparent,
        0 15px 40px rgba(184, 134, 11, 0.35),
        0 0 30px var(--gold-glow);
    transform: translateY(-4px);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    box-shadow: inset 0 0 0 transparent;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow:
        0 0 30px rgba(184, 134, 11, 0.3),
        inset 0 0 0 transparent;
    transform: translateY(-4px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background:
        radial-gradient(ellipse at center, rgba(184, 134, 11, 0.10) 0%, transparent 50%),
        linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Floating gold orb - top right */
.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: floatOrb 8s ease-in-out infinite;
}

/* Floating gold orb - bottom left */
.hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatOrb 6s ease-in-out infinite reverse;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    position: relative;
}

.hero-title {
    margin-bottom: 1rem;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    background: linear-gradient(
        90deg,
        var(--gold-dark),
        var(--gold-light),
        var(--gold),
        var(--gold-light),
        var(--gold-dark)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 5s linear infinite, heroTitleIn 1s ease-out;
    text-shadow: none;
}

.hero-welcome {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.1s forwards;
    position: relative;
    display: inline-block;
}

.hero-welcome::before,
.hero-welcome::after {
    content: '—';
    margin: 0 0.75rem;
    color: var(--gold-dark);
}

.hero-subtitle {
    color: var(--white-dark);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: heroSubtitleIn 1s ease-out 0.3s both;
}

.hero-description {
    color: var(--white-muted);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.9;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroButtonsIn 1s ease-out 0.8s both;
}

/* ========================================
   SECTION TITLES
   ======================================== */

.section-title {
    text-align: center;
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0.75rem auto 0;
    transition: width 1s ease;
}

.section-title.visible::after {
    width: 80px;
}

/* ========================================
   SERVICES SECTION (Home Page Cards)
   ======================================== */

.services-section {
    padding: 6rem 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(184, 134, 11, 0.08) 0%, transparent 60%),
        var(--black-light);
}

.services-section .container {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.service-card {
    background: var(--black-secondary);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Scroll reveal initial state */
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.6s ease,
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

/* Staggered reveal delays */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.06s; }
.service-card:nth-child(3) { transition-delay: 0.12s; }
.service-card:nth-child(4) { transition-delay: 0.18s; }
.service-card:nth-child(5) { transition-delay: 0.24s; }
.service-card:nth-child(6) { transition-delay: 0.30s; }
.service-card:nth-child(7) { transition-delay: 0.36s; }
.service-card:nth-child(8) { transition-delay: 0.42s; }
.service-card:nth-child(9) { transition-delay: 0.48s; }
.service-card:nth-child(10) { transition-delay: 0.54s; }
.service-card:nth-child(11) { transition-delay: 0.60s; }
.service-card:nth-child(12) { transition-delay: 0.66s; }

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Shimmer sweep on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.06), transparent);
    transition: left 0.7s ease;
    z-index: 0;
}

.service-card:hover {
    border-color: var(--gold);
    background: var(--black-tertiary);
    box-shadow:
        0 0 30px rgba(184, 134, 11, 0.12),
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(184, 134, 11, 0.1);
    transform: translateY(-10px);
    transition-delay: 0s;
}

.service-card:hover::before {
    left: 100%;
}

.service-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--white-dark);
    line-height: 1.8;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* "Learn More" / "Подробнее" button on service cards */
.btn-learn-more {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.55rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(184, 134, 11, 0.08);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.35s ease;
}

.btn-learn-more:hover {
    background: rgba(184, 134, 11, 0.2);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.25);
}

/* ========================================
   SERVICE MODAL — Premium Glassmorphism
   ======================================== */

/* Overlay with backdrop blur */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 4, 3, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal container — dark glass with gold glow */
.service-modal {
    position: relative;
    width: 92%;
    max-width: 640px;
    max-height: 85vh;
    background:
        linear-gradient(145deg,
            rgba(24, 21, 16, 0.96) 0%,
            rgba(18, 16, 12, 0.97) 50%,
            rgba(13, 11, 8, 0.98) 100%);
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 20px;
    box-shadow:
        0 0 40px rgba(184, 134, 11, 0.12),
        0 0 80px rgba(184, 134, 11, 0.06),
        0 25px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(184, 134, 11, 0.15);
    overflow: hidden;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal-overlay.active .service-modal {
    transform: scale(1) translateY(0);
}

/* Top gold accent line */
.service-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

/* Close button */
.service-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.06);
    color: var(--gold-light);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.service-modal-close:hover {
    background: rgba(184, 134, 11, 0.2);
    border-color: var(--gold);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.3);
}

/* Scrollable content area */
.service-modal-content {
    padding: 2.5rem 2.2rem;
    overflow-y: auto;
    max-height: 85vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(184, 134, 11, 0.3) transparent;
}

.service-modal-content::-webkit-scrollbar {
    width: 5px;
}

.service-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.service-modal-content::-webkit-scrollbar-thumb {
    background: rgba(184, 134, 11, 0.3);
    border-radius: 10px;
}

/* Icon in modal — large centered with glow ring */
.service-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, rgba(184, 134, 11, 0.05) 70%);
    border: 1.5px solid rgba(184, 134, 11, 0.3);
    border-radius: 20px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(184, 134, 11, 0.08),
        inset 0 0 15px rgba(184, 134, 11, 0.05);
    position: relative;
    animation: iconPulseGlow 3s ease-in-out infinite;
}

@keyframes iconPulseGlow {
    0%, 100% { box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 20px rgba(184,134,11,0.08); }
    50% { box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 30px rgba(184,134,11,0.18); }
}

.service-modal-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(184, 134, 11, 0.3));
}

/* Decorative separator */
.service-modal-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.service-modal-separator .sep-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.3), transparent);
}

.service-modal-separator .sep-diamond {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    opacity: 0.7;
    box-shadow: 0 0 8px rgba(184, 134, 11, 0.5);
    animation: diamondPulse 2.5s ease-in-out infinite;
}

@keyframes diamondPulse {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 6px rgba(184, 134, 11, 0.3); }
    50% { opacity: 0.9; box-shadow: 0 0 14px rgba(184, 134, 11, 0.6); }
}

/* Title */
.service-modal-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Description text */
.service-modal-text {
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--white-muted);
    margin-bottom: 2rem;
}

/* Staggered entrance animation for modal content children */
.service-modal-text.animate-in > * {
    opacity: 0;
    transform: translateY(12px);
    animation: modalContentFadeIn 0.4s ease forwards;
}

.service-modal-text.animate-in > *:nth-child(1) { animation-delay: 0.05s; }
.service-modal-text.animate-in > *:nth-child(2) { animation-delay: 0.1s; }
.service-modal-text.animate-in > *:nth-child(3) { animation-delay: 0.15s; }
.service-modal-text.animate-in > *:nth-child(4) { animation-delay: 0.2s; }
.service-modal-text.animate-in > *:nth-child(5) { animation-delay: 0.25s; }
.service-modal-text.animate-in > *:nth-child(6) { animation-delay: 0.3s; }
.service-modal-text.animate-in > *:nth-child(7) { animation-delay: 0.35s; }
.service-modal-text.animate-in > *:nth-child(8) { animation-delay: 0.4s; }
.service-modal-text.animate-in > *:nth-child(9) { animation-delay: 0.45s; }
.service-modal-text.animate-in > *:nth-child(10) { animation-delay: 0.5s; }

@keyframes modalContentFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* CTA button inside modal */
.service-modal-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0.85rem 2.8rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.service-modal-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.service-modal-cta:hover::before {
    left: 120%;
}

.service-modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    filter: brightness(1.1);
}

/* ========================================
   MODAL FULL CONTENT STYLING
   Headings, paragraphs, price blocks
   ======================================== */

/* Tagline / intro heading */
.service-modal-text h3 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: var(--gold-light);
    margin: 0 0 1.4rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.55rem 1.2rem;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.08) 0%, rgba(184, 134, 11, 0.03) 100%);
    border: 1px solid rgba(184, 134, 11, 0.12);
    border-radius: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Section headers — premium left-accent cards */
.service-modal-text h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    color: var(--gold-light);
    margin: 1.6rem 0 0.75rem;
    padding: 0.6rem 0.9rem 0.6rem 1rem;
    border-left: 3px solid var(--gold);
    border-bottom: none;
    font-weight: 600;
    letter-spacing: 0.4px;
    background: linear-gradient(90deg, rgba(184, 134, 11, 0.1) 0%, transparent 60%);
    border-radius: 0 8px 8px 0;
    position: relative;
}

.service-modal-text h4::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(184, 134, 11, 0.4);
}

/* Bullet-point paragraphs — enhanced items */
.service-modal-text p {
    font-family: var(--font-body);
    font-size: 0.84rem;
    line-height: 1.7;
    color: var(--white-muted);
    margin: 0.2rem 0;
    padding: 0.4rem 0.6rem 0.4rem 0.8rem;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.15s ease;
    position: relative;
}

.service-modal-text p:hover {
    background: rgba(184, 134, 11, 0.04);
    transform: translateX(3px);
}

/* Premium pricing card */
.modal-price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1.2rem 1.8rem;
    background:
        linear-gradient(160deg, rgba(184, 134, 11, 0.12) 0%, rgba(184, 134, 11, 0.04) 50%, rgba(184, 134, 11, 0.08) 100%);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(184, 134, 11, 0.15);
}

/* Shine sweep on price block */
.modal-price-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(184, 134, 11, 0.06) 60deg, transparent 120deg);
    animation: priceShineSweep 6s linear infinite;
    pointer-events: none;
}

@keyframes priceShineSweep {
    to { transform: rotate(360deg); }
}

/* Top gold line accent */
.modal-price-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.modal-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(184, 134, 11, 0.2);
    position: relative;
    z-index: 1;
}

.modal-price-alt {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    position: relative;
    z-index: 1;
}

.modal-ready {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--white-dark);
    font-style: italic;
    position: relative;
    z-index: 1;
    opacity: 0.85;
}

/* ========================================
   VNZh PRICE LIST — Premium style
   ======================================== */

.vnzh-price-list {
    margin-top: 1.5rem;
    padding: 1.4rem 1.6rem;
    background:
        linear-gradient(160deg, rgba(184, 134, 11, 0.10) 0%, rgba(184, 134, 11, 0.03) 50%, rgba(184, 134, 11, 0.07) 100%);
    border: 1px solid rgba(184, 134, 11, 0.25);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(184, 134, 11, 0.12);
}

.vnzh-price-list::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.vnzh-price-list-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(184, 134, 11, 0.2);
    position: relative;
    z-index: 1;
}

.vnzh-price-item {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(184, 134, 11, 0.08);
    position: relative;
    z-index: 1;
    transition: background 0.2s ease;
}

.vnzh-price-item:last-child {
    border-bottom: none;
}

.vnzh-price-item:hover {
    background: rgba(184, 134, 11, 0.06);
    border-radius: 6px;
}

.vnzh-price-label {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--white-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.vnzh-price-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(184, 134, 11, 0.3);
    min-width: 20px;
    margin: 0 0.3rem;
    position: relative;
    top: -3px;
}

.vnzh-price-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-light);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 0 10px rgba(184, 134, 11, 0.15);
}

/* Responsive adjustments for price list */
@media (max-width: 480px) {
    .vnzh-price-list {
        padding: 1rem 1rem;
    }

    .vnzh-price-list-title {
        font-size: 0.95rem;
    }

    .vnzh-price-label {
        font-size: 0.84rem;
    }

    .vnzh-price-value {
        font-size: 0.92rem;
    }
}

/* ========================================
   ACCORDION COMPONENT
   Accessible, animated, production-ready
   ======================================== */

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
}

.accordion-item {
    border: 1px solid rgba(184, 134, 11, 0.18);
    border-bottom: none;
    background: rgba(15, 13, 9, 0.5);
    overflow: hidden;
}

.accordion-item:first-child {
    border-radius: 10px 10px 0 0;
}

.accordion-item:last-child {
    border-bottom: 1px solid rgba(184, 134, 11, 0.18);
    border-radius: 0 0 10px 10px;
}

.accordion-item:only-child {
    border-radius: 10px;
    border-bottom: 1px solid rgba(184, 134, 11, 0.18);
}

.accordion-header {
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: none;
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.1rem;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.3px;
    text-align: left;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.accordion-trigger:hover {
    background: rgba(184, 134, 11, 0.1);
    color: var(--gold-light);
}

.accordion-trigger:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
    border-radius: 2px;
}

/* Active/open trigger styling */
.accordion-trigger[aria-expanded="true"] {
    background: rgba(184, 134, 11, 0.06);
    color: var(--gold-light);
}

.accordion-trigger-text {
    flex: 1;
    min-width: 0;
}

/* Chevron icon via CSS — no SVG needed */
.accordion-icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-left: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 9px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
}

.accordion-icon::before {
    left: 1px;
    transform: translateY(-50%) rotate(45deg);
}

.accordion-icon::after {
    right: 1px;
    transform: translateY(-50%) rotate(-45deg);
}

/* Open state: chevron flips up */
.accordion-trigger[aria-expanded="true"] .accordion-icon::before {
    transform: translateY(-50%) rotate(-45deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::before,
.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
    background: var(--gold-light);
}

/* Panel — uses grid for smooth height animation (no max-height hack) */
.accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.accordion-panel[hidden] {
    display: grid;
    grid-template-rows: 0fr;
    visibility: visible;
    pointer-events: none;
}

.accordion-panel:not([hidden]) {
    grid-template-rows: 1fr;
    pointer-events: auto;
}

.accordion-panel-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 1.1rem;
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel:not([hidden]) .accordion-panel-inner {
    padding: 0.3rem 1.1rem 1rem;
}

.accordion-panel-inner p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--white-muted);
    margin: 0.3rem 0;
}

/* Subtle separator between open item and next */
.accordion-item + .accordion-item {
    border-top: 1px solid rgba(184, 134, 11, 0.12);
}

@media (max-width: 600px) {
    .accordion-trigger {
        padding: 0.75rem 0.9rem;
        font-size: 0.87rem;
    }

    .accordion-panel-inner {
        padding: 0 0.9rem;
    }

    .accordion-panel:not([hidden]) .accordion-panel-inner {
        padding: 0.2rem 0.9rem 0.85rem;
    }

    .accordion-icon {
        width: 16px;
        height: 16px;
    }
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ========================================
   MODAL RESPONSIVE
   ======================================== */

@media (max-width: 600px) {
    .service-modal {
        width: 96%;
        max-height: 90vh;
        border-radius: 16px;
    }

    .service-modal-content {
        padding: 2rem 1.5rem;
        max-height: 90vh;
    }

    .service-modal-title {
        font-size: 1.5rem;
    }

    .service-modal-text {
        font-size: 0.9rem;
    }

    .service-modal-text h4 {
        font-size: 0.87rem;
        padding: 0.5rem 0.7rem 0.5rem 0.85rem;
    }

    .service-modal-text h3 {
        font-size: 0.8rem;
        letter-spacing: 0.8px;
    }

    .service-modal-text p {
        font-size: 0.82rem;
        padding: 0.3rem 0.4rem 0.3rem 0.6rem;
    }

    .service-modal-icon {
        width: 64px;
        height: 64px;
    }

    .service-modal-icon svg {
        width: 30px;
        height: 30px;
    }

    .modal-price-block {
        padding: 1rem 1.2rem;
        margin: 1.2rem 0;
    }

    .modal-price {
        font-size: 1rem;
    }
}

/* ========================================
/* ========================================
   PAGE HEADER BANNER (Enhanced)
   ======================================== */

.page-header {
    padding: 8rem 0 5rem;
    text-align: center;
    padding-top: calc(80px + 5rem);
    position: relative;
    overflow: hidden;
    min-height: 45vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(184, 134, 11, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 70%, rgba(184, 134, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(184, 134, 11, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #0f0d09 0%, #13110c 50%, #100e0a 100%);
    border-bottom: 1px solid rgba(184, 134, 11, 0.25);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Animated bottom gold line */
.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: expandLine 1.5s ease 0.5s forwards;
}

/* Floating orbs on page headers */
.page-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.page-orb-1 {
    top: 10%;
    right: 8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.25) 0%, rgba(184, 134, 11, 0.08) 40%, transparent 70%);
    animation: floatOrb 8s ease-in-out infinite;
}

.page-orb-2 {
    bottom: 10%;
    left: 5%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.20) 0%, rgba(184, 134, 11, 0.06) 40%, transparent 70%);
    animation: floatOrb 6s ease-in-out infinite reverse;
}

.page-orb-3 {
    top: 50%;
    left: 40%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, transparent 70%);
    animation: floatOrb 10s ease-in-out infinite;
    filter: blur(50px);
}

/* Section-level ambient orbs (for content areas) */
.section-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.section-orb-1 {
    top: 20%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.18) 0%, rgba(184, 134, 11, 0.05) 40%, transparent 70%);
    animation: floatOrb 9s ease-in-out infinite;
}

.section-orb-2 {
    bottom: 25%;
    left: -8%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.14) 0%, rgba(184, 134, 11, 0.04) 40%, transparent 70%);
    animation: floatOrb 7s ease-in-out infinite reverse;
}

/* Page header label */
.page-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 200px; }
}

.page-title {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(
        90deg,
        var(--gold-dark),
        var(--gold-light),
        var(--gold),
        var(--gold-light),
        var(--gold-dark)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 5s linear infinite, fadeInUp 0.8s ease-out;
}

.page-subtitle {
    color: var(--white-dark);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ========================================
   SERVICES DETAIL (Services Page - Premium)
   ======================================== */

.services-detail {
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(184, 134, 11, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 80%, rgba(184, 134, 11, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(184, 134, 11, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, #100e0a 0%, #0d0b08 50%, #100e0a 100%);
}

.services-detail .container {
    position: relative;
    z-index: 2;
}

/* Navigation Pills */
.services-nav-pills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.pill-link {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white-dark);
    border: 1px solid rgba(184, 134, 11, 0.15);
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.pill-link:hover,
.pill-link.active {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(184, 134, 11, 0.25);
    transform: translateY(-2px);
}

/* Service Detail Block (Upgraded) */
.service-detail-block {
    margin-bottom: 3rem;
    padding: 0;
    background: var(--black-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    scroll-margin-top: 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    /* Scroll reveal */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.7s var(--ease-out-back), border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-detail-block:nth-child(even) {
    transform: translateY(50px);
}

/* Remove nth-child selectors on .services-nav-pills */
.service-detail-block:nth-child(2) { transition-delay: 0s; }
.service-detail-block:nth-child(3) { transition-delay: 0.1s; }
.service-detail-block:nth-child(4) { transition-delay: 0.2s; }
.service-detail-block:nth-child(5) { transition-delay: 0.3s; }

.service-detail-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover glow */
.service-detail-block:hover {
    border-color: rgba(184, 134, 11, 0.3);
    box-shadow:
        0 0 40px rgba(184, 134, 11, 0.08),
        0 25px 60px rgba(0, 0, 0, 0.3);
}

/* Top gold accent line */
.service-detail-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    transition: width 0.8s ease;
}

.service-detail-block:hover::before,
.service-detail-block.visible::before {
    width: 100%;
}

/* Left panel (number + icon) */
.service-detail-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    background: rgba(184, 134, 11, 0.04);
    border-right: 1px solid var(--border-color);
    min-width: 180px;
    gap: 1.5rem;
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.service-detail-block:hover .service-number {
    opacity: 1;
}

/* Right panel (content) */
.service-detail-body {
    padding: 3rem;
    flex: 1;
}

.service-detail-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.service-detail-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-top: 0.75rem;
    transition: width 0.5s ease;
}

.service-detail-block:hover .service-detail-title::after {
    width: 100px;
}

.service-detail-text {
    margin-bottom: 2rem;
    line-height: 1.9;
    color: var(--white-muted);
    font-size: 0.95rem;
}

/* Feature list (upgraded) */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.85rem 1rem;
    background: rgba(184, 134, 11, 0.03);
    border: 1px solid rgba(184, 134, 11, 0.08);
    border-radius: 8px;
    color: var(--white-soft);
    transition: var(--transition);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(184, 134, 11, 0.15);
    border-radius: 50%;
    color: var(--gold);
    transition: var(--transition-fast);
}

.service-features li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.service-features li:hover {
    background: rgba(184, 134, 11, 0.08);
    border-color: rgba(184, 134, 11, 0.25);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-features li:hover .feature-icon {
    background: var(--gold);
    color: var(--black);
}

.service-features li:hover::before {
    width: 100%;
}

/* Service CTA button */
.service-cta {
    padding: 0.7rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* CTA Banner at bottom of services */
.services-cta-banner {
    margin-top: 4rem;
    padding: 4rem 3rem;
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(184, 134, 11, 0.08) 0%, transparent 60%),
        var(--black-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    /* Scroll reveal */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.7s ease;
}

.services-cta-banner.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-banner-title {
    color: var(--gold);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-banner-text {
    color: var(--white-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ========================================
   CONTACT PAGE (Enhanced)
   ======================================== */

.contact-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(184, 134, 11, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 70%, rgba(184, 134, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(184, 134, 11, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #100e0a 0%, #0d0b08 50%, #100e0a 100%);
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--white-dark);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    perspective: 800px;
}

.social-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-secondary);
    border: 2px solid var(--gold);
    border-radius: 50%;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    text-decoration: none;
    /* Scroll reveal */
    opacity: 0;
    transform: scale(0.5) rotateY(90deg);
    /* CSS fallback: auto-reveal after delay if JS doesn't trigger */
    animation: socialRevealFallback 0.8s ease forwards;
    animation-delay: 0.6s;
}

.social-icon:nth-child(1) { transition-delay: 0.1s; animation-delay: 0.6s; }
.social-icon:nth-child(2) { transition-delay: 0.25s; animation-delay: 0.8s; }
.social-icon:nth-child(3) { transition-delay: 0.4s; animation-delay: 1.0s; }

.social-icon.visible {
    opacity: 1;
    transform: scale(1) rotateY(0);
}

.social-icon svg {
    width: 36px;
    height: 36px;
    color: var(--gold);
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

/* Social icon labels */
.social-label {
    display: none;
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
}

/* Platform-specific accent colors on hover */
.social-icon.instagram:hover {
    border-color: #E1306C;
    box-shadow:
        0 0 30px rgba(225, 48, 108, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(225, 48, 108, 0.08);
}
.social-icon.instagram:hover svg {
    color: #E1306C;
    stroke: #E1306C;
    filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.5));
}

.social-icon.whatsapp:hover {
    border-color: #25D366;
    box-shadow:
        0 0 30px rgba(37, 211, 102, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(37, 211, 102, 0.08);
}
.social-icon.whatsapp:hover svg {
    color: #25D366;
    stroke: #25D366;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.5));
}

.social-icon.telegram:hover {
    border-color: #0088cc;
    box-shadow:
        0 0 30px rgba(0, 136, 204, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 136, 204, 0.08);
}
.social-icon.telegram:hover svg {
    color: #0088cc;
    stroke: #0088cc;
    filter: drop-shadow(0 0 8px rgba(0, 136, 204, 0.5));
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--gold), var(--gold-dark), var(--gold-light), var(--gold));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: spinGlow 3s linear infinite;
}

.social-icon:hover {
    transform: scale(1.15) translateY(-5px);
    background: var(--black-secondary);
    box-shadow:
        0 0 30px var(--gold-glow),
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(184, 134, 11, 0.1);
}

.social-icon:hover::before {
    opacity: 0.6;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.social-icon:hover .social-label {
    color: var(--white);
}

.contact-note {
    color: var(--white-dark);
    margin-top: 3rem;
    font-size: 0.95rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--black-light);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-text {
    color: var(--white-dark);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-accent {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto;
    animation: accentGrow 2s ease 1s forwards;
}

@keyframes accentGrow {
    to { width: 80px; }
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroSubtitleIn {
    from {
        opacity: 0;
        transform: translateY(30px);
        letter-spacing: 8px;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 3px;
    }
}

@keyframes heroButtonsIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmerText {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes iconFloat {
    0%, 100% {
        transform: rotateX(8deg) rotateY(-8deg) translateY(0);
    }
    50% {
        transform: rotateX(8deg) rotateY(-8deg) translateY(-8px);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translate(-15px, 15px) scale(0.95);
        opacity: 0.5;
    }
}

@keyframes spinGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes socialRevealFallback {
    from {
        opacity: 0;
        transform: scale(0.5) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateY(0);
    }
}

/* ========================================
   RESPONSIVE - 1024px
   ======================================== */

@media (max-width: 1024px) {
    .nav-menu {
        gap: 2rem;
    }

    .hero-buttons {
        gap: 1.5rem;
    }

    .services-grid {
        gap: 2rem;
    }

    .social-links {
        gap: 2rem;
    }

    .social-icon {
        width: 85px;
        height: 85px;
    }

    .social-icon svg {
        width: 30px;
        height: 30px;
    }

    .icon-3d-face {
        width: 70px;
        height: 70px;
    }

    .icon-3d-face svg {
        width: 32px;
        height: 32px;
    }

    .icon-3d-lg .icon-3d-face {
        width: 90px;
        height: 90px;
    }

    .icon-3d-lg .icon-3d-face svg {
        width: 42px;
        height: 42px;
    }
}

/* ========================================
   RESPONSIVE - 768px (Mobile)
   ======================================== */

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-icon svg {
        width: 20px;
        height: 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(13, 11, 8, 0.98);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(184, 134, 11, 0.08);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .language-switcher {
        width: 100%;
        padding: 1.5rem 2rem;
        margin: 0;
        justify-content: center;
        gap: 0.5rem;
        border-top: 1px solid var(--border-color);
    }

    .lang-btn {
        flex: 1;
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .hero {
        padding-top: 70px;
    }

    .page-header {
        padding-top: calc(70px + 3rem);
        padding-bottom: 3rem;
    }

    .services-section {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .social-links {
        gap: 1.5rem;
        padding: 0 1rem;
        padding-bottom: 1rem;
    }

    .social-icon {
        width: 90px;
        height: 90px;
        border-width: 2px;
        margin-bottom: 12px;
    }

    .social-icon svg {
        width: 32px;
        height: 32px;
        stroke-width: 2;
    }

    .social-label {
        display: block;
    }

    /* Contact section mobile */
    .contact-section {
        padding: 3rem 0;
    }

    .contact-intro {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .contact-note {
        font-size: 0.85rem;
        margin-top: 2rem;
        padding: 0 0.5rem;
    }

    /* Page header contact mobile */
    .page-header-contact {
        min-height: 35vh;
        padding-top: calc(70px + 2rem);
        padding-bottom: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    /* Page orbs - hide on mobile */
    .page-orb {
        display: none;
    }

    .section-orb {
        display: none;
    }

    .page-header {
        min-height: auto;
    }

    .page-label {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    /* Services nav pills - mobile */
    .services-nav-pills {
        gap: 0.5rem;
        margin-bottom: 2.5rem;
    }

    .pill-link {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    /* Service detail block - stack vertically */
    .service-detail-block {
        flex-direction: column;
    }

    .service-detail-header {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        min-width: auto;
        padding: 2rem;
        gap: 1.25rem;
    }

    .service-number {
        font-size: 2.5rem;
    }

    .service-detail-body {
        padding: 2rem;
    }

    .service-detail-title {
        font-size: 1.6rem;
    }

    .services-cta-banner {
        padding: 3rem 2rem;
        margin-top: 2.5rem;
    }

    .cta-banner-title {
        font-size: 1.5rem;
    }

    .cta-banner-text {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-detail {
        padding: 4rem 0;
    }

    .contact-section {
        padding: 4rem 0;
    }

    .icon-3d-face {
        width: 70px;
        height: 70px;
        border-radius: 14px;
    }

    .icon-3d-face svg {
        width: 30px;
        height: 30px;
    }

    .icon-3d-lg .icon-3d-face {
        width: 80px;
        height: 80px;
    }

    .icon-3d-lg .icon-3d-face svg {
        width: 38px;
        height: 38px;
    }

    /* Intro responsive - 768px */
    .intro-logo-face {
        width: 100px;
        height: 100px;
        border-radius: 22px;
    }

    .intro-logo-face svg {
        width: 48px;
        height: 48px;
    }

    .intro-logo-glow {
        width: 160px;
        height: 160px;
    }

    .intro-enter-btn {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   RESPONSIVE - 480px (Small Mobile)
   ======================================== */

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .navbar {
        padding: 0 1rem;
    }

    /* Intro responsive - 480px */
    .intro-logo-face {
        width: 85px;
        height: 85px;
        border-radius: 18px;
        box-shadow:
            1px 1px 0 var(--gold-dark),
            2px 2px 0 var(--gold-dark),
            3px 3px 0 var(--gold-shadow),
            4px 4px 0 rgba(107, 80, 0, 0.5),
            0 12px 40px rgba(0, 0, 0, 0.6);
    }

    .intro-logo-face svg {
        width: 40px;
        height: 40px;
    }

    .intro-logo-glow {
        width: 120px;
        height: 120px;
    }

    .intro-welcome-text {
        letter-spacing: 4px;
    }

    .intro-tagline {
        letter-spacing: 2px;
    }

    .intro-enter-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .intro-ray {
        display: none;
    }

    .logo-text {
        display: none;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
    }

    .logo-icon svg {
        width: 22px;
        height: 22px;
    }

    .hero {
        padding: 2rem 1rem;
        padding-top: 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .social-icon {
        width: 78px;
        height: 78px;
        margin-bottom: 12px;
    }

    .social-icon svg {
        width: 28px;
        height: 28px;
    }

    .social-links {
        gap: 1.2rem;
        padding: 0 0.5rem;
        padding-bottom: 0.5rem;
    }

    .social-label {
        display: block;
        font-size: 0.6rem;
    }

    /* Contact page small mobile */
    .contact-section {
        padding: 2.5rem 0;
    }

    .page-header-contact {
        min-height: 30vh;
        padding-top: calc(60px + 1.5rem);
        padding-bottom: 1.5rem;
    }

    .page-header-contact .page-title {
        font-size: 1.6rem;
    }

    .page-header-contact .page-subtitle {
        font-size: 0.85rem;
    }

    .page-header-contact .page-label {
        font-size: 0.65rem;
    }

    /* Services detail - small mobile */
    .services-nav-pills {
        gap: 0.4rem;
        margin-bottom: 2rem;
    }

    .pill-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .service-detail-block {
        margin-bottom: 2rem;
    }

    .service-detail-header {
        padding: 1.5rem;
        gap: 1rem;
    }

    .service-detail-body {
        padding: 1.5rem;
    }

    .service-number {
        font-size: 2rem;
    }

    .service-detail-title {
        font-size: 1.4rem;
    }

    .service-detail-text {
        font-size: 0.85rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .service-features li {
        font-size: 0.8rem;
        padding: 0.7rem 0.8rem;
    }

    .services-cta-banner {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .service-cta {
        padding: 0.6rem 1.5rem;
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
    }

    .contact-intro {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .contact-note {
        font-size: 0.8rem;
        margin-top: 1.5rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .icon-3d-face {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        box-shadow:
            1px 1px 0 var(--gold-dark),
            2px 2px 0 var(--gold-dark),
            3px 3px 0 var(--gold-shadow),
            4px 4px 0 rgba(107, 80, 0, 0.4),
            0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .icon-3d-face svg {
        width: 26px;
        height: 26px;
    }

    .icon-3d-lg .icon-3d-face {
        width: 70px;
        height: 70px;
    }

    .icon-3d-lg .icon-3d-face svg {
        width: 32px;
        height: 32px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-title {
        -webkit-text-fill-color: var(--gold);
        animation: none !important;
    }
}

/* ========================================
   WELCOME INTRO SCREEN (index.html only)
   Cinematic 3D entrance experience
   ======================================== */

/* When intro is active, prevent scroll on body */
body.intro-active {
    overflow: hidden;
    animation: none;
    opacity: 1;
}

/* ---- Overlay ---- */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(160deg, #0a0907 0%, #0d0b08 30%, #100e0a 60%, #0a0907 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
    will-change: opacity;
    perspective: 1200px;
}

.intro-overlay.intro-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 1.2s;
    pointer-events: none;
}

/* ---- Particles Canvas ---- */
.intro-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

/* ---- Light Rays ---- */
.intro-rays {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.intro-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 140vh;
    background: linear-gradient(
        0deg,
        transparent 0%,
        rgba(184, 134, 11, 0.04) 30%,
        rgba(184, 134, 11, 0.08) 50%,
        rgba(184, 134, 11, 0.04) 70%,
        transparent 100%
    );
    transform-origin: center center;
    opacity: 0;
    animation: rayAppear 3s ease-out forwards;
}

.intro-ray:nth-child(1) { transform: translate(-50%, -50%) rotate(-30deg); animation-delay: 0.5s; }
.intro-ray:nth-child(2) { transform: translate(-50%, -50%) rotate(-10deg); animation-delay: 0.8s; }
.intro-ray:nth-child(3) { transform: translate(-50%, -50%) rotate(10deg); animation-delay: 0.6s; }
.intro-ray:nth-child(4) { transform: translate(-50%, -50%) rotate(30deg); animation-delay: 1s; }
.intro-ray:nth-child(5) { transform: translate(-50%, -50%) rotate(0deg); animation-delay: 0.4s; width: 3px; }

@keyframes rayAppear {
    0%   { opacity: 0; }
    40%  { opacity: 1; }
    100% { opacity: 0.5; }
}

/* ---- 3D Scene Container ---- */
.intro-scene {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 1200px;
}

.intro-content {
    text-align: center;
    transform-style: preserve-3d;
    animation: introContentIn 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateZ(-100px) rotateX(15deg);
    will-change: transform, opacity;
}

@keyframes introContentIn {
    0% {
        opacity: 0;
        transform: translateZ(-100px) rotateX(15deg);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateZ(0) rotateX(0);
    }
}

/* ---- 3D Logo ---- */
.intro-logo {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
    perspective: 800px;
}

.intro-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(184, 134, 11, 0.35) 0%, rgba(184, 134, 11, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: introGlowPulse 3s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes introGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50%      { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.intro-logo-face {
    width: 130px;
    height: 130px;
    background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 35%, var(--gold-dark) 70%, var(--gold-shadow) 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    box-shadow:
        2px 2px 0 var(--gold-dark),
        4px 4px 0 var(--gold-dark),
        6px 6px 0 var(--gold-shadow),
        8px 8px 0 rgba(107, 80, 0, 0.7),
        10px 10px 0 rgba(107, 80, 0, 0.5),
        12px 12px 0 rgba(107, 80, 0, 0.3),
        14px 14px 0 rgba(107, 80, 0, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(184, 134, 11, 0.15);
    animation:
        introLogoFloat 4s ease-in-out infinite,
        introLogoRotate 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform;
}

/* Glass highlight */
.intro-logo-face::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.08) 35%, transparent 55%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Rim light */
.intro-logo-face::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.5), transparent 50%, rgba(212, 160, 23, 0.2));
    z-index: -1;
}

.intro-logo-face svg {
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

@keyframes introLogoRotate {
    0%   { transform: rotateX(25deg) rotateY(-25deg) scale(0.7); }
    100% { transform: rotateX(8deg) rotateY(-8deg) scale(1); }
}

@keyframes introLogoFloat {
    0%, 100% { transform: rotateX(8deg) rotateY(-8deg) translateY(0); }
    50%      { transform: rotateX(6deg) rotateY(-10deg) translateY(-12px); }
}

/* ---- Typography ---- */
.intro-welcome-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    color: var(--gold-pale);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: introTextUp 1s ease-out 0.8s forwards;
}

.intro-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(
        135deg,
        var(--gold-shadow) 0%,
        var(--gold-dark) 15%,
        var(--gold-light) 40%,
        #fff 50%,
        var(--gold-light) 60%,
        var(--gold-dark) 85%,
        var(--gold-shadow) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: introTitleIn 1.2s ease-out 1s both, introMetalShimmer 6s ease-in-out 2.5s infinite;
    will-change: background-position;
}

@keyframes introTitleIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes introMetalShimmer {
    0%   { background-position: 100% center; }
    50%  { background-position: -100% center; }
    100% { background-position: 100% center; }
}

.intro-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0.5rem auto 1rem;
    animation: introLineGrow 1s ease-out 1.5s forwards;
}

@keyframes introLineGrow {
    to { width: 120px; }
}

.intro-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: var(--white-dark);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0;
    transform: translateY(15px);
    animation: introTextUp 0.8s ease-out 1.8s forwards;
}

@keyframes introTextUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Enter Button ---- */
.intro-enter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding: 0.9rem 2.5rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    opacity: 0;
    transform: translateY(10px);
    animation: introTextUp 0.8s ease-out 2.2s forwards;
    transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.intro-enter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.intro-enter-btn:hover {
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(184, 134, 11, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.intro-enter-btn:hover::before {
    transform: scaleX(1);
}

.intro-enter-btn svg {
    transition: transform 0.3s ease;
}

.intro-enter-btn:hover svg {
    transform: translateX(4px);
}

/* ========================================
   UTILITIES
   ======================================== */

::selection {
    background: var(--gold);
    color: var(--black);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}
