/* ============================
   CSS Variables & Reset
   ============================ */
:root {
  --red: #d41919;
  --red-dark: #b51515;
  --red-light: #ff2d2d;
  --black: #0a0a0a;
  --dark: #1a1a2e;
  --dark-card: #242440;
  --gray-900: #1f1f1f;
  --gray-800: #2a2a2a;
  --gray-700: #3a3a3a;
  --gray-600: #4a4a4a;
  --gray-400: #8a8a8a;
  --gray-300: #b0b0b0;
  --gray-200: #d4d4d4;
  --gray-100: #f0f0f0;
  --gray-50: #f8f8f8;
  --white: #ffffff;
  --yellow: #ffd700;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-red: 0 8px 30px rgba(212,25,25,0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-red { color: var(--red); }

/* ============================
   Lightbox
   ============================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: zoom-out;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: default;
  transition: transform 0.3s;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 1;
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
  z-index: 1;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.2);
}

[data-lightbox] img {
  cursor: zoom-in;
}

/* ============================
   Animations
   ============================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================
   Header
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo-img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

.header__link:hover {
  color: var(--red);
}

.header__link:hover::after {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-900);
}

.header__phone:hover {
  color: var(--red);
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-900);
  border-radius: 1px;
  transition: var(--transition);
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('https://thb.tildacdn.com/tild3535-6333-4330-a535-333463623534/-/format/webp/693_content.jpg') center/cover no-repeat;
  opacity: 0.35;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(26,26,46,0.7) 50%, rgba(212,25,25,0.15) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 140px 24px 100px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(212,25,25,0.15);
  border: 1px solid rgba(212,25,25,0.3);
  border-radius: 100px;
  color: var(--red-light);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__accent {
  color: var(--red-light);
  position: relative;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 640px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 40px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  max-width: fit-content;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.hero__stat-unit {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red-light);
  margin-left: 4px;
  text-transform: uppercase;
}

.hero__stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.hero__stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 2s ease-in-out infinite;
  color: var(--gray-400);
  z-index: 2;
}

/* ============================
   Section Common
   ============================ */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--gray {
  background: var(--gray-50);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(212,25,25,0.08);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__tag--light {
  background: rgba(212,25,25,0.2);
  color: var(--red-light);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}

.section__title--light {
  color: var(--white);
}

.section__desc {
  font-size: 1.1rem;
  color: var(--gray-400);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   About
   ============================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__text p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cert-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cert-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,25,25,0.08);
  border-radius: var(--radius-sm);
  color: var(--red);
}

.cert-card__title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.cert-card__desc {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ============================
   Advantages
   ============================ */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.advantage-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,25,25,0.3);
  transform: translateY(-4px);
}

.advantage-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,25,25,0.12);
  border-radius: var(--radius-md);
  color: var(--red-light);
  margin-bottom: 20px;
}

.advantage-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.advantage-card__text {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============================
   Formats
   ============================ */
.formats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.format-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.format-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.format-card--featured {
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}

.format-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.format-card__header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 24px;
}

.format-card__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 4px;
}

.format-card__area {
  font-size: 1.1rem;
  color: var(--gray-600);
  font-weight: 500;
}

.format-card__body {
  flex: 1;
  margin-bottom: 24px;
}

.format-card__specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.format-card__specs li:last-child {
  border-bottom: none;
}

.format-card__specs svg {
  flex-shrink: 0;
  color: var(--red);
}

/* ============================
   Residents
   ============================ */
.residents__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resident-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-height: 100px;
}

.resident-logo:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

.resident-logo img {
  max-height: 50px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.resident-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================
   Location
   ============================ */
.location__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location__text {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 20px 0 28px;
}

.location__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-700);
}

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ============================
   Support
   ============================ */
.support__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.support-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,25,25,0.3);
  transform: translateY(-4px);
}

.support-card__badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 14px;
  background: rgba(212,25,25,0.15);
  color: var(--red-light);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.support-card__badge--accent {
  background: rgba(255,215,0,0.15);
  color: var(--yellow);
}

.support-card__badge--region {
  background: rgba(100,200,100,0.15);
  color: #6dd06d;
}

.support-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-card__amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red-light);
  margin-bottom: 20px;
}

.support-card__list {
  flex: 1;
  margin-bottom: 24px;
}

.support-card__list li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-300);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-left: 20px;
  position: relative;
}

.support-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* ============================
   Contacts
   ============================ */
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contacts__text {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 16px 0 32px;
}

.contacts__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
}

.contacts__detail:hover {
  color: var(--red);
}

.contacts__form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 16px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(212,25,25,0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
}

.form-privacy a {
  color: var(--red);
  text-decoration: underline;
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ============================
   Footer
   ============================ */
.footer {
  background: var(--black);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo img {
  height: 32px;
  opacity: 0.6;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.footer__links a:hover {
  color: var(--red);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ============================
   Page hero with image
   ============================ */
.page-hero--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 80px 0 100px;
}

.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(10,10,10,0.75) 100%);
  z-index: 0;
}

.page-hero--image .container {
  position: relative;
  z-index: 1;
}

.page-hero--image .page-hero__title {
  color: var(--white);
}

.page-hero--image .page-hero__subtitle,
.page-hero--image p {
  color: rgba(255,255,255,0.8);
}

.page-hero--image .section__tag {
  background: rgba(212,25,25,0.2);
  color: var(--red-light);
}

/* ============================
   About gallery (index)
   ============================ */
.about__gallery {
  margin-top: 40px;
}

.about__gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-lg);
}

.about__gallery-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.about__gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about__gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.about__gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

/* ============================
   Formats photo (index)
   ============================ */
.formats__photo {
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.formats__photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ============================
   Gallery grid (about page)
   ============================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery__item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery__item--wide {
  grid-column: span 3;
}

.gallery__item--wide img {
  height: 360px;
}

/* ============================
   Catalog photos
   ============================ */
.catalog__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.catalog__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
}

.catalog__photo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.catalog__photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.catalog__photo span {
  display: block;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
}

/* ============================
   Animations
   ============================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: fadeIn 0.4s ease;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
  .advantages__grid,
  .formats__grid,
  .support__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero__stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: var(--transition);
    z-index: 999;
  }

  .header__nav.active {
    transform: translateY(0);
  }

  .header__phone {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .hero__inner {
    padding: 120px 24px 80px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__stats {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about__grid,
  .location__inner,
  .contacts__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__certs {
    grid-template-columns: 1fr;
  }

  .advantages__grid,
  .formats__grid,
  .support__grid,
  .residents__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about__gallery-grid {
    grid-template-columns: 1fr;
  }

  .about__gallery-main img {
    height: 220px;
  }

  .about__gallery-grid img {
    height: 180px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .gallery__item--wide img,
  .gallery__item img {
    height: 200px;
  }

  .catalog__photos {
    grid-template-columns: 1fr;
  }

  .formats__photo img {
    height: 200px;
  }
}

/* ============================
   Active nav link
   ============================ */
.header__link--active {
  color: var(--red);
}

.header__link--active::after {
  width: 100%;
}

/* ============================
   Breadcrumbs
   ============================ */
.breadcrumbs {
  padding: 100px 0 0;
  background: var(--gray-50);
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.breadcrumbs__link {
  color: var(--gray-400);
}

.breadcrumbs__link:hover {
  color: var(--red);
}

.breadcrumbs__sep {
  color: var(--gray-300);
}

.breadcrumbs__current {
  color: var(--gray-600);
  font-weight: 500;
}

/* ============================
   Page Hero (small)
   ============================ */
.page-hero {
  padding: 60px 0 80px;
  background: var(--gray-50);
  text-align: center;
}

.page-hero .section__title {
  margin-bottom: 16px;
}

.page-hero .section__desc,
.page-hero p {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================
   Scroll to top
   ============================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-red);
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

/* ============================
   Timeline (about page)
   ============================ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline__item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 40px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border: 3px solid var(--red);
  border-radius: 50%;
  z-index: 1;
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 4px;
}

.timeline__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================
   Stats grid (about page)
   ============================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats-grid__item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

.stats-grid__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stats-grid__label {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-top: 8px;
}

/* ============================
   Management (about page)
   ============================ */
.management {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.management__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.management__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.management__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.management__list {
  margin-top: 20px;
}

.management__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.management__list li:last-child {
  border-bottom: none;
}

.management__list svg {
  flex-shrink: 0;
  color: var(--red);
}

/* ============================
   CTA block
   ============================ */
.cta-block {
  text-align: center;
  padding: 60px 20px;
}

.cta-block__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-block__text {
  color: var(--gray-300);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* ============================
   Infrastructure cards
   ============================ */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.infra-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
}

.infra-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.infra-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,25,25,0.08);
  border-radius: var(--radius-md);
  color: var(--red);
  margin-bottom: 16px;
}

.infra-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.infra-card__list li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}

.infra-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* ============================
   Genplan
   ============================ */
.genplan {
  max-width: 900px;
  margin: 0 auto;
}

.genplan__placeholder {
  background: var(--white);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-400);
  font-size: 1rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.genplan__legend {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}

.genplan__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.genplan__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.genplan__dot--production { background: var(--red); }
.genplan__dot--office { background: #3b82f6; }
.genplan__dot--infra { background: #22c55e; }

/* ============================
   Calculator
   ============================ */
.calculator {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calculator__group {
  margin-bottom: 24px;
}

.calculator__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--gray-700);
}

.calculator__range {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--gray-200);
  border-radius: 4px;
  outline: none;
}

.calculator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(212,25,25,0.3);
}

.calculator__range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.calculator__value {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 8px;
}

.calculator select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
  cursor: pointer;
}

.calculator select:focus {
  border-color: var(--red);
}

.calculator__result {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 16px;
}

.calculator__result-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.calculator__result-label {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.calculator__result-total {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
}

.calculator__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 12px;
}

/* ============================
   Investor advantages
   ============================ */
.investor-advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.investor-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.investor-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.investor-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,25,25,0.08);
  border-radius: var(--radius-md);
  color: var(--red);
  margin: 0 auto 16px;
}

.investor-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.investor-card__text {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ============================
   Steps timeline
   ============================ */
.steps-timeline {
  display: flex;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--gray-200);
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.step__number {
  width: 56px;
  height: 56px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(212,25,25,0.3);
}

.step__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step__text {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ============================
   Tax benefits
   ============================ */
.tax-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tax-benefits__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.tax-benefits__card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}

.tax-benefits__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,25,25,0.08);
  border-radius: var(--radius-md);
  color: var(--red);
  margin: 0 auto 16px;
}

.tax-benefits__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tax-benefits__text {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* ============================
   Resident card (catalog)
   ============================ */
.residents-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resident-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.resident-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.resident-card__logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.resident-card__logo img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.resident-card__initial {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
}

.resident-card__info {
  flex: 1;
  min-width: 0;
}

.resident-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  line-height: 1.3;
}

.resident-card__industry {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.resident-card__meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.resident-card__area,
.resident-card__year {
  display: flex;
  align-items: center;
  gap: 4px;
}

.resident-card__arrow {
  flex-shrink: 0;
  color: var(--gray-300);
  transition: var(--transition);
}

.resident-card:hover .resident-card__arrow {
  color: var(--red);
  transform: translateX(4px);
}

/* ============================
   Filter bar
   ============================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-bar__btn {
  padding: 8px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  background: var(--white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-bar__btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-bar__btn--active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ============================
   Residents stats bar
   ============================ */
.residents-stats .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 40px 24px;
}

.residents-stats__item {
  text-align: center;
}

.residents-stats__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.residents-stats__label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.residents-stats__divider {
  width: 1px;
  height: 50px;
  background: var(--gray-200);
}

/* ============================
   Resident hero (dark)
   ============================ */
.resident-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--dark) 0%, #1a1028 50%, var(--gray-900) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.resident-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(212,25,25,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.resident-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,25,25,0.3), transparent);
}

.resident-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.resident-hero__logo {
  width: 140px;
  height: 140px;
  background: var(--white);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 4px rgba(212,25,25,0.15);
  transition: var(--transition);
}

.resident-hero__logo:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 4px rgba(212,25,25,0.3);
  transform: scale(1.03);
}

.resident-hero__logo img {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}

.resident-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
}

.resident-hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(212,25,25,0.15);
  color: var(--red-light);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid rgba(212,25,25,0.2);
}

.resident-hero__website {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
}

.resident-hero__website:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

.resident-hero__website svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.resident-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 8px;
}

.resident-hero__back:hover {
  color: var(--white);
}

/* ============================
   Resident facts grid
   ============================ */
.resident-facts {
  padding: 50px 0;
  background: var(--gray-50);
  position: relative;
}

.resident-facts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.resident-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.resident-facts__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.resident-facts__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.resident-facts__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  background: rgba(212,25,25,0.08);
  border-radius: 50%;
}

.resident-facts__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--red);
}

.resident-facts__label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.resident-facts__value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.resident-facts__value a {
  color: var(--red);
  text-decoration: none;
  transition: var(--transition);
}

.resident-facts__value a:hover {
  color: var(--red-dark);
}

/* ============================
   Resident about
   ============================ */
.resident-about {
  padding: 70px 0;
  position: relative;
}

.resident-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.resident-about__inner {
  max-width: 800px;
  margin: 0 auto;
}

.resident-about .section__tag {
  margin-bottom: 16px;
}

.resident-about h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 4px solid var(--red);
}

.resident-about p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 16px;
}

.resident-about p:first-of-type {
  font-size: 1.1rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* ============================
   Resident CTA
   ============================ */
.resident-cta {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, #c41919 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.resident-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.resident-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.resident-cta__text {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.resident-cta .btn--primary {
  background: var(--white);
  color: var(--red);
  position: relative;
}

.resident-cta .btn--primary:hover {
  background: var(--gray-50);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ============================
   Other residents
   ============================ */
.other-residents {
  padding: 60px 0;
  background: var(--gray-50);
}

.other-residents h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 28px;
  text-align: center;
}

.other-residents__more {
  text-align: center;
  margin-top: 28px;
}

.other-residents__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.other-residents__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.other-residents__card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.other-residents__card:hover .other-residents__logo {
  border-color: var(--red);
}

.other-residents__logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.other-residents__logo img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.other-residents__name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
  line-height: 1.3;
}

.other-residents__industry {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ============================
   News cards
   ============================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-card__img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.8rem;
}

.news-card__body {
  padding: 24px;
}

.news-card__date {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.news-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-card__text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 12px;
}

.news-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
}

.news-card__link:hover {
  text-decoration: underline;
}

/* ============================
   Contacts page
   ============================ */
.contacts-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contacts__info-wrap {
  padding-top: 20px;
}

.contacts__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contacts__info-item:last-child {
  border-bottom: none;
}

.contacts__info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,25,25,0.08);
  border-radius: var(--radius-sm);
  color: var(--red);
}

.contacts__info-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contacts__info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.contacts__info-value a {
  color: var(--gray-900);
}

.contacts__info-value a:hover {
  color: var(--red);
}

/* ============================
   Requisites
   ============================ */
.requisites {
  max-width: 700px;
  margin: 0 auto;
}

.requisites__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.requisites__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.requisites__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}

.requisites__row:last-child {
  border-bottom: none;
}

.requisites__row span:first-child {
  color: var(--gray-400);
}

.requisites__row span:last-child {
  font-weight: 600;
}

/* ============================
   Contacts map
   ============================ */
.contacts-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 20px;
}

.contacts-map iframe {
  display: block;
  border-radius: var(--radius-lg);
}

/* ============================
   Become resident block (index)
   ============================ */
.become-resident {
  text-align: center;
}

.become-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.become-step {
  position: relative;
}

.become-step__number {
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.become-step__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.become-step__text {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ============================
   Responsive: new pages
   ============================ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .investor-advantages {
    grid-template-columns: repeat(2, 1fr);
  }

  .residents-catalog {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-timeline {
    flex-wrap: wrap;
    gap: 24px;
  }

  .steps-timeline::before {
    display: none;
  }

  .step {
    flex: 0 0 calc(33.333% - 16px);
  }

  .resident-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tax-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .breadcrumbs {
    padding-top: 80px;
  }

  .page-hero {
    padding: 40px 0 60px;
  }

  .stats-grid,
  .infra-grid,
  .investor-advantages,
  .residents-catalog,
  .news-grid,
  .tax-benefits,
  .other-residents,
  .become-steps {
    grid-template-columns: 1fr;
  }

  .steps-timeline {
    flex-direction: column;
    align-items: center;
  }

  .step {
    flex: auto;
    width: 100%;
    max-width: 300px;
  }

  .contacts-page {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .management {
    grid-template-columns: 1fr;
  }

  .residents-stats .container {
    flex-direction: column;
    gap: 24px;
  }

  .residents-stats__divider {
    width: 60px;
    height: 1px;
  }

  .resident-hero {
    padding: 60px 0 40px;
  }

  .resident-hero h1 {
    font-size: 1.8rem;
  }

  .resident-hero__logo {
    width: 110px;
    height: 110px;
  }

  .resident-hero__logo img {
    max-width: 80px;
    max-height: 80px;
  }

  .resident-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resident-cta {
    padding: 50px 0;
  }

  .other-residents__grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    gap: 6px;
  }

  .filter-bar__btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .genplan__legend {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .requisites__row {
    flex-direction: column;
    gap: 4px;
  }

  .resident-card {
    flex-direction: column;
    text-align: center;
  }

  .resident-card__meta {
    justify-content: center;
  }

  .resident-card__arrow {
    display: none;
  }
}
