/* ===== CSS Variables ===== */
:root {
    --c-dark: #0c0f1a;
    --c-navy: #131835;
    --c-navy-light: #1a2147;
    --c-gold: #c9a84c;
    --c-gold-light: #e0c06e;
    --c-gold-dark: #a88a35;
    --c-text: #e0e0e0;
    --c-text-muted: #8a8fa8;
    --c-white: #ffffff;
    --c-border: rgba(201, 168, 76, 0.15);
    --c-glass: rgba(19, 24, 53, 0.6);
    --c-glass-border: rgba(201, 168, 76, 0.12);
    --c-accent-blue: #2a4a8a;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.2);
    --gold-glow: 0 0 30px rgba(201, 168, 76, 0.3);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--c-dark);
    color: var(--c-text);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--c-white);
    letter-spacing: -0.02em;
}

h1:focus { outline: none; }

a {
    color: var(--c-gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--c-gold-light);
}

::selection {
    background: var(--c-gold);
    color: var(--c-dark);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.1); }
    50% { box-shadow: 0 0 40px rgba(201, 168, 76, 0.25); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slide-in-left {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-right {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== Scroll Reveal ===== */
.reveal,
.reveal-left,
.reveal-scale {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: opacity, transform;
}

.reveal {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal.visible,
.reveal-left.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: none; }

/* Mobile: disable scroll-reveal to prevent invisible content */
@media (max-width: 991.98px) {
    .reveal,
    .reveal-left,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero h1,
    .hero-badge {
        text-align: right;
    }

    .hero-description {
        text-align: left;
        margin-left: auto;
        max-width: 90%;
    }

    .hero .d-flex.gap-3 {
        justify-content: flex-end;
    }

    .hero-stats {
        justify-content: flex-end;
    }
}

/* ===== Navbar ===== */
/* -- Navbar -- */
.navbar {
    padding: 0.75rem 0;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.45rem 0;
    background: rgba(12, 15, 26, 0.92);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-bottom-color: var(--c-glass-border);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.35), inset 0 -1px 0 rgba(201, 168, 76, 0.06);
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none !important;
    color: var(--c-white) !important;
}

.navbar-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--c-gold);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.navbar-brand:hover .navbar-brand-icon {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.25), rgba(201, 168, 76, 0.1));
    border-color: rgba(201, 168, 76, 0.4);
    transform: scale(1.05);
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.navbar-brand-title {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    transition: color 0.3s ease;
}

.navbar-brand:hover .navbar-brand-title {
    color: var(--c-text);
}

.navbar-brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-gold);
    letter-spacing: 0.01em;
}

/* Nav links */
.nav-link {
    color: rgba(224, 224, 224, 0.7) !important;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link-text {
    position: relative;
    display: inline-block;
}

.nav-link-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-gold);
    border-radius: 1px;
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover {
    color: var(--c-white) !important;
}

.nav-link:hover .nav-link-text::after {
    width: 100%;
}

.nav-link::after {
    display: none;
}

/* Right section */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, transparent, var(--c-border), transparent);
}

.navbar-social {
    display: flex;
    gap: 0.35rem;
}

.navbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.12);
    color: var(--c-text-muted);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar-social a:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: rgba(201, 168, 76, 0.3);
    color: var(--c-gold);
    transform: translateY(-1px);
}

/* CTA phone button */
.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark));
    color: var(--c-dark) !important;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(201, 168, 76, 0.25);
}

.navbar-cta i {
    font-size: 0.85rem;
}

.navbar-cta:hover {
    background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold));
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

/* Hamburger */
.navbar-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.25);
}

.navbar-toggler-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.navbar-toggler-icon {
    display: none !important;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--c-dark) 0%, var(--c-navy) 40%, #0d1530 100%);
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, rgba(42, 74, 138, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, rgba(42, 74, 138, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-dot-grid {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(201, 168, 76, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--c-border);
    background: var(--c-glass);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    color: var(--c-gold);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--c-text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stat {
    text-align: center;
    position: relative;
}

.hero-stat + .hero-stat::before {
    content: '';
    position: absolute;
    left: -1.25rem;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--c-gold), transparent);
    opacity: 0.4;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--c-gold);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

.hero-photo-wrapper {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-photo-frame {
    position: relative;
    width: 380px;
    height: 480px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--c-border);
    background: var(--c-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo-placeholder {
    font-size: 8rem;
    color: var(--c-gold);
    opacity: 0.15;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: inherit;
}

.hero-photo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(12, 15, 26, 0.8) 100%);
    pointer-events: none;
}

.hero-photo-decor {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    border-top: 2px solid var(--c-gold);
    border-right: 2px solid var(--c-gold);
    border-radius: 0;
    opacity: 0.4;
}

.hero-photo-decor-bottom {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    border-bottom: 2px solid var(--c-gold);
    border-left: 2px solid var(--c-gold);
    opacity: 0.4;
}

/* ===== Section common ===== */
section {
    padding: 6rem 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-gold);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--c-white);
    text-shadow: 0 0 40px rgba(201, 168, 76, 0.1);
}

.section-subtitle {
    color: var(--c-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 3.5rem;
}

.section-subtitle.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--c-gold), transparent);
    margin-bottom: 2rem;
}

/* ===== SVG Wave Dividers ===== */
.section-wave {
    display: block;
    width: 100%;
    height: 50px;
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
}

.section-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===== Specialization ===== */
.spec-section {
    background: var(--c-navy);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-border);
    background: rgba(201, 168, 76, 0.02);
    transition: all var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.spec-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--c-gold);
    border-right: 2px solid var(--c-gold);
    opacity: 0;
    transition: opacity var(--transition);
}

.spec-item:hover {
    background: rgba(201, 168, 76, 0.05);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateX(8px);
}

.spec-item:hover::after {
    opacity: 0.5;
}

.spec-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    font-size: 1.1rem;
    transition: all var(--transition);
}

.spec-item:hover .spec-item-icon {
    background: var(--c-gold);
    color: var(--c-dark);
}

.spec-item-text {
    font-weight: 500;
    color: var(--c-text);
    font-size: 0.95rem;
}

.spec-item-desc {
    font-size: 0.82rem;
    color: var(--c-text-muted);
    margin-top: 0.35rem;
    line-height: 1.45;
}

/* ===== Services ===== */
.services-section {
    background: var(--c-dark);
}

.service-card {
    position: relative;
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light), var(--c-gold));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--c-gold-dark);
    box-shadow: var(--shadow-gold), inset 0 0 30px rgba(201, 168, 76, 0.03);
}

.service-card:hover::before {
    opacity: 1;
    animation: shimmer 2s linear infinite;
}

.service-card-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.04));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: all var(--transition);
}

.service-card:hover .service-card-number {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.08));
    -webkit-background-clip: text;
    background-clip: text;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(201, 168, 76, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--c-gold);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}

.service-card:hover .service-card-icon {
    background: var(--c-gold);
    color: var(--c-dark);
    transform: scale(1.05);
}

.service-card h5 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--c-white);
}

.service-card p {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

.service-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-gold);
}

/* ===== Stats ===== */
.stats-section {
    background: var(--c-navy);
    padding: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    transition: all var(--transition);
    position: relative;
    background: rgba(201, 168, 76, 0.02);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, var(--c-gold), transparent, var(--c-gold));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-card:hover {
    background: rgba(201, 168, 76, 0.05);
    box-shadow: var(--gold-glow);
    transform: translateY(-4px);
}

.stat-card:hover::before {
    opacity: 1;
    animation: gradient-shift 3s ease infinite;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    transition: all var(--transition);
}

.stat-card:hover .stat-value {
    animation: shimmer 2s linear infinite;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== CTA / Contact ===== */
.cta-section {
    background: linear-gradient(160deg, var(--c-dark) 0%, var(--c-navy) 50%, #0d1530 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-form-card {
    background: var(--c-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--c-glass-border);
    border-radius: var(--radius);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    transition: box-shadow var(--transition);
}

.contact-form-card:hover,
.contact-form-card:focus-within {
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.15);
}

.contact-form-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.contact-form-divider span {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}

.contact-form-divider span:nth-child(2) {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-gold);
    opacity: 0.5;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--c-white);
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.form-control::placeholder {
    color: var(--c-text-muted);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--c-gold);
    color: var(--c-white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15), 0 0 20px rgba(201, 168, 76, 0.08);
}

.form-control:disabled {
    opacity: 0.5;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* ===== Buttons ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
    color: var(--c-dark);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--c-dark);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold--cta {
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.btn-gold--cta:hover {
    box-shadow: 0 4px 30px rgba(201, 168, 76, 0.35);
}

.btn-outline-gold {
    background: transparent;
    color: var(--c-gold);
    border: 1px solid var(--c-gold);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.btn-outline-gold:hover {
    background: var(--c-gold);
    color: var(--c-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-border);
    background: var(--c-glass);
    color: var(--c-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.btn-social:hover {
    border-color: var(--c-gold);
    color: var(--c-gold);
    transform: translateY(-2px);
}

.btn-social i {
    font-size: 1.15rem;
}

/* ===== Success message ===== */
.success-card {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
}

.success-card .bi-check-circle {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* ===== Footer ===== */
footer {
    background: var(--c-dark);
    border-top: none;
    padding: 3rem 0 1.5rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-gold), var(--c-gold-light), var(--c-gold), transparent);
    opacity: 0.4;
}

footer a {
    color: var(--c-text-muted);
    text-decoration: none;
    transition: color var(--transition), text-shadow var(--transition);
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--c-gold);
    text-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--c-white);
    font-weight: 600;
}

.footer-divider {
    border-top: 1px solid var(--c-border);
    margin: 1.5rem 0;
}

.footer-bottom {
    font-size: 0.8rem;
    color: var(--c-text-muted);
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--c-dark);
}

.faq-item {
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--c-gold), var(--c-gold-light));
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

.faq-item[open] {
    border-color: var(--c-gold-dark);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.08);
}

.faq-item[open]::before {
    opacity: 1;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--c-white);
    background: var(--c-navy);
    list-style: none;
    transition: background var(--transition), color var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: var(--c-navy-light);
    color: var(--c-gold);
}

.faq-chevron {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--c-gold);
    transition: transform var(--transition);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.25rem 1.5rem;
    background: rgba(19, 24, 53, 0.4);
    color: var(--c-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    border-top: 1px solid var(--c-border);
    animation: fadeInUp 0.3s ease-out;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--c-white);
}

.faq-answer a {
    color: var(--c-gold);
}

.faq-answer p,
.faq-answer ol,
.faq-answer ul,
.faq-answer li,
.faq-answer td,
.faq-answer tr,
.faq-answer table {
    color: inherit;
}

.faq-answer ol, .faq-answer ul {
    padding-left: 1.25rem;
}

.faq-answer li {
    margin-bottom: 0.4rem;
}

.faq-table {
    --bs-table-color: var(--c-text);
    --bs-table-bg: transparent;
    color: var(--c-text);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.faq-table th {
    background: var(--c-navy);
    color: var(--c-gold);
    border-color: var(--c-border);
    font-weight: 600;
}

.faq-table td {
    border-color: var(--c-border);
    background: transparent;
    color: var(--c-text);
}

/* ===== Back to Top Button ===== */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--c-glass-border);
    background: var(--c-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--c-gold);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: var(--c-gold);
    color: var(--c-dark);
    border-color: var(--c-gold);
    transform: translateY(-4px);
    box-shadow: var(--gold-glow);
}

/* ===== Responsive ===== */

/* -- Tablet (<=991px) -- */
@media (max-width: 991.98px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 3rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-photo-frame {
        width: 280px;
        height: 360px;
        margin-top: 3rem;
    }

    /* Mobile navbar collapse menu */
    .navbar-collapse {
        background: rgba(12, 15, 26, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid var(--c-glass-border);
        border-top: none;
        border-radius: 0 0 var(--radius) var(--radius);
        padding: 0.75rem;
        margin-top: 0.5rem;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }

    .navbar-nav {
        gap: 0.15rem;
    }

    .nav-link {
        padding: 0.7rem 1rem !important;
        border-radius: var(--radius-sm);
        font-size: 0.85rem !important;
    }

    .nav-link:hover,
    .nav-link:active {
        background: rgba(201, 168, 76, 0.08);
    }

    .nav-link-text::after {
        display: none;
    }

    .navbar-right {
        border-top: 1px solid var(--c-border);
        margin-top: 0.6rem;
        padding-top: 0.75rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .navbar-right .navbar-cta {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .hero-dot-grid {
        display: none;
    }
}

/* (toggler styles moved to navbar section above) */

/* -- Mobile (<=767px) -- */
@media (max-width: 767.98px) {
    section {
        padding: 3.5rem 0;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 2.5rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.25rem;
        margin-top: 2rem;
        justify-content: center;
    }

    .hero-stat {
        min-width: 80px;
    }

    .hero-stat-value {
        font-size: 1.75rem;
    }

    .hero-stat + .hero-stat::before {
        display: none;
    }

    .hero-dot-grid {
        display: none;
    }

    /* Hero buttons */
    .hero .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Section headers */
    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .section-label {
        font-size: 0.7rem;
    }

    /* SVG Waves */
    .section-wave {
        height: 25px;
    }

    /* Spec items */
    .spec-item {
        padding: 1rem 1.15rem;
    }

    .spec-item-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .spec-item-text {
        font-size: 0.9rem;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem;
    }

    .service-card-number {
        font-size: 2.5rem;
    }

    .service-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .service-card h5 {
        font-size: 1.1rem;
    }

    /* Stats */
    .stats-section {
        padding: 3rem 0;
    }

    .stat-card {
        padding: 1.25rem 0.75rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* FAQ */
    .faq-question {
        padding: 1rem 1.15rem;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 1rem 1.15rem;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* FAQ table: horizontal scroll on small screens */
    .faq-answer .table-responsive-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .faq-table {
        font-size: 0.8rem;
        min-width: 400px;
    }

    .faq-table th,
    .faq-table td {
        padding: 0.5rem 0.6rem;
        white-space: nowrap;
    }

    /* Contact form */
    .contact-form-card {
        padding: 1.75rem 1.25rem;
    }

    .contact-form-divider span {
        width: 25px;
    }

    .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .btn-social {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        flex: 1 1 auto;
        justify-content: center;
    }

    /* Footer */
    .footer-brand {
        text-align: center;
        margin-bottom: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        font-size: 0.75rem;
    }

    .footer-bottom .d-flex.gap-3 {
        justify-content: center;
    }

    footer {
        padding: 2rem 0 1.25rem;
    }

    /* Back to top */
    #backToTop {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 1.25rem;
        right: 1.25rem;
    }
}

/* -- Very small screens (<=480px) -- */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.04em;
    }

    .service-card h5 {
        font-size: 1rem;
    }

    .faq-question {
        font-size: 0.85rem;
    }

    .btn-social {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ===== Blazor system ===== */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ===== App Loading Screen ===== */
.app-loading {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0c0f1a;
    z-index: 9999;
    animation: appLoadFadeIn 0.3s ease-out;
}

@keyframes appLoadFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.app-loading-logo {
    animation: appLoadFloat 2.4s ease-in-out infinite;
}

@keyframes appLoadFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.app-loading-scales {
    display: block;
    filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.3));
}

.app-loading-pan-left {
    animation: appLoadSwingLeft 1.8s ease-in-out infinite;
    transform-origin: 12px 20px;
}

.app-loading-pan-right {
    animation: appLoadSwingRight 1.8s ease-in-out infinite;
    transform-origin: 52px 20px;
}

@keyframes appLoadSwingLeft {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(-8deg); }
}

@keyframes appLoadSwingRight {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(8deg); }
}

.app-loading-brand {
    margin-top: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #c9a84c;
    letter-spacing: 0.02em;
    text-align: center;
    opacity: 0;
    animation: appLoadTextIn 0.6s ease-out 0.2s forwards;
}

@keyframes appLoadTextIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.app-loading-bar-track {
    margin-top: 1.5rem;
    width: 200px;
    height: 3px;
    background: rgba(201, 168, 76, 0.15);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: appLoadTextIn 0.6s ease-out 0.4s forwards;
}

.app-loading-bar-fill {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #c9a84c, #e0c06e);
    border-radius: 2px;
    animation: appLoadBar 1.4s ease-in-out infinite;
}

@keyframes appLoadBar {
    0%   { width: 0%; margin-left: 0; }
    50%  { width: 60%; margin-left: 20%; }
    100% { width: 0%; margin-left: 100%; }
}

.app-loading-text {
    margin-top: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #8a8fa8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    animation: appLoadTextIn 0.6s ease-out 0.5s forwards, appLoadPulse 2s ease-in-out 1s infinite;
}

@keyframes appLoadPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}
