.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    height: 76px;
    background: var(--nav-bg);
    color: var(--nav-text);
    border-bottom: 1px solid var(--border)
}

.site-header.is-scrolled {
    background: var(--nav-bg);
    border-color: var(--border)
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px
}

.brand img {
    width: 112px;
    height: 48px;
    object-fit: contain
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto
}

.nav>a,
.dropdown>button,
.nav-cta {
    border: 0;
    background: none;
    color: var(--nav-text);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 28px 0;
    cursor: pointer
}

.nav-cta {
    border: 0;
    background: none
}

.nav a.is-active,
.drawer-nav a.is-active {
    color: var(--accent-text)
}

.dropdown {
    position: relative
}

.dropdown>button::after {
    content: "＋";
    margin-left: 5px
}

.submenu {
    display: none;
    position: absolute;
    top: 66px;
    left: -18px;
    min-width: 250px;
    background: var(--dropdown-bg);
    color: var(--dropdown-text);
    border: 1px solid var(--border);
    padding: 10px
}

.dropdown:hover .submenu,
.dropdown.is-open .submenu {
    display: grid
}

.submenu a {
    padding: 11px 12px;
    color: var(--dropdown-text);
    font-size: .78rem
}

.submenu a:hover,
.submenu a:focus-visible {
    color: var(--accent-text);
    background: var(--dropdown-hover-bg)
}

.header-call {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bbm-orange);
    padding: 9px 14px;
    line-height: 1.2;
    text-transform: uppercase;
    font-size: .58rem
}

.header-call img {
    width: 19px
}

.header-call strong {
    display: block;
    font-size: .75rem
}

.mobile-actions,
.drawer {
    display: none
}

.mobile-actions img {
    filter: invert(54%) sepia(100%) saturate(4245%) hue-rotate(2deg) brightness(103%) contrast(105%)
}

.theme-toggle {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--surface-elevated);
    color: var(--nav-text);
    cursor: pointer
}

.theme-icon {
    width: 20px;
    height: 20px
}

.theme-toggle:not(.drawer-theme) {
    display: grid;
    place-items: center
}

.drawer-theme {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 380px);
    z-index: 100;
    background: var(--nav-bg);
    color: var(--nav-text);
    border-left: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .25s ease
}

.drawer.is-open {
    transform: none
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.drawer-nav {
    display: grid;
    margin: 38px 0 auto
}

.drawer-nav>a,
.drawer-nav summary,
.drawer-nav>button {
    padding: 13px 0;
    border-bottom: 1px solid var(--bbm-border-dark);
    font-size: 1.25rem;
    cursor: pointer
}

.drawer-nav>button {
    text-align: left;
    color: var(--nav-text);
    background: none
}

.drawer-theme {
    width: 100%;
    margin-bottom: 12px
}

.drawer-nav details a {
    display: block;
    padding: 10px 12px;
    color: var(--dropdown-text)
}

.icon-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--bbm-border-dark);
    background: transparent;
    color: var(--nav-text);
    cursor: pointer
}

.icon-button span,
.icon-button span::before,
.icon-button span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--nav-text);
    content: ""
}

.icon-button span::before {
    transform: translateY(-6px)
}

.icon-button span::after {
    transform: translateY(4px)
}

.close-button {
    font-size: 1.6rem
}

.site-footer {
    padding: 72px 0 25px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: var(--text)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr .9fr 1.4fr;
    gap: 45px
}

.footer-brand img {
    width: 130px;
    margin-bottom: 18px
}

.site-footer h3 {
    color: var(--bbm-orange);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 16px
}

.site-footer p,
.site-footer a,
.footer-link {
    display: block;
    color: var(--muted);
    font-size: .8rem;
    margin-bottom: 10px
}

.footer-link {
    border: 0;
    padding: 0;
    background: none;
    text-align: left;
    cursor: pointer
}

.footer-social {
    margin-top: 24px
}

.footer-social h3 {
    margin-bottom: 12px
}

.footer-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.site-footer .social-link {
    --social-accent: var(--bbm-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface-elevated);
    color: var(--text);
    transition: transform var(--transition), color var(--transition), border-color var(--transition), background-color var(--transition)
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.social-link svg rect,
.social-link svg circle:not(.social-icon-fill),
.social-link--whatsapp svg>path:first-child {
    fill: none
}

.social-link:hover,
.social-link:focus-visible {
    color: var(--social-accent);
    border-color: var(--social-accent);
    background: var(--surface-alt);
    transform: translateY(-2px)
}

.social-link:focus-visible {
    outline: 2px solid var(--bbm-orange);
    outline-offset: 3px
}

.social-link--facebook,
.social-link--linkedin {
    --social-accent: #1677d2
}

.social-link--instagram {
    --social-accent: #c13584
}

.social-link--youtube {
    --social-accent: #e62117
}

.social-link--whatsapp {
    --social-accent: #168c49
}

@media(prefers-reduced-motion:reduce) {
    .site-footer .social-link {
        transition: none
    }

    .social-link:hover,
    .social-link:focus-visible {
        transform: none
    }
}

.footer-bottom {
    border-top: 1px solid var(--bbm-border-dark);
    margin-top: 38px;
    padding-top: 20px;
    color: var(--muted);
    font-size: .72rem
}

.contact-form {
    display: grid;
    gap: 12px
}

.contact-form label {
    display: grid;
    gap: 5px;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border);
    color: var(--input-text);
    padding: 11px;
    resize: vertical
}

:root[data-theme="light"] .site-header .brand img,
:root[data-theme="light"] .drawer .brand img,
:root[data-theme="light"] .footer-brand img {
    content: url("../images/brand/bbm-black.svg")
}

@media(prefers-color-scheme:light) {

    :root:not([data-theme="dark"]) .site-header .brand img,
    :root:not([data-theme="dark"]) .drawer .brand img,
    :root:not([data-theme="dark"]) .footer-brand img {
        content: url("../images/brand/bbm-black.svg")
    }
}

.contact-form small {
    min-height: 1em;
    color: #ffac86;
    text-transform: none;
    letter-spacing: 0
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.form-status {
    color: #a9e89a
}

.captcha-container {
    max-width: 100%;
    overflow: hidden
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: #000e;
    display: none;
    place-items: center;
    padding: 24px
}

.modal.is-open {
    display: grid
}

.modal-content {
    width: min(760px, 100%);
    aspect-ratio: 16/9;
    background: var(--surface-elevated);
    color: var(--text);
    display: grid;
    place-content: center;
    text-align: center;
    padding: 30px;
    position: relative
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 12px
}

.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: none;
    place-items: center;
    overflow-y: auto;
    padding: 24px;
    background: #000d
}

.lead-modal.is-open {
    display: grid
}

.lead-modal__panel {
    position: relative;
    width: min(580px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 42px;
    border: 1px solid var(--border);
    background: var(--surface-elevated);
    color: var(--text);
    box-shadow: 0 24px 80px #0008
}

.lead-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--text);
    border-color: var(--border)
}

.lead-form,
.otp-form {
    display: grid;
    gap: 14px;
    margin-top: 28px
}

.lead-form label,
.otp-form label {
    display: grid;
    gap: 6px;
    color: var(--text);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.lead-form input,
.lead-form textarea,
.otp-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--input-text)
}

.lead-form small,
.otp-form small {
    min-height: 1em;
    color: #ff7f73;
    letter-spacing: 0;
    text-transform: none
}

.text-button {
    border: 0;
    background: none;
    color: var(--bbm-orange);
    cursor: pointer
}

.page-hero {
    padding: 160px 0 80px;
    background: radial-gradient(circle at 78% 28%, #ff780025, transparent 33%)
}

.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.065em;
    max-width: 980px
}

.page-hero p {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: 24px
}


.footer-offices {
    min-width: 0;
}

.footer-office {
    padding: 0 0 1rem;
    margin: 0 0 1rem;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.12));
}

.footer-office:last-of-type {
    margin-bottom: 1.15rem;
}

.footer-office strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
}

.footer-office address {
    margin: 0;
    font-style: normal;
    font-size: 0.8rem;
    line-height: 1.7;
    opacity: 0.72;
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact-links a {
    width: fit-content;
}


/* Business registration information */

.footer-business-info {
    margin-top: clamp(2rem, 4vw, 3.5rem);
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
}

/* =========================================================
   Business Information Header
   ========================================================= */

.footer-business-info__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.35rem;
}

.footer-business-info__heading {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.footer-business-info__heading>strong {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.4;
}


/* =========================================================
   DPIIT Certificate Download
   ========================================================= */

.dpiit-download {
    display: inline-flex !important;
    align-items: center;
    gap: 0.75rem;

    flex: 0 0 auto;

    min-height: 52px;
    padding: 0.65rem 0.8rem;

    color: inherit;
    text-decoration: none;

    border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.04);

    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.dpiit-download:hover {
    border-color: var(--primary, #f5a800);
    background: rgba(245, 168, 0, 0.07);
    transform: translateY(-2px);
}

.dpiit-download:active {
    transform: translateY(0);
}

.dpiit-download:focus-visible {
    outline: 2px solid var(--primary, #f5a800);
    outline-offset: 3px;
}


/* Icon */

.dpiit-download__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 80px;
    height: 38px;

    flex: 0 0 80px;

    border-radius: 9px;

    color: var(--primary, #f5a800);
    background: rgba(245, 168, 0, 0.1);
}


/* Text */

.dpiit-download__content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
}

.dpiit-download__label {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

.dpiit-download__meta {
    font-size: 0.68rem;
    line-height: 1.3;
    opacity: 0.55;
}


/* Arrow */

.dpiit-download__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    margin-left: 0.25rem;

    font-size: 1rem;
    color: var(--primary, #f5a800);

    transition: transform 180ms ease;
}

.dpiit-download:hover .dpiit-download__arrow {
    transform: translateY(2px);
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {
    .footer-business-info__header {
        align-items: flex-start;
        gap: 1.25rem;
    }

    .dpiit-download {
        max-width: 300px;
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .footer-business-info__header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .dpiit-download {
        width: 100%;
        max-width: none;
        min-height: 56px;
    }

    .dpiit-download__arrow {
        margin-left: auto;
    }
}


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dpiit-download,
    .dpiit-download__arrow {
        transition: none;
    }

    .dpiit-download:hover,
    .dpiit-download:hover .dpiit-download__arrow {
        transform: none;
    }
}

.footer-business-info__eyebrow {
    color: var(--primary, #f5a800);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-business-info__header strong {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.4;
}

.footer-business-info__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.footer-business-item {
    min-width: 0;
    padding: 1rem 1.1rem 0;
}

.footer-business-item:first-child {
    padding-left: 0;
}

.footer-business-item+.footer-business-item {
    border-left: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}

.footer-business-item span {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0.6;
}

.footer-business-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}


/* Tablet */

@media (max-width: 1100px) {
    .footer-business-info__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 1rem;
    }

    .footer-business-item:nth-child(4) {
        padding-left: 0;
    }

    .footer-business-item:nth-child(4) {
        border-left: 0;
    }
}


/* Mobile */

@media (max-width: 767px) {
    .footer-office {
        padding-bottom: 0.9rem;
        margin-bottom: 0.9rem;
    }

    .footer-office strong {
        font-size: 0.9rem;
    }

    .footer-office address {
        font-size: 0.82rem;
        line-height: 1.65;
    }

    .footer-business-info {
        margin-top: 1.75rem;
        padding: 1.15rem;
        border-radius: 14px;
    }

    .footer-business-info__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-business-item,
    .footer-business-item:first-child,
    .footer-business-item:nth-child(4) {
        padding: 0.85rem 0;
        border-left: 0;
        border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    }

    .footer-business-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .footer-business-item span {
        margin-bottom: 0.3rem;
    }

    .footer-business-item strong {
        font-size: 0.85rem;
    }
}


/* Very small phones */

@media (max-width: 390px) {
    .footer-business-info {
        padding: 1rem;
    }

    .footer-office address {
        font-size: 0.78rem;
    }

    .footer-business-item strong {
        font-size: 0.8rem;
    }
}