@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/Cairo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/Cairo-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/Cairo-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/Cairo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/Cairo-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/Cairo-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #071b2f;
  --navy: #071b2f;
  --navy-2: #102b42;
  --muted: #667085;
  --line: rgba(7, 27, 47, 0.1);
  --soft-blue: #edf6fb;
  --blue: #2aa7df;
  --gold: #d8b45a;
  --gold-2: #f6dc7a;
  --yellow: #f6dc7a;
  --ivory: #fffaf0;
  --surface: #fffdf7;
  --surface-2: #ffffff;
  --success: #2f9e5d;
  --warning: #d8a423;
  --error: #d93d35;
  --radius: 18px;
  --shadow-sm: 0 10px 26px rgba(7, 27, 47, 0.08);
  --shadow-md: 0 18px 46px rgba(7, 27, 47, 0.12);
  --shadow-lg: 0 28px 70px rgba(7, 27, 47, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--ivory) 0%, #ffffff 34%, #f8fbfd 100%);
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-loaded .hero-media img {
  animation: heroDrift 9s var(--ease) infinite alternate;
}

body.is-loaded .hero-content,
body.is-loaded .stats article,
body.is-loaded .section > *,
body.is-loaded .map-section,
body.is-loaded .consultation,
body.is-loaded .site-footer > * {
  animation: riseIn 0.75s var(--ease) both;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 0 clamp(22px, 6vw, 86px);
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 23px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--gold-2);
  background: var(--navy);
  border-radius: 6px;
  font-weight: 800;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(214, 169, 71, 0.22);
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  color: #fff;
  background: #d71920;
  border: 2px solid #a90f15;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(215, 25, 32, 0.22);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(7, 27, 47, 0.74);
  font-size: 15px;
  font-weight: 800;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  background: #171717;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.floating-menu-toggle {
  display: none;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: #229ed9;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  margin: 2.5px auto;
  background: #fff;
  border-radius: 999px;
  transition:
    transform 0.24s var(--ease),
    opacity 0.24s ease;
}

body.nav-open .mobile-menu-toggle span:nth-of-type(1) {
  transform: translateY(5px) rotate(45deg);
}

body.nav-open .mobile-menu-toggle span:nth-of-type(2) {
  opacity: 0;
}

body.nav-open .mobile-menu-toggle span:nth-of-type(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--ink);
  transition: width 0.28s var(--ease);
}

.main-nav a:hover {
  color: var(--navy);
}

.main-nav a[aria-current="page"] {
  color: var(--navy);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta {
  justify-self: end;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 12px 26px rgba(216, 180, 90, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.nuca-news-btn,
.hero-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.nuca-news-btn {
  color: #fff;
  background: var(--navy);
}

.secondary-news-btn {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.header-cta,
.primary-btn,
.secondary-btn,
.search-panel button,
.newsletter button,
.cities-more,
.details-link {
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s ease,
    color 0.25s ease;
}

.header-cta:hover,
.primary-btn:hover,
.search-panel button:hover,
.newsletter button:hover,
.details-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.notice {
  position: relative;
  z-index: 18;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.notice-bell {
  position: absolute;
  top: 12px;
  right: clamp(16px, 4vw, 42px);
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(224, 185, 92, 0.45);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(8, 31, 54, 0.96);
  box-shadow: 0 14px 32px rgba(8, 31, 54, 0.22);
  cursor: pointer;
  animation: noticeBellRing 2.8s ease-in-out infinite;
}

.notice-bell svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notice-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.45);
  animation: noticeDotPulse 1.6s ease-out infinite;
}

.notice-message {
  padding: 12px 5vw;
  color: #ff0000;
  background: var(--navy);
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.notice-message[hidden] {
  display: none;
}

.notice-message span {
  display: inline-block;
  min-width: max-content;
  padding-inline: 24px;
  animation: noticeMarquee 10s ease-in-out infinite alternate;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(460px, 62vh, 600px);
  padding: clamp(44px, 6vw, 72px) 7vw;
  overflow: hidden;
  background: var(--ivory);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.16) 0%, rgba(255, 253, 247, 0.72) 48%, rgba(255, 253, 247, 0.96) 100%),
    linear-gradient(180deg, rgba(7, 27, 47, 0.1), rgba(255, 250, 240, 0.84));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: min(780px, 100%);
  margin-inline: auto;
  padding: 20px 0;
  text-align: center;
}

.hero h1 {
  display: grid;
  gap: 2px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 strong {
  color: var(--gold);
  font: inherit;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 14px;
  color: var(--navy);
  background: rgba(246, 220, 122, 0.75);
  border: 1px solid rgba(216, 180, 90, 0.55);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.hero p {
  margin: 0 auto 30px;
  max-width: 660px;
  color: rgba(7, 27, 47, 0.7);
  font-size: clamp(16px, 1.55vw, 21px);
  font-weight: 700;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: center;
  width: 100%;
  max-width: 520px;
  min-height: 58px;
  margin-inline: auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.search-panel label {
  display: grid;
  gap: 2px;
  padding: 0 16px;
  border-left: 0;
}

.search-panel span {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.search-panel button span {
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.search-panel button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-panel input {
  width: 100%;
  color: var(--muted);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-panel button,
.map-search button {
  display: grid;
  width: 100%;
  min-height: 48px;
  height: 100%;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.quick-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.quick-suggestions button,
.quick-suggestions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: rgba(7, 27, 47, 0.78);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  transition:
    transform 0.22s var(--ease),
    background 0.22s ease,
    color 0.22s ease;
}

.quick-suggestions button:hover,
.quick-suggestions a:hover {
  color: var(--navy);
  background: var(--gold-2);
  transform: translateY(-2px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.hero-proof span {
  padding: 7px 12px;
  color: rgba(7, 27, 47, 0.74);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.hero-transfer-card {
  display: inline-flex;
  width: auto;
  min-height: 46px;
  margin: 18px auto 0;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  place-items: center;
  gap: 8px;
  color: var(--navy);
  background: var(--gold-2);
  border: 1px solid rgba(190, 145, 42, 0.34);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(215, 177, 73, 0.28);
  text-align: center;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.hero-transfer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(215, 177, 73, 0.34);
}

.hero-transfer-card span {
  color: inherit;
  font-size: 14px;
  font-weight: 900;
}

.hero-transfer-card strong {
  display: block;
  color: inherit;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.hero-transfer-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.hero-transfer-card::after {
  display: none;
  content: none;
}

.inventory-pulse {
  width: min(1048px, calc(100% - 48px));
  margin: -26px auto 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, rgba(7, 27, 47, 0.96), rgba(13, 54, 82, 0.94));
  border: 1px solid rgba(246, 220, 122, 0.28);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(7, 27, 47, 0.18);
  overflow: hidden;
}

.inventory-pulse-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.reservation-log-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 900;
  color: var(--gold-2);
  background: rgba(246, 220, 122, 0.1);
  border: 1px solid rgba(246, 220, 122, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.reservation-log-btn:hover {
  background: rgba(246, 220, 122, 0.2);
  transform: translateY(-1px);
}

.reservation-log-btn svg {
  flex-shrink: 0;
}

.inventory-update-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
}

.update-ring {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.update-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.update-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 2.4;
}

.update-ring-fill {
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 53.4;
  stroke-dashoffset: 53.4;
  transition: stroke-dashoffset 0.25s linear;
}

.inventory-pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.inventory-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inventory-progress-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.inventory-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1ca463, #f6dc7a);
  transition: width 0.6s ease, background 0.6s ease;
}

.inventory-progress-label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.78);
  min-width: 78px;
  text-align: left;
}

.inventory-pulse::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(120%);
  animation: inventorySweep 3.8s var(--ease) infinite;
  pointer-events: none;
}

.inventory-pulse article {
  min-width: 0;
  padding: 14px 12px;
  display: grid;
  place-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.inventory-pulse span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.inventory-pulse strong {
  color: var(--gold-2);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

@keyframes inventorySweep {
  0%,
  42% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(-120%);
  }
}

@media (max-width: 640px) {
  .inventory-pulse {
    width: calc(100% - 24px);
    margin: -8px auto 12px;
    padding: 8px;
    gap: 6px;
  }

  .inventory-pulse article {
    min-height: 70px;
    padding: 10px 6px;
  }

  .inventory-pulse span {
    font-size: 11px;
    line-height: 1.35;
  }

  .inventory-pulse strong {
    font-size: 24px;
  }

  .reservation-log-btn span {
    display: none;
  }

  .reservation-log-btn {
    padding: 6px 9px;
  }

  .inventory-update-meta {
    font-size: 10px;
  }

  .inventory-progress-label {
    min-width: 60px;
    font-size: 11px;
  }
}

.reservation-log-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.reservation-log-overlay[hidden] {
  display: none;
}

.reservation-log-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 28, 0.72);
  backdrop-filter: blur(3px);
}

.reservation-log-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(640px, 86vh);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #0d2338;
  border: 1px solid rgba(246, 220, 122, 0.3);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.reservation-log-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reservation-log-header strong {
  color: var(--gold-2);
  font-size: 16px;
}

.reservation-log-close {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.reservation-log-search {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.reservation-log-search::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.reservation-log-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reservation-log-empty {
  padding: 24px 8px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.reservation-log-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.reservation-log-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.reservation-log-row-plot {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
}

.reservation-log-row-city {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reservation-log-row-time {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold-2);
  text-align: left;
}

.service-downloads a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 0 18px;
  color: #fff;
  background: #171717;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 820px;
  margin: -10px auto 28px;
  padding: 8px;
  background: rgba(7, 27, 47, 0.05);
  border: 1px solid rgba(7, 27, 47, 0.08);
  border-radius: 999px;
}

.process-flow span {
  display: grid;
  min-height: 42px;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 253, 247, 0.9);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(7, 27, 47, 0.06);
}

.process-flow span:nth-child(3) {
  color: #171717;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.autocad-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 10%, rgba(110, 178, 223, 0.2), transparent 34%),
    linear-gradient(120deg, #ffffff 0%, #f1f8fc 42%, #ffffff 72%, #eaf5fa 100%);
  background-size: auto, 240% 240%;
  animation: autocadBackgroundShift 18s ease-in-out infinite alternate;
}

@keyframes autocadBackgroundShift {
  from {
    background-position: 0 0, 0% 50%;
  }

  to {
    background-position: 0 0, 100% 50%;
  }
}

.autocad-page::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(35, 86, 110, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 86, 110, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(180deg, #000, transparent 82%);
  animation: autocadGridDrift 24s linear infinite;
}

.autocad-page::after {
  position: absolute;
  top: 9%;
  left: -12%;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  border: 1px solid rgba(39, 125, 159, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(39, 125, 159, 0.035), 0 0 0 48px rgba(39, 125, 159, 0.025);
  content: "";
  animation: autocadOrbit 18s ease-in-out infinite alternate;
}

@keyframes autocadGridDrift {
  to {
    background-position: 42px 42px;
  }
}

@keyframes autocadOrbit {
  from {
    transform: translate3d(-3%, -2%, 0) rotate(-4deg);
  }

  to {
    transform: translate3d(9%, 7%, 0) rotate(5deg);
  }
}

.autocad-page .back-link {
  animation: autocadSlideIn 0.7s var(--ease) both;
}

.autocad-page .legal-hero {
  animation: autocadHeroIn 0.9s var(--ease) 0.08s both;
}

.autocad-page .legal-hero span {
  animation: autocadBadgePulse 3.8s ease-in-out 1.2s infinite;
}

@keyframes autocadSlideIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes autocadHeroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes autocadBadgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(235, 194, 59, 0.2);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(235, 194, 59, 0);
  }
}

.autocad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.autocad-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 228px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(16, 36, 52, 0.08);
  overflow: hidden;
  animation: autocadCardIn 0.65s var(--ease) both;
  animation-delay: calc(var(--card-index, 1) * 0.055s);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.autocad-card::after {
  position: absolute;
  inset: auto -24px -34px auto;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(235, 194, 59, 0.32);
  border-radius: 50%;
  content: "";
  transition: transform 0.45s var(--ease), background 0.45s ease;
}

.autocad-card::before {
  position: absolute;
  top: -40%;
  left: -70%;
  width: 44%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  content: "";
  transform: rotate(20deg);
  transition: left 0.75s var(--ease);
}

.autocad-card:hover {
  border-color: rgba(32, 105, 137, 0.28);
  box-shadow: 0 24px 52px rgba(16, 67, 91, 0.16);
  transform: translateY(-9px) rotate(-0.5deg);
}

.autocad-card:hover::after {
  background: rgba(245, 210, 79, 0.12);
  transform: scale(1.45);
}

.autocad-card:hover::before {
  left: 125%;
}

@keyframes autocadCardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.autocad-card span {
  width: fit-content;
  padding: 4px 10px;
  color: #171717;
  background: #ffe875;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.autocad-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
}

.autocad-card p {
  margin: -5px 0 0;
  color: #7b8b91;
  font-size: 14px;
  font-weight: 700;
}

.autocad-card a {
  position: relative;
  z-index: 1;
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding-inline: 18px;
  color: #fff;
  background: #171717;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.autocad-card a b {
  color: var(--yellow);
  font-size: 21px;
  line-height: 0;
}

.autocad-card a:hover,
.autocad-card a:focus-visible {
  background: var(--blue);
  transform: translateX(-4px);
}

.autocad-drive-card,
.autocad-app-card {
  min-height: 260px;
}

.autocad-drive-card {
  grid-column: span 2;
}

.app-store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: end;
}

.autocad-card .store-badge {
  min-height: 58px;
  gap: 3px;
  flex-direction: column;
  padding: 8px 14px;
  color: #fff;
  background: #111;
  border-radius: 14px;
  text-align: center;
}

.autocad-card .store-badge b {
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.autocad-card .store-badge strong {
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

.autocad-card .play-store {
  background: #083d2d;
}

@media (prefers-reduced-motion: reduce) {
  .autocad-page {
    animation: none;
  }

  .autocad-page::before,
  .autocad-page::after,
  .autocad-page .back-link,
  .autocad-page .legal-hero,
  .autocad-page .legal-hero span,
  .autocad-card {
    animation: none;
    transition: none;
  }

  .autocad-card:hover {
    transform: none;
  }
}

.news-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(246, 202, 57, 0.18), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f4f9fc 100%);
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: #171717;
  border-radius: 18px;
  color: #fff;
}

.news-toolbar div {
  display: grid;
  gap: 4px;
}

.news-toolbar strong {
  font-size: 20px;
  line-height: 1.2;
}

.news-toolbar span {
  color: #c9d4dc;
  font-size: 13px;
}

.news-toolbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: #ffe875;
  border-radius: 999px;
  color: #171717;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.news-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  cursor: pointer;
  color: #fff;
  background: #2aa7df;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.news-refresh-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.news-refresh-status {
  grid-column: 1 / -1;
  width: 100%;
  color: #ffe875;
  font-size: 12px;
  font-weight: 800;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(16, 36, 52, 0.08);
}

.news-card.is-latest-news {
  border-color: rgba(216, 180, 90, 0.62);
  box-shadow: 0 22px 52px rgba(16, 36, 52, 0.12);
}

.news-card.is-latest-news::before {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  color: #071d2f;
  background: var(--gold);
  border-radius: 999px;
  content: "آخر خبر";
  font-size: 12px;
  font-weight: 900;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.news-card span {
  width: fit-content;
  padding: 4px 10px;
  background: #eef7fc;
  border-radius: 999px;
  color: #4f7186;
  font-size: 12px;
  font-weight: 800;
}

.news-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.news-card p {
  margin: 0;
  color: #687680;
  font-size: 14px;
  line-height: 1.8;
}

.news-source-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  color: #fff;
  background: #171717;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.news-details,
.news-details-link {
  align-self: end;
}

.news-details summary,
.news-details-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  cursor: pointer;
  list-style: none;
  color: #171717;
  background: #ffe875;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.news-details summary::-webkit-details-marker {
  display: none;
}

.news-details[open] summary {
  margin-bottom: 12px;
}

.news-details p {
  padding: 14px;
  background: #f5f9fc;
  border: 1px solid #e2edf3;
  border-radius: 14px;
  color: #41515b;
  white-space: pre-line;
}

.news-detail-card {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(16, 36, 52, 0.08);
}

.news-detail-card h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.25;
}

.news-detail-card p {
  margin: 0;
  color: #43535e;
  font-size: 18px;
  line-height: 2;
  white-space: pre-line;
}

.investment-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(42, 167, 223, 0.14), transparent 28%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 70%);
}

.investment-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: 26px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.investment-copy,
.investment-form {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(16, 36, 52, 0.08);
}

.investment-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  color: #fff;
  background: #171717;
}

.investment-copy span {
  width: fit-content;
  padding: 5px 12px;
  color: #171717;
  background: var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.investment-copy h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
}

.investment-copy p {
  margin: 0;
  color: #d8e1e7;
  font-size: 16px;
  line-height: 1.9;
}

.investment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.investment-form label {
  display: grid;
  gap: 8px;
}

.investment-form label span {
  color: #1f2930;
  font-size: 14px;
  font-weight: 900;
}

.investment-form small {
  color: #7a8992;
  font-size: 11px;
}

.investment-form input {
  min-height: 50px;
  width: 100%;
  padding: 0 14px;
  color: #171717;
  background: #f5f9fc;
  border: 1px solid #dce9f1;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
}

.investment-form input:focus {
  outline: 3px solid rgba(42, 167, 223, 0.2);
  border-color: #2aa7df;
}

.investment-full,
.investment-form button,
.investment-form-status {
  grid-column: 1 / -1;
}

.investment-form button {
  min-height: 52px;
  cursor: pointer;
  color: #fff;
  background: #171717;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
}

.investment-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.investment-form-status {
  min-height: 22px;
  margin: 0;
  color: #2e7d4d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.investment-form-status.is-error {
  color: #b42318;
}

.transfer-page {
  min-height: 100vh;
  padding-bottom: 80px;
}

.transfer-hero {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto 26px;
  text-align: center;
}

.transfer-hero span,
.transfer-step-heading span {
  width: fit-content;
  margin: 0 auto;
  padding: 6px 14px;
  color: #071d2f;
  background: var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.transfer-hero h1 {
  margin: 0;
  color: #071d2f;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
}

.transfer-hero p {
  max-width: 660px;
  margin: 0 auto;
  color: #536472;
  font-size: 18px;
  line-height: 1.9;
}

.transfer-wizard {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(7, 29, 47, 0.1);
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.wizard-progress li {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: #6d7b86;
  background: #eef6fb;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.wizard-progress li.is-done {
  color: #fff;
  background: #071d2f;
}

.wizard-progress li.is-active {
  color: #000;
  background: #1eff00;
}

.wizard-step {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 232, 117, 0.16), transparent 34%),
    #f8fbfd;
  border: 1px solid #dbe8f1;
  border-radius: 22px;
}

.transfer-step-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  text-align: center;
}

.transfer-step-heading h2 {
  margin: 0;
  color: #071d2f;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
}

.transfer-sub-heading {
  margin: 24px 0 14px;
}

.transfer-sub-heading h3 {
  margin: 0;
  color: #071d2f;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.transfer-grid label {
  display: grid;
  gap: 8px;
}

.transfer-grid label span {
  color: #182833;
  font-size: 14px;
  font-weight: 900;
}

.transfer-grid small {
  color: #778894;
  font-size: 12px;
  font-weight: 700;
}

.transfer-grid input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: #071d2f;
  background: #fff;
  border: 1px solid #d7e5ee;
  border-radius: 14px;
  font: inherit;
  font-weight: 900;
}

.transfer-grid input:focus {
  outline: 3px solid rgba(42, 167, 223, 0.18);
  border-color: #2aa7df;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-grid label {
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: #071d2f;
  background: #fff;
  border: 1px solid #d7e5ee;
  border-radius: 16px;
  font-weight: 900;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.choice-grid input:checked + span {
  color: #071d2f;
  background: var(--gold);
  border-color: #e6c44d;
  transform: translateY(-2px);
}

.transfer-city-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.transfer-city-picker label {
  display: grid;
  gap: 8px;
}

.transfer-city-picker label span {
  color: #182833;
  font-size: 14px;
  font-weight: 900;
}

.transfer-city-picker input {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  color: #071d2f;
  background: #fff;
  border: 1px solid #d7e5ee;
  border-radius: 16px;
  font: inherit;
  font-weight: 900;
}

.transfer-city-picker input:focus {
  outline: 3px solid rgba(42, 167, 223, 0.18);
  border-color: #2aa7df;
}

.transfer-city-picker > button {
  min-height: 58px;
  padding: 0 22px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.transfer-city-options {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 178px;
  overflow-y: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #d7e5ee;
  border-radius: 16px;
}

.transfer-city-options button,
.transfer-city-options span {
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  color: #071d2f;
  background: #f5f9fc;
  border: 1px solid #d7e5ee;
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.transfer-city-options button {
  cursor: pointer;
}

.transfer-city-options button:hover,
.transfer-city-options button:focus-visible {
  background: var(--gold);
  border-color: #e6c44d;
}

.transfer-selected-cities {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 48px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px dashed #c9dbe8;
  border-radius: 16px;
}

.transfer-selected-cities:empty::before {
  content: "لم يتم اختيار مدن بعد";
  color: #6b7d88;
  font-size: 14px;
  font-weight: 800;
}

.transfer-selected-cities button {
  min-height: 38px;
  padding: 0 14px;
  color: #071d2f;
  background: var(--gold);
  border: 1px solid #e6c44d;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.transfer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.transfer-actions button,
.transfer-actions a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  cursor: pointer;
  color: #fff;
  background: #071d2f;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.transfer-actions .ghost-action,
.transfer-actions .ghost-link-button {
  color: #071d2f;
  background: #fff;
  border: 1px solid #d7e5ee;
}

.transfer-actions .primary-link-button {
  color: #071d2f;
  background: var(--gold);
}

.saved-transfer-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  color: #fff;
  background: #071d2f;
  border-radius: 18px;
}

.saved-transfer-card strong {
  font-size: 18px;
}

.saved-transfer-card span {
  color: #cbd8df;
}

.saved-transfer-card div {
  display: flex;
  gap: 8px;
  grid-row: span 2;
}

.saved-transfer-card button,
.saved-transfer-card a {
  min-height: 40px;
  padding: 0 14px;
  color: #071d2f;
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.saved-transfer-card button {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.transfer-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.transfer-summary-card,
.transfer-score-card {
  padding: 22px;
  background: #fff;
  border: 1px solid #d7e5ee;
  border-radius: 18px;
}

.transfer-summary-card > span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 14px;
  color: #071d2f;
  background: var(--gold);
  border-radius: 999px;
  font-weight: 900;
}

.transfer-summary-card p {
  margin: 0 0 18px;
  color: #536472;
  line-height: 1.8;
}

.transfer-summary-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.transfer-summary-card dl div {
  padding: 12px;
  background: #f3f8fb;
  border-radius: 14px;
}

.transfer-summary-card dt {
  color: #7a8992;
  font-size: 12px;
  font-weight: 900;
}

.transfer-summary-card dd {
  margin: 4px 0 0;
  color: #071d2f;
  font-size: 18px;
  font-weight: 900;
}

.transfer-score-card {
  color: #fff;
  background: #071d2f;
}

.transfer-score-card > span {
  color: #cbd8df;
  font-weight: 900;
}

.transfer-score-card > strong {
  display: block;
  margin: 8px 0 14px;
  color: var(--gold);
  font-size: 46px;
  line-height: 1;
}

.transfer-score-meter {
  height: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.transfer-score-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2aa7df, var(--gold));
  border-radius: inherit;
  transition: width 0.45s ease;
}

.transfer-score-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.transfer-score-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #dbe8f1;
  font-size: 14px;
  font-weight: 800;
}

.transfer-score-card li strong {
  color: #fff;
}

.transfer-note {
  margin: 14px 0 0;
  color: #536472;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.8;
  text-align: center;
}

.transfer-done-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 56px 24px;
  text-align: center;
}

.transfer-done-card span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  color: #071d2f;
  background: var(--gold);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.transfer-done-card h2 {
  margin: 0;
  color: #071d2f;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

.transfer-done-card p {
  max-width: 560px;
  margin: 0;
  color: #526575;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.8;
}

.transfer-done-card button {
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 14px 8vw 16px;
  color: #fff;
  background: var(--navy);
  text-align: center;
}

.stats article {
  display: grid;
  gap: 4px;
}

.stats strong {
  color: var(--gold-2);
  font-size: 20px;
  line-height: 1;
}

.stats span {
  color: #aaa;
  font-size: 14px;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
  padding: 90px 8vw 30px;
}

.showcase h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 3.6vw, 58px);
  line-height: 1.18;
  font-weight: 900;
}

.showcase p {
  margin: 0 0 28px;
  max-width: 560px;
  color: #777;
  font-size: 21px;
  font-weight: 600;
}

.showcase img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.section {
  padding: clamp(44px, 6vw, 76px) 8vw;
}

.section h2,
.consultation h2 {
  margin: 0 0 26px;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.start-here {
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
}

.start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.start-steps article {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(216, 180, 90, 0.28);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.start-steps strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 14px;
  font-size: 22px;
  font-weight: 900;
}

.start-steps h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}

.start-steps p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.home-land-analysis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 22px;
  background:
    radial-gradient(circle at 18% 18%, rgba(230, 194, 90, 0.18), transparent 28%),
    linear-gradient(135deg, #061b31 0%, #0b2a46 54%, #111 100%);
  color: #fff;
}

.home-land-analysis h2 {
  max-width: 620px;
  color: #fff;
}

.home-land-analysis p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}

.home-land-analysis .section-kicker {
  color: var(--navy);
  background: var(--gold-2);
}

.home-land-analysis-actions {
  display: grid;
  gap: 14px;
}

.analysis-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.analysis-mini-stats article {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
}

.analysis-mini-stats span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 800;
}

.analysis-mini-stats strong {
  align-self: end;
  color: var(--gold-2);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
}

.analysis-entry-btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(230, 194, 90, 0.22);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  text-align: center;
}

.service-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  min-height: 224px;
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.service-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--gold-2);
  background: var(--navy);
  border-radius: 18px;
  font-size: 27px;
  font-weight: 800;
}

.service-grid h3,
.city-grid h3 {
  margin: 0;
  font-size: 20px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cities {
  padding: 38px clamp(18px, 5vw, 72px);
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--ivory) 100%);
}

.home-city-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  width: min(760px, 100%);
  margin: 0 auto 20px;
}

.home-city-search label {
  display: grid;
  gap: 7px;
  text-align: right;
}

.home-city-search span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.home-city-search input {
  min-height: 42px;
  padding: 0 16px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(7, 27, 47, 0.06);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.home-city-search a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(154px, 1fr));
  gap: 14px;
  align-items: start;
}

.city-grid article {
  display: grid;
  position: relative;
  overflow: hidden;
  gap: 8px;
  justify-items: center;
  min-height: 178px;
  padding: 14px 10px 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    filter 0.3s ease,
    box-shadow 0.3s ease;
}

.city-card-progress {
  position: absolute;
  inset: auto 0 0;
  height: 20px;
  background: rgba(7, 27, 47, 0.07);
  overflow: hidden;
}

.city-card-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #a92525, #e0453d);
  transition: width 0.8s var(--ease);
}

.city-card-progress-label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  line-height: 20px;
  text-align: center;
  color: #fff;
  font-size: 10.5px;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(7, 27, 47, 0.45);
}

.city-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-2), #ffffff);
  content: "";
  opacity: 0.9;
}

.city-grid article:hover,
.all-cities-grid article:hover {
  transform: translateY(-8px);
  filter: saturate(1.05);
  box-shadow: var(--shadow-md);
}

.city-grid img {
  width: min(100%, 86px);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: none;
}

.city-count {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--navy);
  background: #f4f8fb;
  border: 1px solid #e6eef4;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.city-directory-empty {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 16px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 14px;
  font-weight: 900;
}

.city-directory-empty[hidden] {
  display: none;
}

.slider-actions,
.cities-more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.cities-more,
.plan-card button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
}

.cities-more {
  margin-inline: auto;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  animation: softBounce 1.6s ease-in-out infinite;
}

.cities-more:hover {
  transform: translateY(4px);
}

.plans {
  position: relative;
  isolation: isolate;
  padding-block: clamp(42px, 6vw, 72px);
  background:
    radial-gradient(circle at 12% 10%, rgba(246, 220, 122, 0.22), transparent 30%),
    linear-gradient(180deg, #edf6fb 0%, #f9fcfe 100%);
}

.plans::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  opacity: 0.55;
}

.plans h2 {
  text-align: right;
  margin-bottom: 10px;
}

.section-lead {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.plans {
  overflow: hidden;
}

.plans .plan-grid.is-marquee {
  display: flex;
  width: max-content;
  gap: 14px;
  padding-block: 12px 18px;
  animation: latestPlansMarquee 56s linear infinite;
  will-change: transform;
}

.plans .plan-grid.is-marquee:hover,
.plans .plan-grid.is-marquee:focus-within {
  animation-play-state: paused;
}

.plans .plan-grid.is-marquee .plan-card {
  width: clamp(250px, 24vw, 340px);
  flex: 0 0 auto;
}

@keyframes latestPlansMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(50%);
  }
}

.plan-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 0;
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 0.32s var(--ease),
    box-shadow 0.32s var(--ease),
    background 0.32s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 42px rgba(30, 58, 76, 0.13);
}

.plan-text-card {
  min-height: 142px;
  align-content: stretch;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 14% 20%, rgba(216, 180, 90, 0.2), transparent 36%);
  border: 1px solid rgba(22, 54, 72, 0.1);
  box-shadow: 0 10px 26px rgba(26, 67, 86, 0.08);
  animation: planCardReveal 0.7s var(--ease) both;
}

.plan-text-card::before {
  position: absolute;
  inset: auto 16px 16px auto;
  width: 72px;
  height: 72px;
  content: "";
  background: linear-gradient(135deg, rgba(216, 180, 90, 0.28), rgba(42, 167, 223, 0.12));
  border-radius: 50%;
  transform: translate(22px, 24px);
}

.plan-text-card:nth-child(2) {
  animation-delay: 0.08s;
}

.plan-text-card:nth-child(3) {
  animation-delay: 0.16s;
}

.plan-text-card:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes planCardReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan-text-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(225, 183, 63, 0.5);
  border-radius: inherit;
  content: "";
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.plan-text-card:hover::after,
.plan-text-card:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

.plan-card-topline,
.plan-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-card-kicker {
  color: #7d8e96;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.plan-card-copy {
  display: grid;
  gap: 4px;
  align-content: center;
}

.plan-card-copy strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
}

.plan-card-copy > span {
  min-height: 2.5em;
  color: #6f7f86;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.plan-text-card .plan-text-icon {
  display: inline-grid;
  width: auto;
  min-width: 58px;
  height: 34px;
  padding-inline: 12px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 900;
}

.plan-card-count {
  color: #78878e;
  font-size: 12px;
  font-weight: 800;
}

.plan-card-count b {
  margin-inline-end: 3px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
}

.plan-card button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  color: #bdbdbd;
  background: #fff;
  transition:
    transform 0.25s var(--ease),
    color 0.25s ease,
    background 0.25s ease;
}

.plan-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.42s var(--ease);
}

.plan-card:hover img {
  transform: scale(1.03);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #8a8a8a;
  font-weight: 700;
}

.tags span {
  padding: 6px 16px;
  background: #e4e8eb;
  border-radius: 999px;
}

.plan-card strong {
  font-size: 18px;
}

.rating {
  color: var(--gold);
  font-size: 18px;
}

.plan-card button.is-active {
  color: #e73d4a;
  background: #fff3f4;
  transform: scale(1.08);
}

.details-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.details-link:hover,
.details-link:focus-visible {
  background: var(--blue);
  transform: translateX(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .plans .plan-grid.is-marquee {
    animation: none;
  }
}

.map-section {
  display: grid;
  gap: 22px;
  padding: clamp(46px, 6vw, 76px) 7vw;
  background: #fff;
}

.map-section-heading {
  display: grid;
  justify-items: start;
  max-width: 760px;
}

.map-section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 900;
}

.map-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #eaf3f9;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.home-map-summary {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 500;
  display: grid;
  gap: 3px;
  width: min(310px, calc(100% - 32px));
  padding: 12px 14px;
  color: #fff;
  background: rgba(23, 23, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.home-map-summary strong {
  font-size: 16px;
}

.home-map-summary span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.home-map-summary a {
  justify-self: start;
  margin-top: 5px;
  padding: 5px 12px;
  color: #171717;
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.map-frame iframe,
.satellite-map {
  display: block;
  width: 100%;
  height: clamp(320px, 38vw, 520px);
  border: 0;
}

.home-map-city-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 520;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #171717;
  background: var(--gold);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(18, 18, 18, 0.16);
}

.home-map-city-link:hover {
  transform: translateY(-2px);
}

.intelligence {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
  background:
    radial-gradient(circle at 18% 18%, rgba(246, 220, 122, 0.22), transparent 28%),
    linear-gradient(135deg, var(--navy), #0f334d);
  color: #fff;
}

.score-card,
.insight-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.score-card {
  padding: clamp(24px, 4vw, 42px);
}

.score-card .section-kicker {
  color: var(--navy);
  background: var(--gold-2);
}

.score-card h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 46px);
}

.score-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  font-weight: 700;
}

.insight-grid {
  display: grid;
  gap: 14px;
}

.insight-grid article {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 132px;
  padding: 22px;
}

.insight-grid strong {
  color: var(--gold-2);
  font-size: 24px;
  line-height: 1.2;
}

.insight-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.leaflet-container {
  font-family: Cairo, Tahoma, Arial, sans-serif;
}

.leaflet-control-attribution {
  font-size: 11px;
}

.golden-map-base-toggle {
  margin-top: 10px !important;
  margin-right: 10px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.golden-map-base-toggle button {
  min-height: 36px;
  padding: 0 12px;
  color: #071d2f;
  background: rgba(255, 232, 122, 0.94);
  border: 1px solid rgba(7, 29, 47, 0.16);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(7, 29, 47, 0.22);
  font: inherit;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.golden-map-base-toggle button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(7, 29, 47, 0.28);
}

.golden-map-base-toggle.is-osm button {
  color: #fff;
  background: rgba(7, 29, 47, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}

.plot-number-label,
.plot-number-marker {
  display: grid;
  width: 52px !important;
  height: 44px !important;
  place-items: center;
  color: transparent;
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: none;
  transform-origin: center center !important;
  zoom: 1 !important;
}

.plot-number-marker .plot-map-label {
  display: grid;
  min-width: 32px;
  height: 28px;
  place-items: center;
  padding: 0 6px;
  color: #101010;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(240, 217, 111, 0.98);
  border-radius: 8px;
  box-shadow: 0 4px 11px rgba(0, 0, 0, 0.26);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  transform: none !important;
  zoom: 1 !important;
}

.plot-number-marker .plot-map-label span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plot-number-marker .plot-map-label span:first-child {
  color: #050505;
}

.plot-number-marker.is-plan-number {
  width: 58px !important;
  height: 48px !important;
}

.plot-number-marker.is-detail-label {
  width: 118px !important;
  height: 78px !important;
}

.plot-number-marker.is-detail-label.is-compact-label {
  width: 62px !important;
  height: 52px !important;
}

.plot-number-marker.is-plan-number .plot-map-label {
  min-width: 34px;
  height: 30px;
  padding: 0 6px;
  color: #111111;
  background: rgba(255, 235, 88, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 9px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.22);
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85);
}

.plot-number-marker.is-reserved-number .plot-map-label {
  color: #ffffff;
  background: rgba(169, 37, 37, 0.94);
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 13px rgba(116, 22, 22, 0.34);
  text-shadow: none;
}

.plot-number-marker.is-reserved-number .plot-map-label span:first-child,
.plot-number-marker.is-reserved-number .plot-map-label span {
  color: #ffffff;
}

.plot-number-marker.is-clickable {
  cursor: pointer;
  pointer-events: auto;
}

.plot-number-marker.is-clickable .plot-map-label {
  pointer-events: auto;
}

@media (max-width: 960px) {
  .plot-number-marker.is-detail-label {
    width: 100px !important;
    height: 70px !important;
  }

  .plot-number-marker.is-detail-label.is-compact-label {
    width: 64px !important;
    height: 54px !important;
  }
}

.plot-number-label::before {
  display: none;
}

.map-block-label {
  display: grid;
  place-items: center;
  color: #101010;
  background: transparent;
  border: 0;
}

.map-block-label span {
  display: grid;
  min-width: 42px;
  min-height: 34px;
  place-items: center;
  padding: 5px 12px;
  color: #101010;
  background: rgba(240, 217, 111, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.map-controls {
  position: absolute;
  top: 54px;
  left: 54px;
  display: flex;
  gap: 16px;
}

.map-controls span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 900;
}

.map-search {
  position: absolute;
  top: 54px;
  right: 54px;
  display: grid;
  grid-template-columns: minmax(180px, 470px) 60px;
  width: min(46vw, 560px);
  padding: 8px;
  background: #fff;
  border-radius: 18px;
}

.map-search input {
  min-width: 0;
  border: 0;
  outline: 0;
}

.guide h2 {
  text-align: center;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.guide-grid article {
  display: grid;
  gap: 18px;
  transition: transform 0.3s var(--ease);
}

.guide-grid article:hover {
  transform: translateY(-6px);
}

.guide-grid img {
  width: 100%;
  aspect-ratio: 1.85;
  object-fit: cover;
  border-radius: 16px;
}

.guide-grid a {
  font-size: 26px;
  line-height: 1.35;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 58px;
  align-items: center;
  padding: 6px 8vw 50px;
}

.consultation img {
  width: 100%;
  border-radius: 16px;
}

.consultation p {
  max-width: 560px;
  margin: 0 0 34px;
  color: #8b8b8b;
  font-size: 18px;
  font-weight: 600;
}

.consultation h2 {
  margin-bottom: 20px;
}

.consultation div:not(.cta-row):not(.contact-points) {
  padding: 22px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.contact-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 12px;
  color: #171717;
  background: var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.contact-points span {
  padding: 7px 11px;
  color: #343434;
  background: #f1f6fa;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.primary-btn {
  color: #fff;
  background: var(--ink);
  box-shadow: inset 0 0 0 3px #000;
}

.secondary-btn {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 6vw;
  padding: 40px 8vw 22px;
  color: #e8e8e8;
  background: #171717;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 16px;
  font-weight: 700;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: #cfcfcf;
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 340px);
  padding: 5px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: 0;
  text-align: right;
  direction: rtl;
}

.newsletter button {
  flex: 0 0 92px;
  min-height: 44px;
  color: #fff;
  background: #111;
  border: 0;
  border-radius: 999px;
}

.whatsapp-subscribe {
  justify-content: space-between;
  color: #171717 !important;
  margin-bottom: 10px;
}

.whatsapp-subscribe span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  color: #fff;
  background: #111;
  border-radius: 999px;
  font-weight: 800;
}

.whatsapp-subscribe strong {
  padding-inline: 10px 16px;
  direction: ltr;
  font-size: 14px;
}

.copyright {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding-top: 16px;
  color: #b9b9b9;
  border-top: 2px solid #fff;
  text-align: center;
}

.copyright a {
  display: inline;
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.credit-line {
  display: block;
  width: min(100%, 940px);
  height: 2px;
  min-height: 18px;
  margin-inline: auto;
  border-top: 2px solid rgba(255, 255, 255, 0.82);
  font-size: 0;
  line-height: 0;
}

.credit-line::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: -3px auto 0;
  background: #fff;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.credit-line:hover::after {
  opacity: 1;
}

.toast {
  position: fixed;
  right: 50%;
  bottom: 24px;
  z-index: 80;
  min-width: 240px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  color: #fff;
  background: rgba(23, 23, 23, 0.94);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  text-align: center;
  transform: translate(50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.plan-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(270px, 1fr);
  gap: 24px;
  width: min(820px, 100%);
  padding: 22px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s var(--ease);
}

.plan-modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-image {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 14px;
}

.modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
}

.modal-kicker {
  margin: 0 0 6px;
  color: var(--blue);
  font-weight: 800;
}

.modal-title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.25;
}

.modal-text {
  margin: 0 0 20px;
  color: #777;
  font-size: 15px;
  font-weight: 600;
}

.cities-page {
  min-height: calc(100vh - 72px);
  padding: 50px 8vw 64px;
  background: linear-gradient(180deg, #fff 0%, #eaf3f9 100%);
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: #777;
  font-weight: 700;
}

.cities-page h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
}

.cities-page p {
  margin: 0 0 28px;
  color: #777;
  font-size: 16px;
  font-weight: 600;
}

.all-cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.city-grid article[hidden],
.all-cities-grid article[hidden],
.city-group-title[hidden] {
  display: none !important;
}

.cities-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1fr;
  gap: 14px;
  align-items: end;
  margin: 22px 0 24px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.cities-toolbar label {
  display: grid;
  gap: 7px;
}

.cities-toolbar label span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.cities-toolbar input {
  min-height: 46px;
  padding: 0 14px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #dce9f0;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.cities-toolbar input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 180, 90, 0.16);
}

.city-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.city-filter-chips button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--navy);
  background: #edf4f8;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.city-filter-chips button.is-active {
  color: #fff;
  background: var(--navy);
}

.city-group-title {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding: 12px 16px;
  color: #fff;
  background: #171717;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
}

.city-group-title:first-child {
  margin-top: 0;
}

.all-cities-grid article {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(30, 58, 76, 0.11);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.all-cities-grid article::after {
  content: "استكشف المدينة";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.all-cities-grid img {
  width: 100%;
  height: 136px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}

.city-logo-placeholder {
  display: grid;
  width: 100%;
  height: 136px;
  place-items: center;
  color: #fff;
  background: #171717;
  border-radius: 14px;
  font-size: 34px;
  font-weight: 900;
}

.all-cities-grid h2 {
  margin: 0;
  font-size: 18px;
}

.all-cities-grid span {
  color: #777;
  font-weight: 700;
}

.city-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.city-card-meta span,
.city-card-meta small {
  min-height: 30px;
  padding: 7px 9px;
  color: var(--navy);
  background: #f4f8fb;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}

.city-card-meta .city-card-status {
  grid-column: 1 / -1;
}

.city-card-meta small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.city-card-meta a {
  display: none;
}

.city-details-page {
  min-height: calc(100vh - 72px);
  padding: 38px 7vw 58px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6fb 100%);
}

.city-hero {
  display: grid;
  gap: 18px;
}

.city-hero > div {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(30, 58, 76, 0.1);
}

.city-logo-large {
  width: 126px;
  height: 126px;
  object-fit: contain;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.city-kicker {
  margin: 0 0 4px;
  color: var(--blue);
  font-weight: 800;
}

.city-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  font-weight: 900;
}

.city-hero p {
  margin: 0;
  max-width: 760px;
  color: #777;
  font-weight: 600;
}

.city-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.city-dashboard article {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: #fff;
  background: #171717;
  border-radius: 14px;
}

.city-dashboard span {
  color: #cfcfcf;
  font-size: 13px;
  font-weight: 700;
}

.city-dashboard strong {
  font-size: 26px;
  line-height: 1;
}

.city-dashboard strong[data-city-available] {
  font-size: 17px;
  line-height: 1.35;
}

.city-dashboard-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.city-dashboard-pair small {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.city-dashboard-pair em {
  color: #cfcfcf;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

.city-dashboard-pair b {
  min-width: 0;
  color: #fff;
  font-size: clamp(14px, 1.65vw, 20px);
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.city-decision-panel {
  position: relative;
  margin: 0 0 22px;
  padding: 16px;
  background: rgba(255, 253, 247, 0.88);
  border: 1px solid rgba(210, 183, 119, 0.34);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.city-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
}

.city-toolbar-search,
.city-filter-drawer label {
  display: grid;
  gap: 7px;
}

.city-decision-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.city-decision-panel strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.city-decision-panel input,
.city-decision-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.city-decision-panel input:focus,
.city-decision-panel select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 180, 90, 0.18);
}

.city-filter-toggle,
.city-filter-drawer button[data-city-filter-apply] {
  min-height: 46px;
  padding: 0 20px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.city-toolbar p {
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 16px;
  color: var(--navy);
  background: #fff7d8;
  border: 1px solid rgba(216, 180, 90, 0.42);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
}

.city-filter-drawer {
  position: absolute;
  z-index: 520;
  top: calc(100% + 10px);
  left: 0;
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s var(--ease);
}

.city-filter-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.city-filter-drawer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.city-filter-drawer > div strong {
  font-size: 18px;
}

.city-filter-drawer button[data-city-filter-close] {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--navy);
  background: #eef5f8;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.city-filter-backdrop {
  display: none;
}

.city-tabs {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(30, 58, 76, 0.11);
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tab-list button {
  min-height: 42px;
  padding: 0 18px;
  color: #555;
  background: #edf4f8;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.24s var(--ease),
    color 0.24s ease,
    background 0.24s ease;
}

.tab-list button:hover,
.tab-list button.is-active {
  color: #fff;
  background: #171717;
  transform: translateY(-2px);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: riseIn 0.45s var(--ease) both;
}

.city-analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.city-documents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.city-documents-grid a {
  display: grid;
  min-height: 76px;
  place-items: center;
  color: var(--navy);
  background: #f5f9fc;
  border: 1px solid #deebf2;
  border-radius: 14px;
  font-weight: 900;
}

.city-analysis-grid article {
  min-height: 150px;
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 226, 121, 0.2), transparent 32%),
    linear-gradient(145deg, var(--navy), #061827);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.city-analysis-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.city-analysis-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1;
}

.city-analysis-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}

.city-map-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  min-height: 0;
  border-radius: 16px;
  background: transparent;
}

.city-map {
  width: 100%;
  min-height: 480px;
  touch-action: none;
  background: #edf3ee;
  border-radius: 16px;
  overflow: hidden;
}

.city-map.is-map-zooming .plot-number-marker {
  opacity: 0;
  transition: opacity 0.08s ease;
}

.city-map-actions {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.map-zoom-level {
  z-index: 560;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 104px;
  padding: 0 16px;
  color: #fff;
  background: #071d2f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(7, 29, 47, 0.18);
  font-size: 13px;
  font-weight: 1000;
  white-space: nowrap;
}

.map-expand-btn {
  position: static;
  z-index: 560;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: #071d2f;
  background: linear-gradient(135deg, #ffe87a, #d8b84f);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(7, 29, 47, 0.22);
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.map-expand-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(7, 29, 47, 0.28);
}

.map-expand-btn span:first-child {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 17px;
  line-height: 1;
}

.plan-overlay-controls {
  position: static;
  z-index: 450;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(7, 29, 47, 0.92), rgba(25, 34, 48, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(7, 29, 47, 0.24);
  backdrop-filter: blur(14px);
}

.plan-overlay-controls[hidden] {
  display: none;
}

.plan-layer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.plan-layer-buttons.is-grouped {
  display: grid;
  flex: 1 1 auto;
  gap: 6px;
  min-width: 0;
}

.plan-zone-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.plan-zone-group-title {
  flex: 0 0 150px;
  overflow: hidden;
  color: #ffe87a;
  font-size: 12px;
  font-weight: 1000;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-zone-group-options {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.plan-layer-buttons.is-grouped .plan-zone-group-options button {
  height: 32px;
  padding: 0 11px;
  font-size: 12px;
}

.plan-part-buttons {
  display: inline-flex;
  gap: 6px;
  padding-inline-start: 6px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
}

.plan-layer-buttons button {
  min-width: 42px;
  height: 38px;
  padding: 0 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font: inherit;
  font-weight: 1000;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.plan-layer-buttons button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
}

.plan-layer-buttons button.is-active {
  color: #071d2f;
  background: linear-gradient(135deg, #ffe87a, #d8b84f);
  border-color: rgba(255, 232, 122, 0.9);
  box-shadow: 0 10px 22px rgba(240, 217, 111, 0.24);
}

.plan-opacity-control {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
  white-space: nowrap;
}

.plan-opacity-control input {
  width: min(24vw, 180px);
  accent-color: #f0d96f;
}

.map-expanded-open {
  overflow: hidden;
}

.map-expand-placeholder {
  width: 100%;
  min-height: 340px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(7, 29, 47, 0.08), rgba(216, 184, 79, 0.08));
}

.map-expand-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2990;
  display: block;
  padding: 0;
  background: rgba(3, 13, 24, 0.58);
  border: 0;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 0.22s ease;
}

.map-expand-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.city-map-wrap.is-expanded {
  position: fixed;
  inset: 14px;
  z-index: 3000;
  display: block;
  width: calc(100vw - 28px);
  height: calc(100dvh - 28px);
  min-height: 0;
  border-radius: 24px;
  background: #071d2f;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  isolation: isolate;
}

.city-map-wrap.is-expanded .city-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 24px;
}

.city-map-wrap.is-expanded .map-expand-btn {
  background: #fff;
}

.city-map-wrap.is-expanded .city-map-actions {
  position: absolute;
  z-index: 620;
  top: 16px;
  right: 16px;
  left: 16px;
}

.city-map-wrap.is-expanded .plan-overlay-controls {
  margin-left: 0;
  max-height: min(42dvh, 320px);
  overflow: auto;
  scrollbar-width: thin;
}

.city-map-wrap.is-expanded .plan-layer-buttons.is-grouped {
  max-width: min(760px, calc(100vw - 260px));
}

.city-map-wrap.is-expanded .plan-zone-group {
  min-height: 32px;
}

.city-map-wrap.is-expanded .plan-zone-group-title {
  flex-basis: 185px;
}

.map-fallback {
  position: absolute;
  inset: auto 22px 22px;
  margin: 0;
  padding: 12px 16px;
  color: #fff;
  background: rgba(23, 23, 23, 0.86);
  border-radius: 12px;
  font-weight: 700;
}

.city-map-popup {
  position: fixed;
  z-index: 1200;
  display: none;
  top: 50%;
  left: 50%;
  width: min(900px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 226, 121, 0.12), transparent 26%),
    radial-gradient(circle at 86% 4%, rgba(75, 141, 197, 0.22), transparent 30%),
    linear-gradient(145deg, rgba(4, 36, 61, 0.98), rgba(2, 20, 35, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
  transform: translate(-50%, -50%) scale(0.94);
  opacity: 0;
  transform-origin: center;
}

.city-map-popup.is-visible {
  display: block;
  animation: mapCardIn 0.36s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.city-map-wrap.is-expanded .city-map-popup {
  position: absolute;
  z-index: 1800;
  top: 50%;
  left: 50%;
  width: min(820px, calc(100% - 32px));
  max-height: calc(100% - 96px);
}

body.map-card-open {
  overflow: hidden;
}

body.map-card-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(3, 13, 24, 0.56);
  backdrop-filter: blur(8px);
  animation: mapCardBackdropIn 0.28s ease forwards;
}

body.map-expanded-open.map-card-open::before {
  display: none;
}

@keyframes mapCardIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes mapCardBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.map-card-close {
  position: absolute;
  top: 18px;
  left: 18px;
  float: left;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #f5cf61;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 207, 97, 0.45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.map-card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 42px 22px;
  text-align: center;
}

.map-card-title span {
  width: 7px;
  height: 7px;
  background: #f4cc5d;
  border-radius: 2px;
  transform: rotate(45deg);
}

.map-card-title strong {
  position: relative;
  color: #fff;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.2;
}

.map-card-title strong::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -12px;
  width: 88px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f4cc5d, transparent);
  border-radius: 999px;
  transform: translateX(50%);
}

.map-card-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
  padding: 26px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(1, 29, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  box-shadow: inset 0 -1px 0 rgba(244, 204, 93, 0.18);
}

.map-card-price {
  display: flex;
  gap: 20px;
  align-items: center;
  min-width: 0;
  padding-inline-start: 22px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.35);
}

.map-card-icon,
.map-card-stat-grid i,
.map-card-footer i {
  display: grid;
  place-items: center;
  color: #f4cc5d;
  background: rgba(1, 28, 48, 0.7);
  border: 1px solid rgba(244, 204, 93, 0.78);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(244, 204, 93, 0.14);
  font-style: normal;
  font-weight: 900;
}

.map-card-icon {
  width: 84px;
  height: 84px;
  font-size: 42px;
}

.map-card-price span,
.map-card-identity span,
.map-card-stat-grid span,
.map-card-footer span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 800;
}

.map-card-price strong {
  display: block;
  margin-top: 8px;
  color: #f4cc5d;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1;
}

.map-card-identity {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.map-card-identity strong {
  color: #fff;
  font-size: clamp(24px, 3.3vw, 38px);
  line-height: 1.2;
}

.map-card-identity strong b {
  color: #f4cc5d;
  font-size: 1.3em;
}

.map-card-identity em {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, #35a545, #67c85f);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 12px;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(36, 160, 63, 0.24);
}

.map-card-identity em.is-reserved {
  background: linear-gradient(135deg, #a92525, #e45454);
}

.map-card-identity em b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #2c9b38;
  background: #fff;
  border-radius: 999px;
}

.map-card-quick {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr auto;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}

.map-card-quick > div,
.map-card-quick em {
  display: grid;
  align-content: center;
  min-height: 92px;
  padding: 16px;
  background: rgba(1, 29, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
}

.map-card-quick span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 900;
}

.map-card-quick strong {
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
}

.map-card-quick em {
  min-width: 130px;
  justify-items: center;
  color: #fff;
  background: linear-gradient(135deg, #35a545, #67c85f);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(36, 160, 63, 0.18);
}

.map-card-quick em.is-reserved {
  background: linear-gradient(135deg, #a92525, #e45454);
}

.map-card-quick em b {
  display: none;
}

.map-card-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.map-card-stat-grid article {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 190px;
  padding: 22px 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.map-card-stat-grid i {
  width: 64px;
  height: 64px;
  font-size: 30px;
}

.map-card-stat-grid strong {
  margin-top: auto;
  color: #071928;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
}

.map-card-stat-grid .is-dark {
  background: linear-gradient(145deg, rgba(4, 39, 66, 0.86), rgba(2, 20, 34, 0.9));
}

.map-card-stat-grid .is-dark strong {
  color: #f4cc5d;
}

.map-card-stat-grid .is-purple {
  background: linear-gradient(145deg, #b87af3, #7444b8);
}

.map-card-stat-grid .is-blue {
  background: linear-gradient(145deg, #75b9ff, #2b6fc4);
}

.map-card-stat-grid .is-green {
  background: linear-gradient(145deg, #79d77a, #34a84b);
}

.map-card-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  background: rgba(1, 29, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 5px solid #d6a947;
  border-radius: 20px;
}

.map-card-footer article {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 14px;
  text-align: center;
}

.map-card-footer article + article {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.22);
}

.map-card-footer i {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  font-size: 24px;
}

.map-card-footer strong {
  color: #f4cc5d;
  font-size: clamp(18px, 2.3vw, 26px);
  line-height: 1.25;
}

.map-card-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.map-card-actions a,
.map-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.map-card-actions .is-saved,
.plot-actions .is-saved {
  color: #fff;
  background: linear-gradient(135deg, #27984b, #58c964);
}

.map-card-more {
  width: 100%;
  min-height: 42px;
  margin-bottom: 14px;
  color: #f4cc5d;
  background: rgba(244, 204, 93, 0.08);
  border: 1px solid rgba(244, 204, 93, 0.32);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.map-card-expanded[hidden] {
  display: none;
}

.map-card-mini-analysis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.map-card-mini-analysis article {
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
}

.map-card-mini-analysis span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
}

.map-card-mini-analysis strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.map-card-score-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  background: rgba(244, 204, 93, 0.12);
  border: 1px solid rgba(244, 204, 93, 0.22);
  border-radius: 16px;
}

.map-card-score-strip strong,
.map-card-score-strip b {
  color: #f4cc5d;
}

.map-card-score-strip span,
.map-card-score-strip small {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

@media (max-width: 760px) {
  .city-card-meta {
    grid-template-columns: 1fr;
  }

  .city-documents-grid {
    grid-template-columns: 1fr;
  }

  .city-map-popup {
    top: 50%;
    left: 50%;
    width: calc(100vw - 22px);
    max-height: calc(100dvh - 22px);
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.48);
    -webkit-overflow-scrolling: touch;
  }

  .map-card-close {
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .map-card-title {
    gap: 8px;
    margin: 0 28px 10px;
  }

  .map-card-title span {
    width: 5px;
    height: 5px;
  }

  .map-card-title strong {
    font-size: clamp(22px, 6.7vw, 30px);
  }

  .map-card-title strong::after {
    bottom: -7px;
    width: 60px;
    height: 2px;
  }

  .map-card-hero {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  .map-card-price {
    gap: 10px;
    padding: 0 0 8px;
    border-inline-start: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .map-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 22px;
  }

  .map-card-price span,
  .map-card-identity span,
  .map-card-stat-grid span,
  .map-card-footer span {
    font-size: 11px;
  }

  .map-card-price strong {
    margin-top: 3px;
    font-size: clamp(24px, 7.2vw, 32px);
  }

  .map-card-identity {
    gap: 6px;
  }

  .map-card-identity strong {
    font-size: clamp(19px, 5.8vw, 26px);
  }

  .map-card-identity em {
    min-height: 30px;
    gap: 7px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 14px;
  }

  .map-card-identity em b {
    width: 20px;
    height: 20px;
  }

  .map-card-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
  }

  .map-card-quick > div,
  .map-card-quick em {
    min-height: 62px;
    padding: 9px;
    border-radius: 12px;
  }

  .map-card-quick span {
    font-size: 10px;
  }

  .map-card-quick strong {
    font-size: 18px;
  }

  .map-card-quick em {
    min-width: 0;
    font-size: 16px;
  }

  .map-card-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 8px;
  }

  .map-card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
  }

  .map-card-actions a,
  .map-card-actions button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 10px;
  }

  .map-card-more {
    min-height: 34px;
    margin-bottom: 8px;
    font-size: 11px;
  }

  .map-card-mini-analysis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
  }

  .map-card-mini-analysis article {
    padding: 8px;
    border-radius: 10px;
  }

  .map-card-mini-analysis span {
    margin-bottom: 3px;
    font-size: 10px;
  }

  .map-card-mini-analysis strong {
    font-size: 11px;
  }

  .map-card-score-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 8px;
    padding: 8px;
    font-size: 11px;
  }

  .map-card-stat-grid article {
    min-height: 88px;
    gap: 4px;
    padding: 7px 5px;
    border-radius: 12px;
  }

  .map-card-stat-grid i {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-size: 14px;
  }

  .map-card-stat-grid strong {
    font-size: clamp(13px, 4vw, 17px);
    line-height: 1.15;
  }

  .map-card-footer {
    grid-template-columns: 1fr;
    border-radius: 12px;
    border-bottom-width: 3px;
  }

  .map-card-footer article {
    gap: 4px;
    padding: 8px 4px;
  }

  .map-card-footer article + article {
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .map-card-footer i {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .map-card-footer strong {
    font-size: clamp(12px, 3.7vw, 16px);
    line-height: 1.15;
  }
}

.city-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.city-list-grid article,
.empty-state {
  padding: 16px;
  background: #f5f9fc;
  border: 1px solid #deebf2;
  border-radius: 14px;
}

.city-list-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.45;
}

.city-list-grid span,
.empty-state {
  color: #777;
  font-weight: 700;
}

.plots-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.plots-toolbar input {
  width: min(100%, 420px);
  min-height: 44px;
  padding: 0 16px;
  background: #f5f9fc;
  border: 1px solid #deebf2;
  border-radius: 999px;
  outline: 0;
}

.plots-toolbar span {
  color: #777;
  font-weight: 800;
}

.plot-table-wrap {
  overflow-x: auto;
  border: 1px solid #deebf2;
  border-radius: 14px;
}

.plot-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.plot-table.is-authority-table {
  min-width: 1180px;
}

.plot-table th,
.plot-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf3f7;
  text-align: right;
}

.plot-table th {
  color: #555;
  background: #f5f9fc;
  font-size: 13px;
}

.plot-table.is-authority-table th {
  color: #fff;
  background: #171717;
  white-space: nowrap;
}

.plot-table td {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.plot-table.is-authority-table td {
  white-space: nowrap;
}

.plot-table td::before {
  display: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.is-available {
  color: #0d7a45;
  background: rgba(28, 164, 99, 0.14);
}

.status-pill.is-reserved {
  color: #bd2825;
  background: rgba(229, 57, 53, 0.14);
}

@keyframes riseIn {
  from {
    opacity: 0.72;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035) translateX(-10px);
  }
}

@keyframes softBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes noticeMarquee {
  from {
    transform: translateX(-18%);
  }
  to {
    transform: translateX(18%);
  }
}

@keyframes noticeBellRing {
  0%,
  72%,
  100% {
    transform: rotate(0);
  }
  78% {
    transform: rotate(12deg);
  }
  84% {
    transform: rotate(-10deg);
  }
  90% {
    transform: rotate(7deg);
  }
}

@keyframes noticeDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.42);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 64px;
    align-items: center;
    min-height: 86px;
    padding: 0 26px;
    gap: 16px;
  }

  .mobile-menu-toggle {
    display: grid;
    grid-column: 1;
    justify-self: start;
    align-self: center;
    position: relative;
    z-index: 32;
    width: 54px;
    height: 54px;
    margin: 0;
    border-radius: 15px;
  }

  .floating-menu-toggle {
    display: none !important;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    z-index: 30;
    display: grid;
    gap: 0;
    padding: 8px;
    background: rgba(7, 27, 47, 0.96);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
    transform: translateY(-14px) scale(0.98);
    opacity: 0;
    pointer-events: none;
  }

  body.nav-open .main-nav {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px 14px;
    color: #fff;
    border-radius: 12px;
  }

  .main-nav a:hover {
    color: var(--navy);
    background: var(--gold-2);
  }

  .main-nav a::after {
    display: none;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 28px;
    line-height: 1;
  }

  .brand-logo {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 11px;
  }

  .header-cta {
    grid-column: 3;
    justify-self: start;
    min-width: 112px;
    min-height: 46px;
    margin: 0;
    padding: 0 14px;
    font-size: 16px;
  }

  .site-header > .telegram-link {
    grid-column: 3;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .notice-message {
    font-size: 16px;
  }

  .plot-number-label,
  .plot-number-marker {
    width: 54px !important;
    height: 44px !important;
  }

  .plot-number-marker .plot-map-label {
    min-width: 34px;
    height: 30px;
    padding: 0 6px;
  }

  .plot-number-marker .plot-map-label span {
    font-size: 15px;
    line-height: 1.05;
  }

  .plot-number-marker.is-plan-number {
    width: 58px !important;
    height: 48px !important;
  }

  .plot-number-marker.is-detail-label {
    width: 100px !important;
    height: 70px !important;
  }

  .plot-number-marker.is-detail-label.is-compact-label {
    width: 64px !important;
    height: 54px !important;
  }

  .plot-number-marker.is-plan-number .plot-map-label {
    min-width: 34px;
    height: 30px;
  }

  .hero {
    min-height: 620px;
    padding: 72px 28px 44px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.92) 48%, #fff 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72));
  }

  .hero-content {
    width: min(660px, 100%);
    margin: 0 auto;
    text-align: center;
    padding: 56px 0 22px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: 52px;
    overflow-wrap: break-word;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero p {
    font-size: 19px;
    line-height: 1.8;
  }

  .search-panel {
    grid-template-columns: minmax(0, 1fr) 146px;
    gap: 0;
    min-height: 84px;
    border-radius: 22px;
    max-width: 600px;
    margin-inline: auto;
  }

  .search-panel label {
    padding: 10px 18px;
    border: 0;
  }

  .search-panel span {
    font-size: 17px;
  }

  .search-panel input {
    font-size: 16px;
  }

  .search-panel button {
    width: 100%;
    min-height: 66px;
    border-radius: 18px;
    font-size: 17px;
  }

  .stats,
  .service-grid,
  .start-steps,
  .home-land-analysis,
  .guide-grid,
  .insight-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    gap: 1px;
  }

  .section {
    padding: 36px 24px;
  }

  .service-grid,
  .plan-grid,
  .guide-grid,
  .consultation,
  .site-footer {
    gap: 18px;
  }

  .section h2,
  .consultation h2 {
    font-size: 26px;
  }

  .service-grid p,
  .consultation p {
    font-size: 15px;
  }

  .city-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 0 14px;
  }

  .city-grid article {
    flex: 0 0 calc(25% - 11px);
    min-width: 150px;
    scroll-snap-align: start;
  }

  .intelligence,
  .consultation {
    grid-template-columns: 1fr;
  }

  .map-section {
    padding: 36px 18px;
  }

  .map-frame {
    border-radius: 18px;
  }

  .plan-overlay-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-opacity-control {
    justify-content: space-between;
  }

  .plan-opacity-control input {
    width: 52vw;
  }

  .map-expand-btn {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .city-map-wrap.is-expanded {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .city-map-wrap.is-expanded .city-map {
    height: 100dvh;
    border-radius: 0;
  }

  .city-map-wrap.is-expanded .city-map-actions {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .city-map-wrap.is-expanded .plan-overlay-controls {
    margin-left: 0;
  }

  .city-map-wrap.is-expanded .plan-layer-buttons.is-grouped {
    max-width: none;
  }

  .plan-zone-group-title {
    flex-basis: 130px;
  }

  .guide-grid a {
    font-size: 25px;
  }

  .consultation {
    padding: 0 24px 64px;
  }

  .copyright {
    justify-content: flex-start;
    text-align: right;
  }

  .modal-panel,
  .all-cities-grid,
  .city-dashboard,
  .city-list-grid,
  .autocad-grid {
    grid-template-columns: 1fr;
  }

  .cities-page {
    padding: 36px 24px 48px;
  }

  .newsletter {
    width: 100%;
  }

  .autocad-card {
    min-height: 150px;
  }

  .autocad-drive-card,
  .autocad-app-card {
    grid-column: 1 / -1;
  }

  .city-details-page {
    padding: 28px 18px 44px;
  }

  .city-hero > div {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .city-map-wrap,
  .city-map {
    min-height: 380px;
  }

  .plots-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 14px;
  }

  main,
  section,
  .site-header,
  .hero,
  .hero-content,
  .section,
  .city-details-page,
  .cities-page,
  .city-tabs,
  .city-map-wrap,
  .site-footer {
    max-width: 100vw;
    min-width: 0;
  }

  .site-header {
    position: sticky;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0 12px;
  }

  .mobile-menu-toggle {
    display: grid !important;
    position: absolute;
    top: 50%;
    right: 12px;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    margin: 0;
    border-radius: 12px;
    box-shadow: none;
    transform: translateY(-50%);
  }

  .site-header .mobile-menu-toggle {
    display: grid !important;
  }

  .floating-menu-toggle {
    display: none !important;
  }

  .brand {
    position: absolute;
    top: 50%;
    left: 50%;
    justify-content: center;
    justify-self: center;
    width: auto;
    max-width: calc(100vw - 190px);
    margin: 0;
    padding: 0;
    gap: 8px;
    overflow: hidden;
    font-size: clamp(18px, 5.5vw, 22px);
    line-height: 1.1;
    white-space: nowrap;
    transform: translate(-50%, -50%);
  }

  .brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    font-size: 14px;
  }

  .brand-logo {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .header-cta {
    position: absolute;
    top: 50%;
    left: 12px;
    min-width: 82px;
    min-height: 38px;
    padding: 0 10px;
    margin: 0;
    font-size: 0;
    transform: translateY(-50%);
  }

  .header-cta::before {
    content: "المفضله";
    font-size: 12px;
    line-height: 1;
  }

  .header-cta:hover {
    transform: translateY(-50%);
  }

  .site-header > .telegram-link {
    display: none;
  }

  .site-header > .telegram-link::before {
    content: none;
  }

  .main-nav {
    top: 58px;
    right: 10px;
    left: 10px;
  }

  .notice-message {
    padding: 8px 12px;
    color: #ff0000;
    font-size: 12px;
    line-height: 1.5;
  }

  .notice-bell {
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 520px;
    padding: 56px 18px 38px;
  }

  .hero-content {
    width: min(620px, calc(100vw - 36px));
    max-width: min(620px, calc(100vw - 36px));
    margin: 0 auto;
    padding: 32px 0 18px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: 44px;
    overflow-wrap: anywhere;
  }

  .hero p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.8;
  }

  .search-panel {
    grid-template-columns: minmax(0, 1fr) 132px;
    min-height: 0;
    max-width: 560px;
    padding: 10px;
    border-radius: 20px;
  }

  .search-panel label {
    min-width: 0;
    padding: 4px 10px;
    border: 0;
  }

  .search-panel span {
    font-size: 15px;
  }

  .search-panel input {
    font-size: 15px;
  }

  .search-panel button {
    width: 100%;
    height: 56px;
    border-radius: 15px;
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(320px, 100%);
    margin-top: 12px;
    margin-inline: auto;
    gap: 8px;
  }

  .nuca-news-btn,
  .hero-telegram {
    width: 100%;
    min-height: 38px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
  }

  .hero-telegram {
    grid-column: auto;
  }

  .quick-suggestions {
    gap: 6px;
    margin-top: 10px;
  }

  .quick-suggestions button,
  .quick-suggestions a {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 10px 8px;
  }

  .stats article {
    gap: 2px;
    padding: 2px 3px;
  }

  .stats strong {
    font-size: 14px;
  }

  .stats span {
    font-size: 10px;
    line-height: 1.35;
  }

  .section {
    padding: 28px 14px;
  }

  .section h2,
  .consultation h2 {
    margin-bottom: 14px;
    font-size: 20px;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .section-kicker,
  .hero-kicker {
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .service-grid,
  .start-steps,
  .home-land-analysis,
  .guide-grid,
  .autocad-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-land-analysis {
    align-items: stretch;
    background: linear-gradient(145deg, #061b31 0%, #102c43 100%);
  }

  .home-land-analysis p {
    font-size: 12px;
    line-height: 1.7;
  }

  .analysis-mini-stats {
    grid-template-columns: 1fr;
  }

  .analysis-mini-stats article {
    min-height: 74px;
    padding: 12px;
  }

  .analysis-mini-stats strong {
    font-size: 14px;
  }

  .analysis-entry-btn {
    width: 100%;
    min-height: 46px;
    font-size: 13px;
  }

  .process-flow {
    grid-template-columns: repeat(5, minmax(54px, 1fr));
    gap: 6px;
    margin: -4px 0 18px;
    padding: 6px;
    overflow-x: auto;
    border-radius: 16px;
  }

  .process-flow span {
    min-height: 34px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .city-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    overscroll-behavior-inline: contain;
    padding: 0;
    scroll-snap-type: none;
    scrollbar-width: auto;
  }

  .plan-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    direction: ltr;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 30px) / 4);
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding: 2px 0 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .service-grid article,
  .start-steps article,
  .guide-grid article,
  .autocad-card,
  .city-grid article,
  .plan-card {
    min-width: 0;
    scroll-snap-align: start;
  }

  .service-grid article {
    gap: 7px;
    padding: 9px 6px;
    background: #f7fbfd;
    border: 1px solid #e4eef4;
    border-radius: 12px;
  }

  .start-steps article {
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
  }

  .start-steps strong {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 16px;
  }

  .start-steps h3 {
    font-size: 12px;
  }

  .start-steps p {
    font-size: 9px;
    line-height: 1.55;
  }

  .service-grid article {
    min-height: 142px;
  }

  .service-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 16px;
  }

  .service-grid h3,
  .city-grid h3,
  .all-cities-grid h2 {
    font-size: 11px;
    line-height: 1.45;
  }

  .service-grid p {
    font-size: 9px;
    line-height: 1.55;
  }

  .intelligence {
    padding-inline: 14px;
  }

  .score-card,
  .insight-grid article {
    border-radius: 16px;
  }

  .score-card h2 {
    font-size: 22px;
  }

  .score-card p,
  .insight-grid span {
    font-size: 13px;
  }

  .autocad-card {
    min-height: 128px;
    padding: 12px;
    border-radius: 12px;
  }

  .news-toolbar {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border-radius: 14px;
  }

  .news-toolbar-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-toolbar strong {
    font-size: 16px;
  }

  .news-toolbar a,
  .news-refresh-button {
    min-height: 36px;
    font-size: 11px;
  }

  .news-card {
    gap: 8px;
    min-height: 160px;
    padding: 12px;
    border-radius: 12px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.is-latest-news {
    padding: 16px;
    border-radius: 16px;
  }

  .news-card.is-latest-news h2 {
    font-size: 16px;
  }

  .news-card h2 {
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .news-card p,
  .news-source-link,
  .news-card span {
    font-size: 10px;
  }

  .news-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .news-source-link {
    min-height: 28px;
    padding: 0 10px;
  }

  .news-details summary,
  .news-details-link {
    min-height: 34px;
    font-size: 10px;
  }

  .news-details p {
    padding: 10px;
    border-radius: 10px;
  }

  .news-detail-card {
    gap: 12px;
    padding: 18px;
    border-radius: 14px;
  }

  .news-detail-card h1 {
    font-size: 24px;
  }

  .news-detail-card p {
    font-size: 14px;
    line-height: 1.9;
  }

  .autocad-card h2 {
    font-size: 13px;
  }

  .autocad-card span {
    padding: 3px 8px;
    font-size: 10px;
  }

  .autocad-card a {
    min-height: 34px;
    font-size: 10px;
  }

  .app-store-links {
    grid-template-columns: 1fr;
  }

  .autocad-card .store-badge {
    min-height: 44px;
  }

  .cities {
    padding: 26px 14px 34px;
  }

  .home-city-search {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }

  .home-city-search input,
  .home-city-search a {
    min-height: 38px;
    font-size: 12px;
  }

  .city-grid img {
    width: min(100%, 72px);
    padding: 8px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  }

  .city-grid article {
    gap: 9px;
    min-height: 152px;
    padding: 12px 8px 26px;
    border-radius: 16px;
  }

  .city-card-progress {
    height: 17px;
  }

  .city-card-progress-label {
    line-height: 17px;
    font-size: 9.5px;
  }

  .city-grid h3 {
    font-size: 15px;
    line-height: 1.35;
  }

  .city-count,
  .all-cities-grid span {
    font-size: 12px;
    line-height: 1.35;
  }

  .cities-more {
    width: 34px;
    height: 34px;
    margin-top: 10px;
    font-size: 18px;
  }

  .plan-card {
    gap: 6px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.42);
  }

  .plan-grid.is-auto-scrolling .plan-card {
    pointer-events: auto;
  }

  .plan-card {
    direction: rtl;
  }

  .plan-card img,
  .guide-grid img {
    border-radius: 10px;
  }

  .plan-card button {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .tags {
    gap: 4px;
  }

  .tags span {
    padding: 3px 6px;
    font-size: 9px;
  }

  .plan-card strong,
  .rating,
  .guide-grid a {
    font-size: 11px;
    line-height: 1.45;
  }

  .details-link {
    padding: 5px 8px;
    font-size: 9px;
  }

  .map-section {
    padding: 24px 12px;
    overflow: hidden;
  }

  .map-frame,
  .satellite-map {
    border-radius: 14px;
  }

  .satellite-map {
    height: 280px;
  }

  .consultation {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 14px 32px;
  }

  .consultation img {
    display: none;
  }

  .plans .plan-grid.is-marquee {
    gap: 10px;
    padding-block: 4px 10px;
    animation-duration: 42s;
  }

  .plans .plan-grid.is-marquee .plan-card {
    width: min(58vw, 230px);
  }

  .plan-text-card {
    min-height: 118px;
    padding: 12px;
    border-radius: 14px;
  }

  .plan-card-topline,
  .plan-card-footer {
    gap: 8px;
  }

  .plan-card-copy strong {
    font-size: 14px;
  }

  .plan-card-copy > span,
  .plan-card-count {
    font-size: 10px;
  }

  .plan-card-count b {
    font-size: 18px;
  }

  .plan-text-card .plan-text-icon {
    min-width: 42px;
    height: 28px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .details-link {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 16px;
  }

  .consultation div:not(.cta-row):not(.contact-points) {
    padding: 14px 0;
    border-width: 2px;
  }

  .consultation p {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.8;
  }

  .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .primary-btn,
  .secondary-btn {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 16px 18px;
    text-align: right;
  }

  .site-footer h2 {
    font-size: 20px;
  }

  .site-footer h3 {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .site-footer a {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .newsletter {
    display: grid;
    grid-template-columns: 1fr 82px;
    width: 100%;
    padding: 4px;
    border-radius: 14px;
  }

  .newsletter input {
    padding: 0 10px;
    font-size: 12px;
  }

  .newsletter button {
    min-height: 38px;
    font-size: 12px;
  }

  .copyright {
    justify-content: center;
    margin-top: 4px;
    padding-top: 12px;
    font-size: 12px;
    text-align: center;
  }

  .cities-page {
    padding: 28px 14px 40px;
  }

  .cities-page h1 {
    font-size: 26px;
  }

  .cities-page p {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .cities-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 16px 0 18px;
    padding: 10px;
    border-radius: 14px;
  }

  .cities-toolbar input {
    min-height: 38px;
    border-radius: 11px;
    font-size: 12px;
  }

  .city-filter-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .city-filter-chips button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 10px;
  }

  .all-cities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .city-group-title {
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
  }

  .all-cities-grid article {
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  .all-cities-grid img,
  .city-logo-placeholder {
    height: 86px;
    border-radius: 10px;
  }

  .city-logo-placeholder {
    font-size: 22px;
  }

  .city-details-page {
    padding: 22px 10px 34px;
  }

  .back-link {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .city-hero {
    gap: 12px;
  }

  .city-hero > div {
    grid-template-columns: 74px 1fr;
    justify-items: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    text-align: right;
  }

  .city-logo-large {
    width: 74px;
    height: 74px;
    padding: 7px;
    border-radius: 12px;
  }

  .city-kicker {
    font-size: 11px;
  }

  .city-hero h1 {
    margin-bottom: 4px;
    font-size: 20px;
  }

  .city-hero p {
    font-size: 11px;
    line-height: 1.7;
  }

  .city-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 12px 0;
  }

  .city-dashboard article {
    gap: 4px;
    min-width: 0;
    min-height: 58px;
    padding: 9px 6px;
    border-radius: 11px;
  }

  .city-dashboard span {
    min-width: 0;
    font-size: 9px;
    line-height: 1.35;
    white-space: normal;
  }

  .city-dashboard strong {
    font-size: 18px;
  }

  .city-dashboard strong[data-city-available] {
    font-size: 13px;
    line-height: 1.3;
  }

  .city-dashboard-pair {
    gap: 5px;
  }

  .city-dashboard-pair em {
    font-size: 8px;
  }

  .city-dashboard-pair b {
    font-size: 12px;
  }

  .city-decision-panel {
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 14px;
  }

  .city-toolbar {
    grid-template-columns: 1fr 84px;
    gap: 8px;
  }

  .city-toolbar p {
    grid-column: 1 / -1;
    min-height: 34px;
    justify-content: center;
    padding: 0 10px;
    border-radius: 11px;
    font-size: 10px;
  }

  .city-decision-panel span {
    font-size: 9px;
  }

  .city-decision-panel strong {
    font-size: 13px;
  }

  .city-decision-panel input,
  .city-decision-panel select {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 11px;
    font-size: 11px;
  }

  .city-filter-toggle,
  .city-filter-drawer button[data-city-filter-apply] {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 11px;
    font-size: 11px;
  }

  .city-filter-drawer {
    position: fixed;
    z-index: 1300;
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    padding: 14px;
    border-radius: 18px;
    transform: translateY(110%);
  }

  .city-filter-drawer.is-open {
    transform: translateY(0);
  }

  .city-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1290;
    display: block;
    background: rgba(3, 13, 24, 0.42);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  body.city-filter-open .city-filter-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .city-tabs {
    overflow: hidden;
    padding: 10px;
    border-radius: 14px;
  }

  .tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
  }

  .tab-list button {
    min-width: 0;
    min-height: 36px;
    padding: 0 5px;
    border-radius: 11px;
    font-size: 10px;
    white-space: normal;
  }

  .city-analysis-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .city-analysis-grid article {
    min-height: auto;
    padding: 12px;
    border-radius: 12px;
  }

  .city-analysis-grid span {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .city-analysis-grid strong {
    margin-bottom: 6px;
    font-size: 20px;
  }

  .city-analysis-grid p {
    font-size: 10px;
    line-height: 1.7;
  }

  .city-map-wrap {
    min-height: 0;
    border-radius: 12px;
  }

  .city-map {
    min-height: 340px;
    border-radius: 12px;
  }

  .city-map-actions {
    flex-direction: column;
    gap: 8px;
  }

  .map-expand-btn {
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .map-expand-btn span:first-child {
    width: 18px;
    height: 18px;
    font-size: 14px;
  }

  .plan-overlay-controls {
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
  }

  .plan-layer-buttons {
    gap: 5px;
  }

  .plan-layer-buttons button {
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }

  .plan-opacity-control {
    gap: 6px;
    font-size: 10px;
  }

  .plan-opacity-control input {
    width: 38vw;
  }

  .city-map-wrap.is-expanded {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .city-map-wrap.is-expanded .city-map {
    height: 100dvh;
    min-height: 0;
    border-radius: 0;
  }

  .city-map-wrap.is-expanded .city-map-actions {
    top: 8px;
    right: 8px;
    left: 8px;
  }

  .city-map-wrap.is-expanded .plan-overlay-controls {
    margin-left: 0;
  }

  .city-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .city-list-grid article,
  .empty-state {
    padding: 10px;
    border-radius: 12px;
  }

  .city-list-grid strong {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .city-list-grid span,
  .empty-state {
    font-size: 11px;
  }

  .plots-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 10px;
  }

  .plots-toolbar input {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 12px;
  }

  .plots-toolbar span {
    align-self: center;
    font-size: 11px;
    white-space: nowrap;
  }

  .plot-table-wrap {
    overflow: visible;
    border: 0;
  }

  .plot-table,
  .plot-table.is-authority-table {
    min-width: 0;
  }

  .plot-table,
  .plot-table thead,
  .plot-table tbody,
  .plot-table tr,
  .plot-table th,
  .plot-table td {
    display: block;
    width: 100%;
  }

  .plot-table thead {
    display: none;
  }

  .plot-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
    padding: 9px;
    background: #fff;
    border: 1px solid #deebf2;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(30, 58, 76, 0.08);
  }

  .plot-table td {
    min-width: 0;
    padding: 7px 8px;
    border: 0;
    border-radius: 9px;
    background: #f6fafc;
    font-size: 11px;
    white-space: normal;
  }

  .plot-table.is-authority-table td {
    white-space: normal;
  }

  .plot-table td::before {
    display: block;
    margin-bottom: 2px;
    color: #777;
    font-size: 9px;
    font-weight: 800;
    content: attr(data-label);
  }

  .status-pill {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .plot-profile-page,
  .golden-plan-page {
    padding: 24px 14px 42px;
  }

  .plot-profile-hero,
  .golden-plan-hero,
  .plot-insight-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .plot-profile-hero h1,
  .golden-plan-hero h1 {
    font-size: 34px;
  }

  .plot-profile-hero p,
  .golden-plan-hero p {
    font-size: 13px;
    line-height: 1.75;
  }

  .golden-score {
    min-width: 0;
    padding: 16px;
    border-radius: 16px;
  }

  .golden-score strong,
  .plan-progress strong {
    font-size: 28px;
  }

  .plot-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .plot-profile-grid article,
  .plot-map-preview,
  .plot-analysis-card,
  .plan-progress,
  .golden-plan-board article {
    border-radius: 14px;
  }

  .plot-profile-grid article,
  .plot-map-preview,
  .plot-analysis-card,
  .plan-progress {
    padding: 12px;
  }

  .plot-profile-grid span {
    font-size: 10px;
  }

  .plot-profile-grid strong,
  .plot-map-preview h2,
  .plot-analysis-card h2,
  .golden-plan-board strong {
    font-size: 17px;
  }

  .plot-map-preview p,
  .plot-analysis-card li,
  .golden-plan-board span {
    font-size: 11px;
  }

  .plot-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .plot-actions a,
  .plot-actions button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 11px;
  }

  .golden-plan-board article {
    grid-template-columns: auto 1fr;
    padding: 12px;
  }

  .golden-plan-board button {
    grid-column: 1 / -1;
  }
}

.legal-page {
  min-height: calc(100vh - 72px);
  padding: 44px 8vw 70px;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 55%);
}

.about-page {
  min-height: calc(100vh - 72px);
  padding: clamp(46px, 7vw, 84px) 8vw 78px;
  background: #fff;
}

.about-simple {
  width: min(860px, 100%);
  margin: 0 auto;
  padding-top: 22px;
}

.about-simple span {
  display: block;
  margin-bottom: 14px;
  color: #9f7a25;
  font-size: 15px;
  font-weight: 900;
}

.about-simple h1 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
}

.about-simple p {
  margin: 0 0 22px;
  color: #4f5962;
  font-size: 20px;
  line-height: 2.05;
  font-weight: 700;
}

.about-simple strong {
  display: block;
  margin-top: 34px;
  padding-top: 26px;
  color: var(--navy);
  border-top: 2px solid var(--gold-2);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.7;
}

.plot-profile-page,
.golden-plan-page {
  min-height: calc(100vh - 72px);
  padding: 46px 8vw 72px;
  background:
    radial-gradient(circle at top right, rgba(216, 180, 90, 0.16), transparent 30%),
    linear-gradient(180deg, var(--ivory), #ffffff 58%, #edf6fb);
}

.plot-profile-hero,
.golden-plan-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 20px;
}

.plot-profile-hero h1,
.golden-plan-hero h1 {
  margin: 8px 0;
  color: var(--navy);
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.05;
  font-weight: 900;
}

.plot-profile-hero p,
.golden-plan-hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
}

.golden-score {
  min-width: 230px;
  padding: 22px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(255, 226, 121, 0.25), transparent 36%),
    var(--navy);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.golden-score span,
.plan-progress span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.golden-score strong {
  display: block;
  margin-top: 10px;
  color: var(--gold-2);
  font-size: 36px;
  line-height: 1;
}

.plot-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.plot-profile-grid article,
.plot-map-preview,
.plot-analysis-card,
.plan-progress,
.golden-plan-board article {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.plot-profile-grid article {
  padding: 18px;
}

.plot-profile-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.plot-profile-grid strong {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.plot-detail-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.plot-score-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.plot-detail-panel article,
.plot-score-panel article,
.plot-notes-card,
.compare-card,
.compare-insights article,
.compare-recommendations article,
.smart-finder-panel,
.smart-plot-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.plot-detail-panel article {
  padding: 18px;
}

.plot-score-panel article {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(244, 204, 93, 0.18), transparent 34%),
    #fff;
}

.plot-detail-panel span,
.plot-score-panel span,
.compare-card dt {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.plot-detail-panel strong,
.plot-score-panel strong,
.compare-card dd {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}

.plot-score-panel strong {
  display: block;
  color: #d2a13b;
  font-size: 30px;
}

.plot-score-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.plot-insight-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-bottom: 18px;
}

.plot-map-preview,
.plot-analysis-card {
  padding: 24px;
}

.plot-map-preview h2,
.plot-analysis-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 26px;
}

.plot-map-preview p,
.plot-analysis-card li {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.plot-analysis-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 18px 0 0;
}

.plot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plot-actions a,
.plot-actions button {
  min-height: 48px;
  padding: 0 22px;
  color: var(--navy);
  background: var(--gold-2);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.plot-notes-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 20px;
}

.plot-notes-card h2 {
  margin: 6px 0;
  color: var(--navy);
  font-size: 24px;
}

.plot-notes-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.plot-notes-card textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  padding: 14px;
  color: var(--navy);
  background: #f5f9fc;
  border: 1px solid #deebf2;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  outline: 0;
}

.plot-notes-card button,
.compare-card a {
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.plan-progress {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 20px;
  color: #fff;
  background: var(--navy);
}

.plan-progress strong {
  display: block;
  margin-top: 6px;
  color: var(--gold-2);
  font-size: 38px;
}

.progress-track {
  overflow: hidden;
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.golden-plan-board {
  display: grid;
  gap: 16px;
}

.golden-plan-group {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.golden-plan-group > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.golden-plan-group h2 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

.golden-plan-group > div span,
.plan-empty-state {
  color: var(--muted);
  font-weight: 800;
}

.golden-plan-board article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.golden-plan-board article.is-dragging {
  opacity: 0.62;
  transform: scale(0.98);
}

.golden-plan-board b {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 14px;
}

.golden-plan-board strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.golden-plan-board span {
  color: var(--muted);
  font-weight: 700;
}

.golden-plan-board button {
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
}

.golden-plan-board small {
  display: block;
  margin-top: 5px;
  color: #6f7d87;
  font-size: 12px;
  font-weight: 800;
}

.golden-plan-board a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-weight: 900;
}

.plan-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.compare-page {
  min-height: calc(100vh - 72px);
  padding: 46px 8vw 72px;
  background: linear-gradient(180deg, var(--ivory), #fff 58%, #edf6fb);
}

.compare-counter {
  min-width: 250px;
  margin: 0;
}

.compare-board {
  display: grid;
  gap: 18px;
}

.compare-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compare-recommendations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compare-recommendations article {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(244, 204, 93, 0.18), transparent 34%),
    #fff;
}

.compare-recommendations span,
.smart-plot-card span {
  color: var(--muted);
  font-weight: 900;
}

.compare-recommendations strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: 22px;
}

.compare-recommendations p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.7;
}

.compare-insights article {
  padding: 18px;
}

.compare-insights span {
  color: var(--muted);
  font-weight: 900;
}

.compare-insights strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 24px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.compare-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.compare-card > button {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.compare-card h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 24px;
}

.compare-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.compare-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.compare-card dl div {
  padding: 10px;
  background: #f5f9fc;
  border-radius: 12px;
}

.compare-card dl div.is-best {
  background: rgba(244, 204, 93, 0.28);
  outline: 1px solid rgba(214, 169, 71, 0.42);
}

.compare-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.smart-finder-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px;
}

.smart-finder-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.smart-finder-head h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 28px;
}

.smart-finder-head > strong {
  padding: 8px 14px;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 999px;
}

.smart-finder-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.smart-finder-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.smart-finder-form input,
.smart-finder-form select {
  min-height: 44px;
  padding: 0 12px;
  background: #f5f9fc;
  border: 1px solid #deebf2;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: 0;
}

.smart-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.smart-plot-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.smart-plot-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

.smart-plot-card p,
.smart-plot-card small {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.smart-plot-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  background: rgba(244, 204, 93, 0.18);
  border-radius: 12px;
}

.smart-plot-card div strong {
  color: #c7922f;
  font-size: 24px;
}

.smart-plot-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.smart-plot-card li {
  list-style: none;
  padding: 5px 9px;
  color: var(--navy);
  background: #edf6fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.smart-plot-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-weight: 900;
}

.smart-plot-card.is-limited {
  opacity: 0.86;
}

.score-reasons {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 12px;
  background: rgba(7, 27, 47, 0.045);
  border: 1px solid rgba(7, 27, 47, 0.08);
  border-radius: 12px;
}

.score-reasons summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.score-reasons p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.score-reasons b {
  color: var(--navy);
}

.score-reasons small {
  display: block;
  margin-top: 8px;
  color: #c7922f;
  font-weight: 900;
}

.map-score-reasons {
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.map-score-reasons summary,
.map-score-reasons b {
  color: var(--gold-2);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #777;
  font-weight: 800;
}

.legal-hero {
  max-width: 860px;
  margin-bottom: 30px;
}

.legal-hero span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 14px;
  color: #171717;
  background: var(--gold);
  border-radius: 999px;
  font-weight: 900;
}

.legal-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
}

.legal-hero p {
  margin: 0;
  color: #666;
  font-size: 18px;
  font-weight: 600;
}

.legal-grid,
.docs-grid,
.docs-files,
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-grid article,
.docs-grid a,
.doc-file-card,
.faq-list article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(24, 44, 58, 0.08);
}

.legal-grid h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.faq-list h2,
.transfer-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.legal-grid p,
.legal-grid li,
.docs-grid span,
.doc-file-card small,
.faq-list p,
.info-list dd {
  color: #666;
  font-weight: 600;
}

.legal-grid ul {
  margin: 14px 0 0;
  padding-inline-start: 22px;
}

.docs-grid a,
.doc-file-card {
  display: grid;
  gap: 8px;
  color: #171717;
  text-decoration: none;
  transition:
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.docs-grid a:hover,
.doc-file-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(24, 44, 58, 0.14);
}

.docs-grid strong,
.doc-file-card strong {
  font-size: 21px;
}

.docs-files {
  margin-bottom: 24px;
}

.doc-file-card > span {
  justify-self: start;
  padding: 7px 16px;
  color: #171717;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.info-list div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: #f5f9fc;
  border-radius: 12px;
}

.info-list dt {
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.info-list dd {
  margin: 0;
  direction: ltr;
  text-align: left;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 28px 16px 46px;
  }

  .plan-zone-group {
    align-items: flex-start;
    gap: 6px;
  }

  .plan-zone-group-title {
    flex-basis: 112px;
    padding-top: 6px;
    font-size: 10px;
  }

  .plan-layer-buttons.is-grouped .plan-zone-group-options button {
    height: 28px;
    padding: 0 7px;
    font-size: 10px;
  }

  .about-page {
    padding: 32px 18px 52px;
  }

  .about-simple {
    padding-top: 8px;
  }

  .about-simple h1 {
    margin-bottom: 20px;
  }

  .about-simple p {
    font-size: 16px;
    line-height: 2;
  }

  .about-simple strong {
    margin-top: 26px;
    padding-top: 20px;
  }

  .legal-grid,
  .docs-grid,
  .docs-files,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .legal-grid article,
  .docs-grid a,
  .doc-file-card {
    padding: 18px;
    border-radius: 14px;
  }

  .legal-hero p {
    font-size: 14px;
  }

  .news-page .legal-hero h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  .investment-shell,
  .investment-form {
    grid-template-columns: 1fr;
  }

  .investment-copy,
  .investment-form {
    padding: 18px;
    border-radius: 16px;
  }

  .investment-copy h1 {
    font-size: 26px;
  }

  .investment-form input,
  .investment-form button {
    min-height: 46px;
  }

  .transfer-wizard {
    padding: 14px;
    border-radius: 18px;
  }

  .wizard-progress {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .wizard-progress li {
    min-height: 38px;
    padding: 0 6px;
    font-size: 11px;
  }

  .wizard-step {
    padding: 18px;
    border-radius: 16px;
  }

  .transfer-hero {
    text-align: right;
  }

  .transfer-hero span {
    margin: 0;
  }

  .transfer-hero h1 {
    font-size: 40px;
  }

  .transfer-hero p {
    font-size: 15px;
  }

  .transfer-grid,
  .choice-grid,
  .transfer-city-picker,
  .transfer-result-layout,
  .transfer-summary-card dl {
    grid-template-columns: 1fr;
  }

  .transfer-city-picker > button {
    width: 100%;
  }

  .transfer-city-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 220px;
  }

  .goals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-grid span {
    min-height: 50px;
    font-size: 13px;
  }

  .transfer-done-card {
    padding: 36px 12px;
  }

  .transfer-done-card p {
    font-size: 15px;
  }

  .transfer-summary-card,
  .transfer-score-card {
    padding: 16px;
    border-radius: 16px;
  }

  .transfer-score-card > strong {
    font-size: 38px;
  }

  .saved-transfer-card {
    grid-template-columns: 1fr;
  }

  .saved-transfer-card div {
    grid-row: auto;
    flex-wrap: wrap;
  }

  .plot-profile-page,
  .golden-plan-page,
  .compare-page {
    padding: 28px 16px 46px;
  }

  .plot-profile-hero,
  .golden-plan-hero {
    grid-template-columns: 1fr;
  }

  .plot-detail-panel,
  .plot-score-panel,
  .compare-insights,
  .compare-recommendations,
  .compare-grid,
  .smart-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plot-detail-panel article,
  .plot-score-panel article,
  .plot-notes-card,
  .compare-card,
  .smart-finder-panel,
  .smart-plot-card {
    padding: 14px;
    border-radius: 14px;
  }

  .plot-notes-card,
  .plot-insight-layout,
  .smart-finder-form {
    grid-template-columns: 1fr;
  }

  .smart-finder-head {
    align-items: start;
    flex-direction: column;
  }

  .plot-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plot-actions a,
  .plot-actions button {
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  .plan-card-actions {
    justify-content: flex-start;
  }
}

.plan-empty-card,
.plan-first-use,
.compare-summary-card,
.compare-details-toggle {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.plan-empty-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at top right, rgba(244, 204, 93, 0.18), transparent 30%),
    #fff;
  border-radius: 22px;
  text-align: center;
}

.plan-empty-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 42px);
}

.plan-empty-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

.plan-empty-card a,
.compare-details-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.plan-first-use {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--navy);
  background: rgba(244, 204, 93, 0.22);
  border-radius: 16px;
  font-weight: 900;
}

.plan-first-use::before {
  content: "↕";
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 12px;
}

.golden-plan-board .plan-choice-card {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  min-height: 86px;
  padding: 14px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.golden-plan-simple {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.golden-plan-simple-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.golden-plan-simple-head h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
}

.golden-plan-simple-head > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--navy);
  background: #f6df86;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
}

.plan-simple-list {
  display: grid;
  gap: 10px;
}

.plan-choice-rank {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 14px;
  font-size: 20px;
  font-weight: 900;
}

.plan-choice-main {
  display: grid;
  gap: 3px;
}

.plan-order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.plan-order-actions button {
  min-width: 76px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #d7e5ee;
}

.plan-order-actions button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.golden-plan-board .plan-choice-card strong {
  font-size: 18px;
}

.golden-plan-board .plan-choice-card small {
  color: #667780;
}

.plan-card-actions {
  gap: 6px;
}

.plan-card-actions a,
.plan-card-actions button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.plan-card-actions button[data-plan-remove] {
  color: var(--navy);
  background: #eef5f9;
}

.compare-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.compare-summary-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
}

.compare-summary-card > button {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.compare-summary-card span,
.compare-insights small {
  color: var(--muted);
  font-weight: 900;
}

.compare-summary-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
}

.compare-summary-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.compare-summary-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  background: #f5f9fc;
  border-radius: 12px;
}

.compare-summary-card dt,
.compare-summary-card dd {
  margin: 0;
  font-weight: 900;
}

.compare-summary-card dt {
  color: var(--muted);
}

.compare-summary-card dd {
  color: var(--navy);
}

.compare-insights {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compare-insights small {
  display: block;
  margin-top: 6px;
}

.compare-details-toggle {
  justify-self: center;
  min-width: 180px;
  margin-top: 2px;
}

.compare-grid[hidden] {
  display: none;
}

.analysis-page {
  min-height: 100vh;
  padding: 130px clamp(18px, 7vw, 90px) 70px;
  background:
    radial-gradient(circle at 15% 12%, rgba(244, 197, 66, 0.18), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #eef6fb 100%);
}

.analysis-hero {
  max-width: 900px;
  margin: 0 auto 26px;
  text-align: center;
}

.analysis-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.1;
  color: #121416;
}

.analysis-hero p {
  margin: 0 auto;
  max-width: 740px;
  color: #6f7880;
  font-size: 1.1rem;
  line-height: 1.9;
}

.analysis-toolbar,
.analysis-kpis,
.analysis-panel,
.analysis-results {
  max-width: 1180px;
  margin-inline: auto;
}

.analysis-toolbar {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(130px, 0.75fr)) 1.4fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(18, 20, 22, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 32, 45, 0.08);
}

.analysis-toolbar label {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 18px;
  background: #eef6fb;
  color: #6a737b;
  font-weight: 800;
}

.analysis-toolbar span {
  font-size: 0.78rem;
}

.analysis-toolbar input,
.analysis-toolbar select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111315;
  font: inherit;
  font-weight: 900;
}

.analysis-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.analysis-kpis article {
  padding: 20px;
  border-radius: 22px;
  background: #121416;
  color: #fff;
}

.analysis-kpis span,
.analysis-panel-head span {
  display: block;
  color: #8d969d;
  font-weight: 800;
  margin-bottom: 8px;
}

.analysis-kpis strong {
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  color: #f7df72;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 18px auto;
}

.analysis-visual-panel,
.analysis-panel,
.analysis-results {
  padding: 22px;
  border: 1px solid rgba(18, 20, 22, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 70px rgba(15, 32, 45, 0.08);
}

.analysis-visual-panel {
  max-width: 1180px;
  margin: 18px auto;
  padding: 18px 20px 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 236, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 23.8%, rgba(18, 57, 91, 0.08) 24% 24.15%, transparent 24.3% 49%);
}

.analysis-visual-head {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 230px) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.analysis-visual-head > div span {
  display: block;
  color: #121416;
  font-weight: 900;
}

.analysis-visual-head > div strong {
  display: block;
  margin-top: 5px;
  color: #6f7880;
  font-size: 0.96rem;
}

.analysis-visual-head label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(18, 20, 22, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  color: #121416;
  font-weight: 900;
}

.analysis-visual-head select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #121416;
  font: inherit;
  font-weight: 800;
}

.metric-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 20, 22, 0.08);
  border-radius: 10px;
  background: #fff;
}

.metric-tabs button {
  min-height: 36px;
  padding: 0 15px;
  border: 0;
  border-inline-start: 1px solid rgba(18, 20, 22, 0.08);
  background: transparent;
  color: #516171;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
}

.metric-tabs button:first-child {
  border-inline-start: 0;
}

.metric-tabs button.is-active {
  background: #12395b;
  color: #fff;
}

.ranking-chart {
  display: grid;
  gap: 7px;
  min-height: 300px;
}

.ranking-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr minmax(90px, auto);
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: #344252;
  font: inherit;
  text-align: right;
  cursor: pointer;
}

.ranking-label {
  overflow: hidden;
  color: #617083;
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-track {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 57, 91, 0.06);
}

.ranking-track i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--rank-width);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rank-color), color-mix(in srgb, var(--rank-color) 62%, #f4c542));
  box-shadow: 0 6px 14px color-mix(in srgb, var(--rank-color) 32%, transparent);
}

.ranking-value {
  color: #516171;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: left;
}

.ranking-row:is(:hover, :focus-visible) .ranking-label,
.ranking-row:is(:hover, :focus-visible) .ranking-value {
  color: #121416;
}

.analysis-hint {
  margin: 14px 0 0;
  color: #7c8794;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.smart-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 18px auto;
}

.smart-insights article {
  padding: 16px;
  border: 1px solid rgba(18, 20, 22, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(244, 197, 66, 0.18), transparent 38%),
    #fff;
  box-shadow: 0 18px 45px rgba(15, 32, 45, 0.07);
}

.smart-insights span,
.smart-insights small {
  display: block;
  color: #7b8794;
  font-weight: 800;
}

.smart-insights strong {
  display: block;
  margin: 8px 0;
  overflow: hidden;
  color: #121416;
  font-size: 1.12rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analysis-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.analysis-panel-head strong {
  color: #121416;
  font-size: 1.05rem;
}

.market-bands {
  display: grid;
  gap: 13px;
}

.market-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  font-weight: 900;
}

.market-band i {
  grid-column: 1 / -1;
  height: 12px;
  width: var(--band-width);
  min-width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #12395b, #f4c542);
}

.premium-impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.premium-row {
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 14px;
  align-content: center;
  border: 1px solid rgba(18, 20, 22, 0.08);
  border-radius: 18px;
  background: #f6fbff;
  font-weight: 900;
}

.premium-row span {
  color: #121416;
}

.premium-row strong {
  color: #12395b;
  font-size: 1.25rem;
}

.premium-row em {
  color: #7c8794;
  font-style: normal;
  font-size: 0.8rem;
}

.scatter-chart {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(rgba(18, 57, 91, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 57, 91, 0.08) 1px, transparent 1px),
    #f6fbff;
  background-size: 44px 44px;
}

.scatter-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #12395b;
  box-shadow: 0 4px 12px rgba(18, 57, 91, 0.24);
  transform: translate(-50%, -50%);
}

.analysis-empty {
  display: grid;
  place-items: center;
  min-height: 270px;
  color: #6f7880;
  font-weight: 900;
}

.analysis-map {
  min-height: 430px;
  overflow: hidden;
  border-radius: 22px;
  background: #dfe9ef;
}

.analysis-results {
  max-height: 560px;
  margin-top: 18px;
  overflow: hidden;
}

.analysis-table-wrap {
  max-height: 440px;
  overflow: auto;
  border: 1px solid rgba(18, 20, 22, 0.08);
  border-radius: 18px;
}

.analysis-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: #121416;
}

.analysis-table th,
.analysis-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(18, 20, 22, 0.08);
  text-align: right;
  white-space: nowrap;
}

.analysis-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f6fbff;
  color: #6f7880;
  font-size: 0.86rem;
}

.analysis-table a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 34px;
  border-radius: 999px;
  background: #121416;
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .analysis-toolbar,
  .analysis-grid,
  .analysis-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-search {
    grid-column: 1 / -1;
  }

  .analysis-visual-head {
    grid-template-columns: 1fr;
  }

  .metric-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .smart-insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .analysis-page {
    padding: 100px 12px 40px;
  }

  .analysis-hero h1 {
    font-size: 2rem;
  }

  .analysis-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
  }

  .analysis-toolbar label {
    padding: 8px 10px;
    border-radius: 12px;
  }

  .analysis-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .analysis-kpis article {
    padding: 15px;
    border-radius: 16px;
  }

  .analysis-kpis strong {
    font-size: 1.4rem;
  }

  .analysis-visual-panel,
  .analysis-panel,
  .analysis-results {
    padding: 14px;
    border-radius: 20px;
  }

  .analysis-visual-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .metric-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .metric-tabs button {
    flex: 0 0 auto;
    min-width: max-content;
    font-size: 0.75rem;
  }

  .ranking-chart {
    min-height: 200px;
  }

  .ranking-row {
    grid-template-columns: 80px 1fr 60px;
    gap: 5px;
  }

  .ranking-label {
    font-size: 0.8rem;
  }

  .smart-insights {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .smart-insights article {
    padding: 12px;
  }

  .smart-insights strong {
    font-size: 1rem;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .premium-impact {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Responsive Table as Cards */
  .analysis-table-wrap {
    border: 0;
    max-height: none;
    overflow: visible;
  }

  .analysis-table,
  .analysis-table thead,
  .analysis-table tbody,
  .analysis-table tr,
  .analysis-table th,
  .analysis-table td {
    display: block;
    width: 100%;
  }

  .analysis-table thead {
    display: none;
  }

  .analysis-table tr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #eef6fb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 32, 45, 0.05);
  }

  .analysis-table td {
    padding: 0;
    border: 0;
    text-align: right;
    white-space: normal;
  }

  .analysis-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: #8d969d;
    font-size: 0.7rem;
    font-weight: 800;
  }

  .analysis-table td.td-action {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #f6fbff;
  }

  .analysis-table td.td-action a {
    width: 100%;
    min-height: 40px;
  }
}

@media (max-width: 900px) {
  .golden-plan-simple {
    padding: 14px;
  }

  .golden-plan-simple-head h2 {
    font-size: 24px;
  }

  .golden-plan-board .plan-choice-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .plan-order-actions,
  .golden-plan-board .plan-choice-card .plan-card-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
  }

  .plan-order-actions button,
  .plan-card-actions a,
  .plan-card-actions button {
    width: 100%;
    padding: 0 10px;
  }

  .compare-summary-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .compare-summary-card {
    min-width: 250px;
    scroll-snap-align: start;
  }

  .compare-insights,
  .compare-recommendations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .golden-plan-board .plan-choice-card {
    grid-template-columns: auto 1fr;
  }

  .golden-plan-simple-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-order-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .golden-plan-board .plan-choice-card .plan-card-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plan-card-actions a,
  .plan-card-actions button {
    padding: 0 10px;
    font-size: 12px;
  }

  .compare-insights,
  .compare-recommendations,
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .site-header {
    min-height: 58px;
    padding: 0 10px;
  }

  .mobile-menu-toggle {
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px auto;
  }

  .brand {
    max-width: calc(100vw - 168px);
    gap: 6px;
    font-size: 17px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .header-cta {
    left: 10px;
    min-width: 70px;
    min-height: 34px;
    padding: 0 8px;
  }

  .header-cta::before {
    font-size: 11px;
  }

  .main-nav {
    top: 54px;
    right: 8px;
    left: 8px;
  }
}

@media (max-width: 960px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand trial cta"
      "nav nav nav";
    align-items: center;
    min-height: 0;
    padding: 10px 12px 12px;
    gap: 8px 10px;
  }

  .brand {
    position: static;
    grid-area: brand;
    justify-self: start;
    justify-content: flex-start;
    max-width: 100%;
    transform: none;
  }

  .header-cta {
    position: static;
    grid-area: cta;
    justify-self: end;
    min-width: 0;
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
    transform: none;
  }

  .header-cta::before {
    content: none;
  }

  .header-cta:hover {
    transform: translateY(-1px);
  }

  .mobile-menu-toggle,
  .site-header .mobile-menu-toggle,
  .floating-menu-toggle {
    display: none !important;
  }

  .main-nav {
    position: static;
    grid-area: nav;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 8px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(7, 27, 47, 0.12);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(7, 27, 47, 0.08);
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .main-nav a:hover {
    color: var(--navy);
    background: var(--gold-2);
  }

  .search-panel {
    grid-template-columns: minmax(0, 1fr) 54px;
    max-width: 500px;
    min-height: 56px;
    padding: 7px;
    border-radius: 17px;
  }

  .search-panel label {
    padding: 4px 10px;
  }

  .search-panel span {
    font-size: 14px;
  }

  .search-panel input {
    font-size: 14px;
  }

  .search-panel button {
    width: 54px;
    height: 46px;
    border-radius: 13px;
  }
}

@media (max-width: 640px) {
  .plot-profile-page {
    padding: 10px 10px 40px !important;
  }

  .plot-profile-hero h1 {
    font-size: 24px !important;
    margin-bottom: 2px !important;
  }

  .plot-profile-hero p {
    font-size: 12px !important;
  }

  .golden-score {
    padding: 10px !important;
    margin-bottom: 12px !important;
  }

  .golden-score strong {
    font-size: 22px !important;
  }

  .plot-profile-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .plot-profile-grid article {
    padding: 12px 8px !important;
    text-align: center !important;
    min-height: 90px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .plot-profile-grid article span {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }

  .plot-profile-grid article strong {
    font-size: 15px !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
  }

  .plot-profile-grid article:last-child {
    grid-column: 1 / -1 !important;
    min-height: 0 !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
  }

  .plot-profile-grid article:last-child span {
    margin: 0 !important;
  }
}

/* Professional Map Labels - Re-added for Global Consistency */
.plot-number-marker .plot-map-label.is-detail-number {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1px !important;
  width: 110px !important;
  height: 70px !important;
  min-width: 110px !important;
  padding: 6px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  text-align: center !important;
  transition: transform 0.2s ease !important;
}

.plot-number-marker .plot-map-label.is-detail-number.is-compact {
  width: 54px !important;
  height: 44px !important;
  min-width: 54px !important;
  padding: 4px !important;
  border-radius: 10px !important;
}

.plot-number-marker .plot-map-label.is-detail-number.is-compact b {
  font-size: 17px !important;
}

.plot-number-marker.is-plan-detail-label .plot-map-label.is-detail-number {
  width: 68px !important;
  height: 50px !important;
  min-width: 68px !important;
  gap: 0 !important;
  padding: 4px !important;
  background: rgba(15, 23, 42, 0.78) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24) !important;
}

.plot-number-marker.is-plan-detail-label .plot-map-label.is-detail-number b {
  font-size: 18px !important;
  line-height: 0.95 !important;
  margin: 0 !important;
}

.plot-number-marker.is-plan-detail-label .plot-map-label.is-detail-number .label-area,
.plot-number-marker.is-plan-detail-label .plot-map-label.is-detail-number .label-paid {
  font-size: 10.5px !important;
  line-height: 1 !important;
}

/* The detail-card label style above sets its own !important background,
   which otherwise silently hides the red "reserved" color for any plot
   using that style. Reserved status must win regardless of label style. */
.plot-number-marker.is-reserved-number .plot-map-label.is-detail-number,
.plot-number-marker.is-plan-detail-label.is-reserved-number .plot-map-label.is-detail-number {
  background: rgba(169, 37, 37, 0.94) !important;
}

@media (max-width: 960px) {
  .plot-number-marker .plot-map-label.is-detail-number {
    width: 90px !important;
    height: 60px !important;
    min-width: 90px !important;
    padding: 4px !important;
    border-radius: 10px !important;
  }
  .plot-number-marker .plot-map-label.is-detail-number b {
    font-size: 16px !important;
  }
  .plot-number-marker .plot-map-label.is-detail-number .label-area,
  .plot-number-marker .plot-map-label.is-detail-number .label-paid {
    font-size: 11px !important;
  }
  .plot-number-marker .plot-map-label.is-detail-number.is-compact {
    width: 54px !important;
    height: 44px !important;
    min-width: 54px !important;
  }

  .trial-badge {
    grid-area: trial;
    justify-self: center;
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }
  .plot-number-marker.is-plan-detail-label .plot-map-label.is-detail-number {
    width: 62px !important;
    height: 46px !important;
    min-width: 62px !important;
    padding: 3px !important;
  }
  .plot-number-marker.is-plan-detail-label .plot-map-label.is-detail-number b {
    font-size: 16px !important;
  }
  .plot-number-marker.is-plan-detail-label .plot-map-label.is-detail-number .label-area,
  .plot-number-marker.is-plan-detail-label .plot-map-label.is-detail-number .label-paid {
    font-size: 9.5px !important;
  }
}

.plot-number-marker .plot-map-label.is-detail-number b {
  display: block !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
  margin: 1px 0 !important;
}

.plot-number-marker .plot-map-label.is-detail-number .label-area {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #22d3ee !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
}

.plot-number-marker .plot-map-label.is-detail-number .label-paid {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #fbbf24 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
}

.home .hero,
main#home .hero {
  min-height: clamp(380px, 52vh, 500px);
  padding-block: clamp(28px, 4.5vw, 54px);
}

.home .cities,
main#home .cities {
  padding-block: 34px 36px;
}

.home .home-land-analysis,
main#home .home-land-analysis {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  justify-items: center;
  gap: 18px;
  padding-block: 48px;
  text-align: center;
}

.home .home-land-analysis-copy,
main#home .home-land-analysis-copy {
  display: grid;
  justify-items: center;
}

.home .home-land-analysis h2,
main#home .home-land-analysis h2,
.home .home-land-analysis p,
main#home .home-land-analysis p {
  max-width: 760px;
  text-align: center;
}

.home .home-land-analysis-actions,
main#home .home-land-analysis-actions {
  justify-items: center;
}

.home .analysis-entry-btn,
main#home .analysis-entry-btn {
  min-width: 230px;
  min-height: 50px;
  padding-inline: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 34px rgba(230, 194, 90, 0.26);
}

.home .analysis-entry-btn:hover,
main#home .analysis-entry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(230, 194, 90, 0.34);
}

.home .consultation,
main#home .consultation {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

@media (max-width: 640px) {
  .home .hero,
  main#home .hero {
    min-height: 360px;
    padding-block: 24px 20px;
  }

  .home .hero-content,
  main#home .hero-content {
    padding-block: 18px 10px;
  }

  .home .cities,
  main#home .cities {
    padding-block: 24px 28px;
  }

  .home .home-land-analysis,
  main#home .home-land-analysis {
    grid-template-columns: 1fr;
    padding-block: 34px;
  }

  .home .analysis-entry-btn,
  main#home .analysis-entry-btn {
    width: min(280px, 100%);
  }

  .home .consultation,
  main#home .consultation {
    grid-template-columns: 1fr;
  }

  .home .hero-transfer-card,
  main#home .hero-transfer-card {
    display: grid;
    width: min(300px, 100%);
    min-height: 58px;
    margin-top: 12px;
    padding: 9px 18px 10px;
    gap: 2px;
    border-radius: 18px;
    text-align: center;
    white-space: normal;
  }

  .home .hero-transfer-card span,
  .home .hero-transfer-card strong,
  main#home .hero-transfer-card span,
  main#home .hero-transfer-card strong {
    font-size: 13px;
    line-height: 1.35;
  }

  .home .hero-transfer-card span,
  main#home .hero-transfer-card span {
    color: rgba(7, 27, 47, 0.72);
    font-size: 12px;
  }
}

.transfer-page .saved-transfer-card .primary-link-button {
  min-width: 148px;
  padding-inline: 18px;
  background: var(--gold);
  text-align: center;
  white-space: nowrap;
}

.transfer-page .choice-grid.goals-grid:has(input[name="transferGoal"]) {
  grid-template-columns: repeat(2, minmax(160px, 280px));
  justify-content: center;
}

.transfer-page .transfer-result-layout {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.transfer-page .transfer-summary-card {
  text-align: center;
}

@media (max-width: 640px) {
  .transfer-page .saved-transfer-card div {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .transfer-page .saved-transfer-card button,
  .transfer-page .saved-transfer-card a {
    width: 100%;
  }

  .transfer-page .choice-grid.goals-grid:has(input[name="transferGoal"]) {
    grid-template-columns: 1fr;
  }

  .transfer-page .transfer-result-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand {
    max-width: calc(100vw - 112px);
    gap: 6px;
    overflow: hidden;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    max-width: 82px;
    padding-inline: 10px;
  }

  .main-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
  }

  .main-nav a {
    min-width: 0;
    padding-inline: 5px;
    font-size: 11px;
    white-space: normal;
  }

  .analysis-page {
    width: 100%;
    max-width: 100vw;
    padding: 84px 10px 34px !important;
    overflow-x: hidden;
  }

  .analysis-page *,
  .analysis-page *::before,
  .analysis-page *::after {
    min-width: 0;
  }

  .analysis-hero {
    margin-bottom: 18px;
    overflow: hidden;
  }

  .analysis-hero h1 {
    font-size: 1.72rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .analysis-hero p {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .analysis-toolbar,
  .analysis-kpis,
  .analysis-visual-panel,
  .smart-insights,
  .analysis-grid,
  .analysis-panel,
  .analysis-results {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .analysis-toolbar {
    padding: 10px;
  }

  .analysis-toolbar input,
  .analysis-toolbar select {
    min-width: 0;
    font-size: 0.92rem;
  }

  .analysis-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-kpis article {
    padding: 12px 10px;
  }

  .analysis-kpis strong {
    font-size: 1.08rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .analysis-visual-head > div strong,
  .analysis-panel-head strong {
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .analysis-visual-head label {
    grid-template-columns: 1fr;
  }

  .metric-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .metric-tabs button {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
    border: 1px solid rgba(18, 20, 22, 0.08);
    border-radius: 999px;
    white-space: normal;
  }

  .ranking-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 8px;
    padding: 8px 0;
  }

  .ranking-label {
    font-size: 0.82rem;
    white-space: normal;
    text-overflow: clip;
  }

  .ranking-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .ranking-value {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .smart-insights,
  .premium-impact {
    grid-template-columns: 1fr;
  }

  .smart-insights strong,
  .premium-row strong,
  .market-band strong {
    overflow-wrap: anywhere;
  }

  .analysis-results {
    max-height: none;
  }

  .analysis-table {
    min-width: 0 !important;
  }

  .analysis-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .analysis-table tr {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .analysis-table td {
    display: grid;
    grid-template-columns: minmax(88px, 0.45fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .analysis-table td::before {
    margin: 0;
  }

  .analysis-table td.td-action {
    display: block;
  }
}

.live-status-indicator {
  position: absolute;
  z-index: 720;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.live-status-indicator .live-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: liveStatusPulse 1.8s ease-out infinite;
}

@keyframes liveStatusPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* =========================
   حجوزات اليوم — Daily Bookings dashboard
   ========================= */

.db-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.db-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.db-header-title h1 {
  margin: 4px 0 2px;
  font-size: clamp(24px, 3vw, 32px);
}

.db-header-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.db-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.db-last-update {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
}

.db-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.db-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.db-btn-primary {
  color: #071b2f;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
}

.db-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.db-summary-card {
  padding: 16px;
  display: grid;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.db-summary-card span {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
}

.db-summary-card strong {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  color: var(--ink);
}

.db-summary-card.is-accent {
  background: linear-gradient(135deg, #071b2f, #102b42);
  border-color: transparent;
}

.db-summary-card.is-accent span {
  color: rgba(255, 255, 255, 0.65);
}

.db-summary-card.is-accent strong {
  color: var(--gold-2);
}

.db-panel {
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.db-loading-text {
  margin: 0;
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.db-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.db-panel-header h2 {
  margin: 0;
  font-size: 17px;
}

.db-sort-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
}

.db-sort-controls select {
  padding: 6px 10px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.db-toggle-group {
  display: inline-flex;
  padding: 3px;
  background: var(--soft-blue);
  border-radius: 999px;
}

.db-toggle-group button {
  padding: 6px 14px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.db-toggle-group button.is-active {
  color: #071b2f;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.db-table-wrap {
  overflow-x: auto;
}

.db-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.db-table th {
  padding: 8px 10px;
  text-align: right;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.db-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}

.db-table tbody tr {
  cursor: pointer;
  transition: background 0.15s ease;
}

.db-table tbody tr:hover {
  background: var(--soft-blue);
}

.db-empty-row {
  padding: 26px 10px !important;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  white-space: normal !important;
}

.db-table tfoot td {
  border-bottom: 0;
  border-top: 2px solid var(--ink);
  font-weight: 900;
  background: var(--soft-blue);
}

.db-region-name {
  font-weight: 800;
  color: var(--ink);
}

.db-rate-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}

.db-rate-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.db-rate-fill {
  height: 100%;
  border-radius: 999px;
}

.db-rate-text {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 12px;
}

.db-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 999px;
  white-space: nowrap;
}

.db-status-badge.is-available {
  color: #14532d;
  background: rgba(47, 158, 93, 0.14);
}

.db-status-badge.is-medium {
  color: #713f12;
  background: rgba(216, 164, 35, 0.16);
}

.db-status-badge.is-high {
  color: #7c2d12;
  background: rgba(234, 88, 12, 0.16);
}

.db-status-badge.is-complete {
  color: #7f1d1d;
  background: rgba(217, 61, 53, 0.14);
}

.db-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  justify-content: flex-end;
}

.db-drawer-overlay[hidden] {
  display: none;
}

.db-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 47, 0.45);
}

.db-drawer {
  position: relative;
  width: min(420px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  box-shadow: -20px 0 50px rgba(7, 27, 47, 0.18);
}

.db-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.db-drawer-header strong {
  font-size: 15px;
}

.db-drawer-close {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  background: var(--soft-blue);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.db-drawer-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.db-drawer-stats div {
  padding: 10px;
  background: var(--soft-blue);
  border-radius: 10px;
}

.db-drawer-stats span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.db-drawer-stats strong {
  font-size: 16px;
}

.db-drawer-subhead {
  margin: 4px 0 0;
  font-size: 13px;
}

.db-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.db-drawer-row {
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--soft-blue);
  border-radius: 8px;
}

.db-drawer-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.db-drawer-row-plot {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.db-drawer-row-meta {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-drawer-row-time {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink);
}

.db-drawer-empty {
  padding: 20px 0;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}

.db-export-stage {
  position: fixed;
  top: -9999px;
  left: -9999px;
  width: 900px;
  pointer-events: none;
}

.db-export-card {
  width: 900px;
  padding: 32px;
  background: #ffffff;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  position: relative;
}

.db-export-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 16px;
}

.db-export-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.db-export-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.db-export-date {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.db-export-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.db-export-summary div {
  padding: 12px;
  background: var(--soft-blue);
  border-radius: 10px;
  text-align: center;
}

.db-export-summary span {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 4px;
}

.db-export-summary strong {
  font-size: 22px;
}

.db-export-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-bottom: 16px;
}

.db-export-table th {
  padding: 7px 8px;
  text-align: right;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.db-export-table td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
}

.db-export-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.db-export-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.db-export-card > *:not(.db-export-watermark) {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .db-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-header {
    flex-direction: column;
  }

  .db-drawer {
    width: 100%;
  }
}
