:root {
  --background: #F4F0E8;
  --foreground: #1C1C1A;
  --card: #FFFFFF;
  --primary: #1E3D2F;
  --primary-hover: #183328;
  --primary-foreground: #F4F0E8;
  --primary-soft: rgba(30, 61, 47, 0.1);
  --primary-soft-strong: rgba(30, 61, 47, 0.15);
  --muted: #EDE8DD;
  --muted-foreground: #6B6557;
  --accent: #C4663A;
  --accent-light: #E8A87C;
  --border: rgba(30, 61, 47, 0.14);
  --radius: 0.75rem;
  --radius-card: 1rem;
  --radius-control: 0.75rem;
  --radius-icon: 0.75rem;
  --shadow: 0 10px 40px rgba(30, 61, 47, 0.08);
  --shadow-hover: 0 12px 32px rgba(30, 61, 47, 0.12);
  --overlay-bg: rgba(30, 61, 47, 0.92);
  --overlay-accent-bg: rgba(196, 102, 58, 0.92);
  --overlay-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  --card-hover-border: rgba(30, 61, 47, 0.2);
  --on-dark-muted: rgba(255, 255, 255, 0.65);
  --on-dark-subtle: rgba(255, 255, 255, 0.72);
  --label-tracking: 0.15em;
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1280px;
  --header-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--background);
  scrollbar-gutter: stable;
}
body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
input, textarea { font: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  box-sizing: border-box;
}
.font-heading { font-family: var(--font-heading); }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  flex-shrink: 0;
  background: #F4F0E8;
  background: rgba(244, 240, 232, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header > .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  box-sizing: border-box;
}
.header-inner {
  display: flex; align-items: center; gap: 0.75rem;
  height: var(--header-height);
}
.site-header svg { display: block; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 0.625rem; border: none; background: none; cursor: pointer; flex-shrink: 0; text-decoration: none; }
.logo-mark {
  width: 42px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; gap: 1px; }
.logo-text strong {
  font-family: var(--font-heading); font-size: 13px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary);
}
.logo-text span {
  font-family: var(--font-heading); font-size: 9px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground);
}
.logo--footer .logo-text strong { color: #fff; }
.logo--footer .logo-text span { color: rgba(255,255,255,0.72); }
.main-nav { display: none; align-items: center; gap: 2px; margin-left: 1rem; }
.main-nav a {
  padding: 0.5rem 0.875rem; font-size: 0.875rem; font-weight: 500;
  font-family: var(--font-heading); border-radius: 8px; transition: 0.2s;
}
.main-nav a:hover { background: var(--muted); }
.main-nav a.active { background: var(--primary); color: var(--primary-foreground); }
.header-spacer { flex: 1; }
.header-phone {
  display: none; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; font-weight: 600; color: var(--primary);
  font-family: var(--font-heading); line-height: 1; height: 36px; flex-shrink: 0;
}
.header-phone svg { width: 14px; height: 14px; }
.header-social { display: none; align-items: center; gap: 0.125rem; flex-shrink: 0; }
.header-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; border-radius: 8px;
  opacity: 0.85; transition: 0.2s;
}
.header-social a svg { width: 18px; height: 18px; }
.header-social a:hover { opacity: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: var(--radius);
  font-family: var(--font-heading), system-ui, sans-serif; font-weight: 700; font-size: 0.8125rem;
  border: none; cursor: pointer; transition: 0.2s; min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline-dark { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline-dark:hover { background: var(--muted); }
.btn-sm { padding: 0.5rem 0.875rem; font-size: 0.75rem; min-height: 36px; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: rgba(255,255,255,0.94); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.header-cta { display: none; min-height: 36px; padding: 0.5rem 1rem; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; flex-shrink: 0;
  border: none; background: none; cursor: pointer; border-radius: 8px;
  color: var(--primary);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.menu-toggle svg { width: 20px; height: 20px; display: block; stroke: currentColor; }
.menu-toggle:hover { background: var(--muted); }
.mobile-menu-backdrop {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(28, 28, 26, 0.42);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.mobile-menu-backdrop.open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mobile-menu {
  position: fixed; left: 0; right: 0;
  top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  z-index: 49;
  width: auto;
  max-height: min(28rem, calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px) - 1rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #F4F0E8;
  background: rgba(244, 240, 232, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 12px 32px rgba(30, 61, 47, 0.12);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-0.5rem);
  transition: opacity 0.2s ease, transform 0.22s ease, visibility 0.2s ease;
  overscroll-behavior: contain;
}
.mobile-menu.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
html.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
  scrollbar-gutter: auto;
  scroll-behavior: auto;
}
body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body.menu-open .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 51;
  width: 100%;
}
.mobile-menu-inner { padding: 0.625rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
.mobile-menu-inner > a {
  display: block; padding: 0.75rem 0.875rem; border-radius: 10px;
  font-family: var(--font-heading); font-weight: 500; font-size: 0.875rem;
  color: var(--foreground);
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-inner > a:hover { background: var(--muted); }
.mobile-menu-inner > a.active { background: var(--primary); color: var(--primary-foreground); }
.mobile-menu-footer {
  display: flex; flex-direction: column; gap: 0.625rem;
  padding-top: 0.625rem; margin-top: 0.625rem; border-top: 1px solid var(--border);
}
.mobile-menu-social { display: flex; align-items: center; gap: 0.5rem; }
.mobile-menu-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; background: var(--muted);
  transition: background 0.2s;
}
.mobile-menu-social a:hover { background: rgba(30, 61, 47, 0.12); }
.mobile-menu-social a svg { width: 18px; height: 18px; }
.mobile-menu-phone {
  font-size: 0.875rem; font-weight: 600; color: var(--primary);
}
.mobile-menu-cta { width: 100%; min-height: 40px; font-size: 0.8125rem; }
.header-phone-text { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg-img,
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background-color: var(--primary);
}
.hero picture,
.block-card-image picture,
.about-image-wrap picture {
  display: contents;
}
.hero-bg {
  background-size: cover; background-position: center center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(12,28,18,0.82) 0%, rgba(12,28,18,0.62) 50%, rgba(12,28,18,0.45) 100%),
    rgba(10, 22, 14, 0.35);
}
.hero-content {
  position: relative; z-index: 2; width: 100%;
}
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; color: #fff; line-height: 1.06; margin-bottom: 1.25rem;
}
.hero p { font-size: 1.125rem; color: var(--on-dark-subtle); max-width: 36rem; margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-muted { background: rgba(237,232,221,0.5); }
.section-title { font-family: var(--font-heading); font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 0.5rem; }
.section-subtitle { color: var(--muted-foreground); margin-bottom: 3rem; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }

/* Home blocks grid */
.blocks-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.block-card {
  display: block; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden; transition: 0.3s; text-align: left;
}
.block-card:hover { box-shadow: var(--shadow); border-color: var(--card-hover-border); transform: translateY(-2px); }
.block-card-image {
  position: relative; height: 13rem; overflow: hidden; background: var(--primary);
}
.block-card-image-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background-color: var(--primary);
  transition: transform 0.5s ease;
}
.block-card:hover .block-card-image-bg { transform: scale(1.05); }
.block-card-image::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.28), transparent 55%);
}
/* Overlay pills on photos */
.block-tag,
.village-card-distance,
.village-card-top .status-badge {
  backdrop-filter: blur(4px);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: var(--overlay-shadow);
  line-height: 1.3;
  background: var(--overlay-bg);
  color: var(--primary-foreground);
}

.block-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: 10px; padding: 0.25rem 0.75rem;
  text-transform: uppercase; letter-spacing: var(--label-tracking);
}

.village-card-top .status-badge {
  font-size: 10px; padding: 0.25rem 0.625rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}

.village-card-top .status-badge.status-limited { background: var(--overlay-accent-bg); }
.village-card-top .status-badge.status-start { background: rgba(61, 139, 245, 0.88); }
.village-card-top .status-badge.status-soon { background: rgba(30, 61, 47, 0.78); }
.village-card-top .status-badge.status-default { background: rgba(30, 61, 47, 0.78); }
.block-card-body { padding: 1.25rem; }
.block-card-body h3 { font-family: var(--font-heading); font-weight: 700; margin-bottom: 0.375rem; transition: 0.2s; }
.block-card:hover h3 { color: var(--primary); }
.block-card-body p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.block-link { display: flex; align-items: center; gap: 0.375rem; margin-top: 0.75rem; font-size: 0.75rem; font-weight: 700; color: var(--primary); font-family: var(--font-heading); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
.about-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: var(--label-tracking);
  text-transform: uppercase; color: var(--accent); font-family: var(--font-heading); margin-bottom: 1rem;
}
.about-text p { color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.7; }
.about-image-wrap { position: relative; }
.about-image {
  display: block;
  width: 100%; height: 20rem; border-radius: var(--radius-card);
  object-fit: cover; object-position: center;
  box-shadow: var(--shadow);
  background: var(--primary);
}
.about-badge {
  position: absolute; bottom: -1.25rem; left: -1.25rem;
  background: var(--card); border-radius: var(--radius-card); padding: 1rem; box-shadow: var(--shadow);
  border: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem;
}
.about-badge-icon,
.feature-icon,
.contact-icon,
.facility-icon,
.form-success-icon {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; background: var(--primary-soft); color: var(--primary);
  border-radius: var(--radius-icon);
}
.about-badge-icon { width: 40px; height: 40px; }
.about-badge strong { font-family: var(--font-heading); font-size: 0.875rem; display: block; }
.about-badge span { font-size: 0.75rem; color: var(--muted-foreground); }

/* Why us */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.feature-card {
  padding: 1.5rem; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-card); transition: 0.3s;
}
.feature-card:hover { border-color: var(--card-hover-border); box-shadow: var(--shadow-hover); }
.feature-icon { width: 44px; height: 44px; margin-bottom: 1rem; }
.feature-card h3 { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* CTA section */
.cta-section { background: var(--primary); padding: 5rem 0; text-align: center; }
.cta-section h2 { font-family: var(--font-heading); font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; color: var(--primary-foreground); margin-bottom: 1rem; }
.cta-section p { color: var(--on-dark-muted); margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Page hero */
.page-hero { background: var(--primary); padding: 4rem 0; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: var(--primary-foreground); margin-bottom: 0.5rem; }
.page-hero p { color: var(--on-dark-muted); font-size: 1rem; margin: 0; }

.site-main {
  width: 100%;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.site-main > .page-hero,
.site-main > .hero {
  width: 100%;
  flex-shrink: 0;
}

.site-main--villages .villages-page {
  flex: 1 0 auto;
}

@media (max-width: 639px) {
  :root { --page-gutter: 1rem; --header-height: 56px; }
  .site-header > .container { padding-inline: var(--page-gutter); }
  .header-inner { gap: 0.375rem; height: var(--header-height); }
  .logo { gap: 0.5rem; min-width: 0; }
  .logo-mark { width: 36px; height: 24px; }
  .logo-text strong { font-size: 11px; letter-spacing: 0.1em; }
  .logo-text span { font-size: 8px; letter-spacing: 0.14em; }
  .menu-toggle,
  .header-search-trigger { width: 40px; height: 40px; }
  .hero {
    min-height: max(520px, calc(100dvh - var(--header-height)));
    align-items: center;
    padding-bottom: 0;
  }
  .hero h1 { font-size: clamp(1.875rem, 8.5vw, 2.5rem); margin-bottom: 1rem; }
  .hero p { font-size: 0.9375rem; margin-bottom: 1.5rem; line-height: 1.55; }
  .hero-actions { flex-direction: column; width: 100%; gap: 0.625rem; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 48px; font-size: 0.875rem; }
  .hero-scroll { display: none; }
  .mobile-menu {
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    max-height: min(32rem, calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px) - 1rem));
  }
  .about-image { height: 16rem; }
  .about-badge { left: 0.75rem; bottom: -1rem; max-width: calc(100% - 1.5rem); }
  .container {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
  .page-hero { padding: 2.25rem 0 1.75rem; }
  .page-hero h1 { font-size: 1.75rem; line-height: 1.15; margin-bottom: 0.375rem; }
  .page-hero p { font-size: 0.875rem; line-height: 1.5; }
  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-subtitle { margin-bottom: 2rem; }
  .contacts-grid { padding-top: 1.5rem; padding-bottom: 2.5rem; gap: 1.25rem; }
  .contacts-info { gap: 1.25rem; }
  .contacts-title { font-size: 1.125rem; }
  .contacts-list { gap: 1rem; }
  .contacts-list { gap: 1.25rem; }
  .contact-item { gap: 0.75rem; align-items: center; }
  .contact-icon { width: 36px; height: 36px; border-radius: 10px; }
  .contact-icon svg { width: 15px; height: 15px; }
  .contact-item-body { gap: 0.1875rem; }
  .contact-item label { font-size: 0.6875rem; }
  .contact-value,
  .contact-item p,
  .contact-address-line { font-size: 0.8125rem; line-height: 1.45; }
  .contacts-messengers { gap: 0.75rem; }
  .messenger-btn { font-size: 0.6875rem; padding: 0.5rem 0.875rem; min-height: 40px; }
  .form-card { padding: 1.25rem; border-radius: 1rem; }
  .form-card h2 { font-size: 1.125rem; }
  .form-card > p { font-size: 0.8125rem; margin-bottom: 1.25rem; }
  .villages-page { padding-bottom: 2rem; }
  .villages-toolbar { padding: 1.25rem 0 1rem; }
}

/* Filters */
.villages-page {
  padding-bottom: 2.5rem;
  width: 100%;
}
.villages-toolbar {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  padding: 1.75rem 0 1.25rem;
  width: 100%;
}
.filter-wrap { position: relative; flex-shrink: 0; }
.filter-toggle {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.875rem; min-height: 38px;
  border: 1px solid var(--border); border-radius: var(--radius-control);
  background: var(--card); color: var(--primary);
  font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 700;
  cursor: pointer; transition: 0.2s; box-shadow: 0 1px 2px rgba(30, 61, 47, 0.06);
}
.filter-toggle:hover,
.filter-wrap.open .filter-toggle {
  background: var(--primary); color: var(--primary-foreground); border-color: var(--primary);
}
.filter-badge {
  min-width: 1.125rem; height: 1.125rem; padding: 0 0.3rem;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 0.625rem; font-weight: 700; line-height: 1.125rem; text-align: center;
}
.filter-wrap.open .filter-toggle .filter-badge { background: #fff; color: var(--primary); }
.filter-menu {
  position: absolute; top: calc(100% + 0.5rem); left: 0; z-index: 40;
  width: min(20rem, calc(100vw - 3rem));
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  padding: 1rem;
}
.filter-menu-form { display: grid; gap: 0.875rem; }
.filter-section-title {
  font-family: var(--font-heading); font-size: 0.625rem; font-weight: 700;
  letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.filter-chip { cursor: pointer; }
.filter-chip input { position: absolute; opacity: 0; pointer-events: none; }
.filter-chip span {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0.3125rem 0.75rem;
  border-radius: 999px; border: 1px solid rgba(30, 61, 47, 0.18); background: var(--background);
  font-size: 0.6875rem; font-weight: 700; font-family: var(--font-heading);
  color: var(--foreground); transition: 0.2s;
}
.filter-chip:hover span { background: var(--muted); border-color: rgba(30, 61, 47, 0.28); }
.filter-chip input:checked + span {
  background: var(--primary); border-color: var(--primary); color: var(--primary-foreground);
}
.filter-menu-actions {
  display: flex; gap: 0.5rem; padding-top: 0.25rem; border-top: 1px solid var(--border);
}
.filter-menu-actions .btn { flex: 1; justify-content: center; }
.filter-summary { display: flex; flex-wrap: wrap; gap: 0.375rem; align-items: center; min-width: 0; }
.filter-tag {
  display: inline-flex; align-items: center; padding: 0.25rem 0.5625rem;
  border-radius: 999px; background: var(--card); border: 1px solid rgba(30, 61, 47, 0.16);
  font-size: 0.6875rem; font-weight: 600; font-family: var(--font-heading); color: var(--primary);
}
.filter-tag-muted { color: var(--muted-foreground); font-style: italic; font-weight: 500; font-family: var(--font-body); }

/* Village cards */
.villages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0 0 2.5rem;
  width: 100%;
  justify-items: stretch;
}
.village-card--lazy-hidden {
  display: none;
}
.villages-load-sentinel {
  height: 1px;
  margin: -1.5rem 0 2rem;
  pointer-events: none;
  visibility: hidden;
}
.villages-load-sentinel[hidden] {
  display: none;
}
.villages-load-status {
  margin: -1rem 0 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
.villages-load-status[hidden] {
  display: none;
}
.village-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; cursor: pointer; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.village-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.village-card-image {
  position: relative; height: 14rem; background-color: #e8e4dc; overflow: hidden; flex-shrink: 0;
}
.village-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 3;
  background: var(--accent-light); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.village-card:hover .village-card-accent { transform: scaleX(1); }
.village-card-image::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 55%);
}
.village-card:hover .village-card-image-img { transform: scale(1.05); }
.village-card-image picture { display: contents; }
.village-card-image-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.5s ease;
}
.village-card-top { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2; }
.village-card-distance {
  position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 11px; font-weight: 600; padding: 0.25rem 0.625rem;
}

.status-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 0.25rem 0.625rem; border-radius: 999px; font-family: var(--font-heading); line-height: 1.3;
}
.status-sale { background: var(--primary-soft); color: var(--primary); }
.status-start { background: rgba(61, 139, 245, 0.14); color: #1d5fbf; }
.status-limited { background: rgba(196, 102, 58, 0.14); color: #8b3d1f; }
.status-soon { background: rgba(30, 61, 47, 0.08); color: var(--primary); }
.status-default { background: var(--muted); color: var(--muted-foreground); }
.village-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.village-card-body h3 {
  font-family: var(--font-heading); font-size: 15px; font-weight: 700;
  margin-bottom: 0.375rem; color: var(--foreground); transition: color 0.2s;
}
.village-card:hover h3 { color: var(--primary); }
.village-location {
  font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 0;
  display: flex; align-items: center; gap: 0.25rem;
}
.village-location svg,
.village-location-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.village-location-stack { margin-bottom: 1rem; }
.village-location-stack .village-location { margin-bottom: 0.25rem; }
.village-location-stack .village-location:last-child { margin-bottom: 0; }
.village-location--district { font-size: 0.75rem; line-height: 1.35; }
.village-price-row {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1rem;
}
.village-price {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--foreground); line-height: 1.1;
}
.village-price-label { font-size: 10px; color: var(--muted-foreground); margin-bottom: 2px; }
.village-area-col { text-align: right; }
.village-area { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.village-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.875rem; margin-top: auto; border-top: 1px solid var(--border);
}
.village-available { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--muted-foreground); }
.village-available-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; opacity: 0.65; }
.village-more {
  font-size: 0.75rem; font-weight: 700; color: var(--primary);
  font-family: var(--font-heading); transition: gap 0.2s;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.village-card:hover .village-more { gap: 0.5rem; }

@media (max-width: 767px) {
  .site-main--villages .villages-grid {
    grid-template-columns: 1fr;
    gap: 1.125rem;
  }
  .village-card { border-radius: var(--radius-card); max-width: 100%; }
  .village-card-image { height: 11.5rem; }
  .village-card-top { top: 0.625rem; left: 0.625rem; }
  .village-card-distance {
    bottom: 0.625rem; right: 0.625rem;
    font-size: 0.6875rem; padding: 0.25rem 0.5rem;
  }
  .village-card-distance svg { width: 9px; height: 9px; }
  .status-badge { font-size: 0.6875rem; padding: 0.25rem 0.5rem; max-width: none; }
  .village-card-body { padding: 1rem; }
  .village-card-body h3 { font-size: 1rem; margin-bottom: 0.375rem; line-height: 1.3; }
  .village-location { font-size: 0.75rem; margin-bottom: 0; line-height: 1.35; }
  .village-location-stack { margin-bottom: 0.875rem; }
  .village-location svg,
  .village-location-icon { width: 11px; height: 11px; }
  .village-location--district { font-size: 0.75rem; }
  .village-price-row { margin-bottom: 0.875rem; align-items: flex-end; gap: 0.5rem; }
  .village-price { font-size: 1.125rem; }
  .village-price-label { font-size: 0.625rem; }
  .village-area { font-size: 0.8125rem; }
  .village-card-footer {
    flex-direction: row; align-items: center; justify-content: space-between; gap: 0.5rem;
    padding-top: 0.75rem;
  }
  .village-available { font-size: 0.75rem; line-height: 1.35; }
  .village-more { font-size: 0.75rem; }
}

/* Village detail */
.detail-page { padding-bottom: 0; }
.detail-header { background: var(--primary-soft); border-bottom: 1px solid var(--border); padding: 1.25rem 0 1.5rem; color: var(--foreground); }
.back-link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: #4d473c; margin-bottom: 1rem; font-family: var(--font-heading); }
.back-link:hover { color: var(--primary); }
.detail-title-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title price" "meta meta";
  gap: 0.5rem 1.25rem; align-items: start;
}
.detail-title-head {
  grid-area: title; display: flex; align-items: flex-start; gap: 0.625rem; flex-wrap: wrap; min-width: 0;
}
.detail-title-head h1 { margin: 0; }
.detail-price-block { grid-area: price; text-align: right; flex-shrink: 0; }
.detail-price-note { font-size: 0.75rem; color: var(--muted-foreground); white-space: nowrap; }
.detail-title-row h1 { font-family: var(--font-heading); font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.15; }
.detail-meta { grid-area: meta; font-size: 0.875rem; color: #4d473c; line-height: 1.5; margin: 0; }
.detail-actions { display: none; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.detail-section-title { font-size: 1.5rem; margin: 0; }
.detail-block { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.detail-main {
  display: flex; flex-direction: column; gap: 1.75rem; min-width: 0;
}
.detail-main > .gallery-grid,
.detail-main > .detail-description,
.detail-main > .stats-strip,
.detail-main > [data-tabs],
.detail-main > .detail-block,
.detail-main > .genplan { margin: 0; }
.detail-layout {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  padding-top: 2rem; padding-bottom: 2.5rem;
  align-items: start;
}
.gallery-grid {
  display: grid; grid-template-columns: 1fr; gap: 0.625rem; margin: 0;
  min-width: 0; overflow: hidden;
}
.gallery-main {
  position: relative; border-radius: 12px; overflow: hidden; background: var(--primary);
  min-height: 280px; cursor: pointer; min-width: 0;
  display: block; width: 100%; padding: 0; border: none; font: inherit; text-align: left;
}
.gallery-main img,
.gallery-main picture { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.gallery-main picture { display: contents; }
.gallery-counter-hint {
  position: absolute; right: 0.875rem; bottom: 0.875rem; z-index: 2;
  padding: 0.375rem 0.75rem; border-radius: 999px;
  background: rgba(20, 35, 28, 0.72); color: #fff;
  font-size: 0.75rem; font-weight: 600; pointer-events: none;
}
.gallery-thumbs {
  display: none;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.gallery-thumb {
  position: relative; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: var(--primary); min-width: 0; min-height: 0;
  flex: 1 1 0;
  display: block; width: 100%; padding: 0; border: none; font: inherit;
}
.gallery-thumb img,
.gallery-thumb picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb picture { display: contents; }
.gallery-thumb-more {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 35, 28, 0.55); color: #fff;
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  pointer-events: none;
}
.detail-description {
  color: var(--muted-foreground); line-height: 1.7; margin: 0;
  font-size: 0.9375rem; max-width: 100%; word-break: break-word;
}
.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0; min-width: 0; }
.stat-box { border-radius: 12px; padding: 1rem; text-align: center; background: var(--muted); }
.stat-box.highlight { background: var(--primary-soft); }
.stat-box strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.stat-box.highlight strong { color: var(--primary); }
.stat-box span { font-size: 0.75rem; color: var(--muted-foreground); }
.stat-box.highlight span { color: #3d5348; }

/* Tabs */
.tabs-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  border-bottom: 1px solid var(--border);
  margin: 0;
  overflow: hidden;
}
.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.625rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-heading);
  line-height: 1.3;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted-foreground);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: normal;
  text-align: center;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
[data-tabs] { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.spec-row { display: flex; gap: 1.5rem; padding: 0.875rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.spec-row label { width: 10rem; flex-shrink: 0; color: var(--muted-foreground); }
.spec-row span { font-weight: 500; }
.infra-grid { display: grid; grid-template-columns: 1fr; gap: 0.625rem; }
.infra-item {
  display: flex; align-items: center; gap: 0.625rem; background: var(--muted);
  border-radius: 12px; padding: 0.75rem 1rem; font-size: 0.875rem;
}
.infra-check {
  width: 20px; height: 20px; border-radius: 50%; background: var(--primary-soft-strong);
  display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0;
}
.tab-empty-note {
  margin: 0; font-size: 0.875rem; color: var(--muted-foreground);
}
.advantages-text {
  margin: 0;
  max-width: 100%;
}
.advantages-text p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted-foreground);
  text-align: left;
}
.advantages-text p:last-child { margin-bottom: 0; }
.facilities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.facility-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.625rem;
  padding: 1.25rem; background: var(--muted); border-radius: var(--radius-card); text-align: center;
}
.facility-icon { width: 48px; height: 48px; }
.facility-item span { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; }
.map-placeholder {
  position: relative; height: 16rem; background: var(--muted); border-radius: var(--radius-card);
  border: 1px solid var(--border); overflow: hidden; margin-bottom: 1rem;
}
.map-placeholder-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(30,61,47,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30,61,47,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-card {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.map-card-inner {
  background: rgba(244, 240, 232, 0.96); backdrop-filter: blur(4px);
  border-radius: var(--radius-control); padding: 1.5rem; text-align: center; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.genplan {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 2px dashed var(--border);
  background: var(--muted);
  margin: 0;
}
.genplan:not(.genplan--has-image) {
  min-height: 240px;
  height: 340px;
}
.genplan--has-image {
  border-style: solid;
  border-color: var(--border);
  background: var(--card);
  height: auto;
  min-height: 0;
  padding: 0;
}
.genplan-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.875rem;
  border: none;
  background: var(--muted);
  cursor: pointer;
  position: relative;
  font: inherit;
  text-align: left;
  transition: background 0.2s, box-shadow 0.2s;
}
.genplan-open:hover,
.genplan-open:focus-visible {
  background: var(--primary-soft);
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(30, 61, 47, 0.12);
}
.genplan-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(85vh, 960px);
  object-fit: contain;
  object-position: center top;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
  image-rendering: auto;
}
.genplan-open picture { display: contents; }
.genplan-open-label {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(30, 61, 47, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.genplan-cta {
  margin-top: 0.25rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(244, 240, 232, 0.72);
}
.genplan-cta-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.genplan-cta-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.genplan-cta-link:hover { color: var(--primary-hover); }
.detail-action-bar {
  display: none;
}
.detail-action-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.detail-action-bar-price {
  min-width: 0;
}
.detail-action-bar-price .village-price-label {
  font-size: 0.6875rem;
  margin-bottom: 0.125rem;
}
.detail-action-bar-price .village-price {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
}
.detail-action-bar-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}
.detail-action-bar-btn {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.25;
  border-radius: var(--radius);
  white-space: normal;
  text-align: center;
}
.detail-action-bar-btn.btn-primary {
  box-shadow: 0 4px 14px rgba(30, 61, 47, 0.18);
}
.detail-action-bar-btn.btn-primary:hover {
  box-shadow: 0 6px 18px rgba(30, 61, 47, 0.24);
}
.detail-action-bar-btn.btn-outline-dark {
  background: #fff;
  border: 1.5px solid rgba(30, 61, 47, 0.28);
}
.detail-action-bar-btn.btn-outline-dark:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}
.genplan-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.genplan-card {
  background: rgba(244, 240, 232, 0.96); backdrop-filter: blur(4px);
  border-radius: var(--radius-card); padding: 2rem; text-align: center; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.genplan-card-title { display: block; margin-bottom: 0.25rem; }
.genplan-card-text { font-size: 0.875rem; margin-bottom: 1rem; }

/* Sidebar */
.detail-sidebar { display: none; }
.sidebar-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 1.5rem; box-shadow: var(--shadow); position: sticky; top: 5rem;
}
.sidebar-price-block { margin-bottom: 0; }
.sidebar-card .village-price-label {
  font-size: 0.75rem;
  margin-bottom: 0.375rem;
  letter-spacing: 0.01em;
  color: var(--muted-foreground);
}
.sidebar-price { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.sidebar-price-note {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}
.sidebar-price-note--spacer { visibility: hidden; }
.sidebar-phone-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
}
.sidebar-phone-link:hover { color: var(--accent); }
.sidebar-meta { margin: 1.25rem 0; }
.sidebar-meta-row { display: flex; justify-content: space-between; font-size: 0.75rem; padding: 0.375rem 0; gap: 0.5rem; }
.sidebar-meta-row span:first-child { color: var(--muted-foreground); }
.sidebar-meta-row span:last-child { font-weight: 600; text-align: right; }
.sidebar-actions { display: flex; flex-direction: column; gap: 0.625rem; }
.sidebar-actions .btn { width: 100%; }
.sidebar-phone { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); text-align: center; }

/* Village detail — mobile */
@media (max-width: 639px) {
  .detail-header { padding: 1rem 0 1.125rem; }
  .back-link { font-size: 0.8125rem; margin-bottom: 0.75rem; }
  .detail-title-row {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "meta";
    gap: 0.5rem;
  }
  .detail-title-head { align-items: center; gap: 0.5rem; }
  .detail-title-row h1 { font-size: 1.375rem; line-height: 1.2; }
  .detail-meta { font-size: 0.8125rem; line-height: 1.45; }
  .detail-layout { padding-top: 1.25rem; padding-bottom: 1.75rem; gap: 0; }
  .detail-main { gap: 1.25rem; }
  .detail-block { gap: 0.875rem; }
  .gallery-main { border-radius: 12px; min-height: 0; aspect-ratio: 16 / 10; }
  .gallery-main,
  .gallery-main img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    overflow: visible;
  }
  .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 0.625rem;
    height: auto;
  }
  .gallery-thumb { flex: none; aspect-ratio: 4 / 3; border-radius: 10px; }
  .gallery-counter-hint { right: 0.625rem; bottom: 0.625rem; font-size: 0.6875rem; }
  .gallery-thumb-more { font-size: 1.125rem; }
  .detail-description {
    font-size: 0.875rem; line-height: 1.65;
  }
  .stats-strip { gap: 0.5rem; }
  .stat-box { padding: 0.75rem 0.5rem; border-radius: 12px; }
  .stat-box strong { font-size: 1.125rem; line-height: 1.2; }
  .stat-box span { font-size: 0.6875rem; line-height: 1.3; }
  [data-tabs] { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
  .tab-btn {
    min-height: 2.75rem;
    padding: 0.5625rem 0.375rem;
    font-size: 0.6875rem;
  }
  .spec-row {
    display: flex; gap: 0.75rem; align-items: flex-start;
    padding: 0.75rem 0; font-size: 0.875rem;
  }
  .spec-row label {
    width: 7.5rem; flex-shrink: 0;
    font-size: 0.875rem; font-weight: 400;
    color: var(--muted-foreground); line-height: 1.4;
  }
  .spec-row span {
    flex: 1; min-width: 0;
    font-size: 0.875rem; font-weight: 600; text-align: left;
    line-height: 1.4; word-break: break-word;
  }
  .infra-grid { gap: 0.5rem; grid-template-columns: 1fr; }
  .infra-item { padding: 0.75rem 0.875rem; font-size: 0.8125rem; border-radius: 12px; }
  .genplan:not(.genplan--has-image) { height: 14rem; border-radius: 1rem; }
  .genplan--has-image { height: auto; min-height: 0; }
  .genplan-open { padding: 0.625rem; }
  .genplan-image { max-height: none; border-radius: 8px; }
  .genplan-open-label { right: 0.875rem; bottom: 0.875rem; font-size: 0.6875rem; padding: 0.4375rem 0.625rem; }
  .genplan-card { padding: 1.25rem 1rem; border-radius: 1rem; max-width: calc(100% - 1.5rem); }
  .genplan-card svg { width: 24px; height: 24px; margin-bottom: 0.5rem !important; }
  .genplan-card-title { font-size: 0.9375rem; margin-bottom: 0.25rem; }
  .genplan-card-text { font-size: 0.8125rem !important; margin-bottom: 0.875rem !important; line-height: 1.5; }
  .genplan-card .btn-sm {
    min-height: 36px; padding: 0.5rem 0.875rem; font-size: 0.75rem; width: auto;
  }
  .detail-section-title { font-size: 1.125rem; }
}

/* Steps */
.steps-list { position: relative; }
.steps-list::before {
  content: ''; position: absolute; left: 2rem; top: 2.5rem; bottom: 2.5rem;
  width: 1px; background: var(--border); display: none;
}
.step-item { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 2.5rem; }
.step-num-box {
  width: 64px; height: 64px; border-radius: var(--radius-card); background: var(--card);
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; color: var(--primary);
}
.step-item h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.375rem; }
.step-item p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.625rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-control); overflow: hidden; background: var(--card); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border: none; background: none; cursor: pointer; text-align: left;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
  color: var(--foreground);
  -webkit-text-fill-color: var(--foreground);
  -webkit-tap-highlight-color: transparent;
}
.faq-question:hover { background: rgba(237,232,221,0.5); }
.faq-chevron { transition: transform 0.3s; color: var(--muted-foreground); flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 1200px; }
.faq-answer-inner { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--border); }
.faq-answer-inner p { padding-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* Contacts */
.contacts-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
.contacts-info {
  display: flex; flex-direction: column; gap: 1.5rem; min-width: 0;
}
.contacts-title {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin: 0;
}
.contacts-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; margin: 0; }
.contact-icon { width: 40px; height: 40px; flex-shrink: 0; }
.contact-item-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.contact-item label {
  display: block; font-size: 11px; color: var(--muted-foreground);
  margin: 0; line-height: 1.3;
}
.contact-value,
.contact-item p {
  font-size: 0.875rem; font-weight: 500; margin: 0; line-height: 1.45;
}
.contact-address { display: flex; flex-direction: column; gap: 0.125rem; }
.contact-address-line { display: block; font-size: 0.875rem; font-weight: 500; line-height: 1.45; }
.contacts-messengers { display: flex; flex-direction: column; gap: 0.875rem; }
.contacts-messengers-label {
  font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--muted-foreground); margin: 0;
}
.messenger-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.messenger-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1rem;
  border-radius: var(--radius-control); color: var(--primary-foreground); font-size: 0.75rem; font-weight: 600;
  font-family: var(--font-heading); min-height: 44px; transition: 0.2s;
}
.messenger-tg { background: var(--primary); }
.messenger-tg:hover { background: var(--primary-hover); }
.messenger-wa { background: var(--primary); }
.messenger-wa:hover { background: var(--primary-hover); }
.messenger-max { background: var(--primary); }
.messenger-max:hover { background: var(--primary-hover); }
.messenger-btn svg,
.messenger-btn .icon-max { flex-shrink: 0; }
.messenger-btn .icon-max {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.header-social .icon-max {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(36%) sepia(98%) saturate(1672%) hue-rotate(199deg) brightness(103%) contrast(95%);
}
.footer-social .icon-max {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.mobile-menu-social .icon-max {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(36%) sepia(98%) saturate(1672%) hue-rotate(199deg) brightness(103%) contrast(95%);
}
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 2rem; }
.form-card h2 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.375rem; }
.form-card > p { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; font-family: var(--font-heading); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; background: var(--muted); border: 1px solid var(--border);
  border-radius: var(--radius-control); outline: none; transition: 0.2s; min-height: 44px;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 11px; color: var(--muted-foreground); text-align: center; margin-top: 0.75rem; line-height: 1.5; }
.form-note a { color: var(--primary); text-decoration: none; }
.form-note a:hover { opacity: 0.85; }
.form-success { text-align: center; padding: 3rem 1rem; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.5rem; }
.form-success h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.form-success p { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6; }

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3.5rem 0 0;
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
}

.site-footer > .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  box-sizing: border-box;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo .logo-text strong { color: var(--primary-foreground); }
.footer-logo .logo-text span { color: var(--on-dark-subtle); }
.footer-desc { margin-top: 1.25rem; color: var(--on-dark-muted); font-size: 0.875rem; line-height: 1.6; max-width: 20rem; }
.footer-col h3 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--on-dark-muted); margin-bottom: 1.25rem; font-family: var(--font-heading);
}
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col a { color: var(--on-dark-subtle); font-size: 0.875rem; transition: 0.2s; }
.footer-col a:hover { color: var(--primary-foreground); }
.footer-contacts p { color: var(--on-dark-subtle); font-size: 0.875rem; margin-bottom: 0.625rem; }
.footer-work-hours { white-space: pre-line; line-height: 1.5; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-control); background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: var(--primary-foreground); transition: 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.75rem; color: rgba(255,255,255,0.55);
}
.footer-bottom p { margin: 0; }
.footer-policy-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-policy-link:hover { color: rgba(255,255,255,0.9); }

.legal-doc {
  max-width: 48rem;
  color: var(--foreground);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.legal-doc-lead { font-size: 1rem; margin-bottom: 2rem; }
.legal-doc h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-family: var(--font-serif);
  color: var(--primary);
}
.legal-doc p { margin: 0 0 0.75rem; }
.legal-doc ul { margin: 0 0 1rem 1.25rem; padding: 0; }
.legal-doc li { margin-bottom: 0.35rem; }
.legal-doc a { color: var(--primary); text-decoration: none; }
.legal-doc a:hover { opacity: 0.85; }
.legal-doc-updated { margin-top: 1.5rem; color: var(--muted-foreground); font-size: 0.875rem; }
.legal-doc-messengers a {
  font-weight: 500;
}
.legal-doc-messengers li {
  margin-bottom: 0.5rem;
}
.legal-doc-back { margin-top: 2.5rem; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.9); align-items: center; justify-content: center; padding: 1rem;
}
.lightbox.open { display: flex; flex-direction: column; }
.lightbox-stage {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 0;
}
.lightbox img { max-width: min(96vw, 1400px); max-height: 88vh; object-fit: contain; border-radius: 12px; }
.lightbox--genplan .lightbox-stage {
  overflow: hidden;
  max-width: min(96vw, 1400px);
  max-height: 88vh;
  touch-action: none;
}
.lightbox--genplan .lightbox-stage img {
  max-width: 100%;
  max-height: 88vh;
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox--genplan.lightbox--zoomed .lightbox-stage { cursor: grab; }
.lightbox--genplan.lightbox--zoomed .lightbox-stage:active { cursor: grabbing; }
.lightbox-zoom {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-zoom-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-zoom-btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-zoom-reset {
  width: auto;
  min-width: 36px;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.lightbox-zoom-value {
  min-width: 3rem;
  text-align: center;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}
.lightbox--single .lightbox-prev,
.lightbox--single .lightbox-next { display: none; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,255,255,0.1); border: none; color: #fff; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
  border: none; color: #fff; cursor: pointer;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  padding: 0.375rem 0.875rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 0.8125rem; font-weight: 600; pointer-events: none;
}
.lightbox-counter[hidden] { display: none; }
.lightbox-dots { position: absolute; bottom: 1.25rem; display: flex; gap: 0.5rem; }
.lightbox-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.35); cursor: pointer;
}
.lightbox-dots button.active { background: #fff; }

@media (max-width: 767px) {
  .lightbox-zoom { display: none; }
}

.empty-state { text-align: center; padding: 6rem 0; }
.empty-state h2 { font-family: var(--font-heading); color: var(--muted-foreground); margin-bottom: 0.5rem; }

/* Responsive */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: minmax(320px, 420px);
    align-items: stretch;
  }
  .gallery-thumbs {
    display: flex;
    max-height: 100%;
    padding-right: 0;
  }
  .gallery-main { min-height: 100%; height: 100%; }
  .gallery-main img { min-height: 100%; height: 100%; object-fit: cover; }
}

@media (min-width: 1024px) {
  .tab-btn {
    min-height: 3.125rem;
    padding: 0.875rem 0.75rem;
    font-size: 0.875rem;
  }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem 2.5rem; }
  .detail-sidebar { display: block; }
  .detail-price-block,
  .detail-actions { display: none !important; }
  .detail-action-bar { display: none; }
}

@media (max-width: 1023px) {
  .detail-price-block { display: none; }
  .detail-action-bar {
    display: block;
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .detail-action-bar-inner {
    gap: 0.875rem;
  }
  .detail-action-bar-price .village-price {
    font-size: 1.25rem;
  }
  .detail-action-bar-btn {
    font-size: 0.6875rem;
    min-height: 42px;
    padding: 0.5rem 0.625rem;
  }
}
@media (min-width: 480px) and (max-width: 1023px) {
  .detail-action-bar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .detail-action-bar-price {
    flex: 0 0 auto;
  }
  .detail-action-bar-actions {
    flex: 1;
    max-width: 22rem;
    margin-left: auto;
  }
  .detail-action-bar-btn {
    font-size: 0.75rem;
    min-height: 44px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .detail-actions { display: flex; }
}

@media (min-width: 640px) {
  .tabs-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tab-btn {
    min-height: 3rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.8125rem;
  }
  .villages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(3, 1fr); }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .header-phone { display: flex; }
  .header-social { display: flex; }
  .header-phone-text { display: none; }
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .blocks-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-image { height: 27rem; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .steps-list::before { display: block; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .villages-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .header-phone-text { display: inline; }
}

/* === Figma: поиск в шапке === */
.header-search {
  display: flex; align-items: center; position: relative; flex-shrink: 0; height: 36px;
}
.header-search-box {
  position: relative; height: 36px; min-width: 0;
  transition: width 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-search-trigger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; flex-shrink: 0;
  border: none; background: none; cursor: pointer;
  border-radius: 8px; color: var(--muted-foreground);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease, background 0.2s, color 0.2s;
}
.header-search-trigger svg { width: 17px; height: 17px; display: block; stroke: currentColor; }
.header-search-trigger:hover { background: var(--muted); color: var(--foreground); }
.header-search-panel {
  display: flex; align-items: center;
  width: 0; max-width: 0; opacity: 0; overflow: hidden; pointer-events: none;
  height: 36px; background: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  transition:
    max-width 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.18s ease;
}
.header-search.open .header-search-trigger {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.88);
}
.header-search.open .header-search-box { width: 210px; }
.header-search.open .header-search-panel {
  width: 210px; max-width: 210px; opacity: 1; pointer-events: auto;
}
.header-search-panel input {
  flex: 1; min-width: 0; height: 100%; border: none; background: transparent;
  padding: 0 0.5rem 0 1rem; font-size: 0.875rem; outline: none; color: var(--foreground);
}
.header-search-panel input::placeholder { color: var(--muted-foreground); }
.header-search-panel:focus-within { border-color: var(--primary); }
.header-search-sep {
  width: 1px; height: 18px; background: var(--border); flex-shrink: 0;
}
.header-search-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 100%; padding: 0; flex-shrink: 0;
  border: none; background: none; cursor: pointer;
  color: var(--muted-foreground); transition: 0.2s;
}
.header-search-close:hover { color: var(--foreground); }
.header-search-close svg { width: 15px; height: 15px; }
.header-search-suggest {
  position: absolute; top: calc(100% + 0.375rem); right: 0; z-index: 50;
  width: min(16rem, calc(100vw - 2rem));
  background: var(--card); border: 1px solid var(--border); border-radius: 0.875rem;
  box-shadow: 0 12px 32px rgba(30, 61, 47, 0.12);
  padding: 0.375rem; max-height: 16rem; overflow-y: auto;
}
.header-search-suggest-option {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.125rem;
  width: 100%; padding: 0.5rem 0.625rem; border: none; background: none;
  border-radius: 0.5rem; cursor: pointer; text-align: left; transition: background 0.15s;
}
.header-search-suggest-option:hover,
.header-search-suggest-option.is-active { background: var(--muted); }
.header-search-suggest-name {
  font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 700; color: var(--primary);
}
.header-search-suggest-meta { font-size: 0.6875rem; color: var(--muted-foreground); }
.header-search-suggest-option mark {
  background: rgba(196, 122, 58, 0.18); color: inherit; padding: 0; border-radius: 2px;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-menu { display: none; }
.menu-toggle.open .icon-close { display: block; }

@media (max-width: 767px) {
  .header-search {
    min-width: 0;
    transition: flex 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .header-search.open {
    flex: 1 1 auto;
    min-width: 0;
  }
  .header-search.open .header-search-box {
    width: 100%;
  }
  .header-search.open .header-search-panel {
    width: 100%;
    max-width: none;
  }
  .header-search-suggest {
    left: 0;
    right: 0;
    width: auto;
  }
  .header-inner.search-active .header-spacer {
    flex: 0 1 0;
    width: 0;
    min-width: 0;
    overflow: hidden;
    transition: flex 0.24s cubic-bezier(0.4, 0, 0.2, 1), width 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .header-inner.search-active .header-phone {
    opacity: 0;
    width: 0;
    min-width: 0;
    overflow: hidden;
    pointer-events: none;
    margin: 0;
    padding: 0;
    transition: opacity 0.18s ease, width 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@media (min-width: 1024px) {
  .header-phone-text { display: inline; }
}

/* === Figma: hero === */
.hero-inner { max-width: 42rem; }
.hero h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
.hero-scroll {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.35); z-index: 2; animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === Figma: анимации появления === */
.hero-anim {
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp 0.55s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* === Figma: мобильное меню (desktop hidden via menu-toggle) === */
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* === Figma: шаги и FAQ === */
.step-item.reveal.visible .step-num-box {
  animation: stepPop 0.4s ease;
}
@keyframes stepPop {
  0% { transform: scale(0.92); }
  70% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.guarantees-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 960px; margin: 0 auto; }
.villages-grid > .village-card { height: 100%; }
@media (min-width: 768px) {
  .guarantees-grid { grid-template-columns: repeat(3, 1fr); }
}

.block-link span, .btn span { display: inline-block; transition: transform 0.2s; }
.block-card:hover .block-link span { transform: translateX(3px); }
.btn-white span { transition: transform 0.2s; }
.btn-white:hover span { transform: translateX(2px); }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-anim, .reveal, .hero-scroll, .village-card-image-img,
  .block-card-image-bg,
  .header-search, .header-search-box, .header-search-panel, .header-search-trigger,
  .header-inner.search-active .header-spacer, .header-inner.search-active .header-phone {
    animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* Maintenance page */
.maintenance-body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--background) 0%, #e8e4dc 100%);
}
.maintenance-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.maintenance-card {
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.maintenance-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(45, 74, 62, 0.1);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.maintenance-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--foreground);
  margin-bottom: 1rem;
}
.maintenance-text {
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.maintenance-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.maintenance-contact {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.maintenance-contact:hover { text-decoration: underline; }
