/* ==========================================================================
   LÚMINA WEDDINGS - WARM IVORY & ESPRESSO EDITORIAL DESIGN SYSTEM
   ========================================================================== */

/* --- ROOT VARIABLES & CORE THEME (LIGHT ROMANTIC EDITORIAL) --- */
:root {
    --bg-deep: #fbf9f6;       /* Crema Marfil Cálido muy Orgánico */
    --bg-card: #f2eee7;       /* Lino Cálido Premium */
    --bg-input: #ffffff;      /* Blanco Puro para inputs */
    --primary: #bfa893;       /* Rose Champagne / Oro Rosa Champán */
    --primary-glow: rgba(191, 168, 147, 0.15);
    --primary-hover: #b09781;
    --secondary: #27221f;     /* Café Espresso Oscuro Editorial */
    --secondary-glow: rgba(39, 34, 31, 0.15);
    --text-pure: #27221f;     /* Espresso Oscuro para lectura editorial nítida */
    --text-muted: #726861;    /* Taupe / Warm Silver para subtítulos */
    --text-dark: #fbf9f6;     /* Crema claro para textos sobre botones oscuros */
    --border-light: rgba(39, 34, 31, 0.08); /* Delicados bordes café translúcidos */
    --border-focus: #bfa893;
    --glass-blur: blur(25px);
    --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 - DEEP ESPRESSO 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(39, 34, 31, 0.25);
    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(191, 168, 147, 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); /* Espresso oscuro */
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.brand-sub {
    font-family: var(--font-body);
    font-size: 0.54rem; /* slightly smaller size to fit longer text */
    font-weight: 600;
    letter-spacing: 0.28em; /* adjusted for WEDDINGS */
    color: var(--primary); /* Oro Champán */
    text-transform: uppercase;
    margin-top: 3px;
    margin-right: -0.28em; /* 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(191, 168, 147, 0.15);
}

.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;
    color: var(--text-pure);
}

.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 2.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(--secondary); /* Espresso oscuro */
    color: var(--text-dark); /* Crema marfil */
    box-shadow: 0 4px 15px rgba(39, 34, 31, 0.15);
}

.primary-btn:hover {
    transform: translateY(-2px);
    background-color: var(--primary); /* Turns rose gold */
    color: var(--text-dark);
    box-shadow: 0 6px 20px rgba(191, 168, 147, 0.3);
}

.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(251, 249, 246, 0.85);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 0.25rem 0;
    background: rgba(251, 249, 246, 0.98);
    box-shadow: 0 5px 25px rgba(39, 34, 31, 0.05);
}

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

/* Category Selector Switch */
.category-switch {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(39, 34, 31, 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;
    margin-left: 2rem;
    margin-right: auto;
}

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

.category-item.active {
    color: var(--secondary);
    font-weight: 700;
    cursor: default;
}

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

.category-divider {
    color: rgba(39, 34, 31, 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 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    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 .lang-val {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.lang-btn .lang-val.active {
    color: var(--text-pure);
}

.lang-btn .lang-divider {
    color: var(--border-light);
}

.lang-btn:hover {
    border-color: var(--secondary);
}

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

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none; /* Desactivado para mostrar el video nítido sin superposición de imagen */
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(39, 34, 31, 0.35) 0%, rgba(39, 34, 31, 0.15) 50%, rgba(39, 34, 31, 0.4) 100%);
    pointer-events: none;
    z-index: 3;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 101%;
    min-height: 101%;
    width: auto;
    height: auto;
    z-index: 2;
    object-fit: cover;
    pointer-events: none;
    opacity: 1; /* Video al 100% de opacidad sin transparencia */
    filter: none; /* Colores naturales y nítidos del video */
    transition: opacity 1.5s ease;
}

.hero-glow-1 {
    position: absolute;
    width: 60vw;
    height: 60vw;
    top: -30vw;
    left: -30vw;
    background: radial-gradient(circle, rgba(191, 168, 147, 0.08) 0%, rgba(251, 249, 246, 0) 70%);
    pointer-events: none;
    z-index: 2;
}

.hero-glow-2 {
    position: absolute;
    width: 60vw;
    height: 60vw;
    bottom: -30vw;
    right: -30vw;
    background: radial-gradient(circle, rgba(39, 34, 31, 0.02) 0%, rgba(251, 249, 246, 0) 70%);
    pointer-events: none;
    z-index: 2;
}

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

.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-logo-title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 7.5vw, 6.2rem);
    font-weight: 300;
    letter-spacing: 0.16em;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
    margin-right: -0.16em;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    text-shadow: 0 4px 20px rgba(39, 34, 31, 0.25);
}

.hero-logo-sub {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 400;
    letter-spacing: 0.45em;
    color: var(--primary); /* Gold / champagne */
    display: block;
    margin-top: 15px;
    margin-right: -0.45em;
    text-transform: uppercase;
    text-align: center;
}

.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 (WARM CREAM EDITORIAL) --- */
.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(39, 34, 31, 0.05);
}

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

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

.concept-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(251, 249, 246, 0.95);
    border: 1px solid rgba(191, 168, 147, 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(39, 34, 31, 0.05);
}

.specialty-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(191, 168, 147, 0.04);
    border: 1px solid rgba(191, 168, 147, 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(--secondary);
    color: var(--text-dark);
    border-color: var(--secondary);
}

.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 IN LIGHT DESIGN) --- */
.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(--secondary); /* Espresso */
    color: var(--text-dark); /* Crema marfil */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(39, 34, 31, 0.2);
    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(191, 168, 147, 0.4);
}

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

.mock-player-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary); /* Espresso */
    border-top: 1px solid rgba(251, 249, 246, 0.08);
    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-dark);
    transition: var(--transition-fast);
}

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

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

.progress-track {
    flex-grow: 1;
    height: 3px;
    background: rgba(251, 249, 246, 0.1);
    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 (LIGHT ROMANTIC TEXTURES) --- */
.portfolio-section {
    padding: 10rem 2rem;
    background-color: var(--bg-deep);
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--border-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    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-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(39, 34, 31, 0.05);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(191, 168, 147, 0.12);
}

.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.03);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(39, 34, 31, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.portfolio-category {
    display: none !important;
}

.portfolio-item-title {
    display: none !important;
}

.portfolio-item-sub {
    display: none !important;
}

.portfolio-btn-icon {
    display: none !important;
}

.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: #f7f4ee; /* Slightly warmer marfil contrast */
    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 rgba(191, 168, 147, 0.2);
    background: rgba(251, 249, 246, 0.9);
    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(39, 34, 31, 0.98); /* Espresso dark backdrop so images stand out perfectly */
    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-dark); /* Crema */
    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(251, 249, 246, 0.01);
    border: 1px solid rgba(251, 249, 246, 0.08);
    color: var(--text-dark);
    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(--secondary);
    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 rgba(251, 249, 246, 0.1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}



/* --- CONTACT SECTION (SAND LINEN LEADS SHEET) --- */
/* --- CONTACT INFO SECTION (3-CARD GRID) --- */
.contact-info-section {
    padding: 10rem 2rem 5rem;
    background-color: var(--bg-deep); /* Warm Ivory cream */
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 4rem 2.2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(39, 34, 31, 0.05);
}

.info-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(191, 168, 147, 0.04);
    border: 1px solid rgba(191, 168, 147, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.contact-info-card:hover .info-card-icon {
    background: var(--secondary);
    color: var(--text-dark);
    border-color: var(--secondary);
}

.info-card-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.info-card-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.info-card-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-pure);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition-fast);
    word-break: break-all;
}

a.info-card-value:hover {
    color: var(--primary);
}

/* --- BOOKING FORM SECTION --- */
.booking-section {
    padding: 10rem 2rem;
    position: relative;
    background-color: #f6f3ee; /* Warm Sand Linen background */
    overflow: hidden;
    z-index: 5;
    border-bottom: 1px solid var(--border-light);
}

.contact-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(191, 168, 147, 0.08) 0%, rgba(246, 243, 238, 0) 60%);
    pointer-events: none;
}

.booking-container {
    max-width: 960px;
}

.booking-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(39, 34, 31, 0.03);
    overflow: hidden;
}

.booking-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: repeat(3, 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); /* Blanco puro */
    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: #fbf9f6; /* Ivory cream background matching theme */
    color: #27221f;            /* Dark espresso 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(191, 168, 147, 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 (DARK ESPRESSO FOR TIMELSS STABILITY) --- */
.main-footer {
    background-color: var(--secondary); /* Espresso oscuro */
    border-top: 1px solid rgba(251, 249, 246, 0.05);
    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(--primary); /* Champagne tone */
}

.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-dark); /* Crema */
}

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

.footer-links a {
    text-decoration: none;
    color: rgba(251, 249, 246, 0.7);
    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 rgba(251, 249, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(251, 249, 246, 0.7);
    transition: var(--transition-fast);
    background: rgba(251, 249, 246, 0.01);
}

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

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

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid rgba(251, 249, 246, 0.05);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(251, 249, 246, 0.5);
    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: 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;
    }
    
    .booking-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 {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        margin-top: 80px !important; /* Offset for solid header */
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-section::before {
        display: none !important; /* Disable static image overlay on mobile */
    }

    .hero-section::after {
        display: block !important; /* Enable dark gradient overlay on mobile for text contrast */
        background: linear-gradient(180deg, rgba(39, 34, 31, 0.35) 0%, rgba(39, 34, 31, 0.15) 50%, rgba(39, 34, 31, 0.4) 100%) !important;
        z-index: 3 !important;
    }

    .hero-video-bg {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        min-width: 0 !important;
        min-height: 0 !important;
    }

    .hero-content {
        padding: 1rem !important;
        width: 95% !important;
        max-width: 100% !important;
        z-index: 5 !important;
    }

    .hero-logo-title {
        font-size: clamp(2rem, 6.5vw, 3.2rem) !important;
        margin-bottom: 0 !important;
        text-shadow: 0 2px 10px rgba(39, 34, 31, 0.35) !important;
    }

    .hero-logo-sub {
        font-size: clamp(0.7rem, 2.5vw, 0.95rem) !important;
        margin-top: 8px !important;
    }
    
    .concept-section, .services-section, .portfolio-section, .process-section, .contact-info-section, .booking-section {
        padding: 6rem 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-overlay {
        opacity: 1;
        padding: 0;
        background: rgba(39, 34, 31, 0.45);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .portfolio-btn-icon {
        opacity: 1;
        transform: scale(0.9);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .booking-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;
    }
}

/* Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary); /* Espresso */
    box-shadow: 0 8px 32px rgba(39, 34, 31, 0.1);
    backdrop-filter: var(--glass-blur);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1.5s both;
}
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary); /* Gold */
    color: var(--primary);
    box-shadow: 0 12px 40px var(--primary-glow);
}
.whatsapp-icon {
    width: 24px;
    height: 24px;
}
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-deep); /* Warm Ivory */
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 0px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-pure);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: var(--transition-smooth);
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(39, 34, 31, 0.05);
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-tooltip {
        display: none !important;
    }
}

/* --- Splash Screen (Apple Style Text Logo Animation) --- */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-deep);
  z-index: 100000; /* Higher than custom cursor and header */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.splash-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: logoIntro 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  transition: transform 0.1s linear, filter 0.1s linear;
}

.logo-title-text {
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--text-pure);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: none;
}

@media (max-width: 734px) {
  .logo-title-text {
    font-size: 54px;
  }
}

.logo-subtitle-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 12px;
  color: var(--primary);
  text-indent: 12px; /* balance centering due to letter-spacing */
  line-height: 1;
}

@media (max-width: 734px) {
  .logo-subtitle-text {
    font-size: 12px;
    letter-spacing: 8px;
    text-indent: 8px;
  }
}

@keyframes logoIntro {
  0% {
    transform: scale(0.95);
    filter: blur(10px);
    opacity: 0;
  }
  50% {
    transform: scale(1.01);
    filter: blur(0px);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    filter: blur(0px);
    opacity: 1;
  }
}

/* --- Contact Two-Column Dashboard Layout --- */
@media (max-width: 900px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

