/* Servicios - Estilos completos y mejorados para responsive */
/* Importar tipografías corporativas */
@import url('https://fonts.googleapis.com/css2?family=Prototype:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sukhumvit+Set:wght@300;400;500;600;700&display=swap');

/* Aplicar tipografías corporativas */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Prototype', monospace;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

p, span, div, a, button, input, textarea, label {
    font-family: 'Sukhumvit Set', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
}

/* Contenedor principal de servicios */
.servicios-container {
    background-color: white;
    padding: 50px;
    border-radius: 20px;
}

.servicios-container h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--color-azul-oscuro);
    font-family: 'Prototype', monospace;
    font-weight: 400;
    letter-spacing: 0.8px;
}

.servicios-descripcion {
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-gris-oscuro);
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Sukhumvit Set', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Secciones por Sector - Diseños únicos */
.sector-section {
    margin-bottom: 80px;
    padding: 60px 0;
    position: relative;
}

.sector-section:last-of-type {
    border-bottom: none;
}

/* SECTOR PETROLERO - Diseño: Parallax arriba, productos abajo */
.sector-section.petrolero {
    padding: 0;
}

/* SECTOR CONSTRUCCIÓN - Diseño básico limpio */
.sector-section.construccion {
    background: transparent !important;
    padding: 0;
}

/* SECTOR AGROPECUARIO - Diseño: Imagen arriba ocupando todo el ancho, productos abajo */
.sector-section.agropecuario {
    background: linear-gradient(135deg, 
        rgba(8, 83, 46, 0.03) 0%, 
        rgba(168, 189, 87, 0.03) 100%);
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
}

.sector-section.agropecuario .sector-parallax-container {
    height: 350px;
    width: 100%; /* Ocupar todo el ancho */
}

.sector-section.agropecuario .productos-grid {
    padding: 40px;
}

/* SECTOR RECREACIÓN - Diseño: Imagen arriba ocupando todo el ancho, productos abajo */
.sector-section.recreacion {
    background: linear-gradient(135deg, 
        rgba(0, 156, 199, 0.03) 0%, 
        rgba(168, 189, 87, 0.03) 100%);
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
}

.sector-section.recreacion .contenido-recreacion {
    padding: 40px;
}

.sector-section.recreacion .sector-parallax-container {
    height: 350px;
    width: 100%; /* Ocupar todo el ancho */
    border-radius: 25px; /* Restaurar bordes redondeados */
}

.sector-section.recreacion .productos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Producto destacado en recreación */
.producto-destacado {
    background: linear-gradient(135deg, 
        rgba(0, 156, 199, 0.08) 0%, 
        rgba(168, 189, 87, 0.08) 100%);
    border: 2px solid var(--color-azul-claro);
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
}

.producto-destacado::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        var(--color-azul-claro) 0%, 
        var(--color-verde-claro) 50%,
        var(--color-azul-oscuro) 100%);
    z-index: -1;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.producto-destacado:hover::before {
    opacity: 1;
}

.producto-destacado i {
    font-size: 2.8rem !important;
    color: var(--color-azul-claro) !important;
}

.producto-destacado:hover i {
    color: var(--color-verde-claro) !important;
    transform: scale(1.3) rotateY(20deg) !important;
}

.sector-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.sector-header i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--color-azul-oscuro) 0%, var(--color-azul-claro) 50%, var(--color-verde-claro) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(16, 61, 92, 0.2));
}

.sector-header h3 {
    color: var(--color-azul-oscuro);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

/* Grid de productos mejorado */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
    padding: 40px;
}

.producto-item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 189, 87, 0.2);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.producto-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(16, 61, 92, 0.02) 0%, 
        rgba(0, 156, 199, 0.02) 50%,
        rgba(168, 189, 87, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.producto-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-verde-claro);
}

.producto-item:hover::before {
    opacity: 1;
}

/* Animaciones dinámicas para íconos */
@keyframes float-bounce {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-8px) rotate(2deg); 
    }
    50% { 
        transform: translateY(-12px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-6px) rotate(-2deg); 
    }
}

/* Mejoras para animaciones con colores corporativos */
@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(16, 61, 92, 0.2));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 4px 12px rgba(168, 189, 87, 0.5));
    }
}

@keyframes rotate-swing {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.05); }
    50% { transform: rotate(0deg) scale(1.1); }
    75% { transform: rotate(-10deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

@keyframes shake-scale {
    0%, 100% { transform: translateX(0) scale(1); }
    10% { transform: translateX(-2px) scale(1.02); }
    20% { transform: translateX(2px) scale(1.04); }
    30% { transform: translateX(-2px) scale(1.06); }
    40% { transform: translateX(2px) scale(1.04); }
    50% { transform: translateX(0) scale(1.08); }
    60% { transform: translateX(2px) scale(1.06); }
    70% { transform: translateX(-2px) scale(1.04); }
    80% { transform: translateX(2px) scale(1.02); }
    90% { transform: translateX(-2px) scale(1); }
}

.producto-item i {
    font-size: 2.2rem;
    color: var(--color-azul-oscuro); /* RGB: 16 61 92 - color base más profesional */
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-bounce 3s ease-in-out infinite;
    animation-delay: var(--animation-delay, 0s);
    filter: drop-shadow(0 2px 4px rgba(16, 61, 92, 0.2));
}

.producto-item:hover i {
    animation: pulse-glow 0.6s ease-in-out;
    transform: scale(1.2) rotateY(15deg);
    color: var(--color-verde-claro); /* RGB: 168 189 87 - verde corporativo en hover */
    filter: drop-shadow(0 4px 12px rgba(168, 189, 87, 0.4));
}

.producto-item h4 {
    color: var(--color-azul-oscuro);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: 'Prototype', monospace;
    letter-spacing: 0.4px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.producto-item p {
    color: var(--color-gris-oscuro);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-family: 'Sukhumvit Set', sans-serif;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.producto-item:hover h4 {
    color: var(--color-verde-oscuro);
}

/* Servicios Forestales */
.servicios-forestales {
    margin-top: 80px;
    padding: 0;
    overflow: hidden;
}

.servicios-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 50px 50px 0 50px;
}

.servicios-header i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--color-verde-oscuro) 0%, var(--color-verde-claro) 50%, var(--color-azul-claro) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 6px rgba(8, 83, 46, 0.3));
}

.servicios-header h3 {
    color: var(--color-verde-oscuro);
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Prototype', monospace;
    letter-spacing: 0.6px;
}

.servicios-header p {
    color: var(--color-gris-oscuro);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Sukhumvit Set', sans-serif;
    font-weight: 400;
}

.servicios-forestales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 50px 50px 50px;
}

.servicio-forestal {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(8, 83, 46, 0.1);
    position: relative;
    overflow: hidden;
}

.servicio-forestal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(8, 83, 46, 0.03) 0%, 
        rgba(0, 156, 199, 0.03) 50%,
        rgba(168, 189, 87, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.servicio-forestal:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-azul-claro);
}

.servicio-forestal:hover::before {
    opacity: 1;
}

.servicio-forestal i {
    font-size: 2.5rem;
    color: var(--color-verde-oscuro); /* RGB: 8 83 46 - verde oscuro corporativo */
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: rotate-swing 4s ease-in-out infinite;
    animation-delay: var(--forest-delay, 0s);
    filter: drop-shadow(0 2px 6px rgba(8, 83, 46, 0.3));
}

.servicio-forestal:hover i {
    animation: shake-scale 0.8s ease-in-out;
    color: var(--color-azul-claro); /* RGB: 0 156 199 - azul claro corporativo en hover */
    transform: scale(1.25) rotateY(20deg);
    filter: drop-shadow(0 4px 12px rgba(0, 156, 199, 0.5));
}

.servicio-forestal h4 {
    color: var(--color-azul-oscuro);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.servicio-forestal p {
    color: var(--color-gris-oscuro);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.servicio-forestal:hover h4 {
    color: var(--color-azul-claro);
}

/* Parallax mejorado con movimiento suave */
.sector-parallax-container {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 25px; /* Restaurar bordes redondeados */
    margin: 0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.sector-parallax-bg {
    position: absolute;
    top: -18%;
    left: -4%;
    width: 108%;
    height: 136%;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
    transform: scale(1.08);
    filter: brightness(0.65) contrast(1.15) saturate(1.15);
    transition: transform 0.12s ease-out;
}

.sector-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.forestales-parallax {
    margin: 0;
}

.forestales-parallax .sector-parallax-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.sector-parallax-overlay .sector-header,
.sector-parallax-overlay .servicios-header {
    color: white;
    padding: 40px;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.sector-parallax-overlay .sector-header i,
.sector-parallax-overlay .servicios-header i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.sector-parallax-overlay .sector-header h3,
.sector-parallax-overlay .servicios-header h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
    color: white;
}

.sector-parallax-overlay .servicios-header p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    font-weight: 400;
    color: white;
}

/* Botones centrados */
.boton-centro {
    text-align: center;
    margin-top: 50px;
}

.boton-centro .btn-primario,
.boton-centro .btn-secundario {
    margin: 0 10px;
}

/* Optimización para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .sector-parallax-bg {
        background-attachment: scroll !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        background-position: center center !important;
    }
}

/* Mejoras para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .servicios-container {
        padding: 40px 30px;
    }
    
    .sector-parallax-container {
        height: 280px;
    }
    
    .sector-parallax-bg {
        background-attachment: scroll;
        transform: scale(1.05);
    }
    
    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .servicios-forestales-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    /* Ajustes para diseños únicos en tablets */
    .sector-section.agropecuario .sector-parallax-container {
        height: 250px;
    }
}

/* Mejoras comprehensivas para dispositivos móviles */
@media (max-width: 768px) {
    /* Container principal optimizado */
    .servicios-container {
        padding: 25px 18px;
        border-radius: 18px;
    }
    
    .servicios-container h2 {
        font-size: 1.9rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .servicios-descripcion {
        font-size: 1.02rem;
        margin-bottom: 35px;
        line-height: 1.5;
    }
    
    /* Sectores optimizados */
    .sector-section {
        margin-bottom: 45px;
        padding: 25px 18px;
        border-radius: 20px;
    }
    
    /* Hacer todos los diseños de una columna en móvil */
    .sector-section.agropecuario {
        display: block;
        gap: 0;
    }
    
    .sector-section.recreacion .sector-parallax-container {
        margin-bottom: 0;
    }
    
    /* Headers de sector mejorados */
    .sector-header {
        gap: 12px;
        margin-bottom: 30px;
        flex-direction: column;
        text-align: center;
    }
    
    .sector-header i {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .sector-header h3 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    /* Parallax móvil optimizado */
    .sector-parallax-container {
        height: 240px;
        margin-bottom: 25px;
        border-radius: 18px;
    }
    
    .sector-parallax-bg {
        /* Deshabilitar parallax fijo en móviles */
        background-attachment: scroll !important;
        /* Resetear posición para evitar cortes */
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        /* Remover transforms problemáticos */
        transform: none !important;
        /* Mejorar posicionamiento de imagen */
        background-position: center 40% !important;
        background-size: cover !important;
        filter: brightness(0.5) contrast(1.2) saturate(1.1);
    }
    
    .sector-parallax-overlay .sector-header,
    .sector-parallax-overlay .servicios-header {
        padding: 18px 15px;
    }
    
    .sector-parallax-overlay .sector-header i,
    .sector-parallax-overlay .servicios-header i {
        font-size: 2.8rem;
        margin-bottom: 12px;
    }
    
    .sector-parallax-overlay .sector-header h3,
    .sector-parallax-overlay .servicios-header h3 {
        font-size: 1.7rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .sector-parallax-overlay .servicios-header p {
        font-size: 1.02rem;
        line-height: 1.5;
    }
    
    /* Grid de productos móvil */
    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 18px;
        padding: 20px 0;
    }
    
    .producto-item {
        padding: 22px 18px;
        border-radius: 12px;
    }
    
    .producto-item i {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .producto-item h4 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    
    .producto-item p {
        font-size: 0.92rem;
        line-height: 1.4;
    }
    
    /* Servicios forestales móvil */
    .servicios-forestales {
        margin-top: 50px;
        padding: 25px 18px;
        border-radius: 20px;
    }
    
    .servicios-header {
        margin-bottom: 35px;
    }
    
    .servicios-header i {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    .servicios-header h3 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .servicios-header p {
        font-size: 1.05rem;
        line-height: 1.5;
    }
    
    .servicios-forestales-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 22px;
        padding: 25px 0;
    }
    
    .servicio-forestal {
        padding: 25px 20px;
        border-radius: 18px;
    }
    
    .servicio-forestal i {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .servicio-forestal h4 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .servicio-forestal p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Botones centrados móvil */
    .boton-centro {
        margin-top: 35px;
    }
    
    .boton-centro .btn-primario,
    .boton-centro .btn-secundario {
        margin: 8px;
        display: inline-block;
        padding: 12px 22px;
        font-size: 0.95rem;
    }
}

/* Ultra optimización para móviles pequeños */
@media (max-width: 480px) {
    /* Container ultra compacto */
    .servicios-container {
        padding: 20px 12px;
        border-radius: 15px;
    }
    
    .servicios-container h2 {
        font-size: 1.7rem;
        margin-bottom: 12px;
    }
    
    .servicios-descripcion {
        font-size: 0.98rem;
        margin-bottom: 30px;
    }
    
    /* Sectores ultra compactos */
    .sector-section {
        margin-bottom: 35px;
        padding: 20px 12px;
        border-radius: 15px;
    }
    
    .sector-header {
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .sector-header i {
        font-size: 2rem;
        margin-bottom: 6px;
    }
    
    .sector-header h3 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    /* Parallax ultra compacto */
    .sector-parallax-container {
        height: 200px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .sector-parallax-bg {
        /* Forzar posición centrada en móviles pequeños */
        background-position: center center !important;
        background-size: cover !important;
        background-attachment: scroll !important;
        transform: none !important;
        filter: brightness(0.45) contrast(1.25) saturate(1.05);
    }
    
    .sector-parallax-overlay .sector-header,
    .sector-parallax-overlay .servicios-header {
        padding: 12px 8px;
    }
    
    .sector-parallax-overlay .sector-header i,
    .sector-parallax-overlay .servicios-header i {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .sector-parallax-overlay .sector-header h3,
    .sector-parallax-overlay .servicios-header h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .sector-parallax-overlay .servicios-header p {
        font-size: 0.92rem;
        line-height: 1.4;
    }
    
    /* Grid ultra compacto */
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }
    
    .producto-item {
        padding: 18px 15px;
        border-radius: 10px;
    }
    
    .producto-item i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .producto-item h4 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .producto-item p {
        font-size: 0.88rem;
        line-height: 1.4;
    }
    
    /* Servicios forestales ultra compacto */
    .servicios-forestales {
        margin-top: 40px;
        padding: 20px 12px;
        border-radius: 15px;
    }
    
    .servicios-header {
        margin-bottom: 30px;
    }
    
    .servicios-header i {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .servicios-header h3 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .servicios-header p {
        font-size: 0.98rem;
        line-height: 1.4;
    }
    
    .servicios-forestales-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px 0;
    }
    
    .servicio-forestal {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .servicio-forestal i {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .servicio-forestal h4 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    
    .servicio-forestal p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Botones ultra adaptados */
    .boton-centro {
        margin-top: 30px;
    }
    
    .boton-centro .btn-primario,
    .boton-centro .btn-secundario {
        width: 100%;
        margin: 6px 0;
        text-align: center;
        padding: 11px 18px;
        font-size: 0.9rem;
        max-width: 250px;
    }
}

/* Ultra optimización para móviles pequeños */
@media (max-width: 480px) {
    /* Container ultra compacto */
    .servicios-container {
        padding: 20px 12px;
        border-radius: 15px;
    }
    
    .servicios-container h2 {
        font-size: 1.7rem;
        margin-bottom: 12px;
    }
    
    .servicios-descripcion {
        font-size: 0.98rem;
        margin-bottom: 30px;
    }
    
    /* Sectores ultra compactos */
    .sector-section {
        margin-bottom: 35px;
        padding: 20px 12px;
        border-radius: 15px;
    }
    
    .sector-header {
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .sector-header i {
        font-size: 2rem;
        margin-bottom: 6px;
    }
    
    .sector-header h3 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    /* Parallax ultra compacto */
    .sector-parallax-container {
        height: 200px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .sector-parallax-bg {
        /* Forzar posición centrada en móviles pequeños */
        background-position: center center !important;
        background-size: cover !important;
        background-attachment: scroll !important;
        transform: none !important;
        filter: brightness(0.45) contrast(1.25) saturate(1.05);
    }
    
    .sector-parallax-overlay .sector-header,
    .sector-parallax-overlay .servicios-header {
        padding: 12px 8px;
    }
    
    .sector-parallax-overlay .sector-header i,
    .sector-parallax-overlay .servicios-header i {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .sector-parallax-overlay .sector-header h3,
    .sector-parallax-overlay .servicios-header h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .sector-parallax-overlay .servicios-header p {
        font-size: 0.92rem;
        line-height: 1.4;
    }
    
    /* Grid ultra compacto */
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }
    
    .producto-item {
        padding: 18px 15px;
        border-radius: 10px;
    }
    
    .producto-item i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .producto-item h4 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .producto-item p {
        font-size: 0.88rem;
        line-height: 1.4;
    }
    
    /* Servicios forestales ultra compacto */
    .servicios-forestales {
        margin-top: 40px;
        padding: 20px 12px;
        border-radius: 15px;
    }
    
    .servicios-header {
        margin-bottom: 30px;
    }
    
    .servicios-header i {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .servicios-header h3 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .servicios-header p {
        font-size: 0.98rem;
        line-height: 1.4;
    }
    
    .servicios-forestales-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px 0;
    }
    
    .servicio-forestal {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .servicio-forestal i {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .servicio-forestal h4 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    
    .servicio-forestal p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Botones ultra adaptados */
    .boton-centro {
        margin-top: 30px;
    }
    
    .boton-centro .btn-primario,
    .boton-centro .btn-secundario {
        width: 100%;
        margin: 6px 0;
        text-align: center;
        padding: 11px 18px;
        font-size: 0.9rem;
        max-width: 250px;
    }
    
    /* Carrusel ultra compacto */
    .carousel-container {
        margin-top: 20px;
    }
    
    .carousel-header h4 {
        font-size: 1.2rem;
    }
    
    .carousel-wrapper {
        min-height: 320px;
    }
    
    .carousel-slide {
        padding: 20px 15px;
    }
    
    .slide-icon i {
        font-size: 2.5rem;
    }
    
    .slide-content h4 {
        font-size: 1.3rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .carousel-controls {
        margin: 15px 0;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        gap: 8px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Optimización de rendimiento para móviles */
@media (max-width: 768px) {
    /* Simplificar animaciones en móviles */
    .producto-item i,
    .servicio-forestal i {
        animation-duration: 2s !important;
    }
    
    .producto-item:hover i,
    .servicio-forestal:hover i {
        animation: none !important;
        transform: scale(1.1) !important;
    }
    
    /* Deshabilitar efectos complejos */
    .producto-item::before,
    .servicio-forestal::before {
        display: none;
    }
    
    .producto-item:hover,
    .servicio-forestal:hover {
        transform: translateY(-3px);
    }
}

/* ========================================
   ESTILOS DEL CARRUSEL DE CONSTRUCCIÓN CON IMAGEN FIJA
   ======================================== */

/* Contenedor principal del carrusel con imagen de fondo */
.carousel-parallax-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 25px;
    margin: 0; /* Sin márgenes para ocupar todo el ancho */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 100%; /* Ocupar todo el ancho disponible */
}

.carousel-parallax-bg {
    position: absolute;
    top: -18%;
    left: -4%;
    width: 108%;
    height: 136%;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
    transform: scale(1.08);
    filter: brightness(0.4) contrast(1.2) saturate(1.1);
    transition: transform 0.12s ease-out;
}

.carousel-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: white;
}

/* Contenido del carrusel que cambia - Ahora ocupa toda la altura */
.carousel-content-overlay {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Aumentar altura al eliminar el header */
    max-height: 100%; /* Usar toda la altura disponible */
    overflow: hidden; /* Evitar desbordamiento */
    padding: 40px 20px; /* Padding para el contenido */
}

.carousel-text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 20px;
}

.carousel-text-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-text-slide.prev {
    transform: translateX(-100px);
}

.carousel-text-slide.next {
    transform: translateX(100px);
}

/* Estilo especial para el slide de título/introducción */
.carousel-text-slide:first-child .slide-text-content {
    background: rgba(255, 255, 255, 0.2); /* Fondo ligeramente más opaco */
    border: 2px solid rgba(168, 189, 87, 0.6); /* Borde verde de la marca */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); /* Sombra más prominente */
}

.carousel-text-slide:first-child .sector-title {
    color: var(--color-verde-claro); /* Color verde de la marca */
    font-size: 2.2rem; /* Tamaño ajustado sin header */
    font-family: 'Prototype', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px; /* Espaciado ajustado */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    text-align: center;
    line-height: 1.3;
}

.carousel-text-slide:first-child .slide-text-content h4 {
    color: white; /* Mantener el subtítulo en blanco */
    font-size: 2.4rem; /* Tamaño del subtítulo */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.carousel-text-slide:first-child .feature-tag-overlay {
    background: rgba(168, 189, 87, 0.3); /* Tags con color verde desde el inicio */
    border-color: var(--color-verde-claro);
    box-shadow: 0 4px 12px rgba(168, 189, 87, 0.3);
}

.slide-text-content {
    width: 100%;
    max-width: 1000px; /* Aumentar el ancho máximo para usar más espacio */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 45px 60px; /* Aumentar padding vertical al tener más espacio */
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-height: 100%; /* Limitar altura máxima */
    overflow-y: auto; /* Scroll si es necesario */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar contenido verticalmente */
}

.slide-text-content h4 {
    color: white;
    font-size: 2.8rem; /* Reducir un poco para mejor responsive */
    margin-bottom: 30px;
    font-family: 'Prototype', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    transition: color 0.4s ease;
    line-height: 1.3; /* Mejor altura de línea */
}

.carousel-text-slide.active .slide-text-content h4 {
    color: var(--color-verde-claro);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.slide-text-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem; /* Reducir un poco para mejor responsive */
    line-height: 1.7;
    margin-bottom: 0;
    font-family: 'Sukhumvit Set', sans-serif;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 950px; /* Aumentar ancho máximo */
    margin-left: auto;
    margin-right: auto;
}

.slide-features-overlay {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-tag-overlay {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 18px; /* Aumentar padding al tener más espacio */
    border-radius: 25px;
    font-size: 1rem; /* Aumentar tamaño de fuente */
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-family: 'Sukhumvit Set', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0 8px; /* Aumentar espaciado entre etiquetas */
}

.carousel-text-slide.active .feature-tag-overlay {
    background: rgba(168, 189, 87, 0.3);
    border-color: var(--color-verde-claro);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 189, 87, 0.4);
}

/* Controles del carrusel - OCULTOS */
.carousel-controls-overlay {
    display: none; /* Ocultar completamente los botones de navegación */
}

.carousel-btn-overlay {
    width: 60px;
    height: 60px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-btn-overlay:hover {
    background: rgba(168, 189, 87, 0.4);
    border-color: var(--color-verde-claro);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 189, 87, 0.4);
}

.carousel-btn-overlay:active {
    transform: translateY(-1px);
}

/* Indicadores del carrusel */
.carousel-indicators-overlay {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.indicator-overlay {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.indicator-overlay.active {
    background: var(--color-verde-claro);
    border-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(168, 189, 87, 0.8);
}

.indicator-overlay:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Responsive del carrusel con imagen */
@media (max-width: 768px) {
    .carousel-parallax-container {
        height: 500px;
        margin: 0;
        border-radius: 18px;
    }
    
    .carousel-parallax-bg {
        background-attachment: scroll !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        background-position: center 40% !important;
        background-size: cover !important;
        filter: brightness(0.3) contrast(1.3) saturate(1.1);
    }
    
    .carousel-parallax-overlay {
        padding: 20px 15px; /* Reducir padding */
    }
    
    .carousel-content-overlay {
        min-height: 300px; /* Reducir altura en móvil */
        padding: 20px 15px; /* Padding más pequeño */
    }
    
    .carousel-text-slide {
        justify-content: center;
        text-align: center;
        padding: 10px; /* Reducir padding interno */
    }
    
    .slide-text-content {
        padding: 30px 20px; /* Padding más compacto */
        border-radius: 20px;
        max-width: 95%;
    }
    
    .slide-text-content h4 {
        font-size: 1.8rem; /* Tamaño más apropiado para móvil */
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .slide-text-content p {
        font-size: 1.1rem; /* Tamaño legible pero no excesivo */
        line-height: 1.5; /* Altura compacta */
        margin-bottom: 0;
        max-width: 100%; /* Usar todo el ancho disponible */
    }
    
    /* Sector title responsive */
    .carousel-text-slide:first-child .sector-title {
        font-size: 1.6rem; /* Tamaño apropiado para el título del sector */
        margin-bottom: 25px;
        line-height: 1.3;
    }
}
    
    .feature-tag-overlay {
        font-size: 0.9rem;
        padding: 8px 15px;
        margin: 0 5px;
    }
    
    /* Controles ocultos en responsive también */
    .carousel-controls-overlay {
        display: none;
    }
    
    .carousel-indicators-overlay {
        gap: 12px;
        margin-top: 15px;
    }
    
    .indicator-overlay {
        width: 12px;
        height: 12px;
    }

@media (max-width: 480px) {
    .carousel-parallax-container {
        height: 450px;
        margin: 0; /* Sin márgenes en móvil pequeño */
        border-radius: 15px;
    }
    
    .carousel-parallax-overlay {
        padding: 20px 15px;
    }
    
    .carousel-header-fixed h3 {
        font-size: 1.4rem;
    }
    
    .carousel-content-overlay {
        min-height: 250px; /* Altura compacta para pantallas pequeñas */
        max-height: calc(100% - 30px); /* Usar más espacio al no tener header */
        padding: 15px 10px; /* Padding compacto */
    }
    
    .slide-text-content {
        padding: 25px 15px; /* Padding muy compacto */
        max-width: 98%;
    }
    
    .slide-text-content h4 {
        font-size: 1.5rem; /* Tamaño más pequeño para pantallas muy pequeñas */
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .slide-text-content p {
        font-size: 1rem; /* Tamaño compacto pero legible */
        margin-bottom: 0;
        line-height: 1.4;
        max-width: 100%;
    }
    
    /* Sector title para pantallas muy pequeñas */
    .carousel-text-slide:first-child .sector-title {
        font-size: 1.3rem; /* Muy compacto para que quepa bien */
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .feature-tag-overlay {
        font-size: 0.8rem;
        padding: 6px 12px; /* Más padding para mejor legibilidad */
    }
    
    /* Controles ocultos en responsive también */
    .carousel-controls-overlay {
        display: none;
    }
    
    .indicator-overlay {
        width: 10px;
        height: 10px;
    }
}

/* Animaciones específicas del carrusel con imagen de fondo */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100px);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

