/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --bg-dark: #0A0A0A;
    --bg-darker: #050505;
    --bg-card: #141414;
    --gold: #C9A84C;
    --gold-hover: #D8B75B;
    --gold-dark: #A68632;
    --text-light: #F5F0E8;
    --text-muted: #A0A0A0;

    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1280px;
    --header-height: 90px;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================================
   TYPOGRAPHY & UTILITIES
   ========================================= */
.section-title {
    font-size: 3.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 4rem;
}

.gold-text {
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 168, 76, 0.2);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

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

.btn-gold-pulse {
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    position: relative;
}

.btn-gold-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--gold);
    animation: pulse 2s infinite;
}

.btn-gold-pulse:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

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

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 70px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--gold);
}

.logo span {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 5px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 4px;
}

.logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger .bar {
    width: 30px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.05);
    /* hide blur edges */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 6vw;
    line-height: 1;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.hero-title .word {
    color: var(--gold);
    opacity: 0;
    /* for GSAP */
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #D3D3D3;
    margin-bottom: 3rem;
    opacity: 0;
    /* for GSAP */
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    /* for GSAP */
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    /* for GSAP */
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background-color: var(--gold);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    background-color: var(--bg-darker);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* =========================================
   PHILOSOPHY
   ========================================= */
.philosophy {
    padding: 10rem 0;
    background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
}

.quote-container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.philosophy-quote {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    color: var(--gold);
    line-height: 1.4;
    margin: 3rem 0;
}

.gold-line {
    width: 2px;
    height: 80px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* =========================================
   SERVICES
   ========================================= */
.services {
    padding: 8rem 0;
}

.services-track {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.service-card {
    flex: 1;
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.2) 100%);
    transition: var(--transition-smooth);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 2;
    transition: var(--transition-smooth);
    transform: translateY(20px);
}

.service-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.service-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.service-card:hover {
    background-size: 110%;
    /* zoom effect */
}

.service-card:hover .service-overlay {
    background: rgba(10, 10, 10, 0.8);
    /* darkens */
}

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-card:hover .service-icon,
.service-card:hover .service-desc {
    opacity: 1;
    transform: translateY(0);
}

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

.teaser-card {
    background: var(--bg-card);
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.teaser-card .service-overlay {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.center-content {
    text-align: center;
    transform: translateY(0);
}

.teaser-name {
    margin-bottom: 2rem;
}

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-choose-us {
    padding: 8rem 0;
    background-color: var(--bg-darker);
    position: relative;
    background-image: radial-gradient(circle at center, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 3rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.animated-border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: var(--gold);
    width: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover .animated-border {
    width: 100%;
}

/* =========================================
   ENGAGEMENTS
   ========================================= */
.engagements {
    padding: 8rem 0;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-icon {
    color: var(--gold);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.accordion-content p,
.values-list {
    padding-bottom: 2rem;
    padding-left: 3rem;
}

.values-list ul {
    list-style: none;
}

.values-list li {
    margin-bottom: 0.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* =========================================
   PORTFOLIO
   ========================================= */
.portfolio {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 2rem;
}

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

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

.project-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    transform: translateY(-20px);
    transition: var(--transition-smooth);
}

.project-cat {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    transform: translateY(-20px);
    transition: var(--transition-smooth);
    transition-delay: 0.05s;
}

.portfolio-item .btn {
    transform: translateY(20px);
    transition: var(--transition-smooth);
    transition-delay: 0.1s;
}

.portfolio-item:hover .project-title,
.portfolio-item:hover .project-cat,
.portfolio-item:hover .btn {
    transform: translateY(0);
}

.portfolio-item.portrait {
    grid-row: span 2;
}

.portfolio-item.landscape {
    grid-column: span 2;
}

/* =========================================
   PROCESS TIMELINE
   ========================================= */
.process {
    padding: 8rem 0;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 3rem 0;
}

.timeline-line {
    position: absolute;
    top: 5rem;
    left: 5%;
    right: 5%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--gold);
    width: 0;
    /* for animation */
    transition: width 1s ease;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}

.step-num {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
}

.timeline-step h4 {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
    background-color: var(--gold);
    padding: 1.5rem 0;
    color: var(--bg-dark);
    overflow: hidden;
}

.trust-track {
    display: flex;
    justify-content: space-around;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-track span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 80%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
}

.contact-link i {
    color: var(--gold);
}

.contact-link:hover {
    color: var(--gold);
}

.btn-whatsapp-cta {
    background-color: transparent;
    border: 1px solid #25D366;
    color: #25D366;
}

.btn-whatsapp-cta:hover {
    background-color: #25D366;
    color: white;
}

.contact-form-container {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.btn-submit {
    margin-top: 1rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--bg-darker);
    position: relative;
}

.footer-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gold);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-links h4,
.footer-socials h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
}

.social-icons a:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* =========================================
   FLOATING TOOLS
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--bg-card);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

/* =========================================
   RESPONSIVE (Mobile First approach adapted for Desktop First)
   ========================================= */
.desktop-only {
    display: inline-flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

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

    .services-track {
        flex-direction: column;
    }

    .service-card {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

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

    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }

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

    .portfolio-grid {
        display: flex;
        flex-direction: column;
    }

    .timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-line {
        display: none;
    }

    .timeline-step {
        width: 100%;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* MODAL DEVIS */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--bg-card);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 4px;
    padding: 3rem;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}