:root {
    color-scheme: light;
    --qr-navy: #08263d;
    --qr-navy-soft: #123b56;
    --qr-blue: #145b8a;
    --qr-yellow: #f2bf1d;
    --qr-page: #f4f7f9;
    --qr-card: #ffffff;
    --qr-ink: #102538;
    --qr-muted: #5b6b79;
    --qr-line: #dce4ea;
    --qr-shadow: 0 14px 34px rgba(8, 38, 61, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.qr-portal-shell {
    min-height: 100vh;
    margin: 0;
    background: var(--qr-page);
    color: var(--qr-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.qr-wrap { width: min(calc(100% - 32px), 1120px); margin-inline: auto; }
.qr-hero { position: relative; min-height: 340px; overflow: hidden; background: var(--qr-navy); color: white; }
.qr-hero picture, .qr-hero-image, .qr-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.qr-hero-image { object-fit: cover; object-position: 72% 50%; }
.qr-hero-overlay {
    background:
        linear-gradient(180deg, rgba(4, 20, 34, .56) 0%, rgba(4, 24, 40, .18) 34%, rgba(4, 24, 40, .88) 100%),
        linear-gradient(90deg, rgba(4, 24, 40, .38) 0%, transparent 68%);
}
.qr-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.qr-logo-link { display: inline-flex; border-radius: 9px; box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.qr-logo { display: block; width: auto; height: 38px; border-radius: 8px; }
.qr-header-phone {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.42); border-radius: 12px; color: white; background: rgba(8, 38, 61, .62);
    backdrop-filter: blur(10px); text-decoration: none; font-size: 13px; font-weight: 750;
}
.qr-header-phone svg { width: 19px; height: 19px; color: var(--qr-yellow); }
.qr-hero-copy { position: relative; z-index: 1; display: flex; min-height: 260px; flex-direction: column; justify-content: flex-end; padding-block: 70px 18px; }
.qr-location-kicker { display: flex; align-items: center; gap: 7px; margin: 0 0 11px; color: rgba(255,255,255,.82); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.qr-location-kicker svg { width: 17px; height: 17px; color: var(--qr-yellow); }
.qr-title { max-width: 680px; margin: 0; font-size: clamp(30px, 8vw, 54px); line-height: 1.02; letter-spacing: -.035em; font-weight: 850; text-wrap: balance; }
.qr-subtitle { margin: 12px 0 0; color: rgba(255,255,255,.83); font-size: clamp(15px, 4vw, 19px); line-height: 1.5; }

.qr-main { padding: 24px 0 118px; }
.qr-section-heading { margin-bottom: 14px; }
.qr-eyebrow { margin: 0 0 4px; color: var(--qr-blue); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.qr-section-title { margin: 0; color: var(--qr-ink); font-size: 22px; line-height: 1.25; letter-spacing: -.02em; font-weight: 800; }
.qr-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qr-action {
    position: relative; display: flex; min-width: 0; min-height: 162px; flex-direction: column; justify-content: space-between;
    padding: 17px; border: 1px solid var(--qr-line); border-radius: 18px; background: var(--qr-card); color: var(--qr-ink);
    box-shadow: var(--qr-shadow); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.qr-action:focus-visible, .qr-contact-link:focus-visible, .qr-header-phone:focus-visible, .qr-footer-link:focus-visible {
    outline: 3px solid rgba(242, 191, 29, .9); outline-offset: 3px;
}
.qr-action-primary {
    grid-column: 1 / -1; min-height: 142px; flex-direction: row; align-items: center; gap: 18px;
    padding: 21px; border-color: var(--qr-navy); background: var(--qr-navy); color: white; box-shadow: 0 18px 42px rgba(8, 38, 61, .2);
}
.qr-action-icon {
    display: inline-flex; width: 45px; height: 45px; flex: 0 0 auto; align-items: center; justify-content: center;
    border-radius: 14px; background: #eef4f7; color: var(--qr-navy-soft);
}
.qr-action-icon svg { width: 25px; height: 25px; }
.qr-action-primary .qr-action-icon { width: 54px; height: 54px; background: var(--qr-yellow); color: var(--qr-navy); }
.qr-action-copy { min-width: 0; }
.qr-action-primary .qr-action-copy { flex: 1 1 auto; }
.qr-action-title { display: block; margin-top: 15px; font-size: 16px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.qr-action-primary .qr-action-title { margin-top: 0; font-size: clamp(19px, 5vw, 24px); }
.qr-action-text { display: block; margin-top: 6px; color: var(--qr-muted); font-size: 12px; line-height: 1.45; }
.qr-action-primary .qr-action-text { max-width: 590px; color: rgba(255,255,255,.73); font-size: 13px; }
.qr-action-go { display: inline-flex; width: 28px; height: 28px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: #f8fafb; color: var(--qr-blue); }
.qr-action-primary .qr-action-go { width: 36px; height: 36px; background: white; color: var(--qr-navy); }
.qr-action-go svg { width: 17px; height: 17px; }

.qr-info { display: grid; gap: 12px; margin-top: 22px; }
.qr-location-card { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--qr-line); border-radius: 16px; background: rgba(255,255,255,.66); }
.qr-location-card > svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--qr-blue); }
.qr-info-label { margin: 0 0 2px; color: var(--qr-muted); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.qr-info-value { margin: 0; color: var(--qr-ink); font-size: 14px; line-height: 1.4; font-weight: 700; }
.qr-status-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 17px; border-top: 1px solid var(--qr-line); color: var(--qr-muted); font-size: 13px; }
.qr-status-card span { display: inline-flex; align-items: center; gap: 9px; }
.qr-status-card svg { width: 20px; height: 20px; color: var(--qr-blue); }
.qr-footer-link { color: var(--qr-blue); font-weight: 800; text-decoration: none; }
.qr-footer { padding: 0 0 32px; color: var(--qr-muted); font-size: 12px; text-align: center; }

.qr-contact-bar {
    position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(8, 38, 61, .12); background: rgba(255,255,255,.96); box-shadow: 0 -10px 30px rgba(8, 38, 61, .1); backdrop-filter: blur(14px);
}
.qr-contact-link {
    display: inline-flex; min-height: 48px; flex: 1 1 auto; align-items: center; justify-content: center; gap: 9px;
    border: 1px solid var(--qr-navy); border-radius: 14px; background: var(--qr-navy); color: white; text-decoration: none; font-size: 14px; font-weight: 800;
}
.qr-contact-link svg { width: 21px; height: 21px; color: var(--qr-yellow); }
.qr-contact-link-secondary { flex: 0 0 92px; border-color: var(--qr-line); background: white; color: var(--qr-navy); }
.qr-contact-link-secondary svg { color: var(--qr-blue); }

@media (hover: hover) and (pointer: fine) {
    .qr-action:hover { transform: translateY(-3px); border-color: #b9c9d4; box-shadow: 0 18px 42px rgba(8, 38, 61, .12); }
    .qr-action-primary:hover { border-color: var(--qr-yellow); box-shadow: 0 22px 48px rgba(8, 38, 61, .24); }
    .qr-header-phone:hover, .qr-contact-link:hover { filter: brightness(1.08); }
    .qr-footer-link:hover { text-decoration: underline; }
}

@media (min-width: 768px) {
    .qr-wrap { width: min(calc(100% - 64px), 1120px); }
    .qr-hero { min-height: 465px; }
    .qr-hero-image { object-position: center 54%; }
    .qr-header { padding-top: 24px; }
    .qr-logo { height: 44px; }
    .qr-header-phone { padding-inline: 16px; font-size: 14px; }
    .qr-hero-copy { min-height: 370px; padding-bottom: 34px; }
    .qr-main { padding-block: 38px 60px; }
    .qr-section-heading { margin-bottom: 18px; }
    .qr-section-title { font-size: 28px; }
    .qr-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .qr-action { min-height: 190px; padding: 21px; }
    .qr-action-primary { grid-column: 1 / -1; min-height: 132px; padding: 26px 30px; }
    .qr-action-title { font-size: 18px; }
    .qr-action-text { font-size: 13px; }
    .qr-info { grid-template-columns: 1.35fr .65fr; margin-top: 28px; }
    .qr-status-card { border: 1px solid var(--qr-line); border-radius: 16px; background: rgba(255,255,255,.5); }
    .qr-contact-bar { position: static; width: min(calc(100% - 64px), 1120px); margin: 0 auto 24px; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
    .qr-contact-link { flex: 0 0 auto; min-width: 240px; padding-inline: 24px; }
    .qr-contact-link-secondary { min-width: 150px; }
    .qr-footer { padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .qr-action { transition: none; }
}
