@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

.header {
	position: relative;
	font-family: 'Montserrat', sans-serif;
	z-index: 10;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 16px;
	flex-wrap: nowrap;
}

.logo img {
	width: 312px;
	height: 56.4px;
}

.nav-menu ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
	justify-content: space-evenly;
	gap: 15px;
}

.nav-menu li {
	position: relative;
	white-space: nowrap;
}

.nav-menu a {
	color: #fff;
	text-decoration: none;
	font-size: 20px;
	padding: 10px;
}

.nav-menu li:hover::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 47px;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.burger-menu {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.burger-menu img {
	width: 29px;
	height: 25px;
	margin-right: 20px;
}

.contact-info {
	display: flex;
	align-items: center;
	margin-right: 7px;
}

.phone-number {
	color: #fff;
	font-size: 17px;
	margin-left: 8px;
	white-space: nowrap;
	text-decoration: none;
	position: relative;
	top: -2px;
	display: flex;
	align-items: center;
}

.phone-number .phone-icon {
	margin-right: 5px;
	width: 25px;
	height: 25px;
	transition: all 0.3s ease;
}

.phone-number:hover .phone-icon {
	filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(700%) hue-rotate(-10deg) brightness(105%) contrast(92%);
}

.phone-number:hover {
	color: rgba(255, 13, 30, 0.7);
}

.social-icons-container {
	height: 48px;
	background-color: rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	padding: 0 5px;
	position: relative;
	z-index: 10;
}

.social-icons {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.social-icons a {
	transition: background-color 0.3s ease;
	padding: 5px;
	border-radius: 50%;
}

.social-icons a img {
	width: 27px;
	height: 27px;
}

.social-icons a[href*="vk.com"]:hover img {
	filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(5000%) hue-rotate(240deg) brightness(100%) contrast(100%);
}

.social-icons a[href*="t.me"]:hover img {
	filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}

.social-icons a[href*="wa.me"]:hover img {
	filter: brightness(0) saturate(100%) invert(51%) sepia(75%) saturate(800%) hue-rotate(85deg) brightness(100%) contrast(92%);
}

.divider-container {
	display: flex;
	justify-content: center;
	position: relative;
	margin: 0 16px;
}

.divider {
	width: calc(100% - 32px);
	height: 3px;
	background-color: rgba(255, 255, 255, 0.33);
	position: absolute;
	top: -15px;
	z-index: 1;
}

/* Медиа-запросы */
@media (max-width: 1200px) {
	.nav-menu a {
		font-size: 16px;
	}

	.logo img {
		width: calc(312px * 0.8);
		height: calc(56.4px * 0.8);
	}

	.social-icons-container {
		height: calc(48px * 0.8);
		padding: 0 8px;
	}

	.social-icons {
		gap: 5px;
	}

	.social-icons a img {
		width: 20px;
		height: 20px;
	}

	.phone-number {
		font-size: 14.45px;
	}

	.divider {
		top: -10px;
	}
}

@media (max-width: 992px) {
	.nav-menu a {
		font-size: 12px;
	}

	.logo img {
		width: calc(312px * 0.6);
		height: calc(56.4px * 0.6);
	}

	.social-icons-container {
		height: calc(48px * 0.6);
		padding: 0 6px;
	}

	.social-icons {
		gap: 3px;
	}

	.social-icons a img {
		width: 18px;
		height: 18px;
	}

	.phone-number {
		font-size: 12.75px;
	}

	.divider {
		top: -10px;
	}
}

@media (max-width: 768px) {
	.header-content {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		text-align: center;
		padding: 20px 16px;
	}

	.nav-menu {
		display: none;
	}

.nav-menu.open {
	display: block;
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	background-color: rgba(6, 68, 105, 0.9);
	/* Полупрозрачный фон */
	padding: 15px;
	/* Компактный отступ */
	z-index: 10000;
}

.nav-menu.open ul {
	flex-direction: column;
	/* Вертикальное построение меню */
	margin: 0;
	padding: 0;
}

.nav-menu.open li {
	margin: 10px 0;
	/* Отступ между пунктами меню */
	text-align: center;
}

.nav-menu.open a {
	font-size: 80%;
	/* Уменьшение шрифта на 20% */
	padding: 8px;
	/* Компактное поле для пунктов */
	color: #fff;
	text-decoration: none;
}

	.burger-menu {
		display: block;
		padding: 0;
	}

	.contact-info {
		display: none;
	}

	.social-icons-container {
		display: none;
	}

	.logo {
		flex: 1;
		text-align: left;
	}

	.logo img {
		width: calc(312px * 0.6);
		height: calc(56.4px * 0.6);
	}

	.nav-menu a {
		font-size: 16px;
	}

	.divider {
		top: -10px;
	}

	.burger-menu {
		margin-left: 7px;
	}
}

@media (max-width: 576px) {
	.nav-menu a {
		font-size: 16px;
	}

	.logo img {
		width: calc(312px * 0.6);
		height: calc(56.4px * 0.6);
	}

	.social-icons-container {
		height: calc(48px * 0.4);
		padding: 0 4px;
	}

	.social-icons {
		gap: 3px;
	}

	.social-icons a img {
		width: 16px;
		height: 16px;
	}

	.phone-number {
		font-size: 10.2px;
	}

	.divider {
		top: -10px;
	}

	.burger-menu {
		margin-left: 7px;
	}
}

/* header.css */
.menu-item.activelink.mask-next::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 47px;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.menu-item.activelink.active2::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 47px;
	background-color: rgba(255, 255, 255, 0);
	border-radius: 5%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
footer {
  background-color: #171A1A;
  padding: 40px 20px;
  color: #fff;
  position: relative;
  z-index: 1;
  height: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 320px) repeat(3, 1fr);
  gap: 40px;
  padding: 0;
  margin-bottom: 30px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-logo {
  width: 320px;
  height: 40px;
  margin-bottom: 16px;
  margin-top: 0;
}

.footer-company-details {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
}

.footer-company-details a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-company-details a:hover {
  color: #FF0D1E;
  text-decoration: underline;
}

.footer-sections {
  display: contents;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.red-line {
  width: 30px;
  height: 3px;
  background-color: #FF0D1E;
  margin: 0 0 16px 0;
}

.footer-company-info,
.footer-info,
.footer-socials {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-company-info a,
.footer-info a,
.footer-socials a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-company-info a:hover,
.footer-info a:hover,
.footer-socials a:hover {
  color: #FF0D1E;
  text-decoration: underline;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social-icon-container {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid rgba(255, 13, 30, 0.5);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.footer-social-icon-container:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 13, 30, 0.8);
}

.footer-social-icon-container a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.footer-social-icons img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Изменение цвета иконок при наведении */
.footer-social-icon-container:hover img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}

/* Специфичные цвета для ВКонтакте */
.footer-social-icon-container:hover a[href*="vk.com"] img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(5000%) hue-rotate(240deg) brightness(100%) contrast(100%);
}

/* Специфичные цвета для Telegram */
.footer-social-icon-container:hover a[href*="t.me"] img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}


.footer-social-icon-container:hover a[href*="wa.me"] img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(75%) saturate(800%) hue-rotate(85deg) brightness(100%) contrast(92%);
}


.footer-bottom {
  text-align: center;
  padding-top: 10px;
  margin-top: 20px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-bottom a:hover {
  color: #FF0D1E;
  text-decoration: underline;
}

/* Desktop large: 1200px+ */
@media (min-width: 1200px) {
  .footer-top {
    gap: 50px;
  }
}

/* Desktop medium: 1024-1199px */
@media (max-width: 1199px) {
  .footer-top {
    gap: 32px;
  }
  
  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 15px;
  }
}

/* Tablet large: 900-1023px */
@media (max-width: 1023px) {
  footer {
    padding: 30px 20px;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  
  .footer-logo-section {
    grid-column: 1 / -1;
  }
  
  .footer-company-details {
    font-size: 15px;
    margin-left: 0;
  }
  
  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 15px;
  }
}

/* Кнопка для скролла наверх */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-to-top:hover {
  transform: scale(1.1);
}

/* Tablet: 768-899px */
@media (max-width: 899px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  
  .footer-logo-section {
    grid-column: 1 / -1;
    align-items: center;
  }
  
  .footer-company-details {
    align-items: center;
    text-align: center;
    margin-left: 0;
  }
  
  .footer-section {
    align-items: center;
    text-align: center;
  }
  
  .footer-company-info,
  .footer-info,
  .footer-socials {
    align-items: center;
    text-align: center;
  }
  
  .red-line {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-social-icons {
    justify-content: center;
  }
}

/* Mobile large: 480-767px */
@media (max-width: 767px) {
  footer {
    padding: 30px 15px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-logo-section {
    align-items: center;
    grid-column: 1;
  }
  
  .footer-section {
    width: 100%;
    max-width: 400px;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .footer-logo {
    width: 240px;
    height: 30px;
  }

  .footer-company-details {
    font-size: 15px;
    text-align: center;
    align-items: center;
    margin-left: 0;
  }

  .footer-section-title {
    font-size: 17px;
    text-align: center;
  }

  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 15px;
    text-align: center;
    align-items: center;
  }

  .red-line {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social-icons {
    justify-content: center;
  }
}

/* Mobile medium: 375-479px */
@media (max-width: 479px) {
  footer {
    padding: 25px 15px;
  }
  
  .footer-top {
    gap: 28px;
  }
  
  .footer-logo {
    width: 200px;
    height: 25px;
  }

  .footer-company-details {
    font-size: 14px;
  }

  .footer-section-title {
    font-size: 16px;
  }

  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 14px;
  }
  
  .footer-section {
    max-width: 100%;
  }
}

/* Mobile small: 320-374px */
@media (max-width: 374px) {
  footer {
    padding: 20px 10px;
  }
  
  .footer-top {
    gap: 24px;
  }
  
  .footer-logo {
    width: 180px;
    height: 22px;
  }

  .footer-company-details {
    font-size: 13px;
  }

  .footer-section-title {
    font-size: 15px;
  }

  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 13px;
  }
  
  .footer-social-icon-container {
    width: 36px;
    height: 36px;
  }
  
  .footer-social-icons img {
    width: 18px;
    height: 18px;
  }
}

.footer-item.footerselect-next {
  color: #FF0D1E;
  text-decoration: underline;
}

/* ============================================
   REDESIGN - СТРАНИЦА УСЛУГ (/services)
   Современный "дорогой" стиль карточек
   ============================================ */

/* Глобальные стили */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  background-color: #0a0a0a;
}

/* Типографическая шкала */
:root {
  --font-size-h1: 32px;
  --font-size-h2: 28px;
  --font-size-h3: 20px;
  --font-size-body: 15px;
  --font-size-small: 14px;
  
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  
  --border-radius: 12px;
  --border-radius-sm: 8px;
  
  --card-bg: rgba(32, 35, 40, 0.85);
  --card-bg-hover: rgba(40, 44, 52, 0.95);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 13, 30, 0.4);
  --accent-color: #FF0D1E;
  --accent-glow: rgba(255, 13, 30, 0.3);
}

.services-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #0a0a0a;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: url('/image-fone.svg') no-repeat center center/cover;
  background-size: cover;
}

.fixed-schema {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/shema.svg') no-repeat center center;
  background-size: cover;
  z-index: 0;
  opacity: 0.6;
  animation: pulse 10s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 0.2; }
  100% { opacity: 0.6; }
}

.header, .footer {
  z-index: 1000;
  position: relative;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
}

/* ============================================
   СЕКЦИЯ УСЛУГ
   ============================================ */
.services-section {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  color: white;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
  z-index: 1;
}

.services-title {
  font-size: var(--font-size-h1);
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  border-radius: 2px;
}

/* ============================================
   СЕТКА КАРТОЧЕК
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  padding: var(--spacing-md) 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   КАРТОЧКА УСЛУГИ
   ============================================ */
.service-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  height: 320px;
}

.service-item:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   ТЕКСТОВЫЙ БЛОК КАРТОЧКИ
   ============================================ */
.service-text-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-align: left;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.service-link {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: white;
  margin-bottom: 12px;
  display: block;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--accent-color);
}

.service-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.service-text p {
  margin: 0;
}

/* ============================================
   ИЗОБРАЖЕНИЕ КАРТОЧКИ
   ============================================ */
.service-image-wrapper {
  width: 280px;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

.service-item:hover .service-image {
  filter: grayscale(0%);
}

/* Черная маска на изображении */
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.service-item:hover .service-overlay {
  opacity: 0;
}

/* ============================================
   КНОПКА КАРТОЧКИ
   ============================================ */
.service-button-wrapper {
  position: absolute;
  bottom: 20px;
  right: 50%;
  transform: translateX(50%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover .service-button-wrapper {
  opacity: 1;
}

.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: rgba(255, 13, 30, 0.95);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 13, 30, 0.4);
}

.service-button:hover {
  background: #FF0D1E;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 13, 30, 0.6);
}

.service-button:before {
  display: none;
}

/* ============================================
   ГЛАВНЫЕ CTA КНОПКИ
   ============================================ */
.main-service-button-wrapper {
  text-align: center;
  margin-top: var(--spacing-xl);
  padding: var(--spacing-md) 0;
}

.main-service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: rgba(255, 13, 30, 0.9);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px var(--accent-glow);
  position: relative;
  overflow: hidden;
}

.main-service-button:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 13, 30, 0.5);
}

.main-service-button:active {
  transform: translateY(0);
}

/* Эффект блика для главной кнопки */
.main-service-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.main-service-button:hover::before {
  left: 100%;
}

/* Кнопка "Показать ещё" - secondary стиль */
.main-service-button-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.main-service-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* ============================================
   АДАПТИВНОСТЬ - TABLET (1200px)
   ============================================ */
@media (max-width: 1200px) {
  .services-section {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .services-grid {
    gap: var(--spacing-md);
  }
  
  .service-item {
    height: 300px;
  }
  
  .service-image-wrapper {
    width: 240px;
  }
  
  .service-button-wrapper {
    bottom: 16px;
  }
  
  .service-link {
    font-size: 16px;
  }
  
  .service-text {
    font-size: 12px;
  }
}

/* ============================================
   АДАПТИВНОСТЬ - TABLET SMALL (992px)
   ============================================ */
@media (max-width: 992px) {
  .services-title {
    font-size: 26px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .service-item {
    height: 280px;
  }
  
  .service-image-wrapper {
    width: 220px;
  }
  
  .service-button-wrapper {
    bottom: 16px;
  }
  
  .service-text-wrapper {
    padding: 20px;
  }
}

/* ============================================
   АДАПТИВНОСТЬ - MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
  .services-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .services-title {
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  .services-title::after {
    width: 60px;
  }
  
  .services-grid {
    gap: 16px;
    padding: 16px 0;
  }
  
  .service-item {
    flex-direction: column;
    height: auto;
    min-height: 320px;
  }
  
  .service-image-wrapper {
    width: 100%;
    height: 160px;
    order: -1;
  }
  
  .service-text-wrapper {
    padding: 20px;
    text-align: left;
  }
  
  .service-link {
    font-size: 17px;
  }
  
  .service-text {
    font-size: 13px;
    text-align: left;
  }
  
  .service-button-wrapper {
    position: static;
    transform: none;
    margin-top: 16px;
    text-align: center;
  }
  
  .service-button {
    padding: 10px 24px;
  }
  
  .main-service-button {
    padding: 14px 32px;
    font-size: 14px;
  }
  
  .main-service-button-wrapper {
    margin-top: var(--spacing-lg);
  }
}

/* ============================================
   АДАПТИВНОСТЬ - MOBILE SMALL (480px)
   ============================================ */
@media (max-width: 480px) {
  .services-section {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .services-title {
    font-size: 22px;
  }
  
  .services-grid {
    gap: var(--spacing-sm);
  }
  
  .service-item {
    border-radius: var(--border-radius-sm);
  }
  
  .service-image {
    height: 160px;
  }
  
  .service-text-wrapper {
    padding: var(--spacing-sm);
  }
  
  .service-link {
    font-size: 16px;
  }
  
  .service-text {
    font-size: 13px;
    line-height: 1.5;
  }
  
  .service-button {
    padding: 10px 20px;
    font-size: 12px;
  }
  
  .main-service-button {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 13px;
  }
}

/* ============================================
   АДАПТИВНОСТЬ - MOBILE XS (360px)
   ============================================ */
@media (max-width: 360px) {
  .services-title {
    font-size: 20px;
  }
  
  .service-link {
    font-size: 15px;
  }
  
  .service-text {
    font-size: 13px;
  }
  
  .service-image {
    height: 140px;
  }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Темный фон с прозрачностью */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: rgba(58, 54, 54, 0.889); /* Полупрозрачный черный фон */
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: white;
    box-shadow: 0 0 20px rgba(79, 77, 77, 0.737);
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.modal-title {
    color: white;
    margin-bottom: 20px;
}

.order-service-form input,
.order-service-form textarea,
.order-service-form select {
    width: calc(100% - 20px); /* Учитываем отступы */
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #555; /* Более темная рамка */
    font-size: 16px;
    background-color: rgba(27, 26, 26, 0.962); /* Полупрозрачный черный фон для полей ввода */
    color: white;
    box-sizing: border-box;
}

.order-service-form input::placeholder,
.order-service-form textarea::placeholder {
    color: #aaa; /* Светло-серый для плейсхолдера */
}

.order-service-form button {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: #FF0D1E; /* Красный фон для кнопки */
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.order-service-form button:hover {
    background-color: #cc0b18; /* Более темный красный при наведении */
}

.status-message {
    margin-top: 10px;
    font-size: 16px;
    color: #FF0D1E; /* Красный цвет для статуса */
}

