@font-face {
  font-family: "YangjuByeolsan";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2405@1.0/YangjuByeolsanA1.woff2") format("woff2");
  font-weight: normal;
  font-display: swap;
}

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f0f4fa;
  --surface-dark: #0f172a;
  --text: #111827;
  --muted: #6b7280;
  --line: #d9e2ef;
  --primary: #1f6feb;
  --primary-dark: #134eb2;
  --accent: #10b981;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

#consultation,
#site-footer {
  scroll-margin-top: 96px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 226, 239, 0.9);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #6aa7ff);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-badge svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-nav-link {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  color: #374151;
}

.call-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

.call-button,
.primary-button {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 111, 235, 0.22);
}

.call-button:hover,
.primary-button:hover {
  background: var(--primary-dark);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.full-width {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(89, 145, 255, 0.25), transparent 32%),
    linear-gradient(135deg, #0f172a, #102a57 58%, #154a9c);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -180px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.16);
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "YangjuByeolsan", "Pretendard", "Malgun Gothic", sans-serif;
  font-weight: normal;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.15;
}

.hero-copy p {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.topbar .hero-actions {
  align-items: center;
  margin-top: 0;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.search-card {
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.search-card h2 {
  margin: 0 0 18px;
  font-size: 1.4rem;
}

.search-form,
.consultation-form {
  display: grid;
  gap: 14px;
}

.search-form label,
.consultation-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.search-form select,
.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
}

.property-suggest-field {
  position: relative;
  display: block;
  padding-bottom: 0;
}

.property-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: block;
  max-height: 291px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.property-suggestions[hidden] {
  display: none;
}

.property-suggestion-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.property-suggestion-item:last-child {
  border-bottom: 0;
}

.property-suggestion-item:hover,
.property-suggestion-item:focus-visible {
  background: #eff6ff;
}

.property-suggestion-item span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.single-line-copy {
  white-space: nowrap;
}

.category-grid,
.theme-grid,
.property-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.theme-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.theme-card,
.property-card,
.property-row,
.consultation-form,
.highlight-inner,
.site-footer {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.interactive-card {
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.interactive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border-color: #bfd3f6;
}

.interactive-card:focus-visible {
  outline: 3px solid rgba(31, 111, 235, 0.25);
  outline-offset: 4px;
}

.category-card,
.theme-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.category-card {
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.88)),
    var(--card-gradient, linear-gradient(135deg, #cfe0ff, #f8fbff));
}

.category-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 1.4rem;
}

.category-card h3,
.theme-card h3,
.property-card h3,
.property-row h3 {
  margin: 16px 0 8px;
}

.category-card p,
.theme-card p,
.property-card p,
.property-row p,
.property-row small {
  margin: 0;
  color: var(--muted);
}

.theme-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-carousel .theme-grid {
  flex: 1;
  min-width: 0;
}

.theme-carousel-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-carousel-arrow:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.08);
}

.theme-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.theme-card {
  display: grid;
  gap: 14px;
}

.theme-card strong {
  font-size: 2rem;
  line-height: 1;
}

.theme-card .pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.property-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.property-card .card-visual {
  height: 220px;
  padding: 20px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  background: var(--card-gradient, linear-gradient(135deg, #d9e6ff, #eef5ff));
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
}

.price-badge {
  align-self: end;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-weight: 800;
}

.property-card .card-body {
  padding: 22px;
}

.property-card .meta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.property-card .meta span {
  color: #374151;
  font-size: 0.94rem;
}

.two-column-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.property-list {
  display: grid;
  gap: 16px;
}

.property-list-panel {
  position: relative;
  padding-bottom: 54px;
}

.property-more-link {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  color: var(--primary);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.property-more-link:hover,
.property-more-link:focus-visible {
  background: var(--primary);
  color: #fff;
  transform: translateX(2px);
}

.property-row {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
}

.property-row-with-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 14px 16px 14px 20px;
  cursor: pointer;
}

.property-row-copy {
  min-width: 0;
}

.property-row .row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.property-row .row-meta {
  display: grid;
  gap: 4px;
}

.property-row-gallery {
  position: relative;
  isolation: isolate;
  width: 148px;
  height: 104px;
  overflow: hidden;
  justify-self: end;
  border-radius: 14px;
  background: #edf2f7;
  cursor: default;
}

.property-row-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.18s ease;
}

.property-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.82;
  transform: translateY(-50%);
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.property-gallery-arrow.previous {
  left: 7px;
}

.property-gallery-arrow.next {
  right: 7px;
}

.property-gallery-arrow:hover,
.property-gallery-arrow:focus-visible {
  background: rgba(15, 23, 42, 0.72);
  opacity: 1;
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.highlight-banner {
  padding-top: 0;
}

.highlight-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #0f172a, #173b79);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.highlight-copy {
  align-self: center;
}

.highlight-copy h2 {
  margin: 0;
}

.highlight-inner p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: transparent;
  border: 0;
  box-shadow: none;
}

.stats-grid article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-grid strong {
  display: block;
  font-size: 1.8rem;
  min-height: 2.2rem;
  margin-bottom: 8px;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.map-section-grid {
  align-items: start;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.property-map-canvas {
  border-radius: 12px 12px 0 0;
  height: 400px;
  width: 100%;
  z-index: 1;
}

.map-position-note {
  border-top: 1px solid #eef2f7;
  color: #64748b;
  font-size: 0.86rem;
  margin: 0;
  line-height: 1.35;
  padding: 7px 16px 8px;
}

.map-placeholder {
  min-height: 400px;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  text-align: center;
  background: linear-gradient(180deg, #f9fbff 0%, #edf4fb 100%);
}

.map-sdk-placeholder {
  align-items: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #64748b;
  display: flex;
  font-weight: 700;
  height: 100%;
  justify-content: center;
  min-height: 400px;
  padding: 24px;
  text-align: center;
}

.map-info-window {
  position: relative;
  min-width: 200px;
  max-width: 280px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.map-info-window::after {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  bottom: -7px;
  content: "";
  height: 12px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
}

.map-info-window strong {
  color: var(--text);
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.map-info-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.map-info-price {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.map-cluster-marker {
  align-items: center;
  background: rgba(37, 99, 235, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
  color: #fff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  line-height: 1;
  position: relative;
  width: 46px;
}

.map-cluster-marker::before,
.map-cluster-marker::after {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  content: "";
  inset: 4px;
  position: absolute;
}

.map-cluster-marker::after {
  inset: 8px;
}

.map-cluster-marker span {
  position: relative;
  z-index: 1;
}

.map-cluster-info-window {
  max-width: min(320px, calc(100vw - 48px));
  min-width: 260px;
  padding: 14px 16px 12px;
  width: 300px;
}

.map-cluster-info-header {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.map-cluster-info-header strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.map-cluster-info-header span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.map-cluster-property-list {
  display: grid;
  gap: 0;
  max-height: 280px;
  margin-right: -4px;
  overflow-y: auto;
  padding-right: 4px;
}

.map-cluster-property-list .map-info-window {
  background: transparent;
  border: none;
  border-radius: 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  min-width: 0;
  padding: 12px 0;
}

.map-cluster-property-list .map-info-window::after {
  display: none;
}

.map-cluster-property-list .map-info-window:first-child {
  border-top: 0;
  padding-top: 0;
}

.map-cluster-property-list .map-info-window:last-child {
  padding-bottom: 2px;
}

.map-info-detail-link {
  background: rgba(31, 111, 235, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.map-info-detail-link:hover {
  background: rgba(31, 111, 235, 0.14);
  color: var(--primary-dark);
}

.map-office-info {
  font-size: 14px;
  line-height: 1.35;
  min-width: 150px;
  padding: 4px 6px;
}

.map-office-info strong {
  color: var(--text);
  display: block;
  font-weight: 800;
}

.map-office-info span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.location-picker-open {
  overflow: hidden;
}

.location-picker-modal {
  align-items: center;
  background: rgba(15, 23, 42, 0.48);
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1000;
}

.location-picker-modal:not([hidden]) {
  display: flex;
}

.location-picker-dialog {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  display: grid;
  gap: 16px;
  max-height: min(860px, calc(100vh - 48px));
  max-width: 1080px;
  overflow: auto;
  padding: 22px;
  width: min(1080px, 100%);
}

.location-picker-header,
.location-picker-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.location-picker-header h2 {
  margin: 0 0 6px;
}

.location-picker-header p,
.location-picker-status {
  color: var(--muted);
  margin: 0;
}

.location-picker-close {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.location-picker-search {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

.location-picker-search input {
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  min-height: 42px;
  padding: 0 14px;
}

.location-picker-status.is-error {
  color: #b91c1c;
  font-weight: 700;
}

.location-picker-body {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.location-picker-map {
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 460px;
  overflow: hidden;
}

.location-picker-side {
  display: grid;
  gap: 14px;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.location-picker-selected {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 6px;
  padding: 14px;
}

.location-picker-selected span {
  color: var(--muted);
  font-size: 14px;
  word-break: break-word;
}

.location-picker-results {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.location-picker-result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  gap: 5px;
  padding: 12px;
  text-align: left;
}

.location-picker-result:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.location-picker-result span,
.location-picker-empty {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

@media (max-width: 820px) {
  .location-picker-modal {
    padding: 12px;
  }

  .location-picker-dialog {
    border-radius: 14px;
    max-height: calc(100vh - 24px);
    padding: 16px;
  }

  .location-picker-search,
  .location-picker-body {
    grid-template-columns: 1fr;
  }

  .location-picker-map {
    min-height: 360px;
  }

  .location-picker-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
}

.map-card-info {
  display: flex;
  flex-direction: column;
  height: 437px;
  min-height: 0;
  padding: 28px;
}

.map-card-info h3 {
  margin: 0 0 12px;
}

.map-card-info p {
  margin: 0;
  color: var(--muted);
}

.map-info-list,
.map-region-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.map-region-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.map-info-list span {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f7faff;
  border: 1px solid var(--line);
  color: #374151;
}

.map-region-button {
  align-items: center;
  background: #f7faff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #374151;
  cursor: pointer;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-height: 54px;
  padding: 12px 16px;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.map-region-button:hover,
.map-region-button:focus-visible {
  background: #edf5ff;
  border-color: #b7cff5;
  outline: none;
  transform: translateY(-1px);
}

.map-region-button.is-active {
  background: #e8f1ff;
  border-color: #76a8ee;
  color: #163f82;
  font-weight: 800;
}

.map-region-button:disabled {
  color: var(--muted);
  cursor: wait;
  transform: none;
}

.map-region-button small {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 700;
}

.map-region-empty {
  color: var(--muted);
  margin: 0;
}

.map-pin {
  display: inline-flex;
  justify-content: center;
}

.map-info {
  max-width: 320px;
}

.button-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-inline.primary {
  background: var(--primary);
  color: #fff;
}

.button-inline.primary:hover {
  background: var(--primary-dark);
}

.consultation-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 18px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.consultation-form {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  border: 1px solid var(--line);
  background: #fff;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.94rem;
}

.form-note {
  color: var(--muted);
}

.form-status {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
}

.form-status[data-state="success"] {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.form-status[data-state="error"] {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.site-footer {
  margin: 0 16px 16px;
  border-radius: var(--radius-xl);
  background: var(--surface-dark);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 18px;
  padding: 28px;
}

.footer-grid p,
.footer-grid span {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.admin-entry {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
  
.admin-entry:hover,
.admin-entry:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
  
@media (max-width: 760px) {
  .admin-entry {
  right: 16px;
  bottom: 16px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.75rem;
  }
}
  

.admin-entry:hover,
.admin-entry:focus-visible {
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  position: relative;
}

@media (max-width: 1080px) {
  .hero-grid,
  .highlight-inner,
  .map-section-grid,
  .consultation-grid,
  .two-column-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    justify-content: start;
  }

  .search-card {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .section-heading,
  .property-row .row-top {
    flex-direction: column;
    align-items: start;
  }

  .topbar-inner {
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    padding: 12px 0 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-badge svg {
    width: 21px;
    height: 21px;
  }

  .brand strong {
    font-size: 0.96rem;
    line-height: 1.25;
  }

  .brand p {
    font-size: 0.8rem;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    font-size: 0.86rem;
  }

  .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f1f5f9;
    white-space: nowrap;
  }

  .topbar .hero-actions {
    width: 100%;
  }

  .topbar .call-button {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
  }

  .single-line-copy {
    white-space: normal;
  }

  .category-grid,
  .theme-grid,
  .property-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .theme-carousel {
    gap: 8px;
  }

  .theme-carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .property-row-with-media {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .property-row-gallery {
    width: 100%;
    height: 170px;
    justify-self: stretch;
  }

  .hero {
    padding: 44px 0 48px;
  }

  .hero h1 {
    font-size: 2.05rem;
    line-height: 1.2;
  }

  .hero-copy p {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero .primary-button,
  .hero .secondary-button {
    flex: 1 1 145px;
    min-height: 44px;
    padding: 0 14px;
  }

  .hero-points {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-points li {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .search-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .search-card h2 {
    margin-bottom: 16px;
    font-size: 1.22rem;
  }

  .search-form {
    gap: 12px;
  }

  .search-form select,
  .consultation-form input,
  .consultation-form select,
  .consultation-form textarea {
    border-radius: 12px;
    padding: 13px 14px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    gap: 10px;
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 1.65rem;
  }

  .section-heading p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .property-map-canvas,
  .map-placeholder,
  .map-sdk-placeholder {
    min-height: 320px;
    height: 320px;
  }

  .map-card-info {
    padding: 24px 18px;
  }

  .map-region-list {
    max-height: 300px;
  }

  .highlight-inner {
    gap: 20px;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .highlight-copy h2 {
    font-size: 1.6rem;
  }

  .stats-grid article {
    padding: 16px;
  }

  .stats-grid strong {
    font-size: 1.55rem;
  }

  .consultation-form {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .site-footer {
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero .primary-button,
  .hero .secondary-button {
    flex-basis: 100%;
  }

  .category-card,
  .theme-card,
  .property-card .card-body,
  .property-row {
    border-radius: 18px;
  }
}
