:root {
    --primary-color: #ff5e14;
    /* Naranja seguridad */
    --secondary-color: #0f172a;
    /* Azul oscuro corporativo */
    --contacto: #218838;
    --text-color: #4b5563;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

.color-primary {
    color: var(--primary-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    font-size: 0.85rem;
}


@media (max-width: 768px) {
    .container {
        width: 90%;
    }
}

/* Navbar */


/* Swiper Hero Section */
.heroSwiper {
    width: 100%;
    height: 90vh;
    min-height: 600px;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .heroSwiper {
        height: 80vh;
        min-height: 500px;
    }
}

/* Animación de entrada en cascada para los textos del slide activo */
.hero-slide .hero-subtitle,
.hero-slide .hero-title,
.hero-slide .lead,
.hero-slide .btn {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s ease-out;
}

/* Estado visible al activarse la diapositiva */
.hero-slide.swiper-slide-active .hero-subtitle,
.hero-slide.swiper-slide-active .hero-title,
.hero-slide.swiper-slide-active .lead,
.hero-slide.swiper-slide-active .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos secuenciales (efecto cascada) */
.hero-slide.swiper-slide-active .hero-subtitle {
    transition-delay: 0.4s;
}

.hero-slide.swiper-slide-active .hero-title {
    transition-delay: 0.6s;
}

.hero-slide.swiper-slide-active .lead {
    transition-delay: 0.8s;
}

.hero-slide.swiper-slide-active .btn {
    transition-delay: 1.0s;
}

/* Swiper Navigation Customization */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(255, 94, 20, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    width: 25px;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 0;
    transition: 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    color: #fff;
}


/* About Section */
.about-section {
    padding: 100px 0;
}

.about-img-wrapper {
    position: relative;
}

.about-img-wrapper img {
    width: 100%;
    height: 350px;
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 30px;
    text-align: center;
}

.about-experience h3 {
    color: white;
    font-size: 3rem;
    margin: 0;
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.service-card {
    background: white;
    padding: 30px;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-section .descatados .box-img {
    width: 90%;
    border-radius: 5px;
    overflow: hidden;
}

/* Portfolio */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.portfolio-item img {
    transition: 0.5s;
    width: 100%;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(255, 94, 20, 0.9);
    padding: 20px;
    color: white;
    transition: 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h4 {
    color: white;
    margin: 0;
}

/* FAQ */
.faq-section {
    background-color: var(--light-bg);
    background-color: #f2efef9d;
    padding: 100px 0;
}

.faq-section .box-text {
    padding: 20px 30px;
}

@media (max-width: 768px) {
    .faq-section .box-text {
        padding: 10px 10px;
    }

}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary-color);
    height: 100%;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 94, 20, 0.1);
    color: var(--primary-color);
    line-height: 70px;
    font-size: 30px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.form-contac {
    background-color: rgb(255, 254, 254);
    border-radius: 5px;
    padding: 10px 20px;
}

.form-contac .input {
    border: #0f172a solid 1px;
    border-radius: 5px;
}


/* Publicaciones */
/* Hero Section */
.publicacion-hero {
    position: relative;
    color: white;
    height: 500px;
    overflow: hidden;
    padding-bottom: 140px;
    margin-bottom: 50px;
}

.publicacion-hero .linear-gradient {
    position: absolute;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
    width: 100%;
    height: 100%;
    z-index: 1;
}

.publicacion-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.publicacion-hero .box-text {
    width: 95%;
    padding-top: 180px;
    padding-bottom: 140px;
    z-index: 10;
}

/* contacto */
.publicacion-hero .box-text-contac {
    margin-top: 200px;
    z-index: 100;
}

.publicacion-hero .box-text-contac h1 {
    color: white;
    font-size: 75px;
}

.publicacion-hero .box-text-contac p {
    color: white;
    font-size: 35px;
    margin-bottom: auto;
}

@media (max-width: 850px) {
    .publicacion-hero {
        height: 600px;
        padding-bottom: 0px;
        margin-bottom: 50px;
    }

    /* contacto */
    .publicacion-hero .box-text {
        width: 95%;
        padding-top: 100px;
        padding-bottom: 140px;
        z-index: 10;
    }

    .publicacion-hero .box-text-contac {
        margin-top: 250px;
        z-index: 5;
    }

    .publicacion-hero .box-text-contac h1 {
        color: white;
        font-size: 55px;
    }

    .publicacion-hero .box-text-contac p {
        color: white;
        font-size: 22px;
    }

}

/* Tipografía y Contenido Principal */
.publicaciones {
    margin-bottom: 100px;
}

.publicaciones .box-publicaciones {
    padding: 0px 50px;
}

.publicaciones .principal .box-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.publicaciones .principal .box-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.publicaciones .principal .box-text p,
.publicaciones .principal .box-text li {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Sub-publicaciones (Mejorado) */
.publicaciones .sub-publicacion {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.publicaciones .sub-publicacion .box-text h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 15px;
    color: var(--text-dark);
}

.publicaciones .sub-publicacion .box-text p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.publicaciones .sub-publicacion .box-img img {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

@media (max-width: 850px) {

    .publicaciones {
        margin-bottom: 50px;
    }

    .publicaciones .box-publicaciones {
        padding: 0;
    }

    .publicaciones .box-articulos {
        display: none;
    }
}

/* Sidebar & Widgets */
.sidebar-widget {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.sidebar-widget .widget-title {
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.featured-post {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
    transition: transform 0.2s;
}

.featured-post:hover {
    transform: translateX(5px);
}

.featured-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.featured-post h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.featured-post a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}

.featured-post a:hover {
    color: var(--primary-color);
}

/* Botones de Presupuesto (Call to Action) */
.btn-presupuesto {
    display: inline-block;
    background-color: var(--contacto);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    text-align: center;
}

.btn-presupuesto:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-presupuesto.w-100 {
    width: 100%;
}

/* Etiquetas SEO Semánticas */
.seo-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 20px 0 0 0;
    list-style: none;
}

.seo-tags-list li {
    background: #e9ecef;
    color: #495057;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s;
}

.seo-tags-list li:hover {
    background: #dee2e6;
    color: var(--primary-color);
    cursor: pointer;
}

/* Features */
.feature-box {
    padding: 40px;
    background: white;
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
}

.feature-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Banner CTA */
.cta-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #a1a1aa;
    padding: 80px 0 30px;
}

.footer h4 {
    color: white;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #a1a1aa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 20px;
}

.footer .text-logo {
    font-size: 34px;
}

.footer .box-icons .title {
    font-size: 22px;
    margin-bottom: 10px;
}

.footer .box-icons .list-unstyled {
    display: flex;
    flex-direction: column;

}


.footer .box-icons a {
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Ubicación / Google Maps */
.footer .box-icons a[href*="google.com/maps"] {
    color: #a1a1aa;
}

.footer .box-icons a[href*="google.com/maps"]:hover {
    color: var(--primary-color);
}

/* WhatsApp */
.footer .box-icons a[href*="wa.me"] {
    color: #a1a1aa;
}

.footer .box-icons a[href*="wa.me"]:hover {
    color: var(--primary-color);
}

.footer .box-icons .whatsapp i {
    color: #25D366;
}

/* Email */
.footer .box-icons a[href^="mailto:"] {
    color: #a1a1aa;
}

.footer .box-icons a[href^="mailto:"]:hover {
    color: var(--primary-color);
}

/* Efecto general al pasar el mouse */
.footer .box-icons a:hover {
    transform: translateX(3px);
}


@media (max-width: 768px) {
    .footer .text-logo {
        font-size: 28px;
    }

}

/* custom */
.btn-contacto {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 0;
    transition: 0.3s;
}

.btn-contacto:hover {
    background-color: var(--secondary-color);
    color: #fff;
}


/* campanas */
.card-producto-campana {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: all .35s ease;
}

.card-producto-campana:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

/* efecto brillo */
.card-producto-campana::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80px;
    height: 100%;
    background: rgba(255, 255, 255, .3);
    transform: skewX(-20deg);
    transition: .8s;
    z-index: 2;
}

.card-producto-campana:hover::before {
    left: 130%;
}

/* Badge */
.card-producto-campana .badge-oferta {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    padding: 8px 14px;
    background: linear-gradient(135deg, #ff4d4d, #c1121f);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(193, 18, 31, .35);
}

/* Imagen */
.card-producto-campana .box-img {
    height: 300px;
    padding: 25px;
    background:
        radial-gradient(circle at center,
            #ffffff 0%,
            #f4f6f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-producto-campana .box-img img {
    width: 100%;
    max-width: 340px;
    object-fit: contain;
    transition: transform .5s ease;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, .15));
}

.card-producto-campana:hover .box-img img {
    transform: scale(1.08);
}

/* Texto */
.card-producto-campana .box-text {
    padding: 25px;
}

.card-producto-campana h3 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 800;
}

/* Características */
.card-producto-campana .medidas {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.card-producto-campana .medidas span {
    font-size: 13px;
    color: #64748b;
}

.card-producto-campana .medidas strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

/* =========================================
    pagina campanas
========================================= */
.campanas-industriales {
    padding-top: 50px;
}

.campanas-industriales .title-destacado {
    font-size: 35px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.sidebar-campana {}

.sidebar-campana .card-sidebar-01 {
    margin-top: 50px;
    background-color: #e0e7ff;
    padding: 50px 20px 15px 20px;
    border-radius: 15px;
}

.campana-publicacion-productos {
    width: 650px;
    margin: auto;
}

/* Botones */
.card-producto-campana .enlaces {
    display: flex;
    gap: 12px;
}

.card-producto-campana .btn-ver,
.card-producto-campana .btn-cotizar {
    flex: 1;
    text-decoration: none;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    transition: .3s;
}

.card-producto-campana .btn-ver {
    background: var(--primary-color);
    color: #fff;
}

.card-producto-campana .btn-ver:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
}

.card-producto-campana .btn-cotizar {
    background: #25D366;
    color: #fff;
}

.card-producto-campana .btn-cotizar:hover {
    background: #1eb857;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, .25);
}

.card-producto-campana i {
    margin-right: 5px;
}

#carouselCampanas {
    padding-inline: 60px;
}

#carouselCampanas .carousel-control-prev,
#carouselCampanas .carousel-control-next {
    width: 50px;
    opacity: 1;
}

#carouselCampanas .carousel-control-prev-icon,
#carouselCampanas .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: 22px;
    background-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
}

#carouselCampanas .carousel-control-prev {
    left: -50px;
}

#carouselCampanas .carousel-control-next {
    right: -50px;
}