#app-header.home-header {
    padding: 1rem 1rem 0;
}

#app-header.home-header .home-header__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(117, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(58, 4, 4, 0.22);
}

#app-header.home-header .home-brand {
    display: inline-flex;
    align-items: center;
}

#app-header.home-header .home-brand .app-logo {
    max-width: 122px;
}

#app-header.home-header .home-header__toggle {
    display: none;
    position: static;
    left: auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

#app-header.home-header .home-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

#app-header.home-header .home-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #ffffff;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

#app-header.home-header .home-nav__link:hover {
    color: #ffffff;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
}

.home-shell__container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.home-shell__container--stacked {
    display: grid;
    gap: 1.5rem;
}

.home-features-split {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
    align-items: start;
    gap: 1.5rem;
}

.home-module {
    padding: 0 0 0.5rem;
}

.home-module--office-gallery,
.home-module--faq {
    min-width: 0;
}

.home-module__intro {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
    color: #ffffff;
}

.home-module__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-module__title {
    margin: 0;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.8rem);
    line-height: 1.05;
}

.home-module__copy {
    max-width: 62ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.home-location-grid,
.home-policy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-location-card,
.home-policy-card,
.home-faq-item,
.home-cta-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(32, 13, 13, 0.16);
}

.home-location-card,
.home-policy-card {
    padding: 1.35rem;
}

.home-location-card__badge,
.home-policy-card__eyebrow,
.home-footer__kicker,
.home-footer__title {
    display: inline-flex;
    align-items: center;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c30204;
}

.home-location-card h3,
.home-policy-card h3,
.home-cta-panel h3,
.home-footer__brand-block h2 {
    margin: 0.65rem 0 0.6rem;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    line-height: 1.12;
    color: #1f2230;
}

.home-location-card p,
.home-policy-card p,
.home-cta-panel p,
.home-footer__brand-block p {
    margin: 0;
    color: #586375;
}

.home-location-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.home-location-card__meta span,
.home-proof-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(195, 2, 4, 0.08);
    color: #a31a1e;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
}

.home-proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.home-proof-chip {
    background: rgba(255, 250, 250, 0.96);
    border: 1px solid rgba(122, 2, 9, 0.18);
    box-shadow: 0 12px 28px rgba(32, 13, 13, 0.12);
    color: #7f161b;
}

.home-location-maps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.home-location-map {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(32, 13, 13, 0.16);
}

.home-location-map__body {
    display: grid;
    align-content: start;
    gap: 0.7rem;
}

.home-location-map__eyebrow,
.home-location-map__caption {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-family: "Montserrat", "Segoe UI", sans-serif;
}

.home-location-map__eyebrow {
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(195, 2, 4, 0.08);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c30204;
}

.home-location-map__body h3 {
    margin: 0;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    line-height: 1.12;
    color: #1f2230;
}

.home-location-map__body p {
    margin: 0;
    color: #586375;
}

.home-location-map__caption {
    font-size: 0.86rem;
    font-weight: 600;
    color: #8d1b20;
}

.home-location-map__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2a2a, #d40000);
    color: #ffffff;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.home-location-map__link:hover {
    color: #ffffff;
}

.home-location-map__frame-shell {
    overflow: hidden;
    min-height: 320px;
    border-radius: 22px;
    background: #f3f4f6;
}

.home-location-map__frame {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.home-office-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    touch-action: manipulation;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 30px;
    box-shadow: 0 22px 55px rgba(32, 13, 13, 0.16);
}

.home-office-gallery__stage {
    display: grid;
    width: 100%;
    min-width: 0;
}

.home-office-gallery__media-shell {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    max-height: min(52vh, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 2vw, 1.25rem);
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #f3f4f6);
}

.home-office-gallery__main-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.home-office-gallery__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(195, 2, 4, 0.16);
    border-radius: 999px;
    background: rgba(195, 2, 4, 0.08);
    color: #a31a1e;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
}

.home-office-gallery__thumb-grid {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.25rem 1.25rem;
    min-width: 0;
    box-sizing: border-box;
}

.home-office-gallery__thumb-strip {
    display: flex;
    min-width: 0;
    max-width: 100%;
    gap: 0.6rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    touch-action: pan-x;
}

.home-office-gallery__thumb-strip::-webkit-scrollbar {
    display: none;
}

.home-office-gallery__thumb {
    flex: 0 0 auto;
    width: 88px;
    padding: 0.3rem;
    border: 1px solid rgba(195, 2, 4, 0.08);
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    touch-action: manipulation;
}

.home-office-gallery__thumb.is-active {
    border-color: rgba(195, 2, 4, 0.36);
    box-shadow: 0 10px 25px rgba(163, 26, 30, 0.12);
    transform: translateY(-1px);
}

.home-office-gallery__thumb-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    background: #f3f4f6;
}

.home-faq-grid {
    display: grid;
    gap: 0.85rem;
}

.home-module--faq .home-module__intro {
    margin-bottom: 1rem;
}

.home-faq-item {
    padding: 1.1rem 1.25rem;
}

.home-faq-item summary {
    list-style: none;
    cursor: pointer;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2230;
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item p {
    margin-top: 0.8rem;
    color: #586375;
}

.home-cta-panel {
    margin-top: 1rem;
    padding: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-cta-panel__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2a2a, #d40000);
    color: #ffffff;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.home-cta-panel__link:hover {
    color: #ffffff;
}

#app-footer.home-footer {
    margin-top: 0;
    padding: 0 1rem 2.5rem;
    text-align: left;
}

.home-footer__shell,
.home-footer__bottom {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.home-footer__shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(92, 5, 18, 0.78), rgba(46, 2, 12, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 55px rgba(34, 4, 10, 0.28);
}

.home-footer__brand-block {
    color: #fff7f4;
}

.home-footer__kicker {
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 246, 244, 0.14);
    color: #fff3ef;
}

.home-footer__brand-block h2 {
    color: #fffaf8;
}

.home-footer__brand-block p {
    color: rgba(255, 239, 233, 0.86);
}

.home-footer__links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-footer__column {
    display: grid;
    gap: 0.55rem;
    padding: 1rem 1.05rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-footer__title {
    color: #fff4ef;
}

.home-footer__link {
    color: rgba(255, 242, 237, 0.88);
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.9rem;
}

.home-footer__link:hover {
    color: #ffffff;
}

.home-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 0;
    color: rgba(255, 233, 228, 0.8);
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.86rem;
}

body.is-itinerary-view #app-header.home-header .home-nav,
body.is-itinerary-view #app-header.home-header .home-header__toggle {
    display: none !important;
}

@media (max-width: 960px) {
    #app-header.home-header .home-header__inner {
        grid-template-columns: auto auto;
        border-radius: 28px;
        padding: 0;
        border: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    #app-header.home-header .home-header__toggle {
        display: flex;
        justify-self: end;
    }

    #app-header.home-header .home-nav {
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        padding-top: 0.95rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    #app-header.home-header .home-nav.is-open {
        display: flex;
    }

    #app-header.home-header .home-nav__link {
        justify-content: flex-start;
    }

    .home-location-grid,
    .home-policy-grid,
    .home-features-split,
    .home-footer__shell,
    .home-footer__links-grid {
        grid-template-columns: 1fr;
    }

    .home-office-gallery__thumb-grid {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .home-cta-panel,
    .home-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    #app-header.home-header {
        padding: 0.75rem 0.75rem 0;
    }

    #app-header.home-header .home-header__inner {
        padding: 0.85rem;
    }

    .home-shell__container {
        width: min(100%, calc(100% - 1.5rem));
    }

    .home-location-card,
    .home-policy-card,
    .home-faq-item,
    .home-cta-panel,
    .home-footer__shell,
    .home-location-map,
    .home-office-gallery {
        border-radius: 24px;
    }

    .home-location-map {
        padding: 1rem;
    }

    .home-location-map__frame-shell,
    .home-location-map__frame {
        min-height: 260px;
    }

    .home-office-gallery__media-shell {
        max-height: min(38vh, 300px);
    }

    .home-office-gallery__thumb-grid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-office-gallery__thumb-grid {
        padding-bottom: 1rem;
    }

    .home-office-gallery__thumb {
        width: 76px;
    }

    .home-office-gallery__nav {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }

    .home-module__title {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }
}