/* ============================================================
   ÉCLAT — Premium Event Management
   High-end interactive experience
   ============================================================ */

/* ---------- Reset & Tokens ---------- */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color system */
    --gold: #c9a35d;
    --gold-bright: #e8c47c;
    --gold-deep: #8b6914;
    --obsidian: #0a0a14;
    --ink: #1a1a2e;
    --night: #14132a;
    --smoke: #2a2940;
    --cream: #f5f1e8;
    --pearl: #faf7f0;
    --text: #e8e6f0;
    --text-dim: rgba(232, 230, 240, 0.65);
    --text-muted: rgba(232, 230, 240, 0.4);

    /* Effects */
    --glow: 0 0 60px rgba(201, 163, 93, 0.4);
    --shadow-soft: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 20px 60px -15px rgba(0, 0, 0, 0.4);
    --radius: 20px;
    --radius-lg: 32px;

    /* Type */
    --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Easing */
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --max: 1400px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    background: var(--obsidian);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none; }
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: none; }

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

/* ---------- Custom Cursor ---------- */
.cursor {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

.cursor-follower {
    position: fixed;
    width: 36px; height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease), height 0.35s var(--ease),
                border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.cursor.hover { width: 0; height: 0; }
.cursor-follower.hover {
    width: 64px; height: 64px;
    background: rgba(201, 163, 93, 0.1);
    border-color: var(--gold-bright);
}

/* ---------- Loading screen ---------- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--obsidian);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}

.loader.done {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--gold);
    letter-spacing: -0.02em;
    overflow: hidden;
}

.loader-text span {
    display: inline-block;
    transform: translateY(100%);
    animation: revealUp 0.8s var(--ease) forwards;
}

.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.3s; }
.loader-text span:nth-child(5) { animation-delay: 0.4s; }
.loader-text span:nth-child(6) { animation-delay: 0.5s; }

.loader-bar {
    width: 200px;
    height: 1px;
    background: rgba(201, 163, 93, 0.2);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform-origin: left;
    animation: loadBar 1.6s var(--ease) forwards;
}

@keyframes revealUp {
    to { transform: translateY(0); }
}

@keyframes loadBar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
    color: var(--pearl);
    letter-spacing: -0.02em;
}

.italic { font-style: italic; }
.text-gradient {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ---------- Layout helpers ---------- */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}

.section {
    padding: 140px 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.section-label::before {
    content: '';
    width: 40px; height: 1px;
    background: var(--gold);
    display: inline-block;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 28px;
    font-weight: 300;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 640px;
    line-height: 1.7;
}

.section-head {
    margin-bottom: 80px;
    max-width: 800px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    border-radius: 100px;
    cursor: none;
    overflow: hidden;
    transition: all 0.5s var(--ease);
    isolation: isolate;
}

.btn .btn-text {
    position: relative;
    z-index: 2;
    transition: transform 0.5s var(--ease);
}

.btn .btn-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.5s var(--ease);
    font-size: 1.2rem;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.btn-primary {
    background: var(--gold);
    color: var(--obsidian);
}

.btn-primary:hover {
    color: var(--obsidian);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
    background: var(--gold-bright);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(6px);
}

.btn-outline {
    background: transparent;
    color: var(--pearl);
    border-color: rgba(232, 230, 240, 0.2);
}

.btn-outline::before {
    background: var(--pearl);
}

.btn-outline:hover {
    color: var(--obsidian);
    border-color: var(--pearl);
}

.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline:hover .btn-arrow {
    transform: translateX(6px);
}

.btn-ghost {
    background: transparent;
    color: var(--gold);
    padding: 14px 0;
    border: none;
}

.btn-ghost::before { display: none; }

.btn-ghost:hover { color: var(--gold-bright); }

.btn-ghost .btn-arrow { transition: transform 0.5s var(--ease); }
.btn-ghost:hover .btn-arrow { transform: translateX(8px); }

/* ---------- Header / Nav ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--ease);
}

.header.scrolled {
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 163, 93, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--pearl);
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    color: var(--obsidian);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
    box-shadow: 0 8px 20px -5px rgba(201, 163, 93, 0.5);
    transform: rotate(-5deg);
    transition: transform 0.5s var(--ease-bounce);
}

.logo:hover .logo-mark {
    transform: rotate(8deg) scale(1.05);
}

.logo-text strong {
    font-weight: 600;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.92rem;
    color: var(--text);
    position: relative;
    transition: color 0.3s var(--ease);
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 4px; height: 4px;
    background: var(--gold);
    border-radius: 50%;
    transition: transform 0.4s var(--ease-bounce);
}

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

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    padding: 12px 24px;
    background: var(--gold);
    color: var(--obsidian);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.4s var(--ease);
}

.nav-cta:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(201, 163, 93, 0.5);
}

.nav-toggle {
    display: none;
    width: 32px; height: 32px;
    background: transparent;
    border: none;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 0; right: 0;
    height: 1.5px;
    background: var(--pearl);
    border-radius: 2px;
    transition: all 0.4s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 10px; }

.nav-toggle.active span:nth-child(1) {
    top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
    bottom: 50%; transform: translateY(50%) rotate(-45deg);
}

/* ---------- Marquee ---------- */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 30px 0;
    border-top: 1px solid rgba(201, 163, 93, 0.15);
    border-bottom: 1px solid rgba(201, 163, 93, 0.15);
    background: linear-gradient(90deg, var(--obsidian), rgba(201, 163, 93, 0.05), var(--obsidian));
    position: relative;
}

.marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(90deg, var(--obsidian), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--obsidian), transparent); }

.marquee-track {
    display: inline-flex;
    gap: 60px;
    animation: marqueeScroll 30s linear infinite;
    align-items: center;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    color: var(--text);
    font-weight: 300;
}

.marquee-item .dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.marquee-item em {
    color: var(--gold);
    font-style: italic;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 80px;
}

#particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(201, 163, 93, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(111, 79, 184, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(201, 163, 93, 0.1) 0%, transparent 60%);
}

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    mix-blend-mode: screen;
    animation: blobFloat 18s ease-in-out infinite;
}

.blob-1 {
    width: 500px; height: 500px;
    background: var(--gold);
    top: -150px; right: -150px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px; height: 400px;
    background: #6f4fb8;
    bottom: -100px; left: -100px;
    animation-delay: -6s;
}

.blob-3 {
    width: 300px; height: 300px;
    background: #c97a5d;
    top: 40%; left: 50%;
    animation-delay: -12s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, -50px) scale(1.1); }
    66% { transform: translate(-60px, 40px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 22px;
    border: 1px solid rgba(201, 163, 93, 0.3);
    border-radius: 100px;
    background: rgba(201, 163, 93, 0.05);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s 0.2s var(--ease) forwards;
}

.hero-eyebrow .pulse-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    position: relative;
}

.hero-eyebrow .pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
    font-size: clamp(3rem, 9vw, 8rem);
    line-height: 0.95;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding: 0.05em 0;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
    animation: wordUp 1s var(--ease) forwards;
}

.hero-title .line:nth-child(1) .word { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) .word:nth-child(1) { animation-delay: 0.4s; }
.hero-title .line:nth-child(2) .word:nth-child(2) { animation-delay: 0.5s; }
.hero-title .line:nth-child(2) .word:nth-child(3) { animation-delay: 0.6s; }

@keyframes wordUp {
    to { transform: translateY(0); }
}

.hero-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 1s 0.8s var(--ease) forwards;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
    opacity: 0;
    animation: fadeUp 1s 1s var(--ease) forwards;
}

/* Floating stats cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 1s 1.2s var(--ease) forwards;
}

.stat-card {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
        rgba(201, 163, 93, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 163, 93, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.stat-card:hover::before { opacity: 1; }

.stat-number {
    display: block;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s 1.4s var(--ease) forwards;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    background-size: 100% 200%;
    animation: scrollLine 2s ease-in-out infinite;
}

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

/* ---------- About ---------- */
.about {
    background: var(--obsidian);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about-img {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 60%, var(--ink) 100%);
    position: relative;
    transition: transform 1s var(--ease);
    transform-style: preserve-3d;
}

.about-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 40%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='50%25'%3E%3Cstop offset='0%25' stop-color='%23e8c47c'/%3E%3Cstop offset='100%25' stop-color='%23c9a35d'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='400' height='500'/%3E%3Ccircle cx='200' cy='200' r='60' fill='%23fff' opacity='0.15'/%3E%3Ccircle cx='280' cy='380' r='40' fill='%231a1a2e' opacity='0.3'/%3E%3Cpath d='M50 500 Q200 350 350 500 Z' fill='%231a1a2e' opacity='0.4'/%3E%3C/svg%3E");
    background-size: cover;
}

.about-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(10, 10, 20, 0.4) 100%);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(201, 163, 93, 0.3);
}

.about-badge-year {
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.about-badge-text {
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}

.about-floating-card {
    position: absolute;
    top: 40px;
    right: -40px;
    background: var(--gold);
    color: var(--obsidian);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px -10px rgba(201, 163, 93, 0.4);
    transform: rotate(8deg);
    transition: transform 0.6s var(--ease-bounce);
}

.about-visual:hover .about-floating-card {
    transform: rotate(0deg) translateY(-8px);
}

.about-floating-card strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.8rem;
    line-height: 1;
}

.about-floating-card span {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 24px;
}

.about-content > p {
    color: var(--text-dim);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.about-features {
    list-style: none;
    margin: 32px 0;
    display: grid;
    gap: 12px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(232, 230, 240, 0.06);
}

.about-features li:last-child { border-bottom: none; }

.feature-icon {
    width: 36px; height: 36px;
    background: rgba(201, 163, 93, 0.1);
    border: 1px solid rgba(201, 163, 93, 0.3);
    color: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.about-features strong {
    display: block;
    color: var(--pearl);
    margin-bottom: 2px;
    font-size: 0.98rem;
}

.about-features span {
    font-size: 0.88rem;
    color: var(--text-dim);
}

/* ---------- Services ---------- */
.services {
    background: linear-gradient(180deg, var(--obsidian) 0%, var(--ink) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 80px;
}

.service-card {
    position: relative;
    padding: 50px 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.6s var(--ease);
    cursor: none;
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
        rgba(201, 163, 93, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 163, 93, 0.25);
    background: linear-gradient(180deg, rgba(201, 163, 93, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 28px;
    display: inline-block;
    transition: transform 0.6s var(--ease-bounce);
}

.service-card:hover .service-icon {
    transform: rotate(-12deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
    transition: color 0.4s var(--ease);
}

.service-card:hover h3 { color: var(--gold); }

.service-card p {
    color: var(--text-dim);
    font-size: 0.96rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.service-tag {
    padding: 5px 12px;
    background: rgba(201, 163, 93, 0.08);
    border: 1px solid rgba(201, 163, 93, 0.15);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.4s var(--ease);
}

.service-link:hover { gap: 14px; }

.service-card .service-link .arrow {
    transition: transform 0.4s var(--ease);
}

.service-link:hover .arrow {
    transform: translateX(4px);
}

/* ---------- Portfolio ---------- */
.portfolio {
    background: var(--obsidian);
    overflow: hidden;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.portfolio-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    background: transparent;
    border: 1px solid rgba(232, 230, 240, 0.1);
    color: var(--text-dim);
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.88rem;
    cursor: none;
    transition: all 0.4s var(--ease);
}

.filter-btn:hover {
    color: var(--pearl);
    border-color: rgba(232, 230, 240, 0.3);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--obsidian);
    border-color: var(--gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: none;
    transition: all 0.6s var(--ease);
    aspect-ratio: 4/3;
}

.portfolio-item.hidden { display: none; }

.portfolio-item.tall { grid-column: span 6; aspect-ratio: 3/4; }
.portfolio-item.wide { grid-column: span 6; aspect-ratio: 16/9; }
.portfolio-item.regular { grid-column: span 4; aspect-ratio: 4/3; }

.portfolio-img {
    position: absolute;
    inset: 0;
    transition: transform 1s var(--ease);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-img.p-1 { background: linear-gradient(135deg, #d4a574, #c9a35d 50%, #8b6914); }
.portfolio-img.p-2 { background: linear-gradient(135deg, #2d3748, #1a202c); }
.portfolio-img.p-3 { background: linear-gradient(135deg, #6f4fb8, #c97a5d); }
.portfolio-img.p-4 { background: linear-gradient(135deg, #5fa8d3, #1a3a52); }
.portfolio-img.p-5 { background: linear-gradient(135deg, #c97a5d, #f4e4c1); }
.portfolio-img.p-6 { background: linear-gradient(135deg, #1a1a2e, #6f4fb8); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 20, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 6px 14px;
    background: rgba(201, 163, 93, 0.15);
    border: 1px solid rgba(201, 163, 93, 0.3);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.portfolio-title {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: var(--pearl);
    margin-bottom: 8px;
}

.portfolio-meta {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.portfolio-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 500;
    transition: gap 0.4s var(--ease);
}

.portfolio-cta .circle {
    width: 32px; height: 32px;
    background: var(--gold);
    color: var(--obsidian);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.4s var(--ease);
}

.portfolio-item:hover .portfolio-cta { gap: 14px; }
.portfolio-item:hover .portfolio-cta .circle {
    transform: rotate(-45deg);
}

/* ---------- Process ---------- */
.process {
    background: var(--ink);
    padding: 140px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12.5%; right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-num {
    width: 60px; height: 60px;
    background: var(--obsidian);
    border: 1px solid rgba(201, 163, 93, 0.3);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.4rem;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--obsidian);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '"';
    position: absolute;
    top: 80px;
    left: 5%;
    font-family: var(--serif);
    font-size: 30rem;
    color: var(--gold);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
}

.testimonial-track {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testimonial-slides {
    display: flex;
    transition: transform 0.8s var(--ease);
}

.testimonial-slide {
    min-width: 100%;
    padding: 60px;
    background: linear-gradient(135deg, rgba(201, 163, 93, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(201, 163, 93, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 28px;
}

.testimonial-quote {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--pearl);
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
}

.testimonial-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--obsidian);
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.av-1 { background: linear-gradient(135deg, #c9a35d, #8b6914); }
.av-2 { background: linear-gradient(135deg, #6f4fb8, #2c1f5e); }
.av-3 { background: linear-gradient(135deg, #c97a5d, #8b3a1d); }
.av-4 { background: linear-gradient(135deg, #5fa8d3, #1a3a52); }

.testimonial-author strong {
    display: block;
    color: var(--pearl);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 30px;
    height: 3px;
    background: rgba(232, 230, 240, 0.15);
    border-radius: 100px;
    cursor: none;
    transition: all 0.4s var(--ease);
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: var(--gold);
    width: 50px;
}

.slider-arrows {
    display: flex;
    gap: 12px;
}

.slider-arrow {
    width: 50px; height: 50px;
    border: 1px solid rgba(232, 230, 240, 0.15);
    background: transparent;
    color: var(--pearl);
    border-radius: 50%;
    cursor: none;
    transition: all 0.4s var(--ease);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--gold);
    color: var(--obsidian);
    border-color: var(--gold);
    transform: scale(1.05);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 100px 0;
    background:
        radial-gradient(ellipse at center, rgba(201, 163, 93, 0.15) 0%, transparent 60%),
        var(--ink);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before, .cta-banner::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.cta-banner::before {
    background: var(--gold);
    top: -200px; left: 10%;
}

.cta-banner::after {
    background: #6f4fb8;
    bottom: -200px; right: 10%;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-inner p {
    color: var(--text-dim);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact {
    background: var(--obsidian);
    padding: 140px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-info > p {
    color: var(--text-dim);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
}

.contact-list li:hover {
    background: rgba(201, 163, 93, 0.05);
    border-color: rgba(201, 163, 93, 0.2);
    transform: translateX(8px);
}

.contact-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(201, 163, 93, 0.15), rgba(201, 163, 93, 0.05));
    border: 1px solid rgba(201, 163, 93, 0.3);
    color: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-list strong {
    display: block;
    color: var(--pearl);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-list span {
    color: var(--text-dim);
    font-size: 0.92rem;
}

.contact-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 50px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }

.form-group label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--pearl);
    transition: all 0.4s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(201, 163, 93, 0.03);
    box-shadow: 0 0 0 4px rgba(201, 163, 93, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--gold);
    min-height: 24px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(201, 163, 93, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about {
    max-width: 320px;
}

.footer-about .logo { margin-bottom: 20px; }

.footer-about p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all 0.4s var(--ease);
    font-size: 1rem;
}

.social-link:hover {
    background: var(--gold);
    color: var(--obsidian);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--pearl);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-family: var(--sans);
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 12px; }

.footer ul a {
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: color 0.3s var(--ease);
}

.footer ul a:hover { color: var(--gold); }

.newsletter p {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: var(--pearl);
    font-family: inherit;
    font-size: 0.92rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter-form button {
    width: 44px; height: 44px;
    background: var(--gold);
    color: var(--obsidian);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.4s var(--ease);
}

.newsletter-form button:hover {
    background: var(--gold-bright);
    transform: scale(1.05);
}

.newsletter-msg {
    color: var(--gold);
    font-size: 0.82rem;
    min-height: 18px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom .legal {
    display: flex;
    gap: 24px;
}

.footer-bottom a:hover { color: var(--gold); }

/* ---------- Floating elements ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px; height: 50px;
    background: var(--gold);
    color: var(--obsidian);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px -8px rgba(201, 163, 93, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) rotate(-45deg);
    transition: all 0.5s var(--ease-bounce);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) rotate(0);
}

.back-to-top:hover {
    background: var(--gold-bright);
    transform: translateY(-4px) rotate(45deg);
}

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .section { padding: 100px 0; }
    .about-grid { gap: 60px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .portfolio-item.tall, .portfolio-item.wide { grid-column: span 6; }
    .portfolio-item.regular { grid-column: span 6; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-grid::before { display: none; }
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 360px;
        height: calc(100vh - 70px);
        background: var(--ink);
        flex-direction: column;
        padding: 50px 30px;
        gap: 30px;
        align-items: flex-start;
        transition: right 0.5s var(--ease);
        border-left: 1px solid rgba(201, 163, 93, 0.1);
    }

    .nav-menu.open { right: 0; }

    .nav-link {
        color: var(--pearl);
        font-size: 1.4rem;
        font-family: var(--serif);
        font-weight: 400;
    }

    .nav-link::after { display: none; }

    .nav-cta { font-size: 1rem; }

    .nav-toggle { display: block; }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-visual { max-width: 480px; margin: 0 auto; }
    .about-floating-card { right: -10px; }

    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .contact-form { padding: 36px 28px; }

    .portfolio-header { flex-direction: column; align-items: flex-start; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .section { padding: 80px 0; }

    .hero { padding: 110px 0 60px; min-height: 90vh; }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .hero-stats { gap: 12px; }
    .stat-card { padding: 20px 12px; }
    .stat-number { font-size: 1.8rem; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row .form-group { margin-bottom: 20px; }

    .testimonial-slide { padding: 36px 24px; }
    .slider-nav { flex-direction: column-reverse; gap: 24px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom .legal { justify-content: center; }

    .contact-form { padding: 28px 20px; }

    .portfolio-item.tall, .portfolio-item.wide, .portfolio-item.regular {
        grid-column: span 12;
    }

    .marquee-item { gap: 30px; font-size: 1.5rem; }
}

@media (max-width: 380px) {
    .hero-title { font-size: 2.5rem; }
    .stat-card { padding: 16px 8px; }
    .stat-number { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}