/* ==========================================================
   ESTILOS GENERALES
========================================================== */

body {
    background: #f7f7f7;
    font-family: Arial, sans-serif;
    color: #333;
}

h1, h2, h3 {
    font-weight: 700;
}

/* ==========================================================
   HERO / JUMBOTRON / HERO IMAGE
========================================================== */

.hero-header,
.jumbotron {
    background-image: url('/img/climatizacion-header.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Hero específico usado en Ventilación */
.hero-image {
    background-color: #e9e9e9;
    border-radius: .5rem;
    overflow: hidden;
    position: relative;
}

.hero-ribbon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #CC6600 0%, rgb(235, 77, 6) 100%);
    color: #fff;
    padding: .4rem .8rem;
    font-size: .8rem;
    text-transform: uppercase;
    border-radius: .25rem;
    letter-spacing: .08em;
}

/* ==========================================================
   TÍTULOS DE SECCIÓN (USADO EN TODAS LAS PÁGINAS)
========================================================== */

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #aa6708;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.4rem;
    width: 60px;
    height: 2px;
    background-color: #aa6708;
}

/* ==========================================================
   SERVICE BOXES (CAJAS DE SERVICIOS)
========================================================== */

.service-box {
    text-align: center;
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    color: #333;
}

.service-box:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transform: translateY(-5px);
    border-color: #cc0000;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #cc0000;
}

/* ==========================================================
   TARJETAS DE IMÁGENES (VENTILADORES, EXTRACTORES, ETC.)
========================================================== */

.thumb-card img {
    transition: .3s ease;
}

.thumb-card img:hover {
    opacity: .8;
    transform: scale(1.02);
}

/* ==========================================================
   POR QUÉ ELEGIRNOS
========================================================== */

.porque-elegirnos {
    padding: 40px 0;
    background: #fff;
}

.feature-box {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-box i {
    font-size: 32px;
    color: #cc0000;
    margin-right: 15px;
}

.feature-box p {
    margin: 0;
    font-size: 16px;
}

/* ==========================================================
   CTA BOX (USADO EN VENTILACIÓN Y OTRAS PÁGINAS)
========================================================== */

.cta-box {
    border-left: 4px solid #aa6708;
}

/* ==========================================================
   FAQ (PREGUNTAS FRECUENTES)
========================================================== */

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

/* ==========================================================
   LOGOS DE MARCAS
========================================================== */

.brand-logos img {
    max-height: 55px;
    margin: 10px;
    filter: grayscale(100%);
    opacity: .7;
    transition: .3s;
}

.brand-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================
   BOTÓN FLOTANTE WHATSAPP
========================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: white;
}

/* ==========================================================
   FOOTER
========================================================== */

.footer {
    background: #222;
    color: #ddd;
    padding-top: 40px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 15px;
}

.footer a {
    color: #ddd;
}

.footer a:hover {
    color: #cc0000;
}

.footer-social a {
    font-size: 20px;
    margin-right: 10px;
    color: #fff;
}

.footer-bottom {
    padding: 15px 0;
    background: #111;
    margin-top: 20px;
    text-align: center;
}

/* ==========================================================
   BOTÓN VOLVER ARRIBA
========================================================== */

.generate-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #cc0000;
    color: #fff;
    padding: 10px 12px;
    border-radius: 50%;
    display: none;
    transition: 0.3s;
}

.generate-back-to-top:hover {
    background: #a30000;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 768px) {
    .feature-box {
        flex-direction: column;
        text-align: center;
    }

    .feature-box i {
        margin-bottom: 10px;
    }
}
.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.modal-content {
    border-radius: .75rem;
}
