.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS *//* =====================================================
   HEADER CARRERA BOMBEROS
===================================================== */

.cb-header,
.cb-header * {
    box-sizing: border-box;
}

.cb-header {
    --cb-rojo: #f53b4f;
    --cb-rojo-oscuro: #d9253b;
    --cb-negro: #181a20;
    --cb-texto: #606674;
    --cb-borde: rgba(25, 28, 38, 0.08);

    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--cb-borde);
    box-shadow: 0 5px 28px rgba(18, 21, 30, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font-family: "Inter", "Poppins", Arial, sans-serif;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.cb-header.cb-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 35px rgba(18, 21, 30, 0.09);
}

.cb-header-container {
    width: min(100% - 40px, 1240px);
    min-height: 78px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

/* Logo */

.cb-header-logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 10px;
    color: var(--cb-negro) !important;
    text-decoration: none !important;
}

.cb-logo-icon {
    display: flex;
    width: 37px;
    height: 37px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #ff5364, var(--cb-rojo));
    color: #ffffff;
    box-shadow: 0 9px 24px rgba(245, 59, 79, 0.26);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.cb-header-logo:hover .cb-logo-icon {
    transform: rotate(-6deg) scale(1.06);
    box-shadow: 0 13px 28px rgba(245, 59, 79, 0.35);
}

.cb-logo-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.cb-logo-text {
    color: var(--cb-negro);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.cb-logo-text strong {
    color: var(--cb-rojo);
    font-weight: 900;
}

/* Navegación */

.cb-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.cb-nav-link {
    position: relative;
    padding: 29px 0 27px;
    color: var(--cb-texto) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.cb-nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 2px;
    margin: auto;
    border-radius: 20px;
    background: var(--cb-rojo);
    transition: width 0.3s ease;
}

.cb-nav-link:hover,
.cb-nav-link.cb-active {
    color: var(--cb-rojo) !important;
}

.cb-nav-link:hover::after,
.cb-nav-link.cb-active::after {
    width: 100%;
}

/* Botón */

.cb-header-cta {
    display: inline-flex;
    min-height: 44px;
    padding: 0 21px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    justify-self: end;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4b5e, var(--cb-rojo));
    color: #ffffff !important;
    box-shadow: 0 12px 27px rgba(245, 59, 79, 0.25);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none !important;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.cb-header-cta:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--cb-rojo), var(--cb-rojo-oscuro));
    box-shadow: 0 17px 34px rgba(245, 59, 79, 0.34);
    transform: translateY(-3px);
}

.cb-header-cta span {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.cb-header-cta:hover span {
    transform: translateX(4px);
}

.cb-header-cta-mobile {
    display: none;
}

/* Hamburguesa */

.cb-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    justify-self: end;
    border: 1px solid rgba(25, 28, 38, 0.09);
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(18, 21, 30, 0.07);
    cursor: pointer;
}

.cb-menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 20px;
    background: var(--cb-negro);
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.cb-menu-toggle.cb-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.cb-menu-toggle.cb-open span:nth-child(2) {
    opacity: 0;
}

.cb-menu-toggle.cb-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.cb-menu-backdrop {
    display: none;
}

/* Tablet y móvil */

@media (max-width: 900px) {
    .cb-header-container {
        min-height: 70px;
        grid-template-columns: 1fr auto;
        gap: 15px;
    }

    .cb-header-nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10002;
        width: min(86vw, 370px);
        height: 100dvh;
        padding: 100px 26px 32px;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 7px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -20px 0 55px rgba(18, 21, 30, 0.16);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        visibility: hidden;
        opacity: 0;
        transform: translateX(105%);
        transition:
            transform 0.38s cubic-bezier(.2,.75,.25,1),
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .cb-header-nav.cb-open {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .cb-nav-link {
        display: flex;
        min-height: 56px;
        padding: 0 17px;
        align-items: center;
        border-bottom: 1px solid rgba(25, 28, 38, 0.07);
        border-radius: 12px;
        color: var(--cb-negro) !important;
        font-size: 16px;
        font-weight: 800;
    }

    .cb-nav-link::after {
        display: none;
    }

    .cb-nav-link:hover,
    .cb-nav-link.cb-active {
        padding-left: 22px;
        background: rgba(245, 59, 79, 0.08);
        color: var(--cb-rojo) !important;
    }

    .cb-header-cta-desktop {
        display: none;
    }

    .cb-header-cta-mobile {
        display: inline-flex;
        width: 100%;
        min-height: 54px;
        margin-top: 17px;
    }

    .cb-menu-toggle {
        position: relative;
        z-index: 10003;
        display: flex;
    }

    .cb-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 10001;
        background: rgba(8, 10, 16, 0.55);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        visibility: hidden;
        display: block;
        opacity: 0;
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .cb-menu-backdrop.cb-open {
        visibility: visible;
        opacity: 1;
    }

    body.cb-menu-lock {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .cb-header-container {
        width: min(100% - 26px, 1240px);
    }

    .cb-logo-text {
        font-size: 16px;
    }

    .cb-logo-icon {
        width: 35px;
        height: 35px;
    }

    .cb-menu-toggle {
        width: 43px;
        height: 43px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-header *,
    .cb-header *::before,
    .cb-header *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}/* End custom CSS */