@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ==========================================================================
   GLOBAL VARIABLES & LUXURY TOKENS
   ========================================================================== */
:root {
    --bg-onyx: #0a0a0a;
    --bg-charcoal: #121212;
    --bg-glass: rgba(255, 255, 255, 0.02);

    --text-pearl: #FDFDFD;
    --text-muted: #A0A0A0;

    --gold-primary: #D4AF37;
    /* Champagne Gold */
    --gold-hover: #F3E5AB;
    --gold-dim: rgba(212, 175, 55, 0.15);

    --border-thin: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(212, 175, 55, 0.3);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --header-height: 90px;

    --ease-cinematic: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 1.2s var(--ease-cinematic);
    --transition-med: 0.6s var(--ease-cinematic);
    --transition-fast: 0.3s ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom trailing cursor */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-onyx);
    color: var(--text-pearl);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================================================================
   LUXURY TRAILING CURSOR
   ========================================================================== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s, height 0.3s;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.4s, height 0.4s, background 0.4s;
    transition-timing-function: var(--ease-cinematic);
}

.cursor-hover .cursor-dot {
    width: 0;
    height: 0;
}

.cursor-hover .cursor-ring {
    width: 70px;
    height: 70px;
    background: var(--gold-dim);
    border-color: var(--gold-hover);
    backdrop-filter: blur(2px);
}

/* ==========================================================================
   STRICT IDENTICAL GLOBAL HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    z-index: 9000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-thin);
    transition: transform var(--transition-med);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.logo-container img {
    height: 50px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 45px;
}

.nav-links li a {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-pearl);
    position: relative;
    padding-bottom: 6px;
    transition: color var(--transition-fast);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width var(--transition-fast), left var(--transition-fast);
}

.nav-links li a:hover {
    color: var(--gold-hover);
}

.nav-links li a:hover::after {
    width: 100%;
    left: 0;
}

.header-cta {
    padding: 12px 28px;
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
    z-index: -1;
}

.header-cta:hover {
    color: var(--bg-onyx);
}

.header-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* ==========================================================================
   GLOBAL CINEMATIC ANIMATIONS
   ========================================================================== */
.reveal-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-cinematic), transform 1s var(--ease-cinematic);
}

.reveal-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    overflow: hidden;
    display: block;
}

.reveal-text span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.2s var(--ease-cinematic);
}

.reveal-text.is-visible span {
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Luxury Button */
.btn-luxury {
    display: inline-block;
    padding: 18px 45px;
    background: var(--gold-primary);
    color: var(--bg-onyx);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-luxury:hover {
    background: var(--gold-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   INDEX SECTIONS
   ========================================================================== */
section {
    padding: 120px 6%;
    position: relative;
}

/* 1. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 70% 30%, var(--gold-dim), transparent 50%);
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    margin-bottom: 30px;
    max-width: 1100px;
    color: var(--text-pearl);
}

.hero h1 i {
    color: var(--gold-primary);
    font-style: italic;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 550px;
    line-height: 1.8;
    margin-bottom: 50px;
}

/* 2. Marquee */
.luxury-marquee {
    padding: 30px 0;
    border-top: 1px solid var(--border-thin);
    border-bottom: 1px solid var(--border-thin);
    overflow: hidden;
    display: flex;
    background: var(--bg-charcoal);
}

.marquee-inner {
    display: flex;
    gap: 100px;
    animation: marquee-scroll 25s linear infinite;
    white-space: nowrap;
}

.marquee-inner span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--text-muted);
    opacity: 0.6;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 3. About / Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-image {
    width: 100%;
    height: 600px;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-gold);
    position: relative;
    overflow: hidden;
}

.philosophy-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--gold-dim), transparent);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }

    100% {
        transform: translateX(100%) translateY(100%);
    }
}

/* 4. 3D Services Array */
.services-container {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    perspective: 1000px;
}

.service-card-3d {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-thin);
    padding: 60px 40px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease, border-color var(--transition-fast);
}

.service-card-3d:hover {
    border-color: var(--gold-primary);
}

.service-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 30px;
    transform: translateZ(40px);
}

.service-card-3d h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    transform: translateZ(30px);
}

.service-card-3d p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    transform: translateZ(20px);
}

/* 5. Interactive Campaign Analytics */
.analytics-wrapper {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-thin);
    padding: 80px;
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.stat-item h4 {
    font-size: 4.5rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
    font-style: italic;
}

.stat-item p {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chart-visual {
    position: relative;
    height: 350px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.bar-wrap {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.bar {
    width: 100%;
    background: linear-gradient(to top, transparent, var(--gold-primary));
    height: 0;
    /* animated */
    transition: height 1.5s var(--ease-cinematic);
    border-top: 2px solid var(--gold-primary);
}

.bar-label {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-muted);
}

/* 6. Bespoke ROI Calculator */
.calc-module {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 60px;
    border: 1px solid var(--border-gold);
    background: radial-gradient(circle at top right, var(--gold-dim), transparent 60%);
}

.luxury-slider-wrap {
    margin-bottom: 50px;
}

.luxury-slider-wrap label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

input[type=range].luxury-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 1px;
    background: var(--border-gold);
    outline: none;
}

input[type=range].luxury-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--bg-onyx);
    border: 2px solid var(--gold-primary);
    transform: rotate(45deg);
    transition: transform 0.2s;
}

input[type=range].luxury-slider::-webkit-slider-thumb:hover {
    transform: rotate(45deg) scale(1.3);
    background: var(--gold-primary);
}

.calc-output {
    text-align: center;
    border-top: 1px solid var(--border-thin);
    padding-top: 50px;
}

.calc-output p {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.calc-output h3 {
    font-size: 5rem;
    color: var(--gold-primary);
    font-style: italic;
}

/* 7. Industries List */
.industry-row {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-thin);
    transition: padding var(--transition-med);
    cursor: none;
}

.industry-row:hover {
    padding: 40px 20px;
    background: var(--bg-charcoal);
}

.industry-row h3 {
    font-size: 2.5rem;
    transition: color var(--transition-fast);
}

.industry-row:hover h3 {
    color: var(--gold-primary);
    font-style: italic;
}

.industry-row span {
    color: var(--text-muted);
    font-family: var(--font-body);
    align-self: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* 8. Testimonials */
.testimonial-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--gold-dim);
    line-height: 0;
    margin-bottom: 40px;
}

.testimonial-box p {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-box h5 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gold-primary);
}

/* 9. Live Concierge CTA */
.concierge-cta {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-gold);
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.concierge-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--gold-dim), transparent 70%);
    opacity: 0.5;
}

/* ==========================================================================
   STRICT IDENTICAL GLOBAL FOOTER
   ========================================================================== */
.site-footer {
    background: #050505;
    padding: 100px 6% 40px;
    border-top: 1px solid var(--border-thin);
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 30px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 350px;
    line-height: 1.8;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-primary);
    margin-bottom: 30px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--text-pearl);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-thin);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   LEGAL & CONTACT PAGES
   ========================================================================== */
.inner-hero {
    padding: 200px 6% 100px;
    text-align: center;
    border-bottom: 1px solid var(--border-thin);
    background: radial-gradient(circle at top, var(--bg-charcoal), var(--bg-onyx));
}

.inner-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 20px;
    font-style: italic;
}

.inner-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-document {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 6%;
}

.legal-document h2 {
    font-size: 2rem;
    margin: 60px 0 30px;
    color: var(--gold-primary);
}

.legal-document p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 25px;
}

/* Luxury Contact Form */
.contact-layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 6%;
}

.contact-details h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--gold-primary);
    font-style: italic;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-item p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.luxury-form {
    background: var(--bg-charcoal);
    padding: 60px;
    border: 1px solid var(--border-thin);
}

.form-field {
    margin-bottom: 40px;
    position: relative;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-thin);
    padding: 15px 0;
    color: var(--text-pearl);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: var(--gold-primary);
}

.form-field label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.form-field input:focus~label,
.form-field input:valid~label,
.form-field textarea:focus~label,
.form-field textarea:valid~label {
    top: -15px;
    font-size: 0.75rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {

    .philosophy-grid,
    .analytics-wrapper,
    .contact-layout-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .luxury-form {
        padding: 40px 20px;
    }
}