body, html {
    cursor: none !important;
}
/* ============================================
   CUSTOM CURSOR PARTICLE STYLE
   ============================================ */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 2px var(--secondary);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.18s cubic-bezier(0.4,0,0.2,1), box-shadow 0.18s;
    overflow: hidden;
    backdrop-filter: blur(2px);
}
.custom-cursor.active {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 0 4px var(--primary);
}
/* Plataformas Monitoreadas - Reputación Online */
.plataforma-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.plataforma-card i {
    font-size: 3rem;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.plataforma-card:hover i {
    animation: bounce 0.6s ease-in-out;
    color: var(--secondary) !important;
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 6px 16px rgba(16,29,59,0.18));
}
/* ============================================
   GLOBAL STYLES & VARIABLES
   ============================================ */

:root {
    --primary: #F5B82A;
    --secondary: #101d3b;
    --accent: #1B8A8A;
    --light: #F7F7F7;
    --dark: #1A1A1A;
    --gray: #6B7280;
    --border: #E5E7EB;
    --success: #10B981;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark);
    line-height: 1.6;
    background-color: #fff;
    padding-top: 70px;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.visually-hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    color: var(--dark);
}

h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

h4 {
    font-size: 1.1rem;
    color: var(--dark);
}

p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 15px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #ff5a1f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(16, 29, 59, 0.06);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    transform: translateY(0);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background-color: rgba(16, 29, 59, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-menu a {
    color: white;
}

.navbar.scrolled .logo {
    color: var(--primary);
}

.navbar.scrolled .logo i {
    color: var(--primary);
}

.navbar.scrolled .dropdown-toggle {
    color: white;
}

.navbar.scrolled .nav-menu .btn-primary {
    background: linear-gradient(130deg, #f7c33d, #f5b82a);
    color: #101d3b;
    box-shadow: 0 12px 26px rgba(245, 184, 42, 0.35);
    border-color: rgba(16, 29, 59, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu .btn-primary,
.nav-menu .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 999px;
    background: linear-gradient(130deg, #f9ce4f, #f5b82a);
    color: #101d3b;
    box-shadow: 0 14px 28px rgba(245, 184, 42, 0.32);
    border: 1px solid rgba(16, 29, 59, 0.12);
}

.nav-menu .lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    background: rgba(16, 29, 59, 0.08);
    color: var(--dark);
    border: 1px solid rgba(16, 29, 59, 0.1);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(16, 29, 59, 0.14);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: linear-gradient(130deg, #f9ce4f, #f5b82a);
    color: #101d3b;
    border-color: rgba(16, 29, 59, 0.18);
    box-shadow: 0 8px 18px rgba(245, 184, 42, 0.25);
}

.nav-menu .btn-primary::after,
.nav-menu .nav-cta::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85em;
    transition: transform 0.2s ease;
}

.nav-menu .btn-primary:hover,
.nav-menu .nav-cta:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 32px rgba(245, 184, 42, 0.38);
    background: linear-gradient(130deg, #ffd463, #e9b620);
}

.nav-menu .btn-primary:hover::after,
.nav-menu .nav-cta:hover::after {
    transform: translateX(4px);
}

.nav-menu .btn-primary:active,
.nav-menu .nav-cta:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(245, 184, 42, 0.28);
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    font-family: var(--font-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.dropdown-toggle i {
    font-size: 0.8rem;
}

.dropdown-toggle:hover {
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    list-style: none;
    padding: 12px 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    pointer-events: none;
    z-index: 1001;
}

.dropdown-menu li {
    padding: 0 16px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 0;
    color: var(--dark);
    font-weight: 500;
}

.dropdown-menu a:hover {
    color: var(--primary);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-wrapper {
        position: relative;
    }
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1201;
        margin-left: auto;
    }
    .mobile-toggle span {
        display: block;
        width: 32px;
        height: 4px;
        margin: 4px 0;
        background: var(--secondary);
        border-radius: 2px;
        transition: 0.3s;
    }
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        background-color: #fff;
        padding: 32px 0 24px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.10);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
        z-index: 1200;
    }
    .nav-menu.active {
        max-height: 600px;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    .nav-menu a,
    .nav-menu .btn-primary,
    .nav-menu .nav-cta {
        width: 100%;
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
    }
    .lang-btn {
        width: 100%;
        text-align: center;
    }
    .nav-menu .lang-switch {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-dropdown.open .dropdown-menu {
        max-height: 400px;
    }
    .dropdown-menu li {
        padding: 0;
    }
    .dropdown-menu a {
        padding: 12px 0;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary) 50%, var(--accent) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    width: 100%;
    overflow-x: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 3rem;
    line-height: 1.3;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background-color: var(--primary);
}

.hero-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
}

.hero-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--secondary);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat h3,
.stat-number {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.stat p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICIOS SECTION
   ============================================ */

.servicios {
    padding: 80px 20px;
    background-color: var(--light);
    width: 100%;
    overflow-x: hidden;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

.servicio-card {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.servicio-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--secondary);
    box-shadow: 0 8px 20px rgba(16, 29, 59, 0.4);
}

.servicio-card h3 {
    margin-bottom: 15px;
}

.servicio-card p {
    margin-bottom: 25px;
}

.servicio-features {
    list-style: none;
    margin-bottom: 25px;
}

.servicio-features li {
    padding: 8px 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.servicio-features li:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.servicio-features i {
    color: var(--success);
    font-weight: bold;
    transition: var(--transition);
}

.servicio-features li:hover i {
    animation: bounce 0.6s ease-in-out;
}

.servicio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.servicio-link:hover {
    gap: 12px;
}

/* ============================================
   POR QUE NOSOTROS SECTION
   ============================================ */

.por-que {
    padding: 80px 20px;
}

.por-que-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.por-que-text h2 {
    margin-bottom: 20px;
}

.por-que-text > p {
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.por-que-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.por-que-item {
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
}

.por-que-item:hover {
    background-color: rgba(245, 184, 42, 0.05);
    transform: translateX(8px);
}

.item-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.5rem;
    transition: var(--transition);
}

.por-que-item:hover .item-icon {
    animation: bounce 0.6s ease-in-out;
    box-shadow: 0 8px 16px rgba(16, 29, 59, 0.15);
}

.por-que-item h4 {
    margin-bottom: 5px;
    transition: var(--transition);
}

.por-que-item:hover h4 {
    color: var(--secondary);
}

.por-que-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    transition: var(--transition);
}

.por-que-item:hover p {
    color: var(--secondary);
}

.por-que-image {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    overflow: hidden;
}

.por-que-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.image-placeholder {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
}

.por-que-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.servicio-detalle-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.servicio-detalle-text {
    flex: 1;
    margin-top: 40px;
}

.servicio-detalle-image {
    border-radius: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    overflow: hidden;
}

.servicio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-detalle-image:hover .servicio-img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .por-que-content {
        grid-template-columns: 1fr;
    }

    .servicio-detalle-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CASOS DE ÉXITO SECTION
   ============================================ */

.casos-exito {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    width: 100%;
    overflow-x: hidden;
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.caso-card {
    background: linear-gradient(135deg, #d4e5f7 0%, #e0ecf5 100%);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.caso-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(245, 184, 42, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.caso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.caso-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-badge {
    background: var(--secondary);
    color: white;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 1.4rem;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(16, 29, 59, 0.2);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.caso-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--secondary);
}

.caso-card p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.caso-autor {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 15px !important;
}

.caso-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.caso-link:hover {
    gap: 12px;
}

.casos-exito .section-header h2 {
    color: white;
}

.casos-exito .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   CLIENTES LOGOS SECTION
   ============================================ */

.clientes-logos-section {
    padding: 60px 20px;
    background-color: #f7f7f7;
}

.clientes-logos {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.clientes-logos p {
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--dark);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
}

.logo-item {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
}

.logo-item:hover {
    transform: translateY(-8px) scale(1.08) !important;
    box-shadow: 0 15px 35px rgba(245, 184, 42, 0.4), 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

/* ============================================
   COMPARATIVA SECTION
   ============================================ */

.comparativa {
    padding: 80px 20px;
}

.comparison-table {
    overflow-x: auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
}

table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.comparison-table tbody tr:hover {
    transform: scale(1.01) !important;
}

.badge-check {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

table i.fa-check {
    color: var(--success);
    font-size: 1.2rem;
}

/* ============================================
   PROCESO SECTION
   ============================================ */

.proceso {
    padding: 80px 20px;
    background-color: var(--light);
    width: 100%;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.proceso-steps,
.pasos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.paso {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.paso:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(245, 184, 42, 0.05), rgba(16, 29, 59, 0.02));
}

.paso h3 {
    transition: var(--transition);
}

.paso:hover h3 {
    color: var(--secondary);
}

.paso-numero,
.paso-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), #ff8a1f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(245, 184, 42, 0.3);
    position: relative;
}

.paso-numero::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), #ff8a1f);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.paso:hover .paso-numero,
.paso:hover .paso-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 35px rgba(245, 184, 42, 0.5);
    background: linear-gradient(135deg, #ff8a1f, var(--primary));
}

.paso h3 {
    margin-bottom: 15px;
}

.paso p {
    margin-bottom: 20px;
}

.paso ul {
    list-style: none;
    text-align: left;
    margin-top: 15px;
}

.paso ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.paso ul li:hover {
    color: var(--secondary);
    transform: translateX(8px);
}

.paso ul li i {
    color: var(--primary);
    margin-right: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.paso ul li:hover i {
    transform: scale(1.2) rotate(10deg);
}

.paso a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.paso a:hover {
    gap: 12px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: 80px 20px;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light);
    color: var(--secondary);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #101d3b 0%, #0d2a54 100%);
    color: white;
    border-left: 4px solid var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 20px;
    background-color: var(--light);
    color: var(--gray);
    margin-bottom: 0;
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */

.cta-final {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-final h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: var(--primary);
}

.cta-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--secondary);
}

/* ============================================
   CONTACTO SECTION
   ============================================ */

.contacto {
    padding: 80px 20px;
    background-color: var(--light);
    width: 100%;
    overflow-x: hidden;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacto-form h2 {
    margin-bottom: 10px;
}

.contacto-form > p {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group button {
    width: 100%;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--gray);
    text-align: center;
    margin-top: 15px;
}

.contacto-info h2 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:nth-child(1) {
    background: #1877F2;
}

.social-links a:nth-child(2) {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.social-links a:nth-child(3) {
    background: #4285F4;
}

.social-links a:nth-child(4) {
    background: #25D366;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .contacto-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 20px 20px;
    width: 100%;
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-family: var(--font-secondary);
}

.newsletter-form button {
    padding: 12px 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #ff5a1f;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .servicios,
    .por-que,
    .casos-exito,
    .comparativa,
    .proceso,
    .faq,
    .cta-final,
    .contacto {
        padding: 50px 20px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FLOATING SOCIAL BUTTONS
   ============================================ */

/* ============================================
   ACCESSIBILITY WIDGET
   ============================================ */

.accessibility-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
}

.accessibility-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(245, 184, 42, 0.4);
    transition: var(--transition);
}

.accessibility-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(245, 184, 42, 0.6);
    background: #e6a918;
}

.accessibility-panel {
    position: absolute;
    bottom: 75px;
    left: 0;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.accessibility-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.accessibility-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 2px solid var(--border);
}

.accessibility-header h3 {
    font-size: 1rem;
    color: var(--secondary);
    margin: 0;
}

.close-panel {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close-panel:hover {
    background: var(--light);
    color: var(--dark);
}

.accessibility-options {
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.accessibility-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: var(--light);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    color: var(--dark);
}

.accessibility-option i {
    font-size: 1.5rem;
    color: var(--primary);
}

.accessibility-option span {
    text-align: center;
    font-weight: 500;
}

.accessibility-option:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.accessibility-option.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.accessibility-option.active i {
    color: white;
}

/* Accessibility States */
body.high-contrast {
    filter: contrast(1.5);
}

body.grayscale {
    filter: grayscale(100%);
}

body.negative-contrast {
    filter: invert(1) hue-rotate(180deg);
}

body.underline-links a {
    text-decoration: underline !important;
}

body.readable-font,
body.readable-font * {
    font-family: Arial, sans-serif !important;
}

html.font-size-large {
    font-size: 18px;
}

html.font-size-larger {
    font-size: 20px;
}

html.font-size-largest {
    font-size: 22px;
}

/* Mantener el widget visible aun con filtros aplicados al body */
body.high-contrast .accessibility-widget,
body.grayscale .accessibility-widget,
body.negative-contrast .accessibility-widget {
    filter: none !important;
}

.floating-buttons {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn.google {
    background: #4285F4;
}

.floating-btn.google:hover {
    background: #357AE8;
}

.floating-btn.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.floating-btn.instagram:hover {
    filter: brightness(0.9);
}

.floating-btn.facebook {
    background: #1877F2;
}

.floating-btn.facebook:hover {
    background: #0A66C2;
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.whatsapp:hover {
    background: #1fa857;
}

@media (max-width: 768px) {
    .accessibility-widget {
        left: 10px;
        bottom: 10px;
    }

    .accessibility-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .accessibility-panel {
        width: calc(100% - 30px);
        max-width: 300px;
        left: 10px;
    }

    .accessibility-options {
        grid-template-columns: 1fr 1fr;
    }

    .accessibility-option {
        font-size: 0.8rem;
        padding: 12px 8px;
    }

    .accessibility-option i {
        font-size: 1.3rem;
    }

    .floating-buttons {
        right: 10px;
        gap: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

.servicio-card,
.caso-card,
.paso {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */


.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        will-change: opacity, transform;
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Base para todos los elementos que serán animados */
.servicio-card,
.caso-card,
.por-que-item,
.paso,
.faq-item,
.info-item,
.stat,
.logo-item,
.comparison-table tbody tr {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-animate {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

.scroll-animate-delay-1 {
    animation-delay: 0.05s !important;
}

.scroll-animate-delay-2 {
    animation-delay: 0.1s !important;
}

.scroll-animate-delay-3 {
    animation-delay: 0.15s !important;
}

.scroll-animate-delay-4 {
    animation-delay: 0.2s !important;
}

.scroll-animate-delay-5 {
    animation-delay: 0.25s !important;
}

.scroll-animate-delay-6 {
    animation-delay: 0.3s !important;
}

/* ============================================
   CASO CARD HEADER WITH AVATAR
   ============================================ */

.caso-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.caso-avatar {
    flex-shrink: 0;
}

.caso-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.caso-author-info h3 {
    margin: 0;
    margin-bottom: 3px;
    font-size: 1.1rem;
    color: var(--secondary);
}

.caso-author-info .caso-autor {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

/* ============================================
   COUNTER ANIMATION
   ============================================ */

@keyframes countUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



.counter,
.counter-decimal {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* ============================================
   BOUNCE HOVER EFFECTS
   ============================================ */

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Hover effect para lista items */
.servicio-features li,
.por-que-item,
.faq-item {
    transition: var(--transition);
}

.servicio-features li:hover,
.por-que-item:hover {
    transform: translateX(5px);
}

.servicio-features li:hover i,
.por-que-item:hover .item-icon {
    animation: bounce 0.6s ease-in-out;
}

/* Mejorar hover de todas las tarjetas */
.servicio-card,
.caso-card,
.paso,
.comparison-table tr,
.faq-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-card:hover,
.caso-card:hover,
.paso:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.comparison-table tbody tr:hover {
    background-color: var(--light);
    transform: scale(1.01);
}

/* Efecto para descripción de casos */
.caso-card p {
    transition: var(--transition);
}

.caso-card:hover p {
    color: var(--secondary);
}

/* ============================================
   PARTICLES CANVAS
   ============================================ */

.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Asegurar que el contenido esté encima de las partículas */
.hero > *:not(.particles-canvas),
.cta-final > *:not(.particles-canvas),
.casos-exito > *:not(.particles-canvas) {
    position: relative;
    z-index: 1;
}

/* ============================================
   WEBCHAT WIDGET CUSTOMIZATION
   ============================================ */

/* Personalizar el botón del webchat */
iframe[src*="apigateway.co"] {
    z-index: 9998 !important;
}

/* Estilos para el contenedor del botón de chat */
div[id*="webchat"] button,
div[class*="webchat"] button,
button[aria-label*="chat" i] {
    background: linear-gradient(135deg, var(--primary), #ff8a1f) !important;
    box-shadow: 0 8px 24px rgba(245, 184, 42, 0.4) !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

div[id*="webchat"] button:hover,
div[class*="webchat"] button:hover,
button[aria-label*="chat" i]:hover {
    transform: scale(1.1) translateY(-3px) !important;
    box-shadow: 0 12px 32px rgba(245, 184, 42, 0.5) !important;
}

/* Animación de pulso para el botón */
@keyframes chatPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(245, 184, 42, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(245, 184, 42, 0.6);
    }
}

div[id*="webchat"] button,
div[class*="webchat"] button {
    animation: chatPulse 2s ease-in-out infinite !important;
}

/* ============================================
   FOOTER MAP AND REVIEWS
   ============================================ */

.footer-map-reviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.footer-map-container,
.footer-reviews-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.footer-map-container:hover,
.footer-reviews-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.footer-map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

.footer-reviews-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-map-reviews {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .footer-map-container iframe,
    .footer-reviews-container {
        height: 300px;
    }
}

