/* ICBM topbar + mobile menu + skip link */

/* Skip to content — visible only on focus */
.icbm-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: #dc1823;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 6px 0;
}
.icbm-skip-link:focus {
    left: 0;
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.icbm-topbar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    /* !important defeats fixes.css `header > div { position: relative !important }`
       which otherwise breaks the sticky stacking context and drops the mega
       dropdown behind the hero/banner. */
    position: sticky !important;
    top: 0;
    z-index: 1100;
    /* production.css `header > div { overflow: hidden }` (legacy banner styling)
       clips the absolutely-positioned mega dropdown to the 70px bar — making it
       look like it opens "behind" the header. Force it visible. */
    overflow: visible !important;
}
.icbm-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.icbm-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.icbm-topbar-left img.icbm-logo-img {
    height: 48px;
    width: auto;
}
.icbm-topbar-left img.icbm-gpp-badge {
    height: 44px;
    width: auto;
    margin-left: 8px;
}
.icbm-topbar-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.icbm-topbar-nav > li {
    position: relative;
}
.icbm-topbar-nav > li > a,
.icbm-topbar-nav > li > button {
    display: block;
    padding: 24px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.icbm-topbar-nav > li > a:hover,
.icbm-topbar-nav > li > button:hover,
.icbm-topbar-nav > li > a:focus-visible,
.icbm-topbar-nav > li > button:focus-visible {
    color: #dc1823;
    outline: none;
}
.icbm-topbar-nav > li > a:focus-visible,
.icbm-topbar-nav > li > button:focus-visible {
    box-shadow: inset 0 -3px 0 #dc1823;
}
/* Active page indicator */
.icbm-topbar-nav > li > a.is-active,
.icbm-topbar-nav > li > button.is-active {
    color: #dc1823;
}
.icbm-topbar-nav > li > a.is-active::after,
.icbm-topbar-nav > li > button.is-active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 18px;
    height: 2px;
    background: #dc1823;
}

/* Mega dropdown — controlled by .is-open instead of :hover */
.icbm-topbar-nav > li > .icbm-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 0 0 8px 8px;
    padding: 25px 30px;
    z-index: 1099;
    min-width: 560px;
}
.icbm-topbar-nav > li:hover > .icbm-mega,
.icbm-topbar-nav > li.is-open > .icbm-mega,
.icbm-topbar-nav > li:focus-within > .icbm-mega {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.icbm-mega-col {
    min-width: 220px;
}
.icbm-mega-col > a,
.icbm-mega-col > .icbm-mega-col__heading {
    font-size: 13px;
    font-weight: 700;
    color: #dc1823;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}
.icbm-mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.icbm-mega-col ul li a {
    display: block;
    padding: 4px 0;
    font-size: 12.5px;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}
.icbm-mega-col ul li a:hover,
.icbm-mega-col ul li a:focus-visible {
    color: #dc1823;
    outline: none;
}

/* CTA button */
.icbm-topbar-cta {
    flex-shrink: 0;
}
.icbm-topbar-cta a {
    display: inline-block;
    padding: 10px 22px;
    font-size: 11px;
    font-weight: 700;
    color: #dc1823;
    border: 2px solid #dc1823;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: all 0.2s;
    white-space: nowrap;
}
.icbm-topbar-cta a:hover,
.icbm-topbar-cta a:focus-visible {
    background: #dc1823;
    color: #fff;
    outline: none;
}

/* Mobile hamburger */
.icbm-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.icbm-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}
.icbm-hamburger:focus-visible {
    outline: 2px solid #dc1823;
    outline-offset: 2px;
}

/* Mobile overlay */
.icbm-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    padding: 25px 20px;
}
.icbm-mobile-menu.open {
    display: block;
}
.icbm-mobile-menu-close {
    background: none;
    border: 1px solid #ddd;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    float: right;
    margin-bottom: 20px;
}
.icbm-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    clear: both;
}
.icbm-mobile-menu > ul > li {
    border-bottom: 1px solid #f0f0f0;
}
.icbm-mobile-menu > ul > li > a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}
.icbm-mobile-menu > ul > li > a:hover,
.icbm-mobile-menu > ul > li > a:focus-visible {
    color: #dc1823;
    outline: none;
}
.icbm-mobile-menu > ul > li > a.is-active {
    color: #dc1823;
}
/* Mobile submenu (Oferta) */
.icbm-mobile-submenu > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    list-style: none;
}
.icbm-mobile-submenu > summary::-webkit-details-marker {
    display: none;
}
.icbm-mobile-submenu > summary::after {
    content: '+';
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: #999;
}
.icbm-mobile-submenu[open] > summary::after {
    content: '–';
}
.icbm-mobile-submenu > summary:hover,
.icbm-mobile-submenu > summary:focus-visible {
    color: #dc1823;
    outline: none;
}
.icbm-mobile-sublist {
    padding: 0 0 8px 12px !important;
    border-left: 2px solid #f0f0f0;
    margin-left: 2px !important;
}
.icbm-mobile-sublist > li > a {
    display: block;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
}
.icbm-mobile-sublist > li > a:hover,
.icbm-mobile-sublist > li > a:focus-visible,
.icbm-mobile-sublist > li > a.is-active {
    color: #dc1823;
    outline: none;
}
.icbm-mobile-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 9998;
}
.icbm-mobile-overlay.open {
    display: block;
}

@media (max-width: 991px) {
    .icbm-topbar-nav,
    .icbm-topbar-cta {
        display: none !important;
    }
    .icbm-hamburger {
        display: flex;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .icbm-topbar-nav > li > a,
    .icbm-topbar-nav > li > button {
        padding: 24px 10px;
        font-size: 11px;
    }
}
