:root {
    color-scheme: dark;
    --bg: #030711;
    --panel: rgba(11, 27, 54, 0.72);
    --panel-strong: rgba(8, 16, 32, 0.9);
    --line: rgba(106, 169, 255, 0.28);
    --text: #edf6ff;
    --muted: #a8bdd3;
    --blue: #2f8cff;
    --cyan: #5fe7ff;
    --danger: #ff6b7a;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 10%, rgba(47, 140, 255, 0.24), transparent 28rem),
        radial-gradient(circle at 82% 4%, rgba(95, 231, 255, 0.14), transparent 24rem),
        linear-gradient(135deg, #02050b, #071527 46%, #02050b);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header,
.admin-header {
    position: sticky;
    top: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
    padding: 0.65rem clamp(1rem, 3vw, 2.5rem);
    background: rgba(3, 7, 17, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    font-weight: 800;
    letter-spacing: 0;
    color: #ffffff;
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    line-height: 1;
}

.logo-brand img,
.header-logo {
    flex: 0 0 2.125rem;
    width: 2.125rem !important;
    height: 2.125rem !important;
    max-width: 2.125rem !important;
    max-height: 2.125rem !important;
    border-radius: 0.5rem;
    object-fit: cover;
    border: 1px solid var(--line);
}

.logo-brand span {
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-toggle {
    display: none;
    width: 2.65rem;
    height: 2.65rem;
    min-height: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.32rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
    display: block;
    width: 1.25rem;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 140ms ease, opacity 140ms ease;
}

.site-header.mobile-nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(0.43rem) rotate(45deg);
}

.site-header.mobile-nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.mobile-nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-0.43rem) rotate(-45deg);
}

.social-buttons {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.social-button svg {
    width: 1.45rem;
    height: 1.45rem;
    fill: currentColor;
}

.header-socials {
    margin-left: 0.25rem;
}

.footer-socials {
    justify-content: center;
    margin-bottom: 1rem;
}

.nav > a,
.nav > .menu-item > a,
.menu-trigger {
    color: var(--muted);
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
}

.nav > a:hover,
.nav > .menu-item > a:hover,
.menu-trigger:hover,
.menu-trigger[aria-expanded="true"],
.nav-pill {
    color: var(--text);
    background: rgba(47, 140, 255, 0.16);
    border: 1px solid var(--line);
}

.menu-trigger {
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.menu-item {
    position: relative;
}

.menu-item > a::after,
.menu-trigger::after {
    content: "";
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    margin-left: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-0.1rem);
}

.menu-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 1rem;
}

.mega-menu {
    position: fixed;
    top: 4.35rem;
    left: 50%;
    transform: translate(-50%, -0.5rem);
    width: min(1180px, calc(100vw - 2rem));
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.15fr 1fr;
    gap: 0;
    z-index: 3100;
    background: rgba(247, 251, 255, 0.96);
    color: #071527;
    border: 1px solid rgba(106, 169, 255, 0.25);
    border-radius: 0.75rem;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
    overflow: hidden;
    max-height: calc(100vh - 5.5rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.menu-item:hover .mega-menu,
.menu-item.open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.mega-column {
    min-width: 0;
    padding: 1.35rem;
    border-right: 1px solid rgba(7, 21, 39, 0.12);
    overflow: auto;
}

.mega-column:last-child {
    border-right: 0;
}

.mega-column h3 {
    margin: 0 0 1.05rem;
    color: #0a5c2f;
    font-size: 0.85rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
}

.mega-link,
.mega-feature {
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.78rem;
    border-radius: 0.5rem;
    color: #071527;
    background: transparent;
    border: 0;
    min-height: 4rem;
    text-align: left;
}

.mega-link:hover,
.mega-feature:hover {
    background: rgba(47, 140, 255, 0.08);
    color: #071527;
}

.mega-link > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: rgba(10, 92, 47, 0.1);
    color: #0a5c2f;
    margin-top: 0.05rem;
}

.mega-link > span:first-child svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

.mega-copy,
.mega-link strong,
.mega-feature strong,
.mega-link small,
.mega-feature small {
    display: block;
}

.mega-copy {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.mega-link strong,
.mega-feature strong {
    color: #071527;
    font-size: 1rem;
    line-height: 1.18;
    margin-bottom: 0.22rem;
}

.mega-link small,
.mega-feature small {
    color: #4a5a68;
    font-size: 0.86rem;
    line-height: 1.35;
    margin-top: 0.1rem;
    overflow-wrap: anywhere;
}

.mega-feature {
    grid-template-columns: 4rem 1fr;
    min-height: 5.25rem;
}

.mega-feature img {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: rgba(7, 21, 39, 0.08);
}

.mega-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.9rem;
    padding: 0.9rem 1rem;
    border: 1px solid #0a5c2f;
    border-radius: 0.5rem;
    color: #071527;
    font-weight: 800;
}

.mega-cta svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

main {
    width: 100%;
    margin: 0 auto;
}

.hero {
    position: relative;
    isolation: isolate;
    width: min(1480px, calc(100% - 2rem));
    min-height: 64vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    align-items: center;
    justify-items: center;
    padding: clamp(2rem, 6vw, 5rem) 0 2rem;
    text-align: center;
}

.hero.has-featured {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
    text-align: left;
}

.review-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.5rem, 8vw, 6.4rem);
    line-height: 0.95;
}

.hero-copy h1 {
    width: min(1500px, 100%);
    max-width: none;
    margin: 0 auto;
    font-size: clamp(3rem, 5.7vw, 6.6rem);
    line-height: 1.05;
    text-wrap: balance;
}

.hero-title span {
    display: block;
}

.hero-copy {
    text-align: center;
    justify-self: center;
    width: min(1560px, 100%);
}

.hero-copy h1,
.hero-copy p {
    margin-left: auto;
    margin-right: auto;
}

.hero-copy p,
.review-hero p,
.review-card p,
.featured-panel p,
.content-body {
    color: var(--muted);
    line-height: 1.7;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 720px;
}

.eyebrow,
.rating {
    color: var(--cyan);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.button,
button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    font-weight: 800;
}

.button.primary,
button.primary {
    background: linear-gradient(135deg, var(--blue), #0a4fc4);
    border-color: rgba(255, 255, 255, 0.2);
}

.button.secondary {
    background: rgba(95, 231, 255, 0.08);
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    justify-content: center;
}

.featured-panel,
.review-card,
.glass-panel,
.empty-state {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.featured-panel {
    padding: clamp(1.25rem, 4vw, 2rem);
    width: min(520px, 100%);
    text-align: left;
}

.featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid var(--line);
    margin-top: 1rem;
}

.featured-panel span {
    color: var(--cyan);
    font-weight: 800;
}

.review-grid {
    width: min(1480px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-bottom: 4rem;
}

.blog-grid {
    padding-bottom: 3rem;
}

.category-strip {
    width: min(1480px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 0 0 3rem;
}

.category-tile {
    min-height: 11rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(4, 13, 28, 0.68);
    backdrop-filter: blur(18px);
}

.category-tile img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.45rem;
    margin-bottom: 0.8rem;
    border: 1px solid var(--line);
}

.category-tile span,
.category-label {
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.category-tile strong {
    display: block;
    margin: 0.55rem 0;
    font-size: 1.15rem;
}

.category-tile p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.section-heading {
    width: min(1480px, calc(100% - 2rem));
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin: 0 auto 1rem;
}

.section-heading h2,
.category-header h1,
.contact-section h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
}

.review-card {
    overflow: hidden;
}

.review-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #071527;
}

.review-card div {
    padding: 1rem;
}

.review-card h2 {
    margin: 0.2rem 0;
    font-size: 1.25rem;
}

.review-detail {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.review-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
    gap: 1.2rem;
    align-items: center;
    min-height: 56vh;
}

.review-hero img {
    border-radius: 0.5rem;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.video-frame {
    margin: 2rem 0;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    overflow: hidden;
    background: #000;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.content-body,
.narrow,
.auth-card {
    max-width: 780px;
    margin: 0 auto;
}

.home-logo {
    width: clamp(5.5rem, 13vw, 9rem);
    height: clamp(5.5rem, 13vw, 9rem);
    max-width: 9rem;
    max-height: 9rem;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid var(--line);
    margin: 0 auto 1rem;
}

.lab-sign {
    width: min(28rem, 80vw);
    max-height: 22rem;
    object-fit: contain;
    border-radius: 0.75rem;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 0 22px rgba(95, 231, 255, 0.2));
}

.meta-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin: 0 0 1.25rem;
}

.meta-row span {
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
}

.category-header,
.contact-section {
    padding: 3rem 0;
}

.amz-converter {
    width: min(980px, calc(100% - 2.5rem));
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(0.75rem, 3vw, 1.5rem);
    padding-right: clamp(0.75rem, 3vw, 1.5rem);
}

.amz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.amz-actions button {
    min-width: 7rem;
}

.auth-logo,
.links-logo {
    width: 8rem;
    height: 8rem;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid var(--line);
    margin: 0 auto 1rem;
}

.links-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 0 4rem;
    text-align: center;
}

.links-page h1 {
    margin: 0;
    font-size: clamp(2.5rem, 9vw, 5rem);
}

.links-page p {
    color: var(--muted);
    line-height: 1.7;
}

.qr-code {
    width: 13.75rem;
    height: 13.75rem;
    object-fit: contain;
    margin: 1.5rem auto;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: #fff;
}

.links-socials {
    justify-content: center;
    margin: 1rem 0 0.5rem;
}

.link-buttons {
    display: grid;
    gap: 0.85rem;
}

.link-button {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--line);
    background: rgba(47, 140, 255, 0.14);
    text-align: left;
}

.link-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    max-width: 2.35rem;
    max-height: 2.35rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
}

.link-button-icon svg {
    display: block;
    width: 1.25rem !important;
    height: 1.25rem !important;
    max-width: 1.25rem !important;
    max-height: 1.25rem !important;
    fill: #fff;
}

.link-button-copy {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.link-button strong {
    font-size: 1.1rem;
}

.link-button span {
    color: var(--muted);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
    gap: 1rem;
    padding: 3rem 0;
}

.profile-card {
    padding: 1.25rem;
    align-self: start;
}

.profile-avatar-large {
    width: 8rem;
    height: 8rem;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--cyan);
}

.viewer-map {
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 24rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    overflow: hidden;
    background: #06101e;
}

.viewer-map .leaflet-pane {
    z-index: 1;
}

.viewer-map .leaflet-control {
    z-index: 2;
}

.viewer-map.large {
    width: min(1480px, calc(100% - 2rem));
    min-height: 38rem;
    height: min(72vh, 48rem);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.home-map-section {
    width: min(1480px, calc(100% - 2rem));
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.78fr);
    gap: 1.25rem;
    align-items: stretch;
    overflow: visible;
}

.home-map-section > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.home-map {
    min-height: 26rem;
    height: clamp(28rem, 46vw, 38rem);
    flex: 1 1 auto;
}

.compact-heading {
    width: 100%;
}

.nearby-panel {
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.94);
    color: #071527;
    align-self: stretch;
    overflow: hidden;
}

.nearby-panel h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.nearby-panel p {
    color: #4a5a68;
}

.viewer-list {
    display: grid;
    gap: 0.75rem;
}

.viewer-list article {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 0.75rem;
    align-items: center;
    min-width: 0;
}

.viewer-list img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.viewer-list strong,
.viewer-list span {
    display: block;
}

.viewer-list span {
    color: #4a5a68;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.map-fallback {
    width: min(1480px, calc(100% - 2rem));
    margin: 0 auto 1rem;
}

.map-hero {
    max-width: 820px;
    padding: 3rem 0 1.5rem;
    text-align: center;
    margin: 0 auto;
}

.map-hero h1 {
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    margin: 0;
}

.map-hero p {
    color: var(--muted);
}

.profile-map-icon {
    border-radius: 50%;
    border: 2px solid #5fe7ff;
    background: #030711;
}

.comments-section {
    max-width: 820px;
    margin: 2rem auto 0;
}

.comment-form {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.comment-list {
    display: grid;
    gap: 0.75rem;
}

.comment-card {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--panel);
}

.comment-card img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.comment-card span {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.content-body {
    padding: 2rem;
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 3rem clamp(1rem, 3vw, 2.5rem) 2rem;
    color: var(--muted);
    background: rgba(3, 7, 17, 0.76);
}

.footer-inner {
    width: min(1480px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(16rem, 1.4fr) repeat(3, minmax(10rem, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    text-align: left;
}

.footer-brand p {
    max-width: 34rem;
    line-height: 1.7;
}

.pwa-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.pwa-actions button {
    min-height: 2.35rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
}

.pwa-actions small {
    color: var(--cyan);
    line-height: 1.4;
}

.footer-column h2 {
    margin: 0 0 0.9rem;
    color: var(--text);
    font-size: 0.92rem;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    width: fit-content;
    color: var(--muted);
    line-height: 1.9;
}

.footer-column a:hover {
    color: var(--cyan);
}

.footer-bottom {
    width: min(1480px, 100%);
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(106, 169, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
}

.footer-socials {
    justify-content: flex-start;
    margin: 1rem 0 0;
}

.admin-main {
    padding: 2rem 0 4rem;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    color: var(--muted);
    font-size: 0.9rem;
}

input,
textarea,
select {
    width: 100%;
    min-height: 2.8rem;
    color: var(--text);
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

textarea {
    min-height: 14rem;
    resize: vertical;
}

.table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 0.5rem;
    background: var(--panel);
}

.table th,
.table td {
    padding: 0.85rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.table th {
    color: var(--cyan);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.alert {
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(95, 231, 255, 0.08);
}

.alert.error {
    border-color: rgba(255, 107, 122, 0.5);
    color: #ffd6dc;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 820px) {
    .site-header,
    .admin-header,
    .toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-header {
        position: static;
    }

    .site-header {
        position: sticky;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .site-header .nav {
        display: none;
        flex: 1 0 100%;
        width: 100%;
        max-height: calc(100vh - 5.5rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.35rem;
        padding-top: 0.65rem;
        border-top: 1px solid rgba(106, 169, 255, 0.18);
    }

    .site-header.mobile-nav-open .nav {
        display: flex;
    }

    .site-header .nav > a,
    .site-header .menu-trigger {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 2.75rem;
    }

    .site-header .menu-item {
        width: 100%;
    }

    .header-socials {
        width: 100%;
        margin-left: 0;
    }

    .hero,
    .hero.has-featured,
    .review-hero,
    .review-grid,
    .category-strip,
    .home-map-section,
    .footer-inner,
    .profile-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-map-section {
        margin-bottom: 3rem;
    }

    .home-map {
        height: 26rem;
        min-height: 26rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
        margin-top: 0.5rem;
        max-height: min(72vh, 38rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .menu-item.open .mega-menu {
        display: grid;
        transform: none;
    }

    .mega-column {
        border-right: 0;
        border-bottom: 1px solid rgba(7, 21, 39, 0.12);
    }

    .hero {
        min-height: auto;
    }

    .hero-copy h1,
    .review-hero h1 {
        font-size: clamp(2.35rem, 12vw, 4.2rem);
    }

    .table {
        display: block;
        overflow-x: auto;
    }
}
