/**
 * MundoPhone - Estilos Personalizados
 * 
 * Este archivo complementa Tailwind CSS con animaciones,
 * transiciones y estilos específicos de la web.
 */

/* ============================================
   BASE STYLES
   ============================================ */

/* Scroll suave global */
html {
    scroll-behavior: smooth;
}

/* Selección de texto */
::selection {
    background-color: rgba(6, 182, 212, 0.3);
    color: #1f2937;
}

/* Focus visible para accesibilidad */
:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #0891b2);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #f1f5f9;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Pulse suave */
@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Bounce suave */
@keyframes bounce-soft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-soft {
    animation: bounce-soft 2s ease-in-out infinite;
}

/* Spin para loading */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

/* Navbar brand subtitle */
.navbar-subtitle {
    font-size: 0.65rem;
}

@media (min-width: 1024px) {
    .navbar-subtitle {
        font-size: 0.7rem;
    }
}

/* Header scroll effect */
#main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#main-header.scrolled nav {
    background-color: rgba(17, 24, 39, 0.98);
}

/* ============================================
   NAVIGATION DROPDOWN
   ============================================ */

/* Dropdown container */
.nav-dropdown-trigger {
    position: relative;
}

/* Dropdown panel - hidden by default */
.nav-dropdown-trigger .nav-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    padding-top: 0.5rem; /* Padding instead of margin to keep hover area connected */
    background: transparent; /* Evitar fondo visible en el área de padding */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    overflow: visible; /* Permitir que submenús se muestren fuera */
    z-index: 50;
}

/* Inner container for visual styling */
.nav-dropdown-trigger .nav-dropdown-inner {
    background: rgb(17 24 39); /* bg-dark-900 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden; /* Mantener hidden para bordes limpios, pero los elementos internos manejan sus propios bordes */
}

/* Dropdown visible on hover */
.nav-dropdown-trigger:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Rotate chevron on hover */
.nav-dropdown-trigger:hover > button .nav-dropdown-chevron {
    transform: rotate(180deg);
}

/* Dropdown item hover effect */
.nav-dropdown a {
    position: relative;
}

.nav-dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-dropdown a:hover::before,
.nav-dropdown a.active::before {
    opacity: 1;
}

/* ============================================
   NAVIGATION SUBMENU (Segundo Nivel)
   ============================================ */

/* Contenedor del trigger con submenú */
.nav-submenu-trigger {
    position: relative;
    /* Asegurar que el trigger siempre tenga pointer-events */
    pointer-events: auto;
    width: 100%;
    /* Permitir que el submenú se muestre fuera del contenedor con overflow hidden */
    overflow: visible;
}

/* Área de conexión invisible entre trigger y submenú (solo desktop) */
@media (min-width: 1024px) {
    .nav-submenu-trigger::after {
        content: '';
        position: absolute;
        top: 0;
        right: -16px;
        width: 16px;
        height: 100%;
        z-index: 59;
        pointer-events: auto;
        background: transparent;
    }
}

/* Submenú flyout - oculto por defecto */
.nav-submenu-trigger .nav-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    padding-left: 0.5rem;
    padding-top: 0.75rem;
    margin-top: -0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 60;
    /* Área de hover invisible más grande */
    padding-bottom: 0.75rem;
    margin-bottom: -0.75rem;
}

/* Inner container del submenú */
.nav-submenu-trigger .nav-submenu-inner {
    background: rgb(17 24 39); /* bg-dark-900 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    min-width: 200px;
    overflow: hidden;
}

/* Submenú visible en hover (desktop) */
@media (min-width: 1024px) {
    /* Mostrar cuando el trigger tiene hover o cuando el submenú tiene hover */
    .nav-submenu-trigger:hover .nav-submenu,
    .nav-submenu-trigger:focus-within .nav-submenu,
    .nav-submenu-trigger .nav-submenu:hover {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }
    
    /* Asegurar que el submenú tenga pointer-events cuando está visible */
    .nav-submenu-trigger:hover .nav-submenu *,
    .nav-submenu-trigger .nav-submenu:hover * {
        pointer-events: auto;
    }
}

/* Submenú visible en móvil cuando está abierto */
.nav-submenu-trigger.is-open .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    position: static;
    padding-left: 0;
    margin-top: 0.5rem;
    margin-left: 1rem;
}

/* Rotación del chevron en móvil cuando está abierto */
.nav-submenu-trigger.is-open .nav-submenu-toggle svg:last-child,
.nav-submenu-trigger.is-open button.nav-submenu-toggle svg:last-child {
    transform: rotate(90deg);
}

/* Hover effect en items del submenú */
.nav-submenu a {
    position: relative;
}

.nav-submenu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-submenu a:hover::before,
.nav-submenu a.active::before {
    opacity: 1;
}

/* Glow sutil en hover del submenú */
.nav-submenu a:hover {
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

/* Indicador lateral para el enlace del trigger de submenú (Consola) */
.nav-submenu-trigger > div > a {
    position: relative;
}

.nav-submenu-trigger > div > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-submenu-trigger > div > a:hover::before,
.nav-submenu-trigger > div > a.active::before {
    opacity: 1;
}

/* Asegurar que el submenú no se corte */
.nav-dropdown {
    overflow: visible;
}

/* Permitir overflow visible solo para contenedor que contiene submenú */
/* Regla más específica que la línea 180 para que gane */
.nav-dropdown-trigger .nav-dropdown-inner:has(.nav-submenu-trigger) {
    overflow: visible !important;
}

/* Fallback para navegadores sin soporte :has() - usar regla más específica */
/* Esta regla se aplica al contenedor cuando contiene directamente un trigger de submenú */
.nav-dropdown-trigger .nav-dropdown-inner > .nav-submenu-trigger {
    overflow: visible;
}

/* ============================================
   MOBILE MENU
   ============================================ */

#mobile-menu.active {
    display: block !important;
}

#mobile-menu.active .mobile-menu-overlay {
    opacity: 1;
}

#mobile-menu.active .mobile-menu-panel {
    transform: translateX(0);
}

/* Transiciones del menú mejoradas */
.mobile-menu-overlay {
    transition: opacity 0.35s ease-out;
}

.mobile-menu-panel {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Nav container con touch scrolling mejorado --- */
.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 1rem 5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mobile-menu-nav::-webkit-scrollbar {
    display: none;
}

/* --- Secciones --- */
.mobile-menu-sections {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu-section + .mobile-menu-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.25rem;
}

.mobile-menu-section-items {
    padding: 0.125rem 0;
}

/* --- Section header (TIENDA, SERVICIOS, EMPRESA) --- */
.mobile-menu-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem 0.25rem;
}

.mobile-menu-section-header span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6B7280;
    white-space: nowrap;
}

.mobile-menu-section-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

/* --- Links del menú --- */
.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #D1D5DB;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.mobile-menu-link:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-link .mobile-menu-link-icon {
    color: #4B5563;
    transition: color 0.2s ease;
}

.mobile-menu-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-link.is-active .mobile-menu-link-icon {
    color: var(--accent-400, #22D3EE);
}

/* Mi Reparacion destacado */
.mobile-menu-link--highlight {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #fff;
}

.mobile-menu-link--highlight .mobile-menu-link-icon {
    color: #A78BFA;
}

.mobile-menu-link--highlight:active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(99, 102, 241, 0.25));
}

/* --- Accordion (Consolas submenu) --- */
.mobile-menu-accordion-trigger {
    display: flex;
    align-items: center;
    width: 100%;
}

.mobile-menu-accordion-trigger .mobile-menu-link {
    flex: 1;
    min-width: 0;
}

.mobile-menu-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    color: #9CA3AF;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.mobile-menu-accordion-toggle:active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.mobile-menu-chevron {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-accordion.is-open .mobile-menu-chevron {
    transform: rotate(90deg);
}

.mobile-menu-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
    padding-left: 0.5rem;
}

.mobile-menu-accordion.is-open .mobile-menu-accordion-content {
    max-height: 200px;
}

/* --- Sublinks (PS4, PS5, Xbox) --- */
.mobile-menu-sublink {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9CA3AF;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 40px;
}

.mobile-menu-sublink:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-sublink.is-active {
    color: var(--accent-400, #22D3EE);
}

.mobile-menu-sublink.is-active svg {
    color: var(--accent-400, #22D3EE);
}

.mobile-menu-sublink svg {
    color: #4B5563;
}

/* --- Animación por secciones (4 secciones en vez de 14 items) --- */
#mobile-menu.active .mobile-menu-section {
    animation: slideInRight 0.4s ease-out forwards;
    opacity: 0;
}

#mobile-menu.active .mobile-menu-section:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.active .mobile-menu-section:nth-child(2) { animation-delay: 0.12s; }
#mobile-menu.active .mobile-menu-section:nth-child(3) { animation-delay: 0.19s; }
#mobile-menu.active .mobile-menu-section:nth-child(4) { animation-delay: 0.26s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   BUTTONS & INTERACTIONS
   ============================================ */

/* Efecto ripple para botones */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ============================================
   FORMS
   ============================================ */

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Error state */
input.error,
textarea.error,
select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Success state */
input.success,
textarea.success,
select.success {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Form error message */
.form-error {
    display: block;
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

.form-error.hidden {
    display: none;
}

/* ============================================
   FORM MESSAGE STATES
   ============================================ */

#form-message.success,
#repair-form-message.success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

#form-message.success .message-icon,
#repair-form-message.success .message-icon {
    color: #10b981;
}

#form-message.error,
#repair-form-message.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

#form-message.error .message-icon,
#repair-form-message.error .message-icon {
    color: #ef4444;
}

/* Modal open - prevent body scroll (para otros modales como contacto) */
body.modal-open {
    overflow: hidden;
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   DETAILS/SUMMARY (FAQ)
   ============================================ */

details summary::-webkit-details-marker {
    display: none;
}

details summary {
    list-style: none;
}

details[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* ============================================
   TIMELINE (PROCESS PAGE)
   ============================================ */

@media (max-width: 1023px) {
    .timeline-line {
        left: 2rem;
    }
}

/* ============================================
   LOADING STATES
   ============================================ */

/* Button loading state */
button[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

button .btn-spinner {
    display: none;
}

button.loading .btn-text {
    opacity: 0.5;
}

button.loading .btn-spinner {
    display: inline-block;
}

/* ============================================
   UTILITIES
   ============================================ */

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background gradient animation */
.bg-gradient-animated {
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

/* Hide scrollbar on mobile menu when open */
body.menu-open {
    overflow: hidden;
}

/* Improve tap targets on mobile - only for nav and interactive elements */
@media (max-width: 768px) {
    nav a, nav button,
    .bottom-nav-item,
    #mobile-menu a,
    #mobile-menu button {
        min-height: 44px;
    }
}

/* ============================================
   BRANDS CAROUSEL
   ============================================ */

.brands-carousel {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0); /* Fuerza aceleración GPU */
}

/* Estilos para logos SVG en el carrusel */
.brand-logo-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: auto;
}

.brand-logo-svg svg {
    height: 32px !important;
    width: auto !important;
    max-width: 120px !important;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 32px)); /* Ajuste por medio gap para loop perfecto */
    }
}

.animate-scroll {
    animation: scroll 25s linear infinite;
    transform-style: preserve-3d;
}

.brands-carousel:hover .animate-scroll {
    animation-play-state: paused;
}

/* ============================================
   FOOTER PREMIUM
   ============================================ */

/* Animación del gradiente horizontal (separador superior) */
@keyframes gradient-x {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient-x {
    animation: gradient-x 3s ease infinite;
}

/* ============================================
   FOOTER PREMIUM RESPONSIVE
   ============================================ */

.footer-premium {
    background: #0a0a0a;
}

/* Badges Container - Scroll horizontal en móvil */
.footer-badges-container {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
}

.footer-badges-container::-webkit-scrollbar {
    display: none;
}

/* Badge compacto */
.footer-badge-compact {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.625rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    min-width: max-content;
    transition: all 0.2s ease;
}

.footer-badge-compact:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-badge-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-badge-text {
    display: flex;
    flex-direction: column;
}

.footer-badge-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.footer-badge-label {
    font-size: 0.6875rem;
    color: #6b7280;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Footer Grid - Responsive */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.footer-company {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.2fr;
        gap: 3rem;
    }

    .footer-company {
        grid-column: span 1;
    }

    .footer-badges-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow: visible;
    }

    .footer-badge-compact {
        min-width: 0;
    }
}

/* Footer Section */
.footer-section {
    min-width: 0;
}

.footer-title {
    display: flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Collapsible footer sections (mobile) */
.footer-collapsible {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.5rem;
}

.footer-title-toggle {
    cursor: pointer;
    list-style: none;
    user-select: none;
    justify-content: space-between;
    padding: 0.5rem 0;
    margin-bottom: 0;
    -webkit-tap-highlight-color: transparent;
}

.footer-title-toggle::-webkit-details-marker {
    display: none;
}

.footer-chevron {
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.footer-collapsible[open] .footer-chevron {
    transform: rotate(180deg);
}

.footer-collapsible .footer-links,
.footer-collapsible .footer-contact {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* Desktop: always open, no toggle behavior */
@media (min-width: 1024px) {
    .footer-title {
        font-size: 0.875rem;
        color: #fff;
        margin-bottom: 1rem;
        letter-spacing: 0.05em;
    }

    .footer-collapsible {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-collapsible .footer-links,
    .footer-collapsible .footer-contact {
        display: flex !important;
        padding-top: 0;
        padding-bottom: 0;
    }

    .footer-title-toggle {
        cursor: default;
        pointer-events: none;
        padding: 0;
        margin-bottom: 1rem;
    }

    .footer-chevron {
        display: none;
    }
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.footer-links li a {
    display: block;
    color: #9ca3af;
    font-size: 0.8125rem;
    padding: 0.125rem 0;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: #fff;
}

@media (min-width: 1024px) {
    .footer-links {
        gap: 0.5rem;
    }

    .footer-links li a {
        font-size: 0.875rem;
        padding: 0.25rem 0;
    }
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

@media (min-width: 1024px) {
    .footer-contact {
        gap: 0.75rem;
    }

    .footer-contact li {
        gap: 0.625rem;
        font-size: 0.875rem;
    }
}

/* WhatsApp Button */
.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.footer-whatsapp-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
}

/* Social Buttons */
.footer-social-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.375rem;
    color: #6b7280;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer-social-btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    color: #4b5563 !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.footer-social-btn-disabled:hover {
    background: rgba(255, 255, 255, 0.02) !important;
    color: #4b5563 !important;
}

/* Bottom Bar */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1023px) {
    .footer-bottom {
        padding-bottom: 72px; /* Space for mobile bottom nav (64px + 8px gap) */
    }
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.375rem;
}

.footer-legal a,
.footer-legal button {
    color: #6b7280;
    font-size: 0.75rem;
    padding: 0.25rem 0.375rem;
    border-radius: 0.25rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-legal a:hover,
.footer-legal button:hover {
    color: #d1d5db;
}

.footer-legal span {
    color: #374151;
    font-size: 0.75rem;
}

/* Hide dot separators on very small screens to avoid messy wrapping */
@media (max-width: 374px) {
    .footer-legal span {
        display: none;
    }
    .footer-legal {
        gap: 0.125rem 0.5rem;
    }
}

@media (min-width: 768px) {
    .footer-legal {
        justify-content: flex-end;
    }
}

/* ============================================
   CONTACT SUCCESS MODAL
   ============================================ */

/* Modal activo - debe sobrescribir la clase hidden de Tailwind */
/* Asegurar que esté centrado correctamente */
#contact-success-modal.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Backdrop - seleccionar el primer div hijo que tiene las clases absolute inset-0 */
#contact-success-modal.active > div.absolute {
    opacity: 1 !important;
}

/* Panel del modal - contenedor flex - asegurar que esté centrado */
#contact-success-modal.active > div.flex {
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 100% !important;
}

/* Panel del modal - contenido */
#contact-success-modal.active .relative.w-full.max-w-md {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Checkmark animado SVG - estilos base */
.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #22c55e;
    stroke-miterlimit: 10;
}

.success-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #22c55e;
    fill: none;
}

.success-checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Animaciones del checkmark cuando el modal está activo */
#contact-success-modal.active .success-checkmark-circle {
    animation: stroke-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

#contact-success-modal.active .success-checkmark-check {
    animation: stroke-check 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

#contact-success-modal.active .success-checkmark {
    animation: fill-green 0.4s ease-in-out 0.6s forwards, scale-check 0.3s ease-in-out 0.9s both;
}

/* Keyframes para animaciones del checkmark */
@keyframes stroke-circle {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes stroke-check {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fill-green {
    100% {
        box-shadow: inset 0 0 0 60px rgba(34, 197, 94, 0.1);
    }
}

@keyframes scale-check {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

/* ============================================
   CONTACT ERROR MODAL
   ============================================ */

/* Modal de error activo - debe sobrescribir la clase hidden de Tailwind */
#contact-error-modal.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Backdrop del modal de error */
#contact-error-modal.active > div.absolute {
    opacity: 1 !important;
}

/* Panel del modal de error - contenedor flex */
#contact-error-modal.active > div.flex {
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 100% !important;
}

/* Panel del modal de error - contenido */
#contact-error-modal.active .relative.w-full.max-w-md {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* ============================================
   REPAIR ERROR MODAL
   ============================================ */

/* Modal de error activo - debe sobrescribir la clase hidden de Tailwind */
#repair-error-modal.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Backdrop del modal de error */
#repair-error-modal.active > div.absolute {
    opacity: 1 !important;
}

/* Panel del modal de error - contenedor flex */
#repair-error-modal.active > div.flex {
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 100% !important;
}

/* Panel del modal de error - contenido */
#repair-error-modal.active .relative.w-full.max-w-md {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* ============================================
   REPAIR SUCCESS MODAL
   ============================================ */

/* Modal activo - debe sobrescribir la clase hidden de Tailwind */
/* Asegurar que esté centrado correctamente */
#repair-success-modal.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Backdrop - seleccionar el primer div hijo que tiene las clases absolute inset-0 */
#repair-success-modal.active > div.absolute {
    opacity: 1 !important;
}

/* Panel del modal - contenedor flex - asegurar que esté centrado */
#repair-success-modal.active > div.flex {
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 100% !important;
}

/* Panel del modal - contenido */
#repair-success-modal.active .relative.w-full.max-w-md {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Reutilizar animaciones existentes del modal de contacto */
#repair-success-modal.active .success-checkmark-circle {
    animation: stroke-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

#repair-success-modal.active .success-checkmark-check {
    animation: stroke-check 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

#repair-success-modal.active .success-checkmark {
    animation: fill-green 0.4s ease-in-out 0.6s forwards, scale-check 0.3s ease-in-out 0.9s both;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    header, footer, #mobile-menu, .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .page-break {
        page-break-before: always;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    --testimonial-bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    background: var(--testimonial-bg);
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.3), transparent);
}

/* Decorative elements */
.testimonials-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.testimonials-decor-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    top: -100px;
    right: -100px;
}

.testimonials-decor-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #38bdf8, #34d399);
    bottom: -50px;
    left: -50px;
}

/* Slider Container */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
    padding: 1rem;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Card Styles - Solo para el slider del homepage */
.testimonials-track .testimonial-card {
    flex-shrink: 0;
    width: calc(100% - 2rem);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (min-width: 640px) {
    .testimonials-track .testimonial-card {
        width: calc((100% - 1.5rem) / 2);
    }
}

@media (min-width: 1024px) {
    .testimonials-track .testimonial-card {
        width: calc((100% - 3rem) / 3);
    }
}

.testimonial-card-inner {
    height: 100%;
    background: white;
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #a855f7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover .testimonial-card-inner {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.2);
}

.testimonial-card:hover .testimonial-card-inner::before {
    transform: scaleX(1);
}

/* Quote icon */
.testimonial-quote {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    color: rgba(79, 70, 229, 0.1);
    transition: color 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.testimonial-card:hover .testimonial-quote {
    color: rgba(79, 70, 229, 0.2);
}

/* Stars */
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-star {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.2s ease;
}

.testimonial-star.filled {
    color: #f59e0b;
}

.testimonial-star.empty {
    color: #e5e7eb;
}

.testimonial-card:hover .testimonial-star {
    transform: scale(1.1);
}

/* Text */
.testimonial-text {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 12px -2px rgba(79, 70, 229, 0.4);
}

.testimonial-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9375rem;
}

.testimonial-meta {
    font-size: 0.8125rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Google Badge */
.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    background: linear-gradient(135deg, #ea4335 0%, #fbbc05 50%, #34a853 100%);
    background-size: 200% 100%;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.google-badge svg {
    width: 0.75rem;
    height: 0.75rem;
}

/* Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 10;
}

.testimonials-nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.testimonials-nav-btn:hover {
    background: #4f46e5;
    border-color: #4f46e5;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.testimonials-nav-btn:active {
    transform: scale(0.95);
}

.testimonials-nav-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Progress indicator */
.testimonials-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonials-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonials-dot:hover {
    background: #94a3b8;
}

.testimonials-dot.active {
    width: 2rem;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

/* Google link */
.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-reviews-link:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.google-reviews-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Add Review link */
.add-review-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.add-review-link:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    color: white;
}

.add-review-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Pause indicator */
.testimonials-pause-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    color: white;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 5;
}

.testimonials-pause-indicator.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---- Testimonios: rediseño móvil ---- */
@media (max-width: 639px) {

    .testimonials-section {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }

    /* Header compacto */
    .testimonials-section .text-center.mb-12 {
        margin-bottom: 1.5rem;
    }

    .testimonials-section .text-center.mb-12 h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .testimonials-section .text-center.mb-12 p {
        font-size: 0.875rem;
    }

    .testimonials-section .text-center.mb-12 span:first-child {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: 0.5rem;
    }

    /* Slider */
    .testimonials-slider {
        margin: 0 -0.5rem;
        padding: 0.5rem;
    }

    .testimonials-track {
        gap: 0.75rem;
    }

    .testimonials-track .testimonial-card {
        width: calc(100% - 0.5rem);
    }

    /* Tarjeta */
    .testimonial-card-inner {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .testimonial-quote {
        width: 1.75rem;
        height: 1.75rem;
        top: 1rem;
        right: 1rem;
    }

    .testimonial-stars {
        margin-bottom: 0.75rem;
        gap: 0.125rem;
    }

    .testimonial-star {
        width: 0.875rem;
        height: 0.875rem;
    }

    .testimonial-text {
        font-size: 0.8125rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        -webkit-line-clamp: 3;
    }

    .testimonial-author {
        gap: 0.625rem;
        padding-top: 0.75rem;
    }

    .testimonial-avatar {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
    }

    .testimonial-name {
        font-size: 0.8125rem;
    }

    .testimonial-meta {
        font-size: 0.6875rem;
    }

    /* ---- Navegación: barra de progreso ---- */
    .testimonials-nav {
        margin-top: 0.75rem;
        gap: 0;
        justify-content: center;
    }

    .testimonials-nav-btn {
        display: none;
    }

    .testimonials-progress {
        position: relative;
        width: 48px;
        height: 3px;
        background: rgba(0, 0, 0, 0.08);
        border-radius: 1.5px;
        overflow: hidden;
        gap: 0;
    }

    .testimonials-progress::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: linear-gradient(90deg, #4f46e5, #7c3aed);
        border-radius: 1.5px;
        transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        width: var(--progress, 10%);
    }

    .testimonials-dot {
        display: none;
    }

    /* ---- CTA: botones en línea, touch-friendly (min 44px) ---- */
    .testimonials-section .flex.flex-col.sm\:flex-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        align-items: stretch;
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .testimonials-section .flex.flex-col.sm\:flex-row > a,
    .testimonials-section .add-review-link,
    .testimonials-section .google-reviews-link {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        padding: 0.625rem 0.75rem !important;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        border-radius: 0.625rem !important;
        white-space: nowrap;
        min-height: 2.5rem;
        min-width: 0;
        flex: 1 1 0;
        transition: all 0.2s ease;
    }

    /* Ocultar iconos grandes, mostrar solo los pequeños inline */
    .testimonials-section .flex.flex-col.sm\:flex-row > a svg {
        display: none;
    }

    /* Opiniones — botón principal */
    .testimonials-section .flex.flex-col.sm\:flex-row > a:first-child {
        background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3) !important;
    }

    /* Añadir Reseña — botón secundario */
    .testimonials-section .add-review-link {
        background: rgba(245, 158, 11, 0.1) !important;
        color: #b45309 !important;
        border: 1px solid rgba(245, 158, 11, 0.25) !important;
        box-shadow: none !important;
    }

    .testimonials-section .add-review-link::before,
    .testimonials-section .google-reviews-link::before {
        display: none;
    }

    /* Ver en Google — botón terciario */
    .testimonials-section .google-reviews-link {
        background: rgba(0, 0, 0, 0.03) !important;
        color: #64748b !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: none !important;
    }

    /* Decoración sutil */
    .testimonials-decor-1 {
        width: 200px;
        height: 200px;
        opacity: 0.2;
    }

    .testimonials-decor-2 {
        width: 150px;
        height: 150px;
        opacity: 0.2;
    }
}

/* Testimonials Animations */
.testimonials-animate {
    opacity: 0;
    transform: translateY(1.5rem);
}

.testimonials-animate.animate-in {
    animation: testimonialsSlideUp 0.6s ease forwards;
}

@keyframes testimonialsSlideUp {
    from {
        opacity: 0;
        transform: translateY(1.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials-animate-delay-1 { animation-delay: 0.1s; }
.testimonials-animate-delay-2 { animation-delay: 0.2s; }
.testimonials-animate-delay-3 { animation-delay: 0.3s; }

/* ============================================
   SCROLL ANIMATIONS (Intersection Observer)
   ============================================ */

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-delay-1 { transition-delay: 0.1s; }
.scroll-animate-delay-2 { transition-delay: 0.2s; }
.scroll-animate-delay-3 { transition-delay: 0.3s; }
.scroll-animate-delay-4 { transition-delay: 0.4s; }

/* ============================================
   BEFORE/AFTER GALLERY (Touch Support)
   ============================================ */

.home-ba-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.home-ba-before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.home-ba-after-wrapper {
    position: absolute;
    inset: 0;
    width: 0;
    overflow: hidden;
    z-index: 2;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover en desktop */
@media (hover: hover) {
    .home-ba-container:hover .home-ba-after-wrapper {
        width: 100%;
    }
}

/* Touch active state para mobile */
.home-ba-container.touch-active .home-ba-after-wrapper {
    width: 100%;
}

.home-ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-ba-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.home-ba-badge-before {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.home-ba-badge-after {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    opacity: 0;
}

/* Hover en desktop */
@media (hover: hover) {
    .home-ba-container:hover .home-ba-badge-before {
        opacity: 0;
    }
    .home-ba-container:hover .home-ba-badge-after {
        opacity: 1;
    }
}

/* Touch active state para mobile */
.home-ba-container.touch-active .home-ba-badge-before {
    opacity: 0;
}

.home-ba-container.touch-active .home-ba-badge-after {
    opacity: 1;
}

/* Instrucción de toque en móvil */
.home-ba-touch-hint {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.65rem;
    border-radius: 9999px;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@media (hover: hover) {
    .home-ba-touch-hint {
        display: none;
    }
}

.home-ba-container.touched .home-ba-touch-hint {
    opacity: 0;
}

/* ============================================
   HERO SLIDER
   ============================================ */

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.hero-slider-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-slider-dot.active {
    background: white;
    width: 1.5rem;
    border-radius: 9999px;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

#scroll-top-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1rem;
    z-index: 80;
    width: 3rem;
    height: 3rem;
    background: rgba(31, 41, 55, 0.9);
    color: white;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    cursor: pointer;
    border: none;
}

#scroll-top-btn:hover {
    background: rgb(17, 24, 39);
    transform: translateY(-2px);
}

#scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-top-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

@media (min-width: 1024px) {
    #scroll-top-btn {
        right: 1.5rem;
    }
}

/* ============================================
   HERO PROMOTIONS SLIDER
   ============================================ */

#hero-slider {
    position: relative;
}

#hero-slider:hover .promo-prev,
#hero-slider:hover .promo-next {
    opacity: 1;
}

.promo-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.promo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.promo-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.promo-slide img {
    transition: transform 8s ease-out;
}

.promo-slide.active img {
    transform: scale(1.05);
}

/* Múltiples imágenes de fondo con rotación */
.promo-backgrounds-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.promo-background-image {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.promo-background-image.active {
    opacity: 1;
    z-index: 1;
}

/* Navigation dots */
.promo-slider-dots {
    z-index: 20;
}

.promo-dot {
    cursor: pointer;
}

.promo-dot.active {
    background: white;
    width: 1.5rem;
}

/* Navigation arrows */
.promo-prev,
.promo-next {
    transition: all 0.3s ease;
}

.promo-prev:hover,
.promo-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Countdown timer */
.promo-countdown {
    animation: countdown-pulse 1s ease-in-out infinite;
}

@keyframes countdown-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Template: Split - responsive */
@media (max-width: 1023px) {
    .promo-slide[data-template="split"] > div > div:first-child {
        grid-column: 1 / -1;
        background: rgba(0, 0, 0, 0.8) !important;
    }
}

/* Responsive text sizes */
@media (max-width: 640px) {
    .promo-slide h2 {
        font-size: 1.75rem !important;
    }
    
    .promo-countdown > div {
        padding: 0.5rem;
        min-width: 55px;
    }
    
    .promo-countdown .countdown-days,
    .promo-countdown .countdown-hours,
    .promo-countdown .countdown-mins,
    .promo-countdown .countdown-secs {
        font-size: 1.25rem !important;
    }
}

/* ============================================
   SERVICE CARDS REDESIGN
   ============================================ */

.service-card-new {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-accent, linear-gradient(90deg, #3b82f6, #06b6d4));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.service-card-new:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: transform 0.4s ease;
}

.service-card-new:hover .service-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 1.25rem;
    background: inherit;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

.service-card-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

/* Icon color variants */
.service-card-icon.mobile {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.service-card-icon.computer {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.service-card-icon.playstation {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.service-card-icon.solder {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.service-card-description {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-card-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #475569;
    transition: all 0.2s ease;
}

.service-card-new:hover .service-card-feature {
    background: #e2e8f0;
}

.service-card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-card-new:hover .service-card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--card-accent-solid, #3b82f6);
    color: white;
}

/* ============================================
   SERVICES GLASSMORPHISM
   ============================================ */

/* Section Container */
.services-glass-section {
    background: #ffffff;
}

/* Services Grid with staggered animation */
.services-glass-grid {
    perspective: 1000px;
}

/* Glass Card Link */
.service-glass-link {
    display: flex;
    text-decoration: none;
    transform-style: preserve-3d;
    height: 100%;
}

/* Glass Card */
.service-glass-card {
    position: relative;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.75rem;
    padding-bottom: 4rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 300px;
    
    /* Entry animation */
    opacity: 0;
    transform: translateY(40px);
    animation: serviceGlassEntry 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Staggered entry delays */
.service-glass-link:nth-child(1) .service-glass-card { animation-delay: 0.1s; }
.service-glass-link:nth-child(2) .service-glass-card { animation-delay: 0.2s; }
.service-glass-link:nth-child(3) .service-glass-card { animation-delay: 0.3s; }
.service-glass-link:nth-child(4) .service-glass-card { animation-delay: 0.4s; }

@keyframes serviceGlassEntry {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient line at top */
.service-glass-gradient-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.5s ease;
}

/* Hover Effects - 3D Transform */
.service-glass-link:hover .service-glass-card {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px -10px rgba(var(--card-accent-rgb), 0.2),
        0 0 0 1px rgba(var(--card-accent-rgb), 0.15);
    border-color: rgba(var(--card-accent-rgb), 0.3);
    z-index: 10;
}

.service-glass-link:hover .service-glass-gradient-line {
    opacity: 1;
    transform: scaleX(1);
}

/* Glass Icon */
.service-glass-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.service-glass-link:hover .service-glass-icon {
    transform: scale(1.15) rotate(-5deg) translateZ(20px);
}

/* Icon glow effect */
.service-glass-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 1.25rem;
    background: inherit;
    opacity: 0;
    filter: blur(12px);
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-glass-link:hover .service-glass-icon::before {
    opacity: 0.5;
}

.service-glass-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.service-glass-link:hover .service-glass-icon svg {
    transform: scale(1.1);
}

/* Icon color variants */
.service-glass-icon.mobile {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    box-shadow: 0 4px 15px -3px rgba(59, 130, 246, 0.4);
}

.service-glass-icon.computer {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    box-shadow: 0 4px 15px -3px rgba(139, 92, 246, 0.4);
}

.service-glass-icon.playstation {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 4px 15px -3px rgba(37, 99, 235, 0.4);
}

.service-glass-icon.solder {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 4px 15px -3px rgba(245, 158, 11, 0.4);
}

/* Glass Title */
.service-glass-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-glass-link:hover .service-glass-title {
    color: var(--card-accent);
}

/* Glass Description */
.service-glass-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Glass Features */
.service-glass-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.service-glass-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: rgba(var(--card-accent-rgb), 0.08);
    border: 1px solid rgba(var(--card-accent-rgb), 0.15);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--card-accent);
    transition: all 0.3s ease;
}

.service-glass-feature::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--card-accent);
    flex-shrink: 0;
}

.service-glass-link:hover .service-glass-feature {
    background: rgba(var(--card-accent-rgb), 0.15);
    border-color: rgba(var(--card-accent-rgb), 0.3);
    transform: translateY(-1px);
}

.service-glass-link:hover .service-glass-feature:nth-child(1) {
    transition-delay: 0.05s;
}
.service-glass-link:hover .service-glass-feature:nth-child(2) {
    transition-delay: 0.1s;
}
.service-glass-link:hover .service-glass-feature:nth-child(3) {
    transition-delay: 0.15s;
}

/* Glass Arrow */
.service-glass-arrow {
    position: absolute;
    bottom: 1.25rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.service-glass-link:hover .service-glass-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--card-accent);
    border-color: var(--card-accent);
    color: white;
}

.service-glass-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.service-glass-link:hover .service-glass-arrow svg {
    transform: translateX(2px);
}

/* CTA Button Style */
.services-glass-cta {
    background: transparent;
    border: none;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.services-glass-cta:hover {
    color: #2563eb;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .service-glass-card {
        padding: 1.5rem;
        padding-bottom: 4rem;
        min-height: 280px;
    }
    
    .service-glass-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .service-glass-icon svg {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .service-glass-arrow {
        width: 2.25rem;
        height: 2.25rem;
        bottom: 1rem;
        right: 1.25rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .services-mesh-blob {
        animation: none;
    }

    .service-glass-card {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .service-glass-link:hover .service-glass-card {
        transform: translateY(-4px);
    }

    .service-glass-link:hover .service-glass-arrow svg {
        animation: none;
    }
}

/* ============================================
   HERO GLASSMORPHISM REDESIGN
   ============================================ */

/* CSS Variables for Glass Effect */
:root {
    --glass-bg: rgba(15, 23, 42, 0.58);
    --glass-bg-strong: rgba(15, 23, 42, 0.72);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-strong: rgba(255, 255, 255, 0.16);
    --glass-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --glass-blur: blur(10px);
    --glass-blur-strong: blur(14px);
    --glow-primary: rgba(59, 130, 246, 0.25);
}

/* Hero Container - New Height */
#hero-slider {
    position: relative;
    height: 62vh;
    min-height: 420px;
    max-height: 640px;
    overflow: hidden;
}

/* Particles Layer */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--particle-color, rgba(255,255,255,0.3)) 0%, transparent 70%);
    animation: particleFloat var(--duration, 20s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: var(--opacity, 0.4);
}

/* Particle Sizes */
.hero-particle.sm {
    width: 4px;
    height: 4px;
}

.hero-particle.md {
    width: 8px;
    height: 8px;
}

.hero-particle.lg {
    width: 16px;
    height: 16px;
}

.hero-particle.xl {
    width: 32px;
    height: 32px;
    filter: blur(2px);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: var(--opacity, 0.4);
    }
    25% {
        transform: translate(var(--x1, 20px), var(--y1, -30px)) scale(1.1);
        opacity: calc(var(--opacity, 0.4) * 1.2);
    }
    50% {
        transform: translate(var(--x2, -15px), var(--y2, -60px)) scale(0.9);
        opacity: var(--opacity, 0.4);
    }
    75% {
        transform: translate(var(--x3, 25px), var(--y3, -20px)) scale(1.05);
        opacity: calc(var(--opacity, 0.4) * 0.8);
    }
}

/* Glow Orbs - Decorative Light Effects */
.hero-glow-orbs {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbPulse 8s ease-in-out infinite;
}

.hero-glow-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color, #3b82f6);
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.hero-glow-orb.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color, #06b6d4);
    bottom: -100px;
    right: -50px;
    animation-delay: -4s;
}

.hero-glow-orb.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-color, #8b5cf6);
    top: 50%;
    right: 20%;
    animation-delay: -2s;
}

@keyframes orbPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* Glass Card Base Styles */
.hero-glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.hero-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.hero-glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.2) 65%);
    pointer-events: none;
}

/* Glass Card Strong Variant */
.hero-glass-card-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
    border: 1px solid var(--glass-border-strong);
}

/* Glass Badge */
.hero-glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-glass-badge.accent {
    background: linear-gradient(135deg, var(--accent-color, #3b82f6), color-mix(in srgb, var(--accent-color, #3b82f6), #000 20%));
    border-color: transparent;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color, #3b82f6), transparent 60%);
}

/* Hero Title Styles */
.hero-title {
    font-size: clamp(2.25rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-description {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.65;
    opacity: 0.86;
    max-width: 42ch;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

/* Slide Content Animations */
.promo-slide.active .hero-glass-card {
    animation: glassReveal 0.8s ease-out forwards;
}

.promo-slide.active .hero-glass-badge {
    animation: badgeSlideIn 0.6s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(-10px);
}

.promo-slide.active .hero-title {
    animation: titleReveal 0.7s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.promo-slide.active .hero-description {
    animation: descReveal 0.7s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.promo-slide.active .hero-cta-wrapper {
    animation: ctaReveal 0.6s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes glassReveal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        backdrop-filter: var(--glass-blur);
    }
}

@keyframes badgeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes descReveal {
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes ctaReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Template: Classic Left - Glass */
.promo-template-classic .hero-glass-card {
    max-width: 520px;
    padding: 2.25rem;
}

@media (min-width: 1024px) {
    .promo-template-classic .hero-glass-card {
        padding: 3rem;
    }
}

/* Template: Centered - Glass */
.promo-template-centered {
    text-align: center;
}

.promo-template-centered .hero-glass-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.promo-template-centered .hero-description {
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .promo-template-centered .hero-glass-card {
        padding: 3.5rem 4rem;
    }
}

/* Template: Split - Glass */
.promo-template-split {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .promo-template-split {
        grid-template-columns: 1fr 1fr;
    }
}

.promo-template-split .hero-glass-card {
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@media (min-width: 1024px) {
    .promo-template-split .hero-glass-card {
        padding: 3rem 4rem;
        border-radius: 0 2rem 2rem 0;
    }
}

.promo-template-split .split-divider {
    display: none;
}

@media (min-width: 1024px) {
    .promo-template-split .split-divider {
        display: block;
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3), transparent);
        z-index: 5;
    }
}

/* Template: Minimal - Glass */
.promo-template-minimal {
    text-align: center;
}

.promo-template-minimal .hero-glass-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.65);
}

.promo-template-minimal .minimal-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.promo-template-minimal .minimal-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Template: Countdown - Glass */
.promo-template-countdown {
    text-align: center;
}

.promo-template-countdown .hero-glass-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.countdown-glass-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .countdown-glass-wrapper {
        gap: 1rem;
    }
}

.countdown-glass-item {
    min-width: 70px;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.countdown-glass-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.countdown-glass-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.countdown-glass-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .countdown-glass-number {
        font-size: 2.5rem;
    }
}

.countdown-glass-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

/* Seconds pulse animation */
.countdown-glass-item.seconds {
    animation: secondsPulse 1s ease-in-out infinite;
}

@keyframes secondsPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 30px var(--glow-primary, rgba(59, 130, 246, 0.4));
    }
}

/* Navigation Glass Styles */
.promo-nav-glass {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
}

.promo-dot.promo-dot-glass {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.promo-dot.promo-dot-glass:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.promo-dot.promo-dot-glass.active {
    width: 24px;
    border-radius: 9999px;
    background: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Arrow Buttons Glass */
.promo-arrow-glass {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

#hero-slider:hover .promo-arrow-glass {
    opacity: 1;
}

.promo-arrow-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.promo-arrow-glass.prev {
    left: 1rem;
}

.promo-arrow-glass.next {
    right: 1rem;
}

@media (min-width: 1024px) {
    .promo-arrow-glass.prev {
        left: 1.5rem;
    }
    .promo-arrow-glass.next {
        right: 1.5rem;
    }
}

/* CTA Button Glass Premium */
.hero-cta-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.hero-cta-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-cta-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero-cta-glass svg {
    transition: transform 0.3s ease;
}

.hero-cta-glass:hover svg {
    transform: translateX(4px);
}

/* CTA Solid Accent Version */
.hero-cta-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-color, #3b82f6);
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--accent-color, #3b82f6), transparent 50%);
}

.hero-cta-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-cta-accent:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px color-mix(in srgb, var(--accent-color, #3b82f6), transparent 40%);
}

.hero-cta-accent svg {
    transition: transform 0.3s ease;
}

.hero-cta-accent:hover svg {
    transform: translateX(4px);
}

/* Hero Fallback Glass */
.hero-fallback-glass {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
}

.hero-fallback-glass .hero-glass-card {
    max-width: 600px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 0 1rem;
}

@media (min-width: 768px) {
    .hero-fallback-glass .hero-glass-card {
        padding: 4rem 3rem;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-glass-card {
        margin: 0 1rem;
        padding: 1.5rem !important;
    }
    
    .promo-arrow-glass {
        width: 40px;
        height: 40px;
    }
    
    .countdown-glass-item {
        min-width: 60px;
        padding: 0.75rem 0.5rem;
    }
}

/* Backdrop-filter fallback for older browsers */
@supports not (backdrop-filter: blur(16px)) {
    .hero-glass-card,
    .hero-glass-badge,
    .promo-nav-glass,
    .promo-arrow-glass,
    .hero-cta-glass,
    .countdown-glass-item {
        background: rgba(0, 0, 0, 0.7);
    }
}

/* ============================================
   PROCESS PAGE - PREMIUM REDESIGN
   ============================================ */

/* Hero Section - Tema Claro */
.process-hero {
    position: relative;
}

/* Badge animado */
.process-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

.process-badge-dot {
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1);
    }
    50% {
        box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.2);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Título con gradiente */
.process-title-gradient {
    background: linear-gradient(135deg, #1f2937 0%, #3b82f6 50%, #06b6d4 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradientShift 5s ease infinite;
}

@keyframes titleGradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Partículas claras para proceso */
.process-particle {
    position: absolute;
    border-radius: 50%;
    animation: processParticleFloat var(--duration, 20s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: var(--opacity, 0.4);
}

.process-particle-sm {
    width: 6px;
    height: 6px;
}

.process-particle-md {
    width: 10px;
    height: 10px;
}

.process-particle-lg {
    width: 16px;
    height: 16px;
    filter: blur(1px);
}

.process-particle-primary {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, transparent 70%);
}

.process-particle-accent {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.6) 0%, transparent 70%);
}

@keyframes processParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(15px, -25px) scale(1.1);
    }
    50% {
        transform: translate(-10px, -50px) scale(0.9);
    }
    75% {
        transform: translate(20px, -15px) scale(1.05);
    }
}

/* Patrón de grid de fondo */
.process-grid-pattern {
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Patrón de puntos */
.process-dots-pattern {
    background-image: radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ============================================
   TIMELINE HORIZONTAL 3D
   ============================================ */

.process-timeline-container {
    position: relative;
    padding: 2rem 0;
}

/* Línea de progreso horizontal */
.process-timeline-line {
    position: absolute;
    top: 3.5rem;
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #3b82f6);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: timelineGlow 4s ease-in-out infinite;
}

.process-timeline-line::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: inherit;
    border-radius: 4px;
    filter: blur(8px);
    opacity: 0.4;
}

@keyframes timelineGlow {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Grid de tarjetas */
.process-timeline-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .process-timeline-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .process-timeline-cards {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
        padding-top: 5rem;
    }
}

/* Wrapper de tarjeta */
.process-card-wrapper {
    position: relative;
    animation-delay: var(--delay, 0s);
}

/* Conector vertical a la línea */
.process-card-connector {
    position: absolute;
    top: -3.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
}

.process-card-connector::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Número flotante */
.process-card-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (min-width: 1024px) {
    .process-card-number {
        top: -1.5rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.125rem;
    }
}

.process-card-wrapper:hover .process-card-number {
    transform: translateX(-50%) scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* Tarjeta 3D */
.process-card-3d {
    perspective: 1000px;
    padding-top: 1.5rem;
}

.process-card-inner {
    position: relative;
    background: white;
    border-radius: 1.25rem;
    padding: 1.75rem 1.25rem 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    overflow: hidden;
}

.process-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-card-wrapper:hover .process-card-inner {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 
        0 25px 50px -12px rgba(59, 130, 246, 0.15),
        0 12px 24px -8px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.process-card-wrapper:hover .process-card-inner::before {
    transform: scaleX(1);
}

/* Icono de tarjeta */
.process-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #3b82f6;
    transition: all 0.4s ease;
}

.process-card-wrapper:hover .process-card-icon {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Textos de tarjeta */
.process-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .process-card-title {
        font-size: 0.9375rem;
    }
}

.process-card-description {
    font-size: 0.8125rem;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
}

@media (min-width: 1024px) {
    .process-card-description {
        font-size: 0.75rem;
    }
}

/* Glow inferior */
.process-card-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.process-card-wrapper:hover .process-card-glow {
    opacity: 1;
}

/* ============================================
   TRUST CARDS - GLASSMORPHISM CLARO
   ============================================ */

.trust-card {
    animation-delay: var(--delay, 0s);
}

.trust-card-inner {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 20px -5px rgba(59, 130, 246, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.trust-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.trust-card:hover .trust-card-inner {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px -10px rgba(59, 130, 246, 0.15),
        0 8px 16px -8px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.trust-card:hover .trust-card-inner::before {
    transform: scaleX(1);
}

.trust-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
}

.trust-card-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 1.25rem;
    background: inherit;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

.trust-card-icon-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.trust-card-icon-accent {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.trust-card:hover .trust-card-icon {
    transform: scale(1.1) rotate(-5deg);
    animation: iconPulse 1s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}

.trust-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.trust-card-description {
    font-size: 0.875rem;
    color: #64748b;
}

/* ============================================
   FAQ MODERNO
   ============================================ */

.faq-container {
    position: relative;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    animation-delay: var(--delay, 0s);
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-item[open] {
    border-color: transparent;
    box-shadow: 
        0 0 0 2px rgba(59, 130, 246, 0.1),
        0 10px 30px -10px rgba(59, 130, 246, 0.15);
}

.faq-item[open]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 1rem 1rem 0 0;
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    background: rgba(59, 130, 246, 0.03);
}

.faq-question {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    padding-right: 1rem;
}

.faq-icon {
    width: 2rem;
    height: 2rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item[open] .faq-icon {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    animation: faqSlideDown 0.3s ease;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9375rem;
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   REPAIR FORM - MODERNIZADO
   ============================================ */

/* Animaciones de entrada escalonadas para tarjetas de beneficios */
.repair-benefit-card {
    opacity: 0;
    transform: translateY(20px);
    animation: repairCardFadeIn 0.6s ease-out forwards;
}

.repair-benefit-card:nth-child(1) { animation-delay: 0.1s; }
.repair-benefit-card:nth-child(2) { animation-delay: 0.2s; }
.repair-benefit-card:nth-child(3) { animation-delay: 0.3s; }
.repair-benefit-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes repairCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inputs con iconos - mejor feedback visual */
.repair-input {
    transition: all 0.3s ease;
}

.repair-input:focus {
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.repair-input.success {
    border-color: #22c55e;
    background: #f0fdf4;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.repair-input.error {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Select con icono de flecha personalizado */
.repair-input[type="select"],
select.repair-input {
    background-image: none;
    padding-right: 2.5rem;
}

/* Animación de entrada para el formulario */
.repair-form-container {
    animation: repairFormFadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes repairFormFadeIn {
    to {
        opacity: 1;
    }
}

/* Hover mejorado en tarjetas de beneficios */
.repair-benefit-card:hover .flex-shrink-0 {
    transform: scale(1.1) rotate(-5deg);
    transition: transform 0.3s ease;
}

/* Responsive: En móvil, columna izquierda arriba, formulario abajo */
@media (max-width: 1023px) {
    .repair-benefit-card {
        animation-delay: 0s !important;
    }
    
    .repair-form-container {
        animation-delay: 0.1s;
    }
}

/* ============================================
   CTA SECTION - PROCESO
   ============================================ */

/* Partículas oscuras */
.process-particle-dark {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: processParticleFloat var(--duration, 20s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: var(--opacity, 0.3);
}

/* Botones CTA */
.cta-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: white;
    color: #1e293b;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -10px rgba(255, 255, 255, 0.3);
}

.cta-button-primary:hover::before {
    opacity: 1;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* ============================================
   ACCESSORIES PAGE - ESTILOS ESPECÍFICOS
   ============================================ */

/* Tabs de categorías */
.category-tab {
    background: white;
    color: #4b5563;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tab:hover {
    background: #f3f4f6;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
}

/* Ocultar scrollbar pero mantener funcionalidad */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animación de entrada para productos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Animación de pulso para el icono de instalación */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Estilos para badges de productos */
.product-badge-hot {
    background: linear-gradient(135deg, #f97316, #dc2626);
    animation: badgePulse 2s ease-in-out infinite;
}

.product-badge-recommended {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mejora de las cards de productos en hover */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Transiciones suaves para imágenes */
.product-card img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradiente animado para botones de productos */
.product-card button {
    position: relative;
    overflow: hidden;
}

.product-card button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.product-card button:hover::before {
    left: 100%;
}

/* Estilos para la galería de instalaciones */
.gallery-image-overlay {
    transition: all 0.3s ease;
}

.gallery-image-overlay:hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Números grandes en ventajas */
.advantage-number {
    font-size: 6rem;
    font-weight: 900;
    opacity: 0.1;
    position: absolute;
    top: 2rem;
    right: 2rem;
    line-height: 1;
}

/* Responsive: ajustes móviles */
@media (max-width: 640px) {
    .category-tab {
        font-size: 0.75rem;
        padding: 0.625rem 1rem;
    }
    
    .advantage-number {
        font-size: 4rem;
    }
}

/* Animación de entrada escalonada para stats del hero */
.hero-stat {
    animation: slideInFromBottom 0.6s ease-out;
    animation-fill-mode: both;
}

.hero-stat:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-stat:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-stat:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pattern tecnológico del hero */
.tech-pattern {
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
}

/* Mejora del mapa embebido */
.map-container iframe {
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* Glassmorphism para elementos destacados */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth scroll snap para tabs en móvil */
@media (max-width: 640px) {
    .tabs-container {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .category-tab {
        scroll-snap-align: start;
    }
}

/* ============================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================ */

/* Contenedor principal */
.bnav {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 60px;
    background: rgba(10, 15, 26, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* Lados izquierdo y derecho */
.bnav-side {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    height: 100%;
}

/* Botones normales (Llamar, WhatsApp, Ubicación, Menú) */
.bnav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    height: 100%;
    padding: 8px 4px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s ease;
}

.bnav-btn:active {
    opacity: 0.6;
}

/* Iconos normales */
.bnav-icon {
    width: 22px;
    height: 22px;
    color: #94a3b8;
    transition: color 0.15s ease;
}

/* Color especial para Llamar */
.bnav-side .bnav-btn:first-child .bnav-icon {
    color: #60a5fa;
}

/* Color especial para WhatsApp */
.bnav-side .bnav-btn:last-child .bnav-icon,
.bnav-side .bnav-btn:nth-child(2) .bnav-icon {
    color: #4ade80;
}

/* Reset color para botones del lado derecho */
.bnav-side:last-child .bnav-btn:first-child .bnav-icon {
    color: #f87171;
}

.bnav-side:last-child .bnav-btn:last-child .bnav-icon {
    color: #94a3b8;
}

/* Texto de botones */
.bnav-text {
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #64748b;
    white-space: nowrap;
}

/* ---- CTA CENTRAL (Reparar) ---- */
.bnav-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 5px;
    width: 76px;
    flex-shrink: 0;
}

.bnav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
    color: #fff;
    text-decoration: none;
    position: relative;
    margin-top: -28px;
    box-shadow:
        0 0 0 4px rgba(10, 15, 26, 0.96),
        0 4px 16px rgba(99, 102, 241, 0.5),
        0 0 24px rgba(59, 130, 246, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.bnav-cta:active {
    transform: scale(0.92);
    box-shadow:
        0 0 0 4px rgba(10, 15, 26, 0.96),
        0 2px 8px rgba(99, 102, 241, 0.4);
}

/* Anillo de pulso animado */
.bnav-cta::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    animation: bnav-pulse 3s ease-in-out infinite;
}

@keyframes bnav-pulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* Texto del CTA */
.bnav-cta-text {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    color: #a5b4fc;
    margin-top: 5px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* Safe area para iPhone con notch */
.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Scroll-top button positioning */
#scroll-top-btn {
    bottom: 24px !important;
}

/* Ajustar scroll-top cuando hay bottom nav en móvil */
@media (max-width: 1023px) {
    #scroll-top-btn {
        bottom: 84px !important;
    }
}

/* ============================================
   MOBILE TRUST STRIP
   ============================================ */

.trust-strip {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.trust-strip::-webkit-scrollbar {
    display: none;
}

.trust-strip-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.trust-strip-badge svg {
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .trust-strip {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        padding: 1rem 1.5rem;
    }
}

/* ============================================
   MOBILE QUICK CONTACT BUTTONS
   ============================================ */

.quick-contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}

.quick-contact-btn-whatsapp {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.quick-contact-btn-whatsapp:active {
    transform: scale(0.98);
}

.quick-contact-btn-call {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.quick-contact-btn-email {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.quick-contact-split {
    display: flex;
    gap: 0.75rem;
}

.quick-contact-split > * {
    flex: 1;
}

/* ============================================
   FOOTER COLLAPSIBLE (MOBILE)
   ============================================ */


/* ============================================
   MOBILE-SPECIFIC ANIMATION OPTIMIZATIONS
   ============================================ */

/* Optimizaciones móvil — brands-track mantiene animación scroll */
@media (max-width: 768px) {
    .brands-track {
        animation: scroll 20s linear infinite;
    }

    /* Reduce decorative animated blobs on mobile */
    .absolute.animate-pulse {
        animation: none;
    }
}

/* ============================================
   ACCESSIBILITY: prefers-reduced-motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

