﻿@font-face {
    font-family: "Geologica";
    src: url("assets/fonts/Geologica-Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    --bg: #d8d2c6;
    --bg-soft: #a7b38c;
    --surface: rgba(250, 247, 241, 0.78);
    --surface-strong: rgba(252, 250, 246, 0.94);
    --surface-muted: rgba(234, 231, 223, 0.76);
    --surface-light: #f7f4ee;
    --text: #31483a;
    --text-soft: rgba(49, 72, 58, 0.74);
    --line: rgba(63, 90, 73, 0.16);
    --accent: #678b5f;
    --accent-strong: #46694d;
    --accent-soft: rgba(103, 139, 95, 0.18);
    --shadow: 0 26px 70px rgba(63, 90, 73, 0.14);
    --radius-xl: 36px;
    --radius-lg: 28px;
    --container: min(1280px, calc(100% - 40px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    font-family: "Geologica", "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f4f1ea 0%, #e7e2d8 48%, #d8d2c6 100%);
}

.home-page {
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

p,
ul,
h1,
h2,
h3 {
    margin: 0;
}

.site-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(103, 139, 95, 0.16), transparent 30%),
        radial-gradient(circle at left 22%, rgba(167, 179, 140, 0.2), transparent 26%),
        radial-gradient(circle at 80% 70%, rgba(70, 105, 77, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 42%);
    pointer-events: none;
    z-index: -1;
    animation: ambientDrift 18s ease-in-out infinite alternate;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 18px 0;
    backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.88), rgba(247, 244, 238, 0.7));
    border-bottom: 1px solid rgba(63, 90, 73, 0.12);
    box-shadow: 0 8px 28px rgba(63, 90, 73, 0.08);
}

.topbar__inner {
    position: relative;
    padding: 0;
    gap: 24px;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand__badge {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(247, 244, 238, 0.82);
    border: 1px solid rgba(70, 105, 77, 0.14);
    box-shadow: 0 10px 26px rgba(63, 90, 73, 0.08);
    overflow: hidden;
}

.brand__badge-image {
    width: 74%;
    height: 74%;
    object-fit: contain;
}

.brand__copy {
    display: grid;
    gap: 2px;
}

.brand__copy strong {
    font-size: 0.98rem;
    letter-spacing: 0.03em;
    text-transform: none;
}

.brand__copy span {
    color: rgba(49, 72, 58, 0.68);
    font-size: 0.8rem;
    line-height: 1.3;
    max-width: 240px;
}

.topbar__collapse {
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
    gap: 18px;
}

.site-nav {
    gap: 2px;
    color: var(--text-soft);
    font-size: 0.9rem;
    flex-wrap: nowrap;
}

.site-nav .nav-link {
    padding: 10px 10px !important;
    border-radius: 999px;
    color: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-nav .nav-link.active {
    color: var(--text);
    background: rgba(103, 139, 95, 0.1);
}

.topbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.topbar__actions .button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.92rem;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 118px;
    padding: 10px 18px;
    border: 1px solid rgba(70, 105, 77, 0.16);
    border-radius: 16px;
    background: rgba(248, 245, 239, 0.72);
    box-shadow: 0 14px 34px rgba(63, 90, 73, 0.08);
    color: var(--text);
    cursor: pointer;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.menu-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(103, 139, 95, 0.16);
}

.menu-toggle__label {
    font-size: 0.9rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.96rem;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.button--primary {
    color: #f7f4ee;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 18px 40px rgba(70, 105, 77, 0.24);
    animation: warmPulse 4.6s ease-in-out infinite;
}

.button--ghost {
    color: var(--text);
    background: rgba(250, 247, 241, 0.58);
    border-color: rgba(70, 105, 77, 0.16);
}

.button--subtle {
    color: var(--text);
    background: rgba(248, 245, 239, 0.46);
    border-color: rgba(70, 105, 77, 0.12);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(70, 105, 77, 0.86);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: rgba(70, 105, 77, 0.5);
}

.hero,
.plan-hero {
    padding: 30px 0 18px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 110px);
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/images/164039.jpg") center center / cover no-repeat;
    filter: brightness(0.98) saturate(1.08) blur(1px);
    z-index: -2;
    transform: scale(1.03);
    animation: heroBreath 22s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 26%, rgba(248, 245, 236, 0.72), transparent 32%),
        linear-gradient(90deg, rgba(243, 239, 229, 0.76) 0%, rgba(243, 239, 229, 0.42) 36%, rgba(243, 239, 229, 0.08) 66%, rgba(243, 239, 229, 0.18) 100%);
    z-index: -1;
}

.hero__grid,
.plan-hero__grid,
.masterplan,
.plan-layout {
    row-gap: 24px;
}

.hero__grid {
    align-items: center;
    min-height: clamp(680px, calc(100vh - 160px), 880px);
    row-gap: 36px;
}

.hero__content {
    position: relative;
    min-width: 0;
    max-width: 860px;
    padding: 30px 32px 30px 28px;
    border-radius: 34px;
    background: linear-gradient(90deg, rgba(247, 244, 238, 0.92) 0%, rgba(241, 238, 230, 0.82) 58%, rgba(240, 237, 229, 0.28) 100%);
    border: 1px solid rgba(70, 105, 77, 0.14);
    box-shadow: 0 22px 56px rgba(63, 90, 73, 0.12);
    backdrop-filter: blur(10px);
}

.hero__content h1,
.section__header h2,
.masterplan__copy h2,
.steps__intro h2,
.cta-panel h2,
.detail-panel h2,
.plan-hero__content h1,
.hero-panel h2 {
    font-family: "Georgia", "Times New Roman", serif;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero__content h1 {
    max-width: 12ch;
    font-size: clamp(3.2rem, 5.2vw, 4.8rem);
    color: #2f4337;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero__content h1 span {
    display: block;
    white-space: nowrap;
}

.hero__lead,
.hero__location,
.summary-card p,
.section__header p,
.showcase-card p,
.masterplan__copy p,
.data-card span,
.format-card p,
.step-card p,
.cta-panel p,
.plan-hero__content p,
.detail-panel p {
    color: var(--text-soft);
    line-height: 1.75;
    font-size: 1.02rem;
}

.hero__location {
    margin-top: 16px;
    color: rgba(70, 105, 77, 0.88);
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__lead {
    max-width: 60ch;
    margin-top: 14px;
    color: rgba(49, 72, 58, 0.9);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.36);
}

.hero__content--premium {
    max-width: 720px;
    padding: 38px 38px 34px 34px;
    border-radius: 38px;
    background: linear-gradient(110deg, rgba(250, 248, 241, 0.92) 0%, rgba(247, 243, 234, 0.84) 62%, rgba(247, 243, 234, 0.58) 100%);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 26px 66px rgba(63, 90, 73, 0.12);
    backdrop-filter: blur(10px);
}

.hero__content--premium > .eyebrow,
.hero__content--premium > h1,
.hero__content--premium > .hero__location,
.hero__content--premium > .hero__lead,
.hero__content--premium > .hero__actions {
    display: none;
}

.hero__premium-copy .eyebrow {
    margin-bottom: 16px;
}

.hero__premium-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(3.4rem, 5.8vw, 5.7rem);
    color: #27392f;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero__premium-copy h1 span {
    display: block;
    white-space: nowrap;
}

.hero__status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.hero__status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(250, 247, 241, 0.72);
    border: 1px solid rgba(70, 105, 77, 0.14);
    color: rgba(49, 72, 58, 0.78);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px rgba(63, 90, 73, 0.08);
}

.hero__premium-copy .hero__location {
    margin-top: 18px;
}

.hero__premium-copy .hero__lead {
    max-width: 52ch;
    margin-top: 18px;
    font-size: 1.05rem;
}

.hero__signature {
    display: grid;
    gap: 10px;
    max-width: 500px;
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.8);
    border: 1px solid rgba(70, 105, 77, 0.14);
    box-shadow: 0 16px 34px rgba(63, 90, 73, 0.08);
}

.hero__signature span {
    color: rgba(70, 105, 77, 0.72);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero__signature strong {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #2d4236;
}

.hero__visual--premium {
    display: block;
    width: 100%;
    max-width: none;
    margin-left: 0;
}

.hero__visual--premium .hero-panel {
    display: none;
}

.hero-stage {
    position: relative;
    width: 100%;
    min-height: 680px;
    padding: 18px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(248, 245, 238, 0.28);
    box-shadow: 0 34px 80px rgba(63, 90, 73, 0.16);
    animation: panelFloat 8s ease-in-out infinite;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.24);
    pointer-events: none;
}

.hero-stage__media {
    position: absolute;
    inset: 18px;
    border-radius: 32px;
    overflow: hidden;
}

.hero-stage__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(32, 48, 40, 0.04), rgba(32, 48, 40, 0.14) 58%, rgba(32, 48, 40, 0.3) 100%),
        radial-gradient(circle at 22% 18%, rgba(255, 242, 196, 0.2), transparent 28%);
}

.hero-stage__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-stage__headline,
.hero-stage__card {
    position: absolute;
    z-index: 2;
    background: rgba(249, 246, 239, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.44);
    box-shadow: 0 18px 48px rgba(34, 51, 41, 0.12);
    backdrop-filter: blur(14px);
}

.hero-stage__headline {
    left: 40px;
    right: auto;
    bottom: 40px;
    display: grid;
    gap: 8px;
    width: min(320px, calc(100% - 80px));
    padding: 22px 24px;
    border-radius: 28px;
}

.hero-stage__headline span,
.hero-stage__card span {
    color: rgba(70, 105, 77, 0.72);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-stage__headline strong {
    max-width: 11ch;
    font-family: "Georgia", "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(2.1rem, 2.8vw, 2.9rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #26372f;
}

.hero-stage__card {
    display: none;
}

.hero__content--premium > .hero__facts {
    gap: 12px;
    margin-top: 26px;
}

.hero__content--premium > .hero__facts .fact-chip {
    min-width: 0;
    padding: 14px 16px;
    background: rgba(255, 252, 246, 0.84);
    border-color: rgba(70, 105, 77, 0.12);
    box-shadow: 0 12px 26px rgba(63, 90, 73, 0.06);
}

.hero__actions,
.hero__facts,
.cta-panel__actions,
.cta-panel__meta,
.topbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__actions {
    margin-top: 32px;
}

.hero__facts {
    margin-top: 34px;
}

.fact-chip,
.summary-card,
.showcase-card,
.data-card,
.format-card,
.step-card,
.cta-panel,
.hero-panel,
.plan-hero__panel,
.detail-panel {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.fact-chip {
    min-width: 180px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--surface-strong);
    backdrop-filter: blur(12px);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: 0 14px 34px rgba(63, 90, 73, 0.08);
}

.fact-chip span,
.summary-card__label,
.data-card span,
.format-card__number {
    display: block;
    margin-bottom: 8px;
    color: rgba(70, 105, 77, 0.72);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fact-chip strong,
.summary-card strong,
.data-card strong,
.step-card h3,
.format-card h3 {
    display: block;
    line-height: 1.4;
}

.hero__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
}

.hero__frame img,
.showcase-card__media img,
.showcase-card--image img,
.masterplan__mini img,
.plan-map-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-panel {
    position: relative;
    width: 100%;
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.92), rgba(239, 235, 226, 0.94));
    border: 1px solid rgba(70, 105, 77, 0.14);
    backdrop-filter: blur(14px);
    animation: panelFloat 8s ease-in-out infinite;
}

.hero-panel h2 {
    font-size: clamp(1.65rem, 2vw, 2.2rem);
    margin-bottom: 14px;
}

.plan-hero__content h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    margin-bottom: 18px;
}

.check-list,
.feature-list,
.format-list {
    display: grid;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.check-list li,
.feature-list li,
.format-list li {
    display: flex;
    gap: 12px;
    color: var(--text-soft);
    line-height: 1.6;
}

.check-list li::before,
.feature-list li::before,
.format-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    flex: none;
}

.summary-strip {
    padding: 22px 0 10px;
}

.summary-strip__grid,
.showcase-grid,
.formats-grid,
.steps__grid {
    row-gap: 18px;
}

.summary-card {
    padding: 24px;
    border-radius: 24px;
    background: var(--surface);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section {
    padding: 92px 0 0;
}

.section__header {
    max-width: 760px;
    margin-bottom: 34px;
}

.section__header h2,
.masterplan__copy h2,
.steps__intro h2,
.cta-panel h2,
.detail-panel h2 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    margin-bottom: 18px;
}

.showcase-card {
    padding: 26px;
    border-radius: 30px;
    background: var(--surface);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    height: 100%;
}

.showcase-card h3 {
    margin: 0 0 12px;
    font-size: 1.7rem;
    line-height: 1.2;
}

.showcase-card--wide {
    display: grid;
    gap: 22px;
}

.showcase-card__media {
    overflow: hidden;
    border-radius: 24px;
    min-height: 360px;
}

.showcase-card--dark {
    background: linear-gradient(180deg, rgba(225, 231, 214, 0.96), rgba(208, 218, 191, 0.96));
}

.showcase-card--image {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 24px;
}

.showcase-card--image img {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0 32px;
}

.data-card {
    padding: 20px 22px;
    border-radius: 22px;
    background: var(--surface-strong);
}

.data-card strong a {
    text-decoration: underline;
    text-decoration-color: rgba(70, 105, 77, 0.35);
    text-underline-offset: 4px;
}

.masterplan__stack {
    position: relative;
    min-height: 650px;
}

.masterplan__map,
.masterplan__mini {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.masterplan__map {
    inset: 0 56px 130px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.masterplan__map img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: calc(var(--radius-xl) - 10px);
}

.masterplan__mini {
    right: 0;
    bottom: 0;
    width: min(86%, 320px);
    padding: 14px;
}

.format-card {
    padding: 28px;
    border-radius: 30px;
    background: var(--surface);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    height: 100%;
}

.format-card--accent {
    background: linear-gradient(180deg, rgba(228, 234, 218, 0.96), rgba(212, 221, 197, 0.9));
}

.format-card__number {
    margin-bottom: 18px;
}

.format-card h3 {
    margin: 0 0 14px;
    font-size: 1.8rem;
}

.format-list {
    margin-top: 24px;
}

.section--purchase-methods {
    position: relative;
}

.purchase-methods__header {
    max-width: 860px;
}

.purchase-methods__tabs {
    display: flex;
    justify-content: center;
    margin: 0 auto 28px;
}

.purchase-methods__tabs[role="tablist"] {
    gap: 10px;
    width: fit-content;
    padding: 8px;
    border-radius: 999px;
    background: rgba(228, 234, 218, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.purchase-tab {
    min-width: 184px;
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(49, 72, 58, 0.7);
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.purchase-tab:hover,
.purchase-tab:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.purchase-tab.is-active {
    background: rgba(255, 252, 246, 0.96);
    color: var(--accent-strong);
    box-shadow: 0 14px 30px rgba(63, 90, 73, 0.12);
}

.purchase-calculator {
    display: grid;
    grid-template-columns: minmax(380px, 0.94fr) minmax(0, 1.06fr);
    gap: clamp(18px, 2vw, 30px);
    align-items: start;
    padding: clamp(18px, 2.2vw, 30px);
    border-radius: 36px;
    background:
        radial-gradient(circle at top left, rgba(167, 179, 140, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(248, 245, 239, 0.94), rgba(241, 236, 227, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.64);
    box-shadow: 0 28px 70px rgba(63, 90, 73, 0.14);
}

.purchase-calculator__form {
    display: grid;
    gap: 18px;
    padding: 30px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(231, 236, 223, 0.92), rgba(248, 245, 239, 0.88)),
        rgba(247, 244, 238, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
    align-self: start;
}

.purchase-calculator__intro {
    display: grid;
    gap: 12px;
}

.purchase-calculator__intro .eyebrow {
    margin-bottom: 0;
}

.purchase-calculator__intro h3 {
    max-width: 11ch;
    font-size: clamp(1.9rem, 2.6vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.purchase-calculator__intro p:last-child,
.purchase-calculator__note {
    color: var(--text-soft);
    line-height: 1.7;
}

.purchase-calculator__intro p:last-child {
    max-width: 34ch;
}

.purchase-field {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.76);
    border: 1px solid rgba(70, 105, 77, 0.1);
}

.purchase-field__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.purchase-field__label,
.purchase-sort span,
.purchase-summary-card span,
.purchase-card__stat span,
.purchase-card__chip {
    color: rgba(70, 105, 77, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.purchase-field__value {
    color: #2d4236;
    font-size: 1.02rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.purchase-field__control,
.purchase-sort__control {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(70, 105, 77, 0.14);
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.94);
    color: var(--text);
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.purchase-field__control:focus,
.purchase-sort__control:focus {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        0 0 0 0.2rem rgba(103, 139, 95, 0.16);
}

.purchase-range {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    appearance: none;
    background: linear-gradient(
        90deg,
        var(--accent) 0%,
        var(--accent) var(--range-progress, 0%),
        rgba(70, 105, 77, 0.16) var(--range-progress, 0%),
        rgba(70, 105, 77, 0.16) 100%
    );
    cursor: pointer;
}

.purchase-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: transparent;
}

.purchase-range::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: transparent;
}

.purchase-range::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    margin-top: -8px;
    border: 0;
    border-radius: 50%;
    appearance: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 10px 24px rgba(70, 105, 77, 0.3);
}

.purchase-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 10px 24px rgba(70, 105, 77, 0.3);
}

.purchase-field__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-soft);
    font-size: 0.78rem;
}

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

.purchase-summary-card {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 252, 246, 0.78);
    border: 1px solid rgba(70, 105, 77, 0.1);
}

.purchase-summary-card span {
    font-size: 0.74rem;
    line-height: 1.35;
    letter-spacing: 0.11em;
    overflow-wrap: anywhere;
}

.purchase-summary-card strong {
    font-size: clamp(1rem, 1.45vw, 1.28rem);
    line-height: 1.2;
    color: #2d4236;
    overflow-wrap: anywhere;
}

.purchase-summary-card--accent {
    background: linear-gradient(180deg, rgba(228, 234, 218, 0.98), rgba(212, 221, 197, 0.9));
}

.purchase-calculator__actions {
    display: grid;
    gap: 14px;
}

.purchase-calculator__actions .button {
    width: fit-content;
    min-width: 220px;
}

.purchase-calculator__results {
    display: grid;
    gap: 18px;
    min-width: 0;
    align-content: start;
}

.purchase-results__top {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    padding: 4px 4px 0;
}

.purchase-sort {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.purchase-results__count {
    color: var(--text-soft);
    font-size: 0.96rem;
    text-align: right;
    align-self: center;
}

.purchase-results__list {
    display: grid;
    gap: 16px;
}

.purchase-results__empty {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.82);
    border: 1px dashed rgba(70, 105, 77, 0.2);
    color: var(--text-soft);
    line-height: 1.7;
}

.purchase-card {
    display: grid;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 30px;
    background: rgba(249, 246, 239, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 22px 56px rgba(63, 90, 73, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.purchase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(63, 90, 73, 0.16);
}

.purchase-card__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.purchase-card__rate {
    display: inline-grid;
    place-items: center;
    min-width: 68px;
    min-height: 68px;
    padding: 12px 16px;
    border-radius: 22px;
    background: rgba(103, 139, 95, 0.12);
    color: var(--accent-strong);
    font-size: 1.12rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(70, 105, 77, 0.12);
    white-space: nowrap;
}

.purchase-card__title {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.purchase-card__title h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.purchase-card__title p,
.purchase-card__description,
.purchase-card__meta {
    color: var(--text-soft);
    line-height: 1.65;
}

.purchase-card__source,
.purchase-card__limit {
    color: rgba(70, 105, 77, 0.72);
    font-size: 0.84rem;
    line-height: 1.6;
}

.purchase-card__source {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: -4px;
}

.purchase-card__source a {
    color: var(--accent-strong);
    text-decoration: underline;
    text-decoration-color: rgba(70, 105, 77, 0.28);
    text-underline-offset: 3px;
}

.purchase-card__chip {
    justify-self: end;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(103, 139, 95, 0.12);
    color: var(--accent-strong);
    letter-spacing: 0.08em;
    text-align: center;
}

.purchase-card__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 12px;
}

.purchase-card__stat {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.82);
    border: 1px solid rgba(70, 105, 77, 0.1);
}

.purchase-card__stat strong {
    font-size: 1.06rem;
    line-height: 1.25;
    color: #31483a;
}

.purchase-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.purchase-card__meta strong {
    display: block;
    margin-top: 4px;
    color: #2d4236;
    font-size: 1.08rem;
    line-height: 1.35;
}

.purchase-card__limit {
    display: block;
    margin-top: 6px;
}

.purchase-card__action {
    min-width: 206px;
}

@media (max-width: 1199.98px) {
    .purchase-calculator {
        grid-template-columns: 1fr;
    }

    .purchase-calculator__intro h3 {
        max-width: 14ch;
    }

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

@media (max-width: 991.98px) {
    .purchase-methods__tabs[role="tablist"] {
        width: 100%;
        max-width: 540px;
    }

    .purchase-calculator {
        gap: 18px;
        border-radius: 30px;
    }

    .purchase-calculator__form {
        padding: 24px;
        border-radius: 26px;
    }

    .purchase-calculator__intro h3,
    .purchase-calculator__intro p:last-child {
        max-width: none;
    }

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

    .purchase-summary-card--accent {
        grid-column: 1 / -1;
    }

    .purchase-results__top {
        grid-template-columns: 1fr;
        padding-inline: 0;
    }

    .purchase-results__count {
        text-align: left;
    }

    .purchase-card__head {
        grid-template-columns: 68px minmax(0, 1fr);
        align-items: start;
    }

    .purchase-card__chip {
        justify-self: start;
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .purchase-methods__tabs {
        justify-content: stretch;
    }

    .purchase-methods__tabs[role="tablist"] {
        width: 100%;
    }

    .purchase-tab {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 14px;
        font-size: 0.94rem;
    }

    .purchase-calculator {
        padding: 18px;
        border-radius: 28px;
    }

    .purchase-calculator__form {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .purchase-field__head,
    .purchase-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .purchase-field__value,
    .purchase-results__count {
        text-align: left;
    }

    .purchase-calculator__summary,
    .purchase-card__stats {
        grid-template-columns: 1fr;
    }

    .purchase-summary-card span {
        font-size: 0.68rem;
        letter-spacing: 0.09em;
    }

    .purchase-summary-card strong {
        font-size: 1rem;
    }

    .purchase-card {
        padding: 18px;
        border-radius: 24px;
    }

    .purchase-card__head {
        grid-template-columns: 1fr;
    }

    .purchase-card__chip {
        justify-self: start;
        grid-column: auto;
    }

    .purchase-calculator__actions .button,
    .purchase-card__action {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .purchase-methods__tabs[role="tablist"] {
        gap: 6px;
        padding: 6px;
    }

    .purchase-tab {
        min-height: 48px;
        padding: 0 10px;
        font-size: 0.88rem;
    }

    .purchase-calculator {
        gap: 14px;
        padding: 14px;
        border-radius: 24px;
    }

    .purchase-calculator__form {
        gap: 14px;
        padding: 18px 14px;
    }

    .purchase-calculator__intro h3 {
        font-size: clamp(1.9rem, 10vw, 2.45rem);
    }

    .purchase-field {
        gap: 10px;
        padding: 14px;
        border-radius: 18px;
    }

    .purchase-field__value {
        font-size: 0.96rem;
    }

    .purchase-field__meta {
        font-size: 0.72rem;
    }

    .purchase-field__control,
    .purchase-sort__control {
        min-height: 50px;
        padding: 0 14px;
        border-radius: 16px;
    }

    .purchase-summary-card {
        gap: 6px;
        padding: 14px;
        border-radius: 18px;
    }

    .purchase-summary-card span {
        font-size: 0.62rem;
        letter-spacing: 0.07em;
    }

    .purchase-summary-card strong {
        font-size: clamp(0.92rem, 4.7vw, 1.04rem);
        line-height: 1.14;
    }

    .purchase-card {
        gap: 12px;
        padding: 16px 14px;
        border-radius: 20px;
    }

    .purchase-card__rate {
        min-width: 60px;
        min-height: 60px;
        font-size: 1rem;
    }

    .purchase-card__title h3 {
        font-size: 1.2rem;
    }

    .purchase-card__stat {
        padding: 12px 14px;
        border-radius: 16px;
    }
}

.section--steps {
    padding-bottom: 8px;
}

.steps {
    display: grid;
    gap: 26px;
}

.step-card {
    padding: 24px;
    border-radius: 26px;
    background: var(--surface);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.step-card__number {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: "Georgia", serif;
    font-size: 1.4rem;
}

.cta-panel {
    padding: 30px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(167, 179, 140, 0.5), rgba(247, 244, 238, 0.96)),
        var(--surface-strong);
}

.cta-panel__meta {
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
}

.footer {
    padding: 48px 0 28px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: rgba(70, 105, 77, 0.68);
}

.plan-hero__content p {
    max-width: 58ch;
}

.plan-page .plan-hero {
    display: none;
}

.plan-hero__panel {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 30px;
    background: var(--surface);
}

.plan-layout__info {
    position: sticky;
    top: 112px;
}

.section--map-screen {
    padding: 20px 0 32px;
}

.container--map-screen {
    width: min(100% - 24px, 1640px);
}

.plan-layout--fullscreen {
    position: static;
    align-items: start;
    min-height: 0;
}

.plan-layout__map-wrap {
    flex: 0 0 100%;
    max-width: 100%;
}

.plan-layout__panel-wrap {
    position: static;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
    z-index: auto;
}

.plan-layout__info--overlay {
    position: static;
}

.plan-map-frame {
    overflow: hidden;
    padding: 18px;
    border-radius: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.plan-map-frame--fullscreen {
    min-height: 0;
    padding: 20px;
    border-radius: 40px;
}

.plan-map-frame img {
    border-radius: 24px;
}

.map-stage {
    display: grid;
    gap: 18px;
}

.map-stage__toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.map-stage__toolbar h1 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 0.96;
}

.map-stage__panel[hidden] {
    display: none !important;
}

.map-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(228, 234, 218, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.map-switcher__button {
    min-height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(49, 72, 58, 0.72);
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.map-switcher__button:hover,
.map-switcher__button:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.map-switcher__button.is-active {
    background: rgba(255, 252, 246, 0.96);
    color: var(--accent-strong);
    box-shadow: 0 14px 30px rgba(63, 90, 73, 0.12);
}

.scheme-embed,
.cadastre-embed {
    display: grid;
    gap: 16px;
}

.scheme-embed__meta {
    display: grid;
    gap: 14px;
}

.scheme-embed__intro {
    display: grid;
    gap: 8px;
}

.scheme-embed__intro strong {
    font-size: 1.1rem;
    line-height: 1.45;
    color: #2d4236;
}

.scheme-embed__intro p,
.scheme-embed__hint {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.scheme-embed__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.scheme-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 252, 246, 0.82);
    border: 1px solid rgba(70, 105, 77, 0.1);
    color: rgba(49, 72, 58, 0.82);
    font-size: 0.88rem;
}

.scheme-embed__frame,
.cadastre-embed__frame {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(70, 105, 77, 0.14);
    background: #f6f2e1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.scheme-embed__frame a {
    display: block;
}

.scheme-embed__frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    transition: transform 0.32s ease;
}

.scheme-embed__frame:hover img {
    transform: scale(1.012);
}

.scheme-embed__frame--interactive:hover img {
    transform: none;
}

.cadastre-embed__frame iframe {
    display: block;
    width: 100%;
    height: min(76vh, 980px);
    min-height: 700px;
    border: 0;
    background: #f6f2e1;
}

.cadastre-embed__hint {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cadastre-note--match strong {
    max-width: 42ch;
}

.detail-panel--cadastre {
    display: grid;
    gap: 18px;
}

.detail-panel--cadastre h2 {
    margin: 0;
}

.cadastre-note {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(70, 105, 77, 0.12);
}

.cadastre-note span {
    color: rgba(70, 105, 77, 0.76);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cadastre-note strong {
    font-size: 1rem;
    line-height: 1.55;
}

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

.plot-status-board {
    display: grid;
    gap: 16px;
}

.plot-status-board__legend {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.plot-status-board__grid {
    display: grid;
    gap: 14px;
}

.plot-status-card {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(70, 105, 77, 0.12);
    background: rgba(255, 255, 255, 0.68);
}

.plot-status-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.plot-status-card__header strong {
    font-size: 1rem;
    line-height: 1.3;
}

.plot-status-card__count {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.plot-status-card__items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.plot-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
}

.plot-status-badge--free {
    background: rgba(45, 208, 85, 0.14);
    border-color: rgba(45, 208, 85, 0.24);
    color: #1f6a34;
}

.plot-status-badge--ready-house {
    background: rgba(73, 125, 255, 0.14);
    border-color: rgba(73, 125, 255, 0.24);
    color: #1f49b6;
}

.plot-status-badge--foundation-ready {
    background: rgba(214, 123, 54, 0.16);
    border-color: rgba(214, 123, 54, 0.28);
    color: #8a4a11;
}

.plot-status-badge--occupied {
    background: rgba(216, 77, 77, 0.14);
    border-color: rgba(216, 77, 77, 0.24);
    color: #9a2c2c;
}

.plot-status-badge--reserved {
    background: rgba(247, 200, 58, 0.16);
    border-color: rgba(247, 200, 58, 0.26);
    color: #8c6500;
}

.plot-status-empty {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-shell {
    display: grid;
    gap: 24px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 24px;
}

.admin-card {
    padding: 28px;
    border-radius: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.admin-card h1,
.admin-card h2,
.admin-card h3 {
    margin: 0;
}

.admin-card p {
    color: var(--text-soft);
}

.admin-note {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(70, 105, 77, 0.12);
}

.admin-note strong {
    font-size: 0.98rem;
    line-height: 1.55;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.admin-field {
    display: grid;
    gap: 10px;
}

.admin-field label {
    font-weight: 700;
    color: var(--text);
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(70, 105, 77, 0.16);
    background: rgba(255, 255, 255, 0.74);
    color: var(--text);
    font: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.admin-field textarea {
    min-height: 120px;
    resize: vertical;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    outline: none;
    border-color: rgba(70, 105, 77, 0.34);
    box-shadow: 0 0 0 4px rgba(88, 141, 97, 0.12);
    background: #fff;
}

.admin-help {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-flash,
.admin-error-list {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    margin: 0;
}

.admin-flash {
    background: rgba(45, 208, 85, 0.14);
    border: 1px solid rgba(45, 208, 85, 0.24);
    color: #1f6a34;
}

.admin-error-list {
    background: rgba(216, 77, 77, 0.14);
    border: 1px solid rgba(216, 77, 77, 0.24);
    color: #8f2222;
    padding-left: 28px;
}

.admin-meta {
    display: grid;
    gap: 12px;
}

.admin-meta__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(70, 105, 77, 0.12);
}

.admin-meta__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.admin-meta__row span {
    color: var(--text-soft);
}

.admin-preview {
    display: grid;
    gap: 16px;
}

.admin-plot-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-plot-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(70, 105, 77, 0.14);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
}

.admin-grid--plot-details {
    margin-top: 28px;
    align-items: start;
}

.admin-form--plot-details {
    gap: 22px;
}

.admin-plot-detail-list {
    display: grid;
    gap: 14px;
}

.admin-plot-detail-card {
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.8);
    border: 1px solid rgba(70, 105, 77, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
    overflow: hidden;
}

.admin-plot-detail-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

.admin-plot-detail-card summary::-webkit-details-marker {
    display: none;
}

.admin-plot-detail-card__summary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-plot-detail-card__number {
    color: var(--text);
    font-weight: 700;
}

.admin-plot-detail-card__status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-plot-detail-card__status--free {
    background: rgba(45, 208, 85, 0.16);
    color: #1f6a34;
}

.admin-plot-detail-card__status--ready-house {
    background: rgba(73, 125, 255, 0.16);
    color: #1f49b6;
}

.admin-plot-detail-card__status--foundation-ready {
    background: rgba(214, 123, 54, 0.18);
    color: #8a4a11;
}

.admin-plot-detail-card__status--reserved {
    background: rgba(247, 200, 58, 0.2);
    color: #825e00;
}

.admin-plot-detail-card__status--occupied {
    background: rgba(216, 77, 77, 0.16);
    color: #912626;
}

.admin-plot-detail-card__hint {
    color: var(--text-soft);
    font-size: 0.86rem;
}

.admin-plot-detail-card__body {
    display: grid;
    gap: 16px;
    padding: 0 18px 18px;
}

.admin-plot-detail-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.interactive-plan {
    position: relative;
    aspect-ratio: 1992 / 1563;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(247, 244, 238, 0.92);
    isolation: isolate;
}

.interactive-plan__media,
.interactive-plan__image,
.interactive-plan__svg,
.interactive-plan__viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.interactive-plan__media {
    z-index: 1;
    overflow: hidden;
}

.interactive-plan__media image {
    pointer-events: none;
}

.interactive-plan__image {
    display: none;
}

.interactive-plan__viewport {
    z-index: 2;
    overflow: hidden;
    border-radius: inherit;
}

.interactive-plan__svg {
    z-index: 1;
    overflow: visible;
    transform-origin: 0 0;
    will-change: transform;
    transition: transform 0.18s ease-out;
}

.interactive-plan__svg image {
    pointer-events: none;
}

.interactive-plan__viewport.is-panning .interactive-plan__svg {
    transition: none;
}

.interactive-plan__viewport.is-zoomed {
    touch-action: none;
}

.interactive-plan--map {
    min-height: min(76vh, 980px);
}

.interactive-plan__hud {
    position: absolute;
    left: 16px;
    right: auto;
    bottom: 16px;
    z-index: 3;
    display: grid;
    gap: 10px;
    max-width: min(420px, calc(100% - 32px));
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(247, 244, 238, 0.92);
    border: 1px solid rgba(70, 105, 77, 0.14);
    box-shadow: 0 18px 40px rgba(63, 90, 73, 0.12);
    backdrop-filter: blur(14px);
}

.plan-map-frame--fullscreen .interactive-plan {
    height: auto;
    min-height: 0;
    aspect-ratio: 1992 / 1563;
    background: #f6f2e1;
}

.interactive-plan__eyebrow {
    margin: 0;
    color: rgba(70, 105, 77, 0.76);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.interactive-plan__hud strong {
    font-size: 1.15rem;
    line-height: 1.15;
}

.interactive-plan__hud span {
    color: var(--text-soft);
    line-height: 1.55;
    font-size: 0.96rem;
}

.interactive-plan__list-block {
    display: grid;
    gap: 10px;
}

.interactive-plan__list-title {
    margin: 0;
    color: rgba(70, 105, 77, 0.76);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.interactive-plan__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    max-height: 280px;
    overflow: auto;
    padding-right: 4px;
}

.interactive-plan__plot-item {
    min-height: 34px;
    padding: 6px 4px;
    border: 1px solid rgba(70, 105, 77, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.64);
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.interactive-plan__plot-item--available {
    background: rgba(45, 208, 85, 0.14);
    border-color: rgba(45, 208, 85, 0.28);
    color: #1f6a34;
    box-shadow: inset 0 0 0 1px rgba(45, 208, 85, 0.12);
}

.interactive-plan__plot-item--occupied {
    background: rgba(216, 77, 77, 0.14);
    border-color: rgba(216, 77, 77, 0.28);
    color: #9a2c2c;
    box-shadow: inset 0 0 0 1px rgba(216, 77, 77, 0.12);
}

.interactive-plan__plot-item--reserve {
    background: rgba(247, 200, 58, 0.16);
    border-color: rgba(247, 200, 58, 0.32);
    color: #8c6500;
    box-shadow: inset 0 0 0 1px rgba(247, 200, 58, 0.16);
}

.interactive-plan__plot-item:hover,
.interactive-plan__plot-item:focus-visible,
.interactive-plan__plot-item.is-active {
    transform: translateY(-1px);
    color: #18311f;
    border-color: rgba(70, 105, 77, 0.36);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(63, 90, 73, 0.12);
    outline: none;
}

.interactive-plan__plot-item--available.is-active,
.interactive-plan__plot-item--available:hover,
.interactive-plan__plot-item--available:focus-visible {
    background: rgba(45, 208, 85, 0.34);
    border-color: rgba(45, 208, 85, 0.5);
    color: #184d26;
}

.interactive-plan__plot-item--occupied.is-active,
.interactive-plan__plot-item--occupied:hover,
.interactive-plan__plot-item--occupied:focus-visible {
    background: rgba(216, 77, 77, 0.34);
    border-color: rgba(216, 77, 77, 0.48);
    color: #701a1a;
}

.interactive-plan__plot-item--reserve.is-active,
.interactive-plan__plot-item--reserve:hover,
.interactive-plan__plot-item--reserve:focus-visible {
    background: rgba(247, 200, 58, 0.34);
    border-color: rgba(247, 200, 58, 0.52);
    color: #6d5100;
}

.interactive-plan__legend {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: min(420px, calc(100% - 32px));
    margin: 0;
}

.interactive-plan__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: var(--text);
    font-size: 0.84rem;
}

.interactive-plan__legend-item::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: none;
}

.interactive-plan__legend-item--available::before {
    background: #2dd055;
}

.interactive-plan__legend-item--ready-house::before {
    background: #497dff;
}

.interactive-plan__legend-item--foundation-ready::before {
    background: #d67b36;
}

.interactive-plan__legend-item--occupied::before {
    background: #d84d4d;
}

.interactive-plan__legend-item--reserve::before {
    background: #f7c83a;
}

.interactive-plan__controls {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 6;
    display: none;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.interactive-plan__zoom-button {
    pointer-events: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(70, 105, 77, 0.18);
    border-radius: 14px;
    background: rgba(255, 252, 246, 0.94);
    color: #2d4236;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(17, 21, 21, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.interactive-plan__zoom-button:hover,
.interactive-plan__zoom-button:focus-visible {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 14px 28px rgba(17, 21, 21, 0.16);
    outline: none;
}

.interactive-plan__zoom-button:disabled {
    opacity: 0.45;
    transform: none;
    box-shadow: 0 8px 16px rgba(17, 21, 21, 0.08);
    cursor: not-allowed;
}

.interactive-plan__zoom-button--reset {
    min-width: 60px;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}

.interactive-plan__hint {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    max-width: min(360px, calc(100% - 32px));
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(247, 244, 238, 0.92);
    border: 1px solid rgba(70, 105, 77, 0.14);
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: 0 18px 36px rgba(63, 90, 73, 0.12);
    backdrop-filter: blur(12px);
}

.interactive-plan__hint a {
    color: #2d6a46;
}

.interactive-plan__tooltip {
    position: absolute;
    z-index: 5;
    display: grid;
    gap: 10px;
    width: min(320px, calc(100% - 32px));
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 252, 246, 0.96);
    border: 1px solid rgba(70, 105, 77, 0.16);
    box-shadow: 0 22px 48px rgba(17, 21, 21, 0.18);
    backdrop-filter: blur(16px);
    pointer-events: none;
}

.interactive-plan__tooltip[hidden] {
    display: none !important;
}

.interactive-plan__tooltip-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.interactive-plan__tooltip-number {
    margin: 0;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 700;
}

.interactive-plan__tooltip-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.interactive-plan__tooltip-status--free {
    background: rgba(45, 208, 85, 0.16);
    color: #1f6a34;
}

.interactive-plan__tooltip-status--ready-house {
    background: rgba(73, 125, 255, 0.16);
    color: #1f49b6;
}

.interactive-plan__tooltip-status--foundation-ready {
    background: rgba(214, 123, 54, 0.18);
    color: #8a4a11;
}

.interactive-plan__tooltip-status--reserved {
    background: rgba(247, 200, 58, 0.2);
    color: #825e00;
}

.interactive-plan__tooltip-status--occupied {
    background: rgba(216, 77, 77, 0.16);
    color: #912626;
}

.interactive-plan__tooltip-title,
.interactive-plan__tooltip-note,
.interactive-plan__tooltip-cadastre {
    margin: 0;
}

.interactive-plan__tooltip-title {
    color: #2d4236;
    font-size: 0.96rem;
    line-height: 1.55;
    font-weight: 600;
}

.interactive-plan__tooltip-meta {
    display: grid;
    gap: 8px;
}

.interactive-plan__tooltip-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(242, 237, 228, 0.84);
}

.interactive-plan__tooltip-row span {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.interactive-plan__tooltip-row strong {
    color: var(--text);
    font-size: 0.92rem;
    text-align: right;
}

.interactive-plan__tooltip-note,
.interactive-plan__tooltip-cadastre {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.55;
}

.interactive-plan__tooltip-cadastre strong {
    color: var(--text);
    font-weight: 600;
}

.plan-plot {
    fill: rgba(255, 255, 255, 0.01);
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 4px;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
    stroke-linecap: round;
    shape-rendering: geometricPrecision;
    transform-origin: center;
    transition: fill 0.22s ease, stroke 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
    cursor: pointer;
    outline: none;
}

.plan-plot-label {
    pointer-events: none;
    fill: rgba(70, 56, 51, 0.92);
    stroke: rgba(255, 252, 246, 0.96);
    stroke-width: 7px;
    stroke-linejoin: round;
    paint-order: stroke fill;
    text-anchor: middle;
    dominant-baseline: middle;
    font-family: "Geologica", "Segoe UI", sans-serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    text-rendering: geometricPrecision;
    user-select: none;
}

.plan-plot--available {
    fill: rgba(45, 208, 85, 0.12);
    stroke: rgba(45, 208, 85, 0.38);
}

.plan-plot--ready-house {
    fill: rgba(73, 125, 255, 0.14);
    stroke: rgba(73, 125, 255, 0.4);
}

.plan-plot--foundation-ready {
    fill: rgba(214, 123, 54, 0.14);
    stroke: rgba(214, 123, 54, 0.4);
}

.plan-plot--occupied {
    fill: rgba(216, 77, 77, 0.12);
    stroke: rgba(216, 77, 77, 0.34);
}

.plan-plot--reserve {
    fill: rgba(247, 200, 58, 0.12);
    stroke: rgba(247, 200, 58, 0.36);
}

.plan-plot:focus,
.plan-plot:focus-visible {
    outline: none;
}

.interactive-plan.is-dimmed .plan-plot {
    opacity: 0.28;
}

.interactive-plan.is-dimmed .plan-plot.is-active {
    opacity: 1;
}

.interactive-plan.is-dimmed .plan-plot-label {
    opacity: 0.28;
}

.interactive-plan.is-dimmed .plan-plot-label.is-active {
    opacity: 1;
}

.plan-plot--available:hover,
.plan-plot--available:focus-visible,
.plan-plot--available.is-active {
    fill: rgba(45, 208, 85, 0.42);
    stroke: rgba(255, 255, 255, 0.96);
    filter: drop-shadow(0 0 14px rgba(45, 208, 85, 0.42));
}

.plan-plot--ready-house:hover,
.plan-plot--ready-house:focus-visible,
.plan-plot--ready-house.is-active {
    fill: rgba(73, 125, 255, 0.44);
    stroke: rgba(255, 255, 255, 0.96);
    filter: drop-shadow(0 0 14px rgba(73, 125, 255, 0.42));
}

.plan-plot--foundation-ready:hover,
.plan-plot--foundation-ready:focus-visible,
.plan-plot--foundation-ready.is-active {
    fill: rgba(214, 123, 54, 0.46);
    stroke: rgba(255, 255, 255, 0.96);
    filter: drop-shadow(0 0 14px rgba(214, 123, 54, 0.4));
}

.plan-plot--occupied:hover,
.plan-plot--occupied:focus-visible,
.plan-plot--occupied.is-active {
    fill: rgba(216, 77, 77, 0.46);
    stroke: rgba(255, 255, 255, 0.96);
    filter: drop-shadow(0 0 14px rgba(216, 77, 77, 0.4));
}

.plan-plot--reserve:hover,
.plan-plot--reserve:focus-visible,
.plan-plot--reserve.is-active {
    fill: rgba(247, 200, 58, 0.46);
    stroke: rgba(255, 255, 255, 0.96);
    filter: drop-shadow(0 0 14px rgba(247, 200, 58, 0.4));
}

.detail-panel {
    padding: 26px;
    border-radius: 30px;
    background: var(--surface);
}

.detail-panel--map {
    padding: 20px 20px 18px;
    background: rgba(247, 244, 238, 0.92);
    backdrop-filter: blur(16px);
    max-width: 760px;
}

.detail-panel--map h2 {
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    margin-bottom: 12px;
}

.detail-panel--map p,
.detail-panel--map li {
    font-size: 0.9rem;
}

.detail-panel--map .check-list {
    margin-top: 18px;
}

.fact-chip:hover,
.summary-card:hover,
.showcase-card:hover,
.format-card:hover,
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(63, 90, 73, 0.16);
}

.summary-strip__grid > *:nth-child(1),
.hero__facts > *:nth-child(1) {
    transition-delay: 0.04s;
}

.summary-strip__grid > *:nth-child(2),
.hero__facts > *:nth-child(2) {
    transition-delay: 0.1s;
}

.summary-strip__grid > *:nth-child(3),
.hero__facts > *:nth-child(3) {
    transition-delay: 0.16s;
}

@keyframes ambientDrift {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, -12px, 0);
    }
}

@keyframes heroBreath {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.07);
    }
}

@keyframes panelFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes warmPulse {
    0%,
    100% {
        box-shadow: 0 18px 40px rgba(70, 105, 77, 0.2);
    }
    50% {
        box-shadow: 0 20px 48px rgba(70, 105, 77, 0.3);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.admin-page [data-reveal] {
    opacity: 1;
    transform: none;
}

.admin-page *,
.admin-page *::before,
.admin-page *::after {
    animation: none !important;
    transition: none !important;
}

.admin-page .button:hover,
.admin-page .button:focus-visible {
    transform: none;
}

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

    .site-bg,
    .hero::before,
    .hero-panel,
    .hero-stage,
    .button--primary {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .button,
    .site-nav .nav-link,
    .menu-toggle {
        transition: none;
    }
}

@media (max-width: 1199.98px) {
    .hero__grid {
        min-height: auto;
    }

    .hero__visual {
        max-width: 100%;
    }

    .site-nav {
        font-size: 0.86rem;
    }

    .site-nav .nav-link {
        padding: 10px 8px !important;
    }

    .topbar__actions .button {
        padding: 0 16px;
        font-size: 0.88rem;
    }

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

    .masterplan__stack {
        min-height: 560px;
    }

    .plan-layout__info {
        position: static;
    }

    .plan-layout--fullscreen {
        min-height: auto;
    }

    .plan-layout__panel-wrap {
        position: static;
        width: 100%;
        max-width: none;
    }

    .plan-map-frame--fullscreen {
        min-height: auto;
    }

    .plan-map-frame--fullscreen .interactive-plan {
        height: auto;
        min-height: 0;
        aspect-ratio: 1992 / 1563;
    }

    .map-stage__toolbar {
        align-items: stretch;
    }

    .cadastre-embed__frame iframe {
        min-height: 560px;
    }

    .interactive-plan__list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

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

    .admin-plot-detail-card__meta {
        grid-template-columns: 1fr;
    }

    .topbar {
        padding: 14px 0;
    }

    .topbar__inner {
        gap: 18px;
    }

    .topbar__collapse {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        padding: 18px;
        border-radius: 24px;
        background: rgba(252, 250, 246, 0.96);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .topbar__collapse.collapse:not(.show) {
        display: none !important;
    }

    .site-nav {
        gap: 4px;
    }

    .site-nav .nav-link {
        padding: 10px 0 !important;
        border-radius: 0;
    }

    .topbar__actions {
        width: 100%;
        padding-top: 16px;
        margin-top: 16px;
        border-top: 1px solid var(--line);
    }

    .hero,
    .plan-hero,
    .section {
        padding-top: 72px;
    }

    .hero__content {
        padding: 24px 24px 26px;
    }

    .hero {
        min-height: auto;
    }

    .hero__grid {
        min-height: auto;
        align-items: stretch;
    }

    .hero__content--premium {
        max-width: none;
        padding: 28px 28px 30px;
    }

    .hero__content--premium .hero__premium-copy h1 {
        font-size: clamp(3rem, 10vw, 4.8rem);
    }

    .hero__signature {
        max-width: none;
    }

    .hero-stage {
        min-height: 560px;
    }

    .hero-stage__headline strong {
        max-width: 12ch;
    }

    .hero__content h1,
    .section__header h2,
    .masterplan__copy h2,
    .steps__intro h2,
    .cta-panel h2,
    .detail-panel h2,
    .plan-hero__content h1 {
        font-size: clamp(2.5rem, 10vw, 4.2rem);
    }

    .hero-panel h2 {
        font-size: clamp(1.7rem, 5.8vw, 2.25rem);
    }

    .hero-panel {
        padding: 22px;
    }

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

    .hero__visual {
        margin-left: 0;
    }

    .masterplan__stack {
        min-height: 500px;
    }

    .masterplan__map {
        inset: 0 0 120px 0;
    }

    .masterplan__mini {
        width: min(100%, 360px);
    }

    .section--map-screen {
        padding-top: 18px;
    }

    .container--map-screen {
        width: min(100% - 24px, 1760px);
    }

    .interactive-plan__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-height: 240px;
    }

    .interactive-plan__controls {
        display: flex;
    }

    .plan-map-frame--fullscreen {
        overflow: visible;
        padding: 12px;
        border-radius: 28px;
    }

    .plan-map-frame--fullscreen .interactive-plan {
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        overflow: visible;
    }

    .interactive-plan {
        display: flex;
        flex-direction: column;
        gap: 10px;
        aspect-ratio: auto;
        overflow: visible;
        border-radius: 20px;
    }

    .interactive-plan__legend {
        position: static;
        order: 3;
        top: auto;
        left: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        max-width: none;
        padding: 0;
    }

    .interactive-plan__legend-item {
        min-height: 40px;
        padding: 10px 12px;
        font-size: 0.78rem;
        border: 1px solid rgba(70, 105, 77, 0.12);
        border-radius: 16px;
        background: rgba(255, 252, 246, 0.92);
    }

    .interactive-plan__tooltip {
        position: static;
        order: 2;
        width: 100%;
        padding: 15px;
        border-radius: 18px;
        pointer-events: auto;
        box-shadow: 0 14px 28px rgba(17, 21, 21, 0.12);
    }

    .interactive-plan__viewport {
        position: relative;
        inset: auto;
        order: 1;
        width: 100%;
        height: auto;
        min-height: clamp(340px, 56vh, 560px);
        aspect-ratio: auto;
        border-radius: 16px;
        touch-action: pan-y;
    }

    .interactive-plan__svg {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }

    .plan-plot {
        stroke-width: 1.9px;
    }

    .plan-plot-label {
        stroke-width: 5px;
    }

    .interactive-plan__hint {
        width: min(320px, calc(100% - 24px));
    }
}

@media (max-width: 767.98px) {
    .hero__content h1 span {
        white-space: normal;
    }

    .hero__status-row {
        gap: 8px;
        margin-bottom: 18px;
    }

    .hero__status-pill {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.72rem;
    }

    .hero__content--premium {
        padding: 22px 20px 24px;
        border-radius: 28px;
    }

    .hero__content--premium .hero__premium-copy h1 span {
        white-space: normal;
    }

    .hero__signature {
        margin-top: 22px;
        padding: 16px 18px;
        border-radius: 22px;
    }

    .hero-stage {
        min-height: 420px;
        padding: 14px;
        border-radius: 30px;
    }

    .hero-stage::before {
        inset: 12px;
        border-radius: 24px;
    }

    .hero-stage__media {
        inset: 14px;
        border-radius: 24px;
    }

    .hero-stage__headline {
        left: 16px;
        right: auto;
        bottom: 16px;
        width: min(300px, calc(100% - 32px));
        padding: 16px 18px;
        border-radius: 22px;
    }

    .hero-stage__headline strong {
        max-width: 100%;
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .topbar__actions,
    .hero__actions,
    .cta-panel__actions,
    .cta-panel__meta,
    .hero__facts {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .masterplan__stack {
        min-height: 420px;
    }

    .masterplan__map {
        inset: 0 0 112px 0;
        padding: 10px;
    }

    .masterplan__mini {
        width: calc(70% - 20px);
        padding: 10px;
    }

    .plan-map-frame--fullscreen {
        overflow: visible;
        padding: 10px;
        border-radius: 24px;
    }

    .plan-map-frame--fullscreen .interactive-plan {
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        overflow: visible;
    }

    .interactive-plan {
        display: flex;
        flex-direction: column;
        gap: 10px;
        aspect-ratio: auto;
        overflow: visible;
        border-radius: 20px;
    }

    .interactive-plan__legend {
        position: static;
        order: 3;
        top: auto;
        left: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        max-width: none;
        padding: 0;
    }

    .interactive-plan__legend-item {
        min-height: 40px;
        padding: 10px 12px;
        font-size: 0.78rem;
        border: 1px solid rgba(70, 105, 77, 0.12);
        border-radius: 16px;
        background: rgba(255, 252, 246, 0.92);
    }

    .interactive-plan__hint {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        padding: 12px 14px;
        font-size: 0.84rem;
    }

    .interactive-plan__tooltip {
        position: static;
        order: 2;
        width: 100%;
        padding: 15px;
        border-radius: 18px;
        pointer-events: auto;
        box-shadow: 0 14px 28px rgba(17, 21, 21, 0.12);
    }

    .interactive-plan__viewport {
        position: relative;
        inset: auto;
        order: 1;
        width: 100%;
        height: auto;
        aspect-ratio: 1992 / 1563;
        border-radius: 16px;
        touch-action: pan-y;
    }

    .interactive-plan__svg {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }

    .interactive-plan__hud {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        max-width: none;
        padding: 16px;
        margin: 0;
        width: 100%;
    }

    .interactive-plan__legend {
        display: grid;
    }

    .interactive-plan__hud {
        max-width: none;
    }

    .interactive-plan__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: 220px;
    }

    .plan-map-frame--fullscreen {
        padding: 10px;
        border-radius: 24px;
    }

    .map-stage__toolbar h1 {
        font-size: clamp(1.7rem, 8vw, 2.5rem);
    }

    .map-switcher {
        width: 100%;
        justify-content: stretch;
    }

    .map-switcher__button {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 14px;
        font-size: 0.92rem;
    }

    .interactive-plan__tooltip-head,
    .plot-status-card__header {
        align-items: flex-start;
    }

    .interactive-plan__tooltip-head {
        flex-direction: column;
        gap: 8px;
    }

    .interactive-plan__tooltip-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .interactive-plan__tooltip-row strong {
        text-align: left;
    }

    .interactive-plan__tooltip-cadastre strong {
        display: block;
        margin-top: 4px;
        overflow-wrap: anywhere;
    }

    .scheme-embed__chips {
        gap: 8px;
    }

    .scheme-chip {
        width: 100%;
        justify-content: center;
    }

    .cadastre-embed__frame iframe {
        min-height: 420px;
        height: 58vh;
    }

    .plot-status-board__legend {
        gap: 8px;
    }

    .plot-status-card {
        padding: 14px 16px;
        border-radius: 18px;
    }

    .plot-status-badge {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 0.82rem;
    }

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

    .cadastre-actions .button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .topbar__inner,
    .brand,
    .brand__copy {
        min-width: 0;
    }

    .brand {
        max-width: 100%;
    }

    .brand__copy span {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .admin-card {
        padding: 20px;
        border-radius: 24px;
    }

    .container {
        width: min(100% - 24px, 1200px);
    }

    .brand__copy strong {
        font-size: 0.9rem;
    }

    .brand__copy span {
        font-size: 0.72rem;
        max-width: 180px;
    }

    .showcase-card,
    .format-card,
    .summary-card,
    .step-card,
    .hero-panel,
    .detail-panel,
    .cta-panel,
    .plan-hero__panel {
        padding: 22px;
    }

    .hero__content {
        padding: 20px 20px 22px;
        border-radius: 26px;
    }

    .hero__content--premium {
        padding: 20px 18px 22px;
    }

    .hero__content--premium .hero__premium-copy h1 {
        font-size: clamp(2.6rem, 12vw, 3.8rem);
    }

    .hero__premium-copy .hero__lead {
        font-size: 0.96rem;
    }

    .hero__signature strong {
        font-size: 0.96rem;
    }

    .hero-stage {
        min-height: 360px;
    }

    .hero__content h1,
    .section__header h2,
    .masterplan__copy h2,
    .steps__intro h2,
    .cta-panel h2,
    .detail-panel h2,
    .plan-hero__content h1 {
        font-size: clamp(2.3rem, 11vw, 3.5rem);
    }

    .showcase-card__media {
        min-height: 240px;
    }

    .plan-map-frame {
        padding: 12px;
    }

    .container--map-screen {
        width: min(100% - 16px, 1760px);
    }

    .plan-map-frame--fullscreen {
        padding: 8px;
        border-radius: 20px;
    }

    .map-stage {
        gap: 12px;
    }

    .map-switcher {
        padding: 5px;
        border-radius: 20px;
    }

    .map-switcher__button {
        min-height: 44px;
        padding: 0 12px;
        font-size: 0.86rem;
    }

    .interactive-plan {
        gap: 8px;
        border-radius: 18px;
    }

    .interactive-plan__legend {
        grid-template-columns: 1fr;
    }

    .interactive-plan__legend-item {
        min-height: 38px;
        font-size: 0.76rem;
    }

    .interactive-plan__tooltip {
        padding: 14px;
    }

    .interactive-plan__controls {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .interactive-plan__zoom-button {
        min-width: 40px;
        min-height: 40px;
        font-size: 0.98rem;
    }

    .interactive-plan__zoom-button--reset {
        min-width: 52px;
        font-size: 0.72rem;
    }

    .plan-plot {
        stroke-width: 1.5px;
    }

    .plan-plot-label {
        stroke-width: 4.2px;
    }

    .interactive-plan__tooltip-number {
        font-size: 0.96rem;
    }

    .interactive-plan__tooltip-status {
        min-height: 30px;
        white-space: normal;
    }

    .interactive-plan__hud strong {
        font-size: 1rem;
    }

    .interactive-plan__hud span {
        font-size: 0.88rem;
    }

    .interactive-plan__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: 180px;
    }

    .interactive-plan__plot-item {
        min-height: 32px;
        font-size: 0.78rem;
    }

    .detail-panel--map {
        padding: 20px;
    }

    .cadastre-embed__frame iframe {
        min-height: 360px;
        height: 54vh;
    }

    .footer__inner {
        flex-direction: column;
    }
}

.plot-status-copy-note {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

.plot-status-copy-note.is-copied {
    color: var(--accent-strong);
}

.plot-status-badge {
    justify-content: center;
    font: inherit;
    background-clip: padding-box;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plot-status-badge:hover,
.plot-status-badge:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(63, 90, 73, 0.12);
    outline: none;
}

.plot-status-badge.is-copied {
    box-shadow: 0 0 0 4px rgba(103, 139, 95, 0.14);
}
.cadastre-range-actions {
    display: grid;
    gap: 12px;
    min-width: min(100%, 440px);
}

.cadastre-range-list {
    display: grid;
    gap: 12px;
}

.cadastre-range-copy {
    display: grid;
    gap: 6px;
    min-width: min(100%, 440px);
    padding: 14px 18px;
    border: 1px solid rgba(70, 105, 77, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 30px rgba(63, 90, 73, 0.08);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cadastre-range-copy:hover,
.cadastre-range-copy:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(103, 139, 95, 0.32);
    box-shadow: 0 18px 34px rgba(63, 90, 73, 0.12);
    outline: none;
}

.cadastre-range-copy.is-copied {
    border-color: rgba(103, 139, 95, 0.38);
    box-shadow: 0 0 0 4px rgba(103, 139, 95, 0.12);
}

.cadastre-range-copy__label {
    color: var(--text-soft);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cadastre-range-copy strong {
    font-size: 0.98rem;
    line-height: 1.45;
    word-break: break-all;
}

.cadastre-range-copy__hint {
    margin: -4px 0 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

.cadastre-range-copy__hint.is-copied {
    color: var(--accent-strong);
}
.cadastre-copy-button {
    width: 100%;
    min-height: 54px;
    font-size: 0.96rem;
}
/* Hero cleanup: calmer right block and safer heading wrap */
.hero__premium-copy h1 {
    max-width: 11.8ch;
    font-size: clamp(3.1rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero__premium-copy h1 span {
    display: block;
    white-space: normal;
}

.hero__visual--premium .hero-panel {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding: 20px 22px;
    border-radius: 28px;
    background: rgba(250, 247, 241, 0.86);
    border: 1px solid rgba(70, 105, 77, 0.12);
    box-shadow: 0 18px 40px rgba(63, 90, 73, 0.1);
    backdrop-filter: blur(12px);
}

.hero-stage {
    min-height: 560px;
    padding: 14px;
    border-radius: 34px;
    animation: none;
}

.hero-stage::before {
    inset: 14px;
    border-radius: 26px;
}

.hero-stage__media {
    inset: 14px;
    border-radius: 26px;
}

.hero-stage__media::after {
    background:
        linear-gradient(180deg, rgba(32, 48, 40, 0.02), rgba(32, 48, 40, 0.08) 52%, rgba(32, 48, 40, 0.18) 100%),
        radial-gradient(circle at 22% 18%, rgba(255, 242, 196, 0.14), transparent 28%);
}

.hero-stage__headline {
    display: none;
}

.hero-panel h2 {
    font-size: clamp(1.9rem, 2.7vw, 2.5rem);
    line-height: 1.02;
}

.hero-panel .check-list {
    gap: 10px;
}

@media (max-width: 1199.98px) {
    .hero__premium-copy h1 {
        max-width: 12ch;
        font-size: clamp(3rem, 7vw, 4.6rem);
    }
}

@media (max-width: 767.98px) {
    .hero__premium-copy h1 {
        max-width: 100%;
        font-size: clamp(2.7rem, 11vw, 4rem);
        line-height: 1.04;
    }

    .hero-stage {
        min-height: 380px;
    }

    .hero__visual--premium .hero-panel {
        padding: 18px;
        border-radius: 22px;
    }
}
/* Hero final layout: cleaner background, fixed heading, overlay info card */
.home-page .site-bg {
    opacity: 0.28;
}

.hero::after {
    background:
        radial-gradient(circle at 12% 24%, rgba(248, 245, 236, 0.18), transparent 30%),
        linear-gradient(90deg, rgba(243, 239, 229, 0.18) 0%, rgba(243, 239, 229, 0.08) 34%, rgba(243, 239, 229, 0.03) 66%, rgba(243, 239, 229, 0.08) 100%);
}

.hero__content--premium {
    background: linear-gradient(110deg, rgba(250, 248, 241, 0.84) 0%, rgba(247, 243, 234, 0.76) 60%, rgba(247, 243, 234, 0.44) 100%);
}

.hero__premium-copy h1 {
    max-width: 8.5ch;
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    line-height: 1.06;
    letter-spacing: -0.038em;
}

.hero__premium-copy .hero__lead {
    max-width: 44ch;
}

.hero__visual--premium {
    position: relative;
    max-width: 100%;
}

.hero-stage {
    min-height: 660px;
    padding: 0;
    border: 0;
    border-radius: 36px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.hero-stage::before {
    display: none;
}

.hero-stage__media {
    inset: 0;
    border-radius: 36px;
    box-shadow: 0 28px 70px rgba(63, 90, 73, 0.16);
}

.hero-stage__media::after {
    background: linear-gradient(180deg, rgba(32, 48, 40, 0.03), rgba(32, 48, 40, 0.08) 55%, rgba(32, 48, 40, 0.16) 100%);
}

.hero__visual--premium .hero-panel {
    position: absolute;
    left: 24px;
    bottom: 28px;
    z-index: 4;
    width: min(290px, calc(100% - 48px));
    margin: 0;
    padding: 22px 22px 20px;
    border-radius: 28px;
    background: rgba(249, 246, 239, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 18px 48px rgba(34, 51, 41, 0.12);
    backdrop-filter: blur(12px);
}

.hero__visual--premium .hero-panel .eyebrow {
    margin-bottom: 14px;
}

.hero__visual--premium .hero-panel h2 {
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-bottom: 16px;
}

.hero__visual--premium .hero-panel .check-list {
    gap: 10px;
}

.hero__visual--premium .hero-panel .check-list li {
    font-size: 0.98rem;
    line-height: 1.55;
}

@media (max-width: 1199.98px) {
    .hero__premium-copy h1 {
        max-width: 9.2ch;
        font-size: clamp(3rem, 7vw, 4.8rem);
    }

    .hero-stage {
        min-height: 560px;
    }
}

@media (max-width: 767.98px) {
    .hero__premium-copy h1 {
        max-width: 100%;
        font-size: clamp(2.8rem, 10.8vw, 4.1rem);
        line-height: 1.06;
    }

    .hero-stage {
        min-height: 420px;
        overflow: hidden;
    }

    .hero__visual--premium .hero-panel {
        position: static;
        width: 100%;
        margin-top: 16px;
    }
}
/* Hero text-only layout */
.home-page .hero::before {
    display: none;
}

.home-page .hero::after {
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.92) 0%, rgba(241, 236, 227, 0.86) 100%);
}

.home-page .hero {
    min-height: auto;
}

.home-page .hero__grid {
    min-height: auto;
    justify-content: center;
}

.home-page .hero__content--premium {
    max-width: 980px;
    margin: 0 auto;
}

.home-page .hero__premium-copy h1 {
    max-width: 8.8ch;
}

/* Hero final pass: restore photo background and make the left card feel intentional */
.home-page .hero::before {
    display: block;
}

.home-page .hero::after {
    background:
        radial-gradient(circle at 14% 26%, rgba(248, 245, 236, 0.38), transparent 30%),
        linear-gradient(90deg, rgba(243, 239, 229, 0.48) 0%, rgba(243, 239, 229, 0.22) 34%, rgba(243, 239, 229, 0.1) 64%, rgba(243, 239, 229, 0.14) 100%);
}

.home-page .hero {
    min-height: calc(100vh - 110px);
}

.home-page .hero__grid {
    min-height: clamp(680px, calc(100vh - 160px), 860px);
    justify-content: flex-start;
}

.home-page .hero__content--premium {
    max-width: 780px;
    margin: 0;
    padding: 34px 34px 28px;
    border-radius: 36px;
    background: linear-gradient(125deg, rgba(250, 248, 241, 0.88) 0%, rgba(247, 243, 234, 0.8) 58%, rgba(247, 243, 234, 0.56) 100%);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 28px 72px rgba(63, 90, 73, 0.14);
    backdrop-filter: blur(12px);
}

.home-page .hero__status-row {
    margin-bottom: 20px;
}

.home-page .hero__premium-copy {
    display: grid;
    gap: 0;
}

.home-page .hero__premium-copy h1 {
    max-width: 8ch;
    font-size: clamp(3.2rem, 5.1vw, 5.25rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.home-page .hero__premium-copy .hero__location {
    margin-top: 14px;
}

.home-page .hero__premium-copy .hero__lead {
    max-width: 43ch;
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.home-page .hero__actions {
    margin-top: 24px;
}

.home-page .hero__signature {
    max-width: none;
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 252, 246, 0.82);
    box-shadow: 0 14px 30px rgba(63, 90, 73, 0.08);
}

.home-page .hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.home-page .hero__facts > * {
    min-width: 0;
}

.home-page .hero__facts .fact-chip {
    height: 100%;
}

@media (max-width: 1199.98px) {
    .home-page .hero__content--premium {
        max-width: 720px;
    }

    .home-page .hero__premium-copy h1 {
        max-width: 8.6ch;
        font-size: clamp(3rem, 7vw, 4.8rem);
    }
}

@media (max-width: 767.98px) {
    .home-page .hero__content--premium {
        padding: 24px 20px 22px;
        border-radius: 28px;
    }

    .home-page .hero__premium-copy h1 {
        max-width: 100%;
        font-size: clamp(2.7rem, 10.6vw, 4rem);
        line-height: 1.06;
    }

    .home-page .hero__facts {
        grid-template-columns: 1fr;
    }
}

/* Hero info panel */
.hero__visual--info {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
}

.hero-panel--summary {
    width: min(100%, 390px);
    padding: 24px 24px 22px;
    border-radius: 30px;
    background: rgba(249, 246, 239, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 22px 56px rgba(63, 90, 73, 0.12);
    backdrop-filter: blur(12px);
    animation: none;
}

.hero-panel--summary .eyebrow {
    margin-bottom: 16px;
}

.hero-panel__status {
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(70, 105, 77, 0.12);
}

.hero-panel__status span,
.hero-panel__item span {
    color: rgba(70, 105, 77, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-panel__status strong {
    font-size: 1.18rem;
    line-height: 1.55;
    color: #2d4236;
}

.hero-panel__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
}

.hero-panel__item {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.8);
    border: 1px solid rgba(70, 105, 77, 0.1);
}

.hero-panel__item strong {
    font-size: 1rem;
    line-height: 1.45;
    color: #31483a;
}

@media (max-width: 1199.98px) {
    .hero__visual--info {
        justify-content: flex-start;
    }

    .hero-panel--summary {
        width: min(100%, 520px);
    }
}

@media (max-width: 767.98px) {
    .hero-panel--summary {
        width: 100%;
        padding: 20px 18px;
        border-radius: 24px;
    }
}

/* About section refresh */
.about-section__header {
    max-width: 860px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 24px;
    align-items: stretch;
}

.about-stack {
    display: grid;
    gap: 24px;
    align-content: start;
}

.about-card {
    display: grid;
    gap: 20px;
    height: 100%;
    padding: 22px;
    border-radius: 30px;
    background: rgba(249, 246, 239, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 24px 56px rgba(63, 90, 73, 0.12);
    backdrop-filter: blur(10px);
}

.about-card__body {
    display: grid;
    align-content: start;
}

.about-card__body h3 {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 2.2vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.about-card__body p:last-child {
    color: var(--text-soft);
    line-height: 1.7;
}

.about-card__image {
    overflow: hidden;
    border-radius: 24px;
}

.about-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card--hero {
    gap: 22px;
}

.about-card__image--hero {
    min-height: 420px;
}

.about-card--fact {
    min-height: 0;
}

.about-card--accent {
    background: linear-gradient(180deg, rgba(225, 231, 214, 0.96), rgba(208, 218, 191, 0.94));
}

.about-card--feature {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.88fr);
    align-items: center;
    gap: 24px;
}

.about-card__body--feature {
    gap: 0;
}

.about-card__image--feature {
    min-height: 290px;
}

@media (max-width: 1199.98px) {
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: stretch;
    }

    .about-card--feature {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    }

    .about-card__image--hero {
        min-height: 380px;
    }
}

@media (max-width: 767.98px) {
    .about-grid,
    .about-stack,
    .about-card--feature {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 18px;
        border-radius: 24px;
    }

    .about-card__image--hero {
        min-height: 280px;
    }

    .about-card__image--feature {
        min-height: 220px;
    }

    .about-card__body h3 {
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.12;
    }
}

/* Built houses gallery */
.section--built-houses {
    position: relative;
}

.built-houses__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

.built-houses__empty {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.built-house-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 14px;
    border-radius: 30px;
    background: linear-gradient(160deg, rgba(253, 250, 243, 0.96), rgba(244, 239, 229, 0.92));
    border: 1px solid rgba(70, 105, 77, 0.16);
    box-shadow:
        0 24px 56px rgba(63, 90, 73, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    overflow: hidden;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.built-house-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.52), transparent 36%),
        radial-gradient(circle at 100% 100%, rgba(103, 139, 95, 0.09), transparent 44%);
    pointer-events: none;
    z-index: 0;
}

.built-house-card:hover,
.built-house-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(70, 105, 77, 0.28);
    box-shadow:
        0 30px 62px rgba(63, 90, 73, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.built-house-card__image {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 22px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}

.built-house-card__image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(to top, rgba(33, 42, 36, 0.22), transparent);
    pointer-events: none;
}

.built-house-card__media {
    display: grid;
    gap: 10px;
    border-radius: 24px;
    padding: 0;
    background: rgba(252, 248, 241, 0.8);
    border: 1px solid rgba(70, 105, 77, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.built-house-card__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transform: translateZ(0);
    transition: transform 0.32s ease;
}

.built-house-card:hover .built-house-card__image img,
.built-house-card:focus-within .built-house-card__image img {
    transform: scale(1.035);
}

.built-house-card__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
    gap: 8px;
    padding: 0 12px 12px;
}

.built-house-card__thumb {
    padding: 0;
    border: 1px solid rgba(70, 105, 77, 0.2);
    border-radius: 11px;
    overflow: hidden;
    background: rgba(255, 252, 246, 0.92);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.built-house-card__thumb img {
    width: 100%;
    height: 62px;
    object-fit: cover;
    display: block;
}

.built-house-card__thumb:hover,
.built-house-card__thumb:focus-visible {
    border-color: rgba(70, 105, 77, 0.52);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(63, 90, 73, 0.14);
}

.built-house-card__thumb.is-active {
    border-color: var(--accent-strong);
    box-shadow: 0 0 0 1px rgba(70, 105, 77, 0.28);
}

.built-house-card__body {
    display: grid;
    gap: 12px;
    padding: 4px 6px 8px;
    position: relative;
    z-index: 1;
}

.built-house-card__head {
    display: grid;
    gap: 8px;
}

.built-house-card__body h3 {
    font-size: clamp(1.32rem, 2vw, 1.78rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #2f4538;
    text-wrap: balance;
}

.built-house-card__subtitle {
    color: rgba(49, 72, 58, 0.72);
    font-size: 0.96rem;
    line-height: 1.45;
}

.built-house-card__area {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(70, 105, 77, 0.2);
    background: rgba(255, 252, 246, 0.92);
    color: #2f4538;
    font-size: 0.86rem;
    font-weight: 600;
}

.built-house-card__body p {
    color: rgba(49, 72, 58, 0.86);
    font-size: 1.02rem;
    line-height: 1.62;
    background: rgba(255, 251, 244, 0.84);
    border: 1px solid rgba(70, 105, 77, 0.12);
    border-radius: 18px;
    padding: 14px 16px;
    white-space: pre-line;
    max-height: 16rem;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(103, 139, 95, 0.42) rgba(255, 255, 255, 0.72);
}

.built-house-card__body p::-webkit-scrollbar {
    width: 8px;
}

.built-house-card__body p::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
}

.built-house-card__body p::-webkit-scrollbar-thumb {
    background: rgba(103, 139, 95, 0.42);
    border-radius: 999px;
}

.built-house-card__meta {
    display: grid;
    gap: 10px;
}

.built-house-card__meta-item {
    display: grid;
    gap: 7px;
    padding: 13px 14px;
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.92);
    border: 1px solid rgba(70, 105, 77, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.built-house-card__meta-item span {
    color: rgba(70, 105, 77, 0.74);
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.built-house-card__meta-item strong {
    font-size: 1rem;
    line-height: 1.45;
    color: #31483a;
}

.built-house-card__meta-item small {
    color: rgba(49, 72, 58, 0.74);
    font-size: 0.88rem;
    line-height: 1.45;
}

.built-house-card__price {
    background: linear-gradient(145deg, rgba(241, 238, 229, 0.96), rgba(251, 248, 241, 0.98));
    border-color: rgba(142, 114, 56, 0.24);
}

.built-house-card__price span {
    color: rgba(105, 82, 40, 0.74);
}

.built-house-card__price strong {
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: #2e3f35;
}

.built-house-card__meta-item--cadastre {
    background: rgba(252, 248, 241, 0.94);
}

.built-house-card__note {
    border-color: rgba(70, 105, 77, 0.2);
}

.built-house-card__cadastre {
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    color: #31483a;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.built-house-card__cadastre:hover,
.built-house-card__cadastre:focus-visible {
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.built-house-card__cadastre.is-copied {
    color: var(--accent);
}

/* Work stages */
.section--work-stages {
    position: relative;
}

.work-stages__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.work-stage-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(249, 246, 239, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 20px 48px rgba(63, 90, 73, 0.12);
    backdrop-filter: blur(10px);
}

.work-stage-card__image {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.work-stage-card__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.work-stage-card__body {
    display: grid;
    gap: 10px;
    padding: 16px 18px 20px;
}

.work-stage-card__body h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.2;
}

.work-stage-card__body p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(17, 21, 21, 0.72);
    cursor: pointer;
}

.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    width: min(960px, 100%);
    padding: 18px;
    border-radius: 28px;
    background: rgba(247, 244, 238, 0.96);
    box-shadow: 0 28px 70px rgba(17, 21, 21, 0.28);
}

.gallery-lightbox__dialog img {
    width: 100%;
    max-height: min(72vh, 820px);
    object-fit: contain;
    border-radius: 20px;
    background: rgba(233, 229, 220, 0.8);
}

.gallery-lightbox__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 252, 246, 0.92);
    color: var(--text);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(17, 21, 21, 0.12);
}

.gallery-lightbox__caption {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

/* Admin houses */
.admin-grid--houses {
    margin-top: 28px;
    align-items: start;
}

.admin-form--houses {
    gap: 22px;
}

.admin-house-list {
    display: grid;
    gap: 16px;
}

.admin-house-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.78);
    border: 1px solid rgba(70, 105, 77, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.admin-house-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-house-card__header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.admin-house-remove {
    padding: 0;
    border: 0;
    background: transparent;
    color: #8b625f;
    font-size: 0.92rem;
    cursor: pointer;
}

.admin-house-remove:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.admin-house-card__grid {
    display: grid;
    grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.admin-house-card__fields {
    display: grid;
    gap: 12px;
    align-content: start;
}

.admin-house-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-house-card__fields > .admin-house-card__meta:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-house-card__fields > .admin-house-card__meta:last-of-type {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-house-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-house-gallery__item {
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(70, 105, 77, 0.12);
    background: rgba(255, 255, 255, 0.56);
}

.admin-house-gallery__label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(70, 105, 77, 0.72);
}

.admin-house-preview {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(239, 235, 227, 0.92);
    border: 1px dashed rgba(70, 105, 77, 0.22);
    color: var(--text-soft);
    font-size: 0.84rem;
    text-align: center;
}

.admin-house-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-house-preview--empty {
    padding: 10px;
}

.admin-house-card__media .admin-help {
    display: block;
    margin-top: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
}

.admin-field input[type="file"] {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 252, 246, 0.9);
    font-size: 0.8rem;
    min-height: 38px;
}

.admin-house-gallery__item .admin-field input[type="file"] {
    width: 100%;
}

.admin-house-gallery input[type="file"]::file-selector-button {
    border: 1px solid rgba(70, 105, 77, 0.2);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    padding: 6px 10px;
    margin-right: 8px;
    cursor: pointer;
}

.admin-house-card__fields .admin-field {
    gap: 6px;
}

.admin-house-card__fields .admin-field input,
.admin-house-card__fields .admin-field textarea {
    padding: 12px 14px;
    border-radius: 14px;
}

.admin-house-card__fields .admin-field textarea {
    min-height: 96px;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 1199.98px) {
    .built-houses__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .admin-house-card__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-house-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-house-card__fields > .admin-house-card__meta:last-of-type {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .admin-house-card__grid,
    .admin-house-card__meta {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767.98px) {
    .built-houses__grid {
        grid-template-columns: 1fr;
    }

    .built-house-card {
        gap: 12px;
        padding: 12px;
        border-radius: 24px;
    }

    .built-house-card__image {
        border-radius: 18px;
    }

    .built-house-card__body {
        gap: 10px;
        padding: 2px 2px 4px;
    }

    .built-house-card__body h3 {
        font-size: clamp(1.18rem, 6.2vw, 1.54rem);
    }

    .built-house-card__subtitle {
        font-size: 0.92rem;
    }

    .built-house-card__area {
        min-height: 28px;
        font-size: 0.82rem;
    }

    .built-house-card__body p {
        font-size: 0.96rem;
        padding: 12px 13px;
        max-height: 14.5rem;
    }

    .built-house-card__meta-item {
        padding: 11px 12px;
        border-radius: 14px;
    }

    .built-house-card__price strong {
        font-size: 1.3rem;
    }

    .work-stages__grid {
        grid-template-columns: 1fr;
    }

    .gallery-lightbox {
        padding: 14px;
    }

    .gallery-lightbox__dialog {
        padding: 14px;
        border-radius: 22px;
    }

    .admin-house-card {
        padding: 16px;
    }

    .admin-house-gallery {
        grid-template-columns: 1fr;
    }
}

/* Boundary editor */
.boundary-admin__header {
    max-width: 980px;
    margin-bottom: 28px;
}

.boundary-editor {
    --boundary-scale: 1;
}

.boundary-editor__layout {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.boundary-editor__sidebar,
.boundary-editor__stage-card {
    display: grid;
    gap: 20px;
}

.boundary-editor__sidebar-head h3 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.1;
}

.boundary-editor__sidebar-head p {
    color: var(--text-soft);
    line-height: 1.7;
}

.boundary-editor__toolbar,
.boundary-editor__actions,
.boundary-editor__zoom,
.boundary-editor__points-wrap {
    display: grid;
    gap: 14px;
}

.boundary-editor__field {
    gap: 10px;
}

.boundary-editor__selection-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.boundary-editor__selection-row select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(70, 105, 77, 0.14);
    border-radius: 16px;
    background: rgba(255, 252, 246, 0.88);
    color: var(--text);
    font: inherit;
}

.boundary-editor__zoom {
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 252, 246, 0.72);
    border: 1px solid rgba(70, 105, 77, 0.1);
}

.boundary-editor__zoom > span,
.boundary-editor__points-head span {
    color: rgba(70, 105, 77, 0.72);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.boundary-editor__zoom-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.boundary-editor__zoom-buttons .button.is-active {
    background: rgba(103, 139, 95, 0.18);
    border-color: rgba(103, 139, 95, 0.3);
    color: var(--accent-strong);
}

.boundary-editor__actions .button {
    width: 100%;
}

.boundary-editor__status {
    min-height: 24px;
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

.boundary-editor__status[data-state="success"] {
    color: #1f6a34;
}

.boundary-editor__status[data-state="error"] {
    color: #8d2a2a;
}

.boundary-editor__points-wrap {
    min-height: 0;
}

.boundary-editor__points-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.boundary-editor__points-head strong {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 500;
}

.boundary-editor__points {
    display: grid;
    gap: 12px;
    max-height: 560px;
    overflow: auto;
    padding-right: 4px;
}

.boundary-editor__point-row {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.78);
    border: 1px solid rgba(70, 105, 77, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.boundary-editor__point-row.is-active {
    border-color: rgba(103, 139, 95, 0.34);
    box-shadow: 0 0 0 4px rgba(103, 139, 95, 0.1);
}

.boundary-editor__point-row strong {
    font-size: 0.98rem;
}

.boundary-editor__point-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.boundary-editor__point-grid label {
    display: grid;
    gap: 8px;
    color: var(--text-soft);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.boundary-editor__point-grid input {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(70, 105, 77, 0.14);
    border-radius: 14px;
    background: rgba(255, 252, 246, 0.94);
    color: var(--text);
    font: inherit;
}

.boundary-editor__point-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.boundary-editor__canvas-wrap {
    overflow: auto;
    border-radius: 28px;
    border: 1px solid rgba(70, 105, 77, 0.12);
    background: rgba(246, 242, 225, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.boundary-editor__canvas {
    width: max(100%, calc(1180px * var(--boundary-scale)));
    min-width: 100%;
}

.boundary-editor__svg {
    display: block;
    width: 100%;
    height: auto;
    background: rgba(246, 242, 225, 0.92);
}

.boundary-editor__plot {
    fill: rgba(45, 208, 85, 0.18);
    stroke: rgba(45, 208, 85, 0.9);
    stroke-width: 9;
    vector-effect: non-scaling-stroke;
    cursor: pointer;
    transition: fill 0.18s ease, stroke 0.18s ease, opacity 0.18s ease;
}

.boundary-editor__plot:hover {
    fill: rgba(45, 208, 85, 0.24);
}

.boundary-editor__plot.is-selected {
    fill: rgba(247, 200, 58, 0.18);
    stroke: rgba(212, 102, 32, 0.96);
}

.boundary-editor__handle {
    fill: #fffdf8;
    stroke: #d06a22;
    stroke-width: 7;
    vector-effect: non-scaling-stroke;
    cursor: grab;
}

.boundary-editor__handle.is-active {
    fill: #fff1d6;
    stroke: #9e4e16;
}

.boundary-editor__handle-label {
    fill: #24352d;
    font-family: "Geologica", "Segoe UI", sans-serif;
    font-size: 42px;
    font-weight: 700;
    text-anchor: middle;
    pointer-events: none;
}

.boundary-editor__help {
    display: grid;
    gap: 14px;
}

.boundary-editor__help .admin-note {
    height: 100%;
}

@media (max-width: 1199.98px) {
    .boundary-editor__layout {
        grid-template-columns: 1fr;
    }

    .boundary-editor__points {
        max-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .boundary-editor__selection-row {
        grid-template-columns: 1fr;
    }

    .boundary-editor__selection-row .button,
    .boundary-editor__zoom-buttons .button {
        width: 100%;
    }

    .boundary-editor__zoom-buttons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .boundary-editor__point-grid {
        grid-template-columns: 1fr;
    }
}

.section--developer {
    padding-top: 0;
}

.developer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
    gap: clamp(20px, 4vw, 52px);
    align-items: center;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(70, 105, 77, 0.14);
    background: linear-gradient(165deg, rgba(255, 252, 243, 0.96), rgba(249, 242, 221, 0.96));
    box-shadow: 0 18px 40px rgba(120, 88, 42, 0.12);
}

.developer-card__content {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.developer-card h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.08;
}

.developer-card__media {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 320px);
}

.developer-card__logo {
    display: block;
    width: min(100%, clamp(150px, 19vw, 300px));
    height: auto;
    max-height: 240px;
    object-fit: contain;
}

.developer-card p {
    margin: 0;
    color: var(--text-soft);
    max-width: 62ch;
}

.developer-card .button {
    margin-top: 2px;
}

@media (max-width: 991.98px) {
    .developer-card {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .developer-card__media {
        justify-self: start;
    }

    .developer-card__logo {
        width: clamp(104px, 30vw, 176px);
        max-height: none;
    }
}

@media (max-width: 767.98px) {
    .developer-card {
        padding: 22px;
        border-radius: 20px;
    }

    .developer-card__content {
        gap: 12px;
    }
}
