/* Estilos principales de la página */
/* Offset dinámico para anclas con header fijo */
:root {
    --header-height: 80px;
    --section-gap-after: calc(5rem + 80px);
    --section-gap-after-mobile: calc(3.5rem + 60px);
}

/* Aplica margen de scroll a cualquier elemento con id (secciones destino) */
[id] {
    scroll-margin-top: var(--header-height);
}
body {
    font-family: 'Sansation', sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #333333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Removido transform: translateZ(0) para evitar conflictos con el header */
    will-change: auto;
    overflow-x: hidden;
}
html {
    overflow-x: hidden;
}

/* Solución global anti-flash blanco - Optimizada */
* {
    /* Removido backface-visibility global para mejorar rendimiento */
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Evitar que el perspective global afecte a elementos fixed (ej. botón WhatsApp) */
html, body, .whatsapp-float {
    -webkit-perspective: none !important;
    perspective: none !important;
}

/* Prevenir flash en elementos con transiciones - Optimizado */
.container, .section, .about-container, 
.international-container, .services-container, .success-cases-container, 
.workflow-container, .plans-container, .contact-container {
    /* Optimizado para mejor rendimiento */
    will-change: auto;
}

/* Secciones - Optimizado */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
    /* Optimizado para mejor rendimiento */
}

/* Secciones con fondo verde oscuro */
.section.green-bg {
    background: #2d5a1a;
}

/* Sección de planes con fondo verde oscuro */
.section.dark-green-bg {
    background: #2d5a1a;
}

/* Hero Section Styles */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Espacio para el header fijo */
    padding-bottom: 0;
    margin-bottom: 0;
    box-sizing: border-box;
    z-index: 10;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-transition-svg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    pointer-events: none;
}

.hero-transition-image {
    width: 100%;
    height: auto;
    display: block;
}

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

.hero-centered-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    color: white;
}

.hero-main-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #4aa921;
    text-shadow: none;
    text-align: center;
    white-space: normal;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.hero-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #92d348, #4aa921);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid #4aa921;
    box-shadow: 0 4px 15px rgba(128, 128, 128, 0.3);
}

.hero-cta-button:hover {
    background: #ffffff;
    color: #1a395a;
    border: 1px solid #183049;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: white;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    width: 100%;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: none;
    text-align: center;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.3;
    text-shadow: none;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2em;
    background: linear-gradient(135deg, #92d348, #4aa921);
    border: 1px solid #4aa921;
}

.cta-button:hover {
    background: #ffffff;
    color: #1a395a;
    border: 1px solid #183049;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Phone mockup styles removed */

/* Phone mockup small styles removed */

/* Geometric shape styles removed */

/* Float animations removed */

.hidden-hero-slider {
    opacity: 1;
    transition: opacity 0.3s ease;
    will-change: opacity;
    transform: translateZ(0);
}

.hidden-hero-slider.loaded {
    opacity: 1;
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-main-title {
        font-size: 2rem;
        white-space: normal;
        max-width: 95vw;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Estilos adicionales para el video de fondo */
    .hero-video-bg {
        object-position: center center;
    }
    
    .hero-overlay {
        background-color: rgba(24, 48, 73, 0.5);
    }
    
    /* SVG de transición responsivo */
    .hero-transition-svg {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.5rem;
        white-space: normal;
        max-width: 95vw;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    /* Estilos adicionales para el video de fondo en móviles pequeños */
    .hero-overlay {
        background-color: rgba(24, 48, 73, 0.6);
    }
    
    /* SVG de transición responsivo para móviles pequeños */
    .hero-transition-svg {
        height: 40px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0rem;
    text-align: center;
    border-radius: 10px;
    background: #ffffff;
    
    width: 100%;
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Removido transform: translateZ(0) para evitar conflictos con el header */
    will-change: transform;
}

/* Contenedores transparentes para todas las secciones excepto Benefits */
.benefits-section .container {
    background: #ffffff;
}

/* Contenedor transparente para About Us Section */
.about-container {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 0rem;
}

/* Contenedor transparente para Services Section */
.services-container {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 0rem;
}

/* Contenedor transparente para Success Cases Section */
.success-cases-container {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 0rem;
}

/* Contenedor transparente para Workflow Section */
.workflow-container {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 0rem;
}

/* Contenedor transparente para Plans Section */
.plans-container {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 6rem;
}

/* Contenedor transparente para Contact Section */
.contact-container {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 0;
}


/* Contenedores transparentes para About Us, Services, Success Cases, Workflow, Plans, Contact */
.about-section .container {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    margin-bottom: 3rem;
}

.services-section .container,
.success-cases-section .container,
.workflow-section .container,
.dark-green-bg .container,
.contact-section .container {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: none;
    color: #92d348;
    text-align: center;
}

/* Títulos específicos con tamaño 2.5rem */
.about-main-title,
.portfolio-title,
h1[data-translate="benefits.title"],
h1[data-translate="services.title"],
h1[data-translate="success.title"],
h1[data-translate="workflow.title"],
h1[data-translate="plans.title"],
h1[data-translate="contact.title"] {
    font-size: 2.5rem;
}

h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: none;
    color: #2c3e50;
    text-align: center;
    line-height: 1.1;
}

/* Estilos específicos para cada tipo de h3 - eliminando el estilo global */

/* ESTILO GLOBAL DE H3 COMENTADO - AHORA CADA H3 TIENE SU PROPIA CLASE ESPECÍFICA
h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #183049;
}
*/

/* Título principal de beneficios */
.benefits-main-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #4aa921;
    font-weight: 700;
    text-align: center;
}

/* Títulos de tarjetas de beneficios */
.benefit-card-title {
    font-size: 1.17rem !important;
    color: #4aa921 !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* Título principal de About */
.about-main-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: none;
    color: #4aa921;
    text-align: center;
    font-family: 'Sansation', sans-serif;
    margin-top: 2rem;
}

/* Títulos de tarjetas de About (Misión, Visión, Valores) */
.about-card-title {
    color: #4aa921 !important;
    font-size: 20.8px;
    margin-bottom: 1rem;
    text-align: left;
    font-family: 'Sansation', sans-serif;
    font-weight: bold !important;
}

/* Título de presencia internacional */
.international-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-shadow: none;
    position: relative;
    z-index: 10;
}

/* Títulos de servicios */
.services-main-title {
    color: #4aa921 !important;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.services-card-title {
    color: #4aa921;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

/* Títulos de flip cards */
.flip-card-step {
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    margin: 0 0 8px 0;
    color: #4aa921;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.flip-card-title {
    font-size: 16px;
    font-weight: bold !important;
    text-align: center;
    margin: 0;
    line-height: 1.3;
    color: #183049;
}

/* Título de portafolio */
.portfolio-main-title {
    color: #4aa921 !important;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.portfolio-card-title {
    font-size: 20.8px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
    text-shadow: none !important;
}

/* Títulos de casos de éxito */
.success-main-title {
    color: #4aa921;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.success-card-title {
    color: #183049;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

/* Títulos de workflow */
.workflow-main-title {
    color: #4aa921;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.workflow-step-title {
    color: #183049;
    font-size: 1.3rem;
    margin: 1rem 0;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1.2;
}

/* Título de planes */
.plans-main-title {
    color: #4aa921;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Títulos de tarjetas de prueba */
.tarjeta-card-title {
    font-size: 20.8px;
    font-weight: 900;
    color: #4aa921;
}

/* Títulos de contacto */
.contact-phone-title {
    font-size: 20.8px;
    color: #183049;
    margin: 0;
}

.contact-email-title {
    font-size: 20.8px;
    color: #183049;
    margin: 0;
}

.contact-location-title {
    font-size: 20.8px;
    color: #183049;
    margin: 0;
}

/* Títulos de footer */
.footer-column-title {
    color: #fff !important;
    font-family: 'Sansation', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: left !important;
}

/* ========================================
   ESTILOS ESPECÍFICOS PARA H1, H2, H4, H5
   ======================================== */

/* ESTILOS GLOBALES DE H1, H2, H4, H5 COMENTADOS - AHORA CADA ELEMENTO TIENE SU PROPIA CLASE ESPECÍFICA
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: none;
    color: #92d348;
    text-align: center;
}

h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: none;
    color: #2c3e50;
    text-align: center;
    line-height: 1.1;
}
*/

/* Títulos H1 específicos */
.hero-main-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #4aa921;
    text-shadow: none;
    text-align: center;
    white-space: normal;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Títulos H2 específicos */
.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: none;
    text-align: center;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.3;
    text-shadow: none;
    color: #ffffff;
}

.slide-title {
    color: #92d348;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.4rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Títulos H4 específicos */
.member-name {
    color: #28a745;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.contact-details-title {
    color: #4aa921;
    font-size: 1rem !important; /* h3 size for desktop */
    margin-bottom: 0rem;
    font-weight: 600;
    text-align: left !important; /* align left for desktop */
}

/* Mobile styles for contact details titles - align left */
@media (max-width: 768px) {
    .contact-details-title {
        text-align: left !important;
        font-size: 2rem !important; /* h2 size for mobile */
    }
}

@media (max-width: 480px) {
    .contact-details-title {
        text-align: left !important;
        font-size: 2rem !important; /* h2 size for mobile */
    }
}

/* Títulos H5 específicos - No hay H5 en el HTML actual, pero preparamos para futuros */
.h5-custom-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #183049;
}

p {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.pulse {
    animation: pulse 2s infinite;
}

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

/* Estilos para el nuevo header */
#header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateY(0) !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
}

/* Header styles moved to header.css */

/* Navigation styles moved to header.css */

.cta-nav-button {
    display: inline-block;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2em;
    background: #183049;
    border: 1px solid #183049;
}

.cta-nav-button:hover {
    background: #ffffff;
    color: #1a395a;
    border: 1px solid #183049;
}

.cta-nav-button:active {
    color: #666;
}


.language-selector {
    position: relative;
}

.language-toggle {
    background: #f8f9fa00;
    
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: #e9ecef25;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 0.5rem;
    min-width: 150px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    will-change: opacity, transform, visibility;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: #183049;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: rgba(146, 211, 72, 0.1);
}

.language-option.active {
    background: rgba(128, 128, 128, 0.2);
}

/* Mobile menu styles moved to header.css */

.mobile-cta-button {
    display: inline-block;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2em;
    background: linear-gradient(135deg, #92d348, #4aa921);
    border: 1px solid #4aa921;
}

.mobile-cta-button:hover {
    background: #ffffff;
    color: #1a395a;
    border: 1px solid #183049;
}

/* Mobile toggle styles moved to header.css */

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile styles moved to header.css */
}

/* Grids y Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.service-card {
    background: #e9ecef;
    padding: 1.5rem 1.25rem;
    border-radius: 15px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

/* portfolio grid and item moved to portafolio.css */

/* Plans Horizontal Layout */
.plans-horizontal {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 8rem;
}

/* Neo Brutalism pricing card */
.card {
    width: 250px;
    min-height: 400px;
    background: #92d348;
    padding: 1rem;
    border-radius: 1rem;
    border: 0.5vmin solid #ffffff;
    box-shadow: 0.4rem 0.4rem #183049;
    overflow: hidden;
    color: #183049;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0.6rem 0.6rem #183049;
}


.card.featured {
    background: #4aa921;
    transform: scale(1.05);
    border: 0.5vmin solid #92d348;
    box-shadow: 0.4rem 0.4rem #92d348;
}

.card.featured:hover {
    box-shadow: 0.6rem 0.6rem #92d348;
}


/*Card content*/
.pricing-block-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    transition: transform 0.3s ease;
}

/* (removido) estilos de títulos/desc de planes */

.pricing-plan {
    color: #183049;
    font-size: 1.3rem;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

.price-value {
    display: flex;
    color: #183049;
    font-size: 1.8rem;
    line-height: 1.25;
    font-weight: 700;
    justify-content: center;
    align-items: baseline;
    gap: 0.2rem;
}

.price-number {
    margin: 0;
}

.price-integer {
    font-size: 2.2rem;
}

#priceDiscountCent {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-note {
    opacity: 0.8;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
}

/*Checklist*/
.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    list-style: none;
    padding: 0;
}

.check-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.check-list-item svg {
    flex-shrink: 0;
}

.check-list-item span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}


/* Contact Form Styles */
.form-container {
    width: 450px;
    background: linear-gradient(#212121, #212121) padding-box,
                linear-gradient(145deg, transparent 35%, #92d348, #4aa921) border-box;
    border: 2px solid transparent;
    padding: 32px 24px;
    font-size: 14px;
    font-family: inherit;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    border-radius: 16px;
    margin: 2rem auto 0;
}

.form-container button:active {
    scale: 0.95;
}

.form-container .form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-container .form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.form-container .form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    background-color: transparent;
    border: 1px solid #414141;
    box-sizing: border-box;
    font-size: 14px;
}

.form-container .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    resize: none;
    color: #fff;
    height: 120px;
    border: 1px solid #414141;
    background-color: transparent;
    font-family: inherit;
    box-sizing: border-box;
    font-size: 14px;
}

.form-container .form-group input::placeholder {
    color: #717171;
    opacity: 0.8;
}

.form-container .form-group textarea::placeholder {
    color: #717171;
    opacity: 0.8;
}

.form-container .form-group input:focus {
    outline: none;
    border-color: #92d348;
}

.form-container .form-group textarea:focus {
    outline: none;
    border-color: #92d348;
}

.form-container .form-submit-btn {
    display: inline-block;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Sansation', sans-serif;
    border-radius: 2em;
    background: linear-gradient(135deg, #92d348, #4aa921);
    border: 1px solid #4aa921;
}


.form-container .form-submit-btn:hover {
    color: #183049;
    background: #ffffff;
    border: 1px solid #183049;
}

@media (max-width: 480px) {
    .section {
        padding: 1rem 0.5rem;
    }
    
    /* Mobile styles moved to header.css */
    
    .container {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    /* portfolio grid responsive moved to portafolio.css */
    
    .plans-horizontal {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem !important; /* aumentar separación entre tarjetas */
        padding: 0 16px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    
    .card {
        width: 100%;
        max-width: 340px;
        margin: 0 auto !important;
    }
    
    .services-grid,
    .plans-horizontal {
        gap: 1rem;
    }
    
    .service-card,
    .portfolio-item {
        padding: 1.5rem;
    }
    
    .form-container {
        width: 100%;
        max-width: 400px;
        padding: 24px 20px;
    }
    
    .form-container .form-submit-btn {
        width: 50%;
    }
    
    .form-container .form-group textarea {
        height: 100px;
    }
}

/* Logo Slider Styles */
.logo-slider {
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    padding: 2rem 0;
    margin: 0;
}

.marquee {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 3rem;
    align-items: center;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    padding: 1rem;
    box-sizing: border-box;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Logo Slider */
@media (max-width: 768px) {
    .logo-slider {
        padding: 1.5rem 0;
    }
    
    .marquee {
        gap: 2rem;
    }
    
    .logo-item {
        width: 80px;
        height: 80px;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-slider {
        padding: 1rem 0;
    }
    
    .marquee {
        gap: 1.5rem;
    }
    
    .logo-item {
        width: 60px;
        height: 60px;
        padding: 0.6rem;
    }
}

/* ===========================================
   TEXT SLIDER STYLES - DESKTOP VERSION
   =========================================== */
.text-slider {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #92d348, #183049);
    border-top: none;
    border-bottom: none;
    padding: 0rem 0;
    margin: 0;
    position: relative;
    z-index: 15;
}

/* DESKTOP: Text Slider Animation - Velocidad lenta */
.text-slider .marquee {
    display: flex;
    animation: scroll-text 150s linear infinite;
    gap: 2rem;
    align-items: center;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
}

.text-item {
    flex-shrink: 0;
    font-family: 'Sansation', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    
    position: relative;
}

/* Clase especial para símbolos de punto medio */
.text-item .bullet-point {
    color: #ffffff !important;
    -webkit-text-stroke: none !important;
}


/* DESKTOP: Animación del Text Slider - 300 segundos (velocidad lenta) */
@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* MÓVIL: Animación del Text Slider - 200 segundos (más lenta) */
@keyframes scroll-text-mobile {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===========================================
   TEXT SLIDER STYLES - MÓVIL VERSION (768px)
   =========================================== */
@media (max-width: 768px) {
    .text-slider {
        padding: 1.5rem 0;
        margin-top: 0;
        position: relative;
        z-index: 5;
    }
    
    /* MÓVIL: Text Slider Animation - 200 segundos (más lenta que desktop) */
    .text-slider .marquee {
        gap: 3rem;
        animation: scroll-text-mobile 200s linear infinite !important;
    }
    
    .text-item {
        font-size: 2.5rem;
    }
}

/* ===========================================
   TEXT SLIDER STYLES - MÓVIL VERSION (480px)
   =========================================== */
@media (max-width: 480px) {
    .text-slider {
        padding: 1rem 0;
        margin-top: 0;
        position: relative;
        z-index: 5;
    }
    
    /* MÓVIL PEQUEÑO: Text Slider Animation - 200 segundos (más lenta que desktop) */
    .text-slider .marquee {
        gap: 2rem;
        animation: scroll-text-mobile 200s linear infinite !important;
    }
    
    .text-item {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }
}

/* Benefits Section Styles */
.benefits-section {
    background: #ffffff;
    padding: 0rem 0;
}

/* Título de la sección Benefits */
.benefits-section > .container > h3 {
    margin-top: 7rem;
    color: #4aa921;
    font-weight: 700;
}

/* Subtítulo de la sección Benefits */
.benefits-section > .container > p {
    font-size: 1.08rem;
    color: #183049;
}

/* Título de la sección Services */
.services-container > h3 {
    color:  #4aa921;
}

/* Título de la sección Success Cases */
.success-cases-container > h3 {
    color: #4aa921;
}

/* Título de la sección Workflow */
.workflow-container > h3 {
    color: #4aa921;
}

/* Título de la sección Plans */
.plans-container > h3 {
    color: #4aa921;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: transparent;
    padding: 0;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
    background: transparent;
}

.benefit-svg-container {
    width: 100%;
    max-width: 270px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-svg-container svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-svg-container svg {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

.benefit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80%;
    padding: 2rem 1rem;
    text-align: center;
    box-sizing: border-box;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-content h3 {
    color: #4aa921;
    font-size: 1.17rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.benefit-content p {
    font-size: 0.81rem;
    color: #183049;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Tarjetas de beneficios: tamaños estándar (título 19px, texto 14px) */
.benefit-card .benefit-card-title,
.benefit-card .benefit-content h3 {
    font-size: 19px !important;
}

.benefit-card .benefit-content p {
    font-size: 14px !important;
}

.image-icon img {
    filter: brightness(0) saturate(100%) invert(15%) sepia(25%) saturate(2000%) hue-rotate(200deg) brightness(0.3) contrast(1.2);
}

/* Image Section Styles */
.image-section {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Presencia Internacional Section */
.presencia-internacional-section {
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
    background: #f8f9fa00;
    position: relative;
    z-index: 20;
    margin-bottom: 4rem;
}

/* Planet 3D Container */
.planet-container {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1000px;
    z-index: 5;
}

/* World Icon Image */
.world-icon {
    width: 300px;
    height: 300px;
    opacity: 1;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Text Content */
.text-content {
    text-align: center;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    width: 100%;
    max-width: 600px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-description {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-weight: 400;
}


/* 3D Planet */
.planet-3d {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4aa921, #92d348, #6bbf3a, #4aa921);
    background-size: 400% 400%;
    animation: planetRotate 8s linear infinite, planetGradient 4s ease-in-out infinite;
    box-shadow: 
        inset -30px -30px 60px rgba(0, 0, 0, 0.3),
        inset 30px 30px 60px rgba(255, 255, 255, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform-style: preserve-3d;
}

.planet-3d::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 70%);
    animation: planetRotate 8s linear infinite;
}

.planet-3d::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.2), transparent 60%);
    animation: planetRotate 8s linear infinite;
}

/* Planet Animations */
@keyframes planetRotate {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes planetGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.image-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.section-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* Services Section Styles */
.services-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.service-card {
    background: #f3f4f6;
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(128, 128, 128, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(150, 150, 150, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-card h2 {
    line-height: 1.1;
    color: #4aa921;
}

.service-card h3 {
    color: #183049;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p,
.service-desc {
    font-size: 1rem;
    color: #183049;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-desc {
    text-align: left;
    width: 100%;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-features {
    margin-top: 0.75rem;
    gap: 0.5rem;
}

.service-features .value-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.service-cta {
    margin-top: auto;
}

.service-cta {
    display: inline-block;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2em;
    background: linear-gradient(135deg, #92d348, #4aa921);
    border: 1px solid #4aa921;
}


.service-cta:hover {
    color: #183049;
    background: #ffffff;
    border: 1px solid #183049;
}

.services-cta-container {
    text-align: center;
    margin-top: 3rem;
}

.main-cta-button {
    display: inline-block;
    
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2em;
    background: linear-gradient(135deg, #92d348, #4aa921);
    border: 1px solid #4aa921;
}


.main-cta-button:hover {
    color: #183049;
    background: #ffffff;
    border: 1px solid #183049;
}

/* Success Cases Section Styles */
.success-cases-section {
    background: #ffffff;
    padding: 4rem 0;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 100%;
}

.success-card {
    background: rgb(234, 234, 234);
    border-radius: 20px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(128, 128, 128, 0.3);
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.success-image {
    height: 150px;
    overflow: hidden;
}

.success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.success-card:hover .success-image img {
    transform: scale(1.05);
}

.success-content {
    padding: 1.5rem;
}

.success-content h3 {
    color: #183049;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.success-content p {
    font-size: 0.9rem;
    color: #183049;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.success-metrics {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.testimonial {
    background: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #28a745;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: #495057;
}

.testimonial-author {
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 600;
}

.success-cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* Workflow Section Styles */
.workflow-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 100%;
}

.workflow-step {
    background: rgb(234, 234, 234);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    width: calc(25% - 1.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 320px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(128, 128, 128, 0.3);
}

.workflow-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    margin: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.workflow-step h3 {
    color: #183049;
    font-size: 1.3rem;
    margin: 1rem 0;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1.2;
}

.workflow-step p {
    font-size: 0.9rem;
    color: #183049;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5rem;
    text-align: center;
}

.workflow-arrow {
    font-size: 1.5rem;
    color: #28a745;
    font-weight: bold;
    flex-shrink: 0;
    margin: 0 0.5rem;
}

/* About Section Styles */
.about-container {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 3rem;
    padding: 4rem 2rem;
}

.about-main-title {
    font-size: 2rem;
   
    margin-bottom: 1rem;
    text-shadow: none;
    color: #4aa921;
    text-align: center;
    font-family: 'Sansation', sans-serif;
    margin-top: 2rem;
}

.about-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #183049;
    margin-bottom: 7rem;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: stretch;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.mission-card, .vision-card, .values-card {
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(128, 128, 128, 0.3);
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.mission-card:hover, .vision-card:hover, .values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* About section card titles - more specific to override mosaic styles */
.about-container .card-title {
    color: #4aa921 !important;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: left;
    font-family: 'Sansation', sans-serif;
}

.card-text {
    color: #183049;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.card-text + .card-text {
    margin-top: 0.75rem;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.value-dot {
    width: 12px;
    height: 12px;
    background: transparent;
    border-radius: 0;
    flex-shrink: 0;
    position: relative;
    margin-top: 0.35rem;
}

.value-dot::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4aa921;
    font-size: 10px;
    font-weight: bold;
}

.value-text {
    color: #183049;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.about-right {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}

.team-profile {
    padding: 3rem;
    text-align: center;
    max-width: 650px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.nav-arrow {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-arrow:hover {
    transform: scale(1.1);
}

.nav-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, opacity;
}

.main-member-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.main-member-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.main-member-photo:hover {
    border-color: #28a745;
}

.member-info {
    margin-bottom: 1.5rem;
}

.member-name {
    color: #28a745;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.member-role {
    color: #183049;
    font-size: 1rem;
    margin: 0;
    transition: all 0.3s ease;
}

.member-thumbnails {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail.active {
    border-color: #28a745;
    transform: scale(1.1);
}

.thumbnail:hover {
    transform: scale(1.1);
    border-color: #28a745;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* International Presence Section Styles */
.international-container {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 0rem;
    padding: 0rem 0rem;
    position: relative;
    overflow: visible;
}

.international-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.globe-container {
    position: relative;
    z-index: 10;
    margin-bottom: -100px;
}

.globe {
    width: 300px;
    height: 300px;
    position: relative;
    will-change: transform;
    transform: translateZ(0);
}

.globe-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        #1e3a8a 0%, 
        #3b82f6 20%, 
        #10b981 40%, 
        #f59e0b 60%, 
        #ef4444 80%, 
        #8b5cf6 100%);
    position: relative;
    box-shadow: 
        inset -20px -20px 50px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(59, 130, 246, 0.3);
}

.globe-sphere::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
}

.international-panel {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 600px;
    height: 400px;
}

.panel-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.panel-content {
    position: relative;
    z-index: 10;
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.international-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem !important;
    text-shadow: none;
    position: relative;
    z-index: 10;
}

.international-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.international-cta {
    display: inline-block;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2em;
    background: linear-gradient(135deg, #92d348, #4aa921);
    border: 1px solid #4aa921;
}

.international-cta:hover {
    background: #ffffff;
    color: #1a395a;
    border: 1px solid #183049;
}


/* Contact Section Styles */
.contact-section {
    background: transparent;
    padding: 0rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}


.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 3px solid #28a745;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(128, 128, 128, 0.2);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #999;
}

.contact-form .form-submit-btn {
    display: inline-block;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Sansation', sans-serif;
    border-radius: 2em;
    background: linear-gradient(135deg, #92d348, #4aa921);
    border: 1px solid #4aa921;
}


.contact-form .form-submit-btn:hover {
    color: #183049;
    background: #ffffff;
    border: 1px solid #183049;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item-svg {
    width: 100%;
    max-width: 550px;
    height: 170px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item-svg:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.contact-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-svg-icon {
    filter: brightness(0) saturate(100%) invert(15%) sepia(25%) saturate(2000%) hue-rotate(200deg) brightness(0.3) contrast(1.2);
}

.contact-content-centered {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: left;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #92d348;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-details h4 {
    color: #4aa921;
    font-size: 1rem !important; /* h3 size for desktop */
    margin-bottom: 0rem;
    font-weight: bold !important;
}

.contact-details p {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.contact-details h3 {
    font-size: 20.8px;
    color: #183049;
    margin: 0;
}

.contact-svg foreignObject .contact-details h3 {
    font-size: 25px !important;
    color: #183049 !important;
    margin: 0 !important;
}

/* Títulos verdes específicos */
.services-title-green {
    color: #4aa921 !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-title-green {
    color: #4aa921 !important;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .benefits-grid,
    .services-grid,
    .success-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefit-svg-container {
        max-width: 260px;
        height: 360px;
    }
    
    .benefit-content {
        padding: 1.8rem 1rem;
    }
    
    .benefit-icon {
        font-size: 2.2rem;
    }
    
    .benefit-card-title {
        font-size: 1.08rem !important;
    }
    
    .benefit-content p {
        font-size: 0.765rem;
    }

    .benefit-card .benefit-card-title,
    .benefit-card .benefit-content h3 {
        font-size: 19px !important;
    }

    .benefit-card .benefit-content p {
        font-size: 14px !important;
    }
    
    .workflow-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .workflow-step {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        height: 280px;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-section {
        padding: 0.5rem 0;
        min-height: auto;
        margin-top: -4rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-item-svg {
        max-width: 500px;
        height: 150px;
    }
    
    .contact-info {
        gap: 0.3rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon img {
        width: 25px;
        height: 25px;
    }
    
    .about-main-title {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .mission-card, .vision-card, .values-card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .team-profile {
        padding: 2rem;
        max-width: 550px;
    }
    
    .main-member-photo {
        width: 180px;
        height: 180px;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .thumbnail {
        width: 80px;
        height: 80px;
    }
    
    .globe {
        width: 250px;
        height: 250px;
    }
    
    .globe-container {
        margin-bottom: -80px;
    }
    
    .international-panel {
        height: 350px;
    }
    
    .panel-content {
        padding: 2.5rem 1.5rem;
    }
    
    .international-title {
        font-size: 32px !important;
    }
    
    .international-subtitle {
        font-size: 1rem;
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        justify-content: center;
    }
    
    .success-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .benefit-card,
    .service-card,
    .success-card,
    .workflow-step {
        padding: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .benefit-svg-container {
        max-width: 250px;
        height: 350px;
    }
    
    .benefit-content {
        padding: 1.5rem 0.8rem;
    }
    
    .benefit-icon {
        font-size: 2rem;
    }
    
    .benefit-card-title {
        font-size: 0.99rem !important;
    }
    
    .benefit-content p {
        font-size: 0.72rem;
    }

    .benefit-card .benefit-card-title,
    .benefit-card .benefit-content h3 {
        font-size: 19px !important;
    }

    .benefit-card .benefit-content p {
        font-size: 14px !important;
    }
    
    .benefit-icon,
    .service-icon,
    .step-icon {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-item-svg {
        max-width: 100%;
        height: 130px;
    }
    
    .contact-info {
        gap: 0.2rem;
    }
    
    .contact-section {
        padding: 0.5rem 0;
        margin-top: -3.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon img {
        width: 20px;
        height: 20px;
    }
    
    .contact-details h4 {
        font-size: 2rem !important; /* h2 size for mobile */
    }
    
    .contact-details p {
        font-size: 1.1rem;
    }
    
    .about-main-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 0.9rem;
    }
    
    .mission-card, .vision-card, .values-card {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    .team-profile {
        padding: 1.5rem;
        max-width: 450px;
    }
    
    .main-member-photo {
        width: 120px;
        height: 120px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
    
    .nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .values-list {
        gap: 0.5rem;
    }
    
    .value-dot {
        width: 10px;
        height: 10px;
    }
    
    .value-text {
        font-size: 0.9rem;
    }
    
    .globe {
        width: 200px;
        height: 200px;
    }
    
    .globe-container {
        margin-bottom: -60px;
    }
    
    .international-panel {
        height: 400px;
    }
    
    /* MÓVIL: Aumentar altura mínima de la sección internacional */
    .presencia-internacional-section {
        min-height: 500px !important;
    }
    
    .panel-content {
        padding: 2rem 1rem;
    }
    
    .international-title {
        font-size: 32px !important;
        line-height: 1.1;
    }
    
    .international-subtitle {
        font-size: 0.9rem;
    }
    
    .international-cta {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .Btn {
        width: 50px;
        height: 50px;
    }
    
    .Btn:hover {
        width: 190px;
    }
}

/* Estilos para reCAPTCHA v3 */
/* Ocultar reCAPTCHA solo cuando esté fuera del formulario */
.g-recaptcha:not(.form-container .g-recaptcha),
#g-recaptcha:not(.form-container #g-recaptcha),
.recaptcha-container:not(.form-container .recaptcha-container),
iframe[src*="recaptcha"]:not(.form-container iframe[src*="recaptcha"]) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Ocultar elementos reCAPTCHA fuera del formulario */
div[data-sitekey]:not(.form-container div[data-sitekey]):not(.recaptcha-info),
div[class*="recaptcha"]:not(.form-container div[class*="recaptcha"]):not(.recaptcha-info),
div[id*="recaptcha"]:not(.form-container div[id*="recaptcha"]):not(.recaptcha-info) {
  display: none !important;
}

/* Asegurar que el reCAPTCHA dentro del formulario sea visible */
.form-container .g-recaptcha,
.form-container #g-recaptcha,
.form-container .recaptcha-container,
.form-container iframe[src*="recaptcha"],
.form-container div[data-sitekey],
.form-container div[class*="recaptcha"],
.form-container div[id*="recaptcha"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}

/* Indicador de reCAPTCHA v3 */
.recaptcha-info {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #28a745;
    font-size: 13px;
    margin-bottom: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recaptcha-info:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.recaptcha-info i {
    font-size: 14px;
    color: #000;
    opacity: 1;
}

.recaptcha-info span {
    font-weight: 500;
    letter-spacing: 0.3px;
    opacity: 1;
    color: #000;
    text-shadow: none;
}


/* Digitalization Banner Styles */
.digitalization-banner {
    position: relative;
    width: 100vw;
    height: auto;
    min-height: 220px;
    background: linear-gradient(rgba(24, 48, 73, 0.6), rgba(24, 48, 73, 0.6)), 
                url('../img/banners/teclado-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 4rem 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.digitalization-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 48, 73, 0.4) 0%, rgba(33, 92, 169, 0.537) 100%);
    z-index: 1;
}

.banner-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}

.banner-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #92d348;
    margin-bottom: 0.5rem;
    text-shadow: none;
    line-height: 1.1;
    white-space: normal;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.banner-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0 0 1.25rem;
    text-shadow: none;
    font-weight: 500;
    white-space: normal;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.banner-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #183049;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.contact-section-intro {
    font-size: 1.1rem;
    color: #5a6b7d;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design for Digitalization Banner */
@media (max-width: 768px) {
    .digitalization-banner {
        height: auto;
        min-height: 180px;
        margin: 2rem 0 2rem 0;
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding: 0 !important;
    }
    
    .banner-title {
        font-size: 2rem;
        margin-bottom: 0.4rem;
        white-space: normal;
        text-align: center;
        width: 100%;
        display: block;
    }
    
    .banner-subtitle {
        font-size: 0.8rem;
        text-align: center;
        line-height: 1.3;
        margin: 0 auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        word-spacing: normal;
        letter-spacing: normal;
        white-space: normal !important;
        max-width: 90% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
    
    .banner-subtitle span {
        display: block;
        text-align: center;
        width: 100%;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Mobile Banner - Full Width Edge to Edge */
    .digitalization-banner {
        width: 100vw !important;
        max-width: none !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        transform: translateX(-50%) !important;
        box-sizing: border-box !important;
    }
    
    /* Additional Mobile Banner Override - Force Full Width */
    body .digitalization-banner {
        width: 100vw !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: none !important;
        transform: none !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Extra Mobile Banner Override */
    html body .digitalization-banner {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin: 2rem 0 !important;
        padding: 0 !important;
        position: relative !important;
    }
    
    /* Restore desktop banner subtitle */
    @media (min-width: 769px) {
        .banner-subtitle {
            font-size: 1.2rem;
            white-space: nowrap;
            max-width: none;
            margin: 0;
        }
    }
    
    .banner-overlay {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .digitalization-banner {
        height: 120px;
        margin: 1.5rem 0 1.5rem 0;
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding: 0 !important;
    }
    
    .banner-title {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
        white-space: normal;
        text-align: center;
    }
    
    .banner-subtitle {
        font-size: 1rem;
        white-space: normal !important;
        text-align: center !important;
        max-width: 95% !important;
        padding: 0 5px !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .banner-overlay {
        padding: 1rem;
    }
}

/* Unificación de estilo: aplicar look de cta-nav-button a otros botones/CTAs */
.cta-nav-button {
    display: inline-block;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2em;
    background: #183049;
    border: 1px solid #183049;
}

.cta-button,
.service-cta,
.main-cta-button,
.btn-portfolio,
.international-cta,
.mobile-cta-button,
.form-submit-btn,
.contact-form .form-submit-btn,
.form-container .form-submit-btn {
    display: inline-block;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Sansation', sans-serif;
    border-radius: 2em;
    background: linear-gradient(135deg, #92d348, #4aa921);
    border: 1px solid #4aa921;
}

.international-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-radius: 100px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    background: #183049 !important;
    border: none;
    color: #ffffff;
    box-shadow: 0 0 0 2px #ffffff20;
    transition: color 0.6s cubic-bezier(0.23, 1, 0.320, 1),
                box-shadow 0.6s cubic-bezier(0.23, 1, 0.320, 1),
                transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.international-cta-button .cta-label {
    position: relative;
    z-index: 2;
    transition: color 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.international-cta-button .cta-ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 160%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #4aa921;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.05);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1),
                opacity 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
}

.cta-nav-button:hover {
    background: #ffffff;
    color: #1a395a;
    border: 1px solid #183049;
}

.cta-button:hover,
.service-cta:hover,
.main-cta-button:hover,
.btn-portfolio:hover,
.international-cta:hover,
.mobile-cta-button:hover,
.form-submit-btn:hover,
.contact-form .form-submit-btn:hover,
.form-container .form-submit-btn:hover {
    background: #ffffff;
    color: #183049;
    border: 1px solid #183049;
}

.international-cta-button:hover {
    color: #ffffff;
    box-shadow: 0 0 0 4px #92d348;
}

.international-cta-button:hover .cta-label {
    color: #ffffff;
}

.international-cta-button:hover .cta-ripple {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.international-cta-button:active {
    transform: scale(0.95);
}

.cta-nav-button:active,
.cta-button:active,
.service-cta:active,
.main-cta-button:active,
.btn-portfolio:active,
.international-cta:active,
.mobile-cta-button:active,
.form-submit-btn:active,
.contact-form .form-submit-btn:active,
.form-container .form-submit-btn:active {
    color: #666;
}


/* Botón Contáctanos del hero con colores específicos */
.cta-button.hero-contact-btn {
    background: linear-gradient(135deg, #92d348, #4aa921);
    border: 1px solid #4aa921;
}

.cta-button.hero-contact-btn:hover {
    background: #183049;
    color: #ffffff;
    border: 1px solid #183049;
}

/* Visibilidad correcta del botón móvil en desktop/mobile */
.mobile-cta-button {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta-button {
        display: block;
    }
}

/* Global typographic scale update (rem) - COMENTADO - AHORA USAMOS CLASES ESPECÍFICAS
h1 {
    font-size: 70px !important;
}

h2 {
    font-size: 30px;
}
*/

/* Solo los títulos de beneficios necesitan clases específicas porque compartían CSS */

/* Títulos de las tarjetas de beneficios - estos SÍ compartían CSS con otros h3 */
.benefit-card-title {
    font-size: 1.17rem !important;
    color: #4aa921 !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    font-weight: bold !important;
}

/* Títulos generales h3 (excluyendo solo los que realmente comparten) - COMENTADO - AHORA USAMOS CLASES ESPECÍFICAS
h3:not(.benefit-card-title) {
    font-size: 30px !important;
}
*/

p {
    font-size: 18px !important;
}

/* Tarjetas de beneficios: debe ir después del p global para ganar en cascada */
.benefit-card .benefit-card-title,
.benefit-card .benefit-content h3 {
    font-size: 19px !important;
}

.benefit-card .benefit-content p {
    font-size: 14px !important;
}

.cta-nav-button {
    display: inline-block;
    color: #ffffff;
    padding: 0.7em 1.7em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 2em;
    background: #183049;
    border: 1px solid #183049;
}

.cta-nav-button-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-radius: 100px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    background: #ffffff48 !important;
    border: none;
    color: #ffffffc5;
    box-shadow: 0 0 0 2px #ffffff20;
    transition: color 0.6s cubic-bezier(0.23, 1, 0.320, 1),
                box-shadow 0.6s cubic-bezier(0.23, 1, 0.320, 1),
                transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.cta-nav-button-hero .cta-label {
    position: relative;
    z-index: 2;
    transition: color 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.cta-nav-button-hero .cta-ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 160%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #4aa921;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.05);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1),
                opacity 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
}

.cta-nav-button-hero:hover {
    color: #ffffff;
    box-shadow: 0 0 0 4px #92d348;
}

.cta-nav-button-hero:hover .cta-label {
    color: #ffffff;
}

.cta-nav-button-hero:hover .cta-ripple {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.cta-nav-button-hero:active {
    transform: scale(0.95);
}



.international-cta-button {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.international-cta-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.international-cta-button:hover {
    box-shadow: none !important;
}

/* Set explicit green border on hover */
.international-cta-button:hover {
    border: 1px solid #183049 !important;
}

.service-cta:hover {
    background: #183049 !important;
    color: #ffffff !important;
}

.contact-form .form-submit-btn:hover {
    background: #183049 !important;
    color: #ffffff !important;
    border: 1px solid #183049 !important;
}

/* Botón específico "Quiero mi propuesta" con texto azul */
.form-submit-btn {
    color: #183049 !important;
}

/* Portfolio Slider Animations */
/* Portfolio styles moved to css/portafolio.css */

/* ==========================
   Utilidades de botones
   - Base: .btn-style
   - Estilo botón 1: .btn-style-1 (como hero)
   - Estilo botón 2: .btn-style-2 (como internacional)
   - Estilo botón 3: .btn-style-3 (como verde)
   Estructura HTML esperada:
   <a class="btn-style btn-style-1">
     <span class="cta-label">Texto</span>
     <span class="cta-ripple" aria-hidden="true"></span>
   </a>
========================== */
.btn-style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-radius: 100px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Sansation', sans-serif;
    transition: color 0.6s cubic-bezier(0.23, 1, 0.320, 1),
                box-shadow 0.6s cubic-bezier(0.23, 1, 0.320, 1),
                transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.btn-style .cta-label {
    position: relative;
    z-index: 2;
    transition: color 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.btn-style .cta-ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 160%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #4aa921; /* color del ripple por defecto (verde) */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.05);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1),
                opacity 0.8s cubic-bezier(0.23, 1, 0.320, 1),
                background-color 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
    will-change: transform, opacity;
}

/* Override: color del ripple para Estilo Botón 3 (blanco sólido) */
.btn-style-3 .cta-ripple {
    background: #ffffff;
}

/* Override: color del ripple para Estilo Botón 1 (verde) */
.btn-style-1 .cta-ripple {
    background: #4aa921;
}

/* Override: color del ripple para Estilo Botón 2 (verde) */
.btn-style-2 .cta-ripple {
    background: #4aa921;
}

.btn-style:active {
    transform: scale(0.95);
}

/* Estilo botón 1 (Hero) */
.btn-style-1 {
    background: #ffffff48 !important;
    border: none;
    color: #ffffffc5;
    box-shadow: 0 0 0 2px #ffffff20;
    white-space: nowrap;
}

.btn-style-1:hover {
    color: #ffffff;
    box-shadow: 0 0 0 4px #92d348;
}

.btn-style-1:hover .cta-ripple {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Estilo botón 2 (Internacional) */
.btn-style-2 {
    background: #183049 !important;
    border: none;
    color: #ffffff;
    box-shadow: 0 0 0 2px #ffffff20;
}

.btn-style-2:hover {
    border: 1px solid #183049 !important;
    color: #ffffff !important;
}

.btn-style-2:hover .cta-ripple {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Estilo botón 3 (Verde -> Azul en hover) */
.btn-style-3 {
    background: #4aa921 !important;
    border: none;
    color: #ffffff;
    box-shadow: 0 0 0 2px #ffffff20;
}

/* btn-style-3 uses default ripple from .btn-style; no color/size override */

.btn-style-3:hover {
    background: #183049 !important;
    color: #ffffff;
    border: 1px solid #183049 !important;
}

.btn-style-3:hover .cta-label {
    color: #ffffff;
}

.btn-style-3:hover .cta-ripple {
    transform: translate(-50%, -50%) scale(1);
    background: #183049;
    opacity: 1;
}
/* Estilos para el header del portafolio de proyectos */
.proyectos-header {
    text-align: center;
    margin: 4rem 0 3rem 0;
    padding: 0 2rem;
    border-radius: 20px;
    padding: 2rem;
}

.proyectos-header h3 {
    font-size: 2rem;
    color: #4aa921;
    margin-bottom: 1rem;
}

.proyectos-header p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #183049;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

/* Image Slider Styles */
.image-slider-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.image-slider {
    position: relative;
    width: 900px;
    max-width: 100%;
}

.image-slider-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 5; /* 900x500 */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    background: #0f172a;
}

.image-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1); /* evitar zoom para que no cambie el tamaño visual */
    transition: opacity 0.7s ease; /* sólo transicionar opacidad */
}

.image-slide.active {
    opacity: 1;
}

/* Contenido superpuesto por slide */
.image-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    pointer-events: none;
    padding: 0 1rem;
}

.image-slide-content .slide-title {
    color: #92d348; /* verde solicitado */
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.4rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.image-slide-content .slide-desc {
    color: #183049; /* azul */
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .image-slide-content .slide-title { font-size: 1.6rem; }
    .image-slide-content .slide-desc { font-size: 1rem; }
}

@media (max-width: 480px) {
    .image-slide-content .slide-title { font-size: 1.3rem; }
    .image-slide-content .slide-desc { font-size: 0.95rem; }
}

/* Botón CTA fijo sobre todas las imágenes del slider */
.image-slider-fixed-cta {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: auto;
}

.image-slider-fixed-cta .cta-nav-button {
    background: linear-gradient(135deg, #92d348, #4aa921) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #ffffff !important;
    cursor: pointer !important;
}

.image-slider-fixed-cta .cta-nav-button:hover {
    background: #183049 !important;
    color: #ffffff !important;
    border: 1px solid #183049 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

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

.image-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
    z-index: 1;
}

/* Botón CTA sobre la imagen del slider */
.image-slide-cta {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.image-slide-cta .cta-nav-button {
    background: rgba(24, 48, 73, 0.9) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #ffffff !important;
}

/* Hover específico para el botón del slider - mayor especificidad */
.image-slider-section .image-slide-cta .cta-nav-button:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #183049 !important;
    border: 1px solid rgba(24, 48, 73, 0.3) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Asegurar que el botón sea clickeable */
.image-slide-cta .cta-nav-button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.image-slider-prev,
.image-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: #1f2937;
    border: none;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.image-slider-prev:hover,
.image-slider-next:hover {
    transform: translateY(-50%) scale(1.08);
    background: #ffffff;
}

.image-slider-prev { left: 16px; }
.image-slider-next { right: 16px; }

/* Internal dots for desktop - separate from external dots */
.image-slider-indicators {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

/* Hide internal dots on mobile */
@media (max-width: 768px) {
    .image-slider-indicators {
        display: none !important;
    }
}

/* Internal dots styling - only for desktop */
.image-slider-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.6);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Internal dots active state - only for desktop */
.image-slider-indicators .indicator.active {
    width: 40px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.image-slider-caption {
    text-align: center;
    color: rgba(0,0,0,0.7);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .image-slider-viewport { border-radius: 18px; }
    .image-slider-prev, .image-slider-next { width: 38px; height: 38px; font-size: 16px; }
    .image-slider-indicators .indicator.active { width: 28px; }
    
    /* Botón CTA fijo responsivo */
    .image-slider-fixed-cta {
        bottom: 35px;
    }
    
    .image-slider-fixed-cta .cta-nav-button {
        padding: 0.6em 1.4em;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .image-slider-fixed-cta {
        bottom: 25px;
    }
    
    .image-slider-fixed-cta .cta-nav-button {
        padding: 0.5em 1.2em;
        font-size: 13px;
    }
}



/* Page Title Styles */
.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #4aa921;
    text-align: center;
    margin: 4rem 0 2rem 0;
    padding: 2rem 0;
}

/* Mobile styles for page title - reduce line-height to bring closer to header */
@media (max-width: 768px) {
    .page-title {
        line-height: 1.1 !important;
        margin: 3rem 0 1.5rem 0 !important;
        padding: 1rem 0 !important;
    }
}

@media (max-width: 480px) {
    .page-title {
        line-height: 1.0 !important;
        margin: 2.5rem 0 1rem 0 !important;
        padding: 0.8rem 0 !important;
    }
}

.main-content {
    min-height: 10vh;
    padding: 2rem 0;
}

/* Impact section */
.impact-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto var(--section-gap-after);
    padding: 0 2rem;
    text-align: center;
}

.impact-section-title,
.impact-section-quote {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #4aa921;
    line-height: 1.25;
    font-family: 'Sansation', sans-serif;
}

.impact-section-title {
    margin-bottom: 2.5rem;
}

.impact-quote-block {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.impact-section-quote {
    margin: 0;
}

.impact-quote-line {
    display: block;
    width: 100%;
    height: 4px;
    background: #92d348;
    border-radius: 4px;
}

.impact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.impact-column-card {
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(128, 128, 128, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.impact-column-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(146, 211, 72, 0.2);
}

.impact-column-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
}

.impact-card-icon {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
}

.impact-card-icon[src$=".png"] {
    filter: brightness(0) saturate(100%) invert(15%) sepia(25%) saturate(2000%) hue-rotate(200deg) brightness(0.3) contrast(1.2);
}

.impact-column-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #183049;
    margin: 0;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.impact-section-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #183049;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .impact-section {
        margin: 0 auto var(--section-gap-after-mobile);
        padding: 0 1.25rem;
    }

    .impact-section-title,
    .impact-section-quote {
        font-size: 1.6rem !important;
    }

    .impact-section-title {
        margin-bottom: 1.75rem;
    }

    .impact-columns {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .impact-column-card {
        padding: 1.5rem;
    }

    .impact-column-card p {
        font-size: 1rem;
    }

    .impact-section-intro {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
}

/* Pricing solutions section */
.pricing-solutions-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto var(--section-gap-after);
    padding: 0 2rem;
    text-align: center;
}

.pricing-solutions-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #4aa921;
    line-height: 1.25;
    font-family: 'Sansation', sans-serif;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pricing-solutions-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #183049;
    max-width: 720px;
    margin: 0 auto 2.5rem !important;
    font-weight: 500;
}

.pricing-solutions-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.pricing-solution-card {
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(128, 128, 128, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(146, 211, 72, 0.2);
}

.pricing-solution-card-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #4aa921 !important;
    margin: 0 !important;
    line-height: 1.3;
    font-family: 'Sansation', sans-serif;
    text-align: center !important;
    width: 100%;
}

.pricing-solution-price {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #183049 !important;
    margin: 0 !important;
    line-height: 1.2;
    text-align: center !important;
    width: 100%;
}

.pricing-solution-features {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #183049 !important;
    margin: 0 !important;
    font-weight: 500;
    flex-grow: 1;
    text-align: center !important;
    width: 100%;
}

.pricing-solution-footer {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #4aa921 !important;
    margin: 0 !important;
    line-height: 1.4;
    text-align: center !important;
    width: 100%;
}

.pricing-solutions-note {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #183049 !important;
    max-width: 820px;
    margin: 0 auto 2.5rem !important;
    font-weight: 500;
    opacity: 0.9;
}

.pricing-solutions-cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pricing-solutions-pre-cta {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #183049 !important;
    margin: 0 !important;
    line-height: 1.3;
}

.pricing-solutions-cta {
    min-width: 220px;
}

.pricing-solutions-cta-support {
    font-size: 0.95rem !important;
    color: #183049 !important;
    margin: 0 !important;
    font-weight: 500;
    opacity: 0.85;
}

/* Custom solutions section */
.custom-solutions-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
    text-align: center;
}

.custom-solutions-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.custom-solutions-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.custom-solutions-column-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #4aa921 !important;
    line-height: 1.25;
    font-family: 'Sansation', sans-serif;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center !important;
}

.custom-solution-card {
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(128, 128, 128, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(146, 211, 72, 0.2);
}

.custom-solution-badge {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #183049 !important;
    margin: 0 !important;
    line-height: 1.2;
    text-align: center !important;
    width: 100%;
}

.custom-solution-text {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #183049 !important;
    margin: 0 !important;
    font-weight: 500;
    text-align: center !important;
    width: 100%;
}

.custom-solutions-info {
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.custom-solutions-info-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #183049 !important;
    margin: 0 0 0.75rem !important;
    line-height: 1.3;
    text-align: center !important;
}

.custom-solutions-info-text {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #183049 !important;
    margin: 0 !important;
    font-weight: 500;
    text-align: center !important;
    opacity: 0.9;
}

.custom-solutions-cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-solutions-cta {
    min-width: 220px;
}

@media (max-width: 768px) {
    .custom-solutions-section {
        margin-bottom: 3.5rem;
        padding: 0 1.25rem;
    }

    .custom-solutions-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .custom-solutions-column-title {
        font-size: 1.5rem !important;
    }

    .custom-solution-card {
        padding: 1.5rem;
    }

    .custom-solution-badge {
        font-size: 1.5rem !important;
    }

    .custom-solutions-info-title {
        font-size: 1.15rem !important;
    }

    .custom-solutions-info-text {
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    .pricing-solutions-section {
        margin-bottom: var(--section-gap-after-mobile);
        padding: 0 1.25rem;
    }

    .pricing-solutions-title {
        font-size: 1.5rem !important;
    }

    .pricing-solutions-intro {
        font-size: 1.05rem;
        margin-bottom: 2rem !important;
    }

    .pricing-solutions-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pricing-solution-card {
        padding: 1.5rem;
    }

    .pricing-solution-price {
        font-size: 1.5rem !important;
    }
}

/* Flip Card */
.cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    margin-bottom: 2rem;
}

.cards-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.flip-card {
    background-color: transparent;
    width: 340px;
    height: 254px;
    perspective: 1000px;
}

.flip-card .title {
    font-size: 1.8em;
    font-weight: 900;
    text-align: center;
    margin: 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    box-shadow: 0 8px 14px 0 rgba(0,0,0,0.1);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 0px solid #4aa921;
    border-radius: 1rem;
}

.flip-card-front {
    background: #ffffff;
    color: #183049;
    padding: 15px;
    box-sizing: border-box;
}

.flip-card-front .title {
    color: #4aa921;
}

.flip-card-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px auto;
    display: block;
}

.flip-card-icon[src$=".png"] {
    filter: brightness(0) saturate(100%) invert(15%) sepia(25%) saturate(2000%) hue-rotate(200deg) brightness(0.3) contrast(1.2);
}

.flip-card-back {
    background: linear-gradient(120deg, #92d348 30%, #4aa921 88%,
        #183049 78%);
    color: #ffffff;
    transform: rotateY(180deg);
    padding: 20px;
}

.flip-card-back .title {
    color: #183049;
}





.mosaic-container {
    display: grid;
    grid-template-columns: repeat(6, 180px);
    grid-template-rows: repeat(5, 180px);
    gap: 20px;
    margin: 0 auto;
    padding: 40px 20px;
    width: fit-content;
    justify-content: center;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.card-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    width: 100%;
}

.card-description {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    width: 100%;
}

/* Tarjeta 1 - Grande vertical */
.card-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
}

.card-1 .card-icon {
    font-size: 72px;
}

.card-1 .card-title {
    font-size: 28px;
}

.card-1 .card-description {
    font-size: 17px;
}

/* Tarjeta 2 - Pequeña */
.card-2 {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
}

.card-2 .card-content {
    padding: 20px 15px;
}

.card-2 .card-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.card-2 .card-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.card-2 .card-description {
    font-size: 13px;
    line-height: 1.4;
}

/* Tarjeta 3 - Mediana horizontal */
.card-3 {
    grid-column: 1 / 3;
    grid-row: 4 / 6;
}

.card-3 .card-icon {
    font-size: 56px;
}

.card-3 .card-title {
    font-size: 24px;
}

.card-3 .card-description {
    font-size: 16px;
}

/* Tarjeta 4 - Grande cuadrada */
.card-4 {
    grid-column: 5 / 7;
    grid-row: 2 / 5;
}

.card-4 .card-icon {
    font-size: 64px;
}

.card-4 .card-title {
    font-size: 26px;
}

.card-4 .card-description {
    font-size: 16px;
}

/* Tarjeta 5 - Mediana */
.card-5 {
    grid-column: 3 / 5;
    grid-row: 4 / 6;
}

.card-5 .card-icon {
    font-size: 56px;
}

.card-5 .card-title {
    font-size: 24px;
}

.card-5 .card-description {
    font-size: 16px;
}

/* Tarjeta 6 - Central grande */
.card-6 {
    grid-column: 3 / 5;
    grid-row: 1 / 4;
}

.card-6 .card-icon {
    font-size: 68px;
}

.card-6 .card-title {
    font-size: 30px;
}

.card-6 .card-description {
    font-size: 17px;
}

/* Tablets */
@media (max-width: 1024px) {
    .mosaic-container {
        grid-template-columns: repeat(6, 140px);
        grid-template-rows: repeat(5, 140px);
        gap: 15px;
        width: fit-content;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .mosaic-container {
        grid-template-columns: repeat(4, 100px);
        grid-template-rows: repeat(6, 100px);
        gap: 10px;
        padding: 20px 10px;
        width: fit-content;
    }

    .card-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .card-2 {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }

    .card-3 {
        grid-column: 1 / 3;
        grid-row: 5 / 7;
    }

    .card-4 {
        grid-column: 3 / 5;
        grid-row: 2 / 5;
    }

    .card-5 {
        grid-column: 3 / 5;
        grid-row: 5 / 7;
    }

    .card-6 {
        grid-column: 1 / 3;
        grid-row: 3 / 5;
    }

    .card-content {
        padding: 15px;
    }

    .card-icon {
        font-size: 32px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-description {
        font-size: 12px;
    }
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .footer-columns {
        display: flex;
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: none;
        width: auto;
    }
    
    .footer-column-title {
        font-size: 12px !important;
        text-align: center !important;
        margin-bottom: 8px;
        min-height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-column-list a {
        font-size: 11px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: pre-line;
        max-width: 80px;
        margin: 0 auto;
        display: block;
    }
    
    /* About Container Mobile Centering */
    .about-container {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-top: 30px !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Large Screen Optimizations for 3000px+ */
@media (min-width: 3000px) {
    /* Increase container max-width for better proportions */
    .container {
        max-width: 1400px;
    }
    
    /* Standardize section padding for consistency */
    .section {
        padding: 3rem 2rem;
    }
    
    /* Unify margins between all sections */
    .about-section .container,
    .services-section .container,
    .success-cases-section .container,
    .workflow-section .container,
    .dark-green-bg .container,
    .contact-section .container,
    .plans-container {
        margin-bottom: 4rem;
    }
    
    /* Adjust form container width for better proportions */
    .form-container {
        width: 500px;
    }
    
    /* Adjust image slider width for better proportions */
    .image-slider {
        width: 1000px;
    }
    
    /* Standardize hero container padding */
    .hero-container {
        padding: 3rem;
    }
    
    /* Adjust digitalization banner margins */
    .digitalization-banner {
        margin: 5rem 0;
    }
    
    /* Standardize contact section padding */
    .contact-section {
        padding: 3rem 0;
    }
    
    /* Adjust mosaic container for better proportions */
    .mosaic-container {
        grid-template-columns: repeat(6, 200px);
        grid-template-rows: repeat(5, 200px);
        gap: 25px;
        padding: 50px 25px;
    }
    
    /* Adjust flip cards container gap */
    .cards-container {
        gap: 40px;
        padding: 30px;
    }
    
    /* Standardize benefits grid gap */
    .benefits-grid {
        gap: 3rem;
    }
    
    /* Standardize services grid gap */
    .services-grid {
        gap: 3rem;
    }
    
    /* Standardize plans horizontal gap */
    .plans-horizontal {
        gap: 3rem;
    }
    
    /* Adjust team profile padding */
    .team-profile {
        padding: 4rem;
    }
    
    /* Standardize about content gap */
    .about-content {
        gap: 5rem;
    }
    
    /* Adjust contact content gap */
    .contact-content {
        gap: 5rem;
    }
    
    /* Standardize footer padding */
    .footer {
        padding: 35px 0 25px;
    }
    
    /* Adjust footer container padding */
    .footer-container {
        padding: 0 30px;
    }
    
    /* Reduce portfolio section height */
    .portfolio-section {
        min-height: 120vh !important;
        padding: 2rem 0 !important;
        margin-top: 0 !important;
        text-align: left !important;
    }
    
    /* Reduce portfolio grid height */
    .portfolio-grid {
        height: auto !important;
        min-height: 300px !important;
    }
    
    /* Reduce portfolio cards height */
    .portfolio-card {
        height: 250px !important;
    }
    
    /* Reduce portfolio content padding */
    .portfolio-card .portfolio-content {
        padding: 15px !important;
    }
    
    /* Reduce portfolio card titles size */
    .portfolio-card .portfolio-card-title {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    /* Reduce portfolio card descriptions size */
    .portfolio-card .portfolio-card-desc {
        font-size: 0.9rem !important;
    }
    
    /* Override mobile container styles for large screens */
    .portfolio-section .container {
        width: auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }
}

/* Ultra Large Screen Optimizations for 4K+ (3840px+) */
@media (min-width: 3840px) {
    /* Force portfolio section height for 4K screens */
    .portfolio-section {
        min-height: 80vh !important;
        padding: 2rem 0 !important;
        margin-top: 0 !important;
        text-align: left !important;
    }
    
    /* Override any conflicting styles */
    body .portfolio-section {
        min-height: 80vh !important;
    }
    
    /* Ensure container doesn't interfere */
    .portfolio-section .container {
        height: auto !important;
        min-height: auto !important;
    }
}

/* Direct override for any screen width - DEBUG */
.portfolio-section {
    min-height: 65vh !important;
}

/* Contact section height reduction for large screens */
.contact-section {
    min-height: 60vh !important;
    margin-bottom: 4rem !important;
}

/* Mobile-only hard overrides for Hero centering */
@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr !important; gap: 2.5rem !important; justify-items: center !important; align-items: center !important; justify-content: center !important; width: 100% !important; padding-top: 1rem !important; }
    .hero-content { grid-column: 1 / -1 !important; text-align: center !important; display: grid !important; place-items: center !important; align-content: start !important; padding-inline: 24px !important; width: 100% !important; max-width: 95vw !important; margin: 0 auto !important; box-sizing: border-box !important; transform: none !important; }
    .hero-main-title, .hero-title { display: inline-block !important; margin-left: auto !important; margin-right: auto !important; }
    .hero-main-title { text-align: center !important; width: 100% !important; margin: 0 auto 0.8rem !important; line-height: 1.2 !important; font-size: 1.75rem !important; white-space: normal !important; max-width: 95vw !important; }
    .hero-title { text-align: center !important; line-height: 1.1 !important; white-space: normal !important; word-break: keep-all !important; overflow-wrap: break-word !important; hyphens: none !important; max-width: 88vw !important; }
    .hero-content h2 { text-align: center !important; margin: 0 auto 1rem !important; }
    .hero-buttons { justify-content: center !important; margin-bottom: 1.5rem !important; }

    .hero-image { display: flex !important; justify-content: center !important; align-items: center !important; position: relative !important; }
    /* Phone mockup styles removed */
    
    /* Hide white separator line in mobile */
    hr { display: none !important; }
    
    /* Reduce world icon size in mobile */
    .world-icon { width: 130px !important; height: 130px !important; }
    
    /* Move planet down in mobile */
    .planet-container { top: 15% !important; }
    
    /* Benefits section title margin-top in mobile */
    .benefits-section > .container > h3 { margin-top: 0.5rem !important; }
    
    /* About subtitle margin-bottom in mobile */
    .about-subtitle { margin-bottom: 4rem !important; }
    
    /* Services main title margin-top in mobile */
    .services-main-title { margin-top: 1rem !important; }
    
    /* Portfolio projects header margin-top in mobile */
    .portafolio-proyectos-2-header h3 { margin-top: 3px !important; }
    
    /* Services flip cards margin-top in mobile */
    #servicess.container.Flip-Cards {
        margin-top: 30px !important;
        margin-bottom: var(--section-gap-after-mobile) !important;
    }
    
    /* Paragraph margin-top in mobile */
    p { margin-top: 0rem !important; }
    
    /* Digitalization banner full width in mobile - Force edge to edge */
    body .digitalization-banner,
    html body .digitalization-banner {
        width: 100vw !important;
        max-width: none !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* Ensure parent containers don't limit the banner */
    body {
        overflow-x: hidden !important;
    }
    
    /* Cards container margin-bottom in mobile */
    .cards-container { margin-bottom: 0rem !important; }
    
    /* Contact section margin-bottom in mobile */
    .contact-section { margin-bottom: -3.5rem !important; }
    
    /* Footer columns horizontal layout in mobile - Override existing rules */
    body .footer-columns,
    html body .footer-columns {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: flex-start !important;
        gap: 15px !important;
        width: 100% !important;
        padding: 0 15px !important;
        max-width: none !important;
    }
    
    body .footer-column,
    html body .footer-column {
        flex: 1 !important;
        text-align: center !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: auto !important;
    }
    
    body .footer-column-title,
    html body .footer-column-title {
        font-size: 11px !important;
        margin-bottom: 5px !important;
        white-space: nowrap !important;
        text-align: center !important;
        line-height: 1.2 !important;
        min-height: auto !important;
        display: block !important;
    }
    
    body .footer-column-list,
    html body .footer-column-list {
        display: block !important;
        margin-top: 5px !important;
    }
    
    body .footer-column-list li,
    html body .footer-column-list li {
        margin-bottom: 3px !important;
    }
    
    body .footer-column-list a,
    html body .footer-column-list a {
        font-size: 10px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        display: block !important;
    }
    
    /* Gallery mobile layout - CSS Grid para layout horizontal forzado */
    body .galeria-container,
    html body .galeria-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        grid-template-rows: 70px 400px !important;
        width: 90% !important;
        max-width: 90% !important;
        margin: 120px auto 0 auto !important;
        padding: 0 !important;
        height: auto !important;
        position: relative !important;
        gap: 5px !important;
        transform: none !important;
        transform-origin: unset !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    
    
    /* Posicionamiento específico en grid para las 3 miniaturas */
    body .galeria-container #img-1,
    html body .galeria-container #img-1 {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: 70px !important;
        max-height: 70px !important;
        min-height: 70px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        float: none !important;
        clear: none !important;
    }
    
    body .galeria-container #img-2,
    html body .galeria-container #img-2 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: 70px !important;
        max-height: 70px !important;
        min-height: 70px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        float: none !important;
        clear: none !important;
    }
    
    body .galeria-container #img-3,
    html body .galeria-container #img-3 {
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: 70px !important;
        max-height: 70px !important;
        min-height: 70px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        float: none !important;
        clear: none !important;
    }
    
    /* Imagen principal en la segunda fila del grid */
    body .galeria-container #img-4,
    html body .galeria-container #img-4 {
        grid-column: 1 / 4 !important;
        grid-row: 2 !important;
        width: 100% !important;
        height: 400px !important;
        max-height: 400px !important;
        margin: 0 !important;
        padding: 0 !important;
        order: unset !important;
        clear: none !important;
        transform: none !important;
        float: none !important;
    }
    
    /* Contenedor de las miniaturas */
    .galeria-container > .imagen-container:not(#img-4) > div {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }
    
    /* Imagen principal grande abajo (altura fija) */
    .galeria-container > #img-4 {
        width: 100% !important;
        height: 400px !important;
        max-height: 400px !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 2 !important;
    }
    
    .galeria-container > #img-4 .imagen-placeholder {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }
    
    /* Botones de navegación en móvil */
    .galeria-container .nav-button {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
    
    /* Contenido debajo de la galería - CENTRAR DIV SIMPLE */
    body .content-section,
    html body .content-section,
    body div.content-section,
    html body div.content-section {
        text-align: center !important;
        margin: 0.2rem auto 2rem auto !important;
        padding: 0 1rem !important;
        width: 90% !important;
        max-width: 90% !important;
        display: block !important;
        box-sizing: border-box !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
    }
    
    
    body .content-section .tags-container,
    html body .content-section .tags-container,
    body div.content-section .tags-container,
    html body div.content-section .tags-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        margin: 0 auto 1.5rem auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    body .content-section .tag,
    html body .content-section .tag,
    body div.content-section .tag,
    html body div.content-section .tag {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        flex-direction: row !important;
    }
    
    body .content-section .tag .tag-text,
    html body .content-section .tag .tag-text,
    body div.content-section .tag .tag-text,
    html body div.content-section .tag .tag-text {
        white-space: nowrap !important;
        display: inline !important;
    }
    
    body .content-section .tag .tag-icon-container,
    html body .content-section .tag .tag-icon-container,
    body div.content-section .tag .tag-icon-container,
    html body div.content-section .tag .tag-icon-container {
        display: inline-block !important;
        margin-left: 0.5rem !important;
    }
    
    body .content-section .subheading,
    html body .content-section .subheading,
    body .content-section p,
    html body .content-section p,
    body div.content-section .subheading,
    html body div.content-section .subheading,
    body div.content-section p,
    html body div.content-section p {
        text-align: center !important;
        margin: 0 auto !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
        max-width: 600px !important;
        width: 100% !important;
        display: block !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    /* Título centrado SOLO en móvil - Técnica simple */
    body .galeria-container + .content-section .main-heading,
    html body .galeria-container + .content-section .main-heading {
        text-align: center !important;
        margin: 2rem auto 24px auto !important;
        width: 100% !important;
        max-width: 95% !important;
        display: block !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
        padding: 0 1rem !important;
    }
    
    /* Subheading centrado SOLO en móvil - Misma técnica que el título */
    body .galeria-container + .content-section .subheading,
    html body .galeria-container + .content-section .subheading {
        text-align: center !important;
        margin: 0 auto 24px auto !important;
        width: 100% !important;
        max-width: 95% !important;
        display: block !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
        padding: 0 1rem !important;
    }
    
    /* Move green container down in mobile - below the planet */
    .section-image { margin-top: -10px !important; }
    
    /* Position text content relative to green container in mobile */
    .image-container {
        position: relative !important;
    }
    
    .text-content { 
        position: absolute !important; 
        top: 55% !important; 
        left: 50% !important; 
        transform: translate(-50%, -50%) !important; 
        width: 85% !important; 
        max-width: 420px !important; 
        z-index: 20 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: auto !important;
        padding: 15px 0 !important;
        margin: 0 !important;
    }
    
    /* Center and adjust text sizes to fit inside container */
    .international-title { 
        font-size: 32px !important; 
        margin-bottom: 0.8rem !important; 
        line-height: 1.1 !important;
        text-align: center !important;
        width: 100% !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .section-description { 
        font-size: 18px !important; 
        margin-bottom: 1.2rem !important; 
        line-height: 1.3 !important;
        text-align: center !important;
        width: 100% !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .international-cta-button { 
        font-size: 0.9rem !important; 
        padding: 10px 20px !important;
        text-align: center !important;
        display: inline-block !important;
        margin-top: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Adjust services section position in mobile */
    .services-container { 
        margin-top: -90px !important; 
        text-align: center !important; 
        display: flex !important; 
        flex-direction: column !important; 
        align-items: center !important;
        position: relative !important;
        z-index: 10 !important; 
        width: 100% !important; 
        padding: 0 20px !important; 
        box-sizing: border-box !important; 
        margin-left: auto !important; 
        margin-right: auto !important; 
        max-width: 100vw !important;
    }
    
    /* Flip Cards specific styles for mobile */
    .Flip-Cards {
        margin-top: 50px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        position: relative !important;
        z-index: 15 !important;
        width: 100% !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100vw !important;
    }
    
    /* Flip Cards title color */
    .Flip-Cards h3 {
        color: #4aa921 !important;
    }
    
    /* Stack services cards vertically in mobile */
    .services-grid { 
        grid-template-columns: 1fr !important; 
        gap: 1.5rem !important; 
        width: 100% !important; 
        justify-items: center !important; 
        padding: 0 16px !important; 
        box-sizing: border-box !important; 
    }
    
    /* Make service cards full width in mobile */
    .service-card { 
        width: 100% !important; 
        max-width: 560px !important; 
        padding: 2rem !important; 
        margin: 0 auto !important; 
        text-align: center !important; 
    }
    
    /* Center content inside service cards */
    .service-card h2,
    .service-card p,
    .service-card .service-desc,
    .service-card .service-cta { 
        margin-left: auto !important; 
        margin-right: auto !important; 
    }

    .service-card h2,
    .service-card p,
    .service-card .service-cta { 
        text-align: center !important; 
    }

    .service-card .service-desc,
    .service-card .service-features,
    .service-card .value-item {
        text-align: left !important;
    }
    
    /* Portfolio section mobile adjustments */
    .portfolio-section { 
        text-align: center !important; 
        padding: 8px 0 !important; 
        margin-top: -30px !important; 
    }
    
    .portfolio-section .container { 
        width: 100% !important; 
        padding: 0 20px !important; 
        box-sizing: border-box !important; 
        margin: 0 auto !important; 
    }
    
    /* Portfolio grid - show only one card at a time */
    .portfolio-grid { 
        display: flex !important; 
        justify-content: center !important; 
        align-items: center !important; 
        gap: 0 !important; 
        overflow: hidden !important; 
        position: relative !important; 
    }
    
    /* Portfolio cards mobile styling - hide all by default */
    .portfolio-card { 
        max-width: 350px !important; 
        margin: 0 auto !important; 
        display: none !important; 
        opacity: 0 !important; 
        visibility: hidden !important; 
    }
    
    /* Show only the active card */
    .portfolio-card.active { 
        display: block !important; 
        opacity: 1 !important; 
        visibility: visible !important; 
    }
    
    /* Ensure portfolio content is visible in mobile */
    .portfolio-card .portfolio-content { 
        opacity: 1 !important; 
        visibility: visible !important; 
        display: block !important; 
        z-index: 10 !important; 
    }
    
    /* Portfolio content styling for mobile */
    .portfolio-card .portfolio-content { 
        position: absolute !important; 
        top: 50% !important; 
        left: 0 !important; 
        right: 0 !important; 
        transform: translateY(-50%) !important; 
        padding: 25px !important; 
        text-align: center !important; 
        z-index: 2 !important; 
        background: rgba(74, 169, 33, 0.8) !important; 
    }
    
    /* Portfolio card titles and descriptions */
    .portfolio-card .portfolio-card-title { 
        font-size: 1.5rem !important; 
        font-weight: 700 !important; 
        color: #ffffff !important; 
        margin-bottom: 10px !important; 
        text-shadow: none !important; 
    }
    
    .portfolio-card .portfolio-card-desc { 
        font-size: 1rem !important; 
        color: #183049 !important; 
        margin: 0 !important; 
        font-weight: 400 !important; 
        text-shadow: none !important; 
    }
    
    /* Image slider section mobile adjustments */
    .image-slider-section { 
        margin-top: -50px !important; 
    }
    /* External dots for mobile - completely separate from internal dots */
    .image-slider-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 15px !important;
        padding: 0 20px !important;
    }
    
    .image-slider-dots .indicator {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        background: #ccc !important;
        cursor: pointer !important;
        transition: background 0.3s ease !important;
        border: none !important;
    }
    
    .image-slider-dots .indicator.active {
        background: #4aa921 !important;
    }
    
    /* Portfolio navigation dots */
    .portfolio-dots { 
        display: flex !important; 
        justify-content: center !important; 
        gap: 10px !important; 
        margin-top: 20px !important; 
    }
    
    .portfolio-dot { 
        width: 12px !important; 
        height: 12px !important; 
        border-radius: 50% !important; 
        background: #ccc !important; 
        cursor: pointer !important; 
        transition: background 0.3s ease !important; 
    }
    
    .portfolio-dot.active { 
        background: #4aa921 !important; 
    }
}

@media (max-width: 480px) {
    /* Mantener tamaños del subtítulo, solo centrado */
    .hero-content h2 { text-align: center !important; }

    /* Ajustes específicos para el contenido del contenedor verde en pantallas muy pequeñas */
    .text-content { 
        width: 90% !important; 
        max-width: 380px !important; 
        padding: 12px 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        top: 55% !important;
    }
    
    .international-title { 
        font-size: 32px !important; 
        margin-bottom: 0.6rem !important; 
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .section-description { 
        font-size: 18px !important; 
        margin-bottom: 1rem !important; 
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .international-cta-button { 
        font-size: 0.85rem !important; 
        padding: 8px 16px !important;
        margin-top: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        display: inline-block !important;
    }

    /* Ensure image slider and external dots layout correctly on mobile */
    .image-slider { width: 100% !important; max-width: 100% !important; margin: 0 auto !important; display: block !important; position: relative !important; }
    .image-slider-viewport { width: 100% !important; display: block !important; }
    .image-slider-dots { position: static !important; width: 100% !important; margin: 12px auto 0 !important; justify-content: center !important; padding: 0 20px !important; box-sizing: border-box !important; }
    .image-slider-section { display: block !important; }
}

/* Using Sansation font */

/* Portfolio CTA Button Styles */
.portfolio-cta-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    padding: 0 2rem;
}

/* =============================================
   Scoped fixes for gallery-based portfolio pages
   (Restores title, paragraph and button styles)
   Scope: when a .content-section follows .galeria-container
   ============================================= */
.galeria-container + .content-section .main-heading {
    color: #4aa921 !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    text-align: left !important;
    font-family: 'Sansation', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 40px !important;
    line-height: 1.1 !important;
}

.galeria-container + .content-section .subheading {
    color: #183049 !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    text-align: left !important;
}

.galeria-container + .content-section .nav-container {
    margin-top: 24px !important;
    margin-bottom: 30px !important; /* espacio antes del footer */
}

/* Buttons under gallery portfolios */
.galeria-container + .content-section .nav-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.galeria-container + .content-section .cta-button {
    background: linear-gradient(135deg, #92d348, #4aa921) !important;
    color: #ffffff !important;
    padding: 1rem 2rem !important;
    border-radius: 30px !important;
    border: 1px solid #4aa921 !important;
    box-shadow: 0 4px 15px rgba(128, 128, 128, 0.3) !important;
}

.galeria-container + .content-section .cta-button:hover {
    background: #ffffff !important;
    color: #1a395a !important;
}

.galeria-container + .content-section .demo-button {
    background: #183049 !important;
    color: #ffffff !important;
    padding: 1rem 2rem !important;
    border-radius: 30px !important;
    border: 1px solid #183049 !important;
    box-shadow: 0 4px 15px rgba(24, 48, 73, 0.3) !important;
}

.galeria-container + .content-section .demo-button:hover {
    background: #ffffff !important;
    color: #183049 !important;
    border: 1px solid #183049 !important;
    transform: translateY(-2px);
}

/* Desktop layout alignment for demo/prev/next buttons (kept from template) */
@media (min-width: 1024px) {
    .galeria-container + .content-section .nav-container { position: relative; width: 100%; max-width: 1450px; margin: 0 auto; }
    .galeria-container + .content-section .nav-buttons {
        display: grid !important;
        grid-template-columns: 1fr auto auto 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        align-items: center;
        width: 100%;
    }
    .galeria-container + .content-section .nav-buttons .demo-button { grid-column: 1 / 2; grid-row: 1 / 2; justify-self: start; }
    .galeria-container + .content-section .nav-buttons .cta-button:first-of-type { grid-column: 2 / 3; grid-row: 2 / 3; justify-self: end; }
    .galeria-container + .content-section .nav-buttons .cta-button:last-of-type { grid-column: 3 / 4; grid-row: 2 / 3; justify-self: start; }
}

/* Consistent spacing below gallery block */
.galeria-container {
    margin-bottom: 24px !important;
}

.portfolio-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #92d348, #4aa921);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #4aa921;
    transition: all 0.3s ease;
    text-align: center;
   
}

.portfolio-cta-btn:hover {
    background: #ffffff;
    color: #183049;
    border: 1px solid #183049;
    transform: translateY(-2px);
   
}

.portfolio-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(74, 169, 33, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .portfolio-cta-container {
        margin: 2rem 0;
        padding: 0 1rem;
    }
    
    .portfolio-cta-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }
}

/* seccion de portafolio de proyectos 2 */ 
.portafolio-proyectos-2-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.portafolio-proyectos-2-header h3 {
    color: #4aa921;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Sansation', sans-serif;
    margin-top:  70px;
}

.portafolio-proyectos-2-header p {
    color: #183049;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Sansation', sans-serif;
}

.leap-frog {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .portfolio-more-projects {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 20px;
  }
  
  .leap-frog__dot {
    background-color: #fff;
    height: 400px;
    width: 100px;
    flex: 1;
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
  }
  
  .leap-frog__dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
  }
  
  /* Overlay que aparece en hover */
  .leap-frog__dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(24, 48, 73, 0.8);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
  }
  
  /* Contenido del overlay */
  .leap-frog__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
  }
  
  .leap-frog__overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Sansation', sans-serif;
  }

  .leap-frog__overlay p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 auto 1rem;
    max-width: 220px;
    font-family: 'Sansation', sans-serif;
  }
  
  /* Mobile version - margin-bottom: 0 */
  @media (max-width: 768px) {
    .leap-frog__overlay h3 {
      margin-bottom: 0.5rem;
    }

    .leap-frog__overlay p {
      font-size: 0.9rem;
      max-width: 280px;
      margin-bottom: 0.75rem;
    }
  }
  
  .leap-frog__dot:hover {
    flex: 2;
  }
  
  .leap-frog__dot:hover::before {
    opacity: 1;
  }
  
  .leap-frog__dot:hover .leap-frog__overlay {
    opacity: 1;
  }

/* Responsive para móviles - 3 tarjetas apiladas verticalmente */
@media (max-width: 768px) {
  .portafolio-proyectos-2-header {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .portafolio-proyectos-2-header h3 {
    font-size: 2rem;
  }
  
  .portafolio-proyectos-2-header p {
    font-size: 1rem;
    max-width: 100%;
  }
  
  .leap-frog {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .leap-frog__dot {
    width: 100%;
    height: 200px;
    flex: none;
  }
  
  .leap-frog__dot:hover {
    flex: none;
    transform: scale(1.05);
  }
}

/* ==============================
   Web-2 Carousel Cards Styling
   (moved from web-2.html inline <style>)
   ============================== */

/* Ensure carousel doesn't conflict with existing styles */
#vertical-thumbnails {
    margin: 2rem auto 8rem auto !important;
    width: 755px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: visible;
    display: block;
}

/* Add extra spacing to the gallery section (adjusted lower) */
.project-gallery-section {
    padding-bottom: 0 !important;
    margin-bottom: 20px !important;
}

/* Custom carousel styling */
.carousel-pagination-item {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    width: 200px;
    height: 101px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

/* Allow thumbnails to expand on hover without being clipped and provide extra height */
#vertical-thumbnails .carousel-pagination {
    height: 320px !important;   /* restore desktop default */
    overflow: visible;
}

/* Make both columns share the same height and align bottoms */
#vertical-thumbnails .carousel {
    align-items: stretch;
}

#vertical-thumbnails .relative.grow {
    height: 320px; /* restore desktop default */
    display: flex;
}

/* Ensure the main preview container doesn't clip the scaled image */
#vertical-thumbnails .relative.grow {
    overflow: visible !important;
}

.carousel-pagination-item:hover {
    opacity: 0.8 !important;
    border-color: #92d348;
    transform: scale(1.02);
}

.carousel-pagination-item.carousel-active {
    border-color: #4aa921;
    box-shadow: 0 4px 12px rgba(8, 124, 2, 0.3);
}

.carousel-prev, .carousel-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

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

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

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-prev span, .carousel-next span {
    display: block;
    line-height: 1;
    user-select: none;
}

.carousel-body {
    background: #f8f9fa;
    position: relative;
    width: 560px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    overflow: hidden; /* prevent image spilling outside */
}

.carousel-slide {
    transition: opacity 0.3s ease-in-out;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill area, use available space */
    object-position: center;
    max-width: 100%;
    max-height: 100%;
}

/* keep hover zoom for thumbnails only, not for the main image */
.carousel-slide:hover img {
    transform: none;
}

/* thumbnail hover zoom remains */
.carousel-pagination-item:hover {
    opacity: 0.8 !important;
    border-color: #92d348; /* matches user's tweak */
    transform: scale(1.02);
}

.carousel-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

/* Ensure the inner flex wrapper fills the preview area */
#vertical-thumbnails .carousel-slide > .flex {
    width: 100%;
    height: 100%;
    align-items: stretch;
}

/* Enhanced responsive adjustments */
@media (max-width: 640px) {
    #vertical-thumbnails {
        width: 100% !important;
        max-width: 400px;
    }
    
    #vertical-thumbnails .carousel {
        flex-direction: column;
        gap: 2px; /* reduce space between big image and thumbnails */
    }
    
    /* Place big image on top and thumbnails below */
    #vertical-thumbnails .relative.grow { order: 1; }

    /* Reduce height of main preview wrapper only on mobile */
    #vertical-thumbnails .relative.grow {
        height: 260px !important;
    }
    #vertical-thumbnails .flex-none { order: 2; }
    
    .carousel-pagination {
        flex-direction: row !important;
        width: 100% !important;
        height: 90px !important; /* mobile-specific height */
        gap: 4px; /* tighter spacing between thumbs */
        padding: 0.25rem; /* reduce internal padding */
    }
    
    .carousel-pagination-item {
        width: 110px !important;
        height: 60px !important;
        flex: 1;
        border-radius: 8px;
        margin-bottom: 5px; /* small bottom margin between thumbs */
    }
    
    .carousel-body {
        width: 100% !important;
        height: 250px !important;
    }

    /* Ensure the big image fully fills its container on mobile */
    #vertical-thumbnails .carousel-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center;
    }
    
    .carousel-prev, .carousel-next {
        width: 35px !important;
        height: 35px !important;
    }
    
    .carousel-prev {
        left: 10px !important;
    }
    
    .carousel-next {
        right: 10px !important;
    }

    /* Center the demo button to align with other buttons in mobile */
    .demo-button-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0px 0 0px; /* reduce vertical gap around demo button */
        width: 100%;
        text-align: center;
    }

    /* Keep original button size; now inside nav-buttons */
    .demo-button {
        width: auto;
        max-width: none;
        display: inline-flex;
        margin: 0 auto 5px;
    }

    /* Ensure parent paragraph doesn't affect centering */
    .subheading {
        text-align: center;
        margin-bottom: 40px !important; /* reduce from 90 to 20 in mobile */
    }

    /* Nav buttons apilados verticalmente en móvil */
    .nav-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        margin-top: 0 !important;
    }

    /* Botón Ver Demo arriba - ancho fijo */
    .demo-button {
        order: 1 !important;
        margin: 0 !important;
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Botón Siguiente en el medio - mismo ancho que Ver Demo */
    .nav-buttons .cta-button:last-of-type {
        order: 2 !important;
        margin: 0 !important;
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Botón Anterior abajo - mismo ancho que Ver Demo */
    .nav-buttons .cta-button:first-of-type {
        order: 3 !important;
        margin: 0 !important;
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Ensure containers have no top margin in mobile */
    .nav-container {
        margin-top: 6px !important; /* slight spacing below demo button */
    }
    /* Mobile-only bottom overlap adjustment for carousel wrapper */
    .carousel-wrapper {
        margin-bottom: -65px !important;
    }
}

/* Desktop alignment: keep both columns same height and prevent overflow */
@media (min-width: 641px) {
    #vertical-thumbnails .carousel-pagination { height: 320px !important; }
    #vertical-thumbnails .relative.grow { height: 320px !important; }
    #vertical-thumbnails .relative.grow .carousel-body { height: 100% !important; }
    #vertical-thumbnails .carousel-slide { height: 100% !important; }
    #vertical-thumbnails .carousel-slide img { object-fit: contain !important; height: 100% !important; }
}

/* Loading animation */
.carousel-body.opacity-0 {
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reviews Section Styles */
.reviews-container {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.reviews-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4aa921;
    text-align: center;
    margin-bottom: 20px;
}

.reviews-main-title br {
    display: none;
}

.reviews-container p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 4px solid #4aa921;
    display: block;
}

.review-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #183049;
    margin: 0 0 5px 0;
}

.review-position {
    font-size: 1rem;
    color: #4aa921;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin: 0 0 25px 0;
    position: relative;
}

.review-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.star {
    font-size: 1.8rem;
    color: #f39c12;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star:hover {
    color: #e67e22;
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .reviews-container {
        padding: 60px 0;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    .reviews-main-title {
        font-size: 2rem;
    }
    
    .reviews-main-title br {
        display: block;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .review-card {
        padding: 25px 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-self: center;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .star {
        font-size: 1.5rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .reviews-grid {
        padding: 0 15px;
    }
    
    .review-card {
        padding: 20px 15px;
    }
    
    .reviews-main-title {
        font-size: 1.8rem;
    }
    
    .reviews-main-title br {
        display: block;
    }
}

.hero-break-1280 {
    display: none;
}

/* Ajustes exclusivos para escritorio 1280 × 800 */
@media (width: 1280px) and (height: 800px) {
    .hero-main-title {
        color: #72d739;
        font-size: 56px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-break-1280 {
        display: block;
    }

    .hero-overlay {
        background-color: rgba(24, 48, 73, 0.5);
    }
}
