@font-face {
    font-family: 'Pacaembu';
    src: url('multimedia/pacaembu_font/webfonts/Pacaembu-Medium-Trial.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Pacaembu';
    src: url('multimedia/pacaembu_font/webfonts/Pacaembu-Bold-Trial.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* Versión mobile — oculta en desktop por defecto */
#mobile-version { display: none; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #080604;
    color: #fff;
    font-family: 'Pacaembu', sans-serif;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* ═══════════════════════════════════════════
   FONDO — starfield CSS + atmósfera animada
   Cero WebGL, máximo movimiento
   ═══════════════════════════════════════════ */

/* Atmósfera: gradientes que respiran y se mueven */
@keyframes atmosphereShift {
    0%   { transform: scale(1)    translateX(0)    translateY(0);    opacity: 0.65; }
    25%  { transform: scale(1.10) translateX(15px) translateY(-10px); opacity: 0.9; }
    50%  { transform: scale(1.05) translateX(-8px) translateY(12px);  opacity: 0.75; }
    75%  { transform: scale(1.12) translateX(10px) translateY(-5px);  opacity: 0.95; }
    100% { transform: scale(1)    translateX(0)    translateY(0);    opacity: 0.65; }
}

body::before {
    content: '';
    position: fixed;
    inset: -10%;          /* Más grande para que se vea el movimiento sin bordes */
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 48% at 14% 88%, rgba(200, 72, 0, 0.10) 0%, transparent 62%),
        radial-gradient(ellipse 48% 42% at 86% 82%, rgba(200, 72, 0, 0.10) 0%, transparent 62%),
        radial-gradient(ellipse 35% 28% at 50% 12%, rgba(8, 15, 55,  0.16) 0%, transparent 65%),
        radial-gradient(ellipse 65% 55% at 50% 50%, rgba(50, 16, 0,  0.06) 0%, transparent 80%);
    animation: atmosphereShift 10s ease-in-out infinite;
    will-change: transform, opacity;
}

/* Starfield CSS — campo de estrellas en movimiento continuo */
@keyframes starsDrift {
    from { transform: translateY(0)    translateX(0); }
    to   { transform: translateY(-280px) translateX(60px); }
}
@keyframes starsDrift2 {
    from { transform: translateY(0)    translateX(0); }
    to   { transform: translateY(-200px) translateX(-40px); }
}
@keyframes starsDrift3 {
    from { transform: translateY(0)   translateX(0); }
    to   { transform: translateY(-350px) translateX(30px); }
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* 3 capas de puntos en distintos tamaños = profundidad */
    background-image:
        radial-gradient(circle, rgba(255, 145, 0, 0.38) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 115, 0, 0.22) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,  90, 0, 0.14) 1px, transparent 1px);
    background-size:
        320px 320px,
        195px 195px,
        140px 140px;
    background-position:
        17px  43px,
        98px  155px,
        55px  82px;
    animation: starsDrift 28s linear infinite;
}


/* Navbar styles */
.navbar {
    position: fixed;
    top: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 10px 40px 10px 20px;
    z-index: 100;
}

/* Navbar entra deslizando desde arriba */
@keyframes navbarIn {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.navbar { animation: navbarIn 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) backwards; }

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

.nav-logo {
    height: 25px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link.active {
    color: #ff8c00;
    font-weight: bold;
}

.nav-link:hover {
    color: #ff8c00;
}

/* Main Logo */
.main-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.main-logo {
    width: 600px;
    max-width: 80vw;
    object-fit: contain;
}

/* Hands and Orbs */
.hand-container {
    position: absolute;
    bottom: 90px;
    z-index: 20;
}

.left-hand {
    left: -12vw;
    transform: rotate(25deg);
    transform-origin: bottom left;
}

.right-hand {
    right: -12vw;
    transform: rotate(-25deg);
    transform-origin: bottom right;
}

.hand-image {
    height: 70vh;
    max-height: 750px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════
   ORB — campo de energía transparente
   Sin esfera sólida: el glow integra con la mano
   Sin filter::before: cero cuadrados en hover
   ═══════════════════════════════════════════ */

/* Glow animations removed as requested */
@keyframes orbPulseScale {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%       { transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes orbPulseScaleR {
    0%, 100% { transform: translate(50%, -50%) scale(1); }
    50%       { transform: translate(50%, -50%) scale(1.06); }
}
/* Anillo respirando */
@keyframes orbRing {
    0%, 100% { opacity: 0.22; transform: scale(1.00); }
    50%       { opacity: 0.45; transform: scale(1.10); }
}

@keyframes blobMorph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.orb {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    cursor: pointer;
    pointer-events: auto;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0) 70%);
    overflow: hidden;        /* clip canvas al círculo deforme (blob) */
    will-change: transform, box-shadow, border-radius;
}

.orb canvas {
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 70%);
}

/* Izquierda */
.left-hand .orb {
    top: 42%;
    left: 81%;
    animation:
        blobMorph     4.5s ease-in-out infinite,
        orbPulseScale 4s ease-in-out infinite;
}

/* Derecha */
.right-hand .orb {
    top: 42%;
    right: 81%;
    animation:
        blobMorph      4.5s 1.5s ease-in-out infinite,
        orbPulseScaleR 4s 0.8s ease-in-out infinite;
}

/* Hover — pausa animación (sin glow exterior) */
.left-hand .orb:hover,
.right-hand .orb:hover {
    animation-play-state: paused;
}

/* Indicador de interacción en los orbs — brackets de la marca */
@keyframes orbHintPulse {
    0%, 100% { opacity: 0.45; letter-spacing: 3px; }
    50%       { opacity: 0.90; letter-spacing: 5px; }
}

.orb-text::after {
    content: '[ → ]';
    display: block;
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255, 200, 60, 0.75);
    margin-top: 10px;
    border-bottom: none;
    font-weight: normal;
    animation: orbHintPulse 2.2s ease-in-out infinite;
}

/* Tipografía del orb — protagonista visual, dramática */
@keyframes textGlowPulse {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(255, 140, 0, 0.70),
            0 0 25px rgba(255, 90,  0, 0.50),
            0 0 55px rgba(255, 60,  0, 0.25),
            0 2px 4px rgba(0, 0, 0, 0.95);
    }
    50% {
        text-shadow:
            0 0 15px rgba(255, 175, 0, 0.90),
            0 0 38px rgba(255, 110, 0, 0.65),
            0 0 80px rgba(255, 70,  0, 0.35),
            0 2px 4px rgba(0, 0, 0, 0.95);
    }
}

.orb-text {
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    letter-spacing: 5px;
    /* Encima del canvas */
    position: relative;
    z-index: 4;
    animation: textGlowPulse 4s ease-in-out infinite;
    user-select: none;
    padding: 6px 12px;
    border-bottom: 1px solid rgba(255, 180, 0, 0.40);
    transition: letter-spacing 0.35s cubic-bezier(0.22,1,0.36,1),
                border-color  0.35s ease;
    text-align: center;
}

.orb:hover .orb-text {
    letter-spacing: 7px;
    border-color: rgba(255, 220, 60, 0.80);
}

.left-hand  .orb-text { transform: rotate(-25deg); }
.right-hand .orb-text { transform: rotate(25deg); }

/* Expanded al hacer click — pausa animación, escala suave */
.left-hand .orb.expanded {
    animation: none !important;
    transform: translate(-50%, -46%) scale(1.15) !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.right-hand .orb.expanded {
    animation: none !important;
    transform: translate(50%, -46%) scale(1.15) !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================================= */
/* ========================================================= */
/* INFO PANEL (MODAL TECH UI) */
/* ========================================================= */

.global-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 8, 5, 0.85); /* Negro/anaranjado de fondo */
    backdrop-filter: blur(12px);
    z-index: 200; /* Por encima de la navbar (100) y de los orbes (150) */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.global-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.info-panel {
    width: 650px;
    max-width: 90%;
    background: rgba(12, 8, 3, 0.92);
    border: 1px solid rgba(255, 140, 0, 0.7);
    box-shadow:
        0 0 60px rgba(255, 120, 0, 0.18),
        0 0 0 1px rgba(255, 200, 80, 0.06) inset,
        0 1px 0 rgba(255, 200, 100, 0.15) inset;
    padding: 30px 40px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    z-index: 101;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.global-overlay.active .info-panel {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Barra superior con gradiente */
.info-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #ff5100, #ffea00, #ff8c00);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    letter-spacing: 2px;
    color: #ff8c00;
    margin-bottom: 20px;
    font-family: monospace;
    border-bottom: 1px solid rgba(255, 140, 0, 0.3);
    padding-bottom: 10px;
}

/* El tag ahora hereda el color naranja del panel-header */
.panel-tag {
    color: #ff8c00;
}

.panel-close {
    cursor: pointer;
    color: #ff8c00;
    transition: all 0.2s;
    font-weight: bold;
}

.panel-close:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #ff8c00;
}

.panel-title {
    font-size: 38px;
    color: #ff8c00;
    text-shadow: 2px 2px 0 rgba(0, 85, 255, 0.5); /* Toque azul en la sombra */
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.panel-separator {
    height: 6px;
    border-top: 2px solid #ff8c00;
    border-bottom: 1px solid rgba(255, 140, 0, 0.4);
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.2);
}

.panel-body {
    color: #e0e0e0;
    font-size: 17px;
    line-height: 1.6;
}

.panel-body p {
    margin-bottom: 18px;
}

/* El cursor falso para el efecto de escritura */
.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background-color: #ff8c00;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ========================================================= */
/* FLUID CONTENT LAYER (ORB EXPLOSION TEXT) */
/* ========================================================= */

.fluid-content-layer {
    position: fixed;
    inset: 0;
    z-index: 195;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    color: #fff;
    pointer-events: none;
    overflow-y: auto;
    padding: 60px 0;
}

/* Pseudo-elementos para centrado vertical seguro con scroll */
.fluid-content-layer::before,
.fluid-content-layer::after {
    content: '';
    margin: auto;
}

.fluid-content-layer.active {
    opacity: 1;
    pointer-events: auto;
}

.fluid-close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    font-family: 'Pacaembu', sans-serif;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 140, 0, 0.5);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 10;
}

.fluid-close-btn:hover {
    background: rgba(255, 140, 0, 0.2);
    border-color: #ff8c00;
}

.fluid-content-inner {
    max-width: 800px;
    width: 85%;
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    
    background: rgba(8, 5, 3, 0.85); /* Fondo oscuro semitransparente */
    padding: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.fluid-content-layer.active .fluid-content-inner {
    transform: translateY(0);
}

.fluid-title {
    font-family: 'Pacaembu', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    color: #ff8c00;
    text-shadow: 4px 4px 0 rgba(200, 50, 0, 0.6);
    letter-spacing: 3px;
    word-break: break-word;
}

.fluid-separator {
    width: 150px;
    height: 6px;
    background: #ff8c00;
    margin: 30px 0;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

.fluid-body {
    font-family: 'Pacaembu', sans-serif;
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85); /* Blanco más suave para no cansar la vista */
    letter-spacing: 0.5px;
}

.fluid-body p {
    margin-bottom: 25px;
}

.fluid-body strong {
    color: #ffea00;
    font-weight: bold;
}

.fluid-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    padding-top: 30px;
}

.fluid-action-btn {
    background: transparent;
    color: #ff8c00;
    border: 1px solid #ff8c00;
    padding: 12px 24px;
    font-family: 'Pacaembu', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: bold;
}

.fluid-action-btn:hover {
    background: #ff8c00;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
}

/* ========================================================= */
/* ORB INTERACTIVITY */
/* ========================================================= */

.orb {
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.orb.expanded {
    z-index: 150; /* Por debajo del overlay (200), pero encima de navbar (100) */
}

/* Expansión en el fondo cuando se hace clic */
.left-hand .orb.expanded {
    transform: translate(-50%, -45%) scale(1.25);
}

.right-hand .orb.expanded {
    transform: translate(50%, -45%) scale(1.25);
}

/* Un pequeño efecto hover en el texto para invitar al clic */
.orb:hover .orb-text {
    transform: scale(1.1) translateY(-5px);
}
.left-hand .orb:hover .orb-text {
    transform: scale(1.1) rotate(-25deg) translateY(-5px);
}
.right-hand .orb:hover .orb-text {
    transform: scale(1.1) rotate(25deg) translateY(-5px);
}

/* ========================================================= */
/* SCROLL SECTIONS */
/* ========================================================= */
.scroll-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1; /* Por encima del canvas de partículas de fondo */
}

@keyframes bg-pan-zoom {
    0%   { transform: scale(1) translate(0, 0); }
    33%  { transform: scale(1.05) translate(1%, -1%); }
    66%  { transform: scale(1.08) translate(-1%, 1%); }
    100% { transform: scale(1.1) translate(0, 0); }
}

/* Profundidad ambiental en la hero — dos focos cálidos donde van los orbs + imagen de fondo */
#nosotros-section {
    background:
        radial-gradient(ellipse 55% 45% at 18% 88%, rgba(140, 55, 0, 0.32) 0%, transparent 65%),
        radial-gradient(ellipse 55% 45% at 82% 88%, rgba(140, 55, 0, 0.32) 0%, transparent 65%),
        radial-gradient(ellipse 80% 30% at 50% 0%,  rgba(5, 12, 40,  0.40) 0%, transparent 70%),
        linear-gradient(to bottom, rgba(8,6,4,0.78) 0%, rgba(8,6,4,0.55) 50%, rgba(8,6,4,0.78) 100%),
        url('https://images.unsplash.com/photo-1534796636912-3b95b3ab5986?w=1920&q=50&fm=webp');
    background-size: cover;
    background-position: center;
}

/* Profundidad ambiental en servicios — foco central difuso */
#servicios-section {
    background:
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(80, 30, 0, 0.18) 0%, transparent 70%);
}

/* Profundidad en contacto */
#contacto-section {
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(80, 30, 0, 0.15) 0%, transparent 70%);
}

/* Separadores con glow sutil entre secciones */
#nosotros-section::after,
#servicios-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 140, 0, 0.4), transparent);
    box-shadow: 0 0 18px 2px rgba(255, 140, 0, 0.12);
    z-index: 5;
    pointer-events: none;
}

/* ========================================================= */
/* SERVICIOS SECTION */
/* ========================================================= */

/* ── Header de sección ── */
.svc-section-header {
    position: absolute;
    top: 40px;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 4px;
    color: rgba(255, 140, 0, 0.55);
    z-index: 20;
}

#servicios-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 145vh;
}

/* Título SERVICIOS central */
.servicios-title {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    background: linear-gradient(135deg, #ffea00 0%, #ff8c00 50%, #ff5100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 28px rgba(255, 140, 0, 0.55));
    z-index: 10;
    letter-spacing: 5px;
    margin: 0;
    white-space: nowrap;
}

.servicios-center-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
    opacity: 0.85;
}

/* ── Contenedores ── */
.services-container {
    position: absolute;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 360px;
}

.tech-services {
    top: 10%;
    left: 5%;
    border-left: 2px solid rgba(255, 140, 0, 0.25);
    padding-left: 18px;
}

.ad-services {
    bottom: 7%;
    right: 5%;
    align-items: flex-end;
    text-align: right;
    border-right: 2px solid rgba(255, 140, 0, 0.25);
    padding-right: 18px;
}

/* Etiqueta de grupo */
.service-group-label {
    font-size: 11px;
    letter-spacing: 4px;
    color: #ff8c00;
    margin: 0 0 18px 0;
    text-transform: uppercase;
    font-weight: bold;
}

/* ── Cada servicio ── */
.service-item {
    position: relative;
    cursor: pointer;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 140, 0, 0.1);
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-item:last-child { border-bottom: 1px solid rgba(255, 140, 0, 0.1); }

/* Tag de categoría — siempre visible, se intensifica en hover */
.service-cat {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255, 140, 0, 0.85); /* Mejorado de 0.35 para que se lea siempre */
    margin-bottom: 6px;
    white-space: nowrap;
    transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-item:hover .service-cat,
.service-item.hovered .service-cat {
    color: rgba(255, 140, 0, 0.8);
}

/* Fila número + texto */
.service-main-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.ad-services .service-main-row {
    flex-direction: row-reverse;
}

.service-number {
    font-size: 14px;
    color: rgba(255, 140, 0, 0.45);
    letter-spacing: 2px;
    font-weight: bold;
    flex-shrink: 0;
    transition: color 0.3s;
}
.service-item.hovered .service-number { color: rgba(255, 200, 80, 0.9); }

.service-text {
    font-size: 32px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.1;
    transition: color 0.3s, text-shadow 0.3s;
}
.service-item:hover .service-text,
.service-item.hovered .service-text {
    color: #fff;
    text-shadow: 0 0 24px rgba(255, 160, 0, 0.45);
}

/* Línea de glow al hover — estilo ENMA underline */
.service-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #ff8c00, #ffea00, transparent);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ad-services .service-glow {
    background: linear-gradient(90deg, transparent, #ffea00, #ff8c00);
    transform-origin: right;
}
.service-item:hover .service-glow,
.service-item.hovered .service-glow { transform: scaleX(1); }

/* Opacar no-hover */
#servicios-section.is-hovering .service-item:not(.hovered) { opacity: 0.3; }
.service-item.hovered { transform: translateX(5px); }
.ad-services .service-item.hovered { transform: translateX(-5px); }

/* ═══════════════════════════════════════════
   VENTANAS ESTILO ENMA — imagen + contenido
   ═══════════════════════════════════════════ */
.service-window {
    position: absolute;
    width: 450px;
    background: #0a0700;
    border: 1px solid rgba(255, 140, 0, 0.4);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 20;
    /* Esquina chaflada superior — no rectángulo perfecto */
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

/* Imagen en la parte superior — estilo ENMA */
.window-img {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255,140,0,0.08);
    position: relative;
    z-index: 2;
}
/* Gradiente sobre la imagen para hacer transición al contenido */
.window-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #0a0700);
}

/* Contenido de la ventana */
.window-content {
    padding: 24px 30px 30px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(10,7,0,0.4), rgba(10,7,0,0.9)); /* Para asegurar legibilidad sobre el canvas */
}

.window-tag-inline {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    color: #ff8c00;
    margin-bottom: 8px;
    font-family: monospace;
    font-weight: bold;
}

.window-title {
    color: #ff8c00;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

.window-separator {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,140,0,0.5), transparent);
    margin-bottom: 10px;
}

.window-text {
    color: rgba(220, 210, 200, 0.95);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Tech → arriba derecha, entra desde la derecha */
.window-top-right {
    top: 16%;
    right: 5%;
    transform: translateX(20px) scale(0.97);
}

/* Publicidad → abajo izquierda, entra desde la izquierda */
/* Esquina chaflada en esquina opuesta */
.window-bottom-left {
    top: 52%;
    left: 5%;
    transform: translateX(-20px) scale(0.97);
    clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
}

.service-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1) !important;
}

.service-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1) !important;
}

.window-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 2px;
    color: #ff8c00;
    margin-bottom: 15px;
    font-family: monospace;
    border-bottom: 1px solid rgba(255, 140, 0, 0.3);
    padding-bottom: 10px;
}

.window-tag {
    color: #ff8c00;
}

.window-title {
    color: #ff8c00;
    font-size: 20px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgba(0, 85, 255, 0.5);
}

.window-separator {
    height: 6px;
    border-top: 2px solid #ff8c00;
    border-bottom: 1px solid rgba(255, 140, 0, 0.4);
    margin-bottom: 20px;
}

.window-body {
    text-align: left;
}

.window-text {
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ========================================================= */
/* CONTACTO SECTION */
/* ========================================================= */
#contacto-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end; /* Alineamos el teléfono a la parte inferior (suelo) */
    gap: 80px;
    background-color: #080604;
    /* Imagen atmosférica oscura de fondo */
    background-image:
        linear-gradient(to bottom, rgba(8,6,4,0.82) 0%, rgba(8,6,4,0.65) 40%, rgba(8,6,4,0.82) 100%);
    background-size: cover;
    background-position: center;
}

#contacto-section::before {
    content: '';
    position: absolute;
    inset: -5%;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=60&fm=webp') center/cover;
    z-index: -1;
    animation: bg-pan-zoom 40s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}

.contact-cta {
    position: relative;
    text-align: left;
    z-index: 10;
    max-width: 500px;
    flex-shrink: 0;
    margin-bottom: 25vh; /* Mantiene el CTA visualmente centrado aunque el teléfono toque fondo */
}

.contact-cta-sub {
    font-size: 11px;
    letter-spacing: 5px;
    color: #ff8c00;
    margin: 0 0 14px 0;
    text-transform: uppercase;
}

.contact-cta-title {
    font-size: 3.2rem;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 36px 0;
    letter-spacing: 1px;
    text-wrap: balance;
}

.contact-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.92);
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-trust-badges li {
    white-space: nowrap;
    display: inline-block;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-container {
    position: relative;
    width: 380px; /* Tamaño reducido a petición del usuario */
    max-width: 90vw;
}

.phone-image {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

/* Área de la pantalla sobre la imagen del teléfono ajustada */
.phone-screen-area {
    position: absolute;
    top: 21.5%;
    left: 19%;
    width: 62%;
    height: 48%;
    background: linear-gradient(135deg, #ffaa33, #ff8c00); /* Naranja retro */
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8); /* Profundidad de pantalla */
    cursor: pointer;
    overflow: hidden;
    transition: filter 0.3s ease;
    border-radius: 2px;
    border: none;
    padding: 0;
    font: inherit;
    outline: none;
}

@keyframes pulse-screen {
    0%, 100% { box-shadow: inset 0 0 15px rgba(0,0,0,0.8), 0 0 0 0 rgba(255, 140, 0, 0); }
    50%       { box-shadow: inset 0 0 15px rgba(0,0,0,0.8), 0 0 0 8px rgba(255, 140, 0, 0.3); }
}

@keyframes fade-hint {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; }
}

.phone-screen-area {
    animation: pulse-screen 2.5s ease-in-out infinite;
}

.phone-screen-area:hover {
    filter: brightness(1.2);
    animation: none;
}

.phone-tap-hint {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.9); /* Más oscuro para que no se pierda en el parpadeo */
    font-weight: bold;
    white-space: nowrap;
    animation: fade-hint 2.5s ease-in-out infinite;
    pointer-events: none;
    position: relative;
}

.phone-screen-content {
    padding: 12px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    color: #000;
    font-family: 'Courier New', Courier, monospace; /* Tipografía retro de celular */
}

.phone-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    padding-bottom: 5px;
    margin-bottom: auto;
}

.phone-body {
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
}

.phone-body p {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0;
}

/* ========================================================= */
/* MODAL NARANJA DE CONTACTO (Estilo unificado) */
/* ========================================================= */

#contactOverlay {
    z-index: 300;
}

.contact-panel {
    border-color: #ff8c00 !important;
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.2), inset 0 0 20px rgba(255, 140, 0, 0.05) !important;
}

.contact-panel::before {
    background: #ff8c00 !important;
}

.contact-tag, .contact-title {
    color: #ff8c00 !important;
}

.contact-title {
    text-shadow: 2px 2px 0 rgba(255, 140, 0, 0.5) !important;
}

.contact-separator {
    border-top-color: #ff8c00 !important;
    border-bottom-color: rgba(255, 140, 0, 0.4) !important;
}

/* Formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    color: #ff8c00;
    font-size: 12px;
    letter-spacing: 2px;
}

.input-group input, .input-group textarea {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 140, 0, 0.4);
    color: #fff;
    padding: 12px;
    font-family: 'Pacaembu', sans-serif;
    outline: none;
    border-radius: 2px;
    transition: border-color 0.3s ease;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #ff8c00;
}

.contact-submit {
    background: transparent;
    border: 1px solid #ff8c00;
    color: #ff8c00;
    padding: 15px;
    font-family: 'Pacaembu', sans-serif;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-submit:hover {
    background: #ff8c00;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

/* ========================================================= */
/* ANIMACIONES: ENTRADA HERO (NOSOTROS) */
/* ========================================================= */

@keyframes hero-logo-in {
    from { opacity: 0; transform: translate(-50%, -42%) scale(0.84); filter: blur(8px); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1);    filter: blur(0); }
}
.main-content {
    animation: hero-logo-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hand-in-left {
    from { opacity: 0; transform: rotate(25deg) translateX(-80px); }
    to   { opacity: 1; transform: rotate(25deg) translateX(0); }
}
@keyframes hand-in-right {
    from { opacity: 0; transform: rotate(-25deg) translateX(80px); }
    to   { opacity: 1; transform: rotate(-25deg) translateX(0); }
}
.left-hand  { animation: hand-in-left  1.6s 0.5s  cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.right-hand { animation: hand-in-right 1.6s 0.72s cubic-bezier(0.22, 1, 0.36, 1) backwards; }

/* ========================================================= */
/* HERO TAGLINE — CURTAIN REVEAL (estilo SOMQ)               */
/* ========================================================= */

/* Técnica: overflow:hidden en el mask + translateY en el inner */
@keyframes curtainUp {
    from { transform: translateY(110%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes ruleExtend {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}
@keyframes scrollLineDown {
    from { transform: scaleY(0); opacity: 0; }
    to   { transform: scaleY(1); opacity: 1; }
}
@keyframes scrollLabelIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: min(82vw, 860px);
}

/* El contenedor que "tapa" el texto antes de revelar */
.curtain-mask {
    overflow: hidden;
    line-height: 1.1;
    padding-bottom: 0.08em; /* escala con el font-size — evita cortar descendentes */
}

.curtain-inner {
    display: block;
    opacity: 0;
    animation: curtainUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Kicker */
.hero-kicker {
    font-size: 11px;
    letter-spacing: 6px;
    color: rgba(255, 140, 0, 0.65);
    animation-delay: 0.85s;
    margin-bottom: 0;
}

/* Regla separadora — más corta y precisa */
.hero-rule {
    width: 44px;
    height: 2px;
    background: rgba(255, 140, 0, 0.7);
    margin: 18px auto;
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    animation: ruleExtend 0.6s 1.0s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Titular — display editorial, envuelve en 2 líneas bajo el logo */
.hero-headline {
    font-size: clamp(2.8rem, 4.2vw, 6rem);
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 0.93;
    color: #fff;
    text-shadow:
        0 2px 60px rgba(255, 100, 0, 0.22),
        0 0 140px rgba(255, 60,  0, 0.10);
    animation-delay: 1.1s;
}

/* Subtítulo — refinado, espacio generoso */
.hero-sub {
    font-size: clamp(12px, 1.1vw, 16px);
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 24px;
    animation-delay: 1.35s;
    font-weight: normal;
}

/* ── Indicador de scroll ── */
.hero-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.hero-scroll-line {
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, rgba(255,140,0,0.7), rgba(255,140,0,0));
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    animation: scrollLineDown 0.9s 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-scroll-label {
    font-size: 9px;
    letter-spacing: 4px;
    color: rgba(255,140,0,0.5);
    opacity: 0;
    animation: scrollLabelIn 0.6s 2.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ========================================================= */
/* SCROLL REVEAL SYSTEM */
/* ========================================================= */

/* ── Curva premium: arranque rápido, frenada suave ── */
@keyframes reveal-from-left {
    from { opacity: 0; transform: translateX(-52px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes reveal-from-right {
    from { opacity: 0; transform: translateX(52px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes reveal-from-bottom {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-title-3d {
    from { opacity: 0; transform: translateX(-50%) perspective(600px) translateZ(-100px) scale(0.82); }
    to   { opacity: 1; transform: translateX(-50%) perspective(600px) translateZ(0) scale(1); }
}
/* Desenfoque ligero en la entrada — más cinematográfico */
@keyframes reveal-fade-blur {
    from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.sr-left   { opacity: 0; }
.sr-right  { opacity: 0; }
.sr-bottom { opacity: 0; }
.sr-title  { opacity: 0; }

/* cubic-bezier(0.22, 1, 0.36, 1) — spring suave tipo Framer Motion */
.sr-left.sr-visible   { animation: reveal-from-left   0.9s  cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.sr-right.sr-visible  { animation: reveal-from-right  0.9s  cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.sr-bottom.sr-visible { animation: reveal-fade-blur   0.8s  cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.sr-title.sr-visible  { animation: reveal-title-3d    1.0s  cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* Stagger para service items */
.service-item[data-service$="-1"].sr-visible { animation-delay: 0s; }
.service-item[data-service$="-2"].sr-visible { animation-delay: 0.11s; }
.service-item[data-service$="-3"].sr-visible { animation-delay: 0.22s; }

/* Grupo de servicios también con stagger */
.service-group-label.sr-visible { animation-delay: 0s; }

/* ========================================================= */
/* MOBILE — VERSIÓN DEDICADA (≤ 768px)                       */
/* Arquitectura dual: #desktop-version / #mobile-version     */
/* Desktop NO se modifica. Cada versión es 100% independiente*/
/* ========================================================= */
/* Toggle de visibilidad + todos los estilos mobile aquí     */
@media (max-width: 768px) {
    #desktop-version { display: none; }
    #mobile-version  { display: block; }
    body { overflow-x: hidden; }

    /* ========================================================= */
    /* #MOBILE-VERSION — Todos los estilos mobile aquí           */
    /* Completamente aislados. No tocan ningún estilo desktop.   */
    /* ========================================================= */

    /* Base */
    #mobile-version {
        background: #080604;
        color: #fff;
        font-family: 'Pacaembu', sans-serif;
        position: relative;
        overflow-x: hidden;
        -webkit-tap-highlight-color: transparent;
        min-height: 100svh;
    }

    /* Fondo atmosférico CSS (sin canvas) */
    #mobile-version::before {
        content: '';
        position: fixed;
        inset: 0;
        background:
            radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255, 100, 0, 0.06) 0%, transparent 70%),
            radial-gradient(ellipse 60% 50% at 80% 70%, rgba(255, 60, 0, 0.04) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

    #mobile-version .mv-section {
        position: relative;
        z-index: 1;
    }

    /* ── NAVEGACIÓN — bottom tab bar ──────────────────────── */
    .mv-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        display: flex;
        background: rgba(8, 6, 4, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 140, 0, 0.18);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .mv-nav-link {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        font-size: 9px;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        font-weight: bold;
        border-right: 1px solid rgba(255, 140, 0, 0.07);
        transition: color 0.2s, background 0.2s;
    }

    .mv-nav-link:last-child { border-right: none; }

    .mv-nav-link.mv-nav-cta {
        color: #ff8c00;
        background: rgba(255, 140, 0, 0.08);
    }

    .mv-nav-link.mv-active {
        color: #ff8c00;
        background: rgba(255, 140, 0, 0.05);
    }

    /* ── HERO ──────────────────────────────────────────────── */
    .mv-section {
        padding: 0 6% 40px 6%;
        box-sizing: border-box;
    }

    #mv-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100svh;
        min-height: 100vh;
        padding-top: 90px;   /* espacio para la nav arriba */
        padding-bottom: 40px;
        text-align: center;
    }

    .mv-hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 360px;
    }

    .mv-logo {
        width: 62vw;
        max-width: 240px;
        margin-bottom: 32px;
    }

    .mv-tagline {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-bottom: 40px;
    }

    .mv-kicker {
        font-size: 9px;
        letter-spacing: 3.5px;
        color: rgba(255, 140, 0, 0.7);
        margin-bottom: 10px;
        display: block;
    }

    .mv-rule {
        width: 40px;
        height: 1px;
        background: rgba(255, 140, 0, 0.4);
        margin: 8px auto 12px;
    }

    .mv-headline {
        font-size: clamp(1.5rem, 8vw, 2rem);
        font-weight: bold;
        letter-spacing: 2px;
        color: #fff;
        line-height: 1.1;
        display: block;
        margin-bottom: 12px;
    }

    .mv-sub {
        font-size: 12px;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.55);
        display: block;
        font-style: italic;
    }

    /* CTA héroe */
    .mv-hero-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 320px;
        padding: 20px 24px;
        background: #ff8c00;
        color: #000;
        font-family: 'Pacaembu', sans-serif;
        font-weight: bold;
        font-size: 12px;
        letter-spacing: 3px;
        text-decoration: none;
        text-transform: uppercase;
        border-radius: 3px;
        min-height: 58px;
        box-shadow: 0 0 32px rgba(255, 140, 0, 0.45);
        animation: mv-pulse 2.5s ease-in-out infinite;
        transition: transform 0.15s, background 0.15s;
    }

    .mv-hero-cta:active {
        transform: scale(0.97);
        background: #ff7700;
        animation: none;
    }

    @keyframes mv-pulse {
        0%, 100% { box-shadow: 0 0 20px rgba(255,140,0,0.3); }
        50%       { box-shadow: 0 0 40px rgba(255,140,0,0.6); }
    }

    /* Scroll hint */
    .mv-scroll-hint {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
    }

    .mv-scroll-line {
        width: 1px;
        height: 48px;
        background: linear-gradient(to bottom, rgba(255,140,0,0.5), transparent);
        margin: 0 auto;
        animation: mv-scroll-drop 1.6s ease-in-out infinite;
    }

    @keyframes mv-scroll-drop {
        0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
        50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
        100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
    }

    /* ── FILOSOFÍA — rediseño con fuerza visual ─────────────── */
    .mv-philosophy {
        padding-top: 60px;
        padding-bottom: 60px;
        border-top: 1px solid rgba(255, 140, 0, 0.18);
        border-bottom: 1px solid rgba(255, 140, 0, 0.18);
        background: transparent;
    }

    /* Bloques como capítulos independientes */
    .mv-phil-block {
        position: relative;
        overflow: hidden;
        padding: 36px 0 42px;
    }

    /* Número grande en el fondo de cada bloque */
    .mv-phil-block:first-child::after {
        content: '01';
        position: absolute;
        bottom: -12px;
        right: -4px;
        font-size: 130px;
        font-weight: 900;
        line-height: 1;
        color: rgba(255, 140, 0, 0.055);
        pointer-events: none;
        font-family: 'Pacaembu', sans-serif;
        letter-spacing: -6px;
        z-index: 0;
    }

    .mv-phil-block:last-child::after {
        content: '02';
        position: absolute;
        bottom: -12px;
        right: -4px;
        font-size: 130px;
        font-weight: 900;
        line-height: 1;
        color: rgba(255, 140, 0, 0.055);
        pointer-events: none;
        font-family: 'Pacaembu', sans-serif;
        letter-spacing: -6px;
        z-index: 0;
    }

    /* Separador entre bloques: gradiente en lugar de borde sólido */
    .mv-phil-block + .mv-phil-block {
        border-top: none;
    }

    .mv-phil-block + .mv-phil-block::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 75%;
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 140, 0, 0.35), transparent);
    }

    /* Tag con línea que se extiende hasta el borde */
    .mv-phil-tag {
        font-size: 9px;
        letter-spacing: 5px;
        color: #ff8c00;
        font-family: 'Courier New', monospace;
        margin: 0 0 20px;
        display: flex;
        align-items: center;
        gap: 14px;
        position: relative;
        z-index: 1;
    }

    .mv-phil-tag::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 140, 0, 0.40), transparent);
        display: block;
    }

    /* Cuerpo del texto por encima del número de fondo */
    .mv-phil-body {
        position: relative;
        z-index: 1;
        color: rgba(255, 255, 255, 0.62);
        font-size: 13.5px;
        line-height: 1.78;
    }

    /* Párrafo de apertura — mayor jerarquía */
    .mv-phil-body p:first-child {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.82);
        line-height: 1.7;
    }

    .mv-phil-body p { margin: 0 0 12px; }
    .mv-phil-body p:last-child { margin-bottom: 0; }

    /* Términos clave en naranja/dorado */
    .mv-phil-body strong {
        color: rgba(255, 190, 55, 0.95);
        font-weight: bold;
    }

    /* Manifesto — más carácter */
    .mv-manifesto {
        font-size: 12px;
        letter-spacing: 1.2px;
        line-height: 1.9;
        color: rgba(255, 255, 255, 0.60);
    }

    .mv-manifesto strong {
        color: #ff8c00;
        font-size: 13.5px;
        text-shadow: 0 0 20px rgba(255, 140, 0, 0.35);
    }

    /* ── SERVICIOS ─────────────────────────────────────────── */
    #mv-servicios {
        padding-top: 60px;
    }

    .mv-section-title {
        font-size: 2rem;
        letter-spacing: 5px;
        background: linear-gradient(135deg, #ffea00 0%, #ff8c00 60%, #ff5100 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin: 0 0 32px;
        filter: drop-shadow(0 0 16px rgba(255,140,0,0.4));
    }

    .mv-svc-group {
        margin-bottom: 8px;
    }

    .mv-svc-label {
        font-size: 9px;
        letter-spacing: 4px;
        color: rgba(255, 140, 0, 0.4);
        font-family: 'Courier New', monospace;
        margin: 0 0 0;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 140, 0, 0.15);
    }

    .mv-svc-item {
        border-bottom: 1px solid rgba(255, 140, 0, 0.12);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mv-svc-head {
        display: flex;
        flex-direction: column;
        padding: 16px 0 14px;
        gap: 3px;
    }

    .mv-svc-cat {
        font-size: 9px;
        letter-spacing: 3px;
        color: #ff8c00;
        font-family: 'Courier New', monospace;
    }

    .mv-svc-name {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
        font-weight: bold;
        line-height: 1;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mv-svc-arrow {
        font-size: 14px;
        color: rgba(255, 140, 0, 0.5);
        transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s;
        display: inline-block;
        flex-shrink: 0;
    }

    .mv-svc-item.open .mv-svc-arrow {
        transform: rotate(180deg);
        color: #ff8c00;
    }

    .mv-svc-item.open .mv-svc-name {
        color: #ff8c00;
        -webkit-text-fill-color: #ff8c00;
    }

    /* Accordion body */
    .mv-svc-body {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
        overflow: hidden;
    }

    .mv-svc-inner {
        overflow: hidden;
        min-height: 0;
    }

    .mv-svc-item.open .mv-svc-body {
        grid-template-rows: 1fr;
    }

    .mv-svc-desc {
        font-size: 13px;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.6);
        padding: 0 0 16px;
        margin: 0;
    }

    /* CTA servicios */
    .mv-svc-cta {
        display: block;
        width: 100%;
        margin-top: 28px;
        padding: 16px;
        background: transparent;
        border: 1px solid rgba(255, 140, 0, 0.5);
        color: #ff8c00;
        font-family: 'Pacaembu', sans-serif;
        font-weight: bold;
        font-size: 11px;
        letter-spacing: 3px;
        text-align: center;
        text-transform: uppercase;
        cursor: pointer;
        min-height: 52px;
        border-radius: 2px;
        box-sizing: border-box;
    }

    .mv-svc-cta:active {
        background: rgba(255, 140, 0, 0.1);
    }

    /* ── CONTACTO ──────────────────────────────────────────── */
    #mv-contacto {
        padding-top: 60px;
        padding-bottom: 100px;
    }

    .mv-contact-header {
        margin-bottom: 28px;
        text-align: left;
    }

    .mv-contact-sub {
        font-size: 9px;
        letter-spacing: 4px;
        color: #ff8c00;
        margin: 0 0 10px;
    }

    .mv-contact-title {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
        line-height: 1.05;
        margin: 0 0 20px;
        font-weight: bold;
        color: #fff;
    }

    .mv-trust {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .mv-trust li {
        font-size: 10px;
        letter-spacing: 1.5px;
        color: rgba(255, 255, 255, 0.55);
        white-space: normal; /* evita overflow horizontal en pantallas estrechas */
    }

    /* Teléfono decorativo */
    .mv-phone-wrap {
        width: 52%;
        max-width: 200px;
        margin: 0 auto 32px;
    }

    .mv-phone-img {
        width: 100%;
        height: auto;
        display: block;
        pointer-events: none;
    }

    /* Formulario inline */
    .mv-form-wrap {
        width: 100%;
    }

    .mv-form-tag {
        font-size: 9px;
        letter-spacing: 4px;
        color: rgba(255, 140, 0, 0.45);
        font-family: 'Courier New', monospace;
        margin: 0 0 20px;
    }

    .mv-form {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .mv-field {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .mv-lbl {
        font-size: 10px;
        letter-spacing: 2px;
        color: #ff8c00;
        font-weight: bold;
    }

    .mv-input {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 140, 0, 0.28);
        color: #fff;
        padding: 14px 16px;
        font-family: 'Pacaembu', sans-serif;
        font-size: 16px;
        outline: none;
        border-radius: 2px;
        width: 100%;
        box-sizing: border-box;
        -webkit-appearance: none;
        transition: border-color 0.2s, background 0.2s;
    }

    .mv-input::placeholder {
        color: rgba(255, 255, 255, 0.2);
    }

    .mv-input:focus {
        border-color: rgba(255, 140, 0, 0.6);
        background: rgba(255, 255, 255, 0.06);
    }

    .mv-textarea {
        resize: none;
        min-height: 88px;
    }

    .mv-submit {
        background: #ff8c00;
        color: #000;
        border: none;
        padding: 18px 24px;
        font-family: 'Pacaembu', sans-serif;
        font-weight: bold;
        font-size: 12px;
        letter-spacing: 3px;
        text-transform: uppercase;
        cursor: pointer;
        min-height: 56px;
        border-radius: 2px;
        width: 100%;
        box-shadow: 0 0 24px rgba(255, 140, 0, 0.3);
        margin-top: 4px;
        transition: transform 0.15s, background 0.15s;
    }

    .mv-submit:active {
        background: #ff7700;
        transform: scale(0.98);
        box-shadow: none;
    }

    .mv-submit.sent {
        background: rgba(255, 140, 0, 0.15);
        color: #ff8c00;
        border: 1px solid rgba(255, 140, 0, 0.4);
        box-shadow: none;
        cursor: default;
    }

    /* ═══════════════════════════════════════════════════════
       NAV — PILL FLOTANTE (igual que desktop)
       ═══════════════════════════════════════════════════════ */

    /* Reset posición full-width → pill arriba-izquierda (igual que desktop) */
    .mv-nav {
        top: max(20px, env(safe-area-inset-top, 20px));
        bottom: auto;
        left: 20px;
        right: auto;
        transform: none;
        width: max-content;
        height: auto;
        border-top: none;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.13);
        box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45),
                    inset 0 1px 0 rgba(255, 255, 255, 0.10);
        padding: 0 6px;
        padding-bottom: 0;
        gap: 0;
    }

    .mv-nav-link {
        flex: 0 0 auto;
        min-height: 46px;
        padding: 0 16px;
        font-size: 9px;
        letter-spacing: 2px;
        color: rgba(255, 255, 255, 0.52);
        border-right: none;
        flex-direction: row;
        gap: 0;
        transition: color 0.25s ease;
    }

    /* Quitar todos los pseudo-elementos anteriores */
    .mv-nav-link::before,
    .mv-nav-link::after {
        display: none;
    }

    .mv-nav-link:last-child { border-right: none; }

    .mv-nav-link.mv-active {
        color: #ff8c00;
        background: transparent;
    }

    /* CONTACTO — mini pill naranja dentro del pill principal */
    .mv-nav-link.mv-nav-cta {
        background: rgba(255, 140, 0, 0.16);
        color: #ff8c00;
        border-radius: 50px;
        padding: 0 18px;
        margin: 6px 2px 6px 10px;
        min-height: 34px;
        font-weight: bold;
        letter-spacing: 2px;
        border: 1px solid rgba(255, 140, 0, 0.22);
        transition: background 0.2s, color 0.2s;
    }

    .mv-nav-link.mv-nav-cta:active {
        background: rgba(255, 140, 0, 0.28);
    }

    /* ═══════════════════════════════════════════════════════
       SERVICIOS — TARJETAS CON IMAGEN
       Transforma el acordeón en cards siempre visibles
       ═══════════════════════════════════════════════════════ */

    /* Grupos */
    .mv-svc-group {
        margin-bottom: 0;
    }

    .mv-svc-label {
        font-size: 9px;
        letter-spacing: 5px;
        color: #ff8c00;
        opacity: 0.55;
        padding: 24px 0 10px;
        border-bottom: none;
        border-top: 1px solid rgba(255, 140, 0, 0.12);
        margin-top: 4px;
    }

    .mv-svc-group:first-child .mv-svc-label {
        border-top: none;
        padding-top: 0;
    }

    /* Cards */
    .mv-svc-item {
        border-bottom: none;
        border: 1px solid rgba(255, 140, 0, 0.20);
        border-radius: 4px;
        margin-bottom: 10px;
        overflow: hidden;
        background: rgba(14, 10, 5, 0.85);
        cursor: default;
        -webkit-tap-highlight-color: transparent;
    }

    /* Siempre mostrar la descripción — desactiva el acordeón */
    .mv-svc-body {
        display: block !important;
        overflow: visible;
        transition: none;
    }

    .mv-svc-inner {
        overflow: visible;
        min-height: unset;
    }

    /* Contenido de la cabecera */
    .mv-svc-head {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        padding: 12px 14px 10px;
        gap: 4px;
    }

    .mv-svc-cat {
        font-size: 9px;
        letter-spacing: 2.5px;
        color: rgba(255, 140, 0, 0.75);
        width: 100%;
        margin-bottom: 2px;
    }

    .mv-svc-name {
        font-size: clamp(1.35rem, 6.5vw, 1.75rem);
        color: #fff;
        letter-spacing: 0.5px;
        flex: 1;
    }

    /* Ocultar flecha del acordeón */
    .mv-svc-arrow {
        display: none;
    }

    /* Descripción siempre visible */
    .mv-svc-desc {
        padding: 0 14px 14px;
        font-size: 12.5px;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.52);
        margin: 0;
        border-top: 1px solid rgba(255, 140, 0, 0.08);
        padding-top: 10px;
    }

    /* Imagen inyectada por JS */
    .mv-card-img {
        width: 100%;
        height: 155px;
        background-size: cover;
        background-position: center;
        display: block;
        position: relative;
        filter: brightness(0.75) saturate(0.65);
        flex-shrink: 0;
    }

    /* Gradiente que funde imagen → fondo de la card */
    .mv-card-img::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            transparent 35%,
            rgba(14, 10, 5, 0.7) 75%,
            rgba(14, 10, 5, 0.97) 100%
        );
    }

    /* Badge de número sobre la imagen */
    .mv-card-num-badge {
        position: absolute;
        top: 10px;
        right: 11px;
        font-size: 10px;
        font-family: 'Courier New', monospace;
        color: rgba(255, 140, 0, 0.80);
        letter-spacing: 2px;
        z-index: 2;
        background: rgba(8, 6, 4, 0.72);
        padding: 3px 8px;
        border: 1px solid rgba(255, 140, 0, 0.28);
        border-radius: 2px;
    }

    /* CTA de servicios — Liquid Glass */
    .mv-svc-cta {
        margin-top: 20px;
        font-size: 10px;
        letter-spacing: 3px;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 50px !important;
        color: rgba(255, 255, 255, 0.75);
        box-shadow:
            0 8px 28px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.14);
        min-height: 54px;
        transition: background 0.2s, border-color 0.2s, color 0.2s;
    }

    .mv-svc-cta:active {
        background: rgba(255, 255, 255, 0.10) !important;
        border-color: rgba(255, 140, 0, 0.40) !important;
        color: #ff8c00;
    }

    /* ═══════════════════════════════════════════════════════
       CONTACTO — REDISEÑO "TRANSMISSION TERMINAL"
       Anillos de señal + tarjeta glass + inputs minimalistas
       ═══════════════════════════════════════════════════════ */

    /* Ocultar teléfono decorativo */
    .mv-phone-wrap { display: none; }

    /* Anillos pulsantes en el fondo — CSS-only */
    @keyframes mvContactRing {
        0%   { transform: translate(-50%, -50%) scale(0.05); opacity: 0.45; }
        80%  { opacity: 0.05; }
        100% { transform: translate(-50%, -50%) scale(1);    opacity: 0; }
    }

    #mv-contacto {
        position: relative;
        overflow: hidden;
        padding-top: 72px;
        padding-bottom: 120px;
    }

    #mv-contacto::before,
    #mv-contacto::after {
        content: '';
        position: absolute;
        top: 12%;
        left: 72%;
        width: 480px;
        height: 480px;
        border-radius: 50%;
        border: 1px solid rgba(255, 140, 0, 0.28);
        pointer-events: none;
        z-index: 0;
    }

    #mv-contacto::before {
        animation: mvContactRing 5.5s ease-out infinite;
    }

    #mv-contacto::after {
        animation: mvContactRing 5.5s 2.4s ease-out infinite;
        border-color: rgba(255, 140, 0, 0.16);
    }

    /* Header — todo por encima de los anillos */
    .mv-contact-header {
        position: relative;
        z-index: 2;
        margin-bottom: 36px;
    }

    /* Sub tag con marcador */
    .mv-contact-sub {
        font-size: 8px;
        letter-spacing: 5px;
        color: rgba(255, 140, 0, 0.5);
        margin: 0 0 18px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mv-contact-sub::before {
        content: '//';
        font-family: 'Courier New', monospace;
        color: rgba(255, 140, 0, 0.3);
        font-size: 11px;
        letter-spacing: 0;
    }

    /* Título: display dramático */
    .mv-contact-title {
        font-size: clamp(2.4rem, 11.5vw, 3.2rem);
        line-height: 0.95;
        letter-spacing: -0.5px;
        margin: 0 0 30px;
        font-weight: bold;
        color: #fff;
    }

    /* Trust badges — pills en fila horizontal */
    .mv-trust {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 7px;
        margin-bottom: 0;
    }

    .mv-trust li {
        font-size: 8px;
        letter-spacing: 0.8px;
        color: rgba(255, 255, 255, 0.52);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 20px;
        padding: 6px 11px;
        white-space: nowrap;
    }

    /* Tarjeta glass para el formulario */
    .mv-form-wrap {
        position: relative;
        z-index: 2;
        box-sizing: border-box;
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 140, 0, 0.14);
        border-radius: 20px;
        padding: 28px 22px 30px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow:
            inset 0 1px 0 rgba(255, 140, 0, 0.30),
            0 24px 48px rgba(0, 0, 0, 0.32);
        margin-top: 32px;
    }

    /* Etiqueta // ESCRÍBENOS */
    .mv-form-tag {
        font-size: 8px;
        letter-spacing: 5px;
        color: rgba(255, 140, 0, 0.45);
        font-family: 'Courier New', monospace;
        margin: 0 0 24px;
    }

    /* Campos — solo línea inferior, sin caja */
    .mv-input {
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 140, 0, 0.22);
        border-radius: 0;
        padding: 11px 0;
        font-family: 'Pacaembu', sans-serif;
        font-size: 15px;
        color: #fff;
        letter-spacing: 0.3px;
        width: 100%;
        box-sizing: border-box;
        -webkit-appearance: none;
        outline: none;
        transition: border-bottom-color 0.25s ease;
    }

    .mv-input:focus {
        background: transparent;
        border-bottom-color: #ff8c00;
        box-shadow: none;
    }

    .mv-input::placeholder {
        color: rgba(255, 255, 255, 0.18);
        font-style: italic;
        font-size: 14px;
    }

    .mv-textarea {
        resize: none;
        min-height: 72px;
    }

    /* Labels: más sutiles */
    .mv-lbl {
        font-size: 8px;
        letter-spacing: 3.5px;
        color: rgba(255, 140, 0, 0.55);
        font-weight: normal;
    }

    /* Campo gap reducido para look compacto */
    .mv-form { gap: 20px; }

    /* Botón de envío — pill outline → fill en tap */
    .mv-submit {
        background: transparent;
        border: 1px solid rgba(255, 140, 0, 0.55);
        color: #ff8c00;
        border-radius: 50px;
        font-family: 'Pacaembu', sans-serif;
        font-weight: bold;
        font-size: 10px;
        letter-spacing: 3px;
        min-height: 54px;
        width: 100%;
        margin-top: 6px;
        cursor: pointer;
        box-shadow: 0 0 24px rgba(255, 140, 0, 0.12);
        transition: background 0.2s ease, color 0.2s ease,
                    border-color 0.2s ease, transform 0.1s ease;
    }

    .mv-submit:active {
        background: #ff8c00;
        color: #000;
        border-color: #ff8c00;
        transform: scale(0.98);
        box-shadow: none;
    }

    .mv-submit.sent {
        background: rgba(255, 140, 0, 0.1);
        color: rgba(255, 140, 0, 0.7);
        border-color: rgba(255, 140, 0, 0.3);
        border-radius: 50px;
        cursor: default;
        box-shadow: none;
    }

    /* ═══════════════════════════════════════════════════════
       HERO — REDISEÑO CINEMÁTICO
       Grid 3D perspectiva + tipografía extruida + CTA cápsula
       Canvas inyectado por JS · gyroscope parallax
       ═══════════════════════════════════════════════════════ */

    /* Canvas de grid 3D (inyectado por JS) */
    #mv-hero-bg-canvas {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
    }

    /* Asegurar que el contenido quede por encima del canvas */
    #mv-hero .mv-hero-inner,
    #mv-hero .mv-scroll-hint {
        position: relative;
        z-index: 2;
    }

    /* Logo — flota con resplandor dinámico */
    @keyframes mvhLogoFloat {
        0%, 100% {
            transform: translateY(0px);
            filter: drop-shadow(0 0 16px rgba(255,140,0,0.55))
                    drop-shadow(0 0 48px rgba(255,80,0,0.22));
        }
        50% {
            transform: translateY(-9px);
            filter: drop-shadow(0 0 26px rgba(255,160,0,0.80))
                    drop-shadow(0 0 70px rgba(255,80,0,0.42));
        }
    }

    .mv-logo {
        width: 74vw;
        max-width: 296px;
        margin-bottom: 36px;
        animation: mvhLogoFloat 4.8s ease-in-out infinite;
        filter: drop-shadow(0 0 16px rgba(255,140,0,0.55));
    }

    /* Tagline — mayor separación */
    .mv-tagline { margin-bottom: 46px; }

    /* Kicker — entrada escalonada */
    @keyframes mvhFadeUp {
        from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
        to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
    }

    .mv-kicker {
        font-size: 9px;
        letter-spacing: 5px;
        opacity: 0;
        animation: mvhFadeUp 0.7s 0.35s cubic-bezier(0.22,1,0.36,1) forwards;
    }

    /* Regla — extensión desde el centro */
    @keyframes mvhRuleIn {
        from { transform: scaleX(0); opacity: 0; }
        to   { transform: scaleX(1); opacity: 1; }
    }

    .mv-rule {
        width: 52px;
        margin: 14px auto 18px;
        transform-origin: center;
        opacity: 0;
        animation: mvhRuleIn 0.55s 0.65s cubic-bezier(0.22,1,0.36,1) forwards;
    }

    /* Headline — ENORME, entrada 3D + text-shadow apilado */
    @keyframes mvhHeadlineIn {
        from {
            opacity: 0;
            transform: perspective(600px) translateZ(-90px) translateY(28px);
            filter: blur(10px);
        }
        to {
            opacity: 1;
            transform: perspective(600px) translateZ(0)   translateY(0);
            filter: blur(0);
        }
    }

    .mv-headline {
        font-size: clamp(2.2rem, 11vw, 4.4rem);
        line-height: 0.88;
        letter-spacing: -1px;
        font-weight: bold;
        color: #ffffff;
        text-shadow:
            1px 1px 0  rgba(220, 55, 0, 0.95),
            2px 2px 0  rgba(195, 36, 0, 0.75),
            3px 3px 0  rgba(170, 20, 0, 0.54),
            4px 4px 0  rgba(140,  8, 0, 0.34),
            0   0  52px rgba(255, 140, 0, 0.38);
        margin-bottom: 18px;
        opacity: 0;
        animation: mvhHeadlineIn 1.1s 0.75s cubic-bezier(0.22,1,0.36,1) forwards;
    }

    /* Sub — fade suave */
    .mv-sub {
        font-size: 13px;
        letter-spacing: 2px;
        opacity: 0;
        animation: mvhFadeUp 0.7s 1.15s cubic-bezier(0.22,1,0.36,1) forwards;
    }

    /* CTA — cápsula con gradiente y pulso */
    @keyframes mvhCtaIn {
        from { opacity: 0; transform: translateY(22px) scale(0.88); }
        to   { opacity: 1; transform: translateY(0)    scale(1); }
    }
    @keyframes mvhCtaPulse {
        0%, 100% { box-shadow: 0 0 0 0   rgba(255,140,0,0.00), 0 10px 34px rgba(255,75,0,0.40); }
        50%       { box-shadow: 0 0 0 7px rgba(255,140,0,0.13), 0 10px 52px rgba(255,75,0,0.62); }
    }

    .mv-hero-cta {
        width: auto;
        max-width: none;
        padding: 18px 42px;
        border-radius: 50px;
        background: linear-gradient(130deg, #ffb040 0%, #ff6c00 55%, #e63e00 100%);
        font-size: 11px;
        letter-spacing: 3.5px;
        color: #000;
        font-weight: bold;
        box-shadow: 0 10px 34px rgba(255,75,0,0.40),
                    inset 0 1px 0 rgba(255,200,100,0.35);
        opacity: 0;
        animation:
            mvhCtaIn   0.8s  1.35s cubic-bezier(0.22,1,0.36,1) forwards,
            mvhCtaPulse 3.2s 2.5s  ease-in-out infinite;
        transition: transform 0.12s ease, filter 0.12s ease;
    }

    .mv-hero-cta:active {
        transform: scale(0.96);
        filter: brightness(0.88);
        animation: none;
        opacity: 1;
        box-shadow: 0 4px 16px rgba(255,75,0,0.3);
    }

    /* ═══════════════════════════════════════════════════════
       CTA — GLASSMORPHISM (combina con la nav y la web)
       Sobreescribe el gradiente naranja sólido anterior
       ═══════════════════════════════════════════════════════ */
    .mv-hero-cta {
        background: rgba(255, 140, 0, 0.08);
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        border: 1px solid rgba(255, 140, 0, 0.52);
        color: #ff8c00;
        font-weight: bold;
        letter-spacing: 4px;
        box-shadow:
            0 0 30px rgba(255, 100, 0, 0.18),
            inset 0 1px 0 rgba(255, 210, 120, 0.18);
    }

    @keyframes mvhCtaPulseGlass {
        0%, 100% { box-shadow: 0 0 18px rgba(255,100,0,0.12), inset 0 1px 0 rgba(255,210,120,0.18); border-color: rgba(255,140,0,0.45); }
        50%       { box-shadow: 0 0 38px rgba(255,100,0,0.30), inset 0 1px 0 rgba(255,210,120,0.22); border-color: rgba(255,140,0,0.75); }
    }

    .mv-hero-cta {
        animation:
            mvhCtaIn        0.8s  1.35s cubic-bezier(0.22,1,0.36,1) forwards,
            mvhCtaPulseGlass 3.5s 2.5s  ease-in-out infinite;
    }

    .mv-hero-cta:active {
        background: rgba(255, 140, 0, 0.20);
        color: #ff8c00;
        border-color: rgba(255,140,0,0.80);
        filter: none;
        box-shadow: 0 0 14px rgba(255,100,0,0.15);
    }

    /* ═══════════════════════════════════════════════════════
       HEADLINE — WORD-SPLIT CURTAIN
       JS añade .mv-headline-split y <span class="mv-hw">
       ═══════════════════════════════════════════════════════ */

    /* Cuando JS ha tomado el control, desactivar animación del bloque */
    .mv-headline.mv-headline-split {
        animation: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }

    /* Cada palabra entra desde abajo con skew cinético */
    @keyframes mvhWordUp {
        from { opacity: 0; transform: translateY(115%) skewX(-5deg); }
        to   { opacity: 1; transform: translateY(0)    skewX(0deg);  }
    }

    .mv-hw {
        display: inline-block;
        opacity: 0;
        animation: mvhWordUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    /* Última palabra de la pregunta — naranja, la más memorable */
    .mv-hw-last {
        color: #ff8c00;
        text-shadow:
            0 0 28px rgba(255, 140, 0, 0.65),
            0 0 60px rgba(255, 80,  0, 0.30);
    }

    /* El operador × tiene un tratamiento especial — escala + rotación */
    @keyframes mvhOperatorIn {
        0%   { opacity: 0; transform: scale(0.2) rotate(-25deg); }
        65%  { opacity: 1; transform: scale(1.25) rotate(6deg);  }
        100% { opacity: 1; transform: scale(1)    rotate(0deg);  }
    }

    .mv-hw-op {
        display: inline-block;
        opacity: 0;
        color: #ff8c00;
        animation: mvhOperatorIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        text-shadow:
            0 0 20px rgba(255,140,0,0.70),
            0 0 50px rgba(255,80,0,0.40);
    }

    /* ═══════════════════════════════════════════════════════
       SCROLL REVEAL — elementos entran y salen con el scroll
       JS asigna las clases; .mv-visible activa la transición
       ═══════════════════════════════════════════════════════ */

    .mv-reveal,
    .mv-reveal-l,
    .mv-reveal-r {
        will-change: opacity, transform;
        transition:
            opacity   0.72s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Estados iniciales (ocultos) */
    .mv-reveal   { opacity: 0; transform: translateY(38px); }
    .mv-reveal-l { opacity: 0; transform: translateX(-38px); }
    .mv-reveal-r { opacity: 0; transform: translateX(38px); }

    /* Estado visible (animado) */
    .mv-reveal.mv-visible,
    .mv-reveal-l.mv-visible,
    .mv-reveal-r.mv-visible {
        opacity: 1;
        transform: translate(0, 0);
    }

    /* ═══════════════════════════════════════════════════════
       FILOSOFÍA — eliminar números, añadir scan animado
       ═══════════════════════════════════════════════════════ */

    /* Quitar números de fondo */
    .mv-phil-block:first-child::after,
    .mv-phil-block:last-child::after {
        content: none;
    }

    /* Habilitar posicionamiento para pseudo-elementos de animación */
    .mv-philosophy {
        position: relative;
        overflow: hidden;
    }

    /* Línea de scan que barre la sección de arriba a abajo */
    @keyframes mvPhilScan {
        0%   { top: -2px; opacity: 0; }
        3%   { opacity: 1; }
        92%  { opacity: 0.55; }
        100% { top: calc(100% + 2px); opacity: 0; }
    }

    /* Primera pasada */
    .mv-philosophy::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 140, 0, 0.10) 15%,
            rgba(255, 140, 0, 0.55) 50%,
            rgba(255, 140, 0, 0.10) 85%,
            transparent 100%
        );
        box-shadow: 0 0 12px 2px rgba(255, 120, 0, 0.28);
        animation: mvPhilScan 5.5s linear infinite;
        pointer-events: none;
        z-index: 2;
    }

    /* Segunda pasada — desfasada, más tenue */
    .mv-philosophy::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 140, 0, 0.06) 15%,
            rgba(255, 140, 0, 0.28) 50%,
            rgba(255, 140, 0, 0.06) 85%,
            transparent 100%
        );
        box-shadow: 0 0 8px 1px rgba(255, 120, 0, 0.15);
        animation: mvPhilScan 5.5s 2.75s linear infinite;
        pointer-events: none;
        z-index: 2;
    }

    /* ═══════════════════════════════════════════════════════
       SERVICIOS — identidad dual TECNOLOGÍA / CREATIVIDAD
       Azul frío vs Naranja cálido. Cards modernas y angulares.
       ═══════════════════════════════════════════════════════ */

    /* Separación clara entre los dos capítulos */
    .mv-svc-group:first-of-type {
        margin-bottom: 36px;
        padding-bottom: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* Labels de grupo: color propio + línea extendida */
    .mv-svc-label {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 10px;
        letter-spacing: 5px;
        padding: 0 0 14px;
        border-bottom: none;
        opacity: 1;
        margin-bottom: 4px;
    }

    .mv-svc-label::after {
        content: '';
        flex: 1;
        height: 1px;
        display: block;
    }

    /* TECNOLOGÍA — azul eléctrico */
    .mv-svc-group:first-of-type .mv-svc-label {
        color: rgba(90, 175, 255, 0.80);
    }
    .mv-svc-group:first-of-type .mv-svc-label::after {
        background: linear-gradient(90deg, rgba(90, 175, 255, 0.40), transparent);
    }

    /* CREATIVIDAD — naranja cálido */
    .mv-svc-group:last-of-type .mv-svc-label {
        color: rgba(255, 145, 0, 0.80);
    }
    .mv-svc-group:last-of-type .mv-svc-label::after {
        background: linear-gradient(90deg, rgba(255, 145, 0, 0.40), transparent);
    }

    /* Tarjetas: angulares, sin radio, margen más ajustado */
    .mv-svc-item {
        border: none;
        border-radius: 0;
        margin-bottom: 2px;
        background: transparent;
        overflow: hidden;
        position: relative;
    }

    /* Línea de acento en la parte superior de cada card */
    .mv-svc-item::before {
        content: '';
        display: block;
        height: 1px;
        width: 100%;
        flex-shrink: 0;
    }

    /* Acento superior TECH — azul */
    .mv-svc-group:first-of-type .mv-svc-item::before {
        background: linear-gradient(90deg,
            rgba(90, 175, 255, 0.65) 0%,
            rgba(90, 175, 255, 0.15) 60%,
            transparent 100%);
    }

    /* Acento superior CREATIVE — naranja */
    .mv-svc-group:last-of-type .mv-svc-item::before {
        background: linear-gradient(90deg,
            rgba(255, 145, 0, 0.60) 0%,
            rgba(255, 145, 0, 0.12) 60%,
            transparent 100%);
    }

    /* Fondos de tarjeta con micro-tinte de grupo */
    .mv-svc-group:first-of-type .mv-svc-item {
        background: rgba(4, 9, 20, 0.80);
        border-bottom: 1px solid rgba(90, 175, 255, 0.08);
    }

    .mv-svc-group:last-of-type .mv-svc-item {
        background: rgba(18, 8, 2, 0.80);
        border-bottom: 1px solid rgba(255, 145, 0, 0.08);
    }

    /* Imagen TECH: fría, desaturada, tono azul */
    .mv-svc-group:first-of-type .mv-card-img {
        filter: brightness(0.62) saturate(0.30) hue-rotate(195deg);
        height: 165px;
    }

    /* Gradiente de fade de imagen TECH: baja al fondo frío */
    .mv-svc-group:first-of-type .mv-card-img::after {
        background: linear-gradient(
            to bottom,
            transparent 30%,
            rgba(4, 9, 20, 0.75) 72%,
            rgba(4, 9, 20, 0.98) 100%
        );
    }

    /* Imagen CREATIVE: cálida, saturación preservada */
    .mv-svc-group:last-of-type .mv-card-img {
        filter: brightness(0.68) saturate(0.85);
        height: 165px;
    }

    /* Gradiente de fade imagen CREATIVE: baja al fondo cálido */
    .mv-svc-group:last-of-type .mv-card-img::after {
        background: linear-gradient(
            to bottom,
            transparent 30%,
            rgba(18, 8, 2, 0.75) 72%,
            rgba(18, 8, 2, 0.98) 100%
        );
    }

    /* Cabecera de cada tarjeta */
    .mv-svc-head {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 13px 14px 11px;
        gap: 4px;
    }

    /* Categoría TECH */
    .mv-svc-group:first-of-type .mv-svc-cat {
        color: rgba(100, 190, 255, 0.75);
    }

    /* Categoría CREATIVE */
    .mv-svc-group:last-of-type .mv-svc-cat {
        color: rgba(255, 165, 50, 0.80);
    }

    /* Nombre del servicio */
    .mv-svc-name {
        font-size: clamp(1.55rem, 6.8vw, 2.2rem);
        letter-spacing: -0.5px;
        width: 100%;
        color: rgba(255, 255, 255, 0.90);
    }

    /* Estado activo: color de grupo */
    .mv-svc-group:first-of-type .mv-svc-item.open .mv-svc-name {
        color: #5ab8ff;
        -webkit-text-fill-color: #5ab8ff;
    }

    .mv-svc-group:last-of-type .mv-svc-item.open .mv-svc-name {
        color: #ff8c00;
        -webkit-text-fill-color: #ff8c00;
    }

    /* Badge de número: color de grupo */
    .mv-svc-group:first-of-type .mv-card-num-badge {
        color: rgba(100, 190, 255, 0.75);
        border-color: rgba(90, 175, 255, 0.30);
        background: rgba(4, 9, 20, 0.75);
    }

    .mv-svc-group:last-of-type .mv-card-num-badge {
        color: rgba(255, 165, 50, 0.80);
        border-color: rgba(255, 140, 0, 0.28);
        background: rgba(18, 8, 2, 0.75);
    }

    /* Descripción con padding consistente */
    .mv-svc-desc {
        padding: 0 14px 14px;
    }

    /* ═══════════════════════════════════════════════════════
       SERVICIOS — LIQUID GLASS + FONDO ANIMADO + LEFT/RIGHT
       ═══════════════════════════════════════════════════════ */

    /* Fondo animado de la sección: gradientes azul/naranja que se mueven */
    @keyframes svcBgMove {
        0%   { transform: translate(0,    0   ) scale(1.00); }
        33%  { transform: translate(6%,  -4%  ) scale(1.06); }
        66%  { transform: translate(-4%,  5%  ) scale(1.04); }
        100% { transform: translate(0,    0   ) scale(1.00); }
    }

    #mv-servicios {
        position: relative;
        overflow: hidden;
    }

    #mv-servicios::before {
        content: '';
        position: absolute;
        inset: -25%;
        background:
            radial-gradient(ellipse 65% 50% at 15% 25%, rgba(0, 80, 220,  0.16) 0%, transparent 60%),
            radial-gradient(ellipse 55% 45% at 85% 75%, rgba(220, 80, 0,  0.13) 0%, transparent 60%),
            radial-gradient(ellipse 50% 40% at 55% 10%, rgba(0,  55, 180, 0.09) 0%, transparent 55%),
            radial-gradient(ellipse 45% 38% at 40% 88%, rgba(200, 70, 0,  0.09) 0%, transparent 55%);
        animation: svcBgMove 18s ease-in-out infinite;
        pointer-events: none;
        z-index: 0;
    }

    /* Contenido por encima del fondo animado */
    #mv-servicios > * { position: relative; z-index: 1; }

    /* ── Tarjetas: Liquid Glass ────────────────────────── */
    .mv-svc-item {
        background: rgba(255, 255, 255, 0.04) !important;
        backdrop-filter: blur(22px) saturate(180%);
        -webkit-backdrop-filter: blur(22px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.09) !important;
        box-shadow:
            0 10px 36px rgba(0, 0, 0, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.11);
        border-radius: 16px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    /* Glass TECH — tinte azul frío */
    .mv-svc-group:first-of-type .mv-svc-item {
        background: rgba(12, 40, 110, 0.13) !important;
        border: 1px solid rgba(90, 175, 255, 0.22) !important;
        box-shadow:
            0 10px 36px rgba(0, 20, 90, 0.48),
            inset 0 1px 0 rgba(100, 190, 255, 0.15);
    }

    /* Glass CREATIVE — tinte naranja cálido */
    .mv-svc-group:last-of-type .mv-svc-item {
        background: rgba(80, 28, 4, 0.13) !important;
        border: 1px solid rgba(255, 145, 0, 0.22) !important;
        box-shadow:
            0 10px 36px rgba(80, 20, 0, 0.48),
            inset 0 1px 0 rgba(255, 170, 60, 0.15);
    }

    /* ── TECNOLOGÍA: justificado a la izquierda ────────── */
    .mv-svc-group:first-of-type .mv-svc-head {
        align-items: flex-start;
        text-align: left;
    }
    .mv-svc-group:first-of-type .mv-svc-name {
        justify-content: flex-start;
        text-align: left;
    }

    /* ── CREATIVIDAD: justificado a la derecha ─────────── */
    .mv-svc-group:last-of-type .mv-svc-head {
        align-items: flex-end;
        text-align: right;
        padding-right: 14px;
    }
    .mv-svc-group:last-of-type .mv-svc-cat {
        width: 100%;
        text-align: right;
    }
    .mv-svc-group:last-of-type .mv-svc-name {
        width: 100%;
        text-align: right;
        justify-content: flex-end;
    }
    .mv-svc-group:last-of-type .mv-svc-desc {
        text-align: right;
        padding-left: 14px;
        padding-right: 14px;
    }

    /* Badge del número: al lado izquierdo en CREATIVE */
    .mv-svc-group:last-of-type .mv-card-num-badge {
        left: 11px;
        right: auto;
    }

    /* Label CREATIVE: línea a la izquierda, texto a la derecha */
    .mv-svc-group:last-of-type .mv-svc-label {
        flex-direction: row-reverse;
    }
    .mv-svc-group:last-of-type .mv-svc-label::after {
        background: linear-gradient(270deg, rgba(255, 145, 0, 0.42), transparent);
    }

    /* Acento superior invertido (derecha → izquierda) en CREATIVE */
    .mv-svc-group:last-of-type .mv-svc-item::before {
        background: linear-gradient(270deg,
            rgba(255, 145, 0, 0.62) 0%,
            rgba(255, 145, 0, 0.12) 60%,
            transparent 100%);
    }

    /* ═══════════════════════════════════════════════════════
       CONTACTO — teléfono detrás de la tarjeta + glass fuerte
       ═══════════════════════════════════════════════════════ */

    /* Sección: posicionamiento para el apilado */
    #mv-contacto {
        overflow: visible;
    }

    /* Teléfono: visible, JS lo posiciona detrás de la tarjeta */
    .mv-phone-wrap {
        display: block !important;
        pointer-events: none;
        z-index: 1;
    }

    .mv-phone-img {
        width: 100%;
        height: auto;
        display: block;
        opacity: 0.50;
        -webkit-mask-image: none;
        mask-image: none;
        filter: brightness(0.55) saturate(0.5) sepia(0.3);
    }

    /* Tarjeta del formulario: glass con suficiente opacidad para leer pero deja ver el teléfono */
    .mv-form-wrap {
        position: relative;
        z-index: 3;
        box-sizing: border-box;
        background: rgba(8, 5, 2, 0.52) !important;
        backdrop-filter: blur(6px) saturate(150%);
        -webkit-backdrop-filter: blur(6px) saturate(150%);
        border: 1px solid rgba(255, 140, 0, 0.28) !important;
        box-shadow:
            0 -10px 32px rgba(0, 0, 0, 0.28),
            0 18px 50px rgba(0, 0, 0, 0.45),
            inset 0 1px 0 rgba(255, 140, 0, 0.35);
    }

}
