/* Home page — refined industrial landing (aligned with about.css) */

.home-page {
  --home-ink: #eef3fa;
  --home-muted: rgba(176, 192, 214, 0.82);
  --home-line: rgba(255, 255, 255, 0.09);
  --home-surface: rgba(12, 20, 34, 0.78);
  --home-accent: var(--brand-accent, #0d9f7a);
  --home-accent-2: var(--brand-accent, #0d9f7a);
  background: #080f1a;
}

.home-page [id] {
  scroll-margin-top: 5rem;
}

.home-page::before {
  display: none !important;
}

[data-theme="light"] .home-page {
  --home-ink: var(--afram-text, #0f172a);
  --home-muted: var(--afram-text-muted, #64748b);
  --home-line: var(--afram-border, #e2e8f0);
  --home-surface: #fff;
  background: var(--afram-bg, #f1f5f9);
}

.home-page .home-nav,
.landing-page .landing-nav {
  position: sticky;
  top: 0;
  z-index: 1080;
  background: rgba(8, 16, 28, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-page .home-nav.is-scrolled,
.landing-page .landing-nav.is-scrolled {
  background: rgba(6, 12, 22, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

[data-theme="light"] .home-page .home-nav,
[data-theme="light"] .home-page .home-nav.is-scrolled,
[data-theme="light"] .landing-page .landing-nav,
[data-theme="light"] .landing-page .landing-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.home-page .home-nav .container-xl {
  padding-block: 0.55rem;
}

.home-page .home-nav .landing-nav-bar {
  min-height: 3rem;
  gap: 0.55rem 0.85rem;
}

.home-page .home-nav-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  max-width: min(46vw, 18.5rem);
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 1 auto;
  line-height: 1.2;
  font-weight: 700;
  color: var(--home-ink) !important;
}

html[data-theme="light"] .home-page .home-nav-brand,
html[data-theme="light"] .home-page .home-nav-name {
  color: #0f172a !important;
}

.home-nav-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}

.home-nav-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--home-accent) 22%, transparent);
  color: var(--home-accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.home-page .home-nav .landing-nav-links {
  justify-content: center;
  flex: 1 1 auto;
}

.home-page .home-nav .nav-section-link {
  padding: 0.4rem 0.7rem;
  font-size: 0.84rem;
}

.home-page .home-nav .landing-nav-end {
  height: auto;
  gap: 0.45rem;
}

.home-theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 11px;
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--home-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  flex-shrink: 0;
}

.home-theme-toggle:hover {
  border-color: color-mix(in srgb, var(--home-accent) 40%, transparent);
  color: var(--home-accent);
}

[data-theme="light"] .home-theme-toggle {
  background: #fff;
}

.home-page .home-nav .btn-hero-primary {
  background: linear-gradient(145deg, var(--brand-primary, #2f6fed), var(--brand-gradient-end, var(--brand-accent, #0d9f7a))) !important;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand-accent, #0d9f7a) 28%, transparent) !important;
}

.home-page .home-nav .btn-hero-outline {
  background: transparent !important;
  border-color: var(--home-line) !important;
  color: var(--home-ink) !important;
}

html[data-theme="light"] .home-page .home-nav .btn-hero-outline {
  background: transparent !important;
  border-color: var(--home-line) !important;
  color: var(--home-ink) !important;
  box-shadow: none !important;
}

.home-page .home-nav .btn-sm {
  height: 2.25rem;
  padding: 0 0.85rem;
}

@media (max-width: 1199.98px) {
  .home-page .home-nav-brand {
    max-width: min(38vw, 14rem);
  }
}

@media (max-width: 767.98px) {
  .home-page .home-nav-brand {
    max-width: calc(100% - 6.5rem);
  }
}

/* Hero */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  background: linear-gradient(165deg, #03080f 0%, #0a1526 48%, #06101c 100%);
}

[data-theme="light"] .home-hero {
  background: linear-gradient(165deg, #e8eef6 0%, #f7fafc 52%, #eef3f9 100%);
}

.home-hero-glow {
  position: absolute;
  inset: -15% auto auto -10%;
  width: min(44rem, 90vw);
  height: min(30rem, 65vw);
  pointer-events: none;
  background: radial-gradient(ellipse at 55% 40%, color-mix(in srgb, var(--home-accent) 32%, transparent), transparent 70%);
  animation: home-glow-drift 14s ease-in-out infinite alternate;
}

.home-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 25% 15%, #000 15%, transparent 72%);
}

[data-theme="light"] .home-hero-grid {
  opacity: 0.32;
}

@keyframes home-glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 5%) scale(1.05); }
}

.home-hero-mark {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #fff;
  background: var(--brand-gradient-3) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 14px 36px color-mix(in srgb, var(--brand-accent, #0d9f7a) 32%, transparent);
}

.home-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--home-accent);
}

.home-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.28;
  color: #f8fafc;
  overflow: visible;
}

[data-theme="light"] .home-title {
  color: var(--afram-text);
}

.home-tagline {
  margin: 0 0 0.85rem;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.92);
}

[data-theme="light"] .home-tagline {
  color: var(--afram-text);
}

.home-lead {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--home-muted);
}

.home-chips {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: inherit;
}

.home-chips li {
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--home-accent) 28%, transparent);
  background: color-mix(in srgb, var(--home-accent) 10%, transparent);
  color: var(--home-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.home-hero-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.home-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--home-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}

.home-phone-link:hover {
  color: var(--home-accent);
  border-color: color-mix(in srgb, var(--home-accent) 40%, transparent);
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 36rem;
}

.home-metric {
  padding: 0.75rem 0.65rem;
  border-radius: 14px;
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.home-metric strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--home-ink);
  margin-bottom: 0.15rem;
}

.home-metric span {
  font-size: 0.72rem;
  color: var(--home-muted);
}

[data-theme="light"] .home-metric {
  background: rgba(255, 255, 255, 0.65);
}

/* Showcase panel */
.home-showcase {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-showcase-card {
  width: min(100%, 22rem);
  padding: 1.35rem;
  border-radius: 20px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .home-showcase-card {
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

.home-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--home-line);
}

.home-showcase-head h2 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--home-ink);
}

.home-showcase-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, #22c55e 18%, transparent);
  color: #4ade80;
  border: 1px solid color-mix(in srgb, #22c55e 35%, transparent);
}

.home-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 1rem;
}

.home-stack-layer {
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 35%, #1e293b), color-mix(in srgb, var(--home-accent) 12%, #0f172a));
}

.home-stack-layer:nth-child(2) { opacity: 0.88; transform: scale(0.98); }
.home-stack-layer:nth-child(3) { opacity: 0.76; transform: scale(0.96); }
.home-stack-layer:nth-child(4) { opacity: 0.64; transform: scale(0.94); }

.home-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-pipeline-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--home-muted);
}

.home-pipeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.home-pipeline-dot.done { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.home-pipeline-dot.active { background: var(--home-accent); box-shadow: 0 0 8px color-mix(in srgb, var(--home-accent) 60%, transparent); }
.home-pipeline-dot.pending { background: #64748b; }

.home-pipeline-item strong {
  color: var(--home-ink);
  font-weight: 600;
}

.home-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--home-ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 0.35rem;
}

.home-nav-phone:hover {
  color: var(--home-accent);
}

.home-featured {
  display: block;
  color: inherit;
}

.home-featured-media {
  height: 10.5rem;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: color-mix(in srgb, var(--home-accent) 12%, transparent);
}

.home-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-featured-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--home-accent);
}

.home-featured-loc {
  font-size: 0.78rem;
  color: var(--home-muted);
  margin-bottom: 0.25rem;
}

.home-featured-title {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--home-ink);
  line-height: 1.45;
}

.home-featured-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--home-muted);
  margin-bottom: 0.55rem;
}

.home-featured-price {
  font-size: 0.92rem;
  color: var(--home-ink);
}

.home-featured-price strong {
  font-weight: 800;
}

.home-featured-price span {
  color: var(--home-muted);
  font-size: 0.78rem;
}

/* Sections */
.home-section {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.home-section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .home-section--alt {
  background: var(--afram-surface-2, #f8fafc);
  border-color: var(--afram-border);
}

.home-section-head {
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.home-section-head .home-kicker {
  margin-bottom: 0.5rem;
}

.home-section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--home-ink);
}

.home-section-head p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* Cat click band */
.home-band {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(2rem, 4vw, 2.75rem);
  margin-top: -0.5rem;
}

.home-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--home-accent) 28%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 12%, rgba(15, 23, 42, 0.9)), rgba(15, 23, 42, 0.75));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .home-band-inner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 8%, #fff), #f8fafc);
}

.home-band-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--home-ink);
}

.home-band-body p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--home-muted);
}

.home-band-hours,
.home-band-address {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.65;
}

.home-band-hours + .home-band-address {
  margin-top: 0.35rem;
}

.home-band-hours i,
.home-band-address i {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--home-accent);
  font-size: 0.95rem;
}

.home-band-hours strong {
  color: var(--home-ink);
  font-weight: 700;
}

.home-band-code {
  text-align: center;
}

.home-band-code small {
  display: block;
  color: var(--home-muted);
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
}

.home-band-code strong {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #fbbf24;
  direction: ltr;
  display: inline-block;
}

/* Categories */
.home-section--cats {
  padding-block: clamp(1.75rem, 3.5vw, 2.6rem);
}
.home-section--cats .home-section-head {
  margin-bottom: 1.15rem;
}
.home-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.home-cat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-cat:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--home-accent) 42%, transparent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  color: inherit;
}
.home-cat__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: color-mix(in srgb, var(--home-accent) 14%, transparent);
  color: var(--home-accent);
  transition: transform 0.22s ease;
}
.home-cat:hover .home-cat__icon {
  transform: scale(1.08);
}
.home-cat__copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.home-cat__copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--home-ink);
}
.home-cat__copy small {
  font-size: 0.75rem;
  color: var(--home-muted);
  line-height: 1.3;
}

html[data-theme="light"] .home-cat {
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
html[data-theme="light"] .home-cat:hover {
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

@media (max-width: 991px) {
  .home-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .home-cats {
    gap: 0.5rem;
  }
  .home-cat {
    min-height: 4.1rem;
    padding: 0.65rem 0.7rem;
    gap: 0.6rem;
  }
  .home-cat__icon {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.05rem;
  }
  .home-cat__copy strong {
    font-size: 0.86rem;
  }
}

/* Process */
.home-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 20px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  overflow: hidden;
}

.home-process-step {
  position: relative;
  padding: 1.35rem 1.15rem;
  text-align: center;
}

.home-process-step + .home-process-step {
  border-inline-start: 1px solid var(--home-line);
}

.home-process-step .step-num {
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: var(--brand-gradient-2);
}

.home-process-step h4 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--home-ink);
}

.home-process-step p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--home-muted);
}

.home-process-step a {
  color: var(--home-accent);
  text-decoration: none;
  font-weight: 600;
}

/* Features bento */
.home-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  transition: border-color 0.2s, transform 0.2s;
}

.home-feature:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--home-accent) 30%, transparent);
}

.home-feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: color-mix(in srgb, var(--home-accent) 14%, transparent);
  color: var(--home-accent);
}

.home-feature h3 {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--home-ink);
}

.home-feature p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--home-muted);
}

/* FAQ + contact split */
.home-bottom-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.home-contact-card {
  padding: 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  height: 100%;
}

.home-contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--home-ink);
}

.home-contact-card > p {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--home-muted);
}

.home-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-contact-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
}

.home-contact-row i {
  color: var(--home-accent);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.home-contact-row strong {
  display: block;
  font-size: 0.72rem;
  color: var(--home-muted);
  margin-bottom: 0.15rem;
}

.home-contact-row span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--home-ink);
  line-height: 1.6;
}

/* CTA */
.home-cta {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.home-cta-box {
  text-align: center;
  padding: clamp(2rem, 4vw, 2.75rem) 1.5rem;
  border-radius: 22px;
  border: 1px solid var(--home-line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 14%, rgba(15, 23, 42, 0.95)), rgba(15, 23, 42, 0.85));
}

[data-theme="light"] .home-cta-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 8%, #fff), #f8fafc);
}

.home-cta-box h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--home-ink);
}

.home-cta-box p {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  color: var(--home-muted);
  font-size: 0.9rem;
}

.home-footer-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--home-muted);
}

.home-footer-note a {
  color: var(--home-accent);
  text-decoration: none;
}

@media (max-width: 991px) {
  .home-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .home-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-process-step:nth-child(3) {
    border-inline-start: none;
    border-top: 1px solid var(--home-line);
  }

  .home-process-step:nth-child(4) {
    border-top: 1px solid var(--home-line);
  }

  .home-bottom-grid {
    grid-template-columns: 1fr;
  }

  .home-showcase {
    margin-top: 1.5rem;
    min-height: auto;
  }
}

@media (max-width: 575px) {
  .home-process,
  .home-features {
    grid-template-columns: 1fr;
  }

  .home-process-step + .home-process-step {
    border-inline-start: none;
    border-top: 1px solid var(--home-line);
  }

  .home-hero-actions .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .home-band-inner {
    text-align: center;
    justify-content: center;
  }
}

/* ════════════════════════════════════════════════════════
   Home v3 — professional polish, unified brand, mobile-first
   ════════════════════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
}

::selection {
  background: color-mix(in srgb, var(--home-accent, #38bdf8) 34%, transparent);
  color: inherit;
}

/* 1) Unified brand buttons — kill the indigo from landing.css on the home page */
.home-page .btn-hero-primary {
  background: var(--brand-gradient-3) !important;
  border: none !important;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--brand-accent, #0d9f7a) 30%, transparent) !important;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.home-page .btn-hero-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .home-page .btn-hero-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow: 0 14px 34px color-mix(in srgb, var(--brand-accent, #0d9f7a) 38%, transparent) !important;
  }
  .home-page .btn-hero-primary:hover::after {
    transform: translateX(-120%);
  }
  .home-page .btn-hero-primary:active {
    transform: translateY(0);
  }
}

.home-page .btn-hero-outline {
  background: transparent !important;
  border: 1px solid color-mix(in srgb, var(--home-accent) 34%, rgba(148, 163, 184, 0.45)) !important;
  color: var(--home-ink) !important;
  border-radius: 14px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

@media (hover: hover) {
  .home-page .btn-hero-outline:hover {
    border-color: color-mix(in srgb, var(--home-accent) 62%, transparent) !important;
    color: var(--home-accent) !important;
    background: color-mix(in srgb, var(--home-accent) 8%, transparent) !important;
    transform: translateY(-1px);
  }
}

html[data-theme="light"] .home-page .btn-hero-outline {
  background: #fff !important;
  border-color: #dbe3ee !important;
  color: #1e293b !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .home-page .btn-hero-outline:hover {
  border-color: color-mix(in srgb, var(--home-accent) 50%, #dbe3ee) !important;
  color: var(--brand-gradient-mid, var(--brand-gradient-end, var(--brand-accent, #0d9f7a))) !important;
}

/* 2) Hero mark — smaller, floating, ring */
.home-hero-mark {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 18px;
  animation: home-mark-float 5s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 0 0 6px color-mix(in srgb, var(--home-accent) 9%, transparent),
    0 14px 36px rgba(2, 132, 199, 0.32);
}

@keyframes home-mark-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-5px) rotate(1.5deg); }
}

/* 3) Kicker as an eyebrow pill */
.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--home-accent) 26%, transparent);
  background: color-mix(in srgb, var(--home-accent) 10%, transparent);
  letter-spacing: 0.04em;
}

.home-kicker::before {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--home-accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--home-accent) 70%, transparent);
}

.home-section-head .home-kicker {
  margin-bottom: 0.7rem;
}

/* 4) Title — tighter, with soft glow on mobile-first sizes */
.home-title {
  font-size: clamp(1.7rem, 4.8vw, 2.85rem);
}

/* 5) Chips — softer, smaller */
.home-chips {
  gap: 0.4rem;
}

.home-chips li {
  padding: 0.32rem 0.72rem;
  font-size: 0.74rem;
  border-color: color-mix(in srgb, var(--home-accent) 20%, transparent);
  background: color-mix(in srgb, var(--home-accent) 7%, transparent);
}

/* 6) Hero actions */
.home-hero-actions {
  gap: 0.7rem;
}

.home-hero-actions .btn-lg {
  min-height: 3.05rem;
  font-size: 0.95rem;
  padding-inline: 1.35rem;
}

/* 7) Search card — floating glass panel */
.amlaki-hero-search {
  margin-top: 1.6rem;
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(9, 16, 30, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-theme="light"] .amlaki-hero-search {
  background: rgba(255, 255, 255, 0.92);
  border-color: #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.amlaki-search-field {
  position: relative;
}

.amlaki-search-field > i {
  position: absolute;
  inset-inline-end: 0.95rem;
  inset-inline-start: auto;
  top: 50%;
  transform: translateY(-50%);
  color: var(--home-muted);
  font-size: 1.08rem;
  pointer-events: none;
  z-index: 2;
}

.amlaki-search-field .form-control {
  padding-inline-end: 2.55rem;
  padding-inline-start: 0.85rem;
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--home-ink);
}

.amlaki-search-field .form-control::placeholder {
  color: color-mix(in srgb, var(--home-muted) 75%, transparent);
}

html[data-theme="light"] .amlaki-search-field .form-control {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

html[data-theme="light"] .amlaki-search-field > i {
  color: #94a3b8;
}

.amlaki-hero-search .form-select {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--home-ink);
}

html[data-theme="light"] .amlaki-hero-search .form-select {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

.amlaki-hero-search .btn {
  border-radius: 12px;
  min-height: 2.85rem;
}

/* 8) Metrics with icons */
.home-metric {
  position: relative;
  padding: 0.9rem 0.6rem 0.8rem;
  border-radius: 16px;
  overflow: hidden;
}

.home-metric::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--home-accent) 55%, transparent), transparent);
  opacity: 0.7;
}

.home-metric i {
  display: block;
  font-size: 1.2rem;
  color: var(--home-accent);
  margin-bottom: 0.32rem;
  opacity: 0.92;
}

.home-metric strong {
  font-size: 1.15rem;
  margin-bottom: 0.12rem;
}

/* 9) Section heads — accent underline */
.home-section-head h2 {
  position: relative;
  padding-bottom: 0.85rem;
}

.home-section-head h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3.4rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--home-accent), transparent);
}

/* 10) Category cards — icon tiles with gradient + border */
.home-cat {
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-cat__icon {
  border-radius: 12px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--home-accent) 24%, transparent), color-mix(in srgb, var(--home-accent) 7%, transparent));
  border: 1px solid color-mix(in srgb, var(--home-accent) 26%, transparent);
}

@media (hover: hover) {
  .home-cat:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--home-accent) 46%, transparent);
    box-shadow: 0 14px 32px rgba(2, 132, 199, 0.18);
  }
}

/* 11) Process — mobile rows with step rail */
.home-process-step .step-num {
  position: relative;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--home-accent) 12%, transparent);
}

@media (max-width: 575.98px) {
  .home-process-step {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    text-align: start;
    padding: 1.05rem 0.95rem;
  }

  .home-process-step .step-num {
    margin: 0.1rem 0 0;
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.88rem;
  }

  .home-process-step h4 {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
  }

  .home-process-step p {
    font-size: 0.8rem;
    line-height: 1.65;
  }
}

/* 12) CTA box — glow + full-width mobile buttons */
.home-cta-box {
  position: relative;
  overflow: hidden;
}

.home-cta-box::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 130%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--home-accent) 18%, transparent), transparent 62%);
}

.home-cta-box > * {
  position: relative;
}

.home-cta-box .btn-lg {
  min-height: 3.1rem;
  font-size: 0.95rem;
  padding-inline: 1.4rem;
}

/* 13) Band contact buttons — stretch on phones */
@media (max-width: 575.98px) {
  .home-band-inner .d-flex.gap-2 {
    width: 100%;
    justify-content: center;
  }
  .home-band-inner .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* 14) Showcase — softer on phones */
@media (max-width: 575.98px) {
  .home-showcase-card {
    padding: 1.1rem;
    border-radius: 18px;
  }
  .home-featured-media {
    height: 12rem;
  }
}

/* 15) Listings — carousel sizing on narrow phones */
@media (max-width: 479.98px) {
  .home-page .home-listings-grid .amlaki-card {
    flex-basis: min(88vw, 19rem);
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__media {
    height: 10.25rem;
  }
}

/* 16) Mobile hero rhythm */
@media (max-width: 575.98px) {
  .home-hero {
    padding: 2.1rem 0 1.6rem;
    padding-top: calc(2rem + env(safe-area-inset-top, 0px));
  }

  .home-hero-mark {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 15px;
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
  }

  .home-title {
    font-size: clamp(1.75rem, 9vw, 2.3rem);
  }

  .home-tagline {
    font-size: 0.98rem;
  }

  .home-lead {
    font-size: 0.88rem;
    line-height: 1.85;
    margin-bottom: 1rem;
  }

  .home-chips {
    margin-bottom: 1.05rem;
  }

  .home-hero-contacts {
    margin-bottom: 1.1rem;
  }

  .amlaki-hero-search {
    margin-top: 1.25rem;
  }

  .home-metrics {
    gap: 0.5rem;
  }

  .home-metric {
    padding: 0.8rem 0.5rem 0.7rem;
  }

  .home-metric strong {
    font-size: 1.08rem;
  }

  .home-section {
    padding: 2.1rem 0;
  }

  .home-section-head {
    margin-bottom: 1.6rem;
  }

  .home-section-head h2 {
    font-size: 1.3rem;
  }

  .home-cta-box {
    padding: 2rem 1.1rem;
  }

  .home-cta-box .btn-lg {
    width: 100%;
    justify-content: center;
  }

  /* sticky nav: respect notched phones */
  .home-page .home-nav .container-xl {
    padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
  }
}

/* 17) Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-hero-glow,
  .home-hero-mark {
    animation: none !important;
  }

  .landing-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .home-page .btn-hero-primary::after {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════
   Home v4 — luxury editorial polish
   ════════════════════════════════════════════════════════ */
.home-page {
  --home-gold: #c9a227;
  --home-gold-soft: color-mix(in srgb, var(--home-gold) 18%, transparent);
  --home-glass: rgba(10, 18, 32, 0.72);
  --home-glass-border: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .home-page {
  --home-glass: rgba(255, 255, 255, 0.88);
  --home-glass-border: rgba(15, 23, 42, 0.08);
}

/* Nav — glass rail */
.home-page .home-nav,
.home-page .landing-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 12, 22, 0.62);
}

.home-page .home-nav.is-scrolled,
.home-page .landing-nav.is-scrolled {
  background: rgba(4, 9, 18, 0.92);
  border-bottom-color: color-mix(in srgb, var(--home-accent) 22%, rgba(255, 255, 255, 0.06));
}

[data-theme="light"] .home-page .home-nav,
[data-theme="light"] .home-page .landing-nav {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .home-page .home-nav.is-scrolled,
[data-theme="light"] .home-page .landing-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
}

.home-nav-mark {
  background: linear-gradient(145deg, color-mix(in srgb, var(--home-accent) 30%, #0ea5e9), color-mix(in srgb, var(--home-accent) 8%, transparent));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--home-accent) 35%, transparent);
}

.home-page .landing-nav .nav-section-link.is-active {
  color: var(--home-accent);
  background: color-mix(in srgb, var(--home-accent) 10%, transparent);
}

/* Hero — aurora layers */
.home-hero {
  background:
    radial-gradient(ellipse 90% 60% at 85% 10%, color-mix(in srgb, var(--brand-gradient-mid, var(--brand-gradient-end, var(--brand-accent, #0d9f7a))) 14%, transparent), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 20%, color-mix(in srgb, var(--home-accent) 20%, transparent), transparent 60%),
    linear-gradient(168deg, #02060d 0%, #0a1526 42%, #050b14 100%);
}

[data-theme="light"] .home-hero {
  background:
    radial-gradient(ellipse 80% 55% at 90% 5%, color-mix(in srgb, var(--home-accent) 12%, transparent), transparent 55%),
    linear-gradient(168deg, #eef3f9 0%, #f8fafc 48%, #e8eef6 100%);
}

.home-hero-glow--2 {
  inset: auto -8% -20% auto;
  width: min(36rem, 75vw);
  height: min(28rem, 60vw);
  background: radial-gradient(ellipse at 40% 50%, color-mix(in srgb, var(--brand-gradient-mid, var(--brand-gradient-end, var(--brand-accent, #0d9f7a))) 22%, transparent), transparent 68%);
  animation: home-glow-drift 18s ease-in-out infinite alternate-reverse;
}

.home-hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
}

[data-theme="light"] .home-hero-noise {
  opacity: 0.15;
}

.home-title-accent {
  display: inline-block;
  padding: 0.06em 0 0.02em;
  line-height: 1.15;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-accent, #0d9f7a) 58%, #fff),
    var(--brand-accent, #0d9f7a) 52%,
    color-mix(in srgb, var(--brand-accent, #0d9f7a) 72%, #000)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

[data-theme="light"] .home-title-accent {
  background: linear-gradient(
    135deg,
    var(--brand-accent-light, color-mix(in srgb, var(--brand-accent, #0d9f7a) 42%, #fff)),
    var(--brand-accent, #0d9f7a) 55%,
    var(--brand-gradient-mid, color-mix(in srgb, var(--brand-accent, #0d9f7a) 72%, #000))
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Trust chips */
.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.35rem;
}

.home-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--home-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.home-trust-chip i {
  color: var(--home-accent);
  font-size: 0.95rem;
}

[data-theme="light"] .home-trust-chip {
  background: rgba(255, 255, 255, 0.7);
  border-color: #e2e8f0;
  color: #64748b;
}

/* Search panel */
.amlaki-hero-search {
  position: relative;
  margin-top: 0.25rem;
  border-radius: 1.35rem;
  padding: 1.15rem;
  background: var(--home-glass);
  border: 1px solid var(--home-glass-border);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.amlaki-hero-search::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 1.35rem 1.35rem 0 0;
  background: linear-gradient(90deg, transparent, var(--home-accent), color-mix(in srgb, var(--brand-gradient-mid, var(--brand-gradient-end, var(--brand-accent, #0d9f7a))) 60%, var(--home-accent)), transparent);
}

.amlaki-hero-search__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--home-ink);
}

.amlaki-hero-search__head i {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--home-accent) 16%, transparent);
  color: var(--home-accent);
  font-size: 1rem;
}

html[data-theme="light"] .amlaki-hero-search {
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

/* Metrics — stat strip */
.home-metrics {
  margin-top: 1.15rem;
  padding: 0.35rem;
  border-radius: 18px;
  border: 1px solid var(--home-glass-border);
  background: color-mix(in srgb, var(--home-glass) 80%, transparent);
  backdrop-filter: blur(12px);
}

.home-metric {
  border: none;
  background: transparent;
  border-radius: 14px;
  transition: background 0.18s ease;
}

@media (hover: hover) {
  .home-metric:hover {
    background: color-mix(in srgb, var(--home-accent) 8%, transparent);
  }
}

.home-metric::before {
  height: 0;
}

.home-metric i {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.4rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--home-accent) 12%, transparent);
  font-size: 1.05rem;
}

/* Showcase — floating card */
.home-showcase {
  perspective: 1200px;
}

.home-showcase-ring {
  position: absolute;
  inset: 8% 5% 5% 8%;
  border-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--home-accent) 22%, transparent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--home-accent) 6%, transparent), transparent);
  transform: rotate(-3deg);
  pointer-events: none;
}

.home-showcase-card {
  position: relative;
  z-index: 1;
  width: min(100%, 23.5rem);
  padding: 1.4rem;
  border-radius: 22px;
  border: 1px solid var(--home-glass-border);
  background: var(--home-glass);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
  .home-showcase-card:hover {
    transform: translateY(-6px) rotate(0.5deg);
    box-shadow:
      0 40px 80px rgba(0, 0, 0, 0.42),
      0 0 0 1px color-mix(in srgb, var(--home-accent) 25%, transparent);
  }
}

.home-featured-media {
  position: relative;
  height: 11.5rem;
  border-radius: 16px;
}

.home-featured-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(2, 6, 14, 0.75), transparent);
  pointer-events: none;
}

.home-featured-price {
  padding-top: 0.35rem;
  border-top: 1px dashed var(--home-line);
}

.home-featured-price strong {
  font-size: 1.05rem;
  color: var(--home-accent);
}

/* Contact band */
.home-band-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.15rem 1.35rem;
  padding: 1.35rem 1.6rem;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--home-accent) 24%, transparent);
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--home-accent) 10%, rgba(8, 14, 26, 0.95)), rgba(8, 14, 26, 0.82));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.home-band-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--home-accent);
  background: color-mix(in srgb, var(--home-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--home-accent) 28%, transparent);
  flex-shrink: 0;
}

[data-theme="light"] .home-band-inner {
  background: linear-gradient(120deg, color-mix(in srgb, var(--home-accent) 6%, #fff), #f8fafc);
}

/* Categories — bento shine */
.home-cat {
  position: relative;
  overflow: hidden;
}

.home-cat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .home-cat:hover::after {
    transform: translateX(120%);
  }
}

.home-cat__copy strong {
  letter-spacing: -0.01em;
}

/* Process — timeline rail */
@media (min-width: 992px) {
  .home-process {
    position: relative;
    border: none;
    background: transparent;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-process::before {
    content: '';
    position: absolute;
    top: 2.55rem;
    right: 12%;
    left: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--home-accent) 45%, transparent), transparent);
    z-index: 0;
  }

  .home-process-step {
    position: relative;
    z-index: 1;
    padding: 1.5rem 1.1rem;
    border-radius: 18px;
    border: 1px solid var(--home-line);
    background: var(--home-surface);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .home-process-step + .home-process-step {
    border-inline-start: none;
  }

  @media (hover: hover) {
    .home-process-step:hover {
      transform: translateY(-4px);
      border-color: color-mix(in srgb, var(--home-accent) 35%, transparent);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    }
  }
}

/* Listings section */
.home-section--listings {
  position: relative;
  overflow: hidden;
}

.home-section--listings::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, color-mix(in srgb, var(--home-accent) 8%, transparent), transparent 65%);
}

.home-page .amlaki-grid {
  position: relative;
  z-index: 1;
}

.home-page .amlaki-card {
  border-radius: 18px;
  overflow: hidden;
  border-color: var(--home-glass-border);
  background: var(--home-glass);
  backdrop-filter: blur(8px);
}

.home-page .amlaki-card__media {
  height: 13.5rem;
}

.home-page .amlaki-card__body {
  padding: 1rem 1.05rem 1.1rem;
}

.home-page .amlaki-card__deal {
  background: var(--brand-gradient-2);
  font-size: 0.68rem;
  padding: 0.25rem 0.65rem;
}

/* Home listings — rich cards */
.home-page .home-listings-grid .amlaki-card--home {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--home-glass-border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--home-accent) 5%, transparent), transparent 30%),
    var(--home-glass);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__media {
  height: 12.5rem;
  position: relative;
  overflow: hidden;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: linear-gradient(to top, rgba(4, 10, 20, 0.82) 0%, rgba(4, 10, 20, 0.35) 55%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Image tag bar */
.home-page .home-listings-grid .amlaki-card--home .amlaki-card__tags {
  position: absolute;
  inset-inline: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.28rem 0.62rem 0.28rem 0.52rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__tag i {
  font-size: 0.82rem;
  opacity: 0.95;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__tag--deal {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.92), rgba(4, 120, 87, 0.88));
}

.home-page .home-listings-grid .amlaki-card--home.amlaki-card--deal-rent .amlaki-card__tag--deal {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(29, 78, 216, 0.88));
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__tag--type {
  background: rgba(8, 15, 26, 0.72);
  color: #e2e8f0;
}

[data-theme="light"] .home-page .home-listings-grid .amlaki-card--home .amlaki-card__tag--type {
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-chip {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 8%, #fff), #fff 72%);
  border-color: color-mix(in srgb, var(--home-accent) 22%, #e2e8f0);
}

[data-theme="light"] .home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-district {
  color: #0f172a;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--home-accent) 18%, transparent), transparent 52%),
    linear-gradient(160deg, #0f2740 0%, #0a1628 48%, #08111f 100%);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__placeholder-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.35), rgba(2, 132, 199, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__placeholder-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__deal,
.home-page .home-listings-grid .amlaki-card--home .amlaki-card__type {
  display: none;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__body {
  padding: 0.9rem 1rem 1rem;
  gap: 0.35rem;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__head {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.45rem;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__head--home {
  margin-bottom: 0.1rem;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-chip {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.42rem 0.55rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--home-accent) 18%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 10%, transparent), transparent 70%),
    color-mix(in srgb, var(--home-surface, #0c1422) 92%, transparent);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-pin {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.02rem;
  border-radius: 9px;
  font-size: 0.88rem;
  color: #fff;
  background: var(--brand-gradient-2);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--home-accent) 28%, transparent);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1.35;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-district {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--home-text, #f1f5f9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-city {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--home-text-muted, #94a3b8);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__map-dot {
  flex-shrink: 0;
  align-self: center;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 9px;
  font-size: 0.82rem;
  color: #34d399;
  background: color-mix(in srgb, #34d399 14%, transparent);
  border: 1px solid color-mix(in srgb, #34d399 28%, transparent);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc {
  font-size: 0.76rem;
  color: var(--home-text-muted, #94a3b8);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc i {
  color: var(--home-accent);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--home-accent) 10%, transparent);
  color: var(--home-text-secondary, inherit);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__price {
  margin-top: 0.15rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--home-line, rgba(255, 255, 255, 0.08));
  background: color-mix(in srgb, var(--home-accent) 6%, transparent);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.35rem;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__price strong {
  font-size: 1rem;
  font-weight: 900;
  color: var(--home-accent);
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__price-negotiable {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fbbf24;
}

.home-page .home-listings-grid .amlaki-card--home .amlaki-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.5rem;
  margin-top: 0.1rem;
  border-top: 1px solid var(--home-line, rgba(255, 255, 255, 0.08));
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--home-text-muted, #94a3b8);
}

.home-listings-swipe {
  display: none;
}

.home-listings-scroll {
  position: relative;
}

/* CTA — animated border */
.home-cta-box {
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 12%, rgba(8, 14, 26, 0.96)), rgba(8, 14, 26, 0.88)) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 50%, transparent), color-mix(in srgb, var(--brand-gradient-mid, var(--brand-gradient-end, var(--brand-accent, #0d9f7a))) 40%, transparent), color-mix(in srgb, var(--home-accent) 30%, transparent)) border-box;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

[data-theme="light"] .home-cta-box {
  background:
    linear-gradient(135deg, #fff, #f8fafc) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 40%, #e2e8f0), color-mix(in srgb, var(--brand-gradient-mid, var(--brand-gradient-end, var(--brand-accent, #0d9f7a))) 25%, #e2e8f0)) border-box;
}

/* Section heads — wider underline */
.home-section-head h2::after {
  width: 4.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--home-accent), color-mix(in srgb, var(--brand-gradient-mid, var(--brand-gradient-end, var(--brand-accent, #0d9f7a))) 50%, var(--home-accent)), transparent);
}

/* Footer on home */
.home-page .landing-footer {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15)),
    rgba(3, 7, 14, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .home-page .landing-footer {
  background: #fff;
}

/* Mobile band layout */
@media (max-width: 767.98px) {
  .home-band-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .home-band-icon {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.2rem;
  }

  .home-showcase-ring {
    display: none;
  }

  .home-trust-row {
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .home-trust-chip {
    font-size: 0.72rem;
    padding: 0.36rem 0.68rem;
  }
}

/* Map / visit block on home */
.home-page .about-visit {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.home-page .about-visit-shell {
  border-radius: 24px;
  border-color: var(--home-glass-border);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32);
}

.home-page .about-visit-side {
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--home-accent) 8%, transparent), transparent 55%),
    var(--home-glass);
}

.home-page .about-visit-lead {
  color: var(--home-muted);
}

.home-page .about-fact-icon {
  background: color-mix(in srgb, var(--home-accent) 14%, transparent);
  color: var(--home-accent);
}

.home-page .about-fact h3 {
  color: var(--home-muted);
}

.home-page .about-fact p {
  color: var(--home-ink);
}

.home-page .about-fact--routes {
  border-top-color: var(--home-glass-border);
}

.home-page .about-map-shell {
  min-height: 18rem;
}

.home-page .about-map-badge {
  border-color: color-mix(in srgb, var(--home-accent) 35%, transparent);
  background: color-mix(in srgb, var(--home-glass) 92%, transparent);
  color: var(--home-ink);
}

.home-page .about-map-badge i {
  color: var(--home-accent);
}

.home-page .about-route-btn {
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

@media (min-width: 992px) {
  .home-page .about-visit-shell {
    border-radius: 28px;
    overflow: hidden;
  }

  .home-page .about-visit-side {
    padding: clamp(1.65rem, 2.5vw, 2.15rem);
  }

  .home-page .about-map-shell {
    min-height: 100%;
  }

  .home-page .about-map-canvas {
    min-height: 100% !important;
    height: 100% !important;
  }
}

@media (hover: hover) {
  .home-page .about-route-btn:hover {
    transform: translateY(-1px);
  }
}

/* ════════════════════════════════════════════════════════
   Home v5 — mobile-first polish
   ════════════════════════════════════════════════════════ */
.home-chips-scroll,
.home-trust-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 1rem;
}

.home-chips-scroll::-webkit-scrollbar,
.home-trust-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 992px) {
  .home-chips-scroll,
  .home-trust-scroll {
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}

@media (max-width: 991.98px) {
  .home-chips-scroll,
  .home-trust-scroll {
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
  }

  .home-chips-scroll .home-chips,
  .home-trust-scroll .home-trust-row {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    margin-bottom: 0;
  }

  .home-trust-scroll {
    margin-bottom: 0.85rem;
  }

  /* Hero flow: intro → showcase → search */
  .home-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .home-hero-copy {
    display: contents;
  }

  .home-hero-intro {
    order: 1;
    width: 100%;
  }

  .home-hero-showcase-col {
    order: 2;
    width: 100%;
  }

  .home-hero-tools {
    order: 3;
    width: 100%;
  }

  .home-hero {
    padding: 2.1rem 0 1.15rem;
    padding-top: calc(2rem + env(safe-area-inset-top, 0px));
  }

  .home-page .home-hero > .container-xl {
    padding-inline: 0.85rem;
  }

  .home-hero-mark {
    animation: none;
    margin-inline: auto;
  }

  .home-kicker {
    margin-inline: auto;
  }

  .home-title {
    font-size: clamp(1.65rem, 8.5vw, 2.15rem);
  }

  .home-tagline {
    font-size: 0.92rem;
    margin-bottom: 0.55rem;
  }

  .home-lead {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.75;
    margin-bottom: 0.85rem;
    max-width: none;
  }

  .home-chips li {
    flex-shrink: 0;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
  }

  .home-hero-actions .btn-lg {
    min-height: 2.85rem;
    font-size: 0.86rem;
    padding-inline: 0.75rem;
    justify-content: center;
  }

  .home-trust-chip {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Compact horizontal showcase */
  .home-showcase {
    min-height: 0;
    margin-top: 0;
    justify-content: stretch;
  }

  .home-showcase-card {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  }

  .home-showcase-head {
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
  }

  .home-showcase-head h2 {
    font-size: 0.8rem;
  }

  .home-featured {
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
  }

  .home-featured-media {
    height: 5.5rem;
    margin-bottom: 0;
    border-radius: 12px;
  }

  .home-featured-media::after {
    height: 70%;
  }

  .home-featured-loc {
    font-size: 0.68rem;
    margin-bottom: 0.15rem;
  }

  .home-featured-title {
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-featured-meta {
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
    gap: 0.45rem;
  }

  .home-featured-price {
    padding-top: 0;
    border-top: none;
    font-size: 0.82rem;
  }

  .home-featured-price strong {
    font-size: 0.92rem;
  }

  /* Metrics inline strip */
  .home-metrics {
    margin-top: 0.65rem;
    padding: 0.2rem;
    border-radius: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem;
  }

  .home-metric {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-align: start;
    padding: 0.62rem 0.65rem;
  }

  .home-metric i {
    margin: 0;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.92rem;
    flex-shrink: 0;
  }

  .home-metric strong {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.15;
  }

  .home-metric span {
    font-size: 0.64rem;
    line-height: 1.2;
  }

  /* Sections tighter */
  .home-band {
    padding-bottom: 1.35rem;
    margin-top: 0;
  }

  .home-band-inner {
    padding: 1rem 1.05rem;
    border-radius: 16px;
    gap: 0.85rem;
  }

  .home-band-body h3 {
    font-size: 0.92rem;
  }

  .home-band-body p {
    font-size: 0.78rem;
  }

  .home-band-inner > .d-flex {
    width: 100%;
    flex-direction: column;
  }

  .home-band-inner .btn {
    width: 100%;
    justify-content: center;
    min-height: 2.65rem;
  }

  .home-section {
    padding: 1.65rem 0;
  }

  .home-section-head {
    margin-bottom: 1.15rem;
  }

  .home-section-head h2 {
    font-size: 1.15rem;
    padding-bottom: 0.65rem;
  }

  .home-section-head p {
    font-size: 0.82rem;
  }

  .home-section--cats {
    padding-block: 1.35rem;
  }

  .home-cats {
    gap: 0.45rem;
  }

  .home-cat {
    min-height: 3.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
  }

  .home-cat__icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
    border-radius: 9px;
  }

  .home-cat__copy strong {
    font-size: 0.8rem;
  }

  .home-cat__copy small {
    font-size: 0.68rem;
  }

  /* Listing cards — horizontal snap carousel on mobile */
  .home-page .home-listings-scroll {
    margin-inline: -0.85rem;
    padding-inline: 0.85rem;
  }

  .home-page .home-listings-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .home-page .home-listings-grid::-webkit-scrollbar {
    display: none;
  }

  .home-page .home-listings-grid .amlaki-card {
    flex: 0 0 min(84vw, 19rem);
    scroll-snap-align: start;
    height: auto;
  }

  .home-page .home-section--listings {
    padding-top: 0.35rem;
  }

  .home-page .home-section--listings .home-section-head {
    margin-bottom: 0.85rem;
    text-align: start;
  }

  .home-page .home-section--listings .home-section-head .home-kicker {
    margin-inline: 0;
  }

  .home-page .home-section--listings .home-section-head h2 {
    font-size: 1.12rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__media {
    height: 10.75rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__body {
    padding: 0.75rem 0.8rem 0.85rem;
    gap: 0.42rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__tags {
    inset-inline: 0.5rem;
    bottom: 0.5rem;
    gap: 0.28rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__tag {
    padding: 0.24rem 0.52rem 0.24rem 0.44rem;
    font-size: 0.64rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__tag i {
    font-size: 0.76rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-chip {
    padding: 0.38rem 0.48rem;
    border-radius: 11px;
    gap: 0.38rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-pin {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-district {
    font-size: 0.74rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__loc-city {
    font-size: 0.64rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__title {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__price {
    padding: 0.45rem 0.55rem;
  }

  .home-page .home-listings-grid .amlaki-card--home .amlaki-card__price strong {
    font-size: 0.92rem;
  }

  .home-listings-swipe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin: 0.55rem 0 0;
    font-size: 0.72rem;
    color: var(--home-text-muted, #94a3b8);
  }

  .home-page .home-section--listings .text-center.mt-4 {
    margin-top: 1rem !important;
    flex-direction: column;
  }

  .home-page .home-section--listings .text-center.mt-4 .btn {
    width: 100%;
    min-height: 2.75rem;
  }

  .home-cta {
    padding: 1.35rem 0;
  }

  .home-cta-box {
    padding: 1.45rem 1rem;
    border-radius: 16px;
  }

  .home-cta-box h2 {
    font-size: 1.05rem;
  }

  .home-cta-box p {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .home-cta-box .d-flex {
    flex-direction: column;
    gap: 0.55rem !important;
    width: 100%;
  }

  .home-cta-box .btn-lg {
    width: 100%;
    min-height: 2.85rem;
    font-size: 0.88rem;
  }

  /* Map block */
  .home-page .about-visit {
    padding-bottom: 1rem;
  }

  .home-page .about-visit-shell {
    border-radius: 14px;
  }

  .home-page .about-visit-side {
    padding: 0.72rem 0.8rem 0.78rem;
    gap: 0.45rem;
  }

  .home-page .about-visit-panel {
    border-color: var(--home-glass-border);
    background: color-mix(in srgb, var(--home-accent) 4%, transparent);
  }

  .home-page .about-map-shell {
    min-height: 10.5rem;
  }

  .home-page .about-map-canvas {
    min-height: 10.5rem !important;
    height: 10.5rem !important;
  }

  .home-page .about-visit-btn--outline {
    border-color: var(--home-glass-border);
    background: color-mix(in srgb, var(--home-accent) 5%, transparent);
  }

  /* Nav compact */
  .home-page .home-nav .container-xl {
    padding-inline: 0.75rem;
    padding-block: 0.45rem;
    padding-top: calc(0.45rem + env(safe-area-inset-top, 0px));
  }

  .home-page .landing-nav-bar {
    min-height: 2.65rem;
    gap: 0.4rem;
  }

  .home-page .landing-nav-end .btn-sm {
    height: 2.05rem;
    padding-inline: 0.7rem;
    font-size: 0.78rem;
  }

  .home-theme-toggle {
    width: 2.05rem;
    height: 2.05rem;
    font-size: 0.95rem;
  }

  .home-page [id] {
    scroll-margin-top: 4.25rem;
  }
}

@media (max-width: 575.98px) {
  .home-process-step + .home-process-step {
    border-top-color: var(--home-line);
  }

  .home-page .landing-footer-grid {
    gap: 1.15rem;
  }

  .home-page .landing-footer-pair {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════
   Quick search — professional panel (v6)
   ════════════════════════════════════════════════════════ */
.home-page .amlaki-hero-search {
  position: relative;
  margin-top: 0.25rem;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--home-accent) 22%, var(--home-glass-border));
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--home-accent) 7%, rgba(8, 14, 26, 0.92)), rgba(8, 14, 26, 0.86));
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.home-page .amlaki-hero-search::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--home-accent), color-mix(in srgb, var(--brand-gradient-mid, var(--brand-gradient-end, var(--brand-accent, #0d9f7a))) 55%, var(--home-accent)), transparent);
}

.home-page .amlaki-hero-search::after {
  content: '';
  position: absolute;
  inset: -30% auto auto -20%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--home-accent) 12%, transparent), transparent 68%);
  pointer-events: none;
}

html[data-theme="light"] .home-page .amlaki-hero-search {
  background: linear-gradient(165deg, #fff, #f8fafc);
  border-color: #e2e8f0;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.amlaki-hero-search__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--home-accent) 14%, var(--home-line));
}

.amlaki-hero-search__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.amlaki-hero-search__mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.05rem;
  background: linear-gradient(145deg, var(--brand-primary, #2f6fed), var(--brand-gradient-end, var(--brand-accent, #0d9f7a)));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--brand-accent, #0d9f7a) 32%, transparent);
}

.amlaki-hero-search__copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.amlaki-hero-search__copy strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--home-ink);
}

.amlaki-hero-search__copy span {
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--home-muted);
}

.amlaki-hero-search__city {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--home-accent) 28%, transparent);
  background: color-mix(in srgb, var(--home-accent) 10%, transparent);
  color: var(--home-accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.amlaki-hero-search__city i {
  font-size: 0.82rem;
}

.amlaki-hero-search__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 0.85fr) auto;
  gap: 0.65rem;
  align-items: end;
}

.amlaki-search-box {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin: 0;
  min-width: 0;
}

.amlaki-search-box__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--home-muted) 88%, var(--home-ink));
}

.amlaki-search-box__control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.amlaki-search-box__control > i {
  position: absolute;
  inset-inline-end: 0.82rem;
  inset-inline-start: auto;
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--home-accent) 70%, var(--home-muted));
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}

.amlaki-search-box__control .form-control,
.amlaki-search-box__control .form-select {
  width: 100%;
  min-height: 2.85rem;
  padding-block: 0.55rem;
  padding-inline-start: 0.85rem;
  padding-inline-end: 2.45rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--home-ink);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: none;
}

.amlaki-search-box__control .form-control::placeholder {
  color: color-mix(in srgb, var(--home-muted) 72%, transparent);
  font-weight: 500;
}

.amlaki-search-box__control .form-select {
  padding-inline-start: 2rem;
  padding-inline-end: 2.45rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.85rem;
}

.amlaki-search-box__control:focus-within {
  border-color: color-mix(in srgb, var(--home-accent) 55%, transparent);
  background: color-mix(in srgb, var(--home-accent) 6%, rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--home-accent) 16%, transparent);
}

html[data-theme="light"] .amlaki-search-box__control {
  background: #fff;
  border-color: #e2e8f0;
}

html[data-theme="light"] .amlaki-search-box__control .form-control,
html[data-theme="light"] .amlaki-search-box__control .form-select {
  color: #0f172a;
}

html[data-theme="light"] .amlaki-search-box__control .form-control::placeholder {
  color: #94a3b8;
}

.amlaki-hero-search__submit {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 6.5rem;
  min-height: 2.85rem;
  padding-inline: 1.15rem;
  border-radius: 12px !important;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.amlaki-hero-search__submit i {
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .amlaki-hero-search__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .amlaki-search-box--wide {
    grid-column: 1 / -1;
  }

  .amlaki-hero-search__submit {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 575.98px) {
  .home-page .amlaki-hero-search {
    padding: 0.9rem 0.85rem 0.95rem;
    border-radius: 1.05rem;
  }

  .amlaki-hero-search__top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
  }

  .amlaki-hero-search__city {
    align-self: flex-start;
  }

  .amlaki-hero-search__grid {
    grid-template-columns: 1fr;
  }

  .amlaki-search-box__control,
  .amlaki-search-box__control .form-control,
  .amlaki-search-box__control .form-select,
  .amlaki-hero-search__submit {
    min-height: 2.75rem;
  }
}
