@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@200;300;400;600;700&display=swap');

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #8a8a8a;
    --text-muted: #4e4e4e;
    --accent: #cca470;
    --accent-glow: rgba(204, 164, 112, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-button-border: rgba(255, 255, 255, 0.4);
    --glass-button-bg: rgba(255, 255, 255, 0.05);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
}

/* --- RESET & GENERAL --- */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #080808;
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- CARBON PARTICLE BACKGROUND --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* --- GLASSMORPHISM COMPONENT STYLES --- */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--glass-button-border);
    background: var(--glass-button-bg);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: nowrap;
}

/* Premium shine sweep effect for all glass buttons */
.glass-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    transition: none;
}

.glass-btn:hover::after {
    left: 150%;
    transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-btn:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.glass-btn:active {
    transform: scale(0.96) translateY(0);
    transition: transform 0.1s ease;
}

/* Keyboard navigation accessibility focus state */
.glass-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    background: rgba(255, 255, 255, 0.08);
}

/* Specific Navigation Menu Button refinements */
.nav-menu .glass-btn {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.68rem;
    padding: 0.5rem 0.85rem;
}

/* Sophisticated dark premium hover for navigation menu buttons */
.nav-menu .glass-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05), 0 0 8px rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}

/* Highlighted hierarchical menu items (Cotizador & Contacto) */
.nav-menu .glass-btn[href*="cotizador.html"]:hover,
.nav-menu .glass-btn[href*="contacto.html"]:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* Active page navigation indicator style */
.nav-menu .glass-btn.active {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--accent-glow);
    font-weight: 600;
}

/* Hide mobile CTA inside menu on desktop by default */
.nav-menu .mobile-menu-cta {
    display: none;
}

/* Spectacular breathing gold glow animation for CTA button */
@keyframes goldPulse {
    0% {
        box-shadow: 0 0 10px rgba(204, 164, 112, 0.25), 0 0 2px rgba(204, 164, 112, 0.1);
        border-color: rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow: 0 0 20px rgba(204, 164, 112, 0.6), 0 0 8px rgba(204, 164, 112, 0.3);
        border-color: var(--accent);
    }
    100% {
        box-shadow: 0 0 10px rgba(204, 164, 112, 0.25), 0 0 2px rgba(204, 164, 112, 0.1);
        border-color: rgba(255, 255, 255, 0.8);
    }
}

.glass-btn-cta {
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg-color);
    border-color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
    animation: goldPulse 3s infinite ease-in-out;
}

.glass-btn-cta::after {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

.glass-btn-cta:hover {
    background: var(--bg-color);
    color: var(--text-primary);
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(204, 164, 112, 0.7);
    animation: none; /* stop pulsing on hover */
}

.glass-btn-cta span {
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.glass-btn-cta:hover span {
    transform: translate(3px, -3px);
}

/* --- HEADER / NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.logo-container {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    pointer-events: auto;
}

.logo-img {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-img {
    border-color: var(--accent);
    transform: rotate(360deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--text-primary);
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-text {
    color: var(--accent);
    letter-spacing: 0.32em;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
}

/* --- IMMERSIVE HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    z-index: 10;
    overflow: hidden;
    background-image: url('assets - copia/Portada/Foto_Editada_Web_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

.hero-text {
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-tag::before, .hero-tag::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--text-primary);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--accent);
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero-desc {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 300;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- 3D PARALLAX HERO RENDER FRAME --- */
.hero-visual-wrapper {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.parallax-container {
    width: 100%;
    max-width: 620px;
    aspect-ratio: 16/9;
    border-radius: 12px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 30px 100px rgba(0,0,0,0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.parallax-img {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    transform: translateZ(-20px) scale(1.1); /* Layering depth for stronger parallax */
    transition: transform 0.15s ease-out;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(204,164,112,0.1) 0%, rgba(5,5,5,0.4) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.parallax-frame-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 10;
}

/* --- INTERACTIVE HOTSPOTS --- */
.hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%) translateZ(40px); /* Hangs in front of image plane */
    cursor: pointer;
    z-index: 25;
}

/* Specific Positions on Hero Rendering (Wood Bathroom) */
#hotspot-madera { top: 35%; left: 18%; }     /* Wood Paneling left wall */
#hotspot-ventanas { top: 40%; left: 58%; }   /* Window in back */
#hotspot-mampara { top: 50%; left: 75%; }    /* Glass Screen shower */
#hotspot-banera { top: 70%; left: 58%; }     /* White Tub */
#hotspot-ducha { top: 22%; left: 83%; }      /* Shower Head */

.hotspot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: var(--transition-quick);
}

.hotspot-pulse::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: hotspot-ripple 2s infinite ease-out;
}

.hotspot:hover .hotspot-pulse {
    background: var(--text-primary);
    border-color: var(--text-primary);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    transform: scale(1.15);
}

/* Tooltip Labels */
.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(10, 10, 10, 0.85) transparent transparent transparent;
}

/* Hotspot Hover Actions */
.hotspot:hover .hotspot-tooltip,
.hotspot.active .hotspot-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

@keyframes hotspot-ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* --- SHOWCASE / GALLERY SECTION --- */
.showcase {
    position: relative;
    padding: 10rem 5%;
    z-index: 10;
    background: linear-gradient(to bottom, #070707 0%, #0d0d0d 50%, #070707 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.1;
}

.showcase-title span {
    font-weight: 700;
    display: block;
    color: var(--accent);
}

.showcase-desc {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
    font-weight: 300;
}

/* Grid layout for gallery cards */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
}

/* Premium Image Frame Style */
.gallery-card {
    position: relative;
    background: var(--bg-color);
    border-radius: 12px;
    overflow: visible; /* Crucial for z-index overlapping! */
    cursor: pointer;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1.5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: #0f0f0f;
    box-shadow: 0 15px 45px rgba(0,0,0,0.5);
    /* Strict image hover animation setup */
    transform-origin: center center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), z-index 0s;
    z-index: 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Magnify, overlay and rotation corrections strictly implemented */
.gallery-card:hover {
    z-index: 99; /* Target frame pops to absolute front */
}

/* Glass Shimmer Gloss Effect */
.gallery-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0) 25%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0) 75%
    );
    transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.gallery-card:hover .gallery-image-wrapper::after {
    left: 150%;
}

/* Card details (minimal text below the card) */
.gallery-details {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-details {
    opacity: 0.8;
}

.gallery-details h4, .gallery-details h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.gallery-details p {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* --- SERVICES AND PROCESS SECTION --- */
.services-section {
    position: relative;
    padding: 8rem 5%;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.services-header {
    margin-bottom: 4rem;
    position: relative;
}

.services-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-tag::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.services-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.services-title span {
    font-weight: 700;
    color: var(--accent);
}

.services-desc {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    border-left: 2px solid var(--accent);
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.philosophy-box {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    padding: 3rem;
    margin-bottom: 5rem;
    align-items: center;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.philosophy-box:hover {
    border-color: rgba(204, 164, 112, 0.3);
    box-shadow: 0 20px 50px rgba(204, 164, 112, 0.05);
    transform: translateY(-4px);
}

.philosophy-label {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.glow-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    display: inline-block;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.philosophy-label h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.philosophy-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.service-card {
    padding: 2.25rem 1.75rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.02);
}

.service-card-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 200;
    color: var(--accent);
    opacity: 0.8;
}

.service-card-header h4, .service-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    width: 100%;
    word-break: keep-all;
    overflow-wrap: normal;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
    position: relative;
    padding-left: 1.25rem;
}

.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0.7;
}

.service-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* --- ABOUT STUDIO SECTION --- */
.about {
    position: relative;
    padding: 9.5rem 5% 8rem;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    scroll-margin-top: 110px;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    aspect-ratio: 0.85;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.15) brightness(1.02) saturate(1.04);
    opacity: 0.9 !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.about-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none !important;
    pointer-events: none;
}

.about-visual:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-visual:hover img {
    filter: contrast(1.2) brightness(1.05) saturate(1.08) !important;
    opacity: 0.98 !important;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-text h2 span {
    font-weight: 700;
    color: var(--text-primary);
}

.about-text p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

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

.feature-box {
    padding: 1.5rem;
    border-left: 2px solid var(--accent);
}

.feature-box h4, .feature-box h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- FOOTER / CONTACT --- */
footer {
    position: relative;
    padding: 6rem 5% 3rem;
    z-index: 10;
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-brand h2 span {
    color: var(--accent);
}

.footer-brand p {
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 320px;
    margin-bottom: 2rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    display: block;
    width: 25px;
    height: 1px;
    background: var(--accent);
    margin-top: 0.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-quick);
}

.footer-links ul li a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.footer-contact p span {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-quick);
}

.social-links a:hover {
    color: var(--accent);
}

/* --- INTERACTIVE WINDOW EFFECT (LENTE DE REVELADO) --- */
.lens-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: none; /* Hide default cursor to use the customized architectural frame */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    touch-action: pan-y; /* Allow vertical swipe to scroll naturally on touch devices */
}

.lens-bg-blurred {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets - copia/Edificio One documentacion BIM/LP_33 mod.png?v=1.2');
    background-size: cover;
    background-position: center bottom;
    filter: blur(12px) brightness(0.25);
    z-index: 1;
}

.lens-bg-clear {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    /* Soft feather edge using mask image (radius 220px) */
    -webkit-mask-image: radial-gradient(circle 220px at var(--lens-x, 50%) var(--lens-y, 50%), black 175px, transparent 220px);
    mask-image: radial-gradient(circle 220px at var(--lens-x, 50%) var(--lens-y, 50%), black 175px, transparent 220px);
}

.lens-bg-sharp-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets - copia/Edificio One documentacion BIM/LP_33 mod.png?v=1.2');
    background-size: cover;
    background-position: center bottom;
    /* Apply subtle magnifying scale and center transformation origin on the cursor */
    transform: scale(1.20);
    transform-origin: var(--lens-x, 50%) var(--lens-y, 50%);
    pointer-events: none;
}

.lens-window {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    /* Inset shadow vignette for feather and premium glass refraction */
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.75), 
        inset 0 0 50px rgba(0, 0, 0, 0.75),
        inset 0 0 20px rgba(255, 255, 255, 0.12);
    left: var(--lens-x, 50%);
    top: var(--lens-y, 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 20;
}

.lens-crosshair-h {
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    top: 50%;
    left: 0;
}

.lens-crosshair-v {
    position: absolute;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    left: 50%;
    top: 0;
}

.lens-fixed-hud {
    position: absolute;
    bottom: 2.5rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 15;
}

.lens-fixed-hud.bottom-left {
    left: 5%;
}

.lens-fixed-hud.bottom-right {
    right: 5%;
}

/* --- INTERACTIVE ESTIMATOR SECTION --- */
.estimator-section {
    position: relative;
    padding: 8rem 5%;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, var(--bg-color), #030303);
}

.estimator-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.estimator-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.estimator-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.estimator-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.estimator-title span {
    font-weight: 700;
    color: var(--text-primary);
}

.estimator-desc {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: stretch;
}

.estimator-form,
.estimator-results {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 12px;
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

.form-group label span {
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

/* custom range input styling */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    margin: 1.25rem 0 0.5rem;
    transition: var(--transition-quick);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--accent);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(204, 164, 112, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider::-webkit-slider-thumb:hover {
    background: var(--accent);
    transform: scale(1.18);
    box-shadow: 0 0 20px rgba(204, 164, 112, 0.5);
}

.slider-bounds {
    display: flex;
    justify-content: space-between;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* glass select dropdowns */
.glass-select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background-color: rgba(5, 5, 5, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cca470' width='20px' height='20px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

.glass-select:hover {
    border-color: rgba(204, 164, 112, 0.45);
    background-color: rgba(10, 10, 10, 0.8);
}

.glass-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(204, 164, 112, 0.15);
}

.glass-select option {
    background: #0d0d0d;
    color: var(--text-primary);
    padding: 1rem;
}

.estimator-results {
    background: linear-gradient(135deg, rgba(204, 164, 112, 0.04) 0%, rgba(10, 10, 10, 0.45) 100%) !important;
    border: 1px solid rgba(204, 164, 112, 0.22) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    text-align: center;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.result-box {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed rgba(204, 164, 112, 0.15);
}

.result-box:nth-child(2) {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.result-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.result-value {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(204, 164, 112, 0.08);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    transform: translateZ(0);
    backface-visibility: hidden;
}

#price-display {
    color: var(--accent);
}

.estimator-cta-wrapper {
    margin-top: 1rem;
}

.estimator-cta-wrapper .glass-btn-cta {
    width: 100%;
}

/* --- PREMIUM QUIET LUXURY WHATSAPP FLOATING BUTTON --- */
.whatsapp-luxury-btn {
    position: fixed;
    bottom: 6.5rem;
    right: 2.5rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition-smooth);
}

.whatsapp-luxury-btn svg {
    width: 24px;
    height: 24px;
    fill: #141414; /* Dark charcoal clean gray */
    transition: var(--transition-quick);
}

.whatsapp-luxury-btn:hover {
    background: var(--text-primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.1);
}

.whatsapp-luxury-btn:hover svg {
    transform: scale(1.08);
    fill: #000;
}

/* --- SCROLL DOWN INDICATOR --- */
.scroll-down-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    z-index: 30;
    transition: opacity 0.3s ease;
}

.scroll-down-indicator:hover {
    opacity: 0.8;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

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

@keyframes scroll-bounce {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 14px);
        opacity: 0;
    }
}

/* --- PREMIUM SUCCESS MODAL --- */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal.active {
    display: flex;
    opacity: 1;
}

.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1;
}

.success-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    padding: 3rem 2.5rem;
    text-align: center;
    z-index: 2;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.success-modal.active .success-content {
    transform: scale(1);
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.success-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.success-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.success-content .glass-btn {
    width: 100%;
    max-width: 180px;
}

/* --- PREMIUM LIGHTBOX / MODAL CAROUSEL --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 220;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    transform: rotate(90deg) scale(1.05);
}

.lightbox-slider-wrapper {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 70vh;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: #000000;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-slide-container {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.lightbox-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(0.98);
}

.lightbox-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.lightbox-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-info {
    width: 100%;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-end;
}

.lightbox-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lightbox-category {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.lightbox-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.lightbox-counter {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .lightbox-slider-wrapper {
        aspect-ratio: 4/3;
    }
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lightbox-prev {
        left: 0.75rem;
    }
    .lightbox-next {
        right: 0.75rem;
    }
    .lightbox-close {
        top: -3rem;
        width: 36px;
        height: 36px;
        font-size: 2rem;
    }
    .lightbox-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    header {
        padding: 1.25rem 5%;
    }
    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 0.25em;
    }
    .logo-img {
        height: 34px;
        width: 34px;
    }
    .hero-container {
        padding-top: 4rem;
    }
    .hero-title {
        font-size: clamp(3rem, 7vw, 5.5rem);
    }
    .hero-desc {
        max-width: 550px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-visual {
        aspect-ratio: 1.5;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    .philosophy-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.5rem;
        margin-bottom: 3.5rem;
    }
    /* .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    } */
    .estimator-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2rem;
    }
}

/* Minimalist hamburger menu button styles (hidden by default) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 150;
    outline: none;
}

.nav-toggle .nav-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.4s ease;
}

.nav-toggle.active .nav-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent);
}

.nav-toggle.active .nav-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent);
}

@media (max-width: 1200px) {
    /* Mobile Header Layout */
    .nav-toggle {
        display: flex !important;
        position: absolute;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 200; /* Sit explicitly on top of everything, including the drawer overlay */
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Start from top so user can scroll down naturally */
        align-items: center;
        gap: 1.5rem;
        padding: 7rem 0 3rem; /* Leave top space for header logo and absolute close button */
        overflow-y: auto; /* Ensure mobile drawer can scroll if items exceed viewport height */
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 140;
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-menu .glass-btn {
        font-size: 0.9rem;
        padding: 0.85rem 2.25rem;
        width: 80%;
        max-width: 280px;
        text-align: center;
        border-radius: 50px;
    }

    .nav-menu .mobile-menu-cta {
        display: inline-flex !important;
        margin-top: 1rem;
        width: 80%;
        max-width: 280px;
        text-align: center;
        border-radius: 50px;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.95);
        color: var(--bg-color);
        border-color: var(--text-primary);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
    }

    .header-right {
        margin-right: 3.5rem; /* Space between CTA button and absolutely positioned hamburger menu */
    }

    .header-right .glass-btn-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    /* Hide the header CTA bar button on small mobile screens to prevent squishing the logo or toggle button */
    .header-right {
        display: none !important;
    }

    /* Absolute position for hamburger menu button strictly enforced on mobile */
    .nav-toggle {
        display: flex !important;
        position: absolute !important;
        right: 5% !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 200 !important;
    }

    /* Stack features vertically to eliminate horizontal overflow on mobile viewports */
    .about-features {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .hero-title {
        font-size: 2.8rem !important; /* Scale down on mobile to prevent horizontal overflow */
        letter-spacing: 0.08em !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important; /* Scale down and wrap elegantly */
        letter-spacing: 0.12em !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }

    .logo-text {
        font-size: 1.1rem !important; /* Elegant scaled size for mobile */
        letter-spacing: 0.18em !important;
    }

    .logo-img {
        height: 32px !important;
        width: 32px !important;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 290px;
        margin: 0 auto 2.5rem;
    }
    
    .hero-cta-group .glass-btn {
        width: 100%;
        text-align: center;
    }

    /* Hero Statistics Apilados Verticalmente */
    .hero-stats {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        text-align: center;
        margin-top: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2.2rem;
    }

    /* Grilla de Portafolio en 1 columna */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem 1.5rem;
    }

    /* Cotizador Responsive Grid Stack */
    .estimator-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .estimator-form,
    .estimator-results {
        padding: 2.25rem 1.5rem;
    }

    /* Lente de Revelado (HUD fixed bottom labels spacing) */
    .lens-fixed-hud {
        font-size: 0.55rem;
        bottom: 1.5rem;
        letter-spacing: 0.15em;
    }

    /* Visor Lupa Mobile Overrides (Exclusivo Celulares) */
    .lens-section {
        height: 330px; /* Reducimos la altura en móviles para evitar el recorte horizontal masivo de la foto de 16:9 */
    }
    
    .lens-bg-clear {
        -webkit-mask-image: radial-gradient(circle 100px at var(--lens-x, 50%) var(--lens-y, 50%), black 80px, transparent 100px);
        mask-image: radial-gradient(circle 100px at var(--lens-x, 50%) var(--lens-y, 50%), black 80px, transparent 100px);
    }
    
    .lens-bg-sharp-inner {
        transform: scale(1.10);
        background-size: 160% auto;
        background-position: center bottom;
        background-repeat: no-repeat;
    }

    .lens-bg-blurred {
        background-size: 160% auto;
        background-position: center bottom;
        background-repeat: no-repeat;
        /* Restored the beautiful premium background blur for depth effect on mobile */
    }
    
    .lens-window {
        width: 200px;
        height: 200px;
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.75), 
            inset 0 0 25px rgba(0, 0, 0, 0.7),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
    }

    /* Modal / Lightbox Mobile Optimizations */
    .lightbox-slider-wrapper {
        height: 60vh;
        max-height: 60vh;
    }
    
    .lightbox-slide img {
        max-width: 95vw !important;
        max-height: 60vh !important;
        object-fit: contain;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
    
    .lightbox-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
        background: rgba(10, 10, 10, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: var(--text-primary);
        font-size: 1.5rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 230;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .lightbox-close:hover {
        transform: scale(1.05);
    }
    
    .lightbox-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1.25rem;
        text-align: center;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .lightbox-title {
        font-size: 1.35rem;
    }
    
    .lightbox-subtitle {
        font-size: 0.8rem;
    }

    .services-section {
        padding: 5rem 5%;
    }
    
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card-header h4 {
        font-size: 1.15rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .parallax-container {
        aspect-ratio: 1.3;
    }
    
    .hotspot {
        width: 26px;
        height: 26px;
    }

    /* Proyectos Destacados Section Mobile Alignment */
    .showcase {
        padding: 5rem 5% !important;
        overflow: hidden !important;
    }

    .showcase-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
        margin-bottom: 3rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .showcase-title {
        font-size: clamp(2rem, 5vw, 2.8rem) !important;
        width: 100% !important;
    }

    .showcase-desc {
        max-width: 100% !important;
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        padding: 0 !important;
    }

    /* WhatsApp Luxury Button Mobile Overrides */
    .whatsapp-luxury-btn {
        bottom: 5.5rem;
        right: 1.5rem;
        width: 48px;
        height: 48px;
    }
    
    .whatsapp-luxury-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* --- MULTI-PAGE ADDITIONS (STUDIO, SERVICES, PORTFOLIO, PROCESS, ESTIMATOR, CONTACT) --- */

.page-header {
    padding: 10rem 5% 4rem;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.5) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 10;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.72rem, 1.5vw, 0.85rem);
    letter-spacing: 0.35em;
    color: var(--accent);
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* --- FINAL CTA SECTION --- */
.final-cta-section {
    padding: 7rem 5%;
    text-align: center;
    background: linear-gradient(to top, #020202 0%, transparent 100%);
    z-index: 10;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.final-cta-title span {
    color: var(--accent);
    font-weight: 600;
}

.final-cta-desc {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
}

/* --- PORTFOLIO FILTERS --- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 3rem auto 4rem;
    max-width: 900px;
    z-index: 10;
    position: relative;
    padding: 0 5%;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--accent);
    color: var(--text-primary);
    background: var(--accent-glow);
    box-shadow: 0 0 15px rgba(204, 164, 112, 0.15);
    transform: translateY(-1px);
}

/* --- EXPANDED SERVICES --- */
.service-expanded-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
}

.service-expanded-card {
    padding: 3rem 2.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

.service-expanded-card:hover {
    border-left-color: var(--accent);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-expanded-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-expanded-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-expanded-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* --- CONTACT FORM GRID --- */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
}

.contact-form-container {
    padding: 3.5rem 3rem;
}

.contact-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

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

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

.contact-form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.glass-input, .glass-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.glass-input:focus, .glass-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(204, 164, 112, 0.1);
}

select.glass-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cca470' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    padding-right: 2.5rem;
}

select.glass-input option {
    background: #0d0d0d;
    color: var(--text-primary);
}

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

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    padding: 2rem;
    border-left: 2px solid var(--accent);
}

.contact-info-card h4, .contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.contact-info-card p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

.contact-info-card p span {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.contact-info-card a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition-quick);
}

.contact-info-card a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* --- ESTIMATOR DISCLAIMER --- */
.disclaimer-box {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    border: 1px dashed rgba(204, 164, 112, 0.3);
    background: rgba(204, 164, 112, 0.02);
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-box p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--accent);
    line-height: 1.6;
    text-align: center;
    font-weight: 300;
}

/* --- EXPANDED PROCESS TIMELINE --- */
.process-expanded-timeline {
    max-width: 1000px;
    margin: 4rem auto;
    position: relative;
    padding: 0 5%;
}

.process-expanded-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(5% + 20px);
    width: 1px;
    background: linear-gradient(to bottom, var(--accent) 0%, rgba(255,255,255,0.05) 100%);
}

.process-expanded-step {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
}

.process-expanded-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--accent-glow);
}

.process-expanded-content {
    padding: 2.5rem;
    flex-grow: 1;
}

.process-expanded-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.process-expanded-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* --- RESPONSIVE ADJUSTMENTS FOR NEW LAYOUTS --- */
@media (max-width: 992px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-form-container {
        padding: 2.5rem 1.5rem;
    }
    .process-expanded-timeline::before {
        left: 20px;
    }
    .process-expanded-step {
        gap: 1.5rem;
    }
    .process-expanded-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .process-expanded-content {
        padding: 1.5rem 1.25rem;
        min-width: 0; /* Allows card to shrink under flexbox without overflowing */
    }
    .process-expanded-content h3 {
        font-size: 1.15rem !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important; /* Forces extremely long words like CONCEPTUALIZACIÓN to wrap instead of cutting off */
    }
    .portfolio-filters {
        gap: 0.5rem;
        margin-bottom: 2.5rem;
    }
    .filter-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.65rem;
    }

    /* Prevent service expanded cards from cutting off on narrow screens */
    .service-expanded-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 1.25rem !important;
    }
    .service-expanded-card {
        padding: 2rem 1.5rem !important;
        border-left: 2px solid rgba(255, 255, 255, 0.08) !important;
    }
}

/* --- MOBILE TOUCH / INTERACTIVE ACTIVE STATES --- */
/* Glass buttons active state (hamburger links and general buttons) */
.glass-btn:active,
.glass-btn.touch-active {
    background: var(--text-primary) !important;
    color: var(--bg-color) !important;
    border-color: var(--text-primary) !important;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25) !important;
    transform: scale(0.97) translateY(-3px) !important;
}

/* Hamburger specific buttons interactive lighting */
.nav-menu .glass-btn:active,
.nav-menu .glass-btn.touch-active {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-primary) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05), 0 0 8px rgba(255, 255, 255, 0.02) !important;
    transform: scale(0.97) translateY(-2px) !important;
}

.nav-menu .glass-btn[href*="cotizador.html"]:active,
.nav-menu .glass-btn[href*="cotizador.html"].touch-active,
.nav-menu .glass-btn[href*="contacto.html"]:active,
.nav-menu .glass-btn[href*="contacto.html"].touch-active {
    border-color: var(--accent) !important;
    box-shadow: 0 4px 15px var(--accent-glow) !important;
}

/* Iniciar Proyecto / CTA button interactive lighting */
.glass-btn-cta:active,
.glass-btn-cta.touch-active {
    background: var(--bg-color) !important;
    color: var(--text-primary) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 8px 30px rgba(204, 164, 112, 0.7) !important;
    animation: none !important;
    transform: translateY(-2px) !important;
}

/* Sweep shimmer animation trigger on touch */
.glass-btn:active::after,
.glass-btn.touch-active::after {
    left: 150% !important;
    transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Standard service card active state */
.service-card:active,
.service-card.touch-active {
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.02) !important;
}

/* Expanded service card active state */
.service-expanded-card:active,
.service-expanded-card.touch-active {
    border-left-color: var(--accent) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
}

/* Process step content active state */
.process-expanded-content:active,
.process-expanded-content.touch-active {
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Philosophy box active state */
.philosophy-box:active,
.philosophy-box.touch-active {
    border-color: rgba(204, 164, 112, 0.3) !important;
    box-shadow: 0 20px 50px rgba(204, 164, 112, 0.05) !important;
    transform: translateY(-4px) !important;
}

/* Dynamic gallery card shine sweep on touch */
.gallery-card:active .gallery-image-wrapper::after,
.gallery-card.touch-active .gallery-image-wrapper::after {
    left: 150% !important;
}

/* Premium Logo Spin and Text Glow Effect on touch */
.logo-link:active .logo-img,
.logo-link.touch-active .logo-img,
.logo-link.logo-touch-spin .logo-img {
    border-color: var(--accent) !important;
    transform: rotate(360deg) !important;
}

.logo-link:active .logo-text,
.logo-link.touch-active .logo-text,
.logo-link.logo-touch-spin .logo-text {
    color: var(--accent) !important;
    letter-spacing: 0.32em !important;
}

/* ==========================================
   11. CATEGORIES SHOWCASE GRID (HOMEPAGE)
   ========================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 5rem 0;
    width: 100%;
}

.category-card {
    position: relative;
    aspect-ratio: 0.62;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--card-border);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.95) 100%);
    transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: clamp(1.25rem, 2.2vw, 2.25rem); /* optimized breathing fluid padding */
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.category-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 1.6vw, 1.7rem); /* fluid scale so wide words like CORPORATIVO never break */
    font-weight: 300;
    letter-spacing: 0.06em;
    color: #ffffff;
    text-transform: uppercase;
    transition: color 0.4s ease;
    white-space: nowrap; /* prevent wrapping to keep framing clean */
}

.category-content p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    line-height: 1.5;
    transition: color 0.4s ease;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 0.5rem;
    align-self: flex-start;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(204, 164, 112, 0.3);
    transition: border-color 0.4s ease, color 0.4s ease;
}

.category-btn span {
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects */
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 30px var(--accent-glow);
    border-color: var(--accent);
}

.category-card:hover .category-bg {
    transform: scale(1.08);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.95) 100%);
}

.category-card:hover .category-content h3 {
    color: var(--accent);
}

.category-card:hover .category-btn {
    color: #ffffff;
    border-color: #ffffff;
}

.category-card:hover .category-btn span {
    transform: translate(3px, -3px);
}

/* Light Theme overrides for categories */
body.light-theme .category-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
body.light-theme .category-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(176, 137, 89, 0.2);
}

/* Responsiveness for categories grid */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .category-card {
        aspect-ratio: 0.72;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .category-card {
        aspect-ratio: 1.05;
    }
    .category-content {
        padding: 2rem;
    }
}

/* ==========================================
   12. LIGHT THEME (MODO CLARO) STYLES
   ========================================== */
body.light-theme, html.light-theme {
    --bg-color: #FAF9F5; /* warm alabaster / linen off-white */
    --card-bg: #FFFFFF;  /* pure white card panels to pop against body bg */
    --card-border: rgba(176, 137, 89, 0.09); /* subtle gold-tinted stone borders */
    --text-primary: #1C1B19;   /* soft charcoal black for premium readability */
    --text-secondary: #5C5A56; /* refined warm grey text */
    --text-muted: #8E8B85;     /* muted warm grey */
    --accent: #a37c4c;         /* deep premium architectural gold */
    --accent-glow: rgba(163, 124, 76, 0.12);
    --glass-button-border: rgba(0, 0, 0, 0.15);
    --glass-button-bg: rgba(255, 255, 255, 0.6);
}

/* Scrollbar in Light Theme */
body.light-theme::-webkit-scrollbar-track {
    background: #FAF9F5;
}
body.light-theme ::-webkit-scrollbar-thumb {
    background: #DDDCD8;
    border-radius: 3px;
}
body.light-theme ::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Glass panel adjustments in Light Theme */
body.light-theme .glass-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(176, 137, 89, 0.09);
    box-shadow: 0 12px 40px rgba(163, 124, 76, 0.03), 0 5px 15px rgba(0, 0, 0, 0.01);
}

/* Glass buttons adjustments in Light Theme */
body.light-theme .glass-btn {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.55);
    color: #1C1B19;
}
body.light-theme .glass-btn:hover {
    background: #1C1B19;
    color: #FAF9F5;
    border-color: #1C1B19;
    box-shadow: 0 10px 25px rgba(28, 27, 25, 0.12);
}
body.light-theme .glass-btn::after {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* Navigation Menu overrides */
body.light-theme .nav-menu .glass-btn {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
}
body.light-theme .nav-menu .glass-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #121212;
    border-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
body.light-theme .nav-menu .glass-btn.active {
    border-color: var(--accent);
    background: rgba(176, 137, 89, 0.08);
    color: #121212;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Desktop Header Glass background in Light Theme */
body.light-theme header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Logo image border in Light Theme */
body.light-theme .logo-img {
    border-color: rgba(0, 0, 0, 0.15);
}

/* Call to Action Button overrides */
body.light-theme .glass-btn-cta {
    background: #121212;
    color: #ffffff;
    border-color: #121212;
    animation: goldPulseLight 3s infinite ease-in-out;
}
body.light-theme .glass-btn-cta:hover {
    background: #ffffff;
    color: #121212;
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(176, 137, 89, 0.35);
}
body.light-theme .glass-btn-cta span {
    color: #ffffff;
}
body.light-theme .glass-btn-cta:hover span {
    color: #121212;
}

@keyframes goldPulseLight {
    0% {
        box-shadow: 0 0 10px rgba(176, 137, 89, 0.15);
        border-color: rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(176, 137, 89, 0.45);
        border-color: var(--accent);
    }
    100% {
        box-shadow: 0 0 10px rgba(176, 137, 89, 0.15);
        border-color: rgba(0, 0, 0, 0.1);
    }
}

/* Hero Section overrides in Light Theme */
body.light-theme .hero::before {
    background: linear-gradient(to bottom, rgba(28, 27, 25, 0.52) 0%, rgba(28, 27, 25, 0.28) 55%, rgba(250, 249, 245, 1) 100%);
}
body.light-theme .hero-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 4px 30px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.12);
}
body.light-theme .hero-subtitle {
    color: #8c6435;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}
body.light-theme .page-subtitle {
    color: #8c6435 !important;
    font-weight: 700;
    letter-spacing: 0.37em;
    text-shadow: none !important;
}
body.light-theme .hero-desc {
    color: #ffffff;
    font-weight: 400; /* Aumento sutil a 400 para mejorar legibilidad sobre fondo claro */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 0, 0, 0.15);
}
body.light-theme .hero .stat-item h3 {
    color: var(--text-primary);
    text-shadow: none;
}
body.light-theme .hero .stat-item p {
    color: var(--text-secondary);
    text-shadow: none;
}

/* Showcase grid overrides */
body.light-theme .showcase {
    background: linear-gradient(to bottom, #FAF9F5 0%, #F1EFEA 30%, #F1EFEA 70%, #FAF9F5 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
body.light-theme .gallery-image-wrapper {
    background: #FAF9F5;
    border: 1px solid rgba(176, 137, 89, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* Services section overrides */
body.light-theme .services-section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .service-card {
    background: #FFFFFF;
    border: 1px solid rgba(176, 137, 89, 0.09);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
body.light-theme .service-card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
body.light-theme .service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 45px rgba(163, 124, 76, 0.05);
    transform: translateY(-4px);
}
body.light-theme .philosophy-box {
    background: #FFFFFF;
    border: 1px solid rgba(176, 137, 89, 0.12);
    box-shadow: 0 15px 40px rgba(163, 124, 76, 0.02);
}
body.light-theme .philosophy-box:hover {
    border-color: rgba(176, 137, 89, 0.35);
    box-shadow: 0 25px 55px rgba(163, 124, 76, 0.05);
    transform: translateY(-2px);
}

/* Lente de Revelado Section overrides */
body.light-theme .lens-section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .lens-bg-blurred {
    filter: blur(12px) brightness(0.95);
}
body.light-theme .lens-window {
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.08), 
        inset 0 0 50px rgba(255, 255, 255, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.02);
}
body.light-theme .lens-crosshair-h,
body.light-theme .lens-crosshair-v {
    background: rgba(0, 0, 0, 0.1);
}
body.light-theme .lens-fixed-hud {
    color: rgba(0, 0, 0, 0.4);
}

/* About Studio section overrides */
body.light-theme .about {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .about-visual {
    border: none !important;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.1), 
        0 25px 60px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
    background-color: #000000;
}
body.light-theme .about-visual:hover {
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15), 
        0 35px 75px rgba(0, 0, 0, 0.28);
    border: none !important;
    transform: translateY(-6px);
}
body.light-theme .about-visual img {
    filter: contrast(1.2) brightness(1.02) saturate(1.06) !important;
    opacity: 0.9 !important;
}
body.light-theme .about-visual:hover img {
    filter: contrast(1.26) brightness(1.05) saturate(1.1) !important;
    opacity: 0.98 !important;
}
body.light-theme .about-visual::after {
    display: none !important;
    background: none !important;
}

/* Cotizador Interactive Estimator Section overrides */
body.light-theme .estimator-section {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(to bottom, var(--bg-color), #FAF9F5);
}
body.light-theme .slider {
    background: rgba(163, 124, 76, 0.15);
}
body.light-theme .slider::-webkit-slider-thumb {
    background: #ffffff;
    border: 2.5px solid var(--accent);
    box-shadow: 0 4px 12px rgba(163, 124, 76, 0.25);
}
body.light-theme .slider::-webkit-slider-thumb:hover {
    background: var(--accent);
    box-shadow: 0 4px 18px rgba(163, 124, 76, 0.45);
}
body.light-theme .glass-select {
    background-color: #ffffff;
    border: 1px solid rgba(163, 124, 76, 0.22);
    color: var(--text-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a37c4c' width='20px' height='20px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
}
body.light-theme .glass-select:hover {
    border-color: var(--accent);
    background-color: #FAF9F5;
}
body.light-theme .glass-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(163, 124, 76, 0.12);
}
body.light-theme .glass-selectOption,
body.light-theme .glass-select option {
    background: #ffffff;
    color: var(--text-primary);
}
body.light-theme .estimator-results {
    background: linear-gradient(135deg, rgba(163, 124, 76, 0.04) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
    border: 1px solid rgba(163, 124, 76, 0.25) !important;
    box-shadow: 0 20px 40px rgba(163, 124, 76, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
body.light-theme .result-box {
    border-bottom: 1px dashed rgba(163, 124, 76, 0.2);
}
body.light-theme .result-box:nth-child(2) {
    border-bottom: none;
}

/* Success Modal overrides */
body.light-theme .success-overlay {
    background: rgba(255, 255, 255, 0.92);
}
body.light-theme .success-content {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    background: #ffffff;
    color: #121212;
}

/* Lightbox Modal overrides */
body.light-theme .lightbox-overlay {
    background: rgba(255, 255, 255, 0.96);
}
body.light-theme .lightbox-close,
body.light-theme .lightbox-prev,
body.light-theme .lightbox-next {
    background: rgba(240, 240, 240, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #121212;
}
body.light-theme .lightbox-close:hover,
body.light-theme .lightbox-prev:hover,
body.light-theme .lightbox-next:hover {
    background: #121212;
    color: #ffffff;
    border-color: #121212;
}
body.light-theme .lightbox-slider-wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}
body.light-theme .lightbox-info {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
}
body.light-theme .lightbox-title {
    color: #121212;
}
body.light-theme .lightbox-subtitle {
    color: #555555;
}

/* Footer overrides */
body.light-theme footer {
    background: #F2F0EB; /* warm linen sand stone grey */
    border-top: 1px solid rgba(176, 137, 89, 0.12);
}
body.light-theme .footer-links h4::after,
body.light-theme .footer-contact h4::after {
    background: var(--accent);
}
body.light-theme .footer-links ul li a:hover {
    color: var(--accent);
}
body.light-theme .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* WhatsApp Button overrides */
body.light-theme .whatsapp-luxury-btn {
    background: #121212;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
body.light-theme .whatsapp-luxury-btn svg {
    fill: #ffffff;
}
body.light-theme .whatsapp-luxury-btn:hover {
    background: #000000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* Page Header in Multi-page layouts */
body.light-theme .page-header {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .final-cta-section {
    background: linear-gradient(to top, #f9f9f9 0%, transparent 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Mobile Menu overlays */
@media (max-width: 1200px) {
    body.light-theme .nav-menu {
        background: rgba(255, 255, 255, 0.99) !important;
    }
    body.light-theme .nav-menu .mobile-menu-cta {
        background: #121212 !important;
        color: #ffffff !important;
        border-color: #121212 !important;
    }
    body.light-theme .theme-toggle-btn {
        margin-right: 0;
    }
}

/* Forms in Contact page */
body.light-theme .contact-form-container {
    background: #FFFFFF !important;
    border: 1px solid rgba(176, 137, 89, 0.1) !important;
    box-shadow: 0 15px 40px rgba(163, 124, 76, 0.02) !important;
}
body.light-theme .contact-form-container h3 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .glass-input,
body.light-theme .glass-textarea {
    background: #FFFFFF;
    border: 1px solid rgba(28, 27, 25, 0.12);
    color: #1C1B19;
}
body.light-theme .glass-input:focus,
body.light-theme .glass-textarea:focus {
    background: #FFFFFF;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(176, 137, 89, 0.1);
}

body.light-theme select.glass-input {
    background-color: #FFFFFF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a37c4c' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
}
body.light-theme select.glass-input:hover {
    background-color: #FAF9F5;
    border-color: var(--accent);
}
body.light-theme select.glass-input option {
    background: #FFFFFF;
    color: #1C1B19;
}
body.light-theme .contact-info-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(176, 137, 89, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.4s ease;
}
body.light-theme .contact-info-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent) !important;
    box-shadow: 0 15px 35px rgba(163, 124, 76, 0.04) !important;
}

/* Timeline in Process page */
body.light-theme .process-expanded-timeline::before {
    background: linear-gradient(to bottom, var(--accent) 0%, rgba(0,0,0,0.05) 100%);
}
body.light-theme .process-expanded-number {
    background: #ffffff;
    border: 1px solid var(--accent);
    box-shadow: 0 0 15px rgba(176, 137, 89, 0.15);
}

/* Active touch states for Light Theme */
body.light-theme .glass-btn:active,
body.light-theme .glass-btn.touch-active {
    background: #121212 !important;
    color: #ffffff !important;
    border-color: #121212 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}
body.light-theme .nav-menu .glass-btn:active,
body.light-theme .nav-menu .glass-btn.touch-active {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #121212 !important;
    border-color: rgba(0, 0, 0, 0.4) !important;
}
body.light-theme .glass-btn-cta:active,
body.light-theme .glass-btn-cta.touch-active {
    background: #ffffff !important;
    color: #121212 !important;
    border-color: var(--accent) !important;
    box-shadow: 0 8px 30px rgba(176, 137, 89, 0.4) !important;
}
body.light-theme .process-expanded-content:active,
body.light-theme .process-expanded-content.touch-active {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
}

/* --- SCROLL REVEAL MICRO-ANIMATIONS (STAGE 2) --- */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

/* Stagger delays for multiple items */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Micro-transitions on hover for category cards & social links */
.category-card {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.social-links a {
    position: relative;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-links a:hover {
    color: var(--accent) !important;
    transform: translateY(-2px);
}

/* Compact Theme Toggle Button on Desktop Header */
header #theme-toggle {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Compact desktop navigation buttons to fit viewport without overflow */
@media (min-width: 1201px) {
    .nav-menu {
        gap: 0.35rem;
    }
    .nav-menu .glass-btn {
        padding: 0.55rem 0.95rem;
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }
    .header-right .glass-btn-cta {
        padding: 0.55rem 1.15rem;
        font-size: 0.72rem;
    }
}
