/*====================================================
        METALÚRGICA DEL PERÚ
        CORPORATE INDUSTRIAL STYLE V2
=====================================================*/

:root {

    --primary: #0F3D5E;
    --secondary: #F4B400;
    --secondary-hover: #d89d00;

    --white: #ffffff;
    --light: #F7F9FC;
    --light2: #EEF2F7;

    --dark: #1F2937;
    --text: #4B5563;

    --border: #E5E7EB;

    --radius: 18px;

    --shadow:
        0 10px 30px rgba(15, 61, 94, .08);

    --shadow-hover:
        0 20px 45px rgba(15, 61, 94, .15);

}

/*=========================
RESET
==========================*/

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Montserrat', sans-serif;

    background: var(--white);

    color: var(--dark);

    overflow-x: hidden;

    line-height: 1.8;

}

img {

    max-width: 100%;

}

a {

    text-decoration: none;

}

section {

    padding: 80px 0 !important;

}

.container {

    max-width: 1320px;

}


/*=========================
HERO
==========================*/

.hero {

    min-height: 70vh;

    display: flex;

    align-items: center;

    position: relative;

    background:

        linear-gradient(rgba(15, 61, 94, .82),

            rgba(15, 61, 94, .82)),

        url("https://images.unsplash.com/photo-1513828583688-c52646db42da?q=80&w=2000&auto=format&fit=crop");

    background-size: cover;

    background-position: center;

    overflow: hidden;

    padding-top: 100px !important;

    padding-bottom: 50px !important;

}

.hero::before {

    content: "";

    position: absolute;

    width: 650px;

    height: 650px;

    background:

        rgba(244, 180, 0, .08);

    border-radius: 50%;

    right: -150px;

    top: -150px;

    filter: blur(20px);

}

.hero .container {

    position: relative;

    z-index: 2;

}

.hero h1 {

    color: white;

    font-size: 70px;

    font-weight: 800;

    line-height: 1.15;

    margin-bottom: 25px;

}

.hero span {

    color: #FFD451;

}

.hero p {

    color: #E7ECF2;

    font-size: 21px;

    max-width: 760px;

    margin-bottom: 40px;

}

/*=========================
BOTONES
==========================*/

.btn-industrial {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 38px;

    border-radius: 60px;

    background: var(--secondary);

    color: #000;

    font-weight: 700;

    transition: .35s;

    box-shadow:

        0 12px 25px rgba(244, 180, 0, .35);

}

.btn-industrial:hover {

    background: var(--secondary-hover);

    color: #000;

    transform: translateY(-4px);

}

.btn-outline-industrial {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    padding: 15px 38px !important;

    margin-left: 15px !important;

    border-radius: 60px !important;

    border: 2px solid white !important;

    color: white !important;

    font-weight: 700 !important;

    transition: .35s !important;

    background: transparent !important;

}

.btn-outline-industrial:hover {

    background: white !important;

    color: var(--primary) !important;

}

/*=========================
SECTION TITLES
==========================*/

/*=========================
BACKGROUND COLORS
==========================*/

.about {

    background: var(--light);

}

#servicios {

    background: #ffffff;

}

#productos {

    background: var(--light);

}

.courses {

    background: #ffffff;

}

/*=====================================
        PORTAFOLIO
======================================*/

.portfolio-section {

    background: #F8FAFC;

    padding: 100px 0;

    position: relative;

}

/* Línea decorativa */

.portfolio-section::before {

    content: "";

    position: absolute;

    top: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 120px;

    height: 5px;

    background: #F4B400;

    border-radius: 30px;

}

/*============================*/

.portfolio-card {

    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    height: 100%;

    border: 1px solid #E5E7EB;

    transition: .35s;

    box-shadow: 0 12px 30px rgba(15, 61, 94, .08);

    display: flex;

    flex-direction: column;

}

/*============================*/

.portfolio-card:hover {

    transform: translateY(-12px);

    box-shadow:

        0 25px 50px rgba(15, 61, 94, .15);

}

/*============================*/

.portfolio-card img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    transition: .45s;

}

/* Zoom */

.portfolio-card:hover img {

    transform: scale(1.06);

}

/*============================*/

.portfolio-content {

    padding: 30px;

}

/*============================*/

.portfolio-content h4 {

    color: #0F3D5E;

    font-size: 24px;

    font-weight: 700;

    min-height: 65px;

    margin-bottom: 18px;

}

/*============================*/

.portfolio-content p {

    color: #6B7280;

    margin-bottom: 25px;

    line-height: 1.8;

}

/*============================*/

.portfolio-content .btn-industrial {

    width: 100%;

    justify-content: center;

}

/*============================*/

.portfolio-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 5px;

    background:

        linear-gradient(90deg,

            #F4B400,

            #FFD54F);

    transform: scaleX(0);

    transform-origin: left;

    transition: .35s;

}

.portfolio-card:hover::before {

    transform: scaleX(1);

}

/*============================*/

.portfolio-card {

    position: relative;

}

/*============================*/

.portfolio-badge {

    position: absolute;

    top: 18px;

    left: 18px;

    background: #F4B400;

    color: #000;

    font-weight: 700;

    padding: 8px 18px;

    border-radius: 50px;

    font-size: 13px;

}

/*============================*/

.portfolio-info {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

    color: #6B7280;

    font-size: 14px;

}

.portfolio-info i {

    color: #F4B400;

    margin-right: 6px;

}

.portfolio-action {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 15px;
}

.portfolio-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portfolio-action .btn-portfolio {
    align-self: center;
    margin-top: auto;
    margin-bottom: 10px;
}

/*=====================================
            BADGES Y UBICACIÓN PORTAFOLIO
======================================*/

/* .badge-portfolio: Modern definition moved to line 2880+ - no absolute positioning */

.ubicacion {
    font-size: 13px;
    color: #0F3D5E;
    font-weight: 600;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ubicacion::before {
    content: "📍";
    font-size: 14px;
}

.btn-portfolio {
    display: inline-block;
    background: #F4B400;
    color: #0F3D5E;
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    margin-top: 12px;
}

.btn-portfolio:hover {
    background: #D89C00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 180, 0, 0.3);
}

/*=====================================
            CLIENTES
======================================*/

.clientes-section {

    background: #F8FAFC;

    padding: 90px 0;

    overflow: hidden;

    position: relative;

}

/* línea decorativa */

.clientes-section::before {

    content: "";

    position: absolute;

    top: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 120px;

    height: 5px;

    background: #F4B400;

    border-radius: 50px;

}

/*===========================*/

.clientes-title {

    text-align: center;

    margin-bottom: 60px;

}

.clientes-title h2 {

    font-size: 48px;

    color: #0F3D5E;

    font-weight: 800;

}

.clientes-title p {

    color: #6B7280;

    font-size: 18px;

}

/*===========================*/

.clientes-slider {

    overflow: visible;

    position: relative;

}

.clientes-slider::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 120px;

    height: 100%;

    z-index: 10;

    background: linear-gradient(90deg,
            #F8FAFC,
            transparent);

}

.clientes-slider::after {

    content: "";

    position: absolute;

    right: 0;

    top: 0;

    width: 120px;

    height: 100%;

    z-index: 10;

    background: linear-gradient(270deg,
            #F8FAFC,
            transparent);

}

/*===========================*/

.clientes-track {

    display: flex;

    align-items: center;

    gap: 55px;

    width: max-content;

    animation: clientes 30s linear infinite;

}

/*===========================*/

.cliente-item {
    position: relative;
    width: 220px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: height 0.35s ease, box-shadow 0.35s ease;
}

    .cliente-item:hover {        
        transition: height 0.35s ease, box-shadow 0.35s ease;
        z-index: 10;
    }

.cliente-logo {
    display: block;
    width: 100%;
    height: 137px;
    object-fit: contain;
    padding: 6px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.cliente-info {
    background: #F8FAFC;
    padding: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.35s ease 0.1s;
    border-top: 1px solid #eef2f7;
}

.cliente-item:hover .cliente-info {
    opacity: 1;
}

.cliente-nombre {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #0F3D5E;
    line-height: 1.2;
    transition: color 0.25s ease, font-size 0.25s ease;
    cursor: default;
}

.cliente-nombre:hover {
    color: #F5A623;
    font-size: 17px;
}

.cliente-descripcion {
    font-size: 11px;
    color: #5A7BA6;
    margin: 0;
    line-height: 1.3;
}

/*===========================*/

.clientes-track img:hover {

    transform:

        translateY(-8px) scale(1.08);

    filter: none;

    box-shadow:

        0 20px 40px rgba(0, 0, 0, .12);

}

/*===========================*/

@keyframes clientes {

    0% {

        transform: translateX(0);

    }

    100% {

        transform: translateX(-50%);

    }

}

#contacto {

    background: var(--light);

}


/*====================================================
        ABOUT
=====================================================*/

.about-box {

    background: #fff;

    border-radius: 22px;

    padding: 45px 30px;

    text-align: center;

    height: 100%;

    border: 1px solid var(--border);

    transition: .35s;

    box-shadow: var(--shadow);

}

.about-box:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-hover);

}

.about-box i {

    width: 90px;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: auto;

    border-radius: 50%;

    background: #FFF6D9;

    color: var(--secondary);

    font-size: 38px;

    margin-bottom: 25px;

}

.about-box h4 {

    color: var(--primary);

    font-weight: 700;

    margin-bottom: 15px;

}

.about-box p {

    color: var(--text);

    margin: 0;

}


/*====================================================
        PRODUCTOS
=====================================================*/

.product-card {

    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    border: 1px solid var(--border);

    transition: .35s;

    height: 100%;

    box-shadow: var(--shadow);

    display: flex;

    flex-direction: column;

}

.product-card:hover {

    transform: translateY(-12px);

    box-shadow: var(--shadow-hover);

}

.product-card img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    transition: .45s;

}

.product-card:hover img {

    transform: scale(1.06);

}

.product-content {

    padding: 28px;

    display: flex;

    flex-direction: column;

    flex: 1;

}

.product-content h4 {

    color: var(--primary);

    font-size: 24px;

    font-weight: 700;

    margin-bottom: 18px;

    /*min-height: 70px;*/

    display: flex;

    align-items: flex-start;

}

.product-content p {

    color: var(--text);

    margin-bottom: 25px;

}

.product-content .btn-industrial {

    width: 100%;

}

.product-footer {

    margin-top: auto;

}


/*====================================================
        SERVICIOS
=====================================================*/

.course-card {

    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    height: 100%;

    border: 1px solid var(--border);

    transition: .35s;

    box-shadow: var(--shadow);

    display: flex;

    flex-direction: column;

}

.course-card:hover {

    transform: translateY(-12px);

    box-shadow: var(--shadow-hover);

}

.course-card img {

    width: 100%;

    height: 240px;

    object-fit: cover;

    transition: .4s;

}

.course-card:hover img {

    transform: scale(1.05);

}

.course-content {

    padding: 30px;

    display: flex;

    flex-direction: column;

    flex: 1;

}

.course-content h4 {

    color: var(--primary);

    font-size: 25px;

    font-weight: 700;

    margin-top: 20px;

    margin-bottom: 15px;

    min-height: 70px;

    display: flex;

    align-items: flex-start;

}

.course-content p {

    color: var(--text);

    margin-bottom: 25px;

}

.course-content .btn-industrial {

    width: 100%;

    margin-top: auto;

}

.course-footer {

    margin-top: auto;

}


/*====================================================
        BADGES
=====================================================*/

.badge-course {

    display: inline-block;

    background: #FFF6D9;

    color: #C28500;

    font-weight: 700;

    padding: 10px 18px;

    border-radius: 50px;

    font-size: 13px;

    letter-spacing: .4px;

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    cursor: pointer;

}

.badge-course:hover {

    background: linear-gradient(135deg, #E8A60C 0%, #D4941A 100%);

    color: #fff;

    transform: scale(1.08) translateY(-3px);

    box-shadow: 0 12px 28px rgba(193, 133, 0, 0.3);

    letter-spacing: 0.6px;

}


/*====================================================
        IMAGENES
=====================================================*/

.product-card img,
.course-card img {

    border-bottom: 1px solid var(--border);

}


/*====================================================
        BOTONES DENTRO DE TARJETAS
=====================================================*/

.product-content .btn-industrial,
.course-content .btn-industrial {

    text-align: center;

    justify-content: center;

}


/*====================================================
        EFECTOS
=====================================================*/

.product-card,
.course-card,
.about-box {

    position: relative;

}

.product-card::before,
.course-card::before,
.about-box::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: linear-gradient(90deg,
            var(--secondary),
            #FFD95C);

    transform: scaleX(0);

    transform-origin: left;

    transition: .35s;

}

.product-card:hover::before,
.course-card:hover::before,
.about-box:hover::before {

    transform: scaleX(1);

}


/*====================================================
        FILAS
=====================================================*/

.row.g-4 {

    row-gap: 35px;

}

/* Espaciado entre Misión/Visión y características (Experiencia Industrial, Tecnología, Capacitación) */
.about-features-row {

    margin-top: 35px !important;
    padding-top: 15px !important;

}


/*====================================================
        BOTON VER MÁS
=====================================================*/

.text-center .btn-industrial {

    padding: 16px 42px;

    font-size: 17px;

}

/*====================================================
        NEWSLETTER
=====================================================*/

.newsletter {

    background: linear-gradient(135deg, #0F3D5E, #184D7A);

    border-radius: 25px;

    padding: 70px 50px;

    color: white;

    box-shadow: var(--shadow);

}

.newsletter h2 {

    font-size: 42px;

    font-weight: 800;

    margin-bottom: 20px;

}

.newsletter p {

    color: #E5E7EB;

    font-size: 18px;

    margin-bottom: 35px;

}

.newsletter .form-control {

    height: 58px;

    border-radius: 50px;

    border: none;

    padding-left: 25px;

    font-size: 16px;

}

.newsletter .btn,
.newsletter-btn {

    height: 58px;

    border-radius: 50px;

    padding: 0 35px;

    background: var(--secondary);

    color: #0F3D5E;

    font-weight: 700;

    border: none;

    transition: .35s;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 16px;

    letter-spacing: 0.02em;

    text-decoration: none !important;

}

.newsletter .btn:hover,
.newsletter-btn:hover {

    background: #FFD451;

    color: #0F3D5E;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(244, 180, 0, 0.3);

}


/*====================================================
        CONTACTO
=====================================================*/

.contact-form {

    background: white;

    border-radius: 25px;

    padding: 45px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

}

.contact-form label {

    font-weight: 700;

    color: var(--primary);

    margin-bottom: 8px;

}

.form-control {

    background: #fff;

    color: var(--dark);

    border: 1px solid #D7DEE8;

    border-radius: 12px;

    padding: 16px 18px;

    transition: .35s;

}

.form-control::placeholder {

    color: #9CA3AF;

}

.form-control:focus {

    border-color: var(--secondary);

    box-shadow: 0 0 0 4px rgba(244, 180, 0, .15);

}

textarea.form-control {

    resize: none;

}


/*====================================================
        LOGIN
=====================================================*/

.modal-content {

    border: none;

    border-radius: 20px;

    overflow: hidden;

}

.modal-header {

    background: var(--primary);

    color: white;

}

.modal-header .btn-close {

    filter: invert(1);

}

.modal-body {

    padding: 35px;

}

.modal-body label {

    font-weight: 600;

    color: var(--primary);

}

.modal-body .btn-warning {

    background: var(--secondary);

    border: none;

    color: #000;

    font-weight: 700;

}

.modal-body .btn-warning:hover {

    background: #FFD451;

}


/*====================================================
        FOOTER
=====================================================*/

footer {

    background: #0B2E4F;

    color: white;

    padding: 80px 0 25px;

}

footer h3 {

    font-weight: 800;

    color: white !important;

}

footer h5 {

    color: white;

    font-weight: 700;

}

footer p {

    color: #D6E2EE;

}

footer hr {

    border-color: rgba(255, 255, 255, .12);

}

.social-icons {

    display: flex;

    justify-content: flex-end;

    gap: 12px;

}

.social-icons a {

    width: 50px;

    height: 50px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(255, 255, 255, .08);

    color: white;

    font-size: 20px;

    transition: .35s;

}

.social-icons a:hover {

    background: var(--secondary);

    color: #000;

    transform: translateY(-6px);

}

/* Teléfono, correo y dirección del pie (Configuración del sitio → Contacto) */
.footer-contacto {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.footer-contacto li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    color: #f8f9fa;
    line-height: 1.4;
}

.footer-contacto i {
    margin-top: 2px;
    color: var(--secondary, #F4B400);
}

.footer-contacto a {
    color: #f8f9fa;
    text-decoration: none;
    word-break: break-word;
}

.footer-contacto a:hover {
    color: var(--secondary, #F4B400);
    text-decoration: underline;
}


/*====================================================
        WHATSAPP
=====================================================*/

.whatsapp-btn {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    position: fixed;

    right: 25px;

    bottom: 25px;

    background: #25D366;

    color: white;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 34px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);

    transition: .35s;

}

.whatsapp-btn:hover {

    transform: scale(1.08);

    color: white;

}


/*====================================================
        ANIMACIONES
=====================================================*/

.product-card,
.course-card,
.about-box,
.contact-form,
.newsletter {

    animation: fadeUp .8s ease;

}

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/*====================================================
        RESPONSIVE
=====================================================*/

@media(max-width:1200px) {

    .hero h1 {

        font-size: 55px;

    }

}



@media(max-width:768px) {

    .section-title-h2 h2 {

        font-size: 34px;

    }

    .newsletter-h2 {
        padding-bottom: 20px;
    }

    .newsletter-h2 h2 {
        font-size: 30px;
    }

    .newsletter {
        padding: 40px 25px;
    }

    .contact-form {

        padding: 30px;

    }

    .product-card img,
    .course-card img {

        height: 180px;

    }

    .product-content {
        padding: 18px;
    }

    .product-content h4 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .product-content p {
        font-size: 15px;
        margin-bottom: 12px;
    }

}

@media(max-width:576px) {

    .hero h1 {

        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;

    }

    .hero p {

        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 25px;

    }

    .hero {
        min-height: 85vh;
        padding: 40px 0;
    }

    section {
        padding: 50px 0 !important;
    }

    .btn-industrial,
    .btn-outline-industrial {

        width: 100%;
        padding: 13px 24px;
        font-size: 15px;
        margin-left: 0 !important;

    }

    .btn-outline-industrial {

        margin-top: 12px;

    }

    .section-title-h2 {
        padding-bottom: 20px;
    }

    .section-title-h2 h2 {

        font-size: 24px;
        line-height: 1.2;

    }

    .section-title-p {
        margin-bottom: 50px;
    }

    .section-title-p p {
        font-size: 15px;
        line-height: 1.6;
    }

    .newsletter {
        padding: 35px 20px;
        margin: 0 15px;
    }

    .newsletter-h2 h2 {
        font-size: 26px;
    }

    .newsletter-p p {
        font-size: 15px;
    }

    .contact-form {
        padding: 25px;
    }

    .whatsapp-btn {

        width: 56px;

        height: 56px;

        font-size: 26px;
        right: 15px;
        bottom: 15px;

    }

    .about-box {
        padding: 30px 20px;
    }

    .product-card {
        border-radius: 10px;
    }

    .product-card img,
    .course-card img {
        height: 120px;
    }

    .product-content {
        padding: 12px;
    }

    .product-content h4 {
        font-size: 17px;
        margin-bottom: 6px;
        min-height: auto;
        line-height: 1.3;
    }

    .product-content p {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .product-content .btn-industrial {
        padding: 9px 14px;
        font-size: 15px;
    }

    .row.g-4 {
        row-gap: 16px;
    }

}

/*====================================================
            EFECTOS PREMIUM
=====================================================*/

/* Animación suave en todas las tarjetas */

.about-box,
.product-card,
.course-card,
.contact-form,
.newsletter {

    position: relative;

    overflow: hidden;

}

/* Línea superior animada */

.about-box::before,
.product-card::before,
.course-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg, #F4B400, #FFD54F);

    transform: scaleX(0);

    transform-origin: left;

    transition: .4s;

}

.about-box:hover::before,
.product-card:hover::before,
.course-card:hover::before {

    transform: scaleX(1);

}

/*====================================================
            EFECTO IMAGENES
=====================================================*/

.product-card img,
.course-card img {

    transition: .5s;

}

.product-card:hover img,
.course-card:hover img {

    transform: scale(1.08);

}

/*====================================================
            TITULOS TARJETAS
=====================================================*/

.product-content h4,
.course-content h4 {

    transition: .3s;

}

.product-card:hover h4,
.course-card:hover h4 {

    color: #F4B400;

}

/*====================================================
            BOTONES
=====================================================*/

.btn-industrial {

    position: relative;

    overflow: hidden;

}

.btn-industrial::before {

    content: "";

    position: absolute;

    left: -120%;

    top: 0;

    width: 100%;

    height: 100%;

    background:

        rgba(255, 255, 255, .25);

    transform: skewX(-25deg);

    transition: .5s;

}

.btn-industrial:hover::before {

    left: 120%;

}

/*====================================================
            HERO
=====================================================*/

.hero {

    position: relative;

}

.hero::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 100%;

    height: 120px;

    background:

        linear-gradient(transparent,

            rgba(255, 255, 255, .95));

}

/*====================================================
            HERO TITULO
=====================================================*/

.hero h1 {

    animation: slideLeft 1s ease;

}

.hero p {

    animation: slideLeft 1.2s ease;

}

.hero .btn-industrial {

    animation: slideUp 1.5s ease;

}

.hero .btn-outline-industrial {

    animation: slideUp 1.7s ease;

}

@keyframes slideLeft {

    from {

        opacity: 0;

        transform: translateX(-60px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}

@keyframes slideUp {

    from {

        opacity: 0;

        transform: translateY(40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/*====================================================
            TITULOS
=====================================================*/

.section-title-h2 {
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 30px;
}

.section-title-h2 h2 {
    font-size: 48px;
    color: var(--primary);
    font-weight: 800;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    transition: color 0.35s ease;
    margin: 0;
    padding: 0;
}

.section-title-h2 h2:hover {
    color: var(--secondary-hover) !important;
    text-shadow: 0 4px 12px rgba(15, 61, 94, 0.2) !important;
}

.section-title-h2 h2::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 5px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    background: var(--secondary);
    border-radius: 30px;
    transition: width 0.35s ease;
}

.section-title-h2 h2:hover::after {
    width: 130px;
}

.section-title-p {
    text-align: center;
    margin-bottom: 70px;
    margin-top: 0;
    padding-top: 0;
}

.section-title-p p {
    color: var(--text);
    max-width: 750px;
    margin: 0 auto;
    padding: 0;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/*====================================================
            NEWSLETTER TITLES
=====================================================*/

.newsletter-h2 {
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 30px;
}

.newsletter-h2 h2 {
    font-size: 48px;
    color: var(--primary);
    font-weight: 800;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
    transition: color 0.35s ease;
    margin: 0;
    padding: 0;
}

.newsletter-h2 h2:hover {
    color: var(--secondary-hover) !important;
    text-shadow: 0 4px 12px rgba(15, 61, 94, 0.2) !important;
}

.newsletter-h2 h2::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 5px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    background: var(--secondary);
    border-radius: 30px;
    transition: width 0.35s ease;
}

.newsletter-h2 h2:hover::after {
    width: 130px;
}

.newsletter-p {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
    padding-top: 0;
}

.newsletter-p p {
    color: var(--text);
    max-width: 750px;
    margin: 0 auto;
    padding: 0;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/*====================================================
            NEWSLETTER
=====================================================*/

.newsletter {

    overflow: hidden;

    position: relative;

}

.newsletter::before {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    background:

        rgba(255, 255, 255, .08);

    top: -180px;

    right: -100px;

}

/*====================================================
            FORMULARIOS
=====================================================*/

.form-control {

    transition: .35s;

}

.form-control:hover {

    border-color: #0F3D5E;

}

/*====================================================
            FOOTER
=====================================================*/

footer {

    position: relative;

}

footer::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 5px;

    background: #F4B400;

}

/*====================================================
            ICONOS SOCIALES
=====================================================*/

.social-icons a {

    transition: .35s;

}

.social-icons a:hover {

    transform: translateY(-8px) rotate(8deg);

}

/*====================================================
            WHATSAPP
=====================================================*/

.whatsapp-btn {

    animation: pulse 2s infinite;

}

@keyframes pulse {

    0% {

        box-shadow:

            0 0 0 0 rgba(37, 211, 102, .55);

    }

    70% {

        box-shadow:

            0 0 0 18px rgba(37, 211, 102, 0);

    }

    100% {

        box-shadow:

            0 0 0 0 rgba(37, 211, 102, 0);

    }

}

/*====================================================
            SCROLLBAR
=====================================================*/

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #F1F5F9;

}

::-webkit-scrollbar-thumb {

    background: #0F3D5E;

    border-radius: 30px;

}

::-webkit-scrollbar-thumb:hover {

    background: #F4B400;

}

/*====================================================
            SEPARADORES
=====================================================*/

section {

    position: relative;

}

section:not(.hero)::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: 0;

    transform: translateX(-50%);

    width: 120px;

    height: 1px;

    background: #E5E7EB;

}

/*====================================================
            SOMBRAS
=====================================================*/

.about-box,
.product-card,
.course-card,
.contact-form {

    box-shadow:

        0 12px 35px rgba(15, 61, 94, .08);

}

.about-box:hover,
.product-card:hover,
.course-card:hover,
.contact-form:hover {

    box-shadow:

        0 22px 55px rgba(15, 61, 94, .15);

}
/*====================================================
            NAVBAR CORPORATIVO
=====================================================*/

.navbar{

    background:transparent;

    min-height:75px;

    padding:8px 0;

    transition:all .35s ease;

    box-shadow: none;

    z-index:999;

    position: fixed;

    width: 100%;

    left: 0;

    top: 0;

}

.navbar.scrolled{

    background:rgba(255,255,255,.97);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    min-height:70px;

    padding:5px 0;

    box-shadow:0 15px 35px rgba(15,61,94,.12);

}

/*=========================================
            LOGO
=========================================*/

.logo-1{

    width:180px;

    height:80px;

    object-fit: contain;

    transition:.35s;

}

.navbar.scrolled .logo-1{

    width:180px;

    height:80px;

}

.navbar-brand {
    margin-right: 20px !important;
    display: flex;
    align-items: center;
}

#logoprincipal {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*=========================================
            MENU
=========================================*/

.navbar-nav{

    align-items:center;

}

.navbar-nav .nav-item{

    margin-left:5px;

}

.nav-link{

    color:#374151 !important;

    font-size:17px;

    font-weight:600;

    padding:10px 12px !important;

    position:relative;

    transition:.35s;

}

/* Línea inferior */

.nav-link::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    width:0;

    height:3px;

    background:#F4B400;

    border-radius:20px;

    transition:.35s;

    transform:translateX(-50%);

}

.nav-link:hover{

    color:#0F3D5E !important;

}

.nav-link:hover::after{

    width:75%;

}

/*=========================================
        ICONO LOGIN
=========================================*/

.nav-link i{

    font-size:28px;

}

/*=========================================
        BOTÓN HAMBURGUESA
=========================================*/

.navbar-toggler{

    border:none;

    padding:6px;

}

.navbar-toggler:focus{

    box-shadow:none;

}

.navbar-toggler-icon{

    width:30px;

    height:30px;

}

/*=========================================
        RESPONSIVE TABLET
=========================================*/


@media (max-width:992px){

    .navbar-collapse{

        position:absolute;

        top:60px;

        right:5px;

        width:125px;      /* Antes 280px */

        background:#FFF;

        border-radius:18px;

        padding:5px 0;

        box-shadow:0 15px 35px rgba(0,0,0,.12);

        border:1px solid #ECECEC;

    }

    .navbar-nav{

        width:100%;

        text-align:center;

    }

    .navbar-nav .nav-item{

        margin:0;

    }

    .navbar-nav .nav-link{

        padding:3px 2px !important;

        font-size:16px;

    }

}

/*=========================================
        RESPONSIVE CELULAR
=========================================*/

@media (max-width:450px){

    .navbar{

        min-height:65px;

        padding:6px 0;

    }

    .logo-1{

        width:135px;

    }

    .navbar-collapse{

        margin-top:12px;

        padding:18px;

        border-radius:15px;

    }
    .navbar-nav .nav-item{
        text-align: center;
        font-size: 5px;
    }

    .nav-link{

        font-size:16px;

    }

    .nav-link i{

        font-size:26px;

    }

}

/*=========================================================
            PRESENTACIÓN EMPRESA
=========================================================*/

.company-header {

    text-align: center;

    margin: 60px auto;

    padding-bottom: 40px;

}

.company-logo {

    max-width: 500px;

    height: auto;

    margin-bottom: 20px;

    transition: .4s;

}

.company-logo:hover {

    transform: scale(1.05);

}

.company-header h3 {

    color: #0F3D5E;

    font-size: 42px;

    font-weight: 800;

    margin-bottom: 10px;

}

.company-header p {

    color: #6B7280;

    font-size: 18px;

    font-weight: 500;

    letter-spacing: 1px;

    margin: 0;

}

/*=========================================================
                MISIÓN - VISIÓN
=========================================================*/

.about-mv {

    background: #FFFFFF;

    height: 100%;

    padding: 40px;

    border-radius: 22px;

    border: 2px solid transparent;

    box-shadow: 0 15px 35px rgba(15, 61, 94, .08);

    transition: .35s;

    position: relative;

    overflow: hidden;

}

/* Línea superior */

.about-mv::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg, #F4B400, #FFD54F);

    transform: scaleX(0);

    transition: .35s;

}

.about-mv:hover::before {

    transform: scaleX(1);

}

.about-mv:hover {

    transform: translateY(-10px);

    border-color: #F4B400;

    box-shadow: 0 30px 60px rgba(15, 61, 94, .15);

}

/*=========================================================
                ICONO
=========================================================*/

.mv-icon {

    width: 85px;
    text-align: center;
    height: 85px;

    border-radius: 50%;

    background: #FFF7DD;

    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 25px;

    transition: .35s;

}

.mv-icon i {

    color: #F4B400;

    font-size: 38px;

}

.about-mv:hover .mv-icon {

    background: #F4B400;

}

.about-mv:hover .mv-icon i {

    color: #FFFFFF;

}

/*=========================================================
                TITULO
=========================================================*/

.about-mv h3 {

    color: #0F3D5E;

    font-size: 30px;

    font-weight: 800;

    margin-bottom: 18px;

}

/*=========================================================
                TEXTO
=========================================================*/

.about-mv p {

    color: #6B7280;

    font-size: 16px;

    line-height: 1.9;

    text-align: justify;

    margin: 0;

}

/*=========================================================
                RESPONSIVE
=========================================================*/

@media(max-width:992px) {

    .company-logo {

        max-width: 180px;

    }

    .company-header h3 {

        font-size: 34px;

    }

    .about-mv {

        margin-bottom: 25px;

    }

}

@media(max-width:768px) {

    .company-logo {

        max-width: 150px;

    }

    .company-header h3 {

        font-size: 28px;

    }

    .company-header p {

        font-size: 16px;

    }

    .about-mv {

        padding: 30px;

    }

    .mv-icon {

        width: 70px;

        height: 70px;

    }

    .mv-icon i {

        font-size: 30px;

    }

    .about-mv h3 {

        font-size: 25px;

    }

}

/*=====================================
        TAGS MISIÓN - VISIÓN
======================================*/

.mv-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin: 25px 0;

}

.mv-tags span {

    display: flex;

    align-items: center;

    gap: 8px;

    background: #FFF8E6;

    color: #0F3D5E;

    padding: 10px 18px;

    border-radius: 50px;

    font-size: 14px;

    font-weight: 600;

    transition: .35s;

    border: 1px solid transparent;

}

.mv-tags span:hover {

    background: #F4B400;

    color: #fff;

    border-color: #D89C00;

    transform: translateY(-3px);

}

.mv-tags i {

    font-size: 16px;

}

/*
    para servicio detalle
*/

/* ========================================================
   PORTAFOLIO - CSS FIXES
   ======================================================== */

.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.badge-portfolio {
    display: inline-block;
    background-color: #ffc107;
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    margin: 15px 0 0 0;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: .35s;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(244, 180, 0, .25);
    align-self: flex-start;
    white-space: nowrap;
}

.badge-portfolio::before {
    content: "";
    position: absolute;
    left: -120%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .25);
    transform: skewX(-25deg);
    transition: .5s;
}

.badge-portfolio:hover {
    background-color: #d89d00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 180, 0, .35);
}

.badge-portfolio:hover::before {
    left: 120%;
}

.portfolio-content {
    padding: 20px 25px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.portfolio-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f3d5e;
    margin: 0;
    line-height: 1.3;
}

.portfolio-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-portfolio {
    margin-top: auto;
    padding: 12px 28px;
    background: #f4b400;
    color: #000;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}

.btn-portfolio:hover {
    background: #d89d00;
    transform: translateY(-2px);
}

/* ========================================
   DETALLE PRODUCTO - GALERÍA Y ESTILOS
   ======================================== */

/* NAVBAR DETALLE PRODUCTO */
.navbar-detalle-producto {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4a73 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    transition: 0.3s;
}

.nav-logo:hover {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.navbar-detalle-producto .nav-menu .nav-item .nav-link {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
    text-decoration: none !important;
    position: relative;
    display: inline-block;
}

.navbar-detalle-producto .nav-menu .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.navbar-detalle-producto .nav-menu .nav-item .nav-link:hover {
    color: var(--secondary) !important;
}

.navbar-detalle-producto .nav-menu .nav-item .nav-link:hover::after {
    width: 100%;
}

/* SECCIÓN PRINCIPAL */
.product-detail-section {
    padding: 60px 0 !important;
    background: linear-gradient(135deg, rgba(15, 61, 94, 0.02) 0%, rgba(244, 180, 0, 0.02) 100%);
}

/* GALERÍA DE IMÁGENES */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-main {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.gallery-main:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-hover);
}

.gallery-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
}

/* Flechas de navegación */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 61, 94, 0.7);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.gallery-nav:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 15px;
}

.gallery-nav-next {
    right: 15px;
}

/* Miniaturas */
.gallery-thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    padding: 5px 0;
    scroll-snap-type: x mandatory;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: var(--light2);
    border-radius: 10px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

.thumbnail-item {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #e5e7eb;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.thumbnail-item:hover {
    transform: scale(1.08);
    border-color: var(--secondary);
}

.thumbnail-item.active,
.thumbnail-item[class*="active"] {
    border: 3px solid #10b981 !important;
    box-shadow: 0 0 0 2px #f0fdf4, 0 0 8px rgba(16, 185, 129, 0.4) !important;
    transform: scale(1.05) !important;
}

.thumbnail-nav {
    background: var(--secondary);
    color: var(--dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thumbnail-nav:hover {
    background: var(--secondary-hover);
    transform: scale(1.1);
}

/* INFORMACIÓN DEL PRODUCTO */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    transition: all 0.3s ease;
    cursor: default;
}

.product-title:hover {
    color: var(--secondary);
    text-shadow: 0 4px 12px rgba(244, 180, 0, 0.2);
}

.product-category {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-category {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CARACTERÍSTICAS */
.product-features {
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.features-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.feature-icon {
    color: var(--secondary);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-text {
    line-height: 1.5;
}

/* DESCRIPCIÓN */
.product-description {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.description-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.description-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
    text-align: justify;
}

/* STOCK Y PRECIO */
.product-stock-price {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, var(--light) 0%, var(--light2) 100%);
    border-radius: 12px;
}

.stock-info,
.price-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stock-label,
.price-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.stock-value {
    color: #28a745;
    font-weight: 700;
    font-size: 18px;
}

.price-value {
    color: var(--secondary);
    font-weight: 700;
    font-size: 24px;
}

/* BOTONES DE ACCIÓN */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-actions-row {
    display: flex;
    gap: 12px;
    flex-direction: row;
}

.product-actions-row .btn-action {
    flex: 1;
}

.btn-action {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-solicitar {
    background: var(--primary);
    color: var(--white);
}

.btn-solicitar:hover {
    background: #1a4a73;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 61, 94, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ALERTA DE INFORMACIÓN */
.info-alert {
    display: flex;
    gap: 15px;
    padding: 16px;
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    border-radius: 8px;
    align-items: flex-start;
}

.alert-icon {
    color: #2196F3;
    flex-shrink: 0;
}

.alert-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alert-content strong {
    color: var(--primary);
    font-size: 14px;
}

.alert-content p {
    font-size: 13px;
    color: var(--text);
    margin: 0;
}

/* PRODUCTOS RELACIONADOS */
.related-products-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
}

.section-header {
    margin-bottom: 40px;
}

.related-products-section .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: block;
}

.related-products-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--light);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.product-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin: 0;
}

.product-card-description {
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.btn-product-card {
    margin-top: auto;
    padding: 10px 16px;
    background: var(--secondary);
    color: var(--dark);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
}

.btn-product-card:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-link {
        font-size: 12px;
    }

    .gallery-image {
        height: 400px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .product-title {
        font-size: 26px;
    }

    .product-info {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 10px;
    }

    .gallery-image {
        height: 300px;
    }

    .thumbnail-item {
        width: 70px;
        height: 70px;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-action {
        padding: 12px 20px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .navbar-detalle-producto {
        padding: 10px 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .nav-link {
        padding: 8px 0;
        display: block;
    }

    .gallery-image {
        height: 250px;
    }

    .gallery-nav {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .gallery-nav-prev {
        left: 8px;
    }

    .gallery-nav-next {
        right: 8px;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .gallery-thumbnails {
        gap: 8px;
    }

    .thumbnail-nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .product-info {
        gap: 15px;
    }

    .product-title {
        font-size: 18px;
    }

    .product-stock-price {
        flex-direction: row;
        justify-content: space-between;
    }

    .section-title {
        font-size: 22px;
    }

    .product-card {
        margin-bottom: 15px;
    }
}

/* ======================================== */


/* Reduce spacing between section description and portfolio cards */
.portfolio-filters {
    margin-top: 20px !important;
}

/*====================================================
        OPTIMIZACIONES MÓVIL ADICIONALES
=====================================================*/

/* Tablet 768px - 991px */
@media (min-width: 768px) and (max-width: 991px) {

    section {
        padding: 60px 0 !important;
    }

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title-h2 {
        padding-bottom: 25px;
    }

    .section-title-h2 h2 {
        font-size: 38px;
    }

    .product-card img,
    .course-card img {
        height: 240px;
    }

}

/* Extra pequeño (320px - 480px) */
@media (max-width: 480px) {

    .container {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 28px !important;
    }

    .hero p {
        font-size: 15px !important;
    }

    .section-title-h2 {
        padding-bottom: 18px;
    }

    .section-title-h2 h2 {
        font-size: 22px !important;
    }

    .section-title-p {
        margin-bottom: 40px;
    }

    .section-title-p p {
        font-size: 15px;
    }

    .btn-industrial,
    .btn-outline-industrial {
        padding: 11px 20px;
        font-size: 15px;
    }

    .about-box {
        padding: 25px 15px;
    }

    .about-box i {
        width: 75px;
        height: 75px;
        font-size: 32px;
    }

    .about-box h4 {
        font-size: 17px;
    }

    .about-box p {
        font-size: 15px;
    }

    .product-content h4,
    .course-content h4 {
        font-size: 18px;
        min-height: auto;
    }

    .product-content p,
    .course-content p {
        font-size: 15px;
    }

    .newsletter {
        margin: 0 10px;
        padding: 30px 15px;
    }

    .newsletter-h2 h2 {
        font-size: 22px;
    }

    .newsletter-p p {
        font-size: 15px;
    }

    .newsletter .form-control,
    .newsletter .btn {
        height: 48px;
        font-size: 16px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form label {
        font-size: 15px;
    }

    .form-control {
        font-size: 16px;
        padding: 12px 14px;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .company-header h3 {
        font-size: 24px;
    }

    .company-header p {
        font-size: 15px;
    }

    .about-mv {
        padding: 25px 20px;
    }

    .about-mv h3 {
        font-size: 22px;
    }

    .about-mv p {
        font-size: 15px;
    }

    .mv-icon {
        width: 70px;
        height: 70px;
    }

    .mv-icon i {
        font-size: 30px;
    }

    .row.g-4 {
        row-gap: 20px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

}

/* Landscape móvil (480px - 767px, altura reducida) */
@media (max-height: 600px) and (orientation: landscape) {

    .hero {
        min-height: 70vh;
        padding: 30px 0;
    }

    .hero h1 {
        margin-bottom: 10px;
    }

    .hero p {
        margin-bottom: 15px;
    }

    section {
        padding: 40px 0 !important;
    }

}

/* Para asegurar botones táctiles en todo móvil */
@media (max-width: 767px) {

    .btn-industrial,
    .btn-outline-industrial,
    .btn-action,
    .btn-portfolio,
    .btn-product-card,
    button {
        min-height: 44px;
        min-width: 44px;
    }

    .gallery-nav {
        min-width: 44px;
        min-height: 44px;
    }

    .thumbnail-nav {
        min-width: 44px;
        min-height: 44px;
    }

    .social-icons a {
        min-width: 44px;
        min-height: 44px;
    }

    a {
        -webkit-tap-highlight-color: rgba(244, 180, 0, 0.2);
    }

}

/*====================================================
        ADAPTACIÓN MÓVIL - TODAS LAS PÁGINAS
=====================================================*/

/* CATÁLOGO PRODUCTOS */
@media (max-width: 991px) {

    .category-slider-wrapper {
        padding: 0 20px;
        gap: 15px;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .category-filter-container {
        padding: 15px 30px;
        gap: 15px;
        margin-top: 40px;
    }

    .product-card img {
        height: 240px;
    }

}

@media (max-width: 768px) {

    .category-slider-wrapper {
        padding: 0 12px;
        margin-top: 30px;
        margin-bottom: 30px;
        gap: 15px;
    }

    .category-filter-container {
        padding: 10px 12px;
        margin-top: 20px;
        overflow-x: auto;
        gap: 10px;
    }

    .category-todos-btn span.category-circle-name {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }

    .product-card::after {
        font-size: 12px;
        padding: 5px 10px;
        top: 10px;
        left: 10px;
    }

    .product-card {
        border-radius: 9px;
    }

    .product-card img {
        height: 140px;
    }

    .product-content {
        padding: 10px;
    }

    .product-content h4 {
        font-size: 17px;
        margin-bottom: 5px;
    }

    .product-content p {
        font-size: 15px;
    }

}

@media (max-width: 576px) {

    .category-slider-wrapper {
        padding: 0 8px;
        margin-top: 20px;
        margin-bottom: 20px;
        gap: 12px;
    }

    .category-filter-container {
        padding: 8px 8px;
        margin-top: 15px;
        gap: 8px;
    }

    .category-todos-btn span.category-circle-name {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }

    .product-card::after {
        font-size: 12px;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-card img {
        height: 100px;
    }

    .product-card-image {
        height: 100px !important;
    }

    .product-content {
        padding: 8px;
    }

    .product-content h4 {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .product-content p {
        font-size: 15px;
    }

}

/* BLOG */
@media (max-width: 768px) {

    .blog-content {
        padding: 0 15px;
    }

    .blog-card {
        margin-bottom: 20px;
    }

    .blog-card img {
        height: 220px;
    }

    .blog-content h3 {
        font-size: 18px;
    }

    .blog-meta {
        font-size: 12px;
    }

}

@media (max-width: 576px) {

    .blog-card img {
        height: 200px;
    }

    .blog-content h3 {
        font-size: 17px;
    }

    .blog-meta {
        font-size: 12px;
    }

}

/* DETALLE BLOG */
@media (max-width: 768px) {

    .blog-detail-content {
        padding: 0 15px;
    }

    .blog-detail-image {
        height: 300px !important;
    }

    .blog-detail-title {
        font-size: 24px;
    }

    .blog-sidebar {
        margin-top: 30px;
    }

}

@media (max-width: 576px) {

    .blog-detail-image {
        height: 250px !important;
    }

    .blog-detail-title {
        font-size: 20px;
    }

    .blog-detail-content p {
        font-size: 15px;
        line-height: 1.7;
    }

}

/* CURSOS */
@media (max-width: 768px) {

    .course-card img {
        height: 220px;
    }

    .course-content h4 {
        font-size: 18px;
    }

    .course-content p {
        font-size: 15px;
    }

}

@media (max-width: 576px) {

    .course-card img {
        height: 200px;
    }

    .course-content h4 {
        font-size: 17px;
        margin-top: 10px;
    }

    .course-content p {
        font-size: 15px;
    }

}

/* DETALLE CURSO */
@media (max-width: 768px) {

    .course-detail-hero {
        min-height: 60vh;
    }

    .course-detail-image {
        height: 300px;
    }

    .course-detail-title {
        font-size: 26px;
    }

    .course-info {
        flex-direction: column;
        gap: 15px;
    }

}

@media (max-width: 576px) {

    .course-detail-hero {
        min-height: 50vh;
        padding: 30px 0;
    }

    .course-detail-image {
        height: 250px;
    }

    .course-detail-title {
        font-size: 20px;
    }

}

/* SERVICIOS */
@media (max-width: 768px) {

    .service-card img {
        height: 220px;
    }

    .service-card h4 {
        font-size: 18px;
    }

}

@media (max-width: 576px) {

    .service-card img {
        height: 200px;
    }

    .service-card h4 {
        font-size: 17px;
    }

}

/* DETALLE SERVICIO */
@media (max-width: 768px) {

    .service-detail-hero {
        min-height: 60vh;
    }

    .service-detail-image {
        height: 300px;
    }

    .service-detail-title {
        font-size: 26px;
    }

}

@media (max-width: 576px) {

    .service-detail-hero {
        min-height: 50vh;
        padding: 30px 0;
    }

    .service-detail-image {
        height: 250px;
    }

    .service-detail-title {
        font-size: 20px;
    }

}

/* PORTAFOLIO */
@media (max-width: 768px) {

    .portfolio-card img {
        height: 220px;
    }

    .portfolio-content h4 {
        font-size: 18px;
    }

}

@media (max-width: 576px) {

    .portfolio-card img {
        height: 200px;
    }

    .portfolio-content {
        padding: 15px 20px;
    }

    .portfolio-content h4 {
        font-size: 17px;
    }

    .portfolio-content p {
        font-size: 15px;
    }

}

/* DETALLE PORTAFOLIO */
@media (max-width: 768px) {

    .portfolio-detail-hero {
        min-height: 60vh;
    }

    .portfolio-detail-image {
        height: 300px;
    }

    .portfolio-detail-title {
        font-size: 26px;
    }

}

@media (max-width: 576px) {

    .portfolio-detail-hero {
        min-height: 50vh;
        padding: 30px 0;
    }

    .portfolio-detail-image {
        height: 250px;
    }

    .portfolio-detail-title {
        font-size: 20px;
    }

}

/* GRIDS GENERALES */
@media (max-width: 768px) {

    .row.g-3 {
        row-gap: 20px;
    }

    .row.g-4 {
        row-gap: 25px;
    }

    /* Asegurar que columnas se adapten */
    [class*="col-"] {
        word-break: break-word;
    }

}

@media (max-width: 576px) {

    .row.g-3,
    .row.g-4 {
        row-gap: 20px;
        column-gap: 10px !important;
    }

    /* Bootstrap responsive columns */
    .col-md-6,
    .col-lg-6 {
        width: 100%;
    }

    .col-md-4,
    .col-lg-4 {
        width: 100%;
    }

    .col-md-3,
    .col-lg-3 {
        width: 100%;
    }

}

/* TABLA RESPONSIVA (si existe) */
@media (max-width: 768px) {

    table {
        font-size: 15px;
    }

    table th {
        padding: 8px 5px;
    }

    table td {
        padding: 8px 5px;
    }

    .table-responsive {
        font-size: 15px;
    }

}

/* FOOTER */
@media (max-width: 768px) {

    footer {
        padding: 50px 0 15px;
    }

    footer h3 {
        font-size: 18px;
    }

    footer h5 {
        font-size: 16px;
    }

    footer p {
        font-size: 15px;
    }

}

@media (max-width: 576px) {

    footer {
        padding: 40px 0 10px;
    }

    footer h3 {
        font-size: 17px;
    }

    footer h5 {
        font-size: 16px;
    }

    footer p {
        font-size: 15px;
    }

    .social-icons {
        justify-content: center;
    }

}

/*====================================================
        OPTIMIZACIÓN GALERÍAS - DETALLEPRODUCTO
=====================================================*/

@media (max-width: 991px) {

    .product-detail-section {
        padding: 40px 0 !important;
    }

    .gallery-image {
        height: 400px;
    }

    .product-info {
        position: relative;
        top: auto;
    }

    .product-title {
        font-size: 26px;
    }

}

@media (max-width: 768px) {

    .product-detail-section {
        padding: 30px 0 !important;
    }

    .gallery-container {
        gap: 15px;
    }

    .gallery-image {
        height: 320px;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .gallery-nav-prev {
        left: 10px;
    }

    .gallery-nav-next {
        right: 10px;
    }

    .gallery-thumbnails-wrapper {
        gap: 10px;
    }

    .thumbnail-item {
        width: 75px;
        height: 75px;
    }

    .thumbnail-nav {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .product-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .product-category {
        gap: 8px;
    }

    .badge-category {
        font-size: 12px;
        padding: 6px 12px;
    }

    .product-features {
        padding: 15px;
    }

    .features-title {
        font-size: 16px;
    }

    .feature-item {
        font-size: 15px;
    }

    .product-description {
        gap: 10px;
    }

    .description-title {
        font-size: 16px;
    }

    .description-text {
        font-size: 15px;
    }

    .price-value {
        font-size: 20px;
    }

    .btn-action {
        padding: 12px 20px;
        font-size: 15px;
    }

    .product-actions-row {
        flex-direction: column;
        gap: 10px;
    }

    .product-actions-row .btn-action {
        width: 100%;
    }

}

@media (max-width: 576px) {

    .product-detail-section {
        padding: 15px 0 !important;
    }

    .gallery-container {
        gap: 12px;
    }

    .gallery-main {
        border-radius: 10px;
        border-width: 2px !important;
    }

    .gallery-image {
        height: 250px;
    }

    .gallery-nav {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .gallery-nav-prev {
        left: 6px;
    }

    .gallery-nav-next {
        right: 6px;
    }

    .gallery-thumbnails-wrapper {
        gap: 8px;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }

    .thumbnail-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    /* PRODUCTO INFO */
    .product-info {
        gap: 18px;
    }

    .product-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .product-category {
        gap: 6px;
        margin-bottom: 5px;
    }

    .badge-category {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 12px;
    }

    /* PRECIO */
    .price-info {
        padding: 12px 15px;
        background: rgba(244, 180, 0, 0.08);
        border-radius: 8px;
        border-left: 3px solid var(--secondary);
    }

    .price-label {
        font-size: 12px;
        font-weight: 600;
    }

    .price-value {
        font-size: 18px;
        font-weight: 700;
    }

    /* DESCRIPCIÓN */
    .product-description {
        gap: 8px;
        padding: 0;
    }

    .description-title {
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--primary);
    }

    .description-text {
        font-size: 15px;
        line-height: 1.5;
        color: var(--text);
    }

    /* BOTONES DE ACCIÓN */
    .product-actions-row {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin: 15px 0 10px;
    }

    .btn-action {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
    }

    .btn-action.btn-solicitar {
        background: var(--secondary);
        color: var(--dark);
        border: none;
    }

    .btn-action.btn-whatsapp {
        background: #25D366;
        color: white;
        border: none;
    }

    .product-actions-row .btn-action {
        width: 100%;
    }

    /* CARACTERÍSTICAS */
    .product-features {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 8px;
        border-left-width: 3px;
    }

    .features-title {
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .features-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .feature-item {
        font-size: 15px;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        line-height: 1.4;
    }

    .feature-icon {
        font-size: 14px;
        color: var(--secondary);
        font-weight: bold;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .feature-text {
        color: var(--text);
    }

    /* PRODUCTOS RELACIONADOS */
    .related-products-section {
        margin-top: 30px;
        padding-top: 25px;
        border-top: 1px solid var(--border);
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-header .section-title {
        font-size: 18px;
        margin-bottom: 0;
        text-align: left;
    }

    .product-card {
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .product-card-image {
        height: 160px !important;
        border-radius: 10px 10px 0 0;
    }

    .product-card-content {
        padding: 12px;
    }

    .product-card-title {
        font-size: 17px;
        font-weight: 600;
        line-height: 1.3;
    }

    .product-card-description {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .btn-product-card {
        font-size: 15px;
        padding: 8px 12px;
        border-radius: 6px;
        display: inline-block;
    }
}

/* SUPER PEQUEÑAS (480px) - CATEGORÍAS */
@media (max-width: 480px) {

    .product-title {
        font-size: 17px !important;
        margin-bottom: 6px;
    }

    .gallery-image {
        height: 220px !important;
    }

    .price-value {
        font-size: 16px !important;
    }

    .btn-action {
        font-size: 15px !important;
        padding: 11px 14px !important;
    }

    .description-text {
        font-size: 15px !important;
    }

    /* CATEGORÍAS EN HOMEPAGE Y SLIDER */
    .product-card img,
    .course-card img {
        height: 95px !important;
    }

    .category-slider-wrapper {
        padding: 0 6px !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
        gap: 10px !important;
    }

    .category-filter-container {
        padding: 6px 6px !important;
        margin-top: 12px !important;
        gap: 8px !important;
    }

    .category-todos-btn span.category-circle-name {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }

    .product-card {
        border-radius: 7px !important;
    }

    .product-content {
        padding: 8px !important;
    }

    .product-content h4 {
        font-size: 17px !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }

    .product-content p {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        line-height: 1.2 !important;
    }

    .product-content .btn-industrial {
        padding: 7px 10px !important;
        font-size: 15px !important;
    }

}

@media (max-width: 380px) {

    .product-detail-section {
        padding: 12px 0 !important;
    }

    .product-title {
        font-size: 17px !important;
        line-height: 1.2 !important;
    }

    .gallery-image {
        height: 200px !important;
    }

    .thumbnail-item {
        width: 55px !important;
        height: 55px !important;
    }

    .price-label {
        font-size: 12px !important;
    }

    .price-value {
        font-size: 15px !important;
    }

    .description-title {
        font-size: 16px !important;
    }

    .description-text {
        font-size: 15px !important;
    }

    .features-title {
        font-size: 16px !important;
    }

    .feature-item {
        font-size: 15px !important;
    }

    .btn-action {
        font-size: 15px !important;
        padding: 10px 12px !important;
        min-height: 40px !important;
    }

    /* CATEGORÍAS MÁS PEQUEÑAS Y SLIDER */
    .product-card img,
    .course-card img {
        height: 85px !important;
    }

    .category-slider-wrapper {
        padding: 0 5px !important;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
        gap: 8px !important;
    }

    .category-filter-container {
        padding: 5px 5px !important;
        margin-top: 10px !important;
        gap: 6px !important;
    }

    .category-todos-btn span.category-circle-name {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }

    .product-card {
        border-radius: 6px !important;
    }

    .product-content {
        padding: 7px !important;
    }

    .product-content h4 {
        font-size: 17px !important;
        margin-bottom: 3px !important;
        line-height: 1.1 !important;
    }

    .product-content p {
        font-size: 15px !important;
        margin-bottom: 4px !important;
        line-height: 1.1 !important;
    }

    .product-content .btn-industrial {
        padding: 6px 8px !important;
        font-size: 15px !important;
        min-height: 36px !important;
    }

}

/*====================================================
        OVERRIDE ESTILOS INLINE - SERVICIOS/PRODUCTOS
=====================================================*/

/* Los círculos de categoría (catalogoProductos) se dimensionan en publico/catalogoProductos.css con --cat-size. */


/* Override servicioDetalle.aspx */
@media (max-width: 768px) {

    /* Hero inline styles override */
    section[style*="height: 70vh"] {
        height: 50vh !important;
    }

    section[style*="padding: 80px"] {
        padding: 50px 0 !important;
    }

    h1[style*="font-size: 65px"],
    h1[style*="font-size: 62px"] {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    p[style*="font-size: 22px"],
    p[style*="font-size: 20px"] {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    h2[style*="font-size: 38px"] {
        font-size: 26px !important;
    }

}

@media (max-width: 576px) {

    section[style*="height: 70vh"] {
        height: 45vh !important;
    }

    section[style*="padding: 80px"] {
        padding: 40px 0 !important;
    }

    section[style*="padding: 50px"] {
        padding: 25px !important;
    }

    h1[style*="font-size: 65px"],
    h1[style*="font-size: 62px"] {
        font-size: 26px !important;
    }

    p[style*="font-size: 22px"],
    p[style*="font-size: 20px"] {
        font-size: 15px !important;
    }

    h2[style*="font-size: 38px"] {
        font-size: 22px !important;
    }

    /* Override categorías en catalogoProductos */
    .category-slider-wrapper {
        padding: 0 12px !important;
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    .category-filter-container {
        padding: 10px 12px !important;
        margin-top: 20px !important;
    }

    /* Override search section */
    section[style*="margin-top: -45px"] {
        margin-top: -30px !important;
        padding: 25px 0 !important;
    }

    section[style*="margin-top: -45px"] > div[style*="background: white"] {
        padding: 20px !important;
    }

}

/* Override botones en línea */
@media (max-width: 768px) {

    input[style*="height: 60px"],
    input[style*="height: 58px"] {
        height: 48px !important;
        font-size: 16px !important;
    }

    button[style*="font-size: 16px"],
    input[type="button"][style*="font-size: 16px"] {
        font-size: 15px !important;
        padding: 10px 20px !important;
        min-height: 44px !important;
    }

}

@media (max-width: 576px) {

    input[style*="height: 60px"],
    input[style*="height: 58px"] {
        height: 44px !important;
        font-size: 16px !important;
    }

    button[style*="font-size: 16px"],
    input[type="button"][style*="font-size: 16px"] {
        font-size: 15px !important;
        padding: 8px 16px !important;
        width: 100% !important;
    }

}