/* ========================================
   CLUSTER DATA - STYLESHEET
   Identidad de marca oficial
   ======================================== */

/* ========== TIPOGRAFÍAS PERSONALIZADAS ========== */
@font-face {
    font-family: 'Zalando Sans';
    src: url('tipografia/ZalandoSansSemiExpanded-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Zalando Sans';
    src: url('tipografia/ZalandoSansSemiExpanded-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

@font-face {
    font-family: 'Stack Sans Notch';
    src: url('tipografia/StackSansNotch-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Urbanist';
    src: url('tipografia/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* ========== VARIABLES DE COLOR ========== */
:root {
    /* Colores oficiales Cluster Data */
    --turquoise: #5ac1ab;
    --orange: #e74324;
    --lime: #d4e384;
    --beige: #edeedc;
    --black: #000000;
    --white: #ffffff;
    
    /* Colores complementarios */
    --gray-text: #666666;        /* Para todo el texto cuerpo */
    --gray-heading: #333333;     /* Para subtítulos h3, h4 */
    --gray-bg: #f5f5f5;         /* Para fondos */
    --gray-border: #e5e5e5;     /* Para bordes si se necesitan */

     /* Sistema de sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);

    /* Variable de tamaño para botones destacados */
    --btn-large-padding: 1.5rem 4rem; 
    --btn-large-font: 1.2rem;
}

/* ========== RESET Y BASE ========== */
/* Bloqueo de scroll horizontal global */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box; /* Asegura que el padding no aumente el ancho */
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-heading);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ========== NAVEGACIÓN ========== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--beige); 
    z-index: 1000;
    transition: all 0.3s ease; 
    height: 100px;
}

nav.scrolled {
    background: rgba(237, 238, 220, 0.2); 
    backdrop-filter: blur(10px); 
    height: 100px; 
    box-shadow: var(--shadow-sm);
}

nav.scrolled .nav-container {
    height: 100px;
}

.nav-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; 
    overflow: visible; 
}

.logo-isotipo {
    width: 300px;             
    height: auto;
    opacity: 0;                
    transform: translateY(-20px); 
    transition: all 0.6s ease-in-out; 
    filter: none !important;    
}

nav.scrolled .logo-isotipo {
    opacity: 1;
    transform: translateY(0);
}

/* Quitamos el scale gigante en el hover para que no tape el menú */
.logo-isotipo:hover {
    transform: scale(1.1); 
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--gray-heading);
    text-decoration: none;
    font-weight: 600; 
    font-size: 1.3rem; 
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--turquoise);
}

.nav-cta {
    background: var(--black);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--turquoise);
    transform: translateY(-3px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
}

/* ========== HERO SECTION ========== */
/* Ajuste de la sección Hero para albergar el video */
.hero {
    position: relative;
    height: 100vh; /* Ocupa toda la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--black); /* Fondo de seguridad */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción del video */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.hero-center-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    text-align: center;
    padding-top: 80px; 
    width: 100%;
}

.hero-main-logo {
    width: 300px; 
    height: 120px;
    transform: scale(4.5); 
    object-fit: contain;
    display: block;
    margin: 0 auto; 
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.hero-title-impact {
    font-family: 'Zalando Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    max-width: 850px;
    
    /* Margen negativo para subir el texto y pegarlo al logo */
    margin-top: 20px; 
    line-height: 1.1;
}
.center-buttons {
    justify-content: center;
    margin-top: 3rem;
}

/* ========== BOTONES ========== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ========== SISTEMA DE BOTONES ========== */

/* Botón base */
.btn {
    display: inline-block;
    padding: 1.3rem 2rem;
    border-radius: 50px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

/* Botón primario (turquesa) */
.btn-primary,
.btn-agenda {
    background: var(--turquoise);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(90, 193, 171, 0.3);
}

.btn-primary:hover,
.btn-agenda:hover {
    background: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 67, 36, 0.4);
}

/* Botón secundario (negro) */
.btn-secondary,
.nav-cta {
    background: var(--black);
    color: var(--white) !important;
}

.btn-secondary:hover,
.nav-cta:hover {
    background: var(--turquoise);
    transform: translateY(-3px);
}

/* Botón outline */
.btn-outline {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}


/* ========== SECTIONS ========== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
}

h2 {
    font-family: 'Zalando Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-text);
    line-height: 1.7;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 12rem 0;
    background-color: var(--white);
}

/* ========== JERARQUÍA DE TÍTULOS ========== */

/* H1 - Títulos principales de página */
h1, .massive-text {
    font-family: 'Zalando Sans', sans-serif !important;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 1.5rem;
}

/* H2 - Títulos de sección */
h2 {
    font-family: 'Zalando Sans', sans-serif !important;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--black);
    margin-bottom: 1rem;
}

/* H3 - Subtítulos importantes */
h3 {
    font-family: 'Zalando Sans', sans-serif !important;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 0.75rem;
}

/* H4 - Títulos menores */
h4 {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--gray-heading);
    margin-bottom: 0.5rem;
}

/* Párrafos y texto cuerpo */
p {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-text);
    margin-bottom: 1rem;
}

/* Texto destacado / Lead */
.lead-text {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--black);
}

/* Labels y tags */
.stat-label, 
.section-label, 
.blog-meta,
.service-tag,
.case-label {
    font-family: 'Stack Sans Notch', sans-serif !important;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.text-turquoise { color: var(--turquoise); }

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--black);
}

/* Layout de información dividida */
.split-content {
    display: grid; 
    grid-template-columns: 1.2fr 1fr;
    gap: 8rem;
    border-top: 2px solid var(--turquoise);
    padding-top: 4rem;
}

.lead-text {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 500;
    color: var(--black);
}

.stat-label, .section-label, .blog-meta {
    font-family: 'Stack Sans Notch', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

body, p, .lead-text {
    font-family: 'Urbanist', sans-serif;
}

.details-text {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.6;
    max-width: 450px;
}

/* ========== CASE STUDIES:========== */
.blog-section {
    padding: 10rem 0;
    background: var(--black);
    color: var(--white);
}

.blog-list {
    margin-top: 4rem;
}

.blog-item {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    text-decoration: none;
}

.blog-item h3 {
    font-family: 'Zalando Sans';
    font-size: 2.5rem;
    color: var(--black);
}

.blog-meta {
    font-family: 'Stack Sans Notch';
    color: var(--turquoise);
    font-size: 0.8rem;
}

/* ========== SOLUTIONS SECTION ========== */

.text-center {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.text-red {
    color: #e74324 !important; 
}

.massive-text.text-center {
    font-family: 'Zalando Sans', sans-serif !important;
    font-size: 4.5rem; 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 3rem;
    display: block;
}
.service-tag {
    text-align: center; 
    color: #5ac1ab !important; 
    font-weight: 800;
}

.solution-slide {
    text-align: center;
}

.solution-slide p {
    margin: 0 auto; /* Centra el párrafo descriptivo */
}

.brand-divider-full {
    width: 100%;
    height: 300px;        
    padding: 1 !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;          
    background: transparent; 
}

.oruguita-full-view {
    width: 100vw;
    height: auto;        
    max-width: 1800px;
    display: block;
    
    margin-top: 200px; 
    margin-bottom: -10px; 

    pointer-events: none; 
    animation: floatingOruquita 6s ease-in-out infinite;
}
.blog-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}


@media (min-width: 768px) {
    .oruguita-full-view {
        transform: rotate(-1deg) scale(1.05);
    }
}


.solutions-section {
    padding-top: 10rem !important;
    margin-top: 0 !important;
    padding:2rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.full-brand-pattern {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100vw;
    z-index: 0;
    opacity: 1; 
    pointer-events: none;
}

.slider-wrapper {
    position: relative;
    max-width: 1000px; /* Cajón más grande */
    margin: 4rem auto 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.solutions-slider {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 6rem;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.solution-slide {
    display: none !important; 
}

.solution-slide.active {
    display: block !important; 
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.service-tag {
    font-family: 'Urbanist', sans-serif;
    color: #00d1c1; 
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    display: block;
}

.solution-slide h3 {
    font-family: 'Zalando Sans', sans-serif !important;
    font-size: 4rem; 
    font-weight: 800;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.solution-slide p {
    font-family: 'Urbanist', sans-serif !important;
    font-size: 1.125rem;
    color: var(--gray-text);
    line-height: 1.7;
    max-width: 90%;
}

.slider-arrow {
    background: #000;
    color: #fff;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    position: absolute;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: #00d1c1;
    transform: scale(1.1);
}

.prev { left: -100px; }
.next { right: -100px; }

/* Ajuste móvil */
@media (max-width: 1100px) {
    .prev { left: 10px; }
    .next { right: 10px; }
    .solutions-slider { padding: 3rem; margin: 0 1rem; }
}
.slider-arrow {
    background: #000;
    color: #fff;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100; /* Siempre arriba */
}

.slider-arrow:hover {
    background: #00d1c1; /* Turquesa */
    transform: scale(1.1);
}

.prev { margin-right: -30px; position: relative; }
.next { margin-left: -30px; position: relative; }

/* Para que el slider no se vea cortado */
.solutions-slider {
    overflow: hidden;
    position: relative;
}

/* ========== PRODUCTS SECTION ========== */
.products-section .massive-text {
    padding: 0;
    font-family: 'Zalando Sans', sans-serif !important;
    font-size: clamp(5rem, 5vw, 5rem); 
    font-weight: 1800;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 0 !important;
}

.text-orange {
    color: var(--orange) !important;
}

.btn-product-discovery {
    background-color: var(--turquoise) !important; 
    color: var(--white) !important;
    padding: 1.5rem 3.5rem !important;
    
    /* Aplicamos las variables */
    padding: var(--btn-large-padding) !important; 
    font-size: var(--btn-large-font) !important;

    border-radius: 50px !important;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.btn-product-discovery:hover {
    background-color: var(--black) !important; 
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.products-section .section-description {
    font-size: 1.25rem !important; 
    max-width: 800px;            
    margin-left: auto;           
    margin-right: auto;          
    line-height: 1.4;            
    color: var(--gray-text);
    margin-bottom: 1rem !important      
}

.products-section {
    padding: 0 0 !important;  
}

.products-section .mt-4 {
    margin-top: 2rem !important; 
}

/* ========== TECH STACK ========== */
.tech-stack {
    padding: 0 0 2rem 0 !important; 
    background: var(--white);
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.tech-item {
    padding: 2rem 1rem;
    background: var(--gray-bg);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--gray-text);
    transition: all 0.3s;
}

.tech-item:hover {
    background: var(--turquoise);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 8rem 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/patron-oruguita.png');
    background-repeat: repeat;
    background-size: 800px;
    opacity: 0.20;
    z-index: 0;
}

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

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--beige);
    padding: 3rem 4.5rem 2rem !important;
    margin-top: -2 !important;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--turquoise);
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--gray-text);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s;
    font-size: 0.9375rem;
}

.footer-section a:hover {
    color: var(--turquoise);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--gray-text);
    font-size: 0.875rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .services-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .tech-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* ========== NAVEGACIÓN MÓVIL ========== */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav {
        height: 70px;
    }

    nav.scrolled {
        height: 70px;
    }

    .nav-container {
        height: 70px;
        padding: 0 1.5rem;
    }

    .logo-isotipo {
        width: 200px;
    }

    /* ========== BOTÓN DESCUBRE EL HUB EN MÓVIL ========== */
    @media (max-width: 768px) {
        .about-section .reveal-tech.text-center {
            padding: 0 1rem;
        }
        
        .about-section .btn-primary {
            width: 90% !important;
            max-width: 300px;
            display: block;
            margin: 0 auto;
        }
    }
    /* ========== HERO MÓVIL ========== */
    .hero-main-logo {
        transform: scale(5) !important;
        width: 250px;
        height: 100px;
    }

    .hero-title-impact {
        font-size: 2rem !important;
        margin-top: 15px;
        padding: 0 1.5rem;
    }

    /* ========== CENTRADO VERTICAL EN NAVBAR MÓVIL ========== */
    nav.scrolled .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 70px !important;
    }

    nav.scrolled .logo-isotipo {
        margin: 0 !important;
    }

    nav.scrolled .mobile-menu-btn {
        margin: 0 !important;
    }

    /* ========== TEXTO OUTLINE MÓVIL ========== */
    .text-outline {
        -webkit-text-stroke: 1px var(--black);
        font-size: 2.5rem !important;
    }

    /* ========== TIPOGRAFÍA MÓVIL ========== */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .massive-text {
        font-size: 2.5rem !important;
        margin-bottom: 3rem !important;
    }

    .lead-text {
        font-size: 1.25rem !important;
    }

    .details-text {
        font-size: 1rem !important;
    }

    /* ========== ESPACIADOS MÓVIL ========== */
    .about-section {
        padding: 6rem 0 !important;
    }

    .solutions-section {
        padding: 6rem 0 !important;
        padding-top: 2rem !important;
    }

    .tech-stack {
        padding: 4rem 0 !important;
    }

    .cta-section {
        padding: 5rem 0 !important;
    }

    footer {
        padding: 3rem 0 1.5rem !important;
        margin-top: 0 !important;
    }

    /* ========== LAYOUTS MÓVIL ========== */
    .split-content {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ========== BOTONES MÓVIL ========== */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }

    /* ========== CONTAINER MÓVIL ========== */
    .container {
        padding: 0 1.5rem;
    }

    /* ========== GRIDS MÓVIL ========== */
    .values-grid {
        grid-template-columns: 1fr;
    }

    .tech-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* ========== SOLUTIONS SLIDER MÓVIL ========== */
    .solutions-slider {
        padding: 2.5rem 1.5rem !important;
        min-height: 400px !important;
        border-radius: 16px !important;
    }

    .solution-slide h3 {
        font-size: 2.5rem !important;
    }

    .solution-slide p {
        font-size: 1rem !important;
        max-width: 100% !important;
    }

    .slider-arrow {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
    }

    .prev {
        left: 5px !important;
    }

    .next {
        right: 5px !important;
    }

    /* ========== PRODUCTS MÓVIL ========== */
    .products-section .massive-text {
        font-size: 3.5rem !important;
    }

    .products-section .section-description {
        font-size: 1.125rem !important;
    }

    .btn-product-discovery {
        padding: 1rem 2rem !important;
        width: 100%;
    }

    /* ========== MENÚ HAMBURGUESA FUNCIONAL ========== */
    .nav-links.mobile-active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--beige);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.mobile-active a {
        font-size: 1.25rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .nav-links.mobile-active a:last-child {
        border-bottom: none;
    }

    /* Animación del botón hamburguesa */
    .mobile-menu-btn.active {
        color: var(--turquoise);
    }

    /* ========== BOTÓN CONTACTO EN MENÚ MÓVIL ========== */
    .nav-links.mobile-active .nav-cta {
        padding: .5rem 1rem !important;
        font-size: 1.2rem !important;
        margin-top: 0rem !important;
        display: block !important;
        text-align: center !important;
    }

    /* ========== FOOTER MÓVIL ========== */
    .footer-logo {
        height: 250px !important; 
        width: auto !important;
        display: block !important; 
        margin-bottom: 1rem !important;
    }

    footer {
        padding: 3rem 1rem 2rem !important;
        margin-top: 0 !important;
    }

    .footer-content {
        gap: 2rem !important;
    }

    .footer-brand p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .footer-section h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.75rem !important;
    }

    .footer-section a {
        font-size: 0.9rem !important;
        padding: 0.4rem 0 !important;
    }

    .footer-bottom {
        font-size: 0.8rem !important;
        padding-top: 1.5rem !important;
    }

    /* ========== ORUGUITA MÓVIL ========== */
    .oruguita-full-view {
        width: 120vw !important; /* Más ancho que la pantalla */
        max-width: none !important; /* Quita el límite */
        margin-left: -10vw !important; /* Empuja a la izquierda */
        margin-top: -30px !important; /* Reduce espacio arriba */
        margin-bottom: -100px !important; /* Reduce espacio abajo */
        transform: scale(1) !important; /* Tamaño normal, no lo hagas pequeño */
    }
}
/* Definición del movimiento (AHORA SÍ PARA TODOS LOS DISPOSITIVOS) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-tech {
    opacity: 0; 
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    visibility: visible;
}
.reveal-tech.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-1 { transition-delay: 0.2s !important; }
.delay-2 { transition-delay: 0.4s !important; }
.delay-3 { transition-delay: 0.6s !important; }

#blog {
    display: none; /* Esto oculta la sección completa del cuerpo de la página */
}

/* --- COLORES PARA LOS CÍRCULOS DE LOS PILARES --- */
.service-icon.turquoise { 
    background-color: var(--turquoise) !important; 
}
.service-icon.orange { 
    background-color: var(--orange) !important; 
}
.service-icon.lime { 
    background-color: var(--lime) !important; 
}

hr {
    border: none;
    border-top: 3px solid var(--turquoise) !important;
    opacity: 1;
    margin: 6rem 0;
}


.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes floatingOruquita {
    0% {
        transform: translateY(0px) scale(1.0);
    }
    50% {
        transform: translateY(-25px) scale(1.02); 
    }
    100% {
        transform: translateY(0px) scale(1.0);
    }
}

/* ========== SECCIÓN CASOS DE ESTUDIO ========== */

/* 1. Fondo General de la Página */
.bg-beige { 
    background-color: #edeedc !important; 
    margin: 0;
}

/* 2. Header de Casos (Consistencia con Index) */
nav.scrolled {
    height: 100px !important; /* Altura oficial de tu marca */
    display: flex;
    align-items: center;
    background: rgba(237, 238, 220, 0.9) !important;
    backdrop-filter: blur(10px);
}

.nav-container {
    height: 100px !important;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Ajuste del Isotipo para igualar al Inicio */
.isotipo-wrapper {
    width: 300px; 
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.isotipo-only {
    width: 80%; 
    height: auto;
    display: block;
    transform: scale(1.2); 
    transition: transform 0.3s ease;
}

.isotipo-only:hover {
    transform: scale(1.3); 
}

/* Estilo específico para el título centrado */
.title-centered {
    font-family: 'Zalando Sans', sans-serif !important; 
    font-size: clamp(2.5rem, 8vw, 5rem); 
    font-weight: 800;
    text-align: center; 
    width: 100%;
    margin: 0 auto;
    letter-spacing: -2px; 
    color: #000;
    text-transform: none;
}

.cases-intro {
    padding-top: 160px; 
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.title-centered span {
    color: var(--turquoise);
}

.cases-intro .massive-text {
    font-size: clamp(4rem, 8vw, 4rem) !important;
    line-height: 1.5;
    color: var(--black);
}

/* 4. Grilla de Tarjetas */
.adelaide-grid {
    display: grid;
    /* Forzamos 4 columnas iguales */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    width: 100%;
    max-width: 1480px; 
    margin: 0 auto;
    padding: 0 2rem 100px;
}
.case-box {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 4px; /* Opcional: bordes ligeramente suavizados */
}

.case-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* 5. Imagen y Etiqueta */
.case-img {
    position: relative;
    width: 100%;
    height: 260px;
    background: #f4f4f4;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.case-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000;
    color: #fff;
    padding: 10px 18px;
    font-family: 'Stack Sans Notch', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.case-label.orange { background: var(--orange); }

.case-body {
    background-color: var(--beige) !important;
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;      
    align-items: center;     
    justify-content: center; 
}

.case-body h3 {
    font-family: 'Zalando Sans', sans-serif !important;
    font-size: 1.35rem;
    color: #000;
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 800;
    width: 100%; /* Asegura que el texto use todo el ancho para centrarse */
}

.case-body p {
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
    width: 100%;
}


/* 7. Botón "Ver caso" */
.case-action {
    margin-top: auto;
    text-decoration: none;
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.case-action:hover {
    color: var(--turquoise);
    gap: 15px;
}

/* ========== SISTEMA DE ESPACIADOS ========== */

/* Secciones */
section {
    padding: 8rem 0;
}

section.compact {
    padding: 4rem 0;
}

section.large {
    padding: 12rem 0;
}

/* Márgenes entre elementos */
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    section.compact {
        padding: 2rem 0;
    }
    
    section.large {
        padding: 6rem 0;
    }
}

/* 8. Responsive para Móvil */
@media (max-width: 768px) {
    .cases-intro {
        padding-top: 130px;
        text-align: left;
    }
    
    nav.scrolled {
        height: 80px !important;
    }
    
    .adelaide-grid {
        grid-template-columns: 1fr;
        padding: 0 15px 60px;
    }
    
    .case-body {
        padding: 25px;
    }

    .case-label {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.9rem !important;
        margin-bottom: 1.5rem !important;
        position: static !important; /* Cambia de absolute a static */
    }
    
    .hero-content-box {
        padding: 2.5rem 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important; /* Espacio entre tag y título */
    }
    
    .case-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-top: 0 !important; /* Quita el margin-top para evitar encimado */
    }
    
    .hero-case-full {
        padding: 40px 15px !important; /* Más padding horizontal */
    }
}

/* --- HERO STYLE ADELAIDE (BEIGE & BLACK) --- */

.header-spacer {
    height: 40px; /* Separación pequeña solicitada */
    background-color: var(--white);
}

.hero-case-full {
    width: 100%;
    background-color: var(--turquoise);
    display: flex;
    justify-content: center; /* Centra el contenedor interno */
    padding: 60px 0; 
}

.hero-inner-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-content-box {
    background-color: var(--beige); /* Fondo Beige solicitado */
    padding: 60px;
    max-width: 700px; /* Ancho similar al estilo Adelaide */
    box-shadow: 20px 20px 0px rgba(0,0,0,0.05); /* Sombra sutil para profundidad */
}

.case-label {
    background-color: var(--black); /* Etiqueta negra para contraste fuerte */
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.case-title {
    color: var(--black) !important; /* Letra Negra solicitada */
    font-family: 'Zalando Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
}

/* Estilos para el texto inferior */
.case-content {
    padding: 80px 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.detail-item h2 {
    font-family: 'Zalando Sans', sans-serif;
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3rem);
}

/* --- SECCIÓN TÍTULO DE RESULTADOS --- */
.results-header {
    padding: 80px 0 40px 0; 
    background-color: var(--white);
    text-align: center;
}

.results-main-title {
    font-family: 'Zalando Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--black);
    font-weight: 800;
    text-transform: none; 
    margin: 0 auto;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--turquoise);
    margin: 20px auto 0; /* Centra la línea debajo del texto */
}

.results-visual {
    background-color: var(--white);
    padding-bottom: 80px; 
}

.image-center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ========== IMÁGENES DE CASOS DE ESTUDIO ========== */
.performance-img {
    width: 100%;
    max-width: 1200px !important;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-center-wrapper {
    width: 100%;
    max-width: 1400px !important; /* Aumentado */
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ========== RESPONSIVE IMÁGENES ========== */
@media (max-width: 768px) {
    .performance-img {
        max-width: 100% !important;
    }
    
    .image-center-wrapper {
        padding: 1rem 0.5rem;
    }
}

/* --- TEXTO DE DESCRIPCIÓN DE RESULTADOS --- */
.results-description {
    background-color: var(--white);
    padding-bottom: 80px;
}

.results-text {
    font-family: 'Urbanist', sans-serif; 
    font-size: 1.15rem; 
    line-height: 1.7;
    color: var(--gray-text);
    text-align: center;
    max-width: 800px; 
    margin: 0 auto;
}

/* --- SECCIÓN CTA FULL WIDTH --- */
.cta-full-width {
    width: 100vw; /* Ocupa el 100% del ancho de la ventana */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; 
    
    background-color: #000000;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cta-container {
    width: 100%;
    max-width: 1200px; /* Alineado con el resto de tu contenido */
    text-align: center;
    padding: 0 20px;
}

.cta-message {
    font-family: 'Urbanist', sans-serif;
    color: #ffffff;
    font-size: clamp(1.2rem, 3vw, 1.6rem); /* Tamaño responsivo */
    line-height: 1.5;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cta-button-wrapper {
    display: flex;
    justify-content: center;
}

.btn-agenda {
    display: inline-block;
    background-color: var(--turquoise); /* Tu color turquesa */
    color: #ffffff;
    padding: 20px 50px;
    border-radius: 60px; /* Estilo píldora */
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 20px rgba(82, 183, 170, 0.2); /* Sombra suave */
}

.btn-agenda:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(82, 183, 170, 0.4);
    background-color: #45a698; 
}

.main-footer {
    background-color: var(--beige) !important; /* El fondo claro de la foto */
    padding: 80px 0 40px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    color: var(--gray-text);
    font-family: 'Urbanist', sans-serif;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40rem;
}

.footer-top-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* 4 columnas como en la imagen */
    gap: 40px;
    margin-bottom: 80px;
}

/* Estilo del Logo al lado del nombre */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-brand-name {
    font-family: 'Zalando Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--gray-text);
}

/* Estilo de los encabezados de columna (Mayúsculas y Negrita) */
.footer-column h4 {
    font-family: 'Stack Sans Notch', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a, .footer-column span {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--turquoise);
}

/* Parte inferior: Copyright y Legal a los extremos */
.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #999;
    text-decoration: none;
}

/* Ajuste Móvil */
@media (max-width: 768px) {
    .footer-top-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .footer-container {
        padding: 0 2rem;
    }
}

/* --- AJUSTE ESPECÍFICO PARA 2 CASOS CENTRADOS --- */

.adelaide-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Crea 2 columnas iguales */
    gap: 40px;                             /* Espacio generoso entre tarjetas */
    max-width: 1000px;                     /* Ancho óptimo para 2 elementos */
    margin: 40px auto 100px;               /* Centra el bloque y da espacio al footer */
}

/* Asegurar que las imágenes tengan el mismo tamaño */
.adelaide-grid-two .case-img {
    height: 300px; /* Un poco más altas para llenar el espacio */
}

/* Centrar el texto en los resultados de operaciones */
.results-description {
    padding: 60px 0;
    text-align: center;
}

.results-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Responsive: 1 sola columna en móviles */
@media (max-width: 850px) {
    .adelaide-grid-two {
        grid-template-columns: 1fr;
        max-width: 500px; /* Evita que el cuadro sea demasiado ancho en tablets */
        padding: 0 20px;
    }
}

