@import url("vazirmatn.css");

:root {
  --teal: #0a7f87;
  --teal-deep: #065f66;
  --teal-ink: #043b40;
  --orange: #ff5700;
  --orange-deep: #e04b00;
  --foam: #f5fbfb;
  --mist: #e7f4f5;
  --ink: #102427;
  --ink-soft: #3d5558;
  --white: #ffffff;
  --shadow: 0 22px 50px rgba(4, 59, 64, 0.2);
  --radius: 18px;
  --font-display: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 87, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #f7fcfc 0%, #eef7f8 45%, #e6f2f3 100%);
  padding-bottom: env(safe-area-inset-bottom);
}

body.nav-locked {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.topbar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.85rem + env(safe-area-inset-top)) clamp(0.9rem, 4vw, 3rem) 1.1rem;
  color: var(--white);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  max-width: min(420px, 62vw);
}

.brand-lockup-text {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.brand-short { display: none; }

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-toggle.dark {
  color: var(--teal-ink);
  background: rgba(10, 127, 135, 0.08);
  border-color: rgba(10, 127, 135, 0.18);
}

.top-link {
  opacity: 0.92;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.1rem;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 59, 64, 0.25) 0%, rgba(4, 59, 64, 0.55) 48%, rgba(4, 59, 64, 0.92) 100%),
    radial-gradient(circle at 18% 20%, rgba(255, 87, 0, 0.22), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(10, 127, 135, 0.55), transparent 34%),
    linear-gradient(135deg, #05555c 0%, #0a7f87 40%, #06666e 72%, #043b40 100%);
  z-index: -2;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 87, 0, 0.16), transparent 30%),
    linear-gradient(115deg, rgba(4, 59, 64, 0.25), transparent 52%);
  z-index: -1;
}

.hero-content {
  width: min(1100px, calc(100% - 2rem));
  max-width: 100%;
  text-align: center;
  padding-block: 7.5rem 5rem;
}

html.page-loading,
body.page-loading {
  overflow: hidden;
  overscroll-behavior: none;
}

body.page-loading {
  position: fixed;
  inset-inline: 0;
  top: 0;
  width: 100%;
}

.hero-enter {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--enter-delay, 0ms);
  will-change: opacity, transform;
}

.is-loaded .hero-enter {
  opacity: 1;
  transform: translateY(0);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 87, 0, 0.22), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(10, 127, 135, 0.55), transparent 34%),
    linear-gradient(135deg, #05555c 0%, #0a7f87 40%, #06666e 72%, #043b40 100%);
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: 1.5rem;
  text-align: center;
  animation: loaderRise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-loader-mark {
  width: clamp(72px, 18vw, 104px);
  height: clamp(72px, 18vw, 104px);
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
  animation: loaderMark 1.6s ease-in-out infinite;
}

.page-loader-brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  min-width: min(72vw, 220px);
}

.page-loader-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 0.92;
  margin-inline-end: -0.14em;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.page-loader-tag {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.page-loader-line {
  flex: 1 1 0;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.75);
  transform-origin: center;
  animation: loaderLine 900ms ease both 180ms;
}

.page-loader-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.page-loader-bar {
  width: min(180px, 46vw);
  height: 2px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.page-loader-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  animation: loaderSweep 1.1s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.reveal-card {
  transform: translateY(28px) scale(0.97);
}

.reveal-card.is-visible {
  transform: translateY(0) scale(1);
}

.page-loading .logo-header-mark {
  animation: none;
}

.logo-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.4vw, 1.6rem);
  margin: 0 auto 1.8rem;
  max-width: 100%;
  direction: ltr;
  text-align: left;
}

.logo-header-mark {
  width: clamp(78px, 18vw, 210px);
  height: clamp(78px, 18vw, 210px);
  flex: 0 0 auto;
  object-fit: contain;
  animation: logoPulse 4.5s ease-in-out infinite;
  will-change: transform, filter;
}

.logo-header-text {
  position: relative;
  display: inline-block;
  padding-bottom: clamp(1.15rem, 2.4vw, 1.7rem);
  min-width: 0;
}

.logo-header-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 10.5vw, 8.4rem);
  letter-spacing: 0.12em;
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  /* Cancel trailing letter-spacing so width matches visual RADISON */
  margin-inline-end: -0.12em;
  white-space: nowrap;
}

.logo-header-tag {
  position: absolute;
  inset-inline: 0;
  top: calc(100% - clamp(1.15rem, 2.4vw, 1.7rem) + 0.35rem);
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1vw, 0.65rem);
  width: 100%;
  box-sizing: border-box;
}

.logo-header-line {
  flex: 1 1 0;
  min-width: 0.75rem;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.82);
}

.logo-header-label {
  flex: 0 1 auto;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.9vw, 1.12rem);
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
  margin-inline-end: -0.22em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.55;
}

.hero-tagline {
  display: block;
  margin-top: 0.45rem;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.hero p {
  margin: 0 auto 2rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.9;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }
.btn[hidden] { display: none !important; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(255, 87, 0, 0.32);
}

.btn-primary:hover { background: var(--orange-deep); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-danger {
  background: rgba(255, 87, 0, 0.12);
  color: #b33d00;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.4rem 0 4.8rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: var(--teal-ink);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 42rem;
}

.why {
  border-block: 1px solid rgba(10, 127, 135, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(231, 244, 245, 0.7));
  width: 100%;
  padding-inline: max(1rem, calc((100% - 1180px) / 2));
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem 2rem;
}

.why-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-item {
  padding-top: 0.4rem;
  border-top: 3px solid var(--orange);
}

.why-item strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
  color: var(--teal-deep);
}

.why-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: 2.4rem;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.about-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.95;
  font-size: 1.02rem;
}

.fact-list {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.fact-list > div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(10, 127, 135, 0.18);
}

.fact-list dt {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.fact-list dd {
  margin: 0;
  color: var(--teal-ink);
  font-weight: 600;
  line-height: 1.7;
}

.listings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.listings-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.listings-head-actions .btn-ghost {
  color: var(--teal-ink);
  border-color: rgba(10, 127, 135, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.listings-all-btn {
  flex: 0 0 auto;
  text-decoration: none;
}

.property-rail-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
}

.property-rail-wrap {
  min-width: 0;
  overflow: hidden;
}

.property-rail {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(0, auto));
  grid-auto-columns: minmax(220px, 260px);
  gap: 1rem 1.1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.15rem 0.85rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  direction: rtl;
}

.property-rail::-webkit-scrollbar { display: none; }

.rail-nav {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(4, 59, 64, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.rail-nav:hover {
  transform: scale(1.06);
  background: var(--orange);
}

.property-card {
  scroll-snap-align: start;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  text-align: right;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  color: var(--white);
  background: var(--teal-ink);
  isolation: isolate;
  box-shadow: 0 16px 36px rgba(4, 59, 64, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(4, 59, 64, 0.18);
}

.reveal-card.is-visible:hover {
  transform: translateY(-4px) scale(1);
}

.property-card > img,
.property-card-empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.property-card:hover > img {
  transform: scale(1.06);
}

.reveal-card:not(.is-visible) > img {
  transform: scale(1.05);
}

.reveal-card.is-visible:hover > img {
  transform: scale(1.06);
}

.property-card-empty {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.7rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 87, 0, 0.22), transparent 42%),
    linear-gradient(135deg, #065f66, #0a7f87 55%, #043b40 100%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.property-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(4, 59, 64, 0.92) 100%);
  z-index: 0;
}

.property-card .property-meta {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.05rem 1rem 1.15rem;
  color: var(--white);
  display: grid;
  gap: 0.35rem;
}

.property-card-chips {
  margin-bottom: 0.15rem;
}

.property-card .property-meta h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card .price {
  color: #ffd2b8;
  font-weight: 700;
}

.property-grid-all {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.property-grid-all .property-card {
  width: 100%;
}

.reextract-form {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(10, 127, 135, 0.18);
}

.compact-field {
  margin-bottom: 0;
}

.reextract-status {
  margin-top: 0.55rem;
}

.page-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.85rem + env(safe-area-inset-top)) clamp(0.9rem, 4vw, 3rem) 1rem;
  background: rgba(247, 252, 252, 0.92);
  border-bottom: 1px solid rgba(10, 127, 135, 0.12);
  backdrop-filter: blur(10px);
}

.brand-lockup.dark,
.brand-lockup.dark .brand-lockup-text,
.top-nav.dark .top-link {
  color: var(--teal-ink);
}

.top-nav.dark .top-link {
  border-bottom-color: rgba(10, 127, 135, 0.28);
}

.page-banner {
  padding: 2.8rem 1rem 1.4rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 87, 0, 0.1), transparent 28%),
    linear-gradient(180deg, #eef7f8, transparent);
}

.page-banner-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.page-banner h1 {
  margin: 0 0 0.7rem;
  color: var(--teal-ink);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.page-banner p {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.properties-page {
  padding-top: 1.5rem;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
}

.empty-state {
  padding: 2.5rem 1.5rem;
  border: 1px dashed rgba(10, 127, 135, 0.28);
  border-radius: var(--radius);
  text-align: center;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
}

.contact {
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 87, 0, 0.18), transparent 28%),
    linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--white);
  padding: 3.4rem 1rem;
}

.contact-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
}

.contact p {
  margin: 0;
  max-width: 34rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
}

.location-block {
  margin-top: 1.1rem;
}

.location-address,
.footer-address {
  margin: 0 0 0.7rem;
  line-height: 1.7;
}

.location-address {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.footer-address {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 28rem;
}

.location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.location-block-compact .location-links {
  justify-content: center;
}

.location-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.location-link:hover {
  transform: translateY(-2px);
}

.contact .location-link {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.contact .location-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-footer .location-link {
  background: rgba(10, 127, 135, 0.08);
  border: 1px solid rgba(10, 127, 135, 0.18);
  color: var(--teal-deep);
}

.site-footer .location-link:hover {
  background: rgba(255, 87, 0, 0.1);
  border-color: rgba(255, 87, 0, 0.28);
  color: var(--orange-deep);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 59, 64, 0.66);
  backdrop-filter: blur(8px);
}

.modal-backdrop.open { display: grid; animation: fadeIn 180ms ease; }

.modal {
  width: min(980px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--foam);
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: popIn 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #043b40;
  min-height: 280px;
  overflow: hidden;
  touch-action: none;
}

.zoom-stage {
  width: 100%;
  height: min(56vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.zoom-stage.is-zoomed { cursor: grab; }
.zoom-stage.is-zoomed.is-dragging { cursor: grabbing; }

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.modal-gallery.is-zoomed .gallery-nav {
  opacity: 0.35;
  pointer-events: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-ink);
  cursor: pointer;
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 1.35rem;
  line-height: 1;
}

.gallery-nav.prev { left: 1rem; right: auto; }
.gallery-nav.next { right: 1rem; left: auto; }

.gallery-count {
  position: absolute;
  left: 1rem;
  right: auto;
  bottom: 1rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 0.85rem;
  direction: ltr;
}

.zoom-controls {
  position: absolute;
  right: 1rem;
  left: auto;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
  direction: ltr;
}

.zoom-controls button {
  min-width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-ink);
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 0.65rem;
}

.zoom-hint {
  position: absolute;
  left: 50%;
  bottom: 3.4rem;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
}

.modal-gallery.is-zoomed .zoom-hint { opacity: 0; }

.modal-body { padding: 1.4rem 1.4rem 1.7rem; }

.modal-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.modal-top h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.modal-price {
  color: var(--orange);
  font-weight: 700;
  margin: 0;
}

.modal-price small {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.close-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 127, 135, 0.1);
  cursor: pointer;
  flex: 0 0 auto;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
}

.spec {
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: rgba(10, 127, 135, 0.08);
  color: var(--ink-soft);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.thumbs button {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
}

.thumbs button.active { border-color: var(--orange); }
.thumbs img { width: 100%; height: 64px; object-fit: cover; }

.site-footer {
  padding: 2rem 1.2rem 2.4rem;
  text-align: center;
  color: var(--ink-soft);
  border-top: 1px solid rgba(10, 127, 135, 0.12);
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  background: rgba(255, 255, 255, 0.45);
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand {
  font-weight: 600;
  color: var(--teal-deep);
}

.footer-social {
  color: var(--teal);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.footer-social:hover { color: var(--orange); }

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-links a:hover { color: var(--orange); }

.footer-credit {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  opacity: 0.85;
}

.footer-credit a {
  color: var(--teal-deep);
  font-weight: 600;
  border-bottom: 1px solid rgba(10, 127, 135, 0.28);
  padding-bottom: 0.05rem;
}

.footer-credit a:hover {
  color: var(--orange);
  border-bottom-color: rgba(255, 87, 0, 0.45);
}

.field textarea,
.field input {
  width: 100%;
  border: 1px solid rgba(10, 127, 135, 0.18);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: white;
  outline: none;
}

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

.field textarea:focus,
.field input:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 127, 135, 0.12);
}

.field select {
  width: 100%;
  border: 1px solid rgba(10, 127, 135, 0.18);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: white;
  outline: none;
}

.panel-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.9rem;
}

.panel-dash-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(231, 244, 245, 0.9));
  border: 1px solid rgba(10, 127, 135, 0.14);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panel-dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(4, 59, 64, 0.1);
}

.panel-dash-card strong {
  color: var(--teal-ink);
  font-size: 1.05rem;
}

.panel-dash-card span {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.admin-card.wide {
  width: min(980px, 100%);
}

.panel-property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.panel-property-card {
  border: 0;
  padding: 0;
  text-align: right;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: white;
  border: 1px solid rgba(10, 127, 135, 0.12);
  box-shadow: 0 12px 28px rgba(4, 59, 64, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panel-property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(4, 59, 64, 0.12);
}

.panel-property-card img,
.panel-property-empty {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.panel-property-empty {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.65rem;
  background: linear-gradient(135deg, #065f66, #0a7f87);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  font-weight: 600;
}

.panel-property-meta {
  padding: 0.85rem 0.9rem 1rem;
}

.panel-property-meta h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--teal-ink);
  line-height: 1.45;
}

.panel-property-meta p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.panel-edit-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 59, 64, 0.55);
  backdrop-filter: blur(6px);
}

.panel-edit-backdrop[hidden] {
  display: none !important;
}

.panel-edit-modal {
  width: min(560px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: #f7fcfc;
  border-radius: 22px;
  padding: 1.2rem 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.panel-edit-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.panel-edit-top h2 {
  margin: 0 0 0.3rem;
  color: var(--teal-ink);
  font-size: 1.25rem;
}

.panel-edit-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.panel-edit-cover {
  border-radius: 16px;
  overflow: hidden;
  background: #065f66;
}

.panel-edit-cover img,
.panel-edit-cover .panel-property-empty {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.panel-edit-block {
  padding: 0.9rem;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(10, 127, 135, 0.12);
  display: grid;
  gap: 0.7rem;
}

.panel-edit-block h3 {
  margin: 0;
  color: var(--teal-deep);
  font-size: 1rem;
}

.panel-edit-block .sub {
  margin: 0;
}

.panel-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
}

.panel-edit-actions form {
  margin: 0;
}

.panel-section:first-of-type {
  margin-top: 0.4rem;
  padding-top: 0;
  border-top: 0;
}

.panel-subtitle {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--teal-ink);
}

.tour-item-mark {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #065f66, #0a7f87);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

.view-count {
  color: var(--orange);
  font-weight: 700;
}

.tour-assigned {
  margin-top: 0.35rem !important;
  color: var(--teal-deep) !important;
}

.tour-assigned a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.property-item {
  align-items: start;
}

.property-item-body {
  display: grid;
  gap: 0.35rem;
}

.assign-tour-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.assign-tour-form select {
  flex: 1 1 180px;
  border: 1px solid rgba(10, 127, 135, 0.18);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  background: white;
}

.assign-tour-form .btn-ghost {
  color: var(--teal-ink);
  border-color: rgba(10, 127, 135, 0.2);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.55rem 0.9rem;
}

.chip-tour {
  background: rgba(255, 87, 0, 0.92);
  color: white;
}

.modal-tour-wrap {
  margin: 1rem 0 0.4rem;
}

.modal-tour-btn {
  width: 100%;
  text-decoration: none;
}

.admin-page {
  min-height: 100vh;
  display: block;
  padding: 2rem 1rem 3rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 87, 0, 0.1), transparent 26%),
    radial-gradient(circle at 88% 82%, rgba(10, 127, 135, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fcfc, #e7f4f5);
}

.admin-card {
  width: min(860px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 127, 135, 0.12);
  border-radius: 24px;
  padding: 1.7rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: riseIn 500ms ease both;
}

.admin-card.narrow { width: min(560px, 100%); }
.admin-card h1 { margin: 0 0 0.4rem; font-size: 1.55rem; color: var(--teal-ink); }
.admin-card .sub { margin: 0 0 1.4rem; color: var(--ink-soft); line-height: 1.7; }

.admin-brand {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}

.admin-brand.compact {
  display: flex;
  align-items: center;
  justify-items: start;
  text-align: start;
  gap: 0.75rem;
  margin-bottom: 0;
}

.admin-brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(255, 87, 0, 0.28));
}

.admin-brand.compact .admin-brand-logo {
  width: 44px;
  height: 44px;
}

.admin-brand-en {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-ink);
  line-height: 1;
}

.admin-brand-fa {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(10, 127, 135, 0.12);
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.admin-top-actions form { margin: 0; }

.admin-top-actions .btn-ghost {
  color: var(--teal-ink);
  border-color: rgba(10, 127, 135, 0.2);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.65rem 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.field span { font-size: 0.92rem; color: var(--ink-soft); }

.admin-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.admin-actions .btn-ghost {
  color: var(--teal-ink);
  border-color: rgba(10, 127, 135, 0.2);
  background: rgba(255, 255, 255, 0.65);
}

.status {
  margin-top: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: rgba(10, 127, 135, 0.08);
  color: var(--ink-soft);
  line-height: 1.7;
}

.status.error { background: rgba(255, 87, 0, 0.12); color: #b33d00; }
.status.ok { background: rgba(10, 127, 135, 0.12); color: var(--teal-deep); }

.admin-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; }

.admin-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(10, 127, 135, 0.1);
}

.admin-item img,
.admin-item-placeholder {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.admin-item-placeholder {
  background: linear-gradient(135deg, #dff3f4, #cfe7e9);
}

.admin-item h3 { margin: 0 0 0.25rem; font-size: 0.98rem; }
.admin-item p { margin: 0; color: var(--ink-soft); font-size: 0.86rem; }
.messages { margin-bottom: 1rem; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.4%, -1%, 0); }
}

@keyframes logoPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.3));
  }
  50% {
    transform: translateY(-6px) scale(1.04);
    filter: drop-shadow(0 22px 34px rgba(255, 87, 0, 0.42));
  }
}

@keyframes loaderRise {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes loaderMark {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.03); }
}

@keyframes loaderLine {
  from { transform: scaleX(0); opacity: 0.2; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes loaderSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(260%); }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .page-loader-inner,
  .page-loader-mark,
  .page-loader-line,
  .page-loader-bar span,
  .hero-enter,
  .reveal,
  .reveal-card > img,
  .hero::before,
  .logo-header-mark {
    animation: none !important;
    transition: none !important;
  }

  .page-loader.is-done,
  .hero-enter,
  .reveal,
  .reveal-card > img {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
}

@media (max-width: 860px) {
  .why-grid,
  .why-grid-wide { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .brand-lockup { max-width: none; }
  .nav-toggle { display: grid; }
  .top-nav {
    display: none;
    position: absolute;
    inset-inline: 0.75rem;
    top: calc(100% - 0.35rem);
    padding: 0.7rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    border-radius: 16px;
    background: #043b40;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(4, 59, 64, 0.28);
    z-index: 8;
  }
  .page-topbar .top-nav {
    background: rgba(247, 252, 252, 0.98);
    border-color: rgba(10, 127, 135, 0.14);
    box-shadow: 0 16px 32px rgba(4, 59, 64, 0.12);
  }
  .nav-open .top-nav { display: flex; }
  .top-link {
    padding: 0.8rem 0.9rem;
    border-bottom: 0;
    border-radius: 12px;
    font-size: 0.95rem;
  }
  .top-link:hover,
  .top-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }
  .page-topbar .top-link:hover,
  .page-topbar .top-link:focus-visible {
    background: rgba(10, 127, 135, 0.08);
  }
  .logo-header {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.4rem, 2vw, 1rem);
    margin-bottom: 1.2rem;
  }
  .hero-content { padding-block: 6.2rem 3.2rem; }
  .cta-row .btn { min-width: 9.5rem; }
}

@media (max-width: 720px) {
  .zoom-stage,
  .modal-gallery img { height: 42vh; }
  .zoom-hint { display: none; }
  .admin-item { grid-template-columns: 64px 1fr; }
  .admin-item form { grid-column: 1 / -1; }
  .contact-inner { align-items: flex-start; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { flex: 1 1 calc(50% - 0.75rem); }
  .section { padding: 3rem 0 3.2rem; }
  .admin-card { padding: 1.1rem; border-radius: 18px; }
  .admin-page { padding: 1rem 0.7rem 2rem; }
  .property-rail {
    grid-auto-columns: minmax(168px, 68vw);
    gap: 0.8rem;
  }
  .property-rail-shell {
    grid-template-columns: 1fr;
  }
  .rail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
    opacity: 0.92;
  }
  .rail-nav:hover { transform: translateY(-50%) scale(1.06); }
  .rail-nav-prev { inset-inline-start: 0.15rem; }
  .rail-nav-next { inset-inline-end: 0.15rem; }
  .property-item {
    grid-template-columns: 64px 1fr;
  }
  .modal-backdrop {
    padding: 0;
    align-items: end;
  }
  .modal {
    width: 100%;
    max-height: 96dvh;
    border-radius: 22px 22px 0 0;
  }
  .modal-body { padding: 1rem 1rem 1.3rem; }
  .modal-actions .btn { flex: 1 1 100%; }
  .btn {
    padding: 0.8rem 1.15rem;
  }
  .stat-chart { overflow-x: auto; }
}

@media (max-width: 520px) {
  .filter-actions .btn { flex: 1 1 100%; }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn { min-width: 0; width: 100%; }
  .hero h1 { font-size: 1.22rem; }
  .hero p { font-size: 0.94rem; margin-bottom: 1.4rem; }
  .property-grid-all {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .property-card {
    border-radius: 16px;
  }
  .property-card .property-meta {
    padding: 0.7rem 0.65rem 0.8rem;
    gap: 0.2rem;
  }
  .property-card .property-meta h3 { font-size: 0.82rem; }
  .property-card .price { font-size: 0.78rem; }
  .property-code {
    font-size: 0.64rem;
    top: 0.45rem;
    inset-inline-start: 0.45rem;
    padding: 0.12rem 0.4rem;
  }
  .contact-actions .btn { flex: 1 1 100%; }
  .admin-top-actions .btn { padding: 0.55rem 0.8rem; font-size: 0.82rem; }
}

a.property-card {
  text-decoration: none;
}

.property-code {
  position: absolute;
  top: 0.65rem;
  inset-inline-start: 0.65rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(4, 59, 64, 0.72);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.chip.chip-code {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--white);
  font-weight: 600;
}

.btn-whatsapp {
  background: #1fae5b;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(31, 174, 91, 0.28);
}

.btn-whatsapp:hover {
  background: #17924b;
}

.modal-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.modal-actions .btn-ghost,
.detail-actions .btn-ghost,
.filter-actions .btn-ghost,
.detail-similar .btn-ghost {
  color: var(--teal-ink);
  background: var(--white);
  border-color: rgba(10, 127, 135, 0.22);
  text-decoration: none;
  font: inherit;
}

.modal-actions .btn,
.detail-actions .btn {
  padding: 0.75rem 1.15rem;
  font-size: 0.92rem;
}

.save-images-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 59, 64, 0.55);
  backdrop-filter: blur(6px);
}

.save-images-backdrop[hidden] {
  display: none !important;
}

.save-images-dialog {
  width: min(420px, 100%);
  background: #f7fcfc;
  border-radius: 22px;
  padding: 1.2rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.save-images-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.save-images-top h2 {
  margin: 0 0 0.3rem;
  color: var(--teal-ink);
  font-size: 1.2rem;
}

.save-images-sub,
.save-images-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.save-images-choices {
  display: grid;
  gap: 0.6rem;
}

.save-images-choices[hidden],
.save-images-dialog #saveImagesShare[hidden] {
  display: none !important;
}

.save-images-choices .btn,
.save-images-dialog #saveImagesShare {
  width: 100%;
}

.save-images-choices .btn-ghost {
  color: var(--teal-ink);
  background: var(--white);
  border-color: rgba(10, 127, 135, 0.22);
}

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

.chip.chip-featured {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  font-weight: 600;
}

/* Panel: stats */
.google-kpis {
  margin-bottom: 1rem;
}

.stat-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
}

.stat-kpi {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(10, 127, 135, 0.12);
}

.stat-kpi span {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.stat-kpi strong {
  color: var(--teal-ink);
  font-size: 1.6rem;
  line-height: 1.3;
}

.stat-kpi small {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.stat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.stat-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.dot-visits,
.bar-visits { background: var(--teal); }
.dot-views,
.bar-views { background: #7cc6cb; }
.dot-whatsapp,
.bar-whatsapp { background: #1fae5b; }

.stat-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.35rem;
  align-items: end;
  padding: 1rem 0.6rem 0.6rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(10, 127, 135, 0.12);
}

.stat-day {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}

.stat-bars {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}

.bar {
  width: 30%;
  max-width: 12px;
  min-height: 2px;
  border-radius: 4px 4px 0 0;
}

.stat-day-label {
  font-size: 0.68rem;
  color: var(--ink-soft);
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.stat-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(10, 127, 135, 0.12);
  background: var(--white);
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.stat-table th,
.stat-table td {
  padding: 0.7rem 0.85rem;
  text-align: right;
  border-bottom: 1px solid rgba(10, 127, 135, 0.08);
  white-space: nowrap;
}

.stat-table th {
  color: var(--ink-soft);
  font-weight: 600;
  background: rgba(10, 127, 135, 0.05);
}

.stat-table td a {
  color: var(--teal-deep);
  text-decoration: none;
}

.stat-table tbody tr:last-child td {
  border-bottom: 0;
}

.stat-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.stat-shares,
.stat-pages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.stat-shares li > div,
.stat-pages li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.stat-pages li a {
  color: var(--teal-deep);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-bar {
  display: block;
  height: 8px;
  margin-top: 0.3rem;
  border-radius: 999px;
  background: rgba(10, 127, 135, 0.1);
  overflow: hidden;
}

.share-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
}

.stat-subhead {
  margin-top: 1.6rem;
}

.stat-tip {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.stat-tip code,
.backup-warning code,
.panel-section .sub code {
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(10, 127, 135, 0.08);
  font-size: 0.82em;
}

/* Panel: homepage order */
.pin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.pin-item {
  display: grid;
  grid-template-columns: auto 56px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(10, 127, 135, 0.12);
}

.pin-rank {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

.pin-item img,
.pin-thumb-empty {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, #065f66, #0a7f87);
  display: block;
}

.pin-meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.pin-meta strong {
  color: var(--teal-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pin-meta span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.pin-actions {
  display: flex;
  gap: 0.3rem;
  margin: 0;
}

.pin-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(10, 127, 135, 0.2);
  background: var(--foam);
  color: var(--teal-ink);
  cursor: pointer;
  font-size: 0.8rem;
}

.pin-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.pin-btn.pin-remove {
  color: #b33d00;
  background: rgba(255, 87, 0, 0.08);
}

.pin-badge {
  display: inline-block;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
}

.draft-badge {
  display: inline-block;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: rgba(10, 127, 135, 0.14);
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 700;
}

.extract-review-modal {
  width: min(760px, 100%);
  max-height: min(92vh, 960px);
}

.extract-review-form {
  display: grid;
  gap: 1rem;
}

.extract-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.extract-review-title-field,
.extract-review-specs {
  grid-column: 1 / -1;
}

.extract-review-images-block {
  margin: 0;
}

.extract-review-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
}

.extract-review-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #065f66;
}

.extract-review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.extract-review-remove,
.extract-review-public {
  position: absolute;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  color: #fff;
}

.extract-review-remove {
  top: 0.35rem;
  inset-inline-start: 0.35rem;
  width: 28px;
  height: 28px;
  background: rgba(4, 59, 64, 0.78);
  font-size: 0.85rem;
}

.extract-review-public {
  top: 0.35rem;
  inset-inline-end: 0.35rem;
  padding: 0.35rem 0.55rem;
  background: rgba(4, 59, 64, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
}

.extract-review-image.is-public {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.extract-review-image.is-public .extract-review-public {
  background: var(--orange);
}

.extract-review-image.is-removed {
  opacity: 0.35;
}

.price-locked {
  position: relative;
  overflow: hidden;
  min-height: 1.4em;
}

.price-locked .locked-shimmer {
  display: block;
  filter: blur(7px);
  opacity: 0.55;
  user-select: none;
  letter-spacing: 0.04em;
}

.price-locked .locked-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.locked-panel {
  margin: 0.85rem 0 1.1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(10, 127, 135, 0.1), rgba(255, 87, 0, 0.08)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 127, 135, 0.14);
  display: grid;
  gap: 0.85rem;
}

.locked-row {
  display: grid;
  gap: 0.35rem;
}

.locked-caption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.locked-code {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: rgba(4, 59, 64, 0.08);
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  filter: blur(0);
}

.locked-code > span {
  filter: blur(8px);
  opacity: 0.7;
  user-select: none;
}

.locked-code::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 8px,
      rgba(255, 255, 255, 0.28) 8px 10px
    );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.locked-code-specs {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
}

.locked-code-specs span {
  display: block;
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(4, 59, 64, 0.22);
  filter: blur(5px);
}

.locked-code-specs span:nth-child(1) { width: 78%; }
.locked-code-specs span:nth-child(2) { width: 62%; }
.locked-code-specs span:nth-child(3) { width: 70%; }

.locked-copy {
  margin: 0;
  color: var(--teal-ink);
  line-height: 1.75;
  font-size: 0.92rem;
}

.modal-locked-panel {
  margin-top: 0.75rem;
}

.extract-review-image.is-removed::after {
  content: "حذف";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: rgba(179, 61, 0, 0.35);
}

.extract-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-start;
}

@media (max-width: 720px) {
  .extract-review-grid {
    grid-template-columns: 1fr;
  }
}

.panel-pin-block .btn[hidden] {
  display: none;
}

.panel-edit-block .btn-ghost,
.panel-edit-actions .btn-ghost,
.admin-actions .backup-full-btn {
  color: var(--teal-ink);
  background: var(--white);
  border-color: rgba(10, 127, 135, 0.22);
  text-decoration: none;
}

.admin-actions form {
  margin: 0;
}

.backup-warning {
  margin-top: 1rem;
}

/* 404 */
.not-found {
  padding-top: 2.5rem;
}

.not-found-card {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.2rem 1.4rem;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(10, 127, 135, 0.12);
  box-shadow: 0 18px 40px rgba(4, 59, 64, 0.08);
}

.not-found-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.not-found-code {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.not-found-card h1 {
  margin: 0.4rem 0 0.6rem;
  color: var(--teal-ink);
}

.not-found-card p {
  color: var(--ink-soft);
  line-height: 1.9;
}

.quick-search.not-found-search {
  grid-template-columns: 1fr auto;
  margin: 1.2rem 0;
  box-shadow: none;
}

.not-found-actions {
  justify-content: center;
}

.not-found-actions .btn {
  text-decoration: none;
}

.not-found-actions .btn-ghost {
  color: var(--teal-ink);
  background: var(--white);
  border-color: rgba(10, 127, 135, 0.22);
}

@media (max-width: 860px) {
  .stat-columns { grid-template-columns: 1fr; }
  .stat-chart { grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 1rem; }
}

@media (max-width: 520px) {
  .pin-item { grid-template-columns: auto 48px minmax(0, 1fr); }
  .pin-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

/* Search & filters */
.property-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1.1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(10, 127, 135, 0.12);
  box-shadow: 0 14px 32px rgba(4, 59, 64, 0.07);
}

.filter-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.filter-field span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.filter-field input,
.filter-field select,
.quick-search input,
.quick-search select {
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 127, 135, 0.2);
  background: var(--foam);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}

.filter-field input:focus,
.filter-field select:focus,
.quick-search input:focus,
.quick-search select:focus {
  outline: 2px solid rgba(10, 127, 135, 0.35);
  outline-offset: 1px;
}

.filter-search {
  grid-column: span 2;
}

.property-filters .filter-toggle {
  display: none;
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-actions .btn {
  padding: 0.7rem 1.4rem;
  font: inherit;
  text-decoration: none;
}

.filter-summary {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.empty-state a {
  color: var(--teal-deep);
  font-weight: 600;
}

.quick-search {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr) auto;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(10, 127, 135, 0.12);
  box-shadow: 0 12px 28px rgba(4, 59, 64, 0.06);
}

.quick-search .btn {
  padding: 0.7rem 1.4rem;
  font: inherit;
}

/* Property detail page */
.property-detail {
  padding-top: 1.6rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--teal-deep);
  text-decoration: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
}

.detail-layout-no-media {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

.modal-gallery[hidden],
.thumbs[hidden] {
  display: none !important;
}

.modal.modal-no-media {
  max-width: min(560px, 100%);
}

.detail-cover {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--teal-ink);
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px rgba(4, 59, 64, 0.14);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-cover-hint {
  position: absolute;
  bottom: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(4, 59, 64, 0.72);
  color: var(--white);
  font-size: 0.8rem;
}

.detail-cover-empty {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.8rem;
  cursor: default;
  background: linear-gradient(135deg, #065f66, #0a7f87 55%, #043b40 100%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.detail-thumbs button {
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--mist);
}

.detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.detail-thumbs button:hover img {
  transform: scale(1.06);
}

.detail-info {
  padding: 1.4rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(10, 127, 135, 0.12);
  box-shadow: 0 14px 34px rgba(4, 59, 64, 0.08);
}

.detail-info .chip {
  background: rgba(10, 127, 135, 0.08);
  border-color: rgba(10, 127, 135, 0.14);
  color: var(--teal-ink);
}

.detail-info .chip.chip-code {
  background: var(--teal-deep);
  color: var(--white);
}

.detail-info .chip.chip-tour {
  background: rgba(255, 87, 0, 0.92);
  color: var(--white);
}

.detail-info h1 {
  margin: 0.9rem 0 0.5rem;
  color: var(--teal-ink);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.45;
}

.detail-price {
  margin: 0 0 1.1rem;
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 700;
}

.detail-price small {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.detail-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.detail-specs li {
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: rgba(10, 127, 135, 0.07);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.detail-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.8;
}

.detail-similar {
  margin-top: 3rem;
}

@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; }
  .property-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-search { grid-template-columns: 1fr 1fr; }
  .quick-search input { grid-column: 1 / -1; }
  .quick-search .btn { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .property-filters .filter-toggle {
    display: inline-flex;
    grid-column: 1 / -1;
    padding: 0.65rem 1rem;
    font: inherit;
    color: var(--teal-ink);
    background: var(--mist);
    border-color: rgba(10, 127, 135, 0.22);
  }
  .property-filters:not(.is-open) .filter-field:not(.filter-search) {
    display: none;
  }
}

@media (max-width: 520px) {
  .property-filters { grid-template-columns: 1fr; padding: 0.9rem; }
  .filter-search { grid-column: auto; }
  .detail-specs { grid-template-columns: 1fr; }
  .detail-actions .btn { flex: 1 1 100%; }
}

/* Map settings panel */
.map-settings-form .field { margin-bottom: 0.85rem; }
.map-settings-subtitle {
  margin: 1.25rem 0 0.35rem;
  font-size: 1.05rem;
  color: var(--teal-ink, #12352f);
}
.map-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}
.map-settings-form .field small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(20, 32, 28, 0.55);
  font-size: 0.8rem;
}
.checkbox-field {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  flex-direction: row !important;
}
.checkbox-field input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.category-links-label {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-inline-end: 0.3rem;
}

.category-link {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 127, 135, 0.24);
  background: var(--white);
  color: var(--teal-deep);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.category-link:hover {
  background: var(--teal-deep);
  color: var(--white);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 52rem;
}

.faq-item {
  border: 1px solid rgba(10, 127, 135, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.9rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  display: inline;
  margin: 0;
  font-size: 1.02rem;
  color: var(--teal-ink);
}

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.4rem;
  color: var(--orange);
  font-weight: 700;
}

.faq-item[open] summary::before { content: "−"; }

.faq-item p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.seo-copy {
  display: grid;
  gap: 1.8rem;
  max-width: 52rem;
}

.seo-copy-block h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--teal-ink);
}

.seo-copy-block p {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  line-height: 1.95;
}

.detail-summary {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.detail-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0 0;
  font-size: 0.88rem;
}

.detail-categories a {
  color: var(--teal-deep);
}

.footer-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  max-width: 46rem;
  font-size: 0.88rem;
}

.footer-categories a {
  color: var(--teal-deep);
  text-decoration: none;
}

.footer-categories a:hover { color: var(--orange); }

.add-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
  padding: 0.35rem;
  border-radius: 16px;
  background: rgba(10, 127, 135, 0.08);
}

.add-mode-tabs button {
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: transparent;
  color: var(--teal-ink);
  cursor: pointer;
  font-weight: 700;
}

.add-mode-tabs button.is-active {
  background: var(--white);
  color: var(--orange);
  box-shadow: 0 8px 20px rgba(4, 59, 64, 0.08);
}

.manual-form {
  display: grid;
  gap: 0.85rem;
}

.manual-step-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--teal-ink);
}

.manual-step-head span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.manual-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.manual-progress span {
  height: 6px;
  border-radius: 999px;
  background: rgba(10, 127, 135, 0.14);
}

.manual-progress span.is-done {
  background: var(--teal);
}

.manual-progress span.is-current {
  background: var(--orange);
}

.manual-step {
  display: none;
}

.manual-step.is-active {
  display: grid;
  gap: 0.15rem;
}

.manual-step-title {
  margin: 0.55rem 0 0.65rem;
  color: var(--teal-ink);
  font-weight: 700;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.choice-card {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0.7rem 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(10, 127, 135, 0.16);
  background: var(--white);
  text-align: center;
  font-weight: 700;
  color: var(--teal-ink);
}

.choice-card input:checked + span {
  border-color: var(--orange);
  background: rgba(255, 87, 0, 0.1);
  color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 87, 0, 0.12);
}

.manual-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 0.85rem;
}

.manual-check,
.manual-amenity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  cursor: pointer;
}

.manual-amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.manual-amenity {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 127, 135, 0.14);
  background: var(--white);
}

.manual-amenity input,
.manual-check input {
  accent-color: var(--orange);
}

.manual-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.manual-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.55rem;
  margin: 0.2rem 0 0.8rem;
}

.manual-previews img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .manual-field-grid {
    grid-template-columns: 1fr;
  }
}