/* ==========================================
   MUBITT TECHNOLOGY - Páginas de Servicios
   v5.3 - Diseño UX/UI Senior Optimizado
   + Selector de idioma con :hover y .active
   + Hero centrado en desktop
   + Fix completo overflow/scroll
   ========================================== */

/* ========== GLOBAL: Prevenir scroll horizontal ========== */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* ========== GLOBAL: Ocultar scrollbars no deseados ========== */
.service-section,
.service-section *,
.container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.service-section::-webkit-scrollbar,
.service-section *::-webkit-scrollbar,
.container::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* ==========================================
   SERVICE PAGE HERO
   ========================================== */
.service-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #000000 0%, #050810 50%, #0a0d14 100%);
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-hero .section-tag {
    margin-bottom: 24px;
}

.service-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--gray-50);
}

.service-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--gray-300);
    margin-bottom: 32px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.service-hero-cta .btn {
    white-space: normal;
    text-align: center;
    min-width: 160px;
    max-width: 100%;
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--gray-400);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-500);
}

.breadcrumb span {
    color: var(--gray-500);
}

.breadcrumb-current {
    color: var(--primary-500) !important;
}

/* ==========================================
   SECTION BASE
   ========================================== */
.service-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.service-section::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.service-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.service-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.service-section-header .section-tag {
    margin-bottom: 16px;
}

.service-section-header .section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-50);
    margin-bottom: 16px;
}

.service-section-header .section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ==========================================
   WHY 2026 / TRENDS SECTION
   ========================================== */
.why-2026 {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 68, 204, 0.02) 100%);
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trend-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.trend-card:hover {
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.1);
}

.trend-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 102, 255, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.trend-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-50);
    margin-bottom: 12px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.trend-card p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.trend-stat {
    display: inline-block;
    background: rgba(0, 102, 255, 0.15);
    color: var(--primary-400);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 16px;
}

/* ==========================================
   BENEFITS SECTION
   ========================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleY(1);
}

.benefit-card:hover {
    border-color: rgba(0, 102, 255, 0.3);
    background: rgba(0, 102, 255, 0.03);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 68, 204, 0.1) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.375rem;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-50);
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.benefit-card p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ==========================================
   PROCESS SECTION - DISEÑO PREMIUM
   ========================================== */
.process-section {
    background: linear-gradient(180deg, #050810 0%, #0a0d14 100%);
    padding: 100px 0;
}

/* Grid de proceso - 2x2 en desktop */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    display: none;
}

.process-step {
    position: relative;
    background: linear-gradient(145deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 102, 255, 0.02) 100%);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    padding: 40px 32px 32px;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: rgba(0, 102, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.step-number {
    position: absolute;
    top: -18px;
    left: 32px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0066ff 0%, #0044cc 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
    border: 3px solid #0a0d14;
}

.step-content {
    background: transparent;
    border: none;
    padding: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-50);
    margin-bottom: 12px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.step-content p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ==========================================
   TECHNOLOGIES SECTION - DISEÑO PREMIUM
   ========================================== */

/* Logo animado central - MEJORADO */
.tech-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    max-width: 100%;
}

.tech-logo-spinner {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Anillo exterior - gira lento */
.tech-logo-spinner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-500);
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: var(--primary-400);
    animation: spinOuter 4s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.5));
}

/* Anillo medio - gira contrario */
.tech-logo-spinner::after {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: transparent;
    border-right-color: var(--primary-600);
    border-bottom-color: var(--primary-500);
    border-left-color: transparent;
    animation: spinInner 3s linear infinite reverse;
    filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.4));
}

/* Anillo interior adicional */
.tech-logo-spinner .inner-ring {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0, 102, 255, 0.3);
    animation: spinOuter 6s linear infinite;
}

.tech-logo-spinner img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: pulseLogo 3s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(0, 102, 255, 0.4));
    z-index: 2;
}

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

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

@keyframes pulseLogo {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(0, 102, 255, 0.4));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 40px rgba(0, 102, 255, 0.6));
    }
}

/* Partículas decorativas alrededor del logo */
.tech-logo-wrapper::before,
.tech-logo-wrapper::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: orbitParticle 8s linear infinite;
    filter: blur(1px);
}

.tech-logo-wrapper::before {
    animation-delay: 0s;
}

.tech-logo-wrapper::after {
    animation-delay: -4s;
    width: 6px;
    height: 6px;
    background: var(--primary-400);
}

@keyframes orbitParticle {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
        opacity: 0.8;
    }
}

/* ==========================================
   TECH GRID - DISEÑO PREMIUM CON ANIMACIONES
   ========================================== */

/* OCULTAR SCROLLBARS en toda la sección tech */
.tech-section-content,
.tech-section-content *,
.tech-grid,
.tech-grid *,
.tech-logo-wrapper,
.tech-logo-wrapper * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.tech-section-content::-webkit-scrollbar,
.tech-section-content *::-webkit-scrollbar,
.tech-grid::-webkit-scrollbar,
.tech-grid *::-webkit-scrollbar,
.tech-logo-wrapper::-webkit-scrollbar,
.tech-logo-wrapper *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
    perspective: 1000px;
    overflow: hidden;
}

/* Tech Item - Diseño glassmorphism con animaciones */
.tech-grid .tech-item,
.tech-section-content .tech-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 14px 28px;
    background: linear-gradient(
        135deg,
        rgba(0, 102, 255, 0.08) 0%,
        rgba(0, 102, 255, 0.02) 50%,
        rgba(0, 102, 255, 0.06) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 16px;
    white-space: nowrap;
    cursor: default;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: techItemEntrance 0.6s ease-out backwards;
}

/* Animación de entrada escalonada */
.tech-grid .tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-grid .tech-item:nth-child(2) { animation-delay: 0.15s; }
.tech-grid .tech-item:nth-child(3) { animation-delay: 0.2s; }
.tech-grid .tech-item:nth-child(4) { animation-delay: 0.25s; }
.tech-grid .tech-item:nth-child(5) { animation-delay: 0.3s; }
.tech-grid .tech-item:nth-child(6) { animation-delay: 0.35s; }
.tech-grid .tech-item:nth-child(7) { animation-delay: 0.4s; }
.tech-grid .tech-item:nth-child(8) { animation-delay: 0.45s; }
.tech-grid .tech-item:nth-child(9) { animation-delay: 0.5s; }
.tech-grid .tech-item:nth-child(10) { animation-delay: 0.55s; }
.tech-grid .tech-item:nth-child(11) { animation-delay: 0.6s; }
.tech-grid .tech-item:nth-child(12) { animation-delay: 0.65s; }

@keyframes techItemEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efecto de brillo animado */
.tech-grid .tech-item::before,
.tech-section-content .tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
    pointer-events: none;
}

/* Borde con gradiente animado */
.tech-grid .tech-item::after,
.tech-section-content .tech-item::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(
        135deg,
        rgba(0, 102, 255, 0.5) 0%,
        transparent 40%,
        transparent 60%,
        rgba(0, 102, 255, 0.3) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover state premium */
.tech-grid .tech-item:hover,
.tech-section-content .tech-item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 102, 255, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(
        135deg,
        rgba(0, 102, 255, 0.15) 0%,
        rgba(0, 102, 255, 0.05) 50%,
        rgba(0, 102, 255, 0.12) 100%
    );
}

.tech-grid .tech-item:hover::before,
.tech-section-content .tech-item:hover::before {
    left: 100%;
}

.tech-grid .tech-item:hover::after,
.tech-section-content .tech-item:hover::after {
    opacity: 1;
}

/* Icono dentro del tech-item */
.tech-grid .tech-item img,
.tech-section-content .tech-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 10px;
    filter: brightness(1.1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.tech-grid .tech-item:hover img,
.tech-section-content .tech-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(0, 102, 255, 0.5));
}

/* Texto del tech-item */
.tech-grid .tech-item span,
.tech-section-content .tech-item span {
    font-weight: 600;
    color: var(--gray-100);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-shadow: none;
    animation: none;
    text-transform: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.tech-grid .tech-item:hover span,
.tech-section-content .tech-item:hover span {
    color: white;
}

/* Contenedor de la sección tech - PROTEGIDO CONTRA SCROLL */
.tech-section-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    overflow-x: hidden;
    overflow-y: visible;
    max-width: 100%;
}

/* Efecto de glow de fondo - contenido dentro del flujo */
.tech-section-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: radial-gradient(
        circle,
        rgba(0, 102, 255, 0.06) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* Animación flotante sutil para los items */
.tech-grid .tech-item:nth-child(odd) {
    animation: techItemEntrance 0.6s ease-out backwards, floatSubtle 6s ease-in-out infinite;
}

.tech-grid .tech-item:nth-child(even) {
    animation: techItemEntrance 0.6s ease-out backwards, floatSubtle 6s ease-in-out infinite reverse;
}

@keyframes floatSubtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    background: rgba(255, 255, 255, 0.01);
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 102, 255, 0.2);
}

.faq-item.active {
    border-color: rgba(0, 102, 255, 0.3);
    background: rgba(0, 102, 255, 0.03);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    text-align: left;
    color: var(--gray-50);
    font-size: 1.0625rem;
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-question:hover {
    color: var(--primary-400);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-500);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-question-text {
    flex: 1;
    min-width: 0;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--gray-400);
    line-height: 1.7;
    font-size: 0.9375rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.service-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, #050810 0%, #0a0d14 100%);
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--gray-50);
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 32px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-form-section {
    padding: 80px 0;
    background: #050810;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-200);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--gray-100);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    cursor: pointer;
}

.form-group select option {
    background: #1e293b;
    color: var(--gray-100);
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 16px;
}

/* ==========================================
   BACK BUTTON
   ========================================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: var(--primary-500);
    background: rgba(0, 102, 255, 0.08);
}

.back-link svg {
    width: 18px;
    height: 18px;
}

/* ==========================================
   SERVICE NAVBAR
   ========================================== */
.service-navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
}

.service-navbar .container {
    max-width: var(--container-max, 1200px);
}

.service-navbar .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.service-navbar .nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Selector for Service Pages */
.service-navbar .lang-selector {
    position: relative;
    z-index: 1001;
}

.service-navbar .lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--gray-300);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-navbar .lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-400);
    color: white;
}

.service-navbar .lang-current {
    font-weight: 600;
}

.service-navbar .lang-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
    stroke: currentColor;
}

.service-navbar .lang-selector:hover .lang-arrow,
.service-navbar .lang-selector.active .lang-arrow {
    transform: rotate(180deg);
}

.service-navbar .lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    padding: 8px 0;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.service-navbar .lang-selector:hover .lang-dropdown,
.service-navbar .lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-navbar .lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 0.875rem;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.service-navbar .lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.service-navbar .lang-option.active {
    color: var(--primary-400);
    font-weight: 500;
    background: rgba(0, 102, 255, 0.1);
}

/* ==========================================
   RESPONSIVE - DESKTOP LARGE (1400px+)
   ========================================== */
@media (min-width: 1400px) {
    .service-section {
        padding: 120px 0;
    }

    .trends-grid {
        gap: 32px;
    }

    .benefits-grid {
        gap: 32px;
    }

    .process-timeline {
        gap: 40px;
        max-width: 1100px;
    }

    .tech-grid {
        gap: 14px;
        max-width: 1000px;
    }
}

/* ==========================================
   RESPONSIVE - DESKTOP (1200px)
   ========================================== */
@media (max-width: 1200px) {
    .trends-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   RESPONSIVE - TABLET (900px)
   ========================================== */
@media (max-width: 900px) {
    .service-section {
        padding: 80px 0;
    }

    .trends-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE (768px)
   ========================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
    }

    * {
        max-width: 100vw;
    }

    /* Navbar */
    .service-navbar .nav-right {
        gap: 12px;
    }

    .service-navbar .back-link span {
        display: none;
    }

    .service-navbar .back-link {
        padding: 8px;
    }

    .service-navbar .lang-btn {
        padding: 6px 10px;
        font-size: 0.8125rem;
    }

    /* Hero */
    .service-hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .service-hero-title {
        font-size: 1.75rem;
    }

    .service-hero-subtitle {
        font-size: 1rem;
    }

    .service-hero-cta {
        flex-direction: column;
    }

    .service-hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    /* Sections */
    .service-section {
        padding: 60px 0;
    }

    .service-section-header {
        margin-bottom: 40px;
    }

    /* Cards */
    .trend-card,
    .benefit-card {
        padding: 24px;
    }

    .trend-card:hover,
    .benefit-card:hover,
    .process-step:hover {
        transform: none;
    }

    /* Process */
    .process-section {
        padding: 60px 0;
    }

    .process-timeline {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .process-step {
        padding: 32px 24px 24px;
    }

    .step-number {
        top: -14px;
        left: 24px;
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.875rem;
    }

    /* Tech section */
    .tech-logo-spinner {
        width: 140px;
        height: 140px;
    }

    .tech-logo-spinner img {
        width: 65px;
        height: 65px;
    }

    .tech-logo-wrapper::before,
    .tech-logo-wrapper::after {
        display: none;
    }

    .tech-grid {
        gap: 12px;
        padding: 0 15px;
    }

    .tech-grid .tech-item,
    .tech-section-content .tech-item {
        padding: 12px 20px;
        border-radius: 12px;
    }

    .tech-grid .tech-item span,
    .tech-section-content .tech-item span {
        font-size: 0.875rem;
    }

    .tech-section-content::before {
        max-width: 350px;
    }

    /* FAQ */
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 20px 20px;
        font-size: 0.875rem;
    }

    /* Form */
    .form-container {
        padding: 32px 24px;
        margin: 0 16px;
    }

    /* CTA */
    .service-cta {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE SMALL (480px)
   ========================================== */
@media (max-width: 480px) {
    .service-hero {
        padding: 100px 0 50px;
    }

    .service-hero-title {
        font-size: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.75rem;
    }

    .benefit-card,
    .trend-card {
        padding: 20px;
    }

    .trend-icon,
    .benefit-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    /* Tech grid - mobile small */
    .tech-grid {
        gap: 10px;
        padding: 0 12px;
    }

    .tech-grid .tech-item,
    .tech-section-content .tech-item {
        padding: 10px 16px;
        border-radius: 10px;
    }

    .tech-grid .tech-item span,
    .tech-section-content .tech-item span {
        font-size: 0.8125rem;
    }

    .tech-section-content::before {
        max-width: 250px;
        width: 80%;
        height: auto;
    }

    /* Desactivar animación flotante en móvil pequeño */
    .tech-grid .tech-item:nth-child(odd),
    .tech-grid .tech-item:nth-child(even) {
        animation: techItemEntrance 0.6s ease-out backwards;
    }

    .trend-card h3,
    .benefit-card h3 {
        font-size: 1rem;
    }

    .trend-card p,
    .benefit-card p {
        font-size: 0.875rem;
    }

    .process-step {
        padding: 28px 20px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 20px;
        top: -12px;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.8125rem;
    }

    .tech-logo-spinner {
        width: 120px;
        height: 120px;
    }

    .tech-logo-spinner img {
        width: 55px;
        height: 55px;
    }

    .tech-grid .tech-item,
    .tech-section-content .tech-item {
        padding: 10px 18px;
        border-radius: 12px;
    }

    .tech-grid .tech-item span,
    .tech-section-content .tech-item span {
        font-size: 0.8125rem;
    }

    .form-container {
        padding: 24px 20px;
        margin: 0 12px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9375rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .trend-card,
    .benefit-card,
    .process-step,
    .tech-grid .tech-item,
    .tech-section-content .tech-item,
    .tech-logo-spinner::before,
    .tech-logo-spinner::after,
    .tech-logo-spinner img,
    .tech-logo-wrapper::before,
    .tech-logo-wrapper::after {
        transition: none;
        animation: none;
    }
}

.faq-question:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}
