/* LAND27 — clean base styles */

:root {
    --bg: #181818;
    --surface: #242424;
    --text: #ffffff;
    --text-muted: #d7d7d7;
    --gold: #d8b15b;
    --gold-soft: rgba(216, 177, 91, 0.35);
    --header-bg: rgba(15, 19, 27, 0.58);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
}

/* Header */

.header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 1000;
    width: min(92%, 1400px);
    min-height: 96px;
    padding: 10px 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    transform: translateX(-50%);
    background: var(--header-bg);
    border: 1px solid rgba(216, 177, 91, 0.22);
    border-radius: 22px;
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.38);

    -webkit-backdrop-filter: blur(18px) saturate(125%);
    backdrop-filter: blur(18px) saturate(125%);
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    display: block;
    width: auto;
    height: 76px;
    max-width: 220px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
    transform: scale(1.045);
    filter: drop-shadow(0 0 12px rgba(216, 177, 91, 0.42));
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 38px;
}

.nav a {
    position: relative;
    padding: 10px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color 0.28s ease, text-shadow 0.28s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 10px rgba(216, 177, 91, 0.5);
    transition: width 0.3s ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(216, 177, 91, 0.3);
}

.nav a:hover::after,
.nav a:focus-visible::after {
    width: 100%;
}

/* Hero */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)),
        url("../assets/images/hero-background.png") center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 10, 14, 0.72) 0%,
        rgba(8, 10, 14, 0.40) 35%,
        rgba(8, 10, 14, 0.05) 100%
    );
}

.content {
    position: relative;
    z-index: 5;
    width: min(650px, 84%);
    margin-left: 8%;
    padding-top: 100px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.content h1 {
    margin-bottom: 24px;
    font-size: 68px;
    line-height: 1.05;
}

.content p {
    margin-bottom: 38px;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1.7;
}

/* Buttons */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 16px 38px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-gold {
    background: var(--gold);
    color: #111111;
    box-shadow: 0 0 28px var(--gold-soft);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(216, 177, 91, 0.55);
}

.btn-dark {
    border: 2px solid var(--gold);
    background: rgba(10, 12, 16, 0.25);
    color: #ffffff;
}

.btn-dark:hover {
    transform: translateY(-3px);
    background: var(--gold);
    color: #111111;
}

/* Directions */

.directions-section {
    padding: 96px max(24px, 6vw);
    background:
        radial-gradient(circle at 15% 0%, rgba(216, 177, 91, 0.10), transparent 30%),
        #151515;
}

.section-heading {
    width: min(760px, 100%);
    margin: 0 auto 48px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
}

.section-heading p {
    margin: 0;
    color: #bdbdbd;
    font-size: 18px;
    line-height: 1.65;
}

.directions-grid {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.direction-card {
    position: relative;
    min-height: 340px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    transition:
        transform 0.32s ease,
        border-color 0.32s ease,
        box-shadow 0.32s ease;
}

.direction-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.75;
}

.direction-card:hover {
    transform: translateY(-8px);
    border-color: rgba(216, 177, 91, 0.55);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(216, 177, 91, 0.10);
}

.direction-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 177, 91, 0.32);
    border-radius: 18px;
    background: rgba(216, 177, 91, 0.09);
}

.direction-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.direction-content {
    flex: 1;
}

.direction-number {
    display: block;
    margin-bottom: 10px;
    color: rgba(216, 177, 91, 0.66);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.direction-content h3 {
    margin-bottom: 14px;
    font-size: 25px;
    line-height: 1.2;
}

.direction-content p {
    margin: 0;
    color: #bdbdbd;
    font-size: 16px;
    line-height: 1.62;
}

.direction-link {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    color: var(--gold);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}

.direction-link span {
    transition: transform 0.25s ease;
}

.direction-link:hover span {
    transform: translateX(5px);
}

/* Other content */

.grid {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    padding: 30px;
    border-radius: 16px;
    background: var(--surface);
}

.card h2 {
    margin-bottom: 14px;
    font-size: 26px;
}

.card p {
    margin: 0;
    color: #cfcfcf;
    font-size: 17px;
    line-height: 1.6;
}

/* Footer */

footer {
    padding: 40px;
    text-align: center;
    background: #111111;
    color: #aaaaaa;
}

footer p {
    margin: 0 0 10px;
    font-size: 16px;
}

footer p:last-child {
    margin-bottom: 0;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

/* Responsive */

@media (max-width: 1100px) {
    .header {
        min-height: 88px;
        padding: 9px 24px;
    }

    .logo img {
        height: 66px;
    }

    .nav {
        gap: 24px;
    }

    .nav a {
        font-size: 15px;
    }

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

@media (max-width: 820px) {
    .header {
        top: 10px;
        width: calc(100% - 20px);
        min-height: 76px;
        padding: 8px 18px;
        border-radius: 18px;
    }

    .logo img {
        height: 58px;
        max-width: 170px;
    }

    .nav {
        display: none;
    }

    .content {
        width: auto;
        margin: 0;
        padding: 120px 24px 50px;
    }

    .content h1 {
        font-size: clamp(40px, 10vw, 56px);
    }

    .content p {
        font-size: 18px;
    }

    .directions-section {
        padding: 72px 20px;
    }

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

    .direction-card {
        min-height: auto;
    }

    .grid {
        width: calc(100% - 40px);
        padding: 56px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* ===== Shared reveal animations ===== */

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.65s ease var(--reveal-delay, 0ms),
        transform 0.65s ease var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.header.is-scrolled {
    top: 10px;
    min-height: 82px;
    background: rgba(12, 15, 21, 0.84);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.46);
}

.header.is-scrolled .logo img {
    height: 64px;
}

/* ===== LAND27 Navigator ===== */

.navigator-page,
.resources-page,
.court-page {
    background: #151515;
    color: #ffffff;
}

.navigator-hero,
.resources-hero {
    min-height: 54vh;
    padding: 170px 24px 88px;
    display: grid;
    place-items: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(216, 177, 91, 0.20), transparent 36%),
        linear-gradient(135deg, #0c1017, #171717);
}

.navigator-hero__content,
.resources-hero__content {
    width: min(920px, 100%);
}

.navigator-hero h1,
.resources-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.06;
}

.navigator-hero p,
.resources-hero p {
    width: min(760px, 100%);
    margin: 0 auto 32px;
    color: #d2d2d2;
    font-size: 20px;
    line-height: 1.65;
}

.navigator-section,
.resources-section {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 82px 0 96px;
}

.navigator-fast-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 72px;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(216, 177, 91, 0.98), rgba(161, 117, 30, 0.96));
    color: #111111;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.navigator-fast-card__content {
    width: min(760px, 100%);
}

.navigator-fast-card h2 {
    margin: 9px 0 15px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
}

.navigator-fast-card p {
    margin: 0;
    color: rgba(17, 17, 17, 0.82);
    font-size: 18px;
    line-height: 1.65;
}

.navigator-fast-card__label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.navigator-fast-card .btn-gold {
    flex: 0 0 auto;
    border: 2px solid rgba(17, 17, 17, 0.72);
    background: #111111;
    color: #ffffff;
    box-shadow: none;
    cursor: pointer;
}

.navigator-grid,
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 42px;
}

.navigator-card,
.resource-card {
    position: relative;
    min-height: 330px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.navigator-card::before,
.resource-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.74;
}

.navigator-card:hover,
.resource-card:hover {
    transform: translateY(-7px);
    border-color: rgba(216, 177, 91, 0.52);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(216, 177, 91, 0.09);
}

.navigator-card__icon,
.resource-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 177, 91, 0.30);
    border-radius: 16px;
    background: rgba(216, 177, 91, 0.10);
    color: var(--gold);
    font-weight: 800;
}

.navigator-card__status {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cfcfcf;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navigator-card__status--active {
    background: rgba(58, 185, 106, 0.15);
    color: #8be2aa;
}

.navigator-card__status--loading {
    background: rgba(216, 177, 91, 0.14);
    color: #ebca7b;
}

.navigator-card--soon {
    opacity: 0.76;
}

.navigator-card h3,
.resource-card h3 {
    margin-bottom: 14px;
    font-size: 25px;
    line-height: 1.18;
}

.navigator-card p,
.resource-card p {
    margin: 0;
    color: #bdbdbd;
    font-size: 16px;
    line-height: 1.62;
}

.navigator-card__link,
.resource-card__link {
    margin-top: auto;
    padding-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
}

.navigator-progress-note,
.resources-note {
    margin-top: 54px;
    padding: 28px 30px;
    border: 1px solid rgba(216, 177, 91, 0.24);
    border-left: 4px solid var(--gold);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.navigator-progress-note p,
.resources-note p {
    margin: 8px 0 0;
    color: #c8c8c8;
    font-size: 16px;
    line-height: 1.65;
}

/* Callback modal */

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

.callback-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    padding: 24px;
    overflow-y: auto;
}

.callback-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.callback-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    margin: 4vh auto;
    padding: 36px;
    border: 1px solid rgba(216, 177, 91, 0.22);
    border-radius: 24px;
    background: #1d1d1d;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.callback-modal__dialog h2 {
    margin: 8px 0 14px;
    font-size: 34px;
}

.callback-modal__dialog > p {
    color: #c9c9c9;
    line-height: 1.6;
}

.callback-modal__close {
    position: absolute;
    top: 15px;
    right: 17px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.callback-form {
    display: grid;
    gap: 17px;
    margin-top: 24px;
}

.callback-form label {
    display: grid;
    gap: 8px;
    color: #e8e8e8;
    font-size: 14px;
    font-weight: 700;
}

.callback-form input,
.callback-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: #121212;
    color: #ffffff;
    font: inherit;
    outline: none;
}

.callback-form input:focus,
.callback-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(216, 177, 91, 0.12);
}

.callback-form textarea {
    resize: vertical;
}

.callback-form small {
    color: #9f9f9f;
    line-height: 1.45;
}

/* ===== Government resources ===== */

.resources-section + .resources-section {
    padding-top: 0;
}

.resources-steps {
    width: min(980px, 100%);
    margin: 42px auto 0;
    padding: 0;
    display: grid;
    gap: 14px;
    list-style: none;
    counter-reset: resource-step;
}

.resources-steps li {
    counter-increment: resource-step;
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.resources-steps li::before {
    content: counter(resource-step, decimal-leading-zero);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(216, 177, 91, 0.12);
    color: var(--gold);
    font-weight: 800;
}

.resources-steps strong {
    font-size: 17px;
    line-height: 1.45;
}

.resources-steps span {
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.resource-card {
    min-height: 480px;
}

.resource-card__category {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.resource-card__details {
    margin: 22px 0 0;
    display: grid;
    gap: 14px;
}

.resource-card__details div {
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-card__details dt {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.resource-card__details dd {
    margin: 0;
    color: #aeb0b4;
    font-size: 14px;
    line-height: 1.5;
}

.resources-back {
    margin: 36px 0 0;
    text-align: center;
}

.resources-back a {
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
}

/* ===== Court practice placeholder ===== */

.court-placeholder {
    min-height: calc(100vh - 120px);
    padding: 160px 24px 80px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 20%, rgba(216, 177, 91, 0.14), transparent 34%),
        #151515;
}

.court-placeholder__card {
    width: min(720px, 100%);
    padding: 54px 44px;
    text-align: center;
    border: 1px solid rgba(216, 177, 91, 0.24);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.court-placeholder__card h1 {
    margin: 9px 0 17px;
    font-size: clamp(42px, 7vw, 68px);
}

.court-placeholder__card p {
    margin: 0 auto 18px;
    color: #c2c2c2;
    font-size: 17px;
    line-height: 1.65;
}

.court-placeholder__lead {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 700;
}

.court-hourglass {
    position: relative;
    width: 78px;
    height: 96px;
    margin: 0 auto 26px;
    animation: court-hourglass-turn 2.4s ease-in-out infinite;
}

.court-hourglass::before,
.court-hourglass::after {
    content: "";
    position: absolute;
    left: 7px;
    width: 64px;
    height: 5px;
    border-radius: 999px;
    background: var(--gold);
    box-shadow: 0 0 13px rgba(216, 177, 91, 0.32);
}

.court-hourglass::before {
    top: 4px;
}

.court-hourglass::after {
    bottom: 4px;
}

.court-hourglass__top,
.court-hourglass__bottom {
    position: absolute;
    left: 17px;
    width: 44px;
    height: 38px;
    border: 3px solid rgba(216, 177, 91, 0.95);
}

.court-hourglass__top {
    top: 10px;
    border-bottom: 0;
    clip-path: polygon(0 0, 100% 0, 58% 100%, 42% 100%);
}

.court-hourglass__bottom {
    bottom: 10px;
    border-top: 0;
    clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
}

.court-hourglass__sand {
    position: absolute;
    left: 36px;
    top: 43px;
    width: 6px;
    height: 13px;
    border-radius: 999px;
    background: var(--gold);
    animation: court-sand-flow 1.2s ease-in-out infinite;
}

@keyframes court-hourglass-turn {
    0%, 72% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

@keyframes court-sand-flow {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.4);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ===== Responsive additions ===== */

@media (max-width: 1100px) {
    .navigator-grid,
    .resources-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .navigator-hero,
    .resources-hero {
        min-height: auto;
        padding: 132px 20px 70px;
    }

    .navigator-section,
    .resources-section {
        width: calc(100% - 40px);
        padding: 64px 0 76px;
    }

    .navigator-fast-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 24px;
    }

    .navigator-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resources-steps li {
        grid-template-columns: 46px 1fr;
    }

    .resources-steps span {
        grid-column: 2;
    }

    .callback-modal__dialog {
        margin: 2vh auto;
        padding: 30px 22px;
    }

    .court-placeholder {
        padding: 130px 20px 60px;
    }

    .court-placeholder__card {
        padding: 42px 24px;
    }
}
/* ===== LAND27 cadastral background pattern ===== */

.navigator-page,
.resources-page,
.court-page {
    background-color: #151515;
    background-image:
        linear-gradient(rgba(21, 21, 21, 0.82), rgba(21, 21, 21, 0.82)),
        url("../assets/images/land27-pattern.svg");
    background-repeat: repeat;
    background-size: auto, 640px 640px;
    background-position: center top;
    background-attachment: scroll;
}

.navigator-hero,
.resources-hero {
    background-image:
        radial-gradient(
            circle at 50% 0%,
            rgba(216, 177, 91, 0.20),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            rgba(12, 16, 23, 0.92),
            rgba(23, 23, 23, 0.90)
        ),
        url("../assets/images/land27-pattern.svg");
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: auto, auto, 640px 640px;
    background-position: center, center, center top;
}

.navigator-section,
.resources-section {
    position: relative;
    isolation: isolate;
}

.navigator-section::before,
.resources-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("../assets/images/land27-pattern.svg");
    background-repeat: repeat;
    background-size: 640px 640px;
    background-position: center top;
    opacity: 0.34;
}

.court-placeholder {
    background-image:
        radial-gradient(
            circle at 50% 20%,
            rgba(216, 177, 91, 0.14),
            transparent 34%
        ),
        linear-gradient(
            rgba(21, 21, 21, 0.82),
            rgba(21, 21, 21, 0.82)
        ),
        url("../assets/images/land27-pattern.svg");
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: auto, auto, 640px 640px;
    background-position: center, center, center top;
}

@media (max-width: 820px) {
    .navigator-page,
    .resources-page,
    .court-page,
    .navigator-hero,
    .resources-hero,
    .court-placeholder,
    .navigator-section::before,
    .resources-section::before {
        background-size: auto, auto, 460px 460px;
    }
}
/* ===== LAND27 cadastral pattern visibility fix ===== */

.navigator-page,
.resources-page,
.court-page {
    background-image:
        linear-gradient(rgba(21, 21, 21, 0.58), rgba(21, 21, 21, 0.58)),
        url("../assets/images/land27-pattern.svg");
    background-size: auto, 760px 590px;
}

.navigator-hero,
.resources-hero {
    background-image:
        radial-gradient(
            circle at 50% 0%,
            rgba(216, 177, 91, 0.16),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            rgba(12, 16, 23, 0.72),
            rgba(23, 23, 23, 0.70)
        ),
        url("../assets/images/land27-pattern.svg");
    background-size: auto, auto, 760px 590px;
}

.navigator-section::before,
.resources-section::before {
    opacity: 0.72;
    background-size: 760px 590px;
}

.court-placeholder {
    background-image:
        radial-gradient(
            circle at 50% 20%,
            rgba(216, 177, 91, 0.12),
            transparent 36%
        ),
        linear-gradient(
            rgba(21, 21, 21, 0.58),
            rgba(21, 21, 21, 0.58)
        ),
        url("../assets/images/land27-pattern.svg");
    background-size: auto, auto, 760px 590px;
}

@media (max-width: 820px) {
    .navigator-page,
    .resources-page,
    .court-page {
        background-size: auto, 560px 435px;
    }

    .navigator-hero,
    .resources-hero,
    .court-placeholder {
        background-size: auto, auto, 560px 435px;
    }

    .navigator-section::before,
    .resources-section::before {
        background-size: 560px 435px;
    }
}


/* ===== LAND27: фон только под карточками главной ===== */

.directions-section{
    position:relative;
    overflow:hidden;
    background:#151515;
}

.directions-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        linear-gradient(rgba(20,20,20,.72),rgba(20,20,20,.72)),
        url("../assets/images/land27-pattern.png");
    background-repeat:repeat;
    background-size:1200px 1200px;
    background-position:center top;
    opacity:.95;
}

.directions-section > *{
    position:relative;
    z-index:1;
}
