@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #003264;
    /* Azul SmartCode */
    --primary-light: #143d72;
    --secondary: #fab414;
    /* Amarillo Dorado */
    --tertiary: #78c800;
    /* Verde */
    --text-dark: #001a33;
    --text-gray: #546e7a;
    --bg-light: #f4f7fa;
    --white: #ffffff;
    --text-white-900: #fbfbfbEE;
    --radius: 16px;
    --shadow: 0 10px 30px -5px rgba(0, 50, 100, 0.08);
    --shadow-hover: 0 20px 40px -5px rgba(0, 50, 100, 0.15);
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}

p {
    color: var(--text-gray);
    font-weight: 400;
}

a,
button {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =========================================
   2. HEADER & MENU
   ========================================= */
.header-area {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    background: transparent;
}

.header-top_area {
    background: #00254a;
    padding: 8px 0;
    font-size: 14px;
}

.top-btn {
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
}

.top-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

.top-btn.whatsapp:hover {
    background: var(--tertiary);
    color: white;
}

.short_contact_list a,
.social_media_links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 20px;
}

.social_media_links a:hover {
    color: var(--secondary);
}

/* Sticky Header */
.main-header-area {
    background: var(--primary);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.logo-header {
    height: 50px;
    width: auto;
}

.logo-container {
    padding: 4px;
    background-color: #FFF;
    width: fit-content;
    border-radius: 16px;
}
.logo-container > img{
    height: 62px;
}

.main-menu ul li {
    display: inline-block;
    position: relative;
    margin: 0 15px;
}

.main-menu ul li a {
    color: var(--text-white-900);
    font-weight: 600;
    font-size: 15px;
    padding: 25px 0;
    display: block;
}

.main-menu ul li:hover>a {
    color: var(--secondary);
}

/* Submenu */
.main-menu ul li .submenu {
    position: absolute;
    left: 0;
    top: 120%;
    background: #FFFFFFEE;
    width: 280px;
    z-index: 9;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    border-top: 4px solid var(--secondary);
}

.main-menu ul li:hover .submenu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.main-menu ul li .submenu li {
    display: block;
    margin: 0;
}

.main-menu ul li .submenu li a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.main-menu ul li .submenu li:hover a {
    color: var(--primary);
    background: var(--bg-light);
    padding-left: 25px;
}

/* Scrollable submenu for many products */
.scrollable-submenu {
    max-height: 400px;
    overflow-y: auto;
}

/* CTA Button in Header */
.btn-cta {
    font-size: 14px;
    color: #fff;
    background-color: #014181;
    border: 1px solid #FFFFFF40;
    border-radius: 60px;
}

.btn-cta:hover {
    color: #fff;
    background-color: #013a72;
    border: 1px solid #FFFFFF40;
}

.btn-cta:active {
    color: #fff;
    background-color: #013a72;
    border: 1px solid #FFFFFF40;
    margin-top: 2px;
}

/* =========================================
   3. HERO SLIDER
   ========================================= */
.slider_area {
    margin-top: 110px;
    /* Compensate fixed header */
}

.single_slider {
    height: 650px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.single-slider.bg-intense {
    background: rgba(0, 50, 100, 0.92) !important;
}

.overlay2 {
    background-color: var(--primary) !important;
}

.overlay2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 50, 100, 0.95) 0%, rgba(0, 50, 100, 0.6) 100%);
}

.slider_bg_1 {
    background-image: url(../img/banner/sliderUno.png);
}

/* line 4, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/_slider.scss */
.slider_bg_2 {
    background-image: url(../img/banner/sliderDos.png);
}

/* line 4, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/_slider.scss */
.slider_bg_3 {
    background-image: url(../img/banner/sliderTres.png);
}

/* line 4, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/_slider.scss */
.slider_bg_4 {
    background-image: url(../img/banner/sliderCuatro.png);
}

/* line 4, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/_slider.scss */
.slider_bg_5 {
    background-image: url(../img/banner/sliderCinco.png);
}

/* line 4, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/_slider.scss */
.slider_bg_6 {
    background-image: url(../img/banner/sliderSeis.png);
}

/* line 4, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/_slider.scss */
.slider_bg_7 {
    background-image: url(../img/banner/sliderSiete.png);
}

/* line 4, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/_slider.scss */
.slider_bg_8 {
    background-image: url(../img/banner/sliderOcho.png);
}

/* line 4, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/_slider.scss */
.slider_bg_9 {
    background-image: url(../img/banner/sliderNueve.png);
}

/* line 4, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/_slider.scss */
.slider_bg_1_proyectos_en_desarrollo {
    background-image: url(../img/elements/fondoEtna.png);
    /*background-color: #222;*/
}

.slider_bg_2_proyectos_en_desarrollo {
    background-image: url(../img/elements/fondoIndustriaDelEnvase.png);
    /*background-color: #222;*/
}

.slider_bg_3_proyectos_en_desarrollo {
    background-image: url(../img/elements/fondoCamerfirma.png);
    /*background-color: #222;*/
}

.slider_bg_4_proyectos_en_desarrollo {
    background-image: url(../img/elements/fondoUnetealProgramadeSMARTCODEPartners.png);
    /*background-color: #222;*/
}

.slider_bg_5_proyectos_en_desarrollo {
    background-image: url(../img/elements/fondoBP.png);
    /*background-color: #222;*/
}

.slider_bg_6_proyectos_en_desarrollo {
    background-image: url(../img/elements/fondoEvafarma.png);
    /*background-color: #222;*/
}

.slider_text {
    position: relative;
    z-index: 2;
    color: white;
}

.badge-hero {
    background: var(--secondary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.slider_text h3 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.slider_text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 300;
}

/* =========================================
   4. BUTTONS
   ========================================= */
.boxed-btn3 {
    background: var(--secondary);
    color: var(--primary) !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(250, 180, 20, 0.3);
}

.boxed-btn3:hover {
    background: #ffc947;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 180, 20, 0.5);
}

/* =========================================
   5. PRODUCTS (CARDS)
   ========================================= */
.service_area {
    padding: 100px 0;
}

.section_title h3 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
}

.card-grid {
    margin-top: 50px;
    row-gap: 30px;
}

.single_service {
    background: white;
    border-radius: var(--radius);
    padding: 40px 30px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.single_service:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.single_service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary);
}

.product-code {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    color: #ccc;
    font-weight: 600;
}

.icon-box img {
    height: 80px;
    object-fit: contain;
    margin-bottom: 25px;
}

.single_service h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.single_service p {
    font-size: 15px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.link-btn {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--bg-light);
}

.link-btn:hover {
    background: var(--primary);
    color: white;
}

.link-btn.small {
    padding: 5px 15px;
    font-size: 12px;
}

/* =========================================
   6. ABOUT US & RUBROS
   ========================================= */
.about_info_area {
    padding: 100px 0;
    background: white;
}

.rubros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rubro-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
}

.rubro-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.rubro-card img {
    height: 50px;
    margin-bottom: 10px;
}

.rubro-card h5 {
    font-size: 15px;
    margin: 0;
    color: var(--text-dark);
}

/* =========================================
   7. STATS
   ========================================= */
.counter_area {
    background: var(--primary);
    padding: 80px 0;
}

.single_counter .counter_icon img {
    filter: brightness(0) invert(1);
    width: 50px;
    margin-bottom: 15px;
}

.single_counter h3 {
    color: var(--secondary);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
}

.single_counter p {
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   8. CLIENTS LOGOS
   ========================================= */
.case_study_area {
    padding: 80px 0;
    background: white;
}

.slide-client {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
    padding: 0 20px;
    max-height: 60px;
    width: auto;
    margin: 0 auto;
}

.slide-client:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* =========================================
   9. TESTIMONIALS
   ========================================= */
.testimonial_area {
    background: var(--primary-light);
    padding: 100px 0;
}

.single_testmonial p {
    color: white;
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
    margin: 30px 0;
}

.testmonial_author .thumb img {
    width: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testmonial_author h3 {
    color: var(--secondary);
    font-size: 18px;
    margin-bottom: 5px;
}

.testmonial_author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* =========================================
   10. CONTACT FORM
   ========================================= */
.contact_form_quote {
    background: var(--bg-light);
    padding: 100px 0;
}

.form_wrap {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form_wrap h3 {
    margin-bottom: 30px;
}

.form_wrap input,
.form_wrap textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: var(--font-main);
}

.form_wrap input:focus,
.form_wrap textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.contact_thumb img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* =========================================
   11. FOOTER
   ========================================= */
.footer {
    background: var(--primary);
    color: white;
    padding-top: 80px;
}

.footer_widget .footer_title {
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 30px;
}

.footer_widget ul li {
    margin-bottom: 10px;
}

.footer_widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer_widget ul li a:hover {
    color: white;
    padding-left: 5px;
}

.newsletter_form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    height: 50px;
    padding: 0 20px;
    width: 100%;
    margin-bottom: 10px;
}

.newsletter_form button {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    height: 50px;
    width: 100%;
    font-weight: 700;
    cursor: pointer;
}

.copy-right_text {
    background: #00254a;
    padding: 20px 0;
    margin-top: 50px;
}

.copy_right {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* =========================================
   ECOSYSTEM BENTO GRID (Noticias & Proyectos)
   ========================================= */
.ecosystem-area {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-subtitle {
    display: block;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Grid Layout */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 0 15px;
}

/* Card Styles */
.eco-card {
    position: relative;
    height: 350px;
    border-radius: var(--radius);
    overflow: visible;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.eco-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 50, 100, 0.2);
}

/* Dark Overlay Gradient */
.eco-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 50, 100, 0.1) 0%, rgba(0, 50, 100, 0.9) 60%, rgba(0, 30, 60, 1) 100%);
    transition: background 0.3s ease;
}

.eco-card:hover .eco-overlay {
    background: linear-gradient(180deg, rgba(0, 50, 100, 0.3) 0%, rgba(0, 50, 100, 0.95) 50%, #001a33 100%);
}

/* Content Positioning */
.eco-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: white;
}

/* Logos inside cards */
.eco-logo-bg {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.eco-logo-bg img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.eco-logo-bg>.insdustria-del-envase-logo-grande-in-card {
    height: 60px;
}

.eco-logo-bg .plus {
    color: var(--primary);
    font-weight: 800;
    font-size: 18px;
}

/* Typography */
.eco-content h4 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.eco-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    /* Efecto para limitar texto a 3 lineas si es muy largo */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link Style */
.eco-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.eco-link:hover {
    color: white;
    padding-left: 5px;
}

/* Badge for Partner */
.eco-badge {
    position: absolute;
    top: -4px;
    /* Start hidden or move to top right inside card */
    right: 20px;
    background: var(--secondary);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 0 0 12px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Highlight Card (Partner Program) */
.highlight-card {
    border: 2px solid var(--secondary);
}

.highlight-card .eco-overlay {
    background: linear-gradient(135deg, rgba(0, 50, 100, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.expertise-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* --- Left Column: Content --- */
.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.brand-tag img {
    height: 20px;
    width: auto;
}

.brand-tag span {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-content h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.text-highlight {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

/* Subrayado amarillo estilo marcador */
.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(250, 180, 20, 0.3);
    /* Color secundario semi-transparente */
    z-index: -1;
}

.expertise-highlight {
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin-bottom: 25px;
}

.expertise-highlight p {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
    font-style: italic;
    margin: 0;
}

.expertise-desc {
    color: var(--text-gray);
    margin-bottom: 35px;
    font-size: 16px;
}

.btn-arrow {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: 0.3s;
}

.btn-arrow:hover {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    gap: 15px;
    /* Flecha se mueve */
}

/* --- Right Column: Industries Grid --- */
.industries-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 24px;
    /* Radio grande moderno */
    position: relative;
}

.grid-label {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columnas */
    gap: 20px;
}

.ind-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    cursor: default;
}

.ind-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 50, 100, 0.08);
    border-color: rgba(250, 180, 20, 0.3);
    /* Borde dorado sutil */
}

.ind-icon {
    height: 50px;
    width: 50px;
    min-width: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.ind-card:hover .ind-icon {
    /* background: var(--primary); */
    /* Icono fondo azul al hover */
}

.ind-icon img {
    height: 28px;
    width: auto;
    object-fit: contain;
    transition: 0.3s;
}

.ind-card:hover .ind-icon img {
    /* filter: brightness(0) invert(1); */
    /* Icono se vuelve blanco */
}

.ind-info h5 {
    font-size: 16px;
    margin: 0;
    color: var(--primary);
    font-weight: 700;
}

.ind-info span {
    font-size: 12px;
    color: var(--text-gray);
    display: block;
    margin-top: 3px;
}

.counter_bg_1 {
    background-image: url(../img/banner/teclado.png);
}

.overlay_03 {
    position: relative;
    z-index: 0;
}

/* line 179, ../../Arafath/CL/CL October/216. Consulting/HTML/scss/theme-default.scss */
.overlay_03::before {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #001D38;
    opacity: .6;
    content: '';
    z-index: -1;
}

.stats-section {
    padding: 60px 0 100px 0;
    position: relative;
}

/* El Contenedor Principal (La Tarjeta Flotante) */
.stats-wrapper {
    background: linear-gradient(145deg, var(--primary) 0%, #001a33 100%);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 50, 100, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Patrón de fondo sutil (Tech dots) */
.stats-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

/* Badge Flotante "Impacto Real" */
.stats-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background: var(--secondary);
    color: var(--primary);
    padding: 5px 20px;
    border-radius: 0 0 15px 15px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(250, 180, 20, 0.4);
    z-index: 2;
}

/* Items individuales */
.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Fondo de iconos (Glassmorphism) */
.stat-icon-bg {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon-bg img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    /* Iconos blancos */
}

/* Tipografía de los números */
.stat-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 5px 0 0 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Highlight para el último número (Dinero) */
.text-gold {
    color: var(--secondary) !important;
    text-shadow: 0 0 20px rgba(250, 180, 20, 0.3);
}

/* Divisor Vertical */
.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 0 15px;
}


.reviews-section {
    padding: 100px 0;
    /* Fondo oscuro corporativo con patrón sutil */
    background-color: var(--primary);
    background-image:
        linear-gradient(rgba(0, 50, 100, 0.95), rgba(0, 26, 51, 0.98)),
        url('../img/banner/testimonios.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Efecto Parallax sutil */
}

/* Títulos en fondo oscuro */
.reviews-section h3.text-white {
    color: #fff !important;
}

.text-gold {
    color: var(--secondary) !important;
    position: relative;
    display: inline-block;
}

/* Tarjeta de Testimonio */
.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    margin: 15px;
    /* Espacio para la sombra */
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border-bottom: 5px solid var(--secondary);
    /* Línea inferior dorada */
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
}

/* Header: Avatar + Info */
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.author-img img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-light);
}

.author-info h5 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--primary);
}

.author-info span {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Body: Estrellas + Texto */
.review-body .stars {
    color: #ffc107;
    /* Amarillo estrella */
    font-size: 14px;
    margin-bottom: 15px;
}

.review-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin: 0;
}

/* Watermark: Comilla gigante decorativa */
.quote-watermark {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 80px;
    color: rgba(0, 50, 100, 0.05);
    /* Marca de agua muy sutil */
    line-height: 1;
    pointer-events: none;
}

/* Ajustes del Carousel Dots */
.modern-testimonial-slider .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.modern-testimonial-slider .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3) !important;
    display: block;
    border-radius: 50%;
    margin: 0 5px;
    transition: 0.3s;
}

.modern-testimonial-slider .owl-dot.active span {
    background: var(--secondary) !important;
    transform: scale(1.3);
}

.trusted-partners-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Título */
.trusted-partners-section h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Wrapper para controlar el desvanecimiento lateral */
.marquee-wrapper {
    position: relative;
    padding: 20px 0;
}

/* Efecto de desvanecimiento (Fade) a los lados */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

/* Estilo de la Tarjeta de Logo */
.partner-card {
    background: #fff;
    border-radius: 12px;
    height: 100px;
    /* Altura fija */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    /* Espacio entre tarjetas */
    box-shadow: 0 4px 15px rgba(0, 50, 100, 0.03);
    /* Sombra muy sutil */
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    padding: 15px;
}

/* Efecto Hover en la Tarjeta */
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 50, 100, 0.1);
    border-color: rgba(250, 180, 20, 0.2);
    /* Borde dorado sutil */
}

/* Estilo de la Imagen */
.partner-card img {
    max-height: 60px;
    max-width: 100%;
    width: auto !important;
    /* Sobrescribir slick slider width */
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
    display: block;
}

/* Hover en la Imagen (Recupera color) */
.partner-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Texto inferior */
.trust-footer {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 30px;
}

.link-underline {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--secondary);
    text-decoration-thickness: 2px;
}

.link-underline:hover {
    color: var(--secondary);
    text-decoration: none;
}

.footer-modern {
    background-color: var(--primary);
    background-image: linear-gradient(180deg, var(--primary) 0%, #001224 100%);
    color: #fff;
    padding-top: 80px;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

/* Patrón de fondo sutil */
.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.footer-top {
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

/* Logo Principal */
.footer-logo .main-logo {
    height: 60px;
    /* Logo SmartCode más grande */
    width: auto;
    margin-bottom: 15px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Badge SAP (La pastilla blanca) */
.sap-partner-badge {
    background: transparent;
    border-radius: 4px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: none;
    transition: transform 0.3s;
}


.sap-partner-badge img {
    height: 24px;
    width: auto;
    filter: brightness(1.2);
    display: block;
}

.sap-partner-badge .partner-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-white-900);
    opacity: .5;
    text-transform: uppercase;
    line-height: 1.2;
    border-right: 1px solid #ddd;
    padding-right: 12px;
    text-align: right;
}

/* Contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.contact-link i {
    color: var(--secondary);
}

.contact-link:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* Títulos de Widgets */
.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

/* Línea decorativa bajo el título */
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Links de Navegación */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
    /* Efecto deslizamiento moderno */
}

/* Newsletter Moderno */
.newsletter-modern .input-group {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 5px;
    display: flex;
}

.newsletter-modern input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 20px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.newsletter-modern input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-modern button {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
    position: absolute;
    right: 8px;
}

.newsletter-modern button:hover {
    background: #fff;
    transform: rotate(-45deg);
    /* Pequeña animación */
}

/* Redes Sociales */
.social-modern h5 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Copyright Bar */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.copyright-text,
.address-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.hero-modern-area {
    position: relative;
    padding: 180px 0 100px 0;
    /* Espacio superior para el header fijo */
    background-color: var(--primary);
    overflow: hidden;
    min-height: 100vh;
    /* Ocupa al menos toda la pantalla */
    display: flex;
    align-items: center;
}

div:where(.swal2-container) div:where(.swal2-popup) {
    font-family: var(--font-main) !important; /* Outfit */
    border-radius: 24px !important;
    padding: 2em !important;
    box-shadow: 0 25px 50px rgba(0, 50, 100, 0.25) !important;
}

/* Título */
div:where(.swal2-container) h2:where(.swal2-title) {
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 28px !important;
}

/* Texto */
div:where(.swal2-container) .swal2-html-container {
    color: var(--text-gray) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

/* Botón de Confirmación */
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 20px rgba(0, 50, 100, 0.2) !important;
    transition: 0.3s !important;
    font-size: 15px !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:hover {
    background-color: var(--secondary) !important;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(250, 180, 20, 0.3) !important;
    background-image: none !important; /* Quitar degradado default */
}

/* Iconos Animados */
.swal2-icon.swal2-success {
    border-color: var(--tertiary) !important;
    color: var(--tertiary) !important;
}
.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: var(--tertiary) !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
    border: .25em solid rgba(120, 200, 0, 0.2) !important;
}

/* Fondos y Efectos */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 50, 100, 0.9), rgba(0, 26, 51, 0.95)),
        url('../img/banner/sliderUno.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 180, 20, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-modern-area .container {
    position: relative;
    z-index: 2;
}

/* --- Columna Izquierda (Contenido) --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.1;
    color: #fff;
    font-weight: 800;
    margin-bottom: 25px;
}

.text-gradient {
    background: linear-gradient(to right, #fff 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 12px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botón de Video */
.video-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.video-btn .play-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    position: relative;
}

.video-btn:hover .play-icon {
    background: var(--secondary);
    color: var(--primary);
    transform: scale(1.1);
}

.video-btn:hover {
    color: var(--secondary);
}

/* Trust Logos (Mini) */
.trust-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-logos img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.more-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* --- Columna Derecha (Services Hub) --- */
.services-hub-wrapper {
    background: rgba(255, 255, 255, 0.05);
    /* Glass oscuro */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hub-header h6 {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 700;
}

.services-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columnas */
    gap: 15px;
}

/* Tarjeta individual del Hub */
.hub-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.hub-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: rgba(250, 180, 20, 0.3);
}

.hub-card.highlight {
    background: rgba(250, 180, 20, 0.1);
    border-color: rgba(250, 180, 20, 0.2);
}

.hub-card.highlight:hover {
    background: rgba(250, 180, 20, 0.2);
}

.hub-icon {
    min-width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 16px;
}

.hub-info h5 {
    font-size: 14px;
    color: #fff;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.hub-info p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
}

.contact-modern-section {
    padding: 100px 0;
    background-color: var(--primary);
    /* Azul SmartCode */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Patrón de fondo abstracto */
.contact-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 2px, transparent 2px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
}

/* --- Columna Izquierda (Info) --- */
.section-tag {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 15px;
    display: inline-block;
}

.contact-info-wrapper h2 {
    font-size: 42px;
    font-weight: 800;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
    gap: 20px;
}

.info-item .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 20px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:hover .icon-box {
    background: var(--secondary);
    color: var(--primary);
    transform: scale(1.1);
}

.info-text span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-text h5 {
    color: #fff;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

/* --- Columna Derecha (Form Card) --- */
.contact-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-gray);
    font-size: 15px;
}

/* Inputs Modernos */
.modern-input-group {
    position: relative;
    margin-bottom: 25px;
}

.modern-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.modern-input-group input,
.modern-input-group textarea {
    width: 100%;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 15px 20px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-dark);
    transition: 0.3s;
}

/* Efecto Focus */
.modern-input-group input:focus,
.modern-input-group textarea:focus {
    background: #fff;
    border-color: rgba(0, 50, 100, 0.15);
    box-shadow: 0 5px 15px rgba(0, 50, 100, 0.05);
    outline: none;
}

/* Animación de borde inferior (Focus Border) */
.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: 0.4s;
    z-index: 2;
}

.modern-input-group input:focus~.focus-border,
.modern-input-group textarea:focus~.focus-border {
    width: 100%;
    left: 0;
}

/* Botón Ajuste */
.contact-card button {
    margin-top: 10px;
    padding: 16px;
    font-size: 16px;
}

.cta-banner-section {
    padding: 0 0 80px 0;
    /* Padding inferior para separar del footer */
    background-color: var(--primary);
    /* Mismo fondo que contacto para continuidad visual */
    position: relative;
    z-index: 2;
}

/* El contenedor flotante */
.cta-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    padding: 50px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Formas decorativas abstractas */
.cta-shape-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
}

.cta-shape-2 {
    position: absolute;
    bottom: -30px;
    left: 20%;
    width: 100px;
    height: 100px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
}

/* Contenido */
.cta-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tertiary);
    /* Verde */
    background: rgba(120, 200, 0, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.cta-content h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 800;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
    max-width: 600px;
}

/* Botón WhatsApp Pulsante */
.btn-whatsapp-pulse {
    background: #25D366;
    /* Color oficial WhatsApp */
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-whatsapp-pulse i {
    font-size: 20px;
}

.btn-whatsapp-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-whatsapp-pulse:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

.btn-whatsapp-pulse:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}


.ecosystem-area {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header-left {
    margin-bottom: 30px;
    border-left: 5px solid var(--secondary);
    padding-left: 20px;
}

.section-header-left h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary);
}

.section-header-left p {
    margin: 0;
    color: var(--text-gray);
}

/* Grids */
.ecosystem-grid {
    display: grid;
    gap: 25px;
}

/* Grid Alianzas: Tarjetas más grandes y visuales */
.alliance-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Grid Casos: Tarjetas compactas tipo dashboard */
.cases-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* --- ESTILO 1: Tarjetas de Alianza (Oscuras/Imagen) --- */
.eco-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.highlight-card {
    border: 2px solid var(--secondary);
    height: 350px;
    background-size: cover;
    background-position: center;
}

/* Tarjetas oscuras sin imagen (Brasil/México) */
.dark-card {
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, #001a33 100%);
    height: 350px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.eco-content {
    padding: 25px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Badge de País/Bandera */
.eco-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.flag-img {
    width: 28px;       /* Tamaño consistente */
    height: auto;      /* Mantener proporción */
    border-radius: 4px; /* Bordes suaves */
    box-shadow: 0 2px 5px rgba(0,0,0,0.15); /* Sombra sutil para destacar sobre fondo */
    object-fit: cover;
    display: block;
}

/* Ajuste para alinear imagen y texto en el header */
.eco-header-row {
    display: flex;
    align-items: center;
    gap: 12px; /* Un poco más de espacio entre bandera y texto */
    margin-bottom: 15px;
}

.company-name {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

/* Listas en modo oscuro */
.project-list-wrapper.dark-mode ul li {
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-list-wrapper.dark-mode ul li::before {
    background-color: var(--secondary);
    /* Punto amarillo */
}

/* Texto Dorado */
.text-gold {
    color: var(--secondary) !important;
}

.text-primary-light {
    color: #4fc3f7 !important;
    /* Azul claro para destacar en fondo oscuro */
}

/* --- ESTILO 2: Tarjetas de Casos (Blancas/Técnicas) --- */
.white-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 50, 100, 0.05);
    height: 100%;
    /* Altura automática basada en contenido */
    min-height: 320px;
}

.white-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 50, 100, 0.1);
    border-color: var(--secondary);
}

/* Barra decorativa superior */
.card-top-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, var(--primary) 0%, var(--secondary) 100%);
}

.white-card .company-name {
    color: var(--primary);
    font-size: 18px;
}

.project-title {
    font-size: 15px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

/* Lista con Scroll (Para listas largas como Concyssa) */
.project-list-wrapper {
    flex-grow: 1;
    /* Ocupa el espacio disponible */
    max-height: 180px;
    /* Altura máxima antes del scroll */
    overflow-y: auto;
    /* Scroll si es necesario */
    margin-bottom: 20px;
    padding-right: 5px;
    /* Espacio para scrollbar */
}

/* Personalizar Scrollbar */
.project-list-wrapper::-webkit-scrollbar {
    width: 4px;
}

.project-list-wrapper::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}

.project-list-wrapper ul {
    padding: 0;
    list-style: none;
}

.project-list-wrapper ul li {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    line-height: 1.5;
}

.project-list-wrapper ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

/* Enlaces */
.eco-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    /* Empujar al fondo */
    color: #fff;
    transition: 0.3s;
}

.eco-link.blue {
    color: var(--primary);
}

.eco-link:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.small-btn {
    padding: 10px 20px;
    font-size: 13px;
}



/* Overlay para tarjetas con fondo imagen */
.eco-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 50, 100, 0.4) 0%, rgba(0, 20, 40, 0.95) 100%);
    z-index: 1;
}

.hero-desc-flags-container {
    display: flex;
    gap: 4px;
}
.hero-desc-flag {
    height: 14px;
    width: auto;
}
.hero-desc-second-text {
      color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    font-weight: 300;
}

/* =========================================
   12. RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
    .cta-wrapper {
        padding: 40px 25px;
        text-align: center;
    }
    .hero-desc-flags-container {
        justify-content: center;
    }

    .cta-content p {
        margin: 0 auto;
        /* Centrar texto en móvil */
    }

    .header-area {
        position: relative;
        background: var(--primary);
    }

    .slider_area {
        margin-top: 0;
    }

    .slider_text h3 {
        font-size: 36px;
    }

    .single_slider {
        height: auto;
        padding: 100px 0;
    }

    .main-menu {
        display: none;
        /* Use slicknav for mobile */
    }

    .rubros-grid {
        margin-top: 30px;
    }

    .expertise-content h2 {
        font-size: 36px;
    }

    .industries-wrapper {
        padding: 25px;
        margin-top: 40px;
    }

    .stat-item {
        margin-bottom: 30px;
        justify-content: flex-start;
        /* Alinear a la izquierda en tablet */
    }

    .stats-wrapper {
        padding: 40px 20px;
    }

    /* En móvil ocultamos los divisores verticales y centramos si se prefiere */
    .stat-divider {
        display: none;
    }

    .hero-modern-area {
        padding: 120px 0 80px 0;
        height: auto;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-badge {
        margin: 0 auto 20px auto;
    }

    .hero-desc {
        margin: 0 auto 30px auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-logos {
        justify-content: center;
    }

    .services-hub-wrapper {
        padding: 20px;
    }

    .contact-modern-section {
        padding: 60px 0;
    }

    .contact-info-wrapper {
        margin-bottom: 50px;
        text-align: center;
    }

    .info-item {
        justify-content: center;
        text-align: left;
        /* Mantener texto alineado a la izq respecto al icono */
    }

    .contact-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {

    .highlight-card,
    .dark-card {
        height: auto;
        min-height: 300px;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .eco-card {
        height: 380px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        /* 1 columna en móvil */
    }


    .ind-card {
        padding: 15px;
    }


    .stat-item {
        flex-direction: column;
        /* Icono arriba, texto abajo en móvil */
        text-align: center;
        gap: 15px;
    }

    .stat-icon-bg {
        margin: 0 auto;
        /* Centrar icono */
    }

    .marquee-wrapper::before,
    .marquee-wrapper::after {
        width: 50px;
        /* Reducir fade en móvil */
    }

    .partner-card {
        height: 80px;
        margin: 5px;
    }

    .partner-card img {
        max-height: 45px;
    }

    .footer-widget {
        margin-bottom: 40px;
    }

    .pl-lg-5 {
        padding-left: 0 !important;
    }

    .footer-bottom {
        text-align: center;
    }

    .text-md-right {
        text-align: center !important;
        margin-top: 10px;
    }

    .services-hub-grid {
        grid-template-columns: 1fr;
        /* 1 columna en móviles pequeños */
    }

    .hub-card {
        padding: 12px;
    }

    .contact_thumb {
        margin: 0 auto;
    }

    .contact_thumb img {
        height: 320px;
        width: auto;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columnas en tablet */
    }

}

@media (max-width: 575px) {
    .industries-grid {
        grid-template-columns: 1fr;
        /* 1 columna en móvil */
    }

    .ind-card {
        padding: 15px;
    }
}