/* Custom styles for Fumigaciones Campos - keep all site-specific overrides here */

/* "Nos especializamos en" icon cards (services carousel) */
.icon-badge-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 35px 15px;
}

.icon-badge-card .icon-badge-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #e4f4fb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.icon-badge-card .icon-badge-circle i {
    font-size: 26px;
    line-height: 1;
    color: var(--base-color);
}

.icon-badge-card .icon-badge-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1b1b1b;
}

/* Beneficios section: "bg-midnight-dark-blue" is referenced in index.html but
   was never defined anywhere in the template's CSS, and the scroll-linked
   parallax color (data-0-top / data-center-bottom) never fires on load, so the
   section rendered with a transparent/white background and unreadable white
   text. Give it the same dark navy the parallax script targets. */
.bg-midnight-dark-blue {
    background-color: rgb(25, 30, 61);
}

/* Header: give the whole bar the same translucent white "glass" background
   the header gets on scroll (see header.sticky.sticky-active .glass-effect in
   style.css), but always-on and full width, so the navy text in the logo
   doesn't blend into the dark hero photo behind the transparent header. */
header .navbar.glass-effect {
    background-color: rgba(255, 255, 255, 0.85) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

/* Header height: style.css only slims the logo padding down to 20px 0 once
   header.sticky is added on scroll (default is 30px 0). Use the thinner
   padding all the time instead of just after scrolling. it-business.css also
   sizes the logo itself up to 82px tall, which is most of why the static
   header feels so much taller than the scrolled one — bring it down too. */
header .navbar-brand {
    padding: 14px 0 !important;
}
header .navbar-brand img {
    max-height: 84px !important;
}

/* CTA banner: let the section grow with its content on small screens
   instead of clipping at the template's fixed sm-h-500px height */
@media (max-width: 767px) {
    #cta-banner.sm-h-500px {
        height: auto !important;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Hero: the fixed md-h-750px / sm-h-650px heights (with overflow:hidden from
   .cover-background) clip the WhatsApp button off-screen on tablets/phones
   once the badge + heading + 2-line paragraph + 2 stacked buttons no longer
   fit inside those fixed heights. Let it grow with its content instead. */
@media (max-width: 991px) {
    #hero.md-h-750px, #hero.sm-h-650px {
        height: auto !important;
        padding-top: 130px;
        padding-bottom: 60px;
    }
}
