:root {
    --site-header-height: 90px;
}

#site-header {
    height: auto !important;
    min-height: 80px;
    background-color: var(--bg-color, #fff) !important;
    z-index: 1030 !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.site-header__logo {
    display: block;
    width: auto;
    max-height: 52px;
    height: auto;
}

#site-header.nav-fixed {
    z-index: 1030 !important;
    height: auto !important;
    background-color: var(--bg-color, #fff) !important;
}

body.home-landing .landing-section[id],
body.home-landing section[id].track-section {
    scroll-margin-top: calc(var(--site-header-height, 90px) + 0.75rem);
}

@media (min-width: 992px) {
    #site-header .navbar {
        flex-wrap: nowrap;
        align-items: center;
    }

    #site-header .navbar-collapse {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
    }

    #site-header .navbar-nav {
        flex-wrap: nowrap;
        align-items: center;
    }

    #site-header .navbar-nav .nav-link {
        white-space: nowrap;
        font-size: 0.93rem;
    }

    #site-header .navbar-expand-lg .navbar-nav .nav-item {
        padding: 0 8px;
    }

    #site-header .nav-cta {
        margin-left: 0.5rem;
        padding: 0.5rem 0.9rem;
        font-size: 0.88rem;
    }
}

.contact-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0 0 1.25rem;
}

.contact-shortcuts--compact {
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.contact-shortcuts--footer {
    justify-content: center;
    margin: 1.5rem 0 0;
}

.contact-shortcuts--form {
    margin-bottom: 1.5rem;
}

.contact-shortcuts__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--heading-color, #060606);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-shortcuts__item:hover {
    border-color: rgba(245, 71, 72, 0.35);
    color: var(--primary-color, #f54748);
    transform: translateY(-1px);
}

.contact-shortcuts__item--primary {
    border-color: rgba(245, 71, 72, 0.25);
    background: rgba(245, 71, 72, 0.08);
    color: var(--primary-color, #f54748);
}

.contact-shortcuts__item--whatsapp {
    border-color: rgba(37, 211, 102, 0.35);
    color: #128c43;
}

.contact-shortcuts__item--whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.55);
    color: #0f7035;
}

.contact-shortcuts__item:focus-visible,
.conversion-bar__btn:focus-visible,
.nav-cta:focus-visible {
    outline: 2px solid var(--primary-color, #f54748);
    outline-offset: 2px;
}

.conversion-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0.55rem 0.65rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
}

.conversion-bar.is-visible {
    display: grid;
}

.conversion-bar__btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 52px;
    padding: 0.35rem 0.4rem;
    border-radius: 12px;
    color: var(--heading-color, #060606);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.conversion-bar__btn i {
    font-size: 1.05rem;
}

.conversion-bar__btn--primary {
    color: var(--primary-color, #f54748);
}

.conversion-bar__btn--whatsapp {
    color: #128c43;
}

.footer-cta-block {
    margin-top: 1.5rem;
}

.footer-cta-block__note {
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.formulario-lead {
    margin-bottom: 1rem;
    color: var(--font-color, #555);
    font-size: 1rem;
    line-height: 1.65;
}

.formulario-lead strong {
    color: var(--heading-color, #060606);
}

.nav-cta {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 1rem;
    margin-left: 0.75rem;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .navbar-collapse .nav-cta {
        display: none !important;
    }
}

.seo-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.hero-home__actions-row .hero-home__cta {
    font-weight: 700;
}

.hero-home__cta-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border: 2px solid rgba(37, 211, 102, 0.45);
    border-radius: var(--border-radius-full, 30px);
    background: rgba(37, 211, 102, 0.08);
    color: #128c43;
    font-weight: 700;
    text-decoration: none;
}

.hero-home__cta-whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    color: #0f7035;
}

.hero-home__content--cro .hero-home__highlights {
    margin-bottom: 1rem;
}

body.has-conversion-bar #formulario {
    scroll-margin-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

body.home-landing.has-conversion-bar .formulario--commercial {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

[data-theme="dark"] .contact-shortcuts__item {
    background: rgba(25, 33, 30, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .conversion-bar {
    background: rgba(25, 33, 30, 0.96);
    border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-w3ls .contact-shortcuts__item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.footer-w3ls .contact-shortcuts__item:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.footer-w3ls .contact-shortcuts__item--primary {
    background: rgba(245, 71, 72, 0.22);
    border-color: rgba(245, 71, 72, 0.45);
    color: #fff;
}

.footer-w3ls .contact-shortcuts__item--whatsapp {
    border-color: rgba(37, 211, 102, 0.45);
    color: #b8f5d0;
}

@media (min-width: 992px) {
    .nav-cta {
        display: inline-flex;
    }

    .conversion-bar {
        display: none !important;
    }

    body.has-conversion-bar {
        padding-bottom: 0;
    }
}

@media (max-width: 991px) {
    .conversion-bar.is-visible {
        display: grid;
    }

    body.has-conversion-bar {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 575px) {
    .contact-shortcuts__item span {
        font-size: 0.82rem;
    }

    .hero-home__actions-row {
        flex-direction: column;
    }

    .hero-home__cta,
    .hero-home__cta-outline,
    .hero-home__cta-whatsapp {
        width: 100%;
    }
}
