/* 
========================================================================
   SISTEMA DE DISEÑO PREMIUM - MD MAGENTADIGITAL (MONTERREY)
   Paleta: Indigo Profundo, Violeta y Rosa Neón/Magenta Neón
========================================================================
*/

/* VARIABLES GLOBALES */
:root {
    --bg-dark: #07030d;
    --bg-deep: #0e051c;
    --bg-panel: rgba(21, 9, 39, 0.6);
    --bg-panel-solid: #150927;
    --border-glass: rgba(229, 9, 127, 0.15);
    --border-glass-hover: rgba(229, 9, 127, 0.4);
    
    --primary: #e5097f;          /* Magenta Vibrante */
    --primary-glow: rgba(229, 9, 127, 0.6);
    --primary-dark: #b00560;
    --secondary: #9b5de5;        /* Violeta Neón */
    --secondary-glow: rgba(155, 93, 229, 0.4);
    
    --success: #25d366;          /* Verde WhatsApp */
    --success-glow: rgba(37, 211, 102, 0.4);
    
    --text-main: #f5f3f7;
    --text-muted: #a39cb0;
    --text-dark: #120921;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-neon: 0 0 15px rgba(229, 9, 127, 0.35);
    --shadow-neon-large: 0 0 30px rgba(229, 9, 127, 0.6);
}

/* RESET GENERAL */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-style: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

/* PERSONALIZACIÓN DE LA BARRA DE DESPLAZAMIENTO */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #25133d;
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: 0 0 5px var(--primary);
}

/* DEGRADADOS DE FONDO DINÁMICOS */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #110526 0%, var(--bg-dark) 100%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, rgba(0,0,0,0) 70%);
    top: -10vw;
    right: -10vw;
}

.orb-2 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--secondary) 0%, rgba(0,0,0,0) 70%);
    bottom: -15vw;
    left: -15vw;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-5%, 8%) scale(1.1);
    }
    100% {
        transform: translate(5%, -5%) scale(0.9);
    }
}

/* CABECERA Y NAVBAR FLOTANTE */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 2rem;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.8rem 2rem;
    background: rgba(11, 4, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 9, 127, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.8rem;
}

.brand-logo-img {
    height: 46px;
    width: 46px;
    object-fit: contain;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    box-shadow: 0 0 10px rgba(229, 9, 127, 0.4);
    background: #000;
    transition: var(--transition-fast);
}

.logo-brand:hover .brand-logo-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px var(--primary-glow);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.45rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo-text .highlight {
    color: var(--primary);
    font-weight: 800;
    text-shadow: 0 0 10px var(--primary-glow);
}

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

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-fast);
}

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

.btn-navbar-contact {
    background: var(--success);
    color: var(--text-main) !important;
    padding: 0.55rem 1.1rem !important;
    border-radius: 30px;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-navbar-contact:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-navbar-contact::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* ESTILOS DE BOTONES COMUNES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-whatsapp-large {
    background: var(--success);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    width: 100%;
    padding: 1.1rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    transition: var(--transition-fast);
    margin-top: 1.2rem;
}

.btn-whatsapp-large:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.btn-full-width {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
}

/* SECCIÓN HERO */
.hero-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    min-height: 90vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tagline {
    background: rgba(229, 9, 127, 0.15);
    border: 1px solid var(--primary);
    color: var(--text-main);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(229, 9, 127, 0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 20%, var(--secondary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(229, 9, 127, 0.2);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    width: 100%;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
    position: relative;
    width: 100%;
    max-width: 380px;
    transition: var(--transition-normal);
}

.visual-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-neon-large);
}

.logo-hero-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
}

.hero-logo-large {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 35px rgba(229, 9, 127, 0.5);
    animation: logoFloat 6s infinite ease-in-out;
    z-index: 2;
}

@keyframes logoFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.logo-pulse-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
    opacity: 0.5;
    animation: logoPulse 3s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes logoPulse {
    0% { transform: scale(0.85); opacity: 0.3; }
    100% { transform: scale(1.15); opacity: 0.65; }
}

.card-badge {
    position: absolute;
    bottom: -15px;
    right: 25px;
    background: var(--primary);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(229, 9, 127, 0.4);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* SECCIÓN BENEFICIOS (USPs) */
.usps-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.usp-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.usp-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    padding: 2.2rem 1.8rem;
    border-radius: 12px;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.usp-card:hover {
    background: rgba(30, 13, 54, 0.6);
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(229, 9, 127, 0.15);
}

.usp-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    text-shadow: 0 0 10px var(--primary-glow);
}

.usp-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.usp-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* SECCIÓN DE SERVICIOS */
.services-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-header h2 .highlight {
    color: var(--primary);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* PESTAÑAS DE SERVICIOS */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tab-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    border: 1px solid var(--border-glass);
    background: var(--bg-panel);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
}

.tab-btn:hover {
    color: var(--text-main);
    border-color: rgba(229, 9, 127, 0.4);
}

.tab-btn.active {
    color: var(--text-main);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-neon);
}

/* CUADRÍCULAS DE SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.services-grid.hidden {
    display: none;
}

/* Para la cuadrícula láser/impresión, con 6 elementos es mejor tener responsive fluido */
#grid-impresion {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    #grid-impresion {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(229, 9, 127, 0.15);
}

.service-img {
    height: 180px;
    background: linear-gradient(135deg, #18092d 0%, #0d041b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

.service-img::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(229,9,127,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.service-vector-icon {
    font-size: 4rem;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    transition: var(--transition-normal);
}

.service-card:hover .service-vector-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--secondary);
    text-shadow: 0 0 20px var(--secondary-glow);
}

.service-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-body h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.service-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
    margin-top: auto;
}

.service-link:hover {
    color: var(--text-main);
    transform: translateX(3px);
}

/* SECCIÓN DEL SIMULADOR */
.simulator-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
    border-top: 1px solid rgba(229, 9, 127, 0.1);
}

.simulator-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.sim-controls {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.form-group label i {
    color: var(--primary);
    margin-right: 0.4rem;
}

.form-group select, 
.form-group input, 
.form-group textarea {
    width: 100%;
    background: rgba(11, 4, 22, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.85rem 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group select:focus, 
.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(229, 9, 127, 0.2);
    background: rgba(11, 4, 22, 0.9);
}

.row-inputs {
    display: flex;
    gap: 1.2rem;
}

.input-half {
    flex: 1;
}

/* CAJA DE METROS CUADRADOS CALCULADOS */
.sqm-calc-wrapper {
    background: rgba(11, 4, 22, 0.85);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(229, 9, 127, 0.2);
}

.sqm-glowing-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

#sqm-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--text-main);
    text-shadow: 0 0 12px var(--primary-glow);
    letter-spacing: -1px;
}

.sqm-display-unit {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--primary);
}

.sim-summary {
    background: rgba(229, 9, 127, 0.06);
    border: 1px dashed rgba(229, 9, 127, 0.3);
    border-radius: 8px;
    padding: 1.2rem;
    margin: 1.5rem 0 0.8rem;
}

.sim-summary h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.sim-summary p {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
}

.summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 0.6rem;
    text-transform: uppercase;
}

/* LIENZO DE SIMULACIÓN VISUAL */
.sim-preview-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preview-header {
    background: rgba(11, 4, 22, 0.6);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-scale {
    background: rgba(255,255,255,0.06);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--secondary);
    border: 1px solid rgba(255,255,255,0.05);
}

.simulation-canvas {
    height: 480px;
    background: radial-gradient(circle at bottom, #1e0d37 0%, #080312 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Rejilla de simulación */
.simulation-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    pointer-events: none;
}

/* Suelo de concreto */
.simulation-canvas::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, #222 0%, #111 100%);
    border-top: 2px solid #555;
    z-index: 2;
}

/* Elementos de Escala de Fondo */
.canvas-background-elements {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Edificio de Referencia */
.building-ref {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 120px;
    height: 220px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15px;
    gap: 15px;
}

.building-window {
    width: 30px;
    height: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.ref-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 600;
}

/* Persona de Referencia */
.person-ref {
    position: absolute;
    bottom: 0;
    left: 40px;
    width: 25px;
    height: 38px;
    opacity: 0.6;
}

.person-head {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    margin: 0 auto 2px;
}

.person-body {
    width: 10px;
    height: 20px;
    background: var(--secondary);
    border-radius: 4px 4px 0 0;
    margin: 0 auto;
}

.person-ref .ref-label {
    top: -15px;
}

/* El Objeto Simulado Dinámico */
.simulated-object {
    position: absolute;
    bottom: 50px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--transition-normal);
}

.object-support {
    width: 8px;
    height: 120px;
    background: linear-gradient(90deg, #444 0%, #222 100%);
    border: 1px solid #555;
    transition: all var(--transition-normal);
}

.object-display {
    width: 240px; /* 12m a escala */
    height: 160px; /* 8m a escala */
    background: linear-gradient(135deg, var(--bg-panel-solid) 0%, #05020a 100%);
    border: 3px solid var(--primary);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 0 20px rgba(229, 9, 127, 0.4);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.object-inner-content {
    border: 1px dashed rgba(229, 9, 127, 0.4);
    width: 100%;
    height: 100%;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    background: rgba(229, 9, 127, 0.03);
}

.object-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-main);
    text-shadow: 0 0 10px var(--primary-glow);
    margin-bottom: 2px;
}

.object-size-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* Modificadores gráficos para tipos de productos específicos */
.sim-toldo .object-support {
    display: none;
}
.sim-toldo .object-display {
    border-radius: 12px 12px 0 0;
    transform-origin: bottom center;
    border-bottom: 8px solid var(--secondary);
}

.sim-parabus .object-support {
    display: none;
}
.sim-parabus .object-display {
    border-radius: 8px;
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(155, 93, 229, 0.4);
}

.sim-lona .object-support {
    display: none;
}
.sim-lona .object-display {
    border-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.sim-termo {
    transform-origin: bottom center;
}
.sim-termo .object-support {
    display: none;
}
.sim-termo .object-display {
    border-radius: 20px 20px 5px 5px;
    width: 60px;
    height: 160px;
    border-color: #ccc;
    background: #111;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.sim-bandera .object-support {
    width: 3px;
    height: 20px;
    background: #666;
}
.sim-bandera .object-display {
    width: 50px;
    height: 200px;
    border-radius: 50px 50px 0 30px;
    border-color: var(--primary);
}

.sim-tarjeta .object-support {
    display: none;
}
.sim-tarjeta .object-display {
    width: 250px;
    height: 140px;
    border-radius: 4px;
    border-color: #9b5de5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sim-vinil .object-support {
    display: none;
}
.sim-vinil .object-display {
    border-color: var(--secondary);
    border-style: dotted;
    background: rgba(155, 93, 229, 0.05);
}

.sim-bastidor .object-support {
    display: none;
}
.sim-bastidor .object-display {
    border: 4px double var(--primary);
    box-shadow: 0 0 25px rgba(229, 9, 127, 0.35);
    background: linear-gradient(135deg, rgba(229, 9, 127, 0.08) 0%, rgba(15, 7, 30, 0.95) 100%);
}

.sim-trovicel .object-support {
    display: none;
}
.sim-trovicel .object-display {
    border: 3px solid #e2e1e6;
    background: #ffffff;
    border-radius: 6px;
}
.sim-trovicel .object-brand {
    color: #150927;
    text-shadow: none;
}
.sim-trovicel .object-size-label {
    color: var(--primary);
}

.sim-estireno .object-support {
    display: none;
}
.sim-estireno .object-display {
    border: 1.5px solid #dedce0;
    background: #fdfdfd;
    border-radius: 4px;
}
.sim-estireno .object-brand {
    color: #07030d;
    text-shadow: none;
}
.sim-estireno .object-size-label {
    color: var(--secondary);
}

.sim-tabloide .object-support {
    display: none;
}
.sim-tabloide .object-display {
    border: 1px solid #e8e6eb;
    background: linear-gradient(135deg, #ffffff 0%, #f4f3f7 100%);
    border-radius: 2px;
}
.sim-tabloide .object-brand {
    color: var(--primary);
    text-shadow: 0 0 5px rgba(229, 9, 127, 0.2);
}
.sim-tabloide .object-size-label {
    color: #444;
}

/* Badge de piezas en lienzo */
.qty-badge-canvas {
    background: var(--primary);
    color: var(--text-main);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
}


/* SECCIÓN DE COTIZADOR DE CORTE LÁSER */
.laser-uploader-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
    border-top: 1px solid rgba(229, 9, 127, 0.1);
}

.laser-uploader-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.laser-card-form {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
}

.laser-dropzone {
    background: rgba(11, 4, 22, 0.5);
    border: 2px dashed var(--border-glass);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.laser-dropzone:hover, .laser-dropzone.dragover {
    border-color: var(--secondary);
    background: rgba(155, 93, 229, 0.05);
    box-shadow: 0 0 15px rgba(155, 93, 229, 0.1);
}

.laser-dropzone.success-state {
    border-color: var(--success);
    background: rgba(37, 211, 102, 0.05);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.15);
}

.laser-drop-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.laser-drop-label i {
    font-size: 2.5rem;
    color: var(--secondary);
    text-shadow: 0 0 8px var(--secondary-glow);
    transition: var(--transition-fast);
}

.laser-dropzone.success-state .laser-drop-label i {
    color: var(--success);
    text-shadow: 0 0 8px var(--success-glow);
    transform: scale(1.1);
}

.laser-drop-label span {
    font-size: 0.9rem;
    color: var(--text-main);
}

.laser-drop-label small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.laser-info-card {
    background: rgba(21, 9, 39, 0.4);
    border: 1px solid rgba(155, 93, 229, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.laser-info-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.45rem;
    color: var(--secondary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.laser-info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.laser-specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 1.8rem 0;
}

.laser-specs-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    line-height: 1.5;
}

.laser-specs-list i {
    color: var(--secondary);
    margin-top: 3px;
    font-size: 0.95rem;
}

.laser-badge-mty {
    background: rgba(155, 93, 229, 0.08);
    border: 1px solid rgba(155, 93, 229, 0.25);
    border-radius: 10px;
    padding: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.laser-badge-mty i {
    font-size: 1.8rem;
    color: var(--secondary);
    text-shadow: 0 0 8px var(--secondary-glow);
}

.laser-badge-mty h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.laser-badge-mty p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.laser-summary {
    border-color: rgba(155, 93, 229, 0.3) !important;
    background: rgba(155, 93, 229, 0.05) !important;
}

.laser-summary h4 {
    color: var(--secondary) !important;
}


/* SECCIÓN DE GALERÍA (EL ACOMODADOR) */
.gallery-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
    border-top: 1px solid rgba(229, 9, 127, 0.1);
}

.admin-controls-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-admin-toggle {
    background: rgba(229, 9, 127, 0.12);
    border: 1px solid var(--primary);
    color: var(--text-main);
    padding: 0.7rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-admin-toggle:hover {
    background: var(--primary);
    box-shadow: var(--shadow-neon);
}

/* Panel de Administración Visual */
.admin-panel {
    background: rgba(21, 9, 39, 0.85);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 2.2rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-neon);
    animation: fadeIn var(--transition-normal);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-panel-header {
    margin-bottom: 1.5rem;
}

.admin-panel-header h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.admin-panel-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-upload-zone {
    background: rgba(11, 4, 22, 0.6);
    border: 2px dashed rgba(229, 9, 127, 0.4);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-bottom: 1.5rem;
}

.admin-upload-zone:hover {
    border-color: var(--primary);
    background: rgba(229, 9, 127, 0.05);
}

.hidden-input {
    display: none;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}

.upload-label i {
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.upload-label span {
    font-size: 0.95rem;
    color: var(--text-main);
}

.upload-label small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.admin-actions-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn-save-admin {
    box-shadow: 0 0 15px rgba(229, 9, 127, 0.4);
}

/* La Rejilla de la Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.gallery-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(229, 9, 127, 0.1);
}

.gallery-img-box {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-card:hover .gallery-img-box img {
    transform: scale(1.08);
}

.gallery-vector-placeholder {
    font-size: 4rem;
    color: rgba(229, 9, 127, 0.15);
    text-shadow: 0 0 10px rgba(229, 9, 127, 0.05);
}

.gallery-body {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-body h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.gallery-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
}

.gallery-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 4, 22, 0.85);
    border: 1px solid var(--primary);
    color: var(--text-main);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    z-index: 2;
}

/* BOTONES DE EDICIÓN DEL ACOMODADOR */
.gallery-card-admin-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 4, 22, 0.9);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    animation: fadeIn var(--transition-fast);
}

.btn-card-admin {
    background: #25133d;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 130px;
    transition: var(--transition-fast);
}

.btn-card-admin:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-card-admin-delete {
    background: #800247;
}
.btn-card-admin-delete:hover {
    background: #e5097f;
}

/* SECCIÓN DE CONTACTO */
.contact-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
    border-top: 1px solid rgba(229, 9, 127, 0.1);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
}

.contact-info h2 .highlight {
    color: var(--primary);
}

.contact-info p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(229, 9, 127, 0.1);
    border: 1px solid var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    flex-shrink: 0;
}

.info-text h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.info-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.info-text a {
    color: var(--success);
    text-decoration: none;
    font-weight: 600;
}

.info-text a:hover {
    text-decoration: underline;
}

.social-links-container h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

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

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-fast);
}

.fb-icon {
    background: #1877f2;
}
.fb-icon:hover {
    box-shadow: 0 0 15px rgba(24,119,242,0.6);
    transform: translateY(-3px);
}

.wa-icon {
    background: var(--success);
}
.wa-icon:hover {
    box-shadow: 0 0 15px rgba(37,211,102,0.6);
    transform: translateY(-3px);
}

/* CAJA FORMULARIO DIRECTO */
.contact-form-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(15px);
}

.contact-form-box h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.contact-form-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-group-direct {
    margin-bottom: 1.2rem;
}

.form-group-direct input, 
.form-group-direct select, 
.form-group-direct textarea {
    width: 100%;
    background: rgba(11, 4, 22, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-group-direct input:focus, 
.form-group-direct select:focus, 
.form-group-direct textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(229, 9, 127, 0.2);
    background: rgba(11, 4, 22, 0.85);
}

/* PIE DE PÁGINA COMERCIAL */
.footer-brand {
    background: #06020c;
    border-top: 1px solid rgba(229, 9, 127, 0.15);
    padding: 5rem 2rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.brand-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.2rem;
    line-height: 1.6;
    max-width: 320px;
}

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

.links-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.services-col li {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.5;
}


/* MODAL O MENÚ RESPONSIVO MÓVIL */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 8rem;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .usp-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .laser-uploader-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .simulator-container, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sim-preview-box {
        order: -1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .navbar.scrolled {
        padding: 0.8rem 1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(11, 4, 22, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: 0.4s ease-in-out;
        z-index: 999;
    }
    
    .nav-menu.active {
        top: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .btn-navbar-contact {
        font-size: 1.1rem !important;
        padding: 0.8rem 1.8rem !important;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .usp-container, .services-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .services-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .brand-col p {
        max-width: 100%;
    }
    
    .contact-form-box {
        padding: 1.8rem;
    }
}
