/* === VARIABLES === */
:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --telegram: #0088cc;
  --telegram-hover: #006699;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #f9fafb;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --radius: 12px;
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.header {
  background: var(--white);
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  gap: 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 15px;
}

.phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.phone-sub {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.btn--telegram {
  background: var(--telegram);
  color: var(--white);
}

.btn--telegram:hover {
  background: var(--telegram-hover);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--primary);
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 200px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.hero__buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero__features {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image {
  position: relative;
  z-index: 1;
}

.hero__image img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  width: 100%;
  height: auto;
}

/* === SECTIONS === */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--white);
}

.section__header {
  text-align: center;
  margin-bottom: 50px;
}

.section__title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section__subtitle {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === SERVICES === */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
}

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

/* Stretched link: entire card clickable */
.service-card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card__text {
  color: var(--text-light);
  margin-bottom: 15px;
}

.service-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.service-card__price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-light);
}

/* === ADVANTAGES === */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage {
  text-align: center;
  padding: 30px;
}

.advantage__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.advantage__text {
  margin-top: 10px;
  color: var(--text-light);
}

/* === PROCESS === */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--primary);
  opacity: 0.3;
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step__text {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* === CTA === */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta__text {
  opacity: 0.9;
  margin-bottom: 30px;
  font-size: 1.125rem;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* === ARTICLES === */
.articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Stretched link: entire card clickable */
.article-card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.article-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.article-card__content {
  padding: 25px;
}

.article-card__tag {
  display: inline-block;
  background: var(--bg);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.article-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card__title a:hover {
  color: var(--primary);
}

.article-card__excerpt {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.article-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.8rem;
}

.article-card__link {
  color: var(--primary);
  font-weight: 600;
}

/* === ARTICLE PAGE === */
.article-page {
  padding: 60px 0;
}

.article {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow);
}

.article__header {
  margin-bottom: 40px;
}

.article__tag {
  display: inline-block;
  background: var(--bg);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.article__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.article__meta {
  color: var(--text-light);
  font-size: 0.9rem;
}

.article__content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.article__content h2 {
  font-size: 1.75rem;
  margin: 40px 0 20px;
  color: var(--primary);
}

.article__content h3 {
  font-size: 1.35rem;
  margin: 30px 0 15px;
}

.article__content p {
  margin-bottom: 20px;
}

.article__content ul,
.article__content ol {
  margin: 20px 0;
  padding-left: 25px;
}

.article__content li {
  margin-bottom: 10px;
  list-style: disc;
}

.article__content ol li {
  list-style: decimal;
}

.article__content blockquote {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  margin: 30px 0;
  font-style: italic;
}

.article__content .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 25px 30px;
  border-radius: var(--radius);
  margin: 30px 0;
}

.article__content .highlight h4 {
  margin-bottom: 10px;
}

.article__cta {
  background: var(--bg);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 40px;
}

.article__cta h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.article__cta p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* === FAQ === */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  padding: 20px 25px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-align: left;
}

.faq-item__question:hover {
  background: var(--bg);
}

.faq-item__icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.active .faq-item__answer {
  padding: 0 25px 20px;
  max-height: 500px;
}

.faq-item__answer p {
  color: var(--text-light);
}

/* === FOOTER === */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer__logo span {
  color: var(--accent);
}

.footer__desc {
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer__social a:hover {
  background: var(--telegram);
}

.footer__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* === TELEGRAM FLOAT === */
.telegram-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.telegram-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--telegram);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
}

.telegram-float a:hover {
  background: var(--telegram-hover);
  transform: translateY(-3px);
}

.telegram-float svg {
  width: 24px;
  height: 24px;
}

/* === BREADCRUMBS === */
.breadcrumbs {
  padding: 20px 0;
  background: var(--white);
  border-bottom: 1px solid var(--bg);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.breadcrumbs__list li:not(:last-child)::after {
  content: '→';
  margin-left: 10px;
  margin-right: 10px;
  color: var(--text-light);
}

.breadcrumbs__list a {
  color: var(--primary);
}

.breadcrumbs__list a:hover {
  text-decoration: underline;
}

/* === MOBILE === */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 992px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__features {
    justify-content: center;
  }

  .hero__image {
    display: none;
  }

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

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

  .process__steps::before {
    display: none;
  }

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

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 15px;
  }

  .nav.active {
    display: flex;
  }

  .hero {
    padding: 50px 0;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__features {
    flex-direction: column;
    gap: 15px;
  }

  .section {
    padding: 50px 0;
  }

  .section__title {
    font-size: 1.75rem;
  }

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

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

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

  .article {
    padding: 30px 20px;
  }

  .article__title {
    font-size: 1.75rem;
  }

  .telegram-float {
    bottom: 20px;
    right: 20px;
  }

  .telegram-float span {
    display: none;
  }

  .telegram-float a {
    padding: 15px;
    border-radius: 50%;
  }
}

/* === GALLERY === */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}

.gallery__item:hover::after {
  background: rgba(0,0,0,0.1);
}

/* === REVIEWS === */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: serif;
  line-height: 1;
}

.review-card__stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.review-card__text {
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.review-card__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.review-card__source {
  color: var(--text-light);
  font-size: 0.8rem;
}

.reviews__summary {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.reviews__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reviews__rating-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.reviews__rating-stars {
  color: var(--accent);
  font-size: 0.9rem;
}

.reviews__rating-source {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* === MAP === */
.map__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.map__iframe {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map__iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map__info {
  padding: 20px 0;
}

.map__info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.map__info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.map__info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.map__info-text strong {
  display: block;
  margin-bottom: 4px;
}

.map__info-text span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* === ANIMATE === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MISC === */
.section__footer {
  text-align: center;
  margin-top: 40px;
}

.map__buttons {
  margin-top: 25px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* === SCROLL MARGIN === */
[id] {
  scroll-margin-top: 80px;
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .service-card,
  .article-card,
  .telegram-float a {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* === MEDIA ADDITIONS === */
@media (max-width: 992px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .reviews__summary {
    gap: 15px;
  }

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

  .related-links {
    grid-template-columns: 1fr;
  }

  .header__contacts .phone-sub {
    display: none;
  }

  /* Show phone as compact button on mobile */
  .header__contacts .phone {
    display: inline-flex;
    font-size: 0;
  }

  .header__contacts .phone::before {
    content: '📞';
    font-size: 1.25rem;
  }

  /* Hide telegram in header on mobile — float button is visible */
  .header__contacts .btn--telegram {
    display: none;
  }

  .header__inner {
    gap: 12px;
  }

  /* Telegram float: don't overlap footer */
  .telegram-float {
    bottom: 20px;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }

  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
}

/* === RELATED LINKS GRID (districts, services) === */
.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.related-links a {
  display: block;
  background: var(--bg);
  padding: 15px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--primary);
  transition: all 0.2s;
}

.related-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* === PRICE BOX === */
.price-box {
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 25px 30px;
  margin: 30px 0;
  text-align: center;
}

.price-box__amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.price-box__note {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* === DISTRICT/SERVICE CARD with icon === */
.geo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  cursor: pointer;
}

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

.geo-card__content h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.geo-card__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.geo-card__content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.geo-card__content h3 a:hover {
  color: var(--primary);
}

.geo-card__content p {
  color: var(--text-light);
  font-size: 0.85rem;
}

.geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* === ARTICLES LIST PAGE === */
.articles-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.articles-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.articles-hero__text {
  opacity: 0.9;
  font-size: 1.125rem;
}
