/* ==========================================================================
   LÚMINA FILMS - QUIET LUXURY DARK MODE DESIGN SYSTEM
   ========================================================================== */

/* --- ROOT VARIABLES & CORE THEME (REVERSED LUXURY DARK DESIGN) --- */
:root {
    --bg-deep: #0c0d0f;       /* Gris Carbón Oscuro Profundo del Logotipo */
    --bg-card: rgba(20, 21, 23, 0.7); /* Vidrio oscuro translúcido */
    --bg-input: rgba(255, 255, 255, 0.02);
    --primary: #c2b097;       /* Oro Arena / Champaña del texto 'FILMS' */
    --primary-glow: rgba(194, 176, 151, 0.25);
    --primary-hover: #d3c2ab;
    --secondary: #f4f0ea;     /* Lino / Crema suave de acento del Logotipo */
    --secondary-glow: rgba(244, 240, 234, 0.15);
    --text-pure: #f4f0ea;     /* Texto principal en Lino suave para lectura premium */
    --text-muted: #9aa0a6;    /* Warm Silver para lectura secundaria */
    --text-dark: #0c0d0f;     /* El negro profundo para textos sobre botones dorados */
    --border-light: rgba(244, 240, 234, 0.07); /* Delicados bordes en lino translúcido */
    --border-focus: #c2b097;
    --glass-blur: blur(20px);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
}

body {
    font-family: var(--font-body);
    color: var(--text-pure);
    background-color: var(--bg-deep);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* --- CUSTOM CURSOR (PREMIUM ASPECT - LINO COLOURED) --- */
.custom-cursor {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s, opacity 0.3s ease;
}

.custom-cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(244, 240, 234, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s, border-color 0.2s, opacity 0.3s ease;
}

/* Hide custom cursor on mobile, tablets, and touch devices */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .custom-cursor, .custom-cursor-follower {
        display: none !important;
    }
}

/* Cursor Hover States */
body.hover-interactive .custom-cursor {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
}

body.hover-interactive .custom-cursor-follower {
    width: 50px;
    height: 50px;
    border-color: var(--primary-glow);
    background-color: rgba(194, 176, 151, 0.03);
}

/* --- BRAND LOGO TEXT DESIGN (HIGH FIDELITY CSS ENCAPSULATION) --- */
.brand-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--text-pure); /* Lino suave */
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.brand-sub {
    font-family: var(--font-body);
    font-size: 0.52rem; /* slightly smaller size to fit longer text */
    font-weight: 600;
    letter-spacing: 0.22em; /* adjusted for REAL ESTATE */
    color: var(--primary); /* Oro Arena */
    text-transform: uppercase;
    margin-top: 3px;
    margin-right: -0.22em; /* Compensates for last letter spacing offset */
    transition: var(--transition-fast);
}

.logo {
    text-decoration: none;
    display: inline-block;
}

.logo:hover .brand-name {
    color: var(--primary);
    text-shadow: 0 0 5px rgba(194, 176, 151, 0.1);
}

.logo:hover .brand-sub {
    color: var(--text-pure);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.serif-text {
    font-family: var(--font-heading);
    font-weight: 300;
}

.serif-font {
    font-family: var(--font-heading);
    font-weight: 400;
}

.italic-text {
    font-style: italic;
    font-family: var(--font-heading);
}

p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.98rem;
}

/* --- UTILITIES --- */
.gradient-text {
    background: linear-gradient(135deg, var(--text-pure) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.75rem;
    height: 1px;
    background-color: var(--primary);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0px; /* Sharp and architectural */
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
}

.primary-btn {
    background-color: var(--primary);
    color: var(--text-dark); /* Dark grey text inside gold background */
    box-shadow: 0 4px 15px var(--primary-glow);
}

.primary-btn:hover {
    transform: translateY(-2px);
    background-color: var(--text-pure); /* Turns lino off-white */
    color: var(--text-dark);
    box-shadow: 0 6px 20px rgba(244, 240, 234, 0.2);
}

.secondary-btn {
    background: transparent;
    color: var(--text-pure);
    border: 1px solid var(--text-pure);
}

.secondary-btn:hover {
    background: var(--text-pure);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* --- HEADER / NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    background: rgba(12, 13, 15, 0.8);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 0.25rem 0;
    background: rgba(12, 13, 15, 0.95);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- CATEGORY SELECTOR SWITCH (HEADER) --- */
.category-switch {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 0.4rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-item {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.category-item.active {
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary-glow);
    cursor: default;
}

.category-item.link-to-other:hover {
    color: var(--text-pure);
}

.category-divider {
    color: rgba(244, 240, 234, 0.15);
    font-size: 0.65rem;
}


.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    padding: 0.4rem 0.8rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-pure);
    border-color: var(--primary);
}

.header-cta {
    padding: 0.6rem 1.4rem;
    font-size: 0.75rem;
}

/* --- HERO SECTION (SOFISTICADO CON VIDEO DE FONDO) --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-deep);
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.18; /* Extremadamente sutil, lento y elegante */
    filter: contrast(1.05) brightness(0.75);
    transition: opacity 1.5s ease;
}

.hero-glow-1 {
    position: absolute;
    width: 60vw;
    height: 60vw;
    top: -30vw;
    left: -30vw;
    background: radial-gradient(circle, rgba(194, 176, 151, 0.08) 0%, rgba(12, 13, 15, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-2 {
    position: absolute;
    width: 60vw;
    height: 60vw;
    bottom: -30vw;
    right: -30vw;
    background: radial-gradient(circle, rgba(244, 240, 234, 0.03) 0%, rgba(12, 13, 15, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0;
    letter-spacing: 0.1em;
    transform: translateY(15px);
    animation: subtitleReveal 2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--text-pure);
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-description {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    margin-bottom: 2.8rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
    animation: contentReveal 2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(15px);
    animation: contentReveal 2s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 22px;
    height: 38px;
    border: 1.5px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 1.5px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 1.6s infinite ease-in-out;
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --- CONCEPT SECTION --- */
.concept-section {
    padding: 10rem 2rem;
    background-color: var(--bg-deep);
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--border-light);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.concept-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.concept-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin-bottom: 2rem;
    color: var(--text-pure);
    line-height: 1.2;
    font-weight: 300;
}

.concept-lead {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1.8rem;
    font-family: var(--font-heading);
    line-height: 1.5;
    font-weight: 300;
}

.concept-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.concept-visual-area {
    position: relative;
    width: 100%;
}

.concept-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.concept-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.concept-image-frame:hover .concept-img {
    opacity: 0.95;
    transform: scale(1.03);
}

.concept-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(12, 13, 15, 0.9);
    border: 1px solid rgba(194, 176, 151, 0.2);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: var(--glass-blur);
    z-index: 2;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 400;
}

.badge-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-pure);
    font-weight: 600;
}

/* --- SERVICES & SPECIALTIES SECTION --- */
.services-section {
    padding: 10rem 2rem;
    position: relative;
    z-index: 5;
    background-color: var(--bg-deep);
    border-bottom: 1px solid var(--border-light);
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4.5rem;
}

.section-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 300;
    margin-bottom: 1.25rem;
    color: var(--text-pure);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.specialty-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 3.5rem 2.2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.specialty-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(194, 176, 151, 0.05);
}

.specialty-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(194, 176, 151, 0.04);
    border: 1px solid rgba(194, 176, 151, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.2rem;
    transition: var(--transition-fast);
}

.specialty-card:hover .specialty-icon-box {
    background: var(--text-pure);
    color: var(--text-dark);
    border-color: var(--text-pure);
}

.specialty-icon-box svg {
    width: 1.6rem;
    height: 1.6rem;
}

.specialty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-pure);
    margin-bottom: 1rem;
    font-weight: 400;
}

.specialty-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.65;
}

.specialty-list {
    list-style: none;
    width: 100%;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.specialty-list li {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-pure);
    position: relative;
    padding-left: 1.25rem;
    font-weight: 500;
}

.specialty-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1rem;
    top: -2px;
}

/* --- MOCK VIDEO PLAYER (BODAS) --- */
.wedding-player-container {
    width: 100%;
    position: relative;
}

.video-card {
    cursor: pointer;
}

.play-overlay-btn {
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--text-pure); /* Lino */
    color: var(--text-dark); /* Negro */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 10;
    transition: var(--transition-smooth);
}

.play-overlay-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 15px 30px rgba(194, 176, 151, 0.4);
}

.play-icon {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    fill: currentColor;
}

/* Simulated Video Player Controls */
.mock-player-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 13, 15, 0.98);
    border-top: 1px solid var(--border-light);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 12;
}

.video-card.playing .mock-player-bar {
    transform: translateY(0);
}

.video-card.playing .play-overlay-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-control-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    color: var(--text-pure);
    transition: var(--transition-fast);
}

.player-control-icon:hover {
    color: var(--primary);
}

.time-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
}

.progress-track {
    flex-grow: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0px;
    position: relative;
    cursor: pointer;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary);
    border-radius: 0px;
    transition: width 0.1s linear;
}

.hd-badge {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* --- PORTFOLIO GALLERY GRID --- */
.portfolio-section {
    padding: 10rem 2rem;
    background-color: var(--bg-deep);
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--border-light);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 4.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-pure);
    border-color: var(--primary);
    background: rgba(194, 176, 151, 0.05);
}

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

.portfolio-item {
    position: relative;
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.92) translateY(15px);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
}

.portfolio-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(194, 176, 151, 0.1);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.04);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 13, 15, 0.1) 0%, rgba(12, 13, 15, 0.95) 100%);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-category {
    font-family: var(--font-body);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.portfolio-item-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--text-pure);
    font-weight: 400;
    margin-bottom: 0.15rem;
}

.portfolio-item-sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.portfolio-btn-icon {
    position: absolute;
    right: 2.2rem;
    bottom: 2.2rem;
    width: 2.4rem;
    height: 2.4rem;
    background: rgba(194, 176, 151, 0.1);
    border: 1px solid var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, background 0.25s, color 0.25s;
}

.portfolio-card:hover .portfolio-btn-icon {
    transform: scale(1);
    opacity: 1;
}

.portfolio-btn-icon:hover {
    background: var(--primary);
    color: var(--text-dark);
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 10rem 2rem;
    background-color: #090a0c;
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--border-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
    margin-top: 2rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
}

.step-num-box {
    width: 4rem;
    height: 4rem;
    border: 1px solid var(--primary-glow);
    background: rgba(194, 176, 151, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 400;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-pure);
    font-weight: 400;
}

.step-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- PREMIUM LIGHTBOX MODAL --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(12, 13, 15, 0.98);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.lightbox-modal.visible {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--text-pure);
    font-size: 2.8rem;
    cursor: pointer;
    line-height: 1;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 100;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(244, 240, 234, 0.08);
    color: var(--text-pure);
    width: 3.8rem;
    height: 3.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 100;
}

.lightbox-arrow:hover {
    background: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
}

.lightbox-prev {
    left: 2.5rem;
}

.lightbox-next {
    right: 2.5rem;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-modal.visible .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 1px solid var(--border-light);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
}

.lightbox-caption .caption-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-pure);
    font-weight: 400;
}

.lightbox-caption .caption-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* --- CONTACT SECTION (WARM MINIMALIST LEADS SHEET) --- */
.contact-section {
    padding: 10rem 2rem;
    position: relative;
    background-color: #070809; /* Slightly darker than deep-bg for sections contrast */
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(194, 176, 151, 0.08) 0%, rgba(12, 13, 15, 0) 60%);
    pointer-events: none;
}

.contact-container {
    max-width: 950px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    backdrop-filter: var(--glass-blur);
    border-radius: 0px; /* Sharp and premium */
    padding: 5rem 4.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contact-card .contact-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.booking-form {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.booking-form.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.msg-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-pure);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: 0px;
    padding: 0.9rem 1.2rem;
    color: var(--text-pure);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-group select option {
    background-color: #121315; /* Dark obsidian background matching theme */
    color: #f4f0ea;            /* Crisp linen light text for high readability */
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--text-muted);
    pointer-events: none;
}

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

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.required-msg {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.submit-btn {
    gap: 10px;
    padding: 1rem 2.5rem;
    font-size: 0.8rem;
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Success Message container */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.success-message.visible {
    display: flex;
}

.success-icon-wrapper {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(194, 176, 151, 0.1);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.success-check {
    width: 32px;
    height: 32px;
}

.success-message h3 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.success-message p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #060708;
    border-top: 1px solid var(--border-light);
    padding: 6rem 2rem 2.5rem;
    position: relative;
    z-index: 5;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.brand-desc {
    font-size: 0.9rem;
    max-width: 320px;
    color: var(--text-muted);
}

.footer-links h4, .footer-socials h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-pure);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 2px;
}

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

.social-icons a {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-fast);
    background: rgba(255, 255, 255, 0.02);
}

.social-icons a:hover {
    color: var(--text-pure);
    border-color: var(--text-pure);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 1.1rem;
    height: 1.1rem;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* --- PREMIUM SCROLL REVEAL SYSTEM --- */
.reveal-on-scroll {
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.96);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Staggered delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        letter-spacing: 0.1em;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        letter-spacing: 0.3em;
        transform: translateY(0);
    }
}

@keyframes subtitleRevealMobile {
    0% {
        opacity: 0;
        letter-spacing: 0.05em;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        letter-spacing: 0.08em;
        transform: translateY(0);
    }
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(35px) scale(0.97);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

@keyframes contentReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInOnly {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.6;
    }
}

@keyframes scrollWheelAnim {
    0% {
        top: 6px;
        opacity: 1;
        height: 6px;
    }
    50% {
        top: 20px;
        opacity: 0;
        height: 3px;
    }
    100% {
        top: 6px;
        opacity: 0;
        height: 6px;
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .concept-visual-area {
        max-width: 650px;
        margin: 0 auto;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-card {
        padding: 4rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: clamp(8px, 2.7vw, 11px) !important;
        white-space: nowrap !important;
        animation: subtitleRevealMobile 2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    }
    
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-section {
        padding-top: 7rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .concept-section, .services-section, .portfolio-section, .process-section, .contact-section {
        padding: 6rem 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-overlay {
        opacity: 1;
        padding: 1.5rem;
        background: linear-gradient(180deg, rgba(12, 13, 15, 0.2) 0%, rgba(12, 13, 15, 0.9) 100%);
    }
    
    .portfolio-btn-icon {
        opacity: 1;
        transform: scale(0.9);
        right: 1.5rem;
        bottom: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .contact-card {
        padding: 3rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .footer-brand, .footer-links, .footer-socials {
        align-items: center;
        text-align: center;
    }
    
    .brand-desc {
        max-width: 100%;
    }
    
    .lightbox-arrow {
        width: 3rem;
        height: 3rem;
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.2rem;
    }
}
