:root {
    --navy: #073b6d;
    --navy-dark: #041f3a;
    --blue: #087fc7;
    --blue-bright: #18a8e0;
    --cyan: #64d7e8;
    --sky: #eaf7fc;
    --ink: #102a43;
    --muted: #62778a;
    --line: #dbe8ef;
    --white: #ffffff;
    --green: #16a872;
    --orange: #f9a03f;
    --shadow: 0 22px 60px rgba(7, 59, 109, .12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 98px;
}

body {
    background: #f7fbfd;
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(7, 59, 109, .08);
    display: flex;
    height: 88px;
    justify-content: space-between;
    left: 0;
    padding: 0 clamp(24px, 5vw, 76px);
    position: sticky;
    right: 0;
    top: 0;
    z-index: 100;
}

.site-brand img {
    height: auto;
    width: 146px;
}

.desktop-nav {
    align-items: center;
    display: flex;
    gap: 6px;
}

.desktop-nav a {
    border-radius: 999px;
    color: #324b60;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 17px;
    transition: .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: var(--sky);
    color: var(--blue);
}

.desktop-nav .nav-admin {
    background: var(--navy);
    color: white;
    margin-left: 8px;
    padding-inline: 20px;
}

.desktop-nav .nav-admin:hover {
    background: var(--blue);
    color: white;
}

.nav-toggle {
    align-items: center;
    background: var(--sky);
    border: 0;
    border-radius: 13px;
    color: var(--navy);
    display: none;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.hero {
    background: var(--navy-dark);
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
    min-height: calc(100vh - 88px);
    overflow: hidden;
    position: relative;
}

.hero::before {
    background: radial-gradient(circle, rgba(100, 215, 232, .15) 0 1px, transparent 1.5px);
    background-size: 24px 24px;
    content: "";
    height: 310px;
    left: -40px;
    opacity: .65;
    position: absolute;
    top: 30px;
    width: 390px;
}

.hero-copy {
    align-self: center;
    color: white;
    padding: 70px clamp(34px, 6vw, 94px);
    position: relative;
    z-index: 2;
}

.eyebrow {
    align-items: center;
    color: var(--blue);
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    gap: 8px;
    letter-spacing: 1.8px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #85e4f1;
}

.hero h1,
.section-heading h2,
.ar-intro h2,
.cta-section h2,
.detail-hero h1,
.story-card h2,
.detail-ar-card h2,
.scanner-copy h1,
.not-found h1 {
    font-family: "Poppins", sans-serif;
}

.hero h1 {
    font-size: clamp(43px, 5vw, 72px);
    letter-spacing: -2.7px;
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 660px;
}

.hero h1 span {
    color: var(--cyan);
    display: block;
}

.hero-copy > p {
    color: #c9deea;
    font-size: 17px;
    line-height: 1.8;
    max-width: 590px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    align-items: center;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--blue-bright), var(--blue));
    box-shadow: 0 14px 30px rgba(8, 127, 199, .35);
    color: white;
}

.button-ghost {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: white;
}

.button-white {
    background: white;
    box-shadow: 0 12px 28px rgba(1, 26, 47, .2);
    color: var(--navy);
}

.trust-row {
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    gap: clamp(22px, 4vw, 50px);
    margin-top: 42px;
    max-width: 560px;
    padding-top: 24px;
}

.trust-row div {
    display: flex;
    flex-direction: column;
}

.trust-row strong {
    font-size: 23px;
    line-height: 1.2;
}

.trust-row span {
    color: #8eafc2;
    font-size: 12px;
    margin-top: 4px;
}

.hero-visual {
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

.hero-visual::after {
    background: linear-gradient(90deg, var(--navy-dark), transparent 28%), linear-gradient(0deg, rgba(4, 31, 58, .72), transparent 42%);
    content: "";
    inset: 0;
    position: absolute;
}

.hero-visual > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.visual-badge {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(4, 31, 58, .55);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    color: white;
    display: flex;
    font-size: 11px;
    font-weight: 800;
    gap: 9px;
    letter-spacing: 1px;
    padding: 10px 15px;
    position: absolute;
    right: 34px;
    top: 34px;
    z-index: 2;
}

.visual-badge i {
    color: var(--cyan);
}

.hero-ar-card {
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .93);
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 22px;
    bottom: 38px;
    box-shadow: 0 26px 60px rgba(1, 20, 37, .3);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 86px 44px;
    left: clamp(20px, 5vw, 66px);
    padding: 18px;
    position: absolute;
    right: clamp(20px, 5vw, 66px);
    z-index: 3;
}

.hero-ar-card > div:first-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero-ar-card > div > span {
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.hero-ar-card strong {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-ar-card small {
    color: var(--muted);
    font-size: 11px;
}

.mini-qr {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    height: 86px;
    justify-content: center;
    padding: 6px;
    width: 86px;
}

.mini-qr canvas,
.mini-qr img {
    height: 100% !important;
    width: 100% !important;
}

.hero-ar-card > a {
    align-items: center;
    background: var(--navy);
    border-radius: 13px;
    color: white;
    display: flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.section {
    margin: 0 auto;
    max-width: 1440px;
    padding: 104px clamp(24px, 6vw, 88px);
}

.section-heading {
    align-items: end;
    display: flex;
    gap: 60px;
    justify-content: space-between;
    margin-bottom: 42px;
}

.section-heading.compact {
    justify-content: center;
    text-align: center;
}

.section-heading h2 {
    color: var(--navy-dark);
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -1.6px;
    line-height: 1.16;
}

.section-heading > p {
    color: var(--muted);
    font-size: 15px;
    max-width: 460px;
}

.destination-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.destination-card {
    background: white;
    border: 1px solid #e3edf2;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(7, 59, 109, .07);
    min-width: 0;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.destination-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-7px);
}

.destination-image {
    display: block;
    height: 210px;
    overflow: hidden;
    position: relative;
}

.destination-image::after {
    background: linear-gradient(0deg, rgba(4, 31, 58, .42), transparent 55%);
    content: "";
    inset: 0;
    position: absolute;
}

.destination-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    width: 100%;
}

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-image > span {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .88);
    border-radius: 999px;
    bottom: 13px;
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
    left: 13px;
    letter-spacing: .7px;
    padding: 7px 10px;
    position: absolute;
    text-transform: uppercase;
    z-index: 2;
}

.destination-body {
    padding: 20px;
}

.destination-title {
    align-items: start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.destination-title h3 {
    color: var(--navy-dark);
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 1.3;
}

.destination-title i {
    color: var(--orange);
    margin-top: 5px;
}

.destination-body > p {
    color: var(--muted);
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.7;
    margin: 10px 0 18px;
    min-height: 61px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.card-actions {
    align-items: center;
    border-top: 1px solid #edf2f5;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    padding-top: 15px;
}

.detail-link {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}

.detail-link i {
    margin-left: 4px;
}

.ar-chip {
    align-items: center;
    background: var(--navy);
    border-radius: 10px;
    color: white;
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    gap: 6px;
    min-height: 35px;
    padding: 0 11px;
}

.ar-chip.disabled {
    background: #e9f0f4;
    color: #8293a1;
}

.ar-showcase {
    background: linear-gradient(135deg, #052f56, #073b6d 52%, #086e9f);
    display: grid;
    gap: clamp(44px, 7vw, 100px);
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    overflow: hidden;
    padding: 100px clamp(24px, 7vw, 108px);
    position: relative;
}

.ar-showcase::before,
.ar-showcase::after {
    border: 1px solid rgba(100, 215, 232, .13);
    border-radius: 50%;
    content: "";
    height: 560px;
    position: absolute;
    right: -250px;
    top: -290px;
    width: 560px;
}

.ar-showcase::after {
    height: 420px;
    left: -260px;
    right: auto;
    top: auto;
    width: 420px;
    bottom: -260px;
}

.ar-intro {
    align-self: center;
    color: white;
    position: relative;
    z-index: 2;
}

.ar-intro h2 {
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -1.7px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.ar-intro > p {
    color: #c6dce8;
    font-size: 15px;
    line-height: 1.8;
}

.ar-benefits {
    display: grid;
    gap: 11px;
    margin: 26px 0 30px;
}

.ar-benefits span {
    align-items: center;
    color: #e8f7fb;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 10px;
}

.ar-benefits i {
    align-items: center;
    background: rgba(100, 215, 232, .15);
    border-radius: 50%;
    color: var(--cyan);
    display: flex;
    height: 23px;
    justify-content: center;
    width: 23px;
}

.model-list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    z-index: 2;
}

.model-card,
.empty-model {
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(1, 24, 44, .2);
    overflow: hidden;
}

.model-card > img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.model-card-content {
    padding: 19px;
}

.model-card-content > span {
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.model-card-content h3 {
    color: var(--navy-dark);
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    line-height: 1.3;
    margin: 4px 0 8px;
}

.model-card-content > p {
    color: var(--muted);
    display: -webkit-box;
    font-size: 11px;
    line-height: 1.65;
    min-height: 36px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.model-actions {
    display: grid;
    gap: 9px;
    grid-template-columns: 1fr 42px;
    margin-top: 16px;
}

.model-actions > a,
.model-actions > button {
    align-items: center;
    background: var(--navy);
    border: 0;
    border-radius: 11px;
    color: white;
    display: flex;
    font-size: 11px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
}

.model-actions > button {
    background: var(--sky);
    color: var(--blue);
}

.empty-model {
    align-items: center;
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 360px;
    padding: 40px;
    text-align: center;
}

.empty-model i {
    color: var(--blue);
    font-size: 40px;
}

.empty-model h3 {
    font-family: "Poppins", sans-serif;
    margin: 14px 0 5px;
}

.empty-model p {
    color: var(--muted);
}

.how-to {
    padding-bottom: 116px;
}

.steps-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, 1fr);
}

.steps-grid article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px;
    position: relative;
}

.steps-grid article > span {
    color: #d7e7ef;
    font-family: "Poppins", sans-serif;
    font-size: 42px;
    font-weight: 800;
    position: absolute;
    right: 22px;
    top: 15px;
}

.steps-grid article > i {
    align-items: center;
    background: var(--sky);
    border-radius: 15px;
    color: var(--blue);
    display: flex;
    font-size: 21px;
    height: 54px;
    justify-content: center;
    margin-bottom: 22px;
    width: 54px;
}

.steps-grid h3 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

.steps-grid p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

.device-note {
    align-items: flex-start;
    background: #edf8fc;
    border: 1px solid #cfe9f3;
    border-radius: 14px;
    color: #38627b;
    display: flex;
    font-size: 12px;
    gap: 10px;
    margin: 24px auto 0;
    max-width: 810px;
    padding: 14px 17px;
}

.device-note i {
    color: var(--blue);
    margin-top: 3px;
}

.cta-section {
    align-items: center;
    background: linear-gradient(110deg, #0785c7, #07517f);
    color: white;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin: 0 clamp(20px, 5vw, 70px) 80px;
    overflow: hidden;
    padding: 54px clamp(28px, 5vw, 68px);
    position: relative;
    border-radius: 30px;
}

.cta-section::after {
    border: 50px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    content: "";
    height: 260px;
    position: absolute;
    right: 15%;
    top: -120px;
    width: 260px;
}

.cta-section > div,
.cta-section > a {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.15;
}

.cta-section p {
    color: #d5f1fa;
    margin-top: 7px;
}

.site-footer {
    background: var(--navy-dark);
    color: white;
    padding: 70px clamp(26px, 6vw, 90px) 25px;
}

.footer-main {
    display: grid;
    gap: 60px;
    grid-template-columns: 1.2fr .6fr 1fr;
    margin: 0 auto;
    max-width: 1300px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
    width: 158px;
}

.footer-brand p,
.footer-main > div > p,
.footer-main a {
    color: #9eb8c8;
    font-size: 13px;
}

.footer-brand p {
    max-width: 330px;
}

.footer-main h3 {
    font-size: 13px;
    letter-spacing: 1.2px;
    margin-bottom: 17px;
    text-transform: uppercase;
}

.footer-main > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-main p i {
    color: var(--cyan);
    margin-right: 8px;
    width: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #7290a2;
    font-size: 11px;
    margin: 50px auto 0;
    max-width: 1300px;
    padding-top: 22px;
    text-align: center;
}

.footer-bottom span {
    margin: 0 8px;
}

.mobile-tabbar {
    display: none;
}

.qr-modal[hidden] {
    display: none;
}

.qr-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 500;
}

.qr-backdrop {
    background: rgba(2, 22, 40, .72);
    border: 0;
    inset: 0;
    position: absolute;
}

.qr-dialog {
    background: white;
    border-radius: 26px;
    box-shadow: 0 30px 90px rgba(0, 16, 31, .35);
    max-width: 410px;
    padding: 34px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.qr-dialog .eyebrow {
    margin-bottom: 7px;
}

.qr-dialog h2 {
    font-family: "Poppins", sans-serif;
    font-size: 23px;
}

.qr-dialog > p {
    color: var(--muted);
    font-size: 12px;
    margin: 15px 0 20px;
}

.qr-close {
    align-items: center;
    background: #eef4f7;
    border: 0;
    border-radius: 50%;
    color: var(--navy);
    display: flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 15px;
    width: 36px;
}

#largeQr {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    display: flex;
    height: 230px;
    justify-content: center;
    margin: 22px auto 0;
    padding: 13px;
    width: 230px;
}

#largeQr canvas,
#largeQr img {
    height: 100% !important;
    width: 100% !important;
}

/* Destination detail */
.detail-page {
    background: #f4f9fc;
}

.detail-header {
    position: relative;
}

.back-link,
.icon-link {
    align-items: center;
    background: var(--sky);
    border-radius: 12px;
    color: var(--navy);
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    min-height: 43px;
    padding: 0 15px;
}

.icon-link {
    justify-content: center;
    padding: 0;
    width: 43px;
}

.detail-main {
    margin: 0 auto;
    max-width: 1500px;
    padding: 28px clamp(18px, 5vw, 70px) 90px;
}

.detail-hero {
    border-radius: 30px;
    height: min(58vw, 610px);
    min-height: 410px;
    overflow: hidden;
    position: relative;
}

.detail-hero > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.detail-overlay {
    background: linear-gradient(0deg, rgba(3, 31, 55, .88), transparent 62%);
    inset: 0;
    position: absolute;
}

.detail-hero-copy {
    bottom: clamp(30px, 6vw, 70px);
    color: white;
    left: clamp(25px, 6vw, 80px);
    position: absolute;
    right: 25px;
}

.detail-hero h1 {
    font-size: clamp(38px, 6vw, 74px);
    letter-spacing: -2.5px;
    line-height: 1.05;
}

.detail-hero-copy > p {
    color: #d6e8f1;
    margin-top: 11px;
}

.detail-hero-copy > p i {
    color: var(--cyan);
    margin-right: 7px;
}

.detail-content {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
    margin-top: 28px;
}

.detail-photo-gallery {
    background: white;
    border: 1px solid var(--line);
    border-radius: 25px;
    margin-top: 28px;
    padding: clamp(24px, 4vw, 40px);
}

.detail-photo-gallery-heading h2 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    margin: 4px 0 18px;
}

.detail-photo-gallery-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-photo-gallery-grid img {
    aspect-ratio: 4 / 3;
    border-radius: 15px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.story-card,
.detail-ar-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 25px;
    padding: clamp(28px, 4vw, 48px);
}

.story-card h2,
.detail-ar-card h2 {
    font-size: clamp(26px, 3vw, 37px);
    letter-spacing: -1.1px;
    line-height: 1.25;
    margin-bottom: 16px;
}

.story-card > p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.info-strip {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
    padding-top: 24px;
}

.info-strip div {
    align-items: center;
    color: var(--navy);
    display: flex;
    font-size: 12px;
    font-weight: 800;
    gap: 9px;
}

.info-strip i {
    align-items: center;
    background: var(--sky);
    border-radius: 10px;
    color: var(--blue);
    display: flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.detail-ar-card {
    background: linear-gradient(145deg, #06497d, #073456);
    border: 0;
    color: white;
}

.detail-ar-card > p {
    color: #c8deea;
    font-size: 13px;
    margin-bottom: 24px;
}

.ar-cube {
    align-items: center;
    background: rgba(100, 215, 232, .15);
    border: 1px solid rgba(100, 215, 232, .32);
    border-radius: 18px;
    color: var(--cyan);
    display: flex;
    font-size: 28px;
    height: 68px;
    justify-content: center;
    margin-bottom: 28px;
    width: 68px;
}

.ar-cube.muted {
    color: #9eb8c8;
}

.not-found {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
}

.not-found > div {
    align-items: center;
    background: var(--sky);
    border-radius: 26px;
    color: var(--blue);
    display: flex;
    font-size: 48px;
    height: 110px;
    justify-content: center;
    margin-bottom: 25px;
    width: 110px;
}

.not-found h1 {
    font-size: 42px;
}

.not-found p {
    color: var(--muted);
    margin: 8px 0 25px;
}

/* Full-screen AR viewer */
.ar-viewer-page {
    background: #061d31;
    color: white;
    height: 100dvh;
    overflow: hidden;
}

.ar-stage {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.ar-topbar {
    align-items: center;
    background: linear-gradient(180deg, rgba(3, 22, 38, .82), transparent);
    display: grid;
    grid-template-columns: 45px 1fr 45px;
    left: 0;
    padding: calc(16px + env(safe-area-inset-top)) 18px 45px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 8;
}

.ar-topbar > a,
.ar-topbar > button {
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 13px;
    color: white;
    display: flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.ar-topbar > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0 14px;
    text-align: center;
}

.ar-topbar span {
    color: #7fd9ea;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.ar-topbar strong {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ar-stage model-viewer {
    background: radial-gradient(circle at 50% 44%, #174667, #061d31 70%);
    height: 100%;
    width: 100%;
    --poster-color: transparent;
}

.model-progress {
    background: rgba(255, 255, 255, .1);
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.model-progress span {
    background: var(--cyan);
    display: block;
    height: 100%;
    transition: width .15s linear;
    width: 0;
}

.model-ar-button {
    align-items: center;
    background: linear-gradient(135deg, #19b5d7, #0785c7);
    border: 0;
    border-radius: 15px;
    bottom: 245px;
    box-shadow: 0 16px 35px rgba(5, 131, 190, .35);
    color: white;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 9px;
    left: 50%;
    min-height: 52px;
    padding: 0 22px;
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
}

.model-error {
    background: #7d2630;
    border-radius: 12px;
    color: white;
    font-size: 12px;
    left: 20px;
    padding: 12px 15px;
    position: absolute;
    right: 20px;
    text-align: center;
    top: 95px;
}

.gesture-hint {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(4, 25, 43, .58);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    bottom: 208px;
    color: #bed4df;
    display: flex;
    font-size: 10px;
    gap: 8px;
    left: 50%;
    padding: 8px 13px;
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 4;
}

.ar-info-sheet {
    background: rgba(255, 255, 255, .97);
    border-radius: 26px 26px 0 0;
    bottom: 0;
    color: var(--ink);
    left: 0;
    padding: 13px 24px calc(20px + env(safe-area-inset-bottom));
    position: absolute;
    right: 0;
    z-index: 5;
}

.sheet-handle {
    background: none;
    border: 0;
    display: block;
    height: 16px;
    margin: 0 auto 7px;
    width: 62px;
}

.sheet-handle span {
    background: #d6e0e6;
    border-radius: 999px;
    display: block;
    height: 4px;
    width: 100%;
}

.sheet-heading {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.sheet-heading > div {
    min-width: 0;
}

.sheet-heading > div > span {
    color: var(--blue);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sheet-heading h1 {
    font-family: "Poppins", sans-serif;
    font-size: 19px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-badge {
    align-items: center;
    background: #e8f8f2;
    border-radius: 999px;
    color: #11865d;
    display: flex;
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 800;
    gap: 6px;
    padding: 7px 10px;
}

.live-badge i {
    background: var(--green);
    border-radius: 50%;
    height: 6px;
    width: 6px;
}

.ar-info-sheet > p {
    color: var(--muted);
    display: -webkit-box;
    font-size: 10px;
    line-height: 1.55;
    margin-top: 7px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ar-guide {
    border-top: 1px solid #e7eef2;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
}

.ar-guide span {
    align-items: center;
    color: #506a7d;
    display: flex;
    font-size: 9px;
    font-weight: 700;
    gap: 5px;
}

.ar-guide i {
    color: var(--blue);
}

.ar-not-found {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 28px;
    text-align: center;
}

.ar-not-found > div {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    color: var(--cyan);
    display: flex;
    font-size: 40px;
    height: 100px;
    justify-content: center;
    margin-bottom: 24px;
    width: 100px;
}

.ar-not-found > span {
    color: var(--cyan);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ar-not-found h1 {
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    margin-top: 6px;
}

.ar-not-found p {
    color: #9bb3c2;
    margin: 8px 0 24px;
}

/* Scanner */
.scanner-page {
    background: #041f3a;
    color: white;
    min-height: 100dvh;
}

.scanner-shell {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 560px;
    min-height: 100dvh;
    padding: calc(15px + env(safe-area-inset-top)) 20px calc(25px + env(safe-area-inset-bottom));
}

.scanner-topbar {
    align-items: center;
    display: grid;
    grid-template-columns: 45px 1fr 45px;
}

.scanner-topbar > a,
.scanner-topbar > button {
    align-items: center;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 13px;
    color: white;
    display: flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.scanner-topbar > div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.scanner-topbar span {
    color: var(--cyan);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.scanner-topbar strong {
    font-size: 14px;
}

.scanner-copy {
    margin: 32px 0 23px;
    text-align: center;
}

.scanner-copy h1 {
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.2;
}

.scanner-copy p {
    color: #a7c0ce;
    font-size: 12px;
    margin-top: 8px;
}

.scanner-frame-wrap {
    background: #021626;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 25px;
    height: min(92vw, 430px);
    min-height: 320px;
    overflow: hidden;
    position: relative;
}

#qr-reader {
    border: 0 !important;
    height: 100%;
    width: 100%;
}

#qr-reader video {
    height: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

#qr-reader__dashboard,
#qr-reader__status_span,
#qr-reader__header_message {
    display: none !important;
}

.scan-frame {
    height: 230px;
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    z-index: 4;
}

.scan-frame > span {
    border-color: var(--cyan);
    border-style: solid;
    height: 42px;
    position: absolute;
    width: 42px;
}

.scan-frame > span:nth-child(1) { border-width: 4px 0 0 4px; border-radius: 14px 0 0; left: 0; top: 0; }
.scan-frame > span:nth-child(2) { border-width: 4px 4px 0 0; border-radius: 0 14px 0 0; right: 0; top: 0; }
.scan-frame > span:nth-child(3) { border-width: 0 0 4px 4px; border-radius: 0 0 0 14px; bottom: 0; left: 0; }
.scan-frame > span:nth-child(4) { border-width: 0 4px 4px 0; border-radius: 0 0 14px 0; bottom: 0; right: 0; }

.scan-frame > i {
    animation: scanLine 2.4s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 18px var(--cyan);
    height: 2px;
    left: 8px;
    position: absolute;
    right: 8px;
    top: 12px;
}

@keyframes scanLine {
    0%, 100% { transform: translateY(0); opacity: .35; }
    50% { transform: translateY(200px); opacity: 1; }
}

.scanner-status {
    align-items: center;
    color: #c4d8e3;
    display: flex;
    font-size: 11px;
    gap: 9px;
    justify-content: center;
    margin: 16px 0;
    min-height: 24px;
    text-align: center;
}

.scanner-status i {
    color: var(--cyan);
}

.scanner-actions {
    display: grid;
    gap: 10px;
}

.scanner-actions .button {
    width: 100%;
}

.gallery-scan {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    color: #d8e7ee;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 700;
    gap: 9px;
    justify-content: center;
    min-height: 48px;
}

.gallery-scan input {
    display: none;
}

.scanner-help {
    align-items: flex-start;
    color: #7796a9;
    display: flex;
    font-size: 10px;
    gap: 7px;
    justify-content: center;
    margin-top: 17px;
    text-align: center;
}

@media (max-width: 1180px) {
    .hero {
        grid-template-columns: 1fr 1fr;
    }

    .hero-copy {
        padding-inline: 42px;
    }

    .destination-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .destination-image {
        height: 260px;
    }
}

@media (max-width: 900px) {
    .site-header {
        height: 76px;
        padding: 0 22px;
    }

    .site-brand img {
        width: 126px;
    }

    .nav-toggle {
        display: flex;
    }

    .desktop-nav {
        align-items: stretch;
        background: white;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 35px rgba(4, 31, 58, .12);
        display: none;
        flex-direction: column;
        left: 0;
        padding: 15px 20px 22px;
        position: absolute;
        right: 0;
        top: 76px;
    }

    .desktop-nav.open {
        display: flex;
    }

    .desktop-nav a {
        border-radius: 12px;
        padding: 12px 14px;
    }

    .desktop-nav .nav-admin {
        margin-left: 0;
        text-align: center;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy {
        padding: 70px 42px;
    }

    .hero-visual {
        min-height: 570px;
    }

    .hero-visual::after {
        background: linear-gradient(0deg, rgba(4, 31, 58, .75), transparent 55%);
    }

    .ar-showcase {
        grid-template-columns: 1fr;
    }

    .ar-intro {
        max-width: 680px;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 70px;
    }

    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    .site-header {
        height: 68px;
        padding: 0 17px;
    }

    .site-brand img {
        width: 112px;
    }

    .nav-toggle {
        height: 40px;
        width: 40px;
    }

    .desktop-nav {
        top: 68px;
    }

    .hero-copy {
        padding: 54px 22px 48px;
    }

    .hero h1 {
        font-size: clamp(39px, 12vw, 55px);
        letter-spacing: -2px;
    }

    .hero-copy > p {
        font-size: 14px;
        line-height: 1.75;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

    .trust-row {
        gap: 20px;
        justify-content: space-between;
        margin-top: 34px;
    }

    .trust-row strong {
        font-size: 20px;
    }

    .trust-row span {
        font-size: 10px;
    }

    .hero-visual {
        min-height: 470px;
    }

    .visual-badge {
        right: 16px;
        top: 16px;
    }

    .hero-ar-card {
        bottom: 22px;
        gap: 12px;
        grid-template-columns: minmax(0, 1fr) 70px;
        left: 16px;
        padding: 14px;
        right: 16px;
    }

    .hero-ar-card > a {
        display: none;
    }

    .mini-qr {
        height: 70px;
        width: 70px;
    }

    .hero-ar-card strong {
        font-size: 14px;
    }

    .hero-ar-card small {
        font-size: 9px;
    }

    .section {
        padding: 72px 17px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 27px;
    }

    .section-heading.compact {
        align-items: center;
    }

    .section-heading h2 {
        font-size: 32px;
        letter-spacing: -1.2px;
    }

    .section-heading > p {
        font-size: 12px;
    }

    .destination-grid {
        display: flex;
        gap: 15px;
        margin-right: -17px;
        overflow-x: auto;
        padding: 0 17px 18px 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .destination-grid::-webkit-scrollbar {
        display: none;
    }

    .destination-card {
        flex: 0 0 min(84vw, 330px);
        scroll-snap-align: start;
    }

    .destination-image {
        height: 230px;
    }

    .ar-showcase {
        gap: 42px;
        padding: 70px 17px;
    }

    .ar-intro h2 {
        font-size: 34px;
    }

    .ar-intro > p {
        font-size: 13px;
    }

    .model-list {
        grid-template-columns: 1fr;
    }

    .model-card {
        display: grid;
        grid-template-columns: 112px 1fr;
    }

    .model-card > img {
        height: 100%;
        min-height: 190px;
    }

    .model-card-content {
        padding: 16px;
    }

    .model-card-content h3 {
        font-size: 15px;
    }

    .model-card-content > p {
        -webkit-line-clamp: 3;
    }

    .model-actions {
        grid-template-columns: 1fr 39px;
    }

    .model-actions > a,
    .model-actions > button {
        min-height: 39px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid article {
        padding: 23px;
    }

    .how-to {
        padding-bottom: 78px;
    }

    .cta-section {
        align-items: stretch;
        flex-direction: column;
        margin: 0 16px 60px;
        padding: 35px 24px;
        border-radius: 24px;
    }

    .cta-section h2 {
        font-size: 31px;
    }

    .site-footer {
        padding: 55px 22px 28px;
    }

    .footer-main {
        gap: 35px;
        grid-template-columns: 1fr;
    }

    .mobile-tabbar {
        align-items: end;
        background: rgba(255, 255, 255, .96);
        border-top: 1px solid #dce8ee;
        bottom: 0;
        box-shadow: 0 -12px 32px rgba(4, 31, 58, .1);
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        left: 0;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        z-index: 150;
    }

    .mobile-tabbar a {
        align-items: center;
        color: #7890a0;
        display: flex;
        flex-direction: column;
        font-size: 9px;
        font-weight: 700;
        gap: 4px;
        justify-content: center;
        min-height: 50px;
    }

    .mobile-tabbar a i {
        font-size: 18px;
    }

    .mobile-tabbar a.active {
        color: var(--blue);
    }

    .mobile-tabbar .scan-tab {
        color: var(--navy);
        transform: translateY(-12px);
    }

    .mobile-tabbar .scan-tab i {
        align-items: center;
        background: linear-gradient(135deg, var(--blue-bright), var(--blue));
        border: 5px solid white;
        border-radius: 50%;
        box-shadow: 0 9px 22px rgba(8, 127, 199, .3);
        color: white;
        display: flex;
        font-size: 21px;
        height: 55px;
        justify-content: center;
        width: 55px;
    }

    .mobile-tabbar .scan-tab span {
        margin-top: -2px;
    }

    .detail-header .site-brand {
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
    }

    .back-link {
        font-size: 0;
        height: 40px;
        justify-content: center;
        min-height: 40px;
        padding: 0;
        width: 40px;
    }

    .back-link i {
        font-size: 14px;
    }

    .icon-link {
        height: 40px;
        min-height: 40px;
        width: 40px;
    }

    .detail-main {
        padding: 14px 13px 48px;
    }

    .detail-hero {
        border-radius: 23px;
        height: 67vh;
        min-height: 470px;
    }

    .detail-hero-copy {
        bottom: 32px;
        left: 23px;
    }

    .detail-hero h1 {
        font-size: 40px;
        letter-spacing: -1.6px;
    }

    .detail-content {
        gap: 15px;
        margin-top: 15px;
    }

    .detail-photo-gallery {
        border-radius: 21px;
        margin-top: 15px;
        padding: 21px;
    }

    .detail-photo-gallery-grid {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-card,
    .detail-ar-card {
        border-radius: 21px;
        padding: 25px 21px;
    }

    .story-card h2,
    .detail-ar-card h2 {
        font-size: 25px;
    }

    .story-card > p {
        font-size: 13px;
    }

    .info-strip {
        gap: 8px;
        grid-template-columns: repeat(3, 1fr);
    }

    .info-strip div {
        align-items: flex-start;
        flex-direction: column;
        font-size: 9px;
    }

    .info-strip i {
        height: 33px;
        width: 33px;
    }

    .not-found h1 {
        font-size: 31px;
    }

    .qr-dialog {
        padding: 29px 20px 23px;
    }
}

@media (max-height: 700px) and (max-width: 700px) {
    .model-ar-button { bottom: 212px; }
    .gesture-hint { bottom: 180px; }
    .ar-info-sheet { padding-top: 8px; }
    .ar-info-sheet > p { -webkit-line-clamp: 1; }
    .ar-guide { margin-top: 8px; padding-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
