/* ===== БАЗОВЫЙ RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  background: linear-gradient(to right, #111111, #333333, #111111);
}

body {
  background: linear-gradient(to right, #111111, #333333, #111111);
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #e9ecef;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

/* Секция home */
.home-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Заголовок */
.home-title {
  font-weight: 700;
  font-size: 3.5rem;
}

/* Подзаголовок */
.home-subtitle {
  font-weight: 500;
  font-size: 1.5rem;
}

/* Ряд изображений */
.chip-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.chip-center {
  max-width: 350px;
  width: 100%;
  height: auto;
}

.chip-left,
.chip-right {
  max-width: 250px;
  width: 100%;
  height: auto;
}

/* Кнопка */
.btn-outline-info {
  border-color: #0dcaf0;
  color: #0dcaf0;
  box-shadow: 0 0 10px rgba(13, 202, 240, 0.4);
  transition: all 0.3s ease;
  --bs-btn-hover-bg: rgba(13, 202, 240, 0.1);
  --bs-btn-active-bg: rgba(0, 225, 255, 1);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-active-color: rgba(0, 0, 0, 1);
}

.section-divider {
  height: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, #0dcaf0, transparent);
}

.highlight {
  color: #0dcaf0;
  font-weight: 600;
}

/* ABOUT SECTION */
.about-section {
  padding: 60px 15px;
  color: #e9ecef;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#about > h2 {
	color: #0dcaf0;
}

.about-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #e9ecef;
  margin-bottom: 1rem;
}

.about-text-highlight {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  border: 1px solid #00d3ff;
  padding: 15px 20px;
  border-radius: 8px;
  color: #e9ecef;
  background-color: rgba(0, 211, 255, 0.05);
  max-width: 600px;
  margin: 0 auto 2rem;
  box-sizing: border-box;
  font-size: 1.1rem;
  font-weight: 500;
}

.about-list {
  list-style: none;
  padding-left: 0;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  text-align: left; /* добавляем выравнивание влево для текста в списке */
}

.about-list li {
  background: rgba(13, 202, 240, 0.1);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(13, 202, 240, 0.2);
  padding: 18px 24px;
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  color: #e9ecef;
  cursor: default;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-align: left; /* чтобы текст внутри ячеек был слева */
  border: 1px solid rgba(13, 202, 240, 0.3);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-list li:hover {
  background-color: rgba(13, 202, 240, 0.25);
  box-shadow: 0 8px 20px rgba(13, 202, 240, 0.35);
  transform: translateY(-6px);
}

.about-list li i {
  font-size: 1.5rem;
  color: #0dcaf0;
  min-width: 28px;
  text-align: center;
  flex-shrink: 0;
}

/* Секция услуг */
.services {
  color: #e9ecef;
  padding: 60px 15px;
  font-family: 'Roboto', sans-serif;
}

/* Заголовки */
.services .section-title h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: #0dcaf0;
  font-size: 2.8rem;
}

.services .section-title p {
  font-weight: 500;
  font-size: 1.1rem;
  color: #e9ecef;
  opacity: 0.8;
  margin-top: 0.3rem;
}

/* Карточки услуг */
.services .service-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(13, 202, 240, 0.3);
  height: 100%;
  padding: 30px;
  border-radius: 25px;
  display: flex;
  transition: box-shadow 0.3s ease;
  align-items: center;
}

/* Иконки */
.services .service-item .icon {
  font-size: 36px;
  border-radius: 10px;
  margin-right: 25px;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0dcaf0;
  border: 1px solid #0dcaf0;
  background: rgba(13, 202, 240, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Заголовки услуг */
.services .service-item h3 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 0.5rem;
  color: #0dcaf0;
  transition: color 0.3s ease;
}

/* Описания */
.services .service-item p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #e9ecef;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.price-note {
  display: block;
  font-size: 0.8rem;
  color: #0dcaf0;
  margin-top: 4px;
  opacity: 0.6;
}

.service-button {
  margin-right: 5px;
  margin-top: 10px;
  padding: 5px 10px;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  /* color: #d79d15; */
  color: #e9ecef;
  border-radius: 12px;
  /* box-shadow: 0 6px 15px rgba(0, 114, 255, 0.5); */
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  line-height: 1.2;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #0dcaf0;
}

/* Добавим отступ между кнопками */
/* .service-button + .service-button {
  margin-left: 5px; 
} */

/* Кнопка с ценой — не кликабельна */
.service-price-button {
  cursor: default;
  pointer-events: none;
  color: #0dcaf0;
}

/* Hover/active эффекты только для активной кнопки */
.service-button:hover:not(.service-price-button) {
  box-shadow: 0 8px 20px rgba(0, 255, 0, 0.2);
  transform: translateY(-2px);
  color: lime;
  border: 1px solid lime;
}

.service-button:active:not(.service-price-button) {
  transform: translateY(0);
  box-shadow: none;
}

/* Hover эффекты */
.services .service-item:hover {
  box-shadow: 0 2px 25px rgba(13, 202, 240, 0.5);
  background-color: rgba(13, 202, 240, 0.1);
}

.services .service-item:hover .icon {
  background: #0dcaf0;
  color: #111111;
}

.services .service-item:hover h3 {
  color: #ffffff;
}

.services .service-item:hover p {
  opacity: 1;
}

.service-item:hover .service-price-button {
  color: rgba(233, 236, 239, 0.8);
}

.contacts-section {
  color: #e9ecef;
  font-family: 'Roboto', sans-serif;
  padding: 60px 15px;
  text-align: center;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 14px;
  border: 1px solid rgba(13, 202, 240, 0.2);
  box-shadow: 0 4px 20px rgba(13, 202, 240, 0.15);
}

.contact-card h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: #0dcaf0;
  font-size: 2.5rem;
}

.contact-card p {
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #e9ecef;
  opacity: 0.9;
}


.contacts-tel {
    color: #e9ecef;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.contacts-tel:hover {
    color: rgba(13, 202, 240, 0.9);
}

.contacts-mail {
    color: #e9ecef;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.contacts-mail:hover {
    color: rgba(13, 202, 240, 0.9);
}

.social-icons a {
  color: #0dcaf0;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffffff;
}

.fa-lg {
    font-size: 1.6em;
}

.footer {
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgb(13, 202, 240);
  color: #e9ecef;
  font-family: 'Roboto', sans-serif;
  backdrop-filter: blur(6px);
  padding: 60px 0 30px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(13, 202, 240, 0.1);
}

.footer .sitename {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #e9ecef;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.footer .sitename:hover {
  color: #0dcaf0; /* Изменение цвета текста при наведении */
}

.footer h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: #0dcaf0;
  margin-bottom: 1rem;
}

/* Компактные отступы для списков и параграфов */
.footer ul,
.footer p {
  margin-bottom: 0.3rem;
  /* line-height: 1.3; */
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer a {
  color: #e9ecef;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

/* .footer a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #0dcaf0;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
} */

.footer a:hover {
  color: #0dcaf0;
}

.footer a:hover::after {
  width: 100%;
}

/* Социальные ссылки */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
  justify-content: center;
}

.social-links .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #0dcaf0;
  border-radius: 50%;
  color: #0dcaf0;
  font-size: 22px;
  background-color: transparent;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  position: relative;
  padding: 6px; /* добавлена зона клика */
  box-sizing: content-box;
}

.social-links .social-link:hover,
.social-links .social-link:focus {
  background-color: transparent;
  color: #0bbdd9;
  box-shadow: 0 0 12px #0dcaf0;
  transform: scale(1.15);
  outline: none;
  text-decoration: none;
}

.social-links .social-link i {
  display: block;
  line-height: 1;
  margin: 0;
}

.social-links .social-link::after {
  display: none !important;
  content: none !important;
}

.footer p i,
.footer a i {
  vertical-align: middle;
  margin-right: 8px;
  color: #0dcaf0;
}

.footer .row {
  justify-content: center;
}

.footer .row > div {
  text-align: center;
  min-width: 280px;
}

.footer .copyright {
  border-top: 1px solid rgba(13, 202, 240, 0.2);
  margin-top: 50px;
  padding-top: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* Кнопка Наверх */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: rgba(13, 202, 240, 0.8);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 0 8px #0dcaf0;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

#scrollToTopBtn:hover {
  background-color: #0bbdd9;
  transform: scale(1.15);
}

.disabled-link {
  pointer-events: none;
  opacity: 0.5; /* опционально, чтобы было видно, что неактивно */
  /* cursor: default; */
}

.disabled-link2 {
  pointer-events: none;
  /* cursor: default; */
}

.testimonials {
  padding: 60px 15px;
  color: #ccc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: #0dcaf0;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.testimonial {
  flex: 1 1 320px;
  max-width: 380px;
  border: 1px solid rgba(13, 202, 240, 0.3);
  border-radius: 25px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease;
  text-align: center;
}

.testimonial:hover {
  transform: translateY(-5px);
}

/* Аватар */
.avatar img {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px auto;
  background-color: rgba(13, 202, 240, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #0dcaf0;
  object-fit: cover;
  border: 1px solid rgba(13, 202, 240, 0.3);
}

.text {
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.5;
}

.author {
  font-weight: bold;
  color: #0dcaf0;
  margin-bottom: 5px;
}

.city {
  font-size: 0.9rem;
  color: #e9ecef;
}

.social-icon-disable {
    --bs-text-opacity: 0.5;
}

.modal-custom {
	border: 1px solid #0dcaf0;
	border-radius: 15px;
}

.offlink {
	opacity: 50%;
}

label.required::after {
  content: "*";
  color: red;
}