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

/* ==========================================
   SISTEMA DE DISEÑO & VARIABLES
   ========================================== */
:root {
    --bg-base: #030406;
    --bg-surface: #0a0c10;
    --bg-card: #0f121a;
    --bg-card-hover: #141924;
    --bg-glass: rgba(10, 12, 16, 0.6);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(0, 231, 255, 0.3);
    
    --color-primary: #0088ff; /* Azul eléctrico */
    --color-secondary: #00e7ff; /* Cian neón */
    --color-accent: #bfff00; /* Verde lima */
    --color-purple: #7a00ff; /* Púrpura */
    --color-text-main: #ffffff;
    --color-text-muted: #8a99ad;
    
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-neon-blue: 0 0 25px rgba(0, 136, 255, 0.25);
    --shadow-neon-cyan: 0 0 25px rgba(0, 231, 255, 0.25);
    --shadow-neon-lime: 0 0 25px rgba(191, 255, 0, 0.25);
    --shadow-neon-purple: 0 0 25px rgba(122, 0, 255, 0.25);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   RESET & ESTILOS GLOBALES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    background-color: var(--bg-base);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Grid de fondo de alta tecnología */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Orbes de luz ambientales en el fondo (Fixed y flotantes para evitar fondo seco al hacer scroll) */
.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 25s infinite alternate ease-in-out;
}
.blob-1 {
    width: 550px;
    height: 550px;
    top: -10%;
    left: -15%;
    background: var(--color-secondary);
}
.blob-2 {
    width: 650px;
    height: 650px;
    top: 35%;
    right: -20%;
    background: var(--color-primary);
    animation-delay: -6s;
    animation-duration: 35s;
}
.blob-3 {
    width: 480px;
    height: 480px;
    bottom: -10%;
    left: 5%;
    background: var(--color-accent);
    animation-delay: -12s;
    animation-duration: 22s;
}

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

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

ul {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
    background: none;
    border: none;
    color: inherit;
}

/* ==========================================
   DISEÑO DE TEXTOS & GRADIENTES
   ========================================= */
.grad-text-cyan-blue {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.grad-text-lime {
    background: linear-gradient(135deg, var(--color-accent), #e1ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-tag::before {
    content: '//';
    color: var(--color-accent);
}

.section-title {
    font-family: var(--font-headings);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

/* ==========================================
   COMPONENTES DE BOTONES PREMIUM
   ========================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #030406;
    font-weight: 700;
    padding: 1rem 2.25rem;
    border-radius: 12px;
    transition: var(--transition-normal);
    cursor: pointer;
    box-shadow: var(--shadow-neon-cyan);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(0, 231, 255, 0.5);
    filter: brightness(1.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-main);
    font-weight: 600;
    padding: 1rem 2.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-secondary);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 231, 255, 0.15);
}

/* Glass panel */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

/* ==========================================
   NAVBAR (HEADER)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 0.85rem 2rem;
    background: rgba(3, 4, 6, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-img {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 8px rgba(0, 231, 255, 0.3));
}

.logo-text {
    font-family: var(--font-headings);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    line-height: 1;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-text-muted);
    letter-spacing: 2.5px;
    display: block;
    margin-top: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.5rem 2rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    padding: 0.4rem 0;
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-actions .btn-primary {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

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

/* ==========================================
   SECCIÓN HERO
   ========================================= */
.hero {
    position: relative;
    padding: 200px 2rem 120px 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-info {
    position: relative;
    z-index: 2;
}

.hero-tag {
    color: var(--color-secondary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent);
    box-shadow: var(--shadow-neon-lime);
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(0, 136, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(3, 4, 6, 0.95));
    z-index: 1;
    pointer-events: none;
}

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

.hero-image-container:hover .hero-img {
    transform: scale(1.05);
}

/* ==========================================
   SECCIÓN SERVICIOS
   ========================================= */
.servicios {
    padding: 120px 2rem;
    position: relative;
    z-index: 1;
}

.servicios-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.servicio-card {
    position: relative;
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    transition: var(--transition-normal);
    overflow: hidden;
    z-index: 1;
    background: rgba(15, 18, 26, 0.4);
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    transition: var(--transition-normal);
}

.servicio-icon-container {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-normal);
    z-index: 1;
}

.servicio-icon-container i {
    font-size: 1.8rem;
    z-index: 2;
    transition: var(--transition-normal);
}

.icon-blue i { color: var(--color-primary); }
.icon-cyan i { color: var(--color-secondary); }
.icon-lime i { color: var(--color-accent); }
.icon-purple i { color: var(--color-purple); }

.servicio-icon-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
}
.icon-blue::after { background: var(--color-primary); }
.icon-cyan::after { background: var(--color-secondary); }
.icon-lime::after { background: var(--color-accent); }
.icon-purple::after { background: var(--color-purple); }

.servicio-title {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.2px;
}

.servicio-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.servicio-learn-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.servicio-learn-more i {
    transition: var(--transition-fast);
}

.servicio-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 18, 26, 0.75);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(0, 231, 255, 0.05);
}

.servicio-card:hover::before {
    background: linear-gradient(135deg, var(--color-secondary), transparent 80%);
}

.servicio-card:hover .servicio-icon-container {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-secondary);
}

.servicio-card:hover .servicio-icon-container::after {
    opacity: 0.25;
}

.servicio-card:hover .servicio-icon-container i {
    transform: rotate(5deg);
}

.servicio-card:hover .servicio-learn-more {
    color: var(--color-accent);
    opacity: 1;
}

.servicio-card:hover .servicio-learn-more i {
    transform: translateX(5px);
}

/* ==========================================
   SECCIÓN EMPRESA (MISIÓN / VISIÓN)
   ========================================= */
.empresa {
    padding: 120px 2rem;
    position: relative;
    z-index: 1;
}

.empresa-container {
    max-width: 1200px;
    margin: 0 auto;
}

.empresa-mv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 6rem;
}

.mv-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem;
    height: 100%;
}

.mv-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mv-title {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.mv-img-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.mv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-text {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ==========================================
   SECCIÓN VALORES (ESTILOS Y SVG DE RED DE NODOS)
   ========================================= */
.valores-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.valores-intro {
    text-align: left;
}

.valores-intro .section-title {
    margin-bottom: 1.5rem;
}

/* Contenedor del SVG interactivo */
.valores-graphic-wrap {
    max-width: 250px;
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animación de rotación y resplandor para el SVG de red de nodos */
.tech-glow-svg {
    filter: drop-shadow(0 0 15px rgba(0, 231, 255, 0.3));
    animation: techRotate 25s linear infinite;
    transform-origin: center;
}

@keyframes techRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.valores-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.valor-item {
    display: flex;
    align-items: flex-start; /* Alineado arriba para dar espacio al subtítulo */
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.valor-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: var(--transition-fast);
    transform-origin: bottom;
}

.valor-item:hover {
    background: rgba(191, 255, 0, 0.025);
    border-color: rgba(191, 255, 0, 0.25);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(191, 255, 0, 0.05);
}

.valor-item:hover::before {
    transform: scaleY(1);
}

.valor-icon {
    color: var(--color-accent);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(191, 255, 0, 0.1);
    flex-shrink: 0;
    margin-top: 2px;
}

.valor-text-box {
    display: flex;
    flex-direction: column;
}

.valor-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-text-main);
    letter-spacing: -0.1px;
    line-height: 1.2;
}

.valor-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
    line-height: 1.5;
}

/* ==========================================
   SECCIÓN CONTACTO
   ========================================= */
.contacto {
    padding: 120px 2rem;
    position: relative;
    z-index: 1;
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.contacto-info .section-title {
    text-align: left;
}

.info-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 3rem;
}

.info-item-link {
    display: block;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 1.75rem 2rem;
    transition: var(--transition-normal);
}

.info-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 231, 255, 0.05);
    border: 1px solid rgba(0, 231, 255, 0.1);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
    box-shadow: 0 0 15px rgba(0, 231, 255, 0.05);
}

.info-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-value {
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 4px;
    letter-spacing: -0.3px;
    transition: var(--transition-fast);
}

.info-item-link:hover .info-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-item-link:hover .info-icon-box {
    background: var(--color-secondary);
    color: #030406;
    box-shadow: var(--shadow-neon-cyan);
    transform: scale(1.05) rotate(-3deg);
}

.info-item-link:hover .info-value {
    color: var(--color-secondary);
}

/* Formulario */
.contacto-form-container {
    padding: 4rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.contacto-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.03), transparent);
    pointer-events: none;
    z-index: 0;
}

#contactForm {
    position: relative;
    z-index: 1;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 
        0 0 25px rgba(0, 136, 255, 0.1),
        inset 0 0 10px rgba(255, 255, 255, 0.02);
}

textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

.form-status {
    font-size: 0.95rem;
    margin-top: 1.5rem;
    min-height: 24px;
    font-weight: 600;
}

.form-status.success {
    color: var(--color-accent);
}

.form-status.error {
    color: #ff4747;
}

/* ==========================================
   PIE DE PÁGINA (FOOTER)
   ========================================= */
.footer {
    background: #020305;
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 3rem 2rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    width: 54px;
    height: 54px;
    filter: drop-shadow(0 0 8px rgba(0, 231, 255, 0.2));
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2.5rem;
    width: 100%;
}

/* ==========================================
   ANIMACIONES DE SCROLL (REVEAL)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================
   RESPONSIVIDAD (MEDIA QUERIES)
   ========================================= */
@media (max-width: 1024px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .contacto-container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.25rem 1.5rem;
    }
    
    .header.scrolled {
        padding: 0.85rem 1.5rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(10, 12, 16, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-normal);
        z-index: 999;
        border-top: 1px solid var(--border-color);
        border-radius: 0;
        padding: 0;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.4rem;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero {
        padding-top: 160px;
        text-align: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .empresa-mv {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .valores-section {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .valores-intro {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .valores-graphic-wrap {
        margin-top: 1.5rem;
    }
    
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contacto-form-container {
        padding: 3rem 2rem;
    }
}

@media (max-width: 580px) {
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .valores-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 1.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons a {
        width: 100%;
    }
}

/* Estilos para el formulario de solicitud en móviles */
@media (max-width: 480px) {
    .solicitud-grid-3 {
        grid-template-columns: 1fr !important;
    }
}

/* Bloque dinámico de solicitud residencial en index.html */
.residential-only-block {
    display: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.residential-only-block.show {
    display: block;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* --- BOTÓN WHATSAPP DINÁMICO EN FORMULARIOS --- */
.btn-whatsapp-dynamic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
    margin-top: 1rem;
}

.btn-whatsapp-dynamic:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
    filter: brightness(1.1);
}

/* --- SECCIÓN PREGUNTAS FRECUENTES (FAQ) --- */
.faq {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: none;
    color: var(--color-text-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--color-cyan);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(10, 12, 16, 0.4);
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 2rem;
    color: var(--color-text-muted);
    font-size: 0.975rem;
    line-height: 1.6;
}

.faq-item.active {
    border-color: rgba(0, 242, 254, 0.3);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-question {
    color: var(--color-cyan);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-lime);
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* --- ACCIONES FLOTANTES (QUICK ACTIONS) --- */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.btn-floating {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-floating-wa {
    background: #25D366;
    animation: waPulse 2s infinite;
}

.btn-floating-wa:hover {
    transform: scale(1.1);
    background: #20ba59;
}

.btn-floating-top {
    background: rgba(15, 18, 26, 0.85);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    color: var(--color-cyan);
}

.btn-floating-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-floating-top:hover {
    background: var(--color-cyan);
    color: #0f121a;
    border-color: var(--color-cyan);
    transform: translateY(-3px);
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- BARRA DE PROGRESO DE LECTURA --- */
.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 998;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-lime) 100%);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
    transition: width 0.1s ease-out;
}
/* --- ORBES NEÓN DE FONDO FLOTANTES (WOW EFFECT) --- */
.neon-orb-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.neon-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    animation: floatOrb 22s infinite alternate ease-in-out;
}

.orb-cyan {
    width: 450px;
    height: 450px;
    background: var(--color-cyan);
    top: 8%;
    left: -12%;
}

.orb-blue {
    width: 550px;
    height: 550px;
    background: var(--color-blue);
    top: 38%;
    right: -15%;
    animation-delay: -6s;
    animation-duration: 28s;
}

.orb-lime {
    width: 380px;
    height: 380px;
    background: var(--color-lime);
    bottom: 8%;
    left: -8%;
    animation-delay: -12s;
    animation-duration: 18s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, 90px) scale(1.15);
    }
    100% {
        transform: translate(-30px, 40px) scale(0.9);
    }
}

/* --- BOTÓN REGALO FLOTANTE --- */
.btn-floating-gift {
    background: linear-gradient(135deg, #bfff00 0%, #00e7ff 100%);
    animation: giftPulse 2s infinite, giftWiggle 5s infinite;
    font-size: 1.6rem;
    color: #030406;
    text-decoration: none;
}

.btn-floating-gift:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 30px rgba(0, 231, 255, 0.7);
    color: #030406;
}

@keyframes giftPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 231, 255, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 231, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 231, 255, 0);
    }
}

@keyframes giftWiggle {
    0%, 88%, 100% {
        transform: rotate(0deg) scale(1);
    }
    90% {
        transform: rotate(-12deg) scale(1.1);
    }
    92% {
        transform: rotate(12deg) scale(1.1);
    }
    94% {
        transform: rotate(-12deg) scale(1.1);
    }
    96% {
        transform: rotate(12deg) scale(1.1);
    }
    98% {
        transform: rotate(-6deg) scale(1.05);
    }
}
