/* =========================================================
   i-BnB — Responsive Stylesheet
   ========================================================= */
/* =========================================================
   HEADER RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
    .header-inner {
        position: relative;
        width: 100%;
        max-width: none;
        padding: 0 20px;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-shrink: 0;
    }

    .brand-logo {
        height: 54px;
        width: auto;
        object-fit: contain;
    }

    .brand-text {
        display: flex;
        flex-direction: column;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .desktop-nav {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 8px;
    }
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex !important;
    }

    .menu-toggle {
        display: none !important;
    }

    .brand-logo {
        height: 76px;
        width: auto;
        object-fit: contain;
    }
}


/* =========================================================
   SMALL DESKTOP / TABLET
   ========================================================= */

@media (max-width: 1150px) {

    .site-header__container {
        width: calc(100% - 48px);
    }

    .site-header__logo {
        width: 160px;
    }

    .site-header__brand {
        gap: 15px;
    }

    .site-header__label {
        padding-left: 15px;

        font-size: 12px;
    }

    .site-header__nav {
        gap: 24px;

        margin-left: 50px;
    }

    .site-header__link {
        font-size: 14px;
    }

    .site-header__quote {
        padding: 0 17px;
    }
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 900px) {

    .site-header {
        height: 72px;
    }

    .site-header__container {
        width: calc(100% - 32px);
    }


    /* Hide desktop navigation */

    .site-header__nav {
        display: none;
    }


    /* Hide Enterprise Dev */

    .site-header__label {
        display: none;
    }


    /* Mobile logo */

    .site-header__logo {
        width: 145px;
    }


    /* Actions */

    .site-header__actions {
        margin-left: auto;

        gap: 10px;
    }


    /* Quote */

    .site-header__quote {
        min-height: 42px;

        padding: 0 16px;

        font-size: 12px;
    }


    /* Mobile menu */

    .site-header__menu {
        display: flex;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .site-header {
        height: 66px;
    }

    .site-header__container {
        width: calc(100% - 24px);
    }


    /* Logo */

    .site-header__logo {
        width: 130px;
    }


    /* Quote */

    .site-header__quote {
        min-height: 40px;

        padding: 0 12px;

        font-size: 11px;
    }


    /* Menu */

    .site-header__menu {
        width: 40px;

        height: 40px;

        padding: 7px;
    }

    .site-header__menu span {
        width: 19px;
    }
}
/* =========================================================
   HERO RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .hero {
        min-height: 620px;
    }

    .hero__container {
        width: min(100% - 40px, 720px);
    }

    .hero__content {
        padding: 70px 0;
    }

    .hero__title {
        font-size: clamp(40px, 7vw, 58px);
    }

    .hero__description {
        font-size: 16px;
    }

}


@media (max-width: 600px) {

    .hero {
        min-height: 600px;
    }

    .hero__container {
        width: calc(100% - 32px);
    }

    .hero__content {
        padding: 60px 0;
    }

    .hero__badges {
        gap: 8px;
        margin-bottom: 22px;
    }

    .hero__badge {
        min-height: 29px;
        padding: 0 10px;
        font-size: 9px;
    }

    .hero__title {
        font-size: clamp(36px, 11vw, 48px);
        line-height: 1.1;
    }

    .hero__description {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 30px;
    }

    .hero__button {
        width: 100%;
    }

}

/* =========================================================
   METRICS RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .metrics__container {
        width: calc(100% - 32px);

        grid-template-columns: 1fr;

        padding: 10px 0;
    }


    .metrics__item {
        min-height: 100px;

        border-right: none;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }


    .metrics__item:last-child {
        border-bottom: none;
    }


    .metrics__value {
        font-size: 30px;
    }

}

/* =========================================================
   FEATURE RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .feature {
        padding: 72px 0;
    }


    .feature__container {
        width: min(100% - 40px, 720px);
    }


    .feature__visual {
        min-height: 420px;
    }


    .feature__image {
        height: 420px;
    }

}


@media (max-width: 600px) {

    .feature {
        padding: 56px 0;
    }


    .feature__container {
        width: calc(100% - 32px);
    }


    .feature__visual {
        min-height: 360px;

        border-radius: 8px;
    }


    .feature__image {
        height: 360px;
    }


    .feature__overlay {
        left: 16px;
        right: 16px;
        bottom: 16px;

        max-width: none;

        padding: 16px 18px;
    }


    .feature__title {
        font-size: 17px;
    }

}

/* Shared header font — scoped to avoid overriding component-level font families */
body:not(.ibnb-redesign),
body:not(.ibnb-redesign) *:not(.material-symbols-outlined) {
    font-family: var(--font-body);
}

@media (min-width: 768px) {
    .site-header {
        background: rgba(250, 245, 242, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .header-inner {
        max-width: 1220px;
        height: 90px;
        padding: 0 32px;
    }

    .brand { gap: 16px; }
    .brand-logo { height: 76px; width: auto; object-fit: contain; }
    .brand-word { font-size: 28px; font-weight: 800; }
    .brand-sub { font-size: 12px; letter-spacing: 0.08em; }
    .header-actions { gap: 14px; }
}

@media (min-width: 992px) {
    .desktop-nav { gap: 30px; margin-right: 10px; }
    .desktop-nav a {
        height: 90px;
        font-family: var(--font-body);
        font-size: 14.5px;
        font-weight: 600;
        color: var(--ink-soft);
    }
    .desktop-nav a:hover,
    .desktop-nav a.active { color: var(--ink); }
}

@media (min-width: 1024px) {
    .header-inner { height: 98px; padding: 0 40px; }
    .desktop-nav a { height: 98px; }
}