/* =====================================================
   WELCOME PAGE - ABOUT SYSTEM INTEGRATION
   ===================================================== */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.welcome-page {
    overflow-x: hidden !important;
}

/* Importar variables About */
:root {
    /* Brand Colors - Basado en About page */
    --cd-primary: #00ffff;
    --cd-secondary: #3831ff;
    --cd-tertiary: #0f0327;
    --cd-dark: #111;
    --cd-light: #fff;
    --cd-success: #00b894;
    --cd-warning: #fdcb6e;
    --cd-danger: #e17055;
    --cd-info: #74b9ff;

    /* Typography Scale */
    --cd-font-primary: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --cd-font-size-hero: clamp(2.5rem, 5vw, 4rem);
    --cd-font-size-h1: clamp(2rem, 4vw, 3rem);
    --cd-font-size-h2: clamp(1.5rem, 3vw, 2.25rem);
    --cd-font-size-h3: clamp(1.25rem, 2.5vw, 1.75rem);
    --cd-font-size-body: clamp(1rem, 2vw, 1.125rem);

    /* Spacing Scale */
    --cd-space-xs: 0.5rem;
    --cd-space-sm: 1rem;
    --cd-space-md: 1.5rem;
    --cd-space-lg: 2rem;
    --cd-space-xl: clamp(2rem, 4vw, 3rem);
    --cd-space-xxl: clamp(2.5rem, 5vw, 4rem);

    /* Header Compensation - RESPONSIVE */
    --cd-header-offset: clamp(60px, 8vw, 80px);

    /* Shadows */
    --cd-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --cd-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --cd-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --cd-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.2);

    /* Gradients */
    --cd-gradient-primary: linear-gradient(135deg, var(--cd-primary) 0%, var(--cd-secondary) 100%);
    --cd-gradient-hero: linear-gradient(135deg, var(--cd-secondary) 0%, var(--cd-tertiary) 100%);
    --cd-gradient-success: linear-gradient(135deg, var(--cd-success) 0%, var(--cd-primary) 100%);
}

/* =====================================================
   HERO SECTION - ABOUT STYLE
   ===================================================== */

.hero-welcome {
    background: var(--cd-gradient-hero);
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--cd-header-offset);
    box-sizing: border-box;
}

.hero-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/cd-project/img/headers/waves.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-welcome__content {
    position: relative;
    z-index: 2;
}

.hero-welcome__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--cd-space-xs);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: var(--cd-space-xs) var(--cd-space-md);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--cd-space-md);
}

.hero-welcome__title {
    font-family: var(--cd-font-primary);
    font-size: var(--cd-font-size-hero);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: var(--cd-space-md);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-welcome__subtitle {
    font-family: var(--cd-font-primary);
    font-size: var(--cd-font-size-body);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--cd-space-xl);
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-welcome__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cd-space-lg);
    margin-bottom: var(--cd-space-xl);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-metric {
    text-align: center;
    color: white;
}

.hero-metric__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--cd-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-metric__label {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: var(--cd-space-xs);
}

.hero-welcome__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cd-space-md);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-hero-primary {
    background: var(--cd-gradient-primary);
    border: none;
    color: white;
    font-weight: 700;
    padding: var(--cd-space-md) var(--cd-space-xl);
    border-radius: 50px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--cd-shadow-md);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--cd-shadow-hover);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: var(--cd-space-md) var(--cd-space-xl);
    border-radius: 50px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* =====================================================
   TRUST SECTION - ABOUT STYLES
   ===================================================== */

.trust-section {
    background: var(--cd-light);
    padding: var(--cd-space-xl) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-section__header {
    text-align: center;
    margin-bottom: var(--cd-space-xl);
}

.trust-section__title {
    font-family: var(--cd-font-primary);
    font-size: var(--cd-font-size-h2);
    font-weight: 700;
    color: var(--cd-dark);
    margin-bottom: var(--cd-space-md);
}

.trust-section__subtitle {
    font-size: var(--cd-font-size-body);
    color: rgba(17, 17, 17, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--cd-space-lg);
}

.trust-metric {
    background: white;
    border-radius: 16px;
    padding: var(--cd-space-xl);
    text-align: center;
    box-shadow: var(--cd-shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-metric:hover {
    transform: translateY(-8px);
    box-shadow: var(--cd-shadow-lg);
}

.trust-metric__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--cd-space-md);
    background: var(--cd-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.trust-metric:hover .trust-metric__icon {
    transform: scale(1.1) rotate(5deg);
}

.trust-metric__number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--cd-secondary);
    margin-bottom: var(--cd-space-xs);
}

.trust-metric__label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cd-dark);
    margin-bottom: var(--cd-space-xs);
}

.trust-metric__description {
    font-size: 0.875rem;
    color: rgba(17, 17, 17, 0.6);
    line-height: 1.5;
}

/* =====================================================
   PRODUCT CARDS - ABOUT STYLE
   ===================================================== */

.about-solution-card {
    transition: all 0.3s ease;
    border: none !important;
    overflow: hidden;
    height: auto;
    min-height: 380px;
}

.about-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
}

.about-solution-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem !important;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* =====================================================
   PRODUCTOS SECTION HEADERS
   ===================================================== */

.products-section__header {
    text-align: center;
    margin-bottom: var(--cd-space-xl);
}

.products-section__title {
    font-family: var(--cd-font-primary);
    font-size: var(--cd-font-size-h1);
    font-weight: 700;
    color: white;
    margin-bottom: var(--cd-space-md);
    line-height: 1.2;
}

.products-section__subtitle {
    font-size: var(--cd-font-size-body);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =====================================================
   PROCESS SECTION HEADERS
   ===================================================== */

.process-section__header {
    text-align: center;
    margin-bottom: var(--cd-space-xl);
}

.process-section__title {
    font-family: var(--cd-font-primary);
    font-size: var(--cd-font-size-h1);
    font-weight: 700;
    color: var(--cd-dark);
    margin-bottom: var(--cd-space-md);
    line-height: 1.2;
}

.process-section__subtitle {
    font-size: var(--cd-font-size-body);
    color: rgba(17, 17, 17, 0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =====================================================
   URGENCY SECTION HEADERS
   ===================================================== */

.urgency-section__header {
    text-align: center;
    margin-bottom: var(--cd-space-xl);
}

.urgency-section__title {
    font-family: var(--cd-font-primary);
    font-size: var(--cd-font-size-h1);
    font-weight: 700;
    color: white;
    margin-bottom: var(--cd-space-md);
    line-height: 1.2;
}

.urgency-section__subtitle {
    font-size: var(--cd-font-size-body);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =====================================================
   FINAL CTA HEADERS
   ===================================================== */

.final-cta-section__header {
    text-align: center;
    margin-bottom: var(--cd-space-xl);
}

.final-cta-section__title {
    font-family: var(--cd-font-primary);
    font-size: var(--cd-font-size-h1);
    font-weight: 700;
    color: white;
    margin-bottom: var(--cd-space-md);
    line-height: 1.2;
}

.final-cta-section__subtitle {
    font-size: var(--cd-font-size-body);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =====================================================
   RESPONSIVE IMPROVEMENTS
   ===================================================== */

@media (max-width: 768px) {
    .hero-welcome {
        min-height: 80vh;
        padding: var(--cd-header-offset) 0 var(--cd-space-xl) 0;
    }

    .hero-welcome__metrics {
        justify-content: center;
        gap: var(--cd-space-md);
    }

    .hero-metric__number {
        font-size: 2rem;
    }

    .hero-welcome__cta {
        justify-content: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .trust-section {
        padding: var(--cd-space-lg) 0;
    }

    .trust-metrics {
        grid-template-columns: 1fr;
        gap: var(--cd-space-md);
    }

    .about-solution-card,
    .trust-metric {
        min-height: auto;
    }

    /* Productos Carousel Mobile - SIN OVERFLOW */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px !important;
        height: 40px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        opacity: 1 !important;
    }

    .carousel-control-prev {
        left: 10px !important;
    }

    .carousel-control-next {
        right: 10px !important;
    }
}

@media (max-width: 480px) {
    :root {
        --cd-header-offset: 50px;
    }

    .hero-welcome__badge {
        font-size: 0.75rem;
        padding: var(--cd-space-xs) var(--cd-space-sm);
    }

    .hero-metric__number {
        font-size: 1.75rem;
    }

    .hero-metric__label {
        font-size: 0.75rem;
    }

    .trust-metric {
        padding: var(--cd-space-lg);
    }

    .trust-metric__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .trust-metric__number {
        font-size: 2rem;
    }

    .trust-metric__label {
        font-size: 1rem;
    }
}

/* =====================================================
   CONTAINER IMPROVEMENTS
   ===================================================== */

/* Product Cards Hover Effects */
.product-card {
    transition: all 0.3s ease !important;
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Mobile Carousel Fixes */
.carousel-inner {
    background: transparent !important;
}

.carousel-item {
    background: transparent !important;
}

/* Carousel Controls Clean */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Carousel Indicators Clean */
.carousel-indicators {
    position: static !important;
    margin: 2rem 0 0 0 !important;
}

.carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.4) !important;
    border: 1px solid rgba(255,255,255,0.6) !important;
    margin: 0 4px !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--cd-primary) !important;
    border-color: var(--cd-primary) !important;
    opacity: 1 !important;
    transform: scale(1.2);
}

/* Remove any Bootstrap carousel background bleeding */
.carousel-inner .carousel-item {
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure no background color inheritance */
.products-section .carousel {
    background: transparent !important;
}

.products-section .carousel * {
    background-color: transparent !important;
}

.products-section .carousel .product-card {
    background: rgba(255,255,255,0.1) !important;
}

/* =====================================================
   NUEVO SISTEMA CSS - INTEGRACIÓN WELCOME
   Basado en el CSS proporcionado + Sistema actual
   ===================================================== */

/* ===== 1. GRID & LAYOUT SYSTEM ===== */
@media (min-width: 1236px) {
    .container {
        max-width: 1236px;
    }
}

@media (min-width: 576px) {
    .container-fluid {
        padding-left: 3%;
        padding-right: 3%;
    }
}

/* ===== 2. TYPOGRAPHY ENHANCEMENTS ===== */
p {
    letter-spacing: -0.05em;
    font-size: 16px;
    font-size: 1rem;
}

/* ===== 3. CUSTOM COUNTERS SYSTEM ===== */
.custom-counter-1 h3 {
    font-size: 3.571em;
    line-height: 1;
    font-weight: bold;
}

.custom-counter-1 p {
    font-size: 0.9286em;
    margin: 5px 0 0;
    font-weight: 600;
    line-height: 19.2px;
    line-height: 1.2rem;
    color: var(--cd-light);
    opacity: 0.7;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.custom-counter-1 a {
    font-size: 18px;
    font-size: 1.125rem;
    letter-spacing: -0.05em;
    color: var(--cd-dark);
}

/* ===== 4. HEADER CUSTOMIZATIONS ===== */
.custom-header-min-height-1 {
    min-height: 68vh;
}

.custom-header-max-width-1 {
    max-width: 703px;
}

/* ===== 5. BANNER CONTENT SYSTEM ===== */
.custom-banner-content-1 {
    background: var(--cd-light);
    border-radius: var(--border-radius2x, 1rem);
    width: 100%;
}

.custom-banner-content-item-1 {
    cursor: pointer;
    position: absolute;
    top: 48.3% !important;
    left: -9%;
    z-index: 10;
}

.custom-banner-content-item-2 {
    border-radius: var(--border-radius, 0.5rem);
    position: absolute;
    bottom: -6%;
    left: -4%;
    z-index: 10;
}

.custom-banner-content-slider-1 {
    position: relative;
    margin: 0 10px 10px 10px;
}

/* ===== 6. TEXT COLORS & INHERITANCE ===== */
.section-concept p,
.custom-text-color-1 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.color-inherit {
    color: inherit !important;
}

/* ===== 7. HEADER BAR WITH GRADIENT ===== */
.custom-header-bar:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    width: 50vw;
    background-image: linear-gradient(150deg, var(--cd-primary) 0%, var(--cd-primary) 30%, var(--cd-secondary) 70%, var(--cd-secondary) 100%);
    border-radius: var(--border-radius, 0.5rem);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.06);
}

@media (max-width: 1200px) {
    .custom-header-bar:before {
        width: 110vw;
    }
}

/* ===== 8. FONT SIZE UTILITIES ===== */
.custom-font-size-1 {
    font-size: 17.6px;
    font-size: 1.1rem;
    line-height: 28.8px;
    line-height: 1.8rem;
}

.custom-font-size-2 {
    font-size: 18px;
    font-size: 1.125rem;
}

/* ===== 9. NAVIGATION LINKS ===== */
.custom-nav-link {
    font-size: 13px;
    font-size: .8125rem;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 0 !important;
    padding: .25rem 0 !important;
    margin: 0 20px;
    margin: 0 1.25rem;
    border-bottom: 4px solid transparent;
}

.custom-nav-link:not(.active).nav-link {
    color: var(--cd-dark);
}

/* ===== 10. OWL CAROUSEL INTEGRATION ===== */
.owl-carousel.carousel-center-active-item-2 .owl-item.active > div {
    background-image: linear-gradient(150deg, var(--cd-primary) 0%, var(--cd-primary) 30%, var(--cd-secondary) 70%, var(--cd-secondary) 100%) !important;
}

/* ===== 11. TEXT REASONS COMPONENT ===== */
.text-reasons {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform: rotate(-10deg);
}

.text-reasons h3 {
    padding: 12px 56px;
    padding: .75rem 3.5rem;
    text-transform: uppercase;
    border-radius: var(--border-radius, 0.5rem);
    margin-bottom: 6.4px;
    margin-bottom: .4rem;
    font-weight: 800;
}

.text-reasons h3:nth-child(2) {
    background: rgba(25, 25, 25, 0.15);
    margin-left: -10%;
}

.text-reasons h3:nth-child(3) {
    background: rgba(25, 25, 25, 0.57);
    font-size: 28px;
    font-size: 1.75rem;
    line-height: 1.5;
    padding-left: 80px;
    padding-left: 5rem;
    margin-left: 32px;
    margin-left: 2rem;
}

.text-reasons h3:nth-child(4) {
    background: var(--cd-dark);
    font-size: 36px;
    font-size: 2.25rem;
    padding: 8px 20px;
    padding: .5rem 1.25rem;
    margin-left: 15%;
}

.text-reasons label {
    font-size: 200px;
    font-size: 12.5rem;
    line-height: .8;
    font-weight: 800;
    position: absolute;
    left: 0;
    top: 0;
}

.text-reasons .highlighted-word {
    letter-spacing: -.025em;
}

/* ❌ LÍNEA DE text-reasons ELIMINADA - Era otra raya molesta */
/* .text-reasons .highlighted-word:after {
    bottom: -0.33em;
    left: 10%;
    transform: scaleY(-1);
} */

/* ===== 12. STRONG SHADOW EFFECT ===== */
.strong-shadow {
    position: relative;
    display: inline-block;
}

.strong-shadow:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #494b4e;
    z-index: -1;
}

.strong-shadow.strong-shadow-top-right:before {
    top: -25px;
    left: 25px;
    right: -25px;
    bottom: 25px;
}

.strong-shadow.rounded:before {
    border-radius: 5px;
}

/* ===== 13. SVG BACKGROUND STYLES ===== */
.background-svg-style-1 {
    position: absolute;
    top: 31px;
    width: 100vw;
}

.background-svg-style-1 .dots {
    filter: url(#shadow);
}

.background-svg-style-1 .dots.dots-animation {
    filter: url(#shadow);
}

/* ===== 14. VIDEO OPEN ICON ===== */
.video-open-icon {
    display: inline-block;
    width: 64px;
    width: 4rem;
    height: 64px;
    height: 4rem;
    padding: 6px;
    padding: .375rem;
    transition: padding .2s;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.07);
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    margin-right: .5rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
}

.video-open-icon:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    background: var(--cd-light);
}

.video-open-icon:after {
    content: '';
    border-left: 12px solid #08c;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -5px;
}

.video-open-icon:hover {
    padding: 4px;
    padding: .25rem;
}

/* ===== 15. FILTER WRAPPER SYSTEM ===== */
.filter-wrapper.sticky-active {
    padding: 0 58px;
    position: relative;
}

.filter-wrapper.sticky-active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
}

.filter-wrapper .search-form {
    position: relative;
    border: 2px solid #e7e7e7;
    border-radius: 3rem;
    display: inline-block;
    margin: -10px 0;
}

.filter-wrapper .search-form input[type="search"]::-webkit-search-decoration,
.filter-wrapper .search-form input[type="search"]::-webkit-search-cancel-button,
.filter-wrapper .search-form input[type="search"]::-webkit-search-results-button,
.filter-wrapper .search-form input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.filter-wrapper .search-form input {
    padding: 12.8px 48px 12.8px 19.2px;
    padding: 0.8rem 3rem 0.8rem 1.2rem;
    border: none;
    background-color: transparent;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: var(--cd-dark);
    outline: 0;
}

.filter-wrapper .search-form .btn {
    position: absolute;
    top: 53%;
    right: -11.2px;
    right: -0.7rem;
    font-size: 19.2px;
    font-size: 1.2rem;
    min-width: 80px;
    min-width: 5rem;
    transform: translateY(-50%);
    padding: 0;
    background: none;
    transition: color 0.3s;
}

/* ===== 16. LIST ICONS SYSTEM ===== */
.custom-list-icons-1 .custom-list-icon {
    width: 28px;
    height: 28px;
    border-radius: 2px;
    margin-right: 3px;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    line-height: 28px;
}

/* ===== 17. LETTER SPACING UTILITY ===== */
.custom-letter-spacing-1 {
    letter-spacing: 5px;
}

/* ===== 18. DARK THEME ADAPTATIONS ===== */
[data-theme="dark"] .custom-banner-content-1 {
    background: var(--cd-light);
}

[data-theme="dark"] .custom-nav-link:not(.active).nav-link {
    color: var(--cd-light);
}

[data-theme="dark"] .filter-wrapper .search-form {
    border-color: var(--cd-grey-600);
}

[data-theme="dark"] .filter-wrapper .search-form input {
    color: var(--cd-light);
}

[data-theme="dark"] .custom-header-bar:before {
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.1);
}

/* ===== 19. RESPONSIVE ADAPTATIONS ===== */
@media (max-width: 768px) {
    .custom-header-min-height-1 {
        min-height: 50vh;
    }

    .custom-banner-content-item-1,
    .custom-banner-content-item-2 {
        position: static;
        display: none;
    }

    .text-reasons {
        transform: none;
        align-items: flex-start;
    }

    .text-reasons label {
        font-size: 8rem;
    }

    .custom-letter-spacing-1 {
        letter-spacing: 2px;
    }

    .filter-wrapper.sticky-active {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .custom-counter-1 h3 {
        font-size: 2.5em;
    }

    .text-reasons h3 {
        padding: 8px 32px;
        font-size: 1.25rem;
    }

    .text-reasons h3:nth-child(3) {
        font-size: 1.5rem;
        padding-left: 2rem;
    }

    .text-reasons h3:nth-child(4) {
        font-size: 1.75rem;
    }

    .text-reasons label {
        font-size: 6rem;
    }

    .video-open-icon {
        width: 48px;
        height: 48px;
    }
}

/* =====================================================
   ESTILOS CORREGIDOS - ANTES INYECTADOS DINÁMICAMENTE
   ===================================================== */

/* Animaciones corregidas - Sin conflictos */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

.grabbing {
    cursor: grabbing !important;
}

.animate-in {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Efectos de filtro click */
.filter-clicked {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

/* Colores corregidos - No más blanco sobre blanco */
.welcome-page .highlighted-word {
    background: var(--cd-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--cd-primary); /* Fallback para navegadores sin soporte */
    position: relative;
}

/* Trust metrics con mejor legibilidad */
.welcome-page .trust-metric__number {
    color: var(--cd-primary) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-page .trust-metric__label {
    color: var(--cd-text-secondary) !important;
}

/* Filtros con mejor contraste */
.welcome-page .filter-link {
    color: var(--cd-text-primary) !important;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .welcome-page .filter-link {
    background: rgba(45, 52, 54, 0.9);
    color: var(--cd-text-primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-page .filter-link:hover,
.welcome-page .filter-link.active {
    background: var(--cd-gradient-primary) !important;
    color: white !important;
    border-color: var(--cd-primary);
}

/* Corregir textos problemáticos */
.welcome-page .section-concept h2,
.welcome-page .section-concept h3 {
    color: var(--cd-light) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.welcome-page .section-concept p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   STICKY FILTERS Y LEGIBILIDAD MEJORADA
   ===================================================== */

/* Sticky filters funcionando */
.portfolio-filters-section.sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .portfolio-filters-section.sticky {
    background: rgba(45, 52, 54, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1);
}

.sticky-placeholder {
    display: none;
}

.sticky-placeholder.active {
    display: block;
    height: 80px; /* Altura aproximada de la sección de filtros */
}

/* Mejorar legibilidad de textos */
.welcome-page .section-concept h1,
.welcome-page .section-concept h2,
.welcome-page .section-concept h3,
.welcome-page .section-concept h4,
.welcome-page .section-concept h5 {
    color: var(--cd-light) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.welcome-page .section-concept p,
.welcome-page .section-concept .custom-font-size-1 {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Headers principales con mejor contraste */
.welcome-page h2,
.welcome-page h3,
.welcome-page h4 {
    color: var(--cd-text-primary) !important;
}

[data-theme="dark"] .welcome-page h2,
[data-theme="dark"] .welcome-page h3,
[data-theme="dark"] .welcome-page h4 {
    color: var(--cd-light) !important;
}

/* Filtros con mejor legibilidad */
.filter-link {
    color: var(--cd-text-primary) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

[data-theme="dark"] .filter-link {
    color: var(--cd-light) !important;
    background: rgba(45, 52, 54, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.filter-link:hover,
.filter-link.active {
    background: var(--cd-gradient-primary) !important;
    color: white !important;
    border-color: var(--cd-primary) !important;
    text-shadow: none !important;
}

/* Asegurar legibilidad en trust metrics */
.trust-metric__number {
    color: var(--cd-primary) !important;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.trust-metric__label {
    color: var(--cd-text-secondary) !important;
}

[data-theme="dark"] .trust-metric__label {
    color: var(--cd-light) !important;
}

/* =================== CORRECCIONES ADICIONALES =================== */

/* Sección de Integraciones - bg-color-grey */
.section.section-angled.bg-color-grey h2,
.section.section-angled.bg-color-grey h5,
.section.section-angled.bg-color-grey p {
    color: var(--cd-dark) !important;
    text-shadow: none !important;
}

.section.section-angled.bg-color-grey .text-primary {
    color: var(--cd-primary) !important;
}

/* Sección 50+ */
.section.section-funnel h2 b,
.section.section-funnel h2 span,
.section.section-funnel p {
    color: var(--cd-dark) !important;
    text-shadow: none !important;
}

/* Módulos Premium - Bordes redondeados y mejor contrast */
.bg-color-dark-100 {
    background-color: rgba(45, 52, 54, 0.8) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-style: solid !important;
    transition: all 0.3s ease !important;
}

.bg-color-dark-100:hover {
    border-color: rgba(0, 255, 255, 0.3) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.bg-color-dark-100 h4 {
    color: white !important;
    font-weight: 700 !important;
}

.bg-color-dark-100 p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Layouts Especializados - mejor contraste */
.section.bg-light h4.text-dark {
    color: var(--cd-dark) !important;
}

.section.bg-light p.text-3 {
    color: rgba(45, 52, 54, 0.8) !important;
}
