:root {
    --naranja-100: #ff8c42;
    --naranja-200: #e67e22;
    --naranja-300: #f97316;
    --naranja-400: #ea580c;

}

/* --- Estilos Generales (Base para Desktop) --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- SECCIÓN DE PRINCIPAL --- */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    overflow: hidden;
    display: flex; 
    align-items: center;
    min-height: 80vh;
}

.content-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
    margin-left: 1rem;
}

/* --- contenido a la izquierda texto --- */
.left-content {
    flex: 0 0 auto;
    width: 48%;
    margin-left: 1rem;
    margin-top: 2rem;
}

.content-padding {
    padding: 0.1rem;
}

.hero-title {
    font-size: 3.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title span {
    color: #e67e22;
}

.hero-description {
    color: #c3c6cb;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: justify;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Lista de sectores (Mini-cards horizontales compactas) --- */
.sectors-list {
    margin-top: 2rem;
}

.sectors-title {
    font-weight: 600;
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    position: relative;
}

/* Línea decorativa  */
.sectors-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--naranja-100);
    border-radius: 1px;
}

.sectors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

/* Mini-card*/
.sector-mini-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    
    /* Efectos sutiles */
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    
    /* Tamaño compacto pero legible */
    min-width: fit-content;
    white-space: nowrap;
}

/* Efecto hover sutil */
.sector-mini-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(230, 126, 34, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Icono mini */
.sector-mini-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--naranja-100), var(--naranja-200));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sector-mini-card:hover .sector-mini-icon {
    transform: scale(1.1);
}

/* SVG del icono mini */
.sector-mini-icon svg {
    width: 12px;
    height: 12px;
    color: white;
}

/* Texto del sector */
.sector-mini-name {
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
}

.sector-mini-card:hover .sector-mini-name {
    color: var(--naranja-100);
}

/* Card especial con enfoque azul*/
.more-sectors-mini-card {
    background: linear-gradient(135deg, rgba(0, 39, 73, 0.12), rgba(10, 50, 90, 0.12));
    border: 1px solid rgba(0, 39, 73, 0.25);
}

.more-sectors-mini-card .sector-mini-icon {
    background: linear-gradient(135deg, #002749, #003d6b);
}

.more-sectors-mini-card:hover {
    border-color: rgba(0, 60, 120, 0.3);
    background: linear-gradient(135deg, rgba(0, 60, 120, 0.2), rgba(0, 90, 150, 0.2));
}

/* Nota inclusiva*/
.sectors-inclusive-note {
    font-size: 0.8rem;
    color: #b8bcc8;
    font-weight: 400;
    margin: 0;
    padding-left: 8px;
    border-left: 2px solid rgba(221, 122, 36, 0.442);
    line-height: 1.4;
}

.sectors-inclusive-note strong {
    color: var(--naranja-100);
    font-weight: 600;
}

/* Animaciones de entrada más sutiles */
.sector-mini-card {
    opacity: 0;
    animation: fadeInScale 0.4s ease forwards;
}

.sector-mini-card:nth-child(1) { animation-delay: 0.1s; }
.sector-mini-card:nth-child(2) { animation-delay: 0.15s; }
.sector-mini-card:nth-child(3) { animation-delay: 0.2s; }
.sector-mini-card:nth-child(4) { animation-delay: 0.25s; }
.sector-mini-card:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- contenido a la derecha imagen y tarjetas --- */
.right-content-image {
    flex: 0 0 auto;
    width: 45%;
    position: relative;
}

.image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
}

.hero-circle {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--naranja-200) 0%, var(--naranja-100) 50%, #e95e1e 100%);
    border-radius: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-image-placeholder {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-placeholder img {
    width: 700px;
}

.statistics {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    z-index: 10; /* Las tarjetas estén por encima de otros elementos */
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1); 
    border: none; 
    border-radius: 0.75rem;
    text-align: center;
    padding: 1.5rem 1.2rem; 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(15px); /* Efecto de desenfoque de fondo */
    -webkit-backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease-in-out; 
    cursor: default; /* Para que el tipo clic no se muestre del cursor */
}

/* Efecto hover: un ligero levantamiento y cambio de color del borde/sombra */
.stat-card:hover {
    transform: translateY(-5px); /* Ligeramente más arriba */
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45); /* Sombra más fuerte */
    border-color: rgba(230, 126, 34, 0.5); /* Borde con color naranja */
}

.stat-number {
    font-size: 2.2rem; 
    font-weight: 700;
    color: var(--naranja-100); 
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem; 
    font-weight: 600;
    color: #ffffff; 
    margin-bottom: 0.4rem;
}

.stat-description {
    font-size: 0.85rem; 
    line-height: 1.5;
    color: #c3c6cb; 
}

/* Animaciones de entrada para las tarjetas*/
.stat-card {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.4s; }
.stat-card:nth-child(2) { animation-delay: 0.6s; }
.stat-card:nth-child(3) { animation-delay: 0.8s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablets - 768px y menores */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .content-row {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
        margin-left: 0;
        text-align: center;
    }
    
    .left-content {
        width: 100%;
        order: 2;
        margin-left: 0;
        margin-top: 0;
    }
    
    .right-content-image {
        width: 100%;
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.2rem;
    }
    
    .image-wrapper {
        height: 350px;
    }
    
    .hero-circle {
        width: 300px;
        height: 300px;
    }
    
    .service-image-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .service-image-placeholder img {
        width: 500px;
    }
    
    .statistics {
        position: static;
        transform: none;
        margin-top: 2rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-card {
        flex: 1;
        min-width: 200px;
        padding: 1.2rem 1rem;
    }
    
    .sectors-grid {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .sectors-title {
        text-align: center;
    }
    
    .sectors-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .sectors-inclusive-note {
        text-align: center;
        border-left: none;
        border-top: 2px solid rgba(221, 122, 36, 0.442);
        padding-left: 0;
        padding-top: 8px;
        margin-top: 1rem;
    }
}

/* Móviles - 480px y menores */
@media (max-width: 480px) {
    .hero-section {
        min-height: 90vh;
        padding: 30px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .content-row {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .image-wrapper {
        height: 280px;
    }
    
    .hero-circle {
        width: 250px;
        height: 250px;
    }
    
    .service-image-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .service-image-placeholder img {
        width: 400px;
    }
    
    .statistics {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem 0.8rem;
        min-width: auto;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-description {
        font-size: 0.8rem;
    }
    
    .sectors-grid {
        gap: 0.4rem;
    }
    
    .sector-mini-card {
        padding: 6px 10px;
    }
    
    .sector-mini-icon {
        width: 18px;
        height: 18px;
    }
    
    .sector-mini-icon svg {
        width: 10px;
        height: 10px;
    }
    
    .sector-mini-name {
        font-size: 0.75rem;
    }
    
    .sectors-inclusive-note {
        font-size: 0.75rem;
        margin-top: 0.8rem;
        padding-top: 6px;
    }
}

/* Móviles muy pequeños - 320px y menores */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-circle {
        width: 220px;
        height: 220px;
    }
    
    .service-image-placeholder {
        width: 220px;
        height: 220px;
    }
    
    .service-image-placeholder img {
        width: 350px;
    }
    
    .stat-card {
        padding: 0.8rem 0.6rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .sectors-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .sector-mini-card {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}



/* --- ESTILOS PARA LAS SECCIONES EN GENERAL --- */
.section {
    padding: 80px 0;
}

.section-gray {
    background-color: #f3f4f6;
}

/* --- SECCIÓN DE SERVICIOS --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: left;
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.header-left {
    flex: 1;
    max-width: 700px;
}

.section-subtitle {
    color: #ff6b35;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0;
}

.header-right {
    flex: 1;
    max-width: 500px;
}

.section-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: justify; 
}

/* --- Tarjetas con rotación --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
    perspective: 1000px;
    /* Para el efecto 3D del flip */
    border: #002749;
}

/* Contenedor de la tarjeta para el flip */
.service-card-container {
    aspect-ratio: 4 / 4;
    position: relative;
    overflow: hidden;
}

/* Estilos para la tarjeta en sí (frente y dorso) */
.service-card {
    width: 100%;
    height: 100%;
    position: relative;
    /* Cambiado de absolute a relative */
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    cursor: pointer;
    border-radius: 1rem;
}

.service-card-container:hover .service-card {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

.card-front {
    background: white;
    z-index: 2;
}

.card-back {
    transform: rotateY(180deg);
    background: #ff6b35;
    color: white;
    z-index: 1;
}

.back-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
}

.more-info-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.more-info-link:hover {
    color: #ff6b35;
    transform: translateX(4px);
}

/* Tarjeta destacada (featured) */
.service-card-container.featured .card-front {
    background: #002749;
    color: white;
}

.service-card-container.featured .card-back {
    background: #ced4da;
    color: #002749;
}

.service-card-container.featured .service-category {
    color: rgba(255, 255, 255, 0.8);
}

.service-card-container.featured .service-title {
    color: white;
}

/* Iconos de servicio */
.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-icon .service-png-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-icon .material-icons {
    font-size: 32px;
}

.service-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    text-align: center;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

/* --- SECCIÓN CTA --- */
.cta-section {
    text-align: center;
    margin-top: 50px;
}

.cta-text {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 16px;
}

.cta-link {
    color: #ff6b35;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: #e55a2b;
    transform: translateX(4px);
}

.cta-arrow {
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* Tablets - 768px y menores */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .header-left,
    .header-right {
        max-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
        display: block;
    }
    
    .service-card-container {
        aspect-ratio: 3.5 / 4;
    }
    
    .card-front,
    .card-back {
        padding: 25px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .back-text {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
}

/* Móviles - 480px y menores */
@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .service-card-container {
        aspect-ratio: 3 / 3.5;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .card-front,
    .card-back {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .service-category {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .service-title {
        font-size: 0.95rem;
    }
    
    .back-text {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .more-info-link {
        font-size: 0.85rem;
    }
    
    .cta-section {
        margin-top: 30px;
    }
    
    .cta-text {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .cta-link {
        font-size: 0.9rem;
    }
    
    .cta-arrow {
        width: 18px;
        height: 18px;
        font-size: 0.9rem;
    }
}

/* Móviles muy pequeños - 320px y menores */
@media (max-width: 320px) {
    .service-card-container {
        max-width: 280px;
    }
    
    .card-front,
    .card-back {
        padding: 18px 12px;
    }
    
    .service-title {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .back-text {
        font-size: 0.75rem;
    }
}

/* SECCION ¿QUE OFRECEMOS? */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 0;
}

/* Lado izquierdo - Imagen y contenido principal */
.about-content {
    position: relative;
}

.main-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px;
    box-sizing: border-box;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Pseudo-elemento para la esquina superior izquierda (Naranja) */
.main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-top: 10px solid #ff6b35;
    border-left: 10px solid #ff6b35;
    z-index: 1;
}

/* Pseudo-elemento para la esquina inferior derecha (Azul) */
.main-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-bottom: 10px solid #002749;
    border-right: 10px solid #002749;
    z-index: 1;
}


/* Estadísticas */
.stats-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stats-icon {
    width: 60px;
    height: 60px;
    background: #fff3cd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-content .number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
}

.stats-content .label {
    font-size: 0.9rem;
    color: #64748b;
}

/* Lado derecho - Contenido de texto */
.about-text {
    padding-left: 20px;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 30px;
}

.about-text h2 span {
    color: #ff6b35;
}

.text-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

/* Pestañas */
.tab-navigation {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-button.active {
    color: #ff6b35;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6b35;
}

.tab-button:hover {
    color: #002749;
}

/* Contenido de las pestañas */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.feature-grid {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.feature-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Botón */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-outline {
    border: 2px solid #ff6b35;
    color: #ff6b35;
    background: transparent;
}

.btn-outline:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.2);
}

/* Tablets - 768px y menores */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        padding-left: 0;
    }
    
    .about-text h2 {
        font-size: 1.9rem;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .stats-item {
        gap: 12px;
    }
    
    .stats-icon {
        width: 50px;
        height: 50px;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Móviles - 480px y menores */
@media (max-width: 480px) {
    .about-grid {
        gap: 30px;
    }
    
    .about-text h2 {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .text-description {
        font-size: 1rem;
    }
    
    .main-image {
        padding: 10px;
    }
    
    .main-image::before,
    .main-image::after {
        width: 60px;
        height: 60px;
        border-width: 8px;
    }
    
    .stats-section {
        margin-top: 25px;
        padding-top: 15px;
    }
    
    .stats-icon {
        width: 45px;
        height: 45px;
    }
    
    .stats-content .number {
        font-size: 1.3rem;
    }
    
    .stats-content .label {
        font-size: 0.8rem;
    }
    
    .tab-button {
        padding: 10px 15px;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .feature-item {
        padding: 15px 0;
        gap: 12px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .feature-content h4 {
        font-size: 1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
}

/* Móviles muy pequeños - 320px y menores */
@media (max-width: 320px) {
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: center;
    }
    
    .main-image::before,
    .main-image::after {
        width: 50px;
        height: 50px;
        border-width: 6px;
    }
}

/* --- SECCIÓN DE PROCESO --- */
.process-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 */
    gap: 32px;
    align-items: center; /* Centra verticalmente el contenido de ambas columnas */
}

.process-steps-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 16px;
}

.process-step-item-visual {
    position: relative;
    height: 250px; 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #e6e0d4;
}

.process-step-item-visual:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.process-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.0); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 15px;
}

.process-number-circle {
    background-color: #f39c12; 
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2; /* para que se vea encima de la imagen */
}

.process-step-image-overlay { 
    width: 60px; 
    height: 60px; 
    object-fit: contain; 
    margin-bottom: 8px; 
}

.process-overlay h4 {
    color: #2c3e50; 
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.3;
}

/* --- Lado derecho (texto) --- */
.process-intro-content .section-subtitle {
    color: #f39c12;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: #f39c12;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
}

.process-intro-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.process-intro-content .section-description {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 24px;
}

.process-benefits-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.process-benefits-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

.process-benefits-list li::before {
    content: "\2713"; /* palomita*/
    font-family: 'Material Icons'; 
    color: #f39c12; 
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0px;
    font-weight: bold;
}

/* Tablets - 768px y menores */
@media (max-width: 768px) {
    .process-grid-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .process-steps-visual {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        order: 2;
    }
    
    .process-intro-content {
        order: 1;
    }
    
    .process-intro-content .section-title {
        font-size: 2rem;
    }
    
    .process-step-item-visual {
        height: 200px;
    }
}

/* Móviles - 480px y menores */
@media (max-width: 480px) {
    .process-steps-visual {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .process-intro-content .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .process-intro-content .section-description {
        font-size: 0.95rem;
    }
    
    .process-step-item-visual {
        height: 180px;
    }
    
    .process-step-image-overlay {
        width: 50px;
        height: 50px;
    }
    
    .process-overlay h4 {
        font-size: 1rem;
    }
    
    .process-benefits-list li {
        font-size: 0.85rem;
    }
}


/* Sección Gran Variedad de Productos */
.products-variety-section {
    background: linear-gradient(135deg, #002749 0%, #1a202c 100%);
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.products-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 500px;
}

/* Lado izquierdo - Contenido de texto */
.products-content {
    padding: 30px 60px;
    color: white;
    z-index: 2;
    position: relative;
}

.products-content h2 {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.products-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.btn-contact {
    background: #ff8c42;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-contact:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Lado derecho - Imagen con corte diagonal */
.products-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    clip-path: polygon(16% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.products-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive */
@media (max-width: 768px) {
    .products-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .products-content {
        padding: 40px 30px;
        text-align: center;
    }

    .products-content h2 {
        font-size: 2.2rem;
    }

    .products-image {
        height: 300px;
        clip-path: none;
    }
}

/* Sección empresas que colaboran con nostros */
.clients-section {
    background-color: #ffffff; 
    padding: 40px 0 60px 0 ; 
    text-align: center; 
}

.clients-section .section-subtitle,
.clients-section .section-title {
    color: #333; 
}
.clients-section h2 {
    font-size: 2.5rem; 
    font-weight: 700; 
    margin-bottom: 20px; 
}

.clients-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 40px; 
    justify-items: center; 
    align-items: center; 
    max-width: 1000px; 
    margin: 40px auto 0 auto; 
}

.client-logo-item {
    padding: 10px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logo-item img {
    max-width: 100%;
    height: auto;
    /* Efecto de escala de grises por defecto */
    filter: grayscale(100%);
    opacity: 0.6; /* Un poco de transparencia para que se vea como inacvtivo */
    transition: filter 0.3s ease-in-out, opacity 0.3s ease-in-out; 
}

.client-logo-item img:hover {
    filter: grayscale(0%); /* Quita la escala de grises */
    opacity: 1;
}

/* Tablets - 768px y menores */
@media (max-width: 768px) {
    .clients-section {
        padding: 30px 0 50px 0;
    }
    
    .clients-section h2 {
        font-size: 2rem;
    }
    
    .clients-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 600px;
        margin: 30px auto 0 auto;
    }
}

/* Móviles - 480px y menores */
@media (max-width: 480px) {
    .clients-section {
        padding: 25px 0 40px 0;
    }
    
    .clients-section h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 400px;
        margin: 25px auto 0 auto;
    }
    
    .client-logo-item {
        padding: 8px;
    }
}

/* Móviles muy pequeños - 320px y menores */
@media (max-width: 320px) {
    .clients-logos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 250px;
    }
}