/* ===== SERVICE DETAILS TOGGLE ===== */
/* Общая ссылка */
.head-logo-link {
  text-decoration: none;
  position: relative;
  z-index: 1;
}

/* Контейнер логотипа */
.head-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: 0.3s ease;
}

/* APS текст */
.head-logo-aps {
  font-size: 64px;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 2px;

  background: linear-gradient(90deg, #e53935 0%, #00acc1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Вертикальная линия */
.head-logo-divider {
  width: 2px;
  height: 70px;
  background: #ccc;
}

/* Правая часть */
.head-logo-tie {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Название компании */
.head-logo-note {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #333;
}

/* Подзаголовок */
.head-logo-term {
  margin: 5px 0 0;
  font-size: 16px;
  color: #777;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Hover эффект */
.head-logo:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.head-shebang {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* центрируем лого */
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
/* Адаптив */
@media (max-width: 768px) {
  .head-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .head-shebang {
    height: 66px;
  }
  .head-call {
    display: none;
  }
  .head-shebang {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .head-logo-tie {
    display: none;
  }
  .head-logo-divider {
    display: none;
  }

  .head-logo-aps {
    font-size: 48px;
  }

  .head-logo-note {
    font-size: 22px;
  }

  .head-logo-term {
    font-size: 14px;
  }
}

.service-details-full {
  display: none;
  grid-column: 1 / -1;
  padding: 12px 15px;
  background: #f7f9fc;
  border-left: 3px solid #2da7ff;
  margin-bottom: 10px;
  font-size: 14px;
}

.service-details-full p {
  margin: 0 0 6px;
}

.service-details-full a {
  color: #2da7ff;
  font-weight: 600;
  text-decoration: none;
}

.service-toggle {
  cursor: pointer;
}

.service-toggle::after {
  content: " ▼";
  font-size: 12px;
}

/* ===== SERVICE PAGE ===== */

.service-page {
  padding: 60px 0;
  background: #fff;
}

/* breadcrumbs */
.breadcrumbs {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: #ff2b2b;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* ===== TOP BLOCK (FIXED) ===== */

.service-top {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 70px;
}

/* IMPORTANT FIX FOR BOOTSTRAP */
.service-top.row {
  flex-wrap: nowrap;
}

.service-top .col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

/* title */
.service-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* text */
.service-top p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

/* image */
.service-image {
  width: 100%;
  max-width: 520px;
  display: block;
  margin-left: auto;
}

/* guarantee box */
.service-guarantee {
  padding: 40px 30px;
  background: #f8f8f8;
  border-radius: 12px;
  border-left: 4px solid #ff2b2b;
}

.service-guarantee strong {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
}

.service-guarantee p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

/* ===== CONTENT ===== */

.service-content {
  max-width: 900px;
}

.service-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

/* headings */
.service-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 45px 0 20px;
  line-height: 1.3;
}

/* lists */
.service-content ul,
.service-content ol {
  margin: 15px 0 30px 25px;
}

.service-content ul li,
.service-content ol li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ===== PRICE TABLE ===== */

.service-price {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
}

.service-price tr {
  border-bottom: 1px solid #eee;
}

.service-price tr:last-child {
  border-bottom: none;
}

.service-price td {
  padding: 14px 18px;
  font-size: 15px;
}

.service-price td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 991px) {
  .service-top {
    flex-direction: column;
    gap: 25px;
  }

  .service-top.row {
    flex-wrap: wrap;
  }

  .service-top .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .service-image {
    max-width: 100%;
    margin: 0 auto;
  }

  .service-title {
    font-size: 34px;
  }
}

.service-guarantee-text {
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  max-width: 520px;
}

/* Правая часть */
.service-guarantee-items {
  display: flex;
  justify-content: center;
  gap: 80px;
}

/* Один элемент */
.service-guarantee-item {
  width: 96px;
  height: 96px;
  line-height: 96px;
  text-align: center;
  border: 1px solid #ffe02f;
  border-radius: 50%;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08);
  margin: 0 auto 40px;
}

.service-guarantee-item img {
  width: 60px;
  height: auto;
  margin-bottom: 15px;
}

.service-guarantee-item span {
  font-size: 15px;
  line-height: 1.2;
  margin-top: 5px;
  color: #222;
  display: block;
}

/* МОБИЛКА */
@media (max-width: 768px) {
  .service-guarantee-items {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }

  .service-guarantee-text {
    text-align: center;
    margin: 0 auto;
  }
}
