/* ===== Header (desktop) ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(1.1) blur(10px);
    border-bottom: 1px solid rgba(16, 24, 40, .06)
}

.nav-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 12px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    height: 40px
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.brand span {
    font-size: 22px
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 600
}

.nav a {
    position: relative;
    padding: 8px 2px;
    opacity: .9;
    transition: opacity .2s ease, color .2s ease
}

.nav a:hover, .nav a:focus {
    opacity: 1
}

/* underline hover/active only for non-button links */
.nav a:not(.btn)::after {
    /*content: "";*/
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    border-radius: 1px
}

.nav a:not(.btn):hover::after, .nav a:not(.btn):focus::after {
    transform: scaleX(1)
}

.nav a.active:not(.btn) {
    color: var(--brand);
    opacity: 1
}

.nav a.active:not(.btn)::after {
    transform: scaleX(1)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--brand);
    padding: 8px 16px !important;
    border-radius: 999px;
    box-shadow: var(--shadow)
}

.btn:hover, .btn:focus {
    background: var(--brand-hover)
}

.btn:focus-visible {
    outline: 3px solid var(--black);
    outline-offset: 2px
}

.hamburger {
    display: none;
    border: 1px solid rgba(16, 24, 40, .14);
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center
}

.hamburger:focus-visible {
    outline: 3px solid #b3d4ff;
    outline-offset: 2px
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--black);
    position: relative;
    display: block
}

.hamburger span::before, .hamburger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--black)
}

.hamburger span::before {
    top: -6px
}

.hamburger span::after {
    top: 6px
}

@media (max-width: 900px) {
    .nav {
        display: none
    }

    .hamburger {
        display: inline-flex
    }
}

/* ===== Mobile Drawer ===== */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    grid-template-rows:1fr;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.drawer.open {
    visibility: visible;
    opacity: 1
}

.drawer .scrim {
    background: rgba(0, 0, 0, .4)
}

.drawer .panel {
    position: fixed;
    inset: 0;
    background: #1d1c1c;
    color: var(--ink);
    display: flex;
    flex-direction: column; /* why: keep close button pinned at top via sticky */
}

/* scroll only the content area; close button stays at top */
.drawer .topbar {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    padding: 16px var(--pad);
    background: linear-gradient(#1d1c1c, #1d1c1ccc 70%, #1d1c1c00);
    backdrop-filter: saturate(1.2);
}

.drawer .close {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .25);
    display: grid;
    place-items: center;
    background: transparent;
    color: #fff
}

.drawer .close svg {
    width: 22px;
    height: 22px
}

.drawer .content {
    flex: 1;
    overflow: auto;
    padding: 0 var(--pad) 24px;
    -webkit-overflow-scrolling: touch
}

/* List with dotted separators */
.mnav {
    margin-top: 8px
}

.mitem {
    padding: 18px 0;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    border-bottom: 2px dotted rgba(255, 255, 255, .35)
}

.mitem:first-child {
    border-top: 2px dotted rgba(255, 255, 255, .35)
}

.mitem a {
    display: flex;
    align-items: center;
    gap: 10px
}

.mitem a:active {
    opacity: .7
}

/* Secondary links */
.slinks {
    margin: 18px 0 6px 0
}

.slinks a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    padding: 10px 0
}

.slinks svg {
    opacity: .85
}

/* CTA cards */
.cta-card {
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 4px;
    padding: 18px;
    background: #222020;
    color: #fff
}

.cta-head {
    opacity: .85;
    text-align: center;
    margin-bottom: 8px
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: center;
    flex-direction: row;
    justify-content: center;
}

.cta-phone .icon {
    width: 28px;
    height: 28px
}

.cta-number {
    font-size: clamp(24px, 7vw, 57px);
    font-weight: 800;
    letter-spacing: .02em
}

.cta-hours {
    margin-top: 6px;
    text-align: center;
    opacity: .9
}

.cta-btn {
    margin-top: 14px;
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 4px;
    padding: 14px 12px;
    color: #fff;
    background: #2a2727
}

.cta-btn:hover, .cta-btn:focus {
    background: #343131
}

.no-scroll {
    overflow: hidden;
    height: 100vh
}
