:root {
    --bg-deep: #050711;
    --bg-soft: #0b0f1d;
    --bg-card: #101427;
    --bg-card-soft: #151a30;
    --gold: #d4af37;
    --gold-soft: #b89530;
    --text-main: #f4f4f7;
    --text-sub: #a9aec4;
    --accent: #4b5cff;
    --danger: #ff4b81;

    --radius-lg: 28px;
    --radius-md: 20px;

    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.75);
    --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.4);

    --font-heading: "Playfair Display", serif;
    --font-body: "Montserrat", sans-serif;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #000;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background layers */
.site-bg {
    position: fixed;
    inset: -50px;
    background:
        radial-gradient(circle at 10% 0%, rgba(212, 175, 55, 0.15), transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(86, 90, 255, 0.22), transparent 55%),
        radial-gradient(circle at 50% 120%, rgba(212, 175, 55, 0.12), transparent 60%),
        radial-gradient(circle at -20% 80%, rgba(0, 0, 0, 0.85), rgba(5, 7, 17, 1));
    background-color: var(--bg-deep);
    z-index: -3;
    animation: bg-drift 40s ease-in-out infinite alternate;
}

@keyframes bg-drift {
    0% {
        transform: translate3d(0, 0, 0);
        filter: saturate(1);
    }
    50% {
        transform: translate3d(-20px, -20px, 0);
        filter: saturate(1.15);
    }
    100% {
        transform: translate3d(10px, 25px, 0);
        filter: saturate(1.05);
    }
}

/* Shooting star */
.shooting-star {
    position: fixed;
    top: -40px;
    left: -120px;
    width: 220px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.8), rgba(212,175,55,0.0));
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    filter: blur(0.5px);
    animation: shooting 9s linear infinite;
}

@keyframes shooting {
    0% {
        opacity: 0;
        transform: translate3d(-40px, -10px, 0) rotate(8deg);
    }
    5% {
        opacity: 1;
    }
    22% {
        transform: translate3d(640px, 260px, 0) rotate(8deg);
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: translate3d(640px, 260px, 0) rotate(8deg);
    }
}

/* Layout helpers */

.container {
    width: min(1120px, 100% - 40px);
    margin-inline: auto;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.section-header.narrow {
    max-width: 540px;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-soft);
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.section-sub {
    color: var(--text-sub);
    line-height: 1.6;
}

/* Header / nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(5, 7, 17, 0.9), rgba(5, 7, 17, 0.6), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-gold);
}

.nav-brand {
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sub);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-cta {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.7);
    background: radial-gradient(circle at 0% 0%, rgba(255,255,255,0.35), transparent 60%), linear-gradient(135deg, #f7e39a, #d4af37);
    color: #1a1205;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.nav-cta:hover {
    filter: brightness(1.05);
}

/* Mobile nav */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: #f9f9fb;
}

/* Hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
    padding: 80px 0 60px;
}

.hero-text {
    max-width: 540px;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-bottom: 12px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero-sub {
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    color: var(--text-sub);
    opacity: 0.9;
}

/* Buttons */

.btn-primary,
.btn-ghost,
.btn-modal,
.btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
    background: radial-gradient(circle at 0% 0%, rgba(255,255,255,0.35), transparent 60%), linear-gradient(135deg, #f6e29b, #d4af37);
    color: #1b1306;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.55);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(212, 175, 55, 0.7);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 12, 24, 0.7);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(15, 20, 42, 0.95);
}

.btn-inline {
    margin-top: 18px;
}

/* Hero orbit */

.hero-orbit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.orbit-outer {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08), rgba(5, 7, 17, 0.8));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.orbit-ring {
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    animation: ring-pulse 13s linear infinite;
}

.ring-2 {
    inset: 44px;
    opacity: 0.65;
    animation-duration: 18s;
}

.ring-3 {
    inset: 68px;
    opacity: 0.4;
    animation-duration: 24s;
}

@keyframes ring-pulse {
    0% {
        transform: scale(0.98);
    }
    50% {
        transform: scale(1.01);
    }
    100% {
        transform: scale(0.98);
    }
}

.orbit-center {
    position: absolute;
    inset: 96px;
    border-radius: 36px;
    background: radial-gradient(circle at 30% 0%, rgba(255,255,255,0.6), rgba(250, 226, 167, 0.2), rgba(10, 10, 18, 0.96));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.orbit-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 0%, rgba(255,255,255,0.9), rgba(255,255,255,0));
    opacity: 0.85;
    filter: blur(3px);
}

.orbit-logo {
    position: relative;
    width: 94px;
    height: 94px;
    border-radius: 32px;
    object-fit: contain;
    background: #000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 18px rgba(255,255,255,0.85);
}

.dot-1 {
    top: 24px;
    left: 48%;
    animation: orbit-dot-1 14s linear infinite;
}

.dot-2 {
    bottom: 24px;
    left: 20%;
    animation: orbit-dot-2 16s linear infinite;
}

.dot-3 {
    bottom: 24px;
    right: 18%;
    animation: orbit-dot-3 19s linear infinite;
}

@keyframes orbit-dot-1 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(70px, 40px); }
    50% { transform: translate(20px, 120px); }
    75% { transform: translate(-40px, 70px); }
    100% { transform: translate(0, 0); }
}

@keyframes orbit-dot-2 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(80px, -30px); }
    50% { transform: translate(110px, -110px); }
    75% { transform: translate(-10px, -60px); }
    100% { transform: translate(0, 0); }
}

@keyframes orbit-dot-3 {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-40px, -80px); }
    50% { transform: translate(-110px, -30px); }
    75% { transform: translate(-60px, 60px); }
    100% { transform: translate(0, 0); }
}

.orbit-caption {
    margin-top: 20px;
    text-align: center;
    color: var(--text-sub);
    font-size: 0.9rem;
    max-width: 320px;
}

/* Staff section */

.staff-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: center;
    padding: 70px 0 40px;
}

.staff-card {
    display: flex;
    justify-content: center;
}

.staff-image-wrap {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    max-width: 420px;
    box-shadow: var(--shadow-soft);
    background: radial-gradient(circle at 0 0, rgba(212,175,55,0.3), transparent 60%), #020309;
}

.staff-image {
    width: 100%;
    display: block;
}

.staff-shimmer {
    position: absolute;
    inset: -40%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: translateX(-60%);
    mix-blend-mode: screen;
    animation: staff-shimmer 9s ease-in-out infinite;
}

@keyframes staff-shimmer {
    0% { transform: translateX(-80%) translateY(0); opacity: 0; }
    10% { opacity: 1; }
    40% { transform: translateX(40%) translateY(6%); opacity: 0; }
    100% { opacity: 0; transform: translateX(40%) translateY(6%); }
}

.staff-copy h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
}

.staff-copy p {
    color: var(--text-sub);
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.service-card {
    background: radial-gradient(circle at top left, rgba(212,175,55,0.12), transparent 65%), radial-gradient(circle at bottom right, rgba(86, 90, 255, 0.18), transparent 70%), linear-gradient(145deg, #070915, #11162a);
    border-radius: var(--radius-lg);
    padding: 22px 22px 26px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.55);
}

.service-pill {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.78rem;
    color: var(--text-sub);
    margin-bottom: 20px;
    background: rgba(5, 7, 17, 0.85);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-sub);
    line-height: 1.7;
}

/* Center button */
.service-more {
    margin: 24px auto 0;
    min-width: 190px;
    justify-content: center;
    background: transparent;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-main);
    padding: 10px 22px;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    cursor: pointer;
    display: inline-flex;
    position: relative;
    overflow: hidden;
}

.service-more::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.35), rgba(212,175,55,0.65));
    transform: translateX(-110%);
    transition: transform 0.28s ease;
    z-index: -1;
}

.service-more:hover::before {
    transform: translateX(0);
}

.service-more:hover {
    color: #1a1205;
    box-shadow: var(--shadow-gold);
}

/* Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.step-card {
    background: linear-gradient(145deg, #070915, #10152a);
    border-radius: var(--radius-md);
    padding: 22px 20px 26px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 18px 42px rgba(0,0,0,0.7);
    position: relative;
    overflow: hidden;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-sub);
    line-height: 1.6;
}

/* Cases */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.case-card {
    background: linear-gradient(145deg, #070915, #12172a);
    border-radius: var(--radius-md);
    padding: 24px 22px 26px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.case-tag {
    display: inline-flex;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-sub);
    margin-bottom: 14px;
}

.case-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.case-card p {
    color: var(--text-sub);
    line-height: 1.7;
}

/* About */

.about-section {
    padding-bottom: 40px;
}

.about-copy {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.about-copy p {
    color: var(--text-sub);
    margin-bottom: 10px;
}

/* Book section */

.book-section {
    padding-bottom: 90px;
}

.calendly-wrap {
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(145deg, #070915, #11162a);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.06);
}

.calendly-wrap iframe {
    width: 100%;
    min-height: 540px;
}

/* Service details modal */

.service-details {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(6,8,19,0.92), rgba(4,5,11,0.96));
    backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 60;
}

.service-details.is-visible {
    opacity: 1;
    visibility: visible;
}

.service-details-inner {
    max-width: 520px;
    width: 100%;
    background: #060813;
    border-radius: 24px;
    padding: 28px 26px 26px;
    border: 1px solid rgba(212,175,55,0.5);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.service-details-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1rem;
}

.service-details-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 12px;
    padding-right: 32px;
}

.service-details-inner ul {
    list-style: disc;
    padding-left: 18px;
    color: var(--text-sub);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.btn-modal {
    width: 100%;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0 24px;
    background: radial-gradient(circle at top, rgba(0,0,0,0.7), rgba(0,0,0,1));
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 0.8rem;
    color: var(--text-sub);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 26px;
    height: 26px;
    border-radius: 10px;
    box-shadow: var(--shadow-gold);
}

.footer-brand {
    font-weight: 600;
}

.footer-meta {
    opacity: 0.8;
}

/* Reveal animation */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */

@media (max-width: 960px) {
    .hero {
        grid-template-columns: minmax(0,1fr);
        padding-top: 72px;
    }

    .hero-orbit {
        order: -1;
        margin-bottom: 8px;
    }

    .staff-section {
        grid-template-columns: minmax(0,1fr);
        gap: 28px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cases-grid {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width: 720px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset-inline: 0;
        top: 56px;
        background: rgba(3, 5, 14, 0.97);
        flex-direction: column;
        padding: 18px 20px 18px;
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .nav-links.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .services-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .steps-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .calendly-wrap iframe {
        min-height: 620px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

