/* ==========================================================================
   STARLIGHT REAL ESTATE LIMITED — design system & components
   Palette: ice / ink / champagne gold. Type: Plus Jakarta Sans + Fraunces.
   ========================================================================== */

:root {
  /* Color tokens */
  --ink: #0b0f19;
  --ink-2: #161c2c;
  --ink-soft: #3d4456;
  --muted: #66708a;
  --ice: #e9f1f8;
  --ice-2: #dce9f3;
  --ice-soft: #f3f8fc;
  --paper: #ffffff;
  --gold: #c8a24b;
  --gold-deep: #a8842f;
  --gold-soft: rgba(200, 162, 75, 0.14);
  --danger: #d64545;
  --line: rgba(11, 15, 25, 0.09);
  --line-strong: rgba(11, 15, 25, 0.16);
  --ice-on-dark: #eaf1f7;
  --muted-on-dark: #9aa6bd;
  --line-on-dark: rgba(234, 241, 247, 0.14);

  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;

  /* Geometry */
  --container: 1180px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-soft: 0 24px 60px -18px rgba(11, 15, 25, 0.18);
  --shadow-card: 0 16px 40px -16px rgba(11, 15, 25, 0.16);
  --header-h: 78px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 104px;
}

.section--tight {
  padding-block: 84px;
}

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nowrap {
  white-space: nowrap;
}

/* Star glyph (brand sparkle) */
.star {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  flex: 0 0 auto;
}

.star path {
  fill: var(--gold);
}

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.eyebrow .star {
  width: 13px;
  height: 13px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin-bottom: 0;
  max-width: 16em;
}

.section-head .head-side {
  max-width: 380px;
  color: var(--muted);
  font-size: 15.5px;
  padding-bottom: 6px;
}

.section-head .head-side p {
  margin: 0 0 14px;
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head--center .head-side {
  max-width: 560px;
  padding-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}

.btn i {
  font-size: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover i.ti-arrow-right,
.btn:hover i.ti-arrow-up-right {
  transform: translateX(3px);
}

.btn--dark {
  background: var(--ink);
  color: var(--ice-on-dark);
}

.btn--dark:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(11, 15, 25, 0.45);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--light:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(11, 15, 25, 0.3);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--ice-on-dark);
  border-color: var(--line-on-dark);
}

.btn--ghost-dark:hover {
  border-color: var(--ice-on-dark);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: #d4b15e;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(168, 132, 47, 0.55);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 14px;
  border-radius: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  position: relative;
}

.link-arrow i {
  font-size: 17px;
  transition: transform 0.25s var(--ease);
}

.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover::after {
  transform: scaleX(1);
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(11, 15, 25, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  z-index: 75;
}

.brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand .brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand .brand-name {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand .brand-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(11, 15, 25, 0.05);
}

.nav-links a.active {
  color: var(--ink);
  font-weight: 700;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.nav-links .nav-cta-mobile {
  display: none;
}

.header-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
  z-index: 75;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* Mobile nav overlay */
@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 70;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    padding: 96px 32px 48px;
    background: linear-gradient(160deg, var(--ice) 0%, #f7fbfe 60%, #fff 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .nav-links::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  }

  .nav-links a {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    padding: 6px 0;
    border-radius: 0;
    background: none !important;
    transform: translateY(14px);
    opacity: 0;
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  }

  .nav-links a.active::after {
    left: 0;
    right: auto;
    width: 34px;
    height: 3px;
    bottom: 4px;
  }

  .nav-links .nav-cta-mobile {
    display: inline-flex;
    margin-top: 22px;
    font-size: 16px;
    background: var(--ink) !important;
    color: var(--ice-on-dark);
    padding: 16px 26px;
    border-radius: var(--r-sm);
  }

  .site-header.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
  }

  .site-header.nav-open .nav-links a {
    transform: translateY(0);
    opacity: 1;
  }

  .site-header.nav-open .nav-links a:nth-child(1) { transition-delay: 0.06s; }
  .site-header.nav-open .nav-links a:nth-child(2) { transition-delay: 0.11s; }
  .site-header.nav-open .nav-links a:nth-child(3) { transition-delay: 0.16s; }
  .site-header.nav-open .nav-links a:nth-child(4) { transition-delay: 0.21s; }
  .site-header.nav-open .nav-links a:nth-child(5) { transition-delay: 0.26s; }
  .site-header.nav-open .nav-links a:nth-child(6) { transition-delay: 0.31s; }

  .site-header.nav-open {
    background: transparent;
    box-shadow: none;
    border-bottom-color: transparent;
  }
}

body.nav-lock {
  overflow: hidden;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 86% -10%, rgba(200, 162, 75, 0.12), transparent 60%),
    linear-gradient(168deg, var(--ice) 0%, var(--ice-2) 56%, #f6fafd 100%);
  padding-top: calc(var(--header-h) + 56px);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 24px 8px;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  max-width: 11em;
}

.hero h1 .accent {
  color: var(--gold-deep);
}

.hero-sub {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 30em;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.hero-stat {
  max-width: 158px;
}

.hero-stat .num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-stat .num .plus {
  color: var(--gold-deep);
}

.hero-stat .lbl {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  perspective: 1100px;
}

.hero-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease);
}

.hero-photo img {
  width: 100%;
  height: clamp(380px, 46vw, 560px);
  object-fit: cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(11, 15, 25, 0) 55%, rgba(11, 15, 25, 0.38) 100%);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 18px 44px -16px rgba(11, 15, 25, 0.35);
  animation: floaty 5.2s ease-in-out infinite;
}

.float-card .fc-ic {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.float-card .fc-t {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

.float-card .fc-v {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.float-card--tl {
  top: 26px;
  left: -26px;
  animation-delay: 0.6s;
}

.float-card--br {
  bottom: 88px;
  right: -20px;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Sparkles */
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sp {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
  animation: twinkle 4.6s ease-in-out infinite;
}

.sp svg {
  width: 100%;
  height: 100%;
}

.sp svg path {
  fill: var(--gold);
}

.sp--ink svg path {
  fill: rgba(11, 15, 25, 0.32);
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 0.95; transform: scale(1) rotate(24deg); }
}

/* Hero search card */
.hero-search {
  position: relative;
  z-index: 5;
  margin-top: 58px;
  transform: translateY(72px);
  margin-bottom: -8px;
}

.search-card {
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}

.search-card .sc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}

.search-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 14px;
}

.search-field {
  position: relative;
}

.search-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gold-deep);
  pointer-events: none;
}

.search-field select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 15px 38px 15px 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--ice-soft);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366708a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.search-field select:hover,
.search-field select:focus {
  border-color: var(--ink);
  background-color: #fff;
  outline: none;
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  background: var(--ink);
  color: var(--ice-on-dark);
  overflow: hidden;
  padding-block: 18px;
  border-block: 1px solid var(--ink);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(234, 241, 247, 0.85);
}

.marquee-item .star {
  width: 11px;
  height: 11px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   PROPERTY CARDS
   ========================================================================== */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.prop-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

.prop-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-card);
  border-color: rgba(11, 15, 25, 0.18);
}

.prop-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.prop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.prop-card:hover .prop-media img {
  transform: scale(1.06);
}

.prop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prop-badge--buy {
  background: var(--ink);
  color: var(--ice-on-dark);
}

.prop-badge--rent {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.prop-badge--commercial {
  background: var(--gold);
  color: var(--ink);
}

.prop-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.prop-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.prop-loc i {
  color: var(--gold-deep);
  font-size: 15px;
}

.prop-name {
  font-size: 19.5px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.prop-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.prop-specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prop-specs i {
  font-size: 16px;
  color: var(--ink-soft);
}

.prop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.prop-price {
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.prop-price small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.bg-ice-soft {
  background: var(--ice-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 162, 75, 0));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.service-card:hover::before {
  opacity: 1;
}

.service-ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--ice);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 25px;
  margin-bottom: 20px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-card:hover .service-ic {
  background: var(--ink);
  color: var(--gold);
  transform: rotate(-6deg) scale(1.05);
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.service-card .link-arrow {
  margin-top: auto;
  font-size: 14px;
}

/* ==========================================================================
   WHY / ABOUT SPLIT
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media .photo-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-media .photo-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.split-media .photo-chip {
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 218px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-card);
}

.split-media .photo-chip img {
  width: 100%;
  height: 156px;
  object-fit: cover;
}

.split-media .badge-star {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  animation: spinSlow 14s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.split-copy h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}

.split-copy > p {
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 34em;
}

.check-list li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list .ck {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  font-size: 15px;
}

.check-list strong {
  display: block;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

.check-list span.desc {
  font-size: 14px;
  color: var(--muted);
}

.split-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   STATS BAND (dark, starfield)
   ========================================================================== */
.stats-band {
  position: relative;
  background: var(--ink);
  color: var(--ice-on-dark);
  overflow: hidden;
}

.starfield::before,
.starfield::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 28%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 28% 64%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 44% 18%, rgba(200, 162, 75, 0.9) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 58% 76%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 34%, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 84% 58%, rgba(200, 162, 75, 0.8) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 93% 22%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 6% 80%, rgba(255, 255, 255, 0.5) 50%, transparent 51%);
  animation: starPulse 5.5s ease-in-out infinite;
}

.starfield::after {
  background-image:
    radial-gradient(1.3px 1.3px at 18% 46%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.7px 1.7px at 36% 84%, rgba(200, 162, 75, 0.85) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 52% 42%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 66% 12%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 88%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 90% 44%, rgba(200, 162, 75, 0.75) 50%, transparent 51%);
  animation-delay: 2.7s;
}

@keyframes starPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.stats-band .band-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 56px;
}

.stats-band .band-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  margin: 0;
  max-width: 15em;
}

.stats-band .band-head p {
  margin: 0;
  max-width: 380px;
  color: var(--muted-on-dark);
  font-size: 15.5px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-cell {
  padding: 28px 26px;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.stat-cell:hover {
  border-color: rgba(200, 162, 75, 0.55);
  background: rgba(200, 162, 75, 0.06);
  transform: translateY(-4px);
}

.stat-cell .num {
  display: flex;
  align-items: baseline;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-cell .num .unit {
  font-size: 0.55em;
  margin-left: 3px;
  color: var(--gold);
  font-weight: 800;
}

.stat-cell .lbl {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted-on-dark);
  font-weight: 600;
  line-height: 1.45;
}

/* ==========================================================================
   DISTRICTS EXPLORER
   ========================================================================== */
.districts {
  position: relative;
}

.district-list {
  border-top: 1px solid var(--line);
}

.district-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1.1fr 1.3fr auto;
  align-items: center;
  gap: 26px;
  padding: 26px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 0.25s var(--ease), padding 0.25s var(--ease);
}

.district-row:hover {
  background: var(--ice-soft);
  padding-left: 22px;
  padding-right: 16px;
}

.district-row .idx {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 19px;
  color: var(--gold-deep);
}

.district-row .d-name {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.district-row .d-desc {
  font-size: 14.5px;
  color: var(--muted);
}

.district-row .d-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 19px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.district-row:hover .d-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
  transform: rotate(-45deg);
}

.district-preview {
  position: fixed;
  z-index: 50;
  width: 230px;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92) rotate(-3deg);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.district-preview.show {
  opacity: 1;
  transform: scale(1) rotate(-3deg);
}

.district-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.step-card .step-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 17px;
  color: var(--gold-deep);
  margin-bottom: 16px;
}

.step-card .step-num::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--line-strong);
}

.step-card h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.quote-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.quote-who {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
}

.avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #fff;
}

.avatar--a { background: linear-gradient(135deg, #2e4a8f, #5a7bc4); }
.avatar--b { background: linear-gradient(135deg, #a8842f, #d4b15e); }
.avatar--c { background: linear-gradient(135deg, #1d6f6a, #45a39d); }
.avatar--d { background: linear-gradient(135deg, #7a4a9e, #a97fd0); }

.quote-who .qw-name {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
}

.quote-who .qw-role {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--ice-on-dark);
}

.cta-band .cta-bg {
  position: absolute;
  inset: 0;
}

.cta-band .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band .cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 15, 25, 0.92) 18%, rgba(11, 15, 25, 0.62) 60%, rgba(11, 15, 25, 0.45) 100%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  padding-block: 110px;
  max-width: 640px;
}

.cta-inner .eyebrow {
  color: var(--gold);
}

.cta-inner h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  margin-bottom: 18px;
}

.cta-inner p {
  color: rgba(234, 241, 247, 0.78);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 32em;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CONTACT + FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 30em;
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.info-card .ic {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 21px;
}

.info-card strong {
  display: block;
  font-size: 15.5px;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.info-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Form */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-card .fc-head {
  margin-bottom: 24px;
}

.form-card .fc-head h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.form-card .fc-head p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field label .req {
  color: var(--gold-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--ice-soft);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366708a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 15, 25, 0.07);
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: var(--danger);
  background: #fdf3f3;
}

.field .err {
  display: none;
  font-size: 12.5px;
  color: var(--danger);
  font-weight: 600;
}

.field.invalid .err {
  display: block;
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-foot .note {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 300px;
  margin: 0;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 36px 12px;
}

.form-success.show {
  display: block;
  animation: fadeUp 0.5s var(--ease);
}

.form-success .ok-star {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  animation: popIn 0.55s var(--ease);
}

.form-success .ok-star svg {
  width: 34px;
  height: 34px;
}

.form-success h3 {
  font-size: 23px;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted);
  max-width: 26em;
  margin: 0 auto;
}

@keyframes popIn {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 44px;
  padding-block: 72px 56px;
  position: relative;
  z-index: 2;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand .brand-name {
  color: var(--ice-on-dark);
}

.footer-brand p {
  font-size: 14.5px;
  max-width: 26em;
  margin: 0;
}

.footer-col h4 {
  color: var(--ice-on-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--muted-on-dark);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-col address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
}

.footer-col address .addr-title {
  color: var(--ice-on-dark);
  font-weight: 700;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-on-dark);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-bottom .star {
  width: 10px;
  height: 10px;
  margin-inline: 6px;
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero {
  position: relative;
  background:
    radial-gradient(720px 380px at 88% 0%, rgba(200, 162, 75, 0.13), transparent 62%),
    linear-gradient(165deg, var(--ice) 0%, var(--ice-2) 70%, #f4f9fc 100%);
  padding: calc(var(--header-h) + 72px) 0 76px;
  overflow: hidden;
}

.page-hero .crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
}

.page-hero .crumbs a:hover {
  color: var(--ink);
}

.page-hero .crumbs i {
  font-size: 13px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  max-width: 14em;
  margin-bottom: 16px;
}

.page-hero .lead {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 38em;
  margin: 0;
}

/* ----- Properties page: filters ----- */
.filter-bar {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  margin-bottom: 56px;
}

.filter-card {
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.chip-group {
  display: inline-flex;
  background: var(--ice-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}

.chip {
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.chip:hover {
  color: var(--ink);
}

.chip.active {
  background: var(--ink);
  color: var(--ice-on-dark);
  box-shadow: 0 6px 16px -6px rgba(11, 15, 25, 0.45);
}

.filter-selects {
  display: flex;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
}

.filter-selects .search-field {
  flex: 1;
  min-width: 190px;
}

.filter-reset {
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  padding: 10px 6px;
  transition: color 0.2s var(--ease);
}

.filter-reset:hover {
  color: var(--danger);
}

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.results-meta .count {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}

.results-meta .count strong {
  color: var(--ink);
  font-weight: 800;
}

.prop-card.is-hidden {
  display: none;
}

.empty-state {
  display: none;
  text-align: center;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 72px 24px;
}

.empty-state.show {
  display: block;
}

.empty-state .es-ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--ice);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--ink-soft);
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.empty-state p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* ----- Services page ----- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}

.service-row:last-of-type {
  border-bottom: 0;
}

.service-row:nth-child(even) .sr-media {
  order: 2;
}

.sr-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.sr-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-row:hover .sr-media img {
  transform: scale(1.04);
}

.sr-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sr-copy .service-ic {
  margin-bottom: 16px;
}

.sr-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 12px;
}

.sr-copy > p {
  color: var(--muted);
  margin-bottom: 22px;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 500;
}

.tick-list i {
  color: var(--gold-deep);
  font-size: 17px;
  margin-top: 4px;
}

.fee-note {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-soft);
  border: 1px solid rgba(200, 162, 75, 0.35);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
}

.fee-note i {
  color: var(--gold-deep);
  font-size: 18px;
}

/* FAQ accordion */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
}

.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.acc-item.open {
  border-color: rgba(11, 15, 25, 0.2);
  box-shadow: var(--shadow-card);
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.acc-head .acc-ic {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 17px;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.acc-item.open .acc-ic {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.acc-body p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ----- About page ----- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.value-card .service-ic {
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.team-card .avatar {
  width: 76px;
  height: 76px;
  font-size: 23px;
  margin: 0 auto 16px;
  box-shadow: 0 12px 26px -12px rgba(11, 15, 25, 0.4);
}

.team-card h3 {
  font-size: 17.5px;
  margin-bottom: 3px;
}

.team-card .role {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.cred-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: 28px;
}

.cred-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.cred-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.cred-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.cred-card p + p {
  margin-top: 6px;
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 920px) {
  .section {
    padding-block: 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-photo img {
    height: 420px;
  }

  .float-card--tl {
    left: 12px;
  }

  .float-card--br {
    right: 12px;
  }

  .search-form {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .split-media .photo-chip {
    right: 6px;
  }

  .split-media .badge-star {
    left: -8px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quotes-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px;
  }

  .service-row:nth-child(even) .sr-media {
    order: 0;
  }

  .district-row {
    grid-template-columns: 44px 1fr auto;
  }

  .district-row .d-desc {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }

  .stats-band .band-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .container {
    padding-inline: 18px;
  }

  .section {
    padding-block: 64px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 36px);
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat .num {
    font-size: 25px;
  }

  .hero-photo img {
    height: 330px;
  }

  .hero-search {
    margin-top: 44px;
    transform: translateY(56px);
  }

  .search-card {
    padding: 20px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .props-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stat-cell {
    padding: 20px 18px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 56px 40px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .form-card {
    padding: 26px 20px;
  }

  .form-fields {
    grid-template-columns: 1fr;
  }

  .split-media .photo-main img {
    height: 380px;
  }

  .split-media .photo-chip {
    width: 160px;
    bottom: -22px;
  }

  .split-media .photo-chip img {
    height: 116px;
  }

  .split-media .badge-star {
    width: 72px;
    height: 72px;
    top: -16px;
  }

  .cta-inner {
    padding-block: 84px;
  }

  .filter-card {
    align-items: stretch;
    flex-direction: column;
  }

  .chip-group {
    justify-content: space-between;
  }

  .chip {
    flex: 1;
    text-align: center;
    padding-inline: 10px;
  }

  .cred-card {
    grid-template-columns: 1fr;
  }

  .district-preview {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .brand .brand-sub {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
