/* Aura tokens — Выгодные Квартиры Краснодар */
:root {
  --navy: #001A3D;
  --navy-deep: #001530;
  --navy-soft: #0A2A52;
  --on-navy: #FFFFFF;
  --orange: #FF6B00;
  --orange-hover: #E85F00;
  --orange-soft: #FFF3E8;
  --on-orange: #FFFFFF;
  --white: #FFFFFF;
  --surface: #F4F7F9;
  --surface-alt: #EEF2F6;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --text: #0F172A;
  --text-muted: #64748B;
  --link: #2563EB;
  --success: #0D9488;
  --badge-blue: #1D4ED8;
  --badge-blue-soft: #DBEAFE;
  --border: #E2E8F0;
  --container: 1200px;
  --gutter: 24px;
  /* Shared left inset — narrow by default; wide screens bump it up */
  --page-inset: clamp(16px, 4vw, 32px);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-btn: 8px;
  --shadow-card: 0 4px 20px rgba(0, 26, 61, 0.06);
  --shadow-card-hover: 0 8px 28px rgba(0, 26, 61, 0.10);
  --shadow-header: 0 1px 0 rgba(0, 0, 0, 0.04);
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--navy); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container { padding: 0 var(--gutter); }
}

.section { padding: 48px 0; }
.section--surface { background: var(--surface); }
.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 32px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.btn--primary { background: var(--orange); color: var(--on-orange); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn--secondary:hover { border-color: var(--navy); }
.btn--ghost-dark {
  background: transparent;
  color: var(--on-navy);
  border-color: rgba(255,255,255,.55);
}
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 500; color: var(--gray-600); }
.input, .select {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--text);
  width: 100%;
}
.input:focus, .select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(255,107,0,.15);
}
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 8px 0 16px;
  font-size: 14px;
  color: var(--gray-700);
}
.checkbox-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-header);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.site-header > .container {
  max-width: none;
  padding-left: var(--page-inset);
  padding-right: var(--page-inset);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.logo__mark {
  width: 40px;
  height: 40px;
  color: var(--orange);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.05;
}
.logo__city {
  font-size: 12px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: none;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  flex-wrap: nowrap;
}
.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.header-actions .btn { display: none; }
.header-phone { display: none; text-align: right; }
.header-phone__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  display: block;
}
.header-phone__hours { font-size: 12px; color: var(--gray-500); }
.burger {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--white);
  cursor: pointer;
}
.burger svg { width: 20px; height: 20px; color: var(--navy); }
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 12px 0 16px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 500;
  color: var(--gray-700);
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-phone { display: block; }
  .burger { display: none; }
  .header-actions .btn { display: inline-flex; padding: 10px 14px; font-size: 13px; }
}
@media (min-width: 1200px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
}

/* Hero — stacked by default; side-by-side only from 1100px+ */
.hero--bleed {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 0;
  height: auto;
  overflow: visible;
  background: var(--surface);
}
.hero-media {
  position: relative;
  z-index: 0;
  height: min(52vw, 300px);
  min-height: 200px;
  overflow: hidden;
}
.hero-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  height: min(52vw, 300px);
  min-height: 200px;
  z-index: 3;
  pointer-events: none;
}
.hero-media__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 550ms var(--ease);
}
.hero-media__slide.is-active { opacity: 1; }
.hero-media__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero-media__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(255,255,255,.55) 85%, #fff 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  flex: none;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px var(--page-inset) 16px;
  min-width: 0;
  min-height: 0;
  pointer-events: auto;
}
.hero__cats {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  width: 100%;
  padding: 0 var(--page-inset) 16px;
  pointer-events: auto;
}
.hero__cats .category-row {
  margin-top: 0;
  padding-bottom: 0;
}
.hero__copy {
  min-width: 0;
  max-width: none;
  pointer-events: auto;
}
.hero__copy h1 {
  font-size: clamp(26px, 6.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 12px;
}
.hero__accent { color: var(--orange); }
.hero__lead {
  color: var(--gray-600);
  margin: 0 0 18px;
  max-width: 40em;
}
.utp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.utp-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: var(--shadow-card);
}
.utp-item__icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.utp-item__icon svg { width: 16px; height: 16px; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.hero__ctas .btn {
  flex: 1 1 auto;
  min-width: min(100%, 200px);
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  height: auto;
  min-height: 44px;
  padding: 12px 16px;
}
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,26,61,.08);
  max-width: 560px;
}
.trust-stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--navy);
  line-height: 1.1;
}
.trust-stat__label {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 4px;
}
.hero-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: min(220px, calc(100% - 88px));
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.3;
  box-shadow: var(--shadow-float, 0 12px 32px rgba(0,26,61,.18));
  pointer-events: none;
}
.hero-badge__thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-badge__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge strong { color: var(--orange); display: block; margin-bottom: 1px; font-size: 13px; }
.hero-badge span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,26,61,.58);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 160ms var(--ease);
  pointer-events: auto;
}
.hero-nav:hover { background: rgba(0,26,61,.78); }
.hero-nav:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.hero-nav svg { width: 18px; height: 18px; }
.hero-nav--prev { left: 10px; }
.hero-nav--next { right: 10px; }
.hero-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,26,61,.58);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.hero-counter__sep { opacity: .7; }

/* Wide desktop: full-bleed photo + left copy */
@media (min-width: 1100px) {
  :root {
    --page-inset: clamp(56px, 11vw, 176px);
  }
  .hero--bleed {
    overflow: hidden;
    min-height: calc(100svh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    height: calc(100svh - var(--header-h));
    height: calc(100dvh - var(--header-h));
  }
  .hero-media {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
  }
  .hero-chrome {
    inset: 0;
    height: auto;
    min-height: 0;
    bottom: 0;
  }
  .hero-media__veil {
    background:
      linear-gradient(90deg,
        #fff 0%,
        #fff 34%,
        rgba(255,255,255,.92) 44%,
        rgba(255,255,255,.45) 56%,
        transparent 72%),
      linear-gradient(180deg, rgba(255,255,255,.2) 0%, transparent 22%, transparent 70%, rgba(244,247,249,.65) 100%);
  }
  .hero-media__slide img { object-position: 78% center; }
  .hero__inner {
    flex: 1 1 auto;
    align-items: center;
    padding: 40px var(--page-inset) 16px;
    pointer-events: none;
    grid-template-columns: minmax(360px, 600px);
  }
  .hero__copy {
    max-width: min(600px, 44vw);
  }
  .hero__copy h1 {
    font-size: clamp(36px, 4.2vw, 56px);
  }
  .utp-item { font-size: 13px; padding: 10px 14px; }
  .hero__ctas {
    gap: 12px;
    margin-bottom: 28px;
  }
  .hero__ctas .btn {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
  }
  .hero__cats { padding-bottom: 24px; }
  .hero-badge {
    top: 40px;
    right: 32px;
    max-width: min(280px, 28vw);
    padding: 12px 14px;
    font-size: 13px;
    gap: 12px;
  }
  .hero-badge__thumb { width: 56px; height: 56px; border-radius: 10px; }
  .hero-badge strong { font-size: 16px; }
  .hero-badge span { -webkit-line-clamp: 3; }
  .hero-nav {
    width: 48px;
    height: 48px;
  }
  .hero-nav svg { width: 20px; height: 20px; }
  /* Keep prev arrow on photo half only */
  .hero-nav--prev { left: clamp(52%, calc(var(--page-inset) + 620px), 62%); }
  .hero-nav--next { right: 32px; }
  .hero-counter {
    right: 32px;
    bottom: 140px;
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* Mid-wide: tighter chrome so nothing collides */
@media (min-width: 1100px) and (max-width: 1320px) {
  :root {
    --page-inset: clamp(40px, 5vw, 72px);
  }
  .hero__copy {
    max-width: min(480px, 40vw);
  }
  .hero__copy h1 {
    font-size: clamp(32px, 3.4vw, 44px);
  }
  .hero-badge {
    max-width: 200px;
    top: 24px;
    right: 20px;
    padding: 8px 10px;
    font-size: 11px;
  }
  .hero-badge__thumb { width: 40px; height: 40px; }
  .hero-badge strong { font-size: 13px; }
  .hero-nav--prev { left: max(58%, 55vw); }
  .hero-counter { bottom: 128px; right: 20px; }
}

@media (min-width: 1321px) {
  .hero__copy h1 { font-size: 56px; }
}

/* Floating WhatsApp stub */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  border: 0;
  cursor: pointer;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { filter: brightness(1.05); }
.wa-float:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Legacy hero-slider (catalog/other pages if used) */
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  width: 100%;
  max-width: 100%;
  background: var(--surface-alt);
  box-shadow: var(--shadow-card);
}
.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 400ms var(--ease);
}
.hero-slider__slide.is-active { opacity: 1; z-index: 1; }
.hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slider__controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,26,61,.72);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  backdrop-filter: blur(6px);
}
.hero-slider__btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-slider__btn svg { width: 16px; height: 16px; }
.hero-slider__counter {
  font-family: var(--font-mono);
  font-size: 12px;
  min-width: 52px;
  text-align: center;
}

@media (min-width: 900px) {
  .trust-stat__value { font-size: 28px; }
}

/* Category chips */
.category-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  position: relative;
  z-index: 3;
}
.category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 10px;
  min-height: 96px;
  box-shadow: var(--shadow-card);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.category-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.category-chip svg { width: 28px; height: 28px; color: var(--badge-blue); }
.category-chip span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
@media (min-width: 768px) {
  .category-row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .category-row { grid-template-columns: repeat(7, 1fr); }
}

/* Why us bar */
.why-us {
  background: var(--navy);
  color: var(--on-navy);
  padding: 28px 0;
}
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px;
}
.why-us__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.why-us__item svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .why-us__grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .why-us__item { flex-direction: column; text-align: center; gap: 8px; }
}

/* Offers */
.offers__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.offers__head .section-title { margin-bottom: 0; }
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
}
.filter-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--link);
}
.offers__layout {
  display: grid;
  gap: 24px;
}
.apartment-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .apartment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .offers__layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
  .apartment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .apartment-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Apartment card */
.apt-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.apt-card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.apt-card:hover,
.apt-card:has(.apt-card__hit:focus-visible) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.apt-card__hit:focus-visible {
  outline: 2px solid var(--accent, #1e6bb8);
  outline-offset: 2px;
}
.apt-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
}
.apt-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apt-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #fff;
}
.apt-card__badge--blue { background: var(--badge-blue); }
.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--gray-500);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}
.fav-btn.is-active { color: var(--orange); }
.fav-btn svg { width: 18px; height: 18px; }
.apt-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.apt-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.apt-card__address {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.apt-card__address svg { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; }
.apt-card__meta {
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.apt-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.apt-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
}
.apt-card__price-old {
  font-size: 14px;
  color: var(--gray-400);
  text-decoration: line-through;
}
.apt-card__discount {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.apt-card__monthly {
  font-size: 13px;
  color: var(--gray-600);
}
.apt-card__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--link);
}

/* Podbor sidebar */
.podbor {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.podbor h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 16px;
}
.podbor .field label { color: rgba(255,255,255,.75); }
.podbor .input, .podbor .select {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.podbor .input::placeholder { color: rgba(255,255,255,.45); }
/* Native <option> list is light — force readable dark text */
.podbor .select option,
.podbor .select optgroup {
  color: #0F172A;
  background: #fff;
}
.podbor .checkbox-row { color: rgba(255,255,255,.85); }
.podbor .link-more { color: #93C5FD; }

/* Mortgage */
.mortgage-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.mortgage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
}
.mortgage-card svg { width: 28px; height: 28px; color: var(--badge-blue); }
.mortgage-card__name {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}
.mortgage-card__rate {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
}
.mortgage-cta { margin-top: 24px; }
@media (min-width: 640px) {
  .mortgage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mortgage-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Dual info */
.dual-info {
  display: grid;
  gap: 24px;
}
.dual-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.dual-card--photo {
  position: relative;
  overflow: hidden;
  color: var(--on-navy);
  border: none;
  background:
    linear-gradient(135deg, rgba(0, 26, 61, 0.88) 0%, rgba(0, 26, 61, 0.72) 55%, rgba(0, 26, 61, 0.55) 100%),
    url('/images/apartments/apt-04.png') center/cover;
}
.dual-card--photo h2,
.dual-card--photo .check-list li { color: var(--on-navy); }
.dual-card--photo .check-list svg { color: var(--orange); }
.dual-card h2 { margin-bottom: 16px; font-size: 22px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--gray-700);
}
.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--badge-blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.process-steps {
  display: grid;
  gap: 16px;
}
.process-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.process-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-step__title { font-weight: 700; color: var(--navy); font-size: 15px; }
.process-step__text { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
@media (min-width: 900px) {
  .dual-info { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

/* Reviews */
.reviews-layout {
  display: grid;
  gap: 24px;
}
.review-grid {
  display: grid;
  gap: 16px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  overflow: hidden;
}
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__name { font-weight: 700; color: var(--navy); font-size: 15px; }
.review-stars { display: flex; gap: 2px; margin-top: 2px; }
.review-stars svg { width: 14px; height: 14px; color: var(--orange); fill: var(--orange); }
.review-card__body { font-size: 14px; color: var(--gray-600); line-height: 1.5; }
.trust-deals {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(160deg, rgba(0,26,61,.88), rgba(0,26,61,.55)),
    url('/images/hero/slide-02.png') center/cover;
  color: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
}
.trust-deals__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
}
.trust-deals__label { font-size: 16px; margin-top: 8px; opacity: .95; }
.trust-deals__chip {
  margin-top: 16px;
  align-self: flex-start;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .reviews-layout { grid-template-columns: 1.6fr 1fr; align-items: stretch; }
}

/* Lead band */
.lead-band {
  background: var(--navy);
  color: #fff;
  padding: 36px 0;
}
.lead-band__inner {
  display: grid;
  gap: 20px;
  align-items: center;
}
.lead-band h2 {
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}
.lead-form {
  display: grid;
  gap: 12px;
}
.lead-form .input {
  background: #fff;
  border: 0;
}
.alert-success {
  background: var(--success);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  margin-bottom: 12px;
}
@media (min-width: 900px) {
  .lead-band__inner { grid-template-columns: 1fr 1.2fr; gap: 32px; }
  .lead-band h2 { font-size: 28px; }
  .lead-form {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.85);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  gap: 28px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin: 12px 0 16px;
  max-width: 28em;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.socials svg { width: 16px; height: 16px; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  padding: 4px 0;
}
.footer-col a:hover { color: #fff; }
.footer-contacts { font-size: 14px; line-height: 1.6; }
.footer-contacts a { color: #fff; font-weight: 600; }
.map-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-soft);
  border: 1px solid rgba(255,255,255,.12);
}
.map-thumb iframe, .map-thumb img {
  width: 100%;
  height: 140px;
  border: 0;
  display: block;
}
.map-thumb__cta {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #93C5FD;
  background: rgba(0,0,0,.2);
}
.footer-legal {
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.footer-legal a { color: rgba(255,255,255,.55); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1.1fr; }
}

/* Inner pages */
.page-hero {
  background: var(--surface);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 28px; margin-bottom: 8px; }
.breadcrumbs {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.breadcrumbs a { color: var(--link); }
.catalog-layout {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .catalog-layout { grid-template-columns: 280px 1fr; }
}
.catalog-filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  height: fit-content;
}
.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.pagination a, .pagination span {
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  font-size: 14px;
}
.pagination .active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.apt-show__grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .apt-show__grid { grid-template-columns: 1.4fr 1fr; }
}
.apt-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-alt);
  aspect-ratio: 4/3;
}
.apt-gallery img { width: 100%; height: 100%; object-fit: cover; }
.apt-show__price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}
.apt-show__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 12px 0 20px;
  font-size: 14px;
  color: var(--gray-600);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
