
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    font-weight: 400;
    
}


/* Header */
.header {
    background: #FFFFFF;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(102, 34, 34, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #662222 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.header.scrolled {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    background: #FFFFFF;
    border-bottom-color: rgba(102, 34, 34, 0.2);
}

.header.scrolled::after {
    opacity: 1;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.45rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}
.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-left: -4rem;
    filter: brightness(1);
}
.logo:hover .logo-image {
    transform: scale(1.08) rotate(-2deg);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 34, 34, 0.1);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    display: block;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #662222 0%, #8a2e2e 100%);
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #662222;
    border-radius: 50%;
    opacity: 0;
    transform: translateX(-50%) scale(0);
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #fff;
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-menu a:hover::before {
    width: 100%;
    height: 100%;
}

.nav-menu a:hover::after {
    opacity: 0;
}

.nav-menu a:active {
    transform: translateY(0) scale(0.98);
}

.nav-menu li:has(a:hover) ~ li a {
    transform: translateX(5px);
    opacity: 0.7;
}

.nav-menu li:has(a:hover) {
    z-index: 1;
}

/*section HERO - CARRUSEL*/

.hero {
    position: relative;
    height: 650px;
    overflow: hidden;
    margin-top: 70px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

/* Slide 1 - Centrado */
.hero-slide:nth-child(1) {
    justify-content: center !important;
    align-items: flex-end !important;
    padding-top: 3.5rem;
}

/* Slide 2 - Derecha */
.hero-slide:nth-child(2) {
    justify-content: flex-end !important;
}

/* Slide 3 - Izquierda */
.hero-slide:nth-child(3) {
    justify-content: flex-start !important;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Imágenes de fondo para cada slide */
.hero-slide:nth-child(1) {
    background-image: url('./img/inicio/maquinas.jpg');
    background-position: center 59%;
}

.hero-slide:nth-child(2) {
    background-image: url('./img/inicio/compra.jpg');
}

.hero-slide:nth-child(3) {
    background-image: url('./img/inicio/mercado.jpg');
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    max-width: 900px;
    animation: slideContentFadeIn 0.8s ease-out;
}

/* Slide 1 - Centrado */
.hero-slide:nth-child(1) .hero-slide-content {
    text-align: center;
    margin: 0 auto;
}

/* Slide 2 - Derecha */
.hero-slide:nth-child(2) .hero-slide-content {
    text-align: right;
    margin-right: 3rem;
    margin-left: auto;
}

/* Slide 3 - Izquierda */
.hero-slide:nth-child(3) .hero-slide-content {
    text-align: left;
    margin-left: 3rem;
    margin-right: auto;
}

@keyframes slideContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* Título Slide 1 - Centrado y grande */
.hero-slide:nth-child(1) .hero-title {
    font-size: 4rem;
    margin-top: 1.5rem;
    letter-spacing: -2px;
    padding: 0 1rem;
}

.hero-slide:nth-child(1) .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding: 0 2rem;
}

/* Título Slide 2 - Derecha, más compacto */
.hero-slide:nth-child(2) .hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    padding: 0.5rem 0;
}   

.hero-slide:nth-child(2) .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.2rem;
    padding: 0.3rem 0;
    line-height: 1.8;
}

/* Título Slide 3 - Izquierda, bold y espacioso */
.hero-slide:nth-child(3) .hero-title {
    font-size: 3.8rem;
    margin-bottom: 1.8rem;
    letter-spacing: -1px;
    padding: 0.8rem 0;
    font-weight: 800;
    margin-right: 25%;
}

.hero-slide:nth-child(3) .hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.8rem;
    padding: 0.5rem 0;
    line-height: 1.7;
    margin-right: 32%;
}

.hero-subtitle {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: #662222;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    box-shadow: 0 8px 25px rgba(102, 34, 34, 0.4);
    border: 2px solid transparent;
}

.cta-button:hover {
    background: #ffffff;
    color: #662222;
    border-color: #662222;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 34, 34, 0.5);
}

/* Indicadores del carrusel */
.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-dot.active {
    background: #662222;
    width: 40px;
    border-radius: 7px;
    border-color: rgba(255, 255, 255, 0.8);
}


/*flechas*/

/* Botones de navegación del hero */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #662222;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    opacity: 0.7;
}

.hero-nav-btn:hover {
    background: #662222;
    color: white;
    border-color: #662222;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(102, 34, 34, 0.4);
}

.hero-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

/* RESPONSIVE TABLET (768px) */
@media (max-width: 768px) {
    .hero-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    
    .hero-prev {
        left: 15px;
    }
    
    .hero-next {
        right: 15px;
    }
}

/* RESPONSIVE MÓVIL (480px) */
@media (max-width: 480px) {
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .hero-prev {
        left: 10px;
    }
    
    .hero-next {
        right: 10px;
    }
}


/* ============ QUIÉNES SOMOS ============ */
.quienes-somos {
    background: linear-gradient(135deg, #fafafa 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.quienes-somos::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 34, 34, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.quienes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Animación del título */
.fade-in-title {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-title.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animaciones de entrada desde los costados */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Retrasos para los elementos */
.quienes-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.text-block {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 3px solid #662222;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-left.visible .text-block {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-left.visible .text-block:nth-child(1) {
    transition-delay: 0.2s;
}

.slide-in-left.visible .text-block:nth-child(2) {
    transition-delay: 0.4s;
}

.slide-in-left.visible .text-block:nth-child(3) {
    transition-delay: 0.6s;
}

.text-block:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 25px rgba(102, 34, 34, 0.15);
    border-left-width: 5px;
}

.text-block p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.intro-text {
    font-size: 1rem !important;
    color: #333 !important;
}

.text-block strong {
    color: #662222;
    font-weight: 600;
}

.quienes-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-left.visible .quienes-buttons {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.8s;
}

.quienes-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.quienes-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.quienes-btn:hover::before {
    width: 300px;
    height: 300px;
}

.quienes-btn-primary {
    background: linear-gradient(135deg, #662222 0%, #8a2e2e 100%);
    color: white;
    border: 2px solid transparent;
}

.quienes-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 34, 34, 0.4);
    border-color: #662222;
}

.quienes-btn-secondary {
    background: white;
    color: #662222;
    border: 2px solid #662222;
}

.quienes-btn-secondary:hover {
    background: #662222;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 34, 34, 0.4);
}

.btn-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.quienes-btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.quienes-video {
    position: relative;
    max-width: 330px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid #f0f0f0;
    transition: all 0.4s ease;
    background: #000;
    opacity: 0;
    transform: translateX(50px) scale(0.9);
}

.slide-in-right.visible .video-wrapper {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.3s;
}

.video-wrapper:hover {
    border-color: #662222;
    box-shadow: 0 16px 50px rgba(102, 34, 34, 0.3);
    transform: scale(1.02);
}

.about-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 13px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 34, 34, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
    .quienes-somos {
        padding: 50px 0;
    }

    .quienes-content {
        gap: 2rem;
    }
    
    .text-block p {
        font-size: 0.9rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .quienes-somos {
        padding: 40px 0;
    }

    .quienes-somos .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .quienes-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .text-block {
        padding: 1.15rem;
    }
    
    .text-block p {
        font-size: 0.9rem;
    }
    
    .intro-text {
        font-size: 0.95rem !important;
    }
    
    .video-wrapper {
        border-width: 2.5px;
    }

    /* En móvil, mantener animaciones desde arriba */
    .slide-in-left,
    .slide-in-right {
        transform: translateY(50px);
    }

    .slide-in-left.visible,
    .slide-in-right.visible {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .quienes-somos {
        padding: 35px 0;
    }

    .quienes-btn {
        font-size: 0.9rem;
        padding: 1rem 1rem;
    }

    .quienes-somos .section-title {
        font-size: 1.6rem;
    }

    .quienes-text {
        gap: 0.85rem;
    }
    
    .text-block {
        padding: 1rem;
    }
    
    .text-block p {
        font-size: 0.85rem;
    }
    
    .intro-text {
        font-size: 0.9rem !important;
    }
}

/* Sections */

.section {
    padding: 80px 0;
    background-color: #fafafa;

}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    text-align: center;
    
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
}

/* ============================================
  NUESTROS SECTORES - COMPLETA
   ============================================ */

/* ESTILOS BASE */
#sectores {
    padding: 80px 0;
    background-color: #fafafa;
}

.sectores-subtitle {
    color: rgba(0, 0, 0, 0.8);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.7;
    text-align: center;
}

.sectores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.sector-card {
    display: flex;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sector-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.sector-card:nth-child(1).visible { transition-delay: 0.1s; }
.sector-card:nth-child(2).visible { transition-delay: 0.2s; }
.sector-card:nth-child(3).visible { transition-delay: 0.3s; }
.sector-card:nth-child(4).visible { transition-delay: 0.4s; }

.sector-card-inner {
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 2rem 2rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.sector-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #662222, #8a2e2e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.sector-card:hover .sector-card-inner {
    transform: translateY(-15px);
    border-color: rgb(95, 21, 21);
    background: rgba(104, 104, 104, 0.08);
    box-shadow: 0 25px 60px rgba(102, 34, 34, 0.4);
}

.sector-card:hover .sector-card-inner::before {
    transform: scaleX(1);
}

.sector-icon-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #662222 0%, #501515 100%);
    border-radius: 30px;
    transform: rotate(45deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 40px rgba(102, 34, 34, 0.4);
}

.sector-card:hover .sector-icon-bg {
    transform: rotate(225deg) scale(1.1);
    box-shadow: 0 20px 60px rgba(67, 12, 12, 0.6);
}

.sector-icon-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.sector-card:hover .sector-icon-img {
    transform: scale(1.15) rotate(-10deg);
    filter: brightness(0) invert(1) drop-shadow(0 8px 15px rgba(255, 255, 255, 0.3));
}

.sector-card-content {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    justify-content: flex-start;
}

.sector-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-align: center;
}

.sector-card:hover h3 {
    color: #333;
    transform: scale(1.05);
}

.sector-card ul {
    list-style: none;
    position: relative;
    z-index: 2;
    text-align: left;
    padding-left: 0;
    flex: 1;
    margin: 0;
}

.sector-card li {
    padding: 0.4rem 0;
    color: rgba(1, 1, 1, 0.75);
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.sector-card li::before {
    content: '✓';
    color: #662222;
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.sector-card:hover li {
    color: rgba(0, 0, 0, 0.95);
}


.section-maquinas {
    padding: 80px 0 ;
    background-color: #4C1A1A;
}

.section-title-maquinas {
    color: #FAFAFA;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    text-align: center;
}

.section-subtitle-maquinas {
    text-align: center;
    font-size: 1.1rem;
    color: #FAFAFA;
    margin-bottom: 4rem;
}


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

.maquina-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.maquina-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.carousel-container {
    position: relative;
    width: 100%;
}

.maquina-image-large {
    position: relative;
    width: 100%;
    height: 500px; 
    overflow: hidden;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-img.active {
    opacity: 1;
}

.maquina-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.maquina-card:hover .maquina-overlay {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    font-size: 1.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    border-radius: 4px;
    opacity: 0;
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: #662222;
    color: white;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #662222;
    width: 24px;
    border-radius: 5px;
}

.maquina-content {
    padding: 2.5rem;
    
}

.maquina-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
}

.maquina-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Animación fade-in */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

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

/* ============ CINTA DE MARCAS ============ */
.brands-strip-section {
    padding: 10px 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

.brands-strip-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #662222 50%, transparent 100%);
}

.brands-strip-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #662222 50%, transparent 100%);
}

.brands-strip-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.brands-strip-track {
    display: flex;
    gap: 4rem;
    animation: scrollBrands 30s linear infinite;
    width: fit-content;
}

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

.brand-strip-item {
    flex-shrink: 0;
    width: 130px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
}

.brand-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
    .brands-strip-section {
        padding: 50px 0;
    }
    
    .brands-strip-track {
        gap: 3rem;
        animation-duration: 25s;
    }
    
    .brand-strip-item {
        width: 160px;
        height: 110px;
        padding: 1.25rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .brands-strip-section {
        padding: 40px 0;
    }
    
    .brands-strip-container {
        padding: 15px 0;
    }
    
    .brands-strip-track {
        gap: 2.5rem;
        animation-duration: 20s;
    }
    
    .brand-strip-item {
        width: 140px;
        height: 95px;
        padding: 1rem;
        border-radius: 12px;
    }
}

/* Responsive - Mobile pequeño */
@media (max-width: 480px) {
    .brands-strip-section {
        padding: 35px 0;
    }
    
    .brands-strip-track {
        gap: 2rem;
        animation-duration: 18s;
    }
    
    .brand-strip-item {
        width: 120px;
        height: 85px;
        padding: 0.85rem;
    }
}

/* SISTEMA DE PAGO */

.section-container-pago {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title-pago {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-subtitle-pago {
    text-align: center;
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 4rem;
}

.section-pago {
    padding: 80px 0 ;
    background-color: #FAFAFA;
}

.payment-section {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.payment-item {
    text-align: center;
    padding: 2rem 1rem;
    background: #4c1a1a ;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* ============================================
   ANIMACIONES PARA SISTEMAS DE PAGO
   ============================================ */

/* Animación desde arriba para título y subtítulo */
.fade-in-down {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-down.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay para el subtítulo */
.section-subtitle-pago.fade-in-down.visible {
    transition-delay: 0.2s;
}

/* Animación desde la izquierda (primer video) */
.slide-in-from-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-from-left.visible {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}

/* Animación desde la derecha (segundo video) */
.slide-in-from-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-from-right.visible {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}

/* ============================================
   RESTO DE ESTILOS DE PAYMENT
   ============================================ */

.payment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #662222, #8a2e2e);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.payment-item:hover::before {
    transform: scaleX(1);
}

.payment-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 34, 34, 0.2);
    border-color: #662222;
}

.payment-icon-wrapper {
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #662222 0%, #8a2e2e 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(102, 34, 34, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.payment-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #662222, #8a2e2e);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-item:hover .payment-icon {
    transform: scale(1.1) rotate(5deg);
}

.payment-item:hover .payment-icon::after {
    opacity: 0.5;
}

.payment-video-container {
    width: 100%;
    max-width: 320px;
    margin: 1.5rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #353535;
    transition: all 0.3s ease;
    position: relative;
}

.payment-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 34, 34, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.payment-item:hover .payment-video-container {
    border-color: #662222;
    box-shadow: 0 12px 40px rgba(102, 34, 34, 0.25);
}

.payment-item:hover .payment-video-container::before {
    opacity: 1;
}

.payment-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    transition: transform 0.3s ease;
}

.payment-item:hover .payment-video {
    transform: scale(1.02);
}

.payment-item h4 {
    color: #FAFAFA;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.payment-item p {
    color: #FAFAFA;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Tecnología Section */

        .section-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }


        .tech-subtitle {
            color: rgba(0, 0, 0, 0.8);
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 4rem;
            line-height: 1.7;
            text-align: center;
        }

        .tech-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
        }

        .tech-card {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .tech-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .tech-card:nth-child(1).visible { transition-delay: 0.1s; }
        .tech-card:nth-child(2).visible { transition-delay: 0.2s; }
        .tech-card:nth-child(3).visible { transition-delay: 0.3s; }
        .tech-card:nth-child(4).visible { transition-delay: 0.4s; }

        .tech-card-inner {
            backdrop-filter: blur(20px);
            border: 2px solid rgba(0, 0, 0, 0.1);
            border-radius: 24px;
            padding: 2.5rem;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 2rem;
        }

        .tech-card-inner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.6s ease;
        }

        .tech-card:hover .tech-card-inner {
            transform: translateY(-15px);
            border-color: rgb(95, 21, 21);
            background: rgba(104, 104, 104, 0.08);
            box-shadow: 0 25px 60px rgba(102, 34, 34, 0.4);
        }

        .tech-card:hover .tech-card-inner::before {
            transform: scaleX(1);
        }

        .tech-icon-wrapper {
            position: relative;
            flex-shrink: 0;
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .tech-icon-bg {
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #662222 0%, #501515 100%);
            border-radius: 30px;
            transform: rotate(45deg);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 15px 40px rgba(102, 34, 34, 0.4);
        }

        .tech-card:hover .tech-icon-bg {
            transform: rotate(225deg) scale(1.1);
            box-shadow: 0 20px 60px rgba(67, 12, 12, 0.6);
        }

        .tech-icon-img {
            width: 55px;
            height: 55px;
            object-fit: contain;
            filter: brightness(0) invert(1);
            position: relative;
            z-index: 2;
            transition: all 0.4s ease;
        }

        .tech-card:hover .tech-icon-img {
            transform: scale(1.15) rotate(-10deg);
            filter: brightness(0) invert(1) drop-shadow(0 8px 15px rgba(255, 255, 255, 0.3));
        }

        .tech-card-content {
            flex: 1;
            text-align: left;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .tech-card-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 0.5rem;
            letter-spacing: -0.5px;
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .tech-card:hover .tech-card-title {
            color: #000000;
            transform: scale(1.05);
        }

        .tech-card-description {
            font-size: 1rem;
            color: rgba(1, 1, 1, 0.75);
            line-height: 1.7;
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .tech-card:hover .tech-card-description {
            color: rgba(0, 0, 0, 0.95);
        }

        /* Responsive - Tablets */
        @media (max-width: 1024px) {
            .tech-section {
                padding: 70px 0;
            }
            
            .tech-title {
                font-size: 2.5rem;
            }
            
            .tech-subtitle {
                font-size: 1.1rem;
            }
            
            .tech-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .tech-card-inner {
                padding: 2rem;
            }
            
            .tech-icon-wrapper {
                width: 90px;
                height: 90px;
            }
            
            .tech-icon-img {
                width: 50px;
                height: 50px;
            }
        }

        /* Responsive - Mobile */
        @media (max-width: 768px) {
            .logo-image {
                margin-left: 0;
                height: 40px;
            }

            .nav-menu {
                display: none;
            }

            .tech-section {
                padding: 60px 0;
            }
            
            .tech-title {
                font-size: 2rem;
            }
            
            .tech-subtitle {
                font-size: 1rem;
                padding: 0 1rem;
            }
            
            .tech-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .tech-card-inner {
                padding: 2rem 1.5rem;
                flex-direction: column;
                text-align: center;
                gap: 1.5rem;
            }
            
            .tech-card-content {
                text-align: center;
            }
            
            .tech-icon-wrapper {
                width: 100px;
                height: 100px;
            }
            
            .tech-icon-img {
                width: 55px;
                height: 55px;
            }
            
            .tech-card-title {
                font-size: 1.3rem;
            }
            
            .tech-card-description {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 480px) {
            .tech-section {
                padding: 50px 0;
            }
            
            .tech-title {
                font-size: 1.75rem;
            }
            
            .tech-subtitle {
                font-size: 0.95rem;
            }
            
            .tech-grid {
                gap: 1.5rem;
            }
            
            .tech-card-inner {
                padding: 1.75rem 1.25rem;
                flex-direction: column;
                text-align: center;
            }
            
            .tech-card-content {
                text-align: center;
            }
            
            .tech-icon-wrapper {
                width: 90px;
                height: 90px;
            }
            
            .tech-icon-img {
                width: 50px;
                height: 50px;
            }
            
            .tech-card-title {
                font-size: 1.2rem;
            }
            
            .tech-card-description {
                font-size: 0.9rem;
            }
        }

/* CLIENTES */

.section-clientes {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.section-title-clientes{
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.brands-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 60px;
}

.brands-carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
}

.brands-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    will-change: transform;
}

.brand-item {
    min-width: calc(33.333% - 1.35rem);
    flex: 0 0 calc(33.333% - 1.35rem);
    background: #ffffff;
    padding: 2rem 1.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.brand-item:hover {
    border-color: #662222;
    box-shadow: 0 8px 25px rgba(102, 34, 34, 0.2);
}



.brand-logo {
    width: 100%;
    max-width: 140px;
    height: 100px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.brand-item:hover .brand-logo {
    filter: brightness(1.1);
}

.brand-item:hover .brand-logo {
    transform: scale(1.1);
}

.brand-item h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.brands-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 2px solid #f0f0f0;
    font-size: 1.8rem;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.brands-carousel-btn:hover {
    background: #662222;
    color: white;
    border-color: #662222;
    transform: translateY(-50%) scale(1.1);
}

.brands-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.brands-carousel-btn.prev {
    left: 0;
}

.brands-carousel-btn.next {
    right: 0;
}

.brands-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.brands-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.brands-dot.active {
    background: #662222;
    width: 35px;
    border-radius: 6px;
}

.brands-dot:hover {
    background: #8a2e2e;
    transform: scale(1.1);
}

/* Excellence Points */
.section-e {
    background: linear-gradient(135deg, #310f0f 0%, #541313 100%);
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

.section-e::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 20s infinite ease-in-out;
}

.section-e::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 15s infinite ease-in-out reverse;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.excellence-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.excellence-point {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1rem 1rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.excellence-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.excellence-point.visible {
    opacity: 1;
    transform: translateY(0);
}

.excellence-point:nth-child(1).visible {
    transition-delay: 0.2s;
}

.excellence-point:nth-child(2).visible {
    transition-delay: 0.4s;
}

.excellence-point:nth-child(3).visible {
    transition-delay: 0.6s;
}

.excellence-point:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.excellence-point:hover::before {
    opacity: 1;
}

.excellence-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.excellence-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.excellence-point:hover .excellence-icon {
    transform: scale(1.15) rotate(360deg);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.excellence-point:hover .excellence-icon::before {
    opacity: 1;
}

.excellence-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
}

.excellence-point:hover .excellence-icon img {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(255, 255, 255, 0.5));
}

.excellence-point h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.excellence-point:hover h3 {
    transform: scale(1.05);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.excellence-point p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.excellence-point:hover p {
    color: #ffffff;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-section a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    color: #ccc !important;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff !important;
}

.footer-section a img {
    width: 1.2rem !important;
    height: 1.2rem !important;
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #444;
    margin-top: 2rem;
    color: #999;
    font-size: 0.9rem;
}

/* MENÚ HAMBURGUESA */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #662222;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.mobile-menu-toggle:hover span {
    background: #4a1818;
}

.mobile-menu-toggle.active:hover span {
    background: #662222;
}


/* ============ FORMULARIO DE CONTACTO ============ */
.formulario-contacto-section {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    padding: 80px 0;
}

.formulario-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.formulario-wrapper:hover {
    box-shadow: 0 15px 50px rgba(102, 34, 34, 0.15);
    border-color: rgba(102, 34, 34, 0.2);
}

.formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #662222;
    background: white;
    box-shadow: 0 4px 15px rgba(102, 34, 34, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    background: linear-gradient(135deg, #662222 0%, #8a2e2e 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(102, 34, 34, 0.3);
    align-self: center;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.form-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 34, 34, 0.4);
}

.form-submit-btn:active {
    transform: translateY(-1px);
}

.form-submit-btn span {
    position: relative;
    z-index: 1;
}

.form-info {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Responsive - Tablets */
@media (max-width: 768px) {
    .formulario-contacto-section {
        padding: 60px 0;
    }

    .formulario-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-submit-btn {
        width: 100%;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .formulario-contacto-section {
        padding: 50px 0;
    }

    .formulario-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .formulario-contacto {
        gap: 1.25rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .form-submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Sections */

/* RESPONSIVE */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .hero {
        height: 550px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .sectores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .payment-grid {
        gap: 2rem;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .excellence-points {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 900px;
        margin: 0 auto;
    }

    /* Tecnología Tablet */
    .tech-section {
        padding: 70px 0;
    }
    
    .tech-title {
        font-size: 2.5rem;
    }
    
    .tech-subtitle {
        font-size: 1.1rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* carrusel */ 

    .brands-carousel-container {
        padding: 2rem 50px;
    }
    
    .brands-carousel-track {
        gap: 1.5rem;
    }
    
    .brand-item {
        min-width: calc(50% - 0.75rem);
        flex: 0 0 calc(50% - 0.75rem);
        padding: 1.5rem 1rem;
    }
    
    .brand-logo {
        max-width: 120px;
        height: 85px;
    }
    
    .brands-carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

/* ESTILOS MÓVILES (max-width: 768px)*/

@media (max-width: 768px) {
    
    /* Menú hamburguesa */
    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
    }
    
    /* Contenedor de navegación */
    .nav-container {
        padding: 0.8rem 3rem;
        justify-content: space-between;
        position: relative;
    }
    
    /* Logo */
    .logo {
        z-index: 1001;
    }
    
    .logo-image {
        margin-left: 0;
        height: 40px;
    }
    
    /* Menú lateral deslizante */
    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border: none;
        border-radius: 0;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Animación de items del menú */
    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    
    /* Enlaces del menú */
    .nav-menu a {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        color: #333;
        text-align: left;
        border-radius: 12px;
        border-left: 3px solid transparent;
    }
    
    .nav-menu a:hover {
        border-left-color: #ff6b35;
        background: linear-gradient(90deg, rgba(255, 107, 53, 0.1) 0%, transparent 100%);
        color: #333;
    }
    
    .nav-menu a::before,
    .nav-menu a::after {
        display: none;
    }

    /* Overlay cuando el menú está abierto */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.5);
        z-index: -1;
    }
    
    /* ============ SECCIÓN HERO ============ */
    .hero {
        height: 500px;
        margin-top: 60px;
    }
    
    .hero-slide-content {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }
    
    .hero-nav {
        bottom: 25px;
    }
    
    .hero-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    
    .hero-dot {
        width: 12px;
        height: 12px;
    }
    
    .hero-dot.active {
        width: 32px;
    }
    
    .hero-slide:nth-child(1) .hero-title, .hero-slide:nth-child(2) .hero-title , .hero-slide:nth-child(3) .hero-title {
        font-size: 3rem;
        margin-top: 1.5rem;
        letter-spacing: -2px;
        padding: 0 1rem;
    }  
    
    .hero-slide:nth-child(1) .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-slide:nth-child(2) .hero-subtitle {
        font-size: 1.3rem;
        padding-left: 1.3rem;
    } 

    .hero-slide:nth-child(3) .hero-subtitle {
        font-size: 1.3rem;
        padding-left: 1rem;
        padding-right: 5.5rem;
    } 


    .hero-slide:nth-child(2) {
        background-image: url(./img/inicio/banner-resp.jpg);
    }

    .hero-slide:nth-child(3) {
        background-image: url(./img/inicio/banner2-resp.png);
    }

        /* Slide 1 - Centrado */

/* Slide 2 - Derecha */
.hero-slide:nth-child(2) .hero-slide-content {
    text-align: left;
    margin-right: 0rem;

}

/* Slide 3 - Izquierda */
.hero-slide:nth-child(3) .hero-slide-content {
    text-align: left;
    margin-left: 0.5rem;
    margin-right: auto;
}



    /* ============ SECCIONES GENERALES ============ */
    .section {
        padding: 50px 0;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    /* ============ SECTORES ============ */
    .sectores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Ajustar animaciones laterales en móvil */
    .sector-card:nth-child(1),
    .sector-card:nth-child(2),
    .sector-card:nth-child(3),
    .sector-card:nth-child(4) {
        transform: translateY(30px);
    }
    
    .sector-card {
        padding: 2rem 1.5rem;   
    }

    .sector-card:active { 
        transform: scale(0.98); 
        box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
    }
    
    .sector-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 1.5rem;
    }
    
    .sector-icon-img {
        width: 48px;
        height: 48px;
    }
    
    /* ============ MÁQUINAS ============ */
    .maquinas-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .maquina-image-large {
        height: 850px;
    }
    
    .maquina-content {
        padding: 2rem 1.5rem;
    }
    
    .maquina-content h3 {
        font-size: 1.3rem;
    }
    
    /* ============ CARRUSEL DE MARCAS ============ */
    .brands-carousel-container {
        padding: 2rem 45px;
    }
    
    .brands-carousel-track {
        gap: 1.5rem;
    }
    
    .brand-item {
        min-width: calc(50% - 0.75rem);
        padding: 1.5rem 1rem;
    }
    
    .brand-logo {
        max-width: 100px;
        height: 75px;
    }
    
    .brand-item h3 {
        font-size: 1rem;
    }
    
    .brands-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .brands-dot {
        width: 10px;
        height: 10px;
    }
    
    .brands-dot.active {
        width: 28px;
    }
    
    /* =========== PAGOS ============ */
    .payment-grid {
        gap: 2rem;
    }
    
    .payment-item {
        padding: 2.5rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .payment-video-container {
        max-width: 100%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
        border-radius: 12px;
    }

    .payment-item h4 { 
        font-size: 1.4rem; 
        margin-bottom: 1rem;
    }

    /* ============ TECNOLOGÍA MÓVIL ============ */
    .tech-section {
        padding: 60px 0;
    }
    
    .tech-title {
        font-size: 2rem;
    }
    
    .tech-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-card-inner {
        padding: 2.5rem 1.5rem;
    }
    
    .tech-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .tech-icon-img {
        width: 55px;
        height: 55px;
    }
    
    .tech-card-title {
        font-size: 1.3rem;
    }
    
    .tech-card-description {
        font-size: 0.95rem;
    }

    /* ============ CARACTERÍSTICAS TÉCNICAS ============ */
    .tech-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* ============ PUNTOS DE EXCELENCIA ============ */
    .excellence-points {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .excellence-point {
        padding: 1.75rem;
    }
    
    /* ============ FOOTER ============ */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Móviles pequeños (max-width: 480px) */
@media (max-width: 480px) {

    .header {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0.5rem 2rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .hero {
        height: 450px;
        margin-top: 55px;
    }
    
    .hero-slide-content {
        padding: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-nav {
        bottom: 20px;
        gap: 1.5rem;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-dot.active {
        width: 28px;
    }

    /*IAMGENES DEL BANNER */

    .hero-slide:nth-child(1) .hero-title {
        font-size: 2rem;
        margin-top: 2rem;/*  */
    }

    .hero-slide:nth-child(2) .hero-title {
        font-size: 2rem;
        margin-top: 1rem;
        padding-bottom: 4rem;
        
    }

    .hero-slide:nth-child(3) .hero-title {
        font-size: 2rem;
        margin-top: 0rem;
/*         margin-bottom: -0.2rem;
        letter-spacing: -1px; */
    }

    .hero-slide:nth-child(1) .hero-subtitle  {
        font-size: 1rem;
    }

    .hero-slide:nth-child(2) .hero-subtitle {
        font-size: 1rem;
        padding-top: 5rem;
    }

    .hero-slide:nth-child(3) .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-slide:nth-child(2) {
        background-image: url(./img/inicio/banner-resp.jpg);
    }

    .hero-slide:nth-child(3) {
        background-image: url(./img/inicio/banner2-resp.png);
    }



    /* Slide 1 - Centrado */
.hero-slide:nth-child(1) .hero-slide-content {
    text-align: center;
    margin: 0 auto;
}

/* Slide 2 - Derecha */
.hero-slide:nth-child(2) .hero-slide-content {
    text-align: center;
    margin-right: 0rem;

}

/* Slide 3 - Izquierda */
.hero-slide:nth-child(3) .hero-slide-content {
    text-align: left;
    margin-left: 0.5rem;
    margin-right: auto;
}


    /*   ///// SECTORES//////   */
    
    .sector-card-inner{
        padding: 1rem 1rem;
        gap: 0;
        min-height: 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0rem;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .sectores-grid {
        gap: 0rem;
    }

    .sector-card {
        padding: 0.6rem 1.5rem;
    }
    
    .sector-card h3 {
        font-size: 0.9rem;
    }
    
    .sector-icon {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }

    .sector-icon-bg {
        width: 60%;
        height: 60%;
    }
    
    .sector-icon-img {
        width: 40px;
        height: 40px;
    }
    
    .sector-card li {
        font-size: 0.6rem;
    }
    
    .sector-card li::before{
        font-size: 11.2px;
    }
    
    /* MAQUINAS */

    .section-title-maquinas {
        font-size: 1.6rem;
    }

    .section-subtitle-maquinas {
        font-size: 0.95rem;
    }

    .maquinas-gallery {
        gap: 2rem;
    }
    
    .maquina-image-large {
        height: 450px;
    }
    
    .maquina-content {
        padding: 1.5rem;
    }
    
    .maquina-content h3 {
        font-size: 1.2rem;
    }
    
    .maquina-content p {
        font-size: 0.9rem;
    }
    
    /*SISTEMAS DE PAGO */

    .section-pago {
        padding: 30px 0;
    }

    .section-title-pago {
        font-size: 1.6rem;
    }

    .section-subtitle-pago {
        font-size: 0.9rem;
        margin-bottom: 2.5rem;
    }

    .payment-video-container {
    width: 75%;
    max-width: 320px;
    margin: 1rem auto;
    overflow: hidden;
    border: 3px solid #353535;
    transition: all 0.3s ease;
    position: relative;
    
    }

    .payment-grid {
        gap: 1.5rem;
    }
    
    .payment-item {
        padding: 1rem 0rem;
        margin-left: 2rem;
        margin-right: 2rem;
    }
    
    .payment-item h4 {
        font-size: 1.2rem;
    }
    
    .payment-item p {
        font-size: 0.9rem;
    }
    
    .payment-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
 /* TECNOLLGIAS */

    .tech-card-inner {
        flex-direction: row;
    }

    .tech-icon-bg {
        width: 80%;
        height: 80%;
    }

    .tech-feature {
        padding: 1.75rem 1.25rem;
    }
    
    .tech-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .tech-feature h3 {
        font-size: 1rem;
    }
    
    .tech-feature p {
        font-size: 0.85rem;
    }

    .brands-carousel-container {
        justify-items: center;
    }
    
    .tech-section {
        padding: 50px 0;
    }
    
    .tech-title {
        font-size: 1.75rem;
    }
    
    .tech-subtitle {
        font-size: 0.95rem;
    }
    
    .tech-grid {
        gap: 1.5rem;
    }
    
    .tech-card-inner {
        padding: 2rem 1.25rem;
    }
    
    .tech-icon-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 1.5rem;
    }
    
    .tech-icon-img {
        width: 50px;
        height: 50px;
    }
    
    .tech-card-title {
        font-size: 1.2rem;
    }
    
    .tech-card-description {
        font-size: 0.9rem;
    }
    
    .tech-feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }

    /*EXCELENCIAS */
    
    .excellence-points {
        gap: 1.25rem;
    }

    .excellence-point {
        padding: 1.5rem;
    }
    
    .excellence-point h3 {
        font-size: 1.1rem;
    }
    
    .excellence-point p {
        font-size: 0.9rem;
    }

    /*CLIENTES*/

    .section-title-clientes {
        font-size: 1.6rem;
    }

    /*FOOTER */
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }

    /* carrusel brand */

    .brands-carousel-container {
        padding: 1.5rem 40px;
    }
    
    .brands-carousel-track {
        gap: 1rem;
    }
    
    .brand-item {
        min-width: 100%;
        flex: 0 0 100%;
        padding: 1.5rem 1rem;
    }
    
    .brand-logo {
        max-width: 110px;
        height: 80px;
    }
    
    .brand-item h3 {
        font-size: 1.05rem;
    }
    
    .brands-carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    
    .brands-carousel-btn.prev {
        left: 2px;
    }
    
    .brands-carousel-btn.next {
        right: 2px;
    }
    
    .brands-carousel-dots {
        margin-top: 1.5rem;
        gap: 8px;
    }
    
    .brands-dot {
        width: 8px;
        height: 8px;
    }
    
    .brands-dot.active {
        width: 24px;
    }
}

/* RESPONSIVE DE QUIENES SOMOS */

/* Responsive - Tablets */
@media (max-width: 1024px) {
    .quienes-somos {
        padding: 50px 0;
    }

    .quienes-content {
        gap: 2rem;
    }
    
    .quienes-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.85rem;
    }
    
    .stat-item {
        padding: 1rem 0.65rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }

    .text-block p {
        font-size: 0.9rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .quienes-somos {
        padding: 40px 0;
    }

    .quienes-somos .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .quienes-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .text-block {
        padding: 1.15rem;
    }
    
    .text-block p {
        font-size: 0.9rem;
    }
    
    .intro-text {
        font-size: 0.95rem !important;
    }
    
    .quienes-stats {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    
    .stat-item {
        padding: 1.15rem 0.85rem;
    }
    
    .video-wrapper {
        border-width: 2.5px;
    }
}

@media (max-width: 480px) {
    .quienes-somos {
        padding: 35px 0;
    }

    .quienes-btn {
        font-size: 0.9rem;
        padding: 1rem 1rem;
    }

    .quienes-somos .section-title {
        font-size: 1.6rem;
    }

    .quienes-text {
        gap: 0.85rem;
    }
    
    .text-block {
        padding: 1rem;
    }
    
    .text-block p {
        font-size: 0.85rem;
    }
    
    .intro-text {
        font-size: 0.9rem !important;
    }
    
    .quienes-stats {
        margin-top: 1.25rem;
    }
    
    .stat-item {
        padding: 1rem 0.75rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}


@media (max-width: 380px) {



    
    /*IAMGENES DEL BANNER */

    .hero-slide:nth-child(1) {
        background-size: 180%; /* Aumenta este valor para más zoom */
        background-position: center 100%; /* Ajusta para ocultar el techo */
    
    }


    .hero-slide:nth-child(1) .hero-title {
        font-size: 1.7rem;
        margin-top: 2rem;
    }

    .hero-slide:nth-child(2) .hero-title {
        font-size: 1.7rem;
        padding-bottom: 4rem;
        
    }

    .hero-slide:nth-child(3) .hero-title {
        font-size: 1.7rem;
        margin-top: 4rem;
    }

    .hero-slide:nth-child(1) .hero-subtitle  {
        font-size: 1rem;
    }

    .hero-slide:nth-child(2) .hero-subtitle {
        font-size: 0.9rem;
        padding-top: 3rem;
    }

    .hero-slide:nth-child(3) .hero-subtitle {
        font-size: 1rem;
        margin-right: 0rem;
        padding-top: 5rem;
    }

    
    .hero-slide:nth-child(2) {
        background-image: url(./img/inicio/banner-resp.jpg);
    }

    .hero-slide:nth-child(3) {
        background-image: url(./img/inicio/banner2-resp.png);
    }



    /* Slide 1 - Centrado */
.hero-slide:nth-child(1) .hero-slide-content {
    text-align: center;
    margin: 0 auto;
}

/* Slide 2 - Derecha */
.hero-slide:nth-child(2) .hero-slide-content {
    text-align: center;
    margin-right: 0rem;

}

/* Slide 3 - Izquierda */
.hero-slide:nth-child(3) .hero-slide-content {
    text-align: left;
    margin-left: 0.5rem;
    margin-right: auto;
} 

}


@media (max-width: 340px) {

    .hero {
        height: 430px;
        margin-top: 0px;
    }

    /*IAMGENES DEL BANNER */
    .hero-slide:nth-child(1) {
        background-size: 180%; /* Aumenta este valor para más zoom */
        background-position: center 100%; /* Ajusta para ocultar el techo */
    
    }

    .hero-slide:nth-child(1) .hero-title {
        font-size: 1.4rem;
        margin-top: 2rem;
    }
    .hero-slide:nth-child(2) .hero-title {
        font-size: 1.4rem;
        padding-top: 4rem;
        padding-bottom: 5rem;
        
    }
    .hero-slide:nth-child(3) .hero-title {
        font-size: 1.5rem;
        margin-top: 7rem;
/*         margin-bottom: -0.2rem;
        letter-spacing: -1px; */
    }
    .hero-slide:nth-child(1) .hero-subtitle  {
        font-size: 0.8rem;
    }
    .hero-slide:nth-child(2) .hero-subtitle {
        font-size: 0.8rem;
        padding-top: 3rem;
    }
    .hero-slide:nth-child(3) .hero-subtitle {
        font-size: 0.8rem;
        margin-right: 0rem;
        padding-top: 5rem;
    }

}