/* --- CONFIGURACIÓN BASE DE PÁGINAS TÉCNICAS --- */
:root {
    --bg-dark: #05080a;
    --primary: #00f2ff;
    --primary-dim: rgba(0, 242, 255, 0.15);
    --card-bg: rgba(13, 18, 22, 0.95);
}

body.tech-layout {
    background-color: var(--bg-dark);
    background-image: radial-gradient(var(--primary-dim) 0.8px, transparent 0.8px);
    background-size: 30px 30px;
    color: #fff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    /* --- MEJORA DE LEGIBILIDAD --- */
    font-size: 18px; /* Subimos de 16px a 18px el estándar */
    line-height: 1.8; /* Más espacio entre líneas para no cansar la vista */
    overflow-x: hidden;
}

/* 1. HERO SLIDER AUTOMÁTICO */
.service-header-simple {
    height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease;
    filter: brightness(0.4) grayscale(0.3);
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    z-index: 5;
    animation: scan 4s linear infinite;
    opacity: 0.3;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* 2. TARJETAS DE RESUMEN (CENTRADO PERFECTO) */
.tech-summary {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -60px; /* Cabalga sobre el Hero */
    position: relative;
    z-index: 20;
}

.summary-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-icon i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.summary-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 255, 0.1);
}

/* 3. FASE OPERATIVA (ROMBOS Y ASIMETRÍA) */
.process-section {
    padding: 120px 0;
}

.modern-timeline {
    max-width: 1000px;
    margin: 60px auto;
}

.geo-step {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 150px;
}

.geo-step.reverse {
    direction: rtl;
}

.geo-step.reverse .geo-text {
    direction: ltr;
}

.geo-num {
    font-family: 'Orbitron', sans-serif; /* Si usas una fuente tech */
    font-size: 5rem;
    color: var(--primary-dim);
    line-height: 1;
    display: block;
    margin-bottom: -15px;
}

.geo-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.geo-image-wrapper {
    position: relative;
}

.geo-shape {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    border: 1px solid var(--primary-dim);
    transition: 0.7s ease;
    filter: saturate(0.2) brightness(0.8);
}

.geo-step:hover .geo-shape {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: saturate(1) brightness(1);
    transform: scale(1.03);
}

.geo-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4. MEJORAS DE FONDO Y CTA */
.content-wrapper {
    background: linear-gradient(to bottom, transparent, rgba(0, 242, 255, 0.03) 50%, transparent);
}

.cta-final {
    padding: 100px 0;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--primary-dim);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .summary-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .geo-step, .geo-step.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .geo-shape {
        clip-path: none;
        max-width: 350px;
        margin: 0 auto;
    }
}


/* Mejorar la legibilidad de los textos largos */
.geo-text p {
    font-size: 1.15rem; /* Un 15% más grande que el estándar */
    line-height: 1.7;
    color: #e0e0e0; /* Un gris más claro (casi blanco) para mejorar el contraste */
    margin-bottom: 1.5rem;
    text-align: left; /* En pantallas técnicas, el alineado a la izquierda cansa menos que el justificado */
}

/* Un toque de color para palabras importantes */
.geo-text p strong {
    color: var(--primary);
    font-weight: 600;
}

/* Hacer los títulos un poco más imponentes */
.geo-text h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cuadro de venta diferencial */
.selling-point {
    padding: 80px 0;
}

.glass-box {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(0,0,0,0.5));
    border: 1px solid var(--primary);
    padding: 60px;
    border-radius: 2px;
    text-align: center;
}

.glass-box h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.bullets-v {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.bullets-v span {
    font-family: var(--font-tech);
    font-size: 1.1rem;
    color: #fff;
}

.bullets-v i {
    color: var(--primary);
    margin-right: 10px;
}

.info-block {
    max-width: 800px;
    margin: 80px auto;
}

.info-block h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

/* --- BLOQUE DE AVISO PROTOCOLO INTEGRADO --- */
.protocol-alert {
    margin: 40px auto -20px; /* Ajuste para que quede bien entre Hero y Tarjetas */
    position: relative;
    z-index: 30;
}

.alert-box {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid var(--primary);
    border-left: 5px solid var(--primary);
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: center;
    backdrop-filter: blur(10px);
}

.alert-icon i {
    font-size: 3rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
}

.alert-content h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.alert-content h3 span {
    color: var(--primary);
    font-size: 0.9rem;
    margin-left: 10px;
}

.alert-content p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 20px;
}

.alert-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(0, 242, 255, 0.2);
    padding-top: 15px;
}

.alert-footer span {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
}

/* El botón-link estilo tech */
.btn-info-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 8px 15px;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-info-link:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
}

@media (max-width: 768px) {
    .alert-box { flex-direction: column; text-align: center; }
    .alert-footer { flex-direction: column; gap: 10px; }
}

/* --- TARJETAS DE PRECIOS --- */
.pricing-section { padding: 80px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.price-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.1);
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.price-card:hover {
    border-color: var(--primary);
    background: rgba(0, 242, 255, 0.05);
    transform: translateY(-5px);
}

.price-card.featured {
    border: 1px solid var(--primary);
    background: rgba(0, 242, 255, 0.1);
}

.card-badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 5px 15px;
    font-family: var(--font-tech);
}

.price-card h4 {
    font-family: var(--font-tech);
    margin-bottom: 20px;
    color: #fff;
}

.price-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: var(--font-tech);
}

.price-card ul {
    list-style: none;
    text-align: left;
    font-size: 0.9rem;
    color: #ccc;
}

.price-card ul li { margin-bottom: 10px; }
.price-card ul li i { color: var(--primary); margin-right: 10px; }

.price-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--text-dim);
    font-style: italic;
}

/* --- AJUSTE DE IMÁGENES TÉCNICAS (CUERPO) --- */
.geo-image-wrapper {
    width: 100%;
    height: 450px; /* Altura estándar para todas */
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2); /* Fondo oscuro por si la foto no llena todo */
    border: 1px solid var(--primary-dim);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.geo-shape img {
    width: 100%;
    height: 100%;
    /* Cambiamos 'cover' por 'contain' para que la foto se vea COMPLETA */
    /* Si prefieres que se estiren (se deformen un poco) usa 'fill' */
    object-fit: contain; 
    transition: 0.5s ease;
    padding: 10px; /* Pequeño margen para que no toque los bordes del marco */
}

/* Efecto al pasar el ratón: la imagen se expande un poco */
.geo-step:hover .geo-shape img {
    transform: scale(1.05);
}

/* Para dispositivos móviles, bajamos un poco la altura */
@media (max-width: 768px) {
    .geo-image-wrapper {
        height: 300px;
    }
}

/* --- MEGA QUOTE --- */
.mega-quote {
    padding: 100px 0;
    text-align: center;
}
.quote-text {
    font-family: var(--font-tech);
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #fff;
    line-height: 1.2;
}
.quote-text span {
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-top: 10px;
    text-shadow: 0 0 20px var(--primary-dim);
}

/* --- LISTAS TÉCNICAS --- */
.tech-list {
    list-style: none;
    margin-top: 20px;
}
.tech-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start; /* Alinea el icono arriba si el texto ocupa varias líneas */
    gap: 15px;
    color: var(--text-dim);
}
.tech-list li i {
    color: var(--primary);
    width: 20px;
}

/* --- TARJETA DE RESULTADOS --- */
.tech-card-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--primary-dim);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 50px;
}
.card-content { padding: 50px; }
.card-content h3 span { color: var(--primary); display: block; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; }

/* --- PROMO VIDEO --- */
.promo-box {
    background: linear-gradient(45deg, rgba(0, 242, 255, 0.05), transparent);
    border-left: 4px solid var(--primary);
    padding: 40px;
    margin: 80px 0;
    text-align: center;
}
.icon-box { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }

/* RECUERDA: El geo-image-wrapper ya tiene el object-fit: contain que pusimos antes */

/* --- GALERÍA DE DESPIECE TÉCNICO --- */
.parts-explosion {
    background: rgba(0, 242, 255, 0.02);
    padding: 60px 0;
    margin: 80px 0;
    border-top: 1px solid var(--primary-dim);
    border-bottom: 1px solid var(--primary-dim);
}

.parts-grid-container {
    position: relative;
    padding: 20px 0;
}

.parts-scroll-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.parts-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Permite scroll horizontal */
    padding: 20px;
    scroll-behavior: smooth;
}

/* Ocultar barra de scroll para estética limpia */
.parts-grid::-webkit-scrollbar { display: none; }

.part-item {
    min-width: 150px;
    height: 180px;
    background: var(--card-bg);
    border: 1px solid var(--primary-dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: 0.3s;
}

.part-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.2);
    margin-bottom: 10px;
}

.part-item span {
    font-size: 0.7rem;
    font-family: var(--font-tech);
    color: var(--text-dim);
    text-align: center;
}

.part-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.part-item:hover img { filter: grayscale(0); }

.more-parts {
    background: var(--primary-dim);
    color: var(--primary);
    font-weight: bold;
}