/* Шапка */
.service-header {
  text-align: center;
  margin: 40px 0 30px;
  padding: 30px 15px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-md);
}
@media (max-width: 576px) {
  .service-header {
    margin: 30px 0 20px;
    padding: 25px 10px;
  }
}
.service-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.service-header h1:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: white; /* Добавлено отсутствующее свойство */
  border-radius: 2px;
}

.service-header p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-top: 15px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.service-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 0 auto 28px;
  padding: 14px 18px;
  max-width: none;
  background: #fff;
  border: 1px solid #e3e8f7;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.service-trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.service-trust-bar__item i {
  color: var(--secondary);
  font-size: 0.95rem;
}

.service-group--popular {
  margin-bottom: 26px;
}

.service-group--popular .group-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-group--popular .group-header::before {
  content: "\f0e7";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 0.95rem;
  opacity: 0.9;
}

.service-popular-intro {
  margin: 0;
  padding: 12px 18px 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--gray);
  background: #f7f9fc;
  border-bottom: 1px solid #eceff5;
}

.service-popular-link {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}

.service-popular-link:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .service-trust-bar {
    border-radius: 20px;
    justify-content: flex-start;
  }

.service-trust-bar__item {
  white-space: normal;
}
}

.price-container {
  max-width: 1280px;
  margin: 20px auto;
  padding: 15px;
}

.price-title {
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.price-navigation {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 10px 0;
  margin-bottom: 30px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.price-navigation::-webkit-scrollbar {
  display: none;
}

.price-nav-link {
  padding: 8px 15px;
  background: var(--surface-soft);
  color: var(--primary);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1px solid #dfe4f3;
}

.price-nav-link:hover,
.price-nav-link:focus-visible {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.price-nav-link:active {
  background: #1b49e6;
  color: #fff;
  border-color: #1b49e6;
}

/* Стили для услуг */
.service-group {
  margin-bottom: 28px;
  max-width: 1200px;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #e3e8f7;
  animation: fadeIn 0.45s ease-out;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.group-header {
  background: var(--gradient-primary);
  color: white;
  padding: 14px 18px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 0;
}

/* Мобильная таблица */
.mobile-service-table {
  display: block;
}

.mobile-service-table .mobile-service-row:last-child {
  border-bottom: none;
  border-radius: 0 0 18px 18px;
}

.mobile-service-row {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  background: white;
}

.mobile-service-name {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
}

.mobile-service-details {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 14px;
}

.mobile-service-time {
  color: var(--gray);
}

.mobile-service-price {
  font-weight: 600;
}

.service-note {
  color: var(--gray);
  font-size: 0.875rem;
  margin-top: 5px;

}

/* Десктопная таблица (скрыта на мобильных) */
.service-table {
  display: none;
}

/* Десктопная версия */
@media (min-width: 768px) {
  .group-header {
    background: var(--secondary);
    color: #fff;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: 600;
  }

.price-container {
  padding: 25px;
}

.price-title {
  font-size: 32px;
  margin-bottom: 30px;
}

.price-navigation {
  justify-content: center;
  flex-wrap: wrap;
  overflow-x: visible;
  margin-bottom: 40px;
}

.price-nav-link {
  font-size: 14px;
}

/* Показываем десктопную таблицу */
.service-table {
  display: grid;
  grid-template-columns: 60% 20% 20%;
  width: 100%;
}

.table-header {
  display: contents;
}

.header-cell {
  padding: 12px 15px;
  font-weight: 600;
  text-align: left;
  background: #f1f8fe;
  color: var(--primary);
}

.table-body {
  display: contents;
}

.service-row {
  display: contents;
}

.row-item {
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid #eceff5;
}

.row-stripe .row-item {
  background: #f7f9fc;
}

.service-table .service-row:last-child .row-item {
  border-bottom: none;
}

.service-table .service-row:last-child .row-item:first-child {
  border-bottom-left-radius: 18px;
}

.service-table .service-row:last-child .row-item:last-child {
  border-bottom-right-radius: 18px;
}

.text-center {
  text-align: center;
}

.price-value {
  font-weight: 600;
}

/* Скрываем мобильную таблицу */
.mobile-service-table {
  display: none;
}
}

/* Сноска снизу */
.disclaimer-footer {
  width: 100%;
  max-width: none;
  margin: 24px 0 16px;
  padding: 20px;
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  border-top: 1px solid #dfe4f3;
  background: var(--surface-soft);
  border-radius: var(--border-radius-large);

}

@media (max-width: 768px) {
  .disclaimer-footer {
    margin: 30px 0;
    padding: 15px;
    line-height: 1.6;
  }
}
@media (max-width: 720px) {
  .price-navigation {
    display: none;
  }
}

/* Блок «все услуги» под прайсом — как на главной */
.service-pricing-cta,
.full-services-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.125rem;
  margin-top: 1.75rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.75rem;
}

.service-pricing-cta p,
.full-services-cta p {
  margin: 0;
  color: var(--gray);
  line-height: 1.55;
  font-size: 0.95rem;
}

.btn.service-all-services-btn {
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 26px rgba(187, 255, 0, 0.38);
}

.btn.service-all-services-btn:hover {
  background-color: #c8ff3d;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(187, 255, 0, 0.48);
}

.btn.service-all-services-btn i {
  color: #141414;
}

@media (prefers-reduced-motion: reduce) {
  .service-group {
    animation: none;
  }
.btn.service-all-services-btn:hover {
  transform: none;
}
}

/* ===== service2.html redesign: booking/warranty visual language ===== */
.page-service2 {
  background: #eef1f6;
}

.page-service2 main {
  padding: 14px 0 34px;
}

.page-service2 .site-breadcrumb {
  margin: 6px 0 12px;
}

.page-service2 .service-header {
  text-align: left;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: clamp(24px, 3.2vw, 32px);
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-md);
  color: #fff;
  box-sizing: border-box;
}

.page-service2 .service-header__content {
  max-width: 820px;
}

.page-service2 .service-header h1 {
  display: block;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-service2 .service-header h1:after {
  content: none;
}

.page-service2 .service-header p {
  margin: 0 0 18px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  font-size: 0.98rem;
  line-height: 1.5;
}

.page-service2 .service-header__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.page-service2 .service-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.page-service2 .service-header__badge i {
  color: #fff;
  font-size: 0.85rem;
  opacity: 0.95;
}

.page-service2 .service-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-service2 .service-header .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.page-service2 .service-header .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.page-service2 .service-header .btn-accent {
  box-shadow: 0 10px 22px rgba(187, 255, 0, 0.28);
}

.page-service2 .price-navigation {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 18px;
  gap: 8px;
  padding: 2px 0 10px;
  box-sizing: border-box;
}

.page-service2 .price-nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 12px;
  background: #fff;
  color: var(--primary);
  border: 1px solid #dfe7f8;
  box-shadow: 0 2px 8px rgba(25, 25, 50, 0.04);
}

.page-service2 .price-nav-link:hover,
.page-service2 .price-nav-link:focus-visible {
  background: #2255f5;
  color: #fff;
  border-color: #2255f5;
}

.page-service2 .price-nav-link:active {
  background: #1b49e6;
  color: #fff;
  border-color: #1b49e6;
}

.page-service2 .service-group {
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px solid #e3e9f4;
  box-shadow: var(--shadow-soft-card);
  overflow: hidden;
}

.page-service2 .group-header {
  background: #2255f5;
  color: #fff;
  padding: 13px 16px;
  font-size: 1rem;
}

.page-service2 .service-group--popular .group-header {
  background: linear-gradient(145deg, #2255f5, #1a44cf);
}

.page-service2 .service-popular-intro {
  padding: 11px 16px 12px;
  font-size: 0.89rem;
}

.page-service2 .header-cell {
  background: #f3f7ff;
}

.page-service2 .row-item {
  padding: 11px 14px;
}

.page-service2 .service-note {
  display: block;
  line-height: 1.35;
}

.page-service2 .disclaimer-footer {
  width: 100%;
  max-width: 1200px;
  margin: 22px auto;
  border: 1px solid #dfe7f8;
  border-top: 1px solid #dfe7f8;
  background: #f8faff;
  border-radius: 14px;
  font-size: 0.84rem;
  box-sizing: border-box;
}

.page-service2 .contact-cta {
  max-width: 1200px;
  margin: 18px auto 0;
}

.page-service2 .contact-cta__card {
  background: #fff;
  border: 1px solid var(--surface-border, #e4ebf8);
  border-radius: 16px;
  box-shadow: 0 5px 14px rgba(25, 25, 50, 0.045);
  padding: clamp(18px, 2.4vw, 26px);
  display: grid;
  gap: 16px;
}

.page-service2 .contact-cta__title {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}

.page-service2 .contact-cta__text {
  margin: 0;
  color: var(--gray, #5a6478);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 52ch;
}

.page-service2 .contact-cta__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.page-service2 .contact-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #dbe4f5;
  background: #f8fbff;
  color: #24407d;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-service2 .contact-cta__btn:hover {
  transform: translateY(-1px);
  border-color: #c2d3f7;
  box-shadow: 0 6px 14px rgba(34, 85, 245, 0.12);
}

.page-service2 .contact-cta__btn--primary {
  background: linear-gradient(145deg, #2255f5, #1a44cf);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(34, 85, 245, 0.24);
}

@media (max-width: 768px) {
  .page-service2 .contact-cta__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-service2 main {
    padding: 10px 0 28px;
  }

.page-service2 .service-header__badge {
  white-space: normal;
}

.page-service2 .service-header__actions {
  width: 100%;
}

.page-service2 .service-header__actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
}

.page-service2 .price-navigation {
  margin-bottom: 14px;
}

.page-service2 .service-group {
  border-radius: 14px;
  margin-bottom: 14px;
}

.page-service2 .group-header {
  padding: 12px 14px;
}

.page-service2 .disclaimer-footer {
  margin: 16px 0;
}
}

/* service2.html full layout redesign layer */
.page-service2-pro .service-header {
  margin-bottom: 10px;
  padding: clamp(20px, 3.2vw, 30px);
}

.page-service2-pro .service-header h1 {
  margin-bottom: 8px;
}

.page-service2-pro .service2-overview {
  margin: 0 0 14px;
  display: grid;
  gap: 12px;
}

.page-service2-pro .service2-overview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-service2-pro .service2-overview__actions .btn {
  min-height: 44px;
  padding: 10px 18px;
}

.page-service2-pro .service2-overview__actions .btn i {
  margin-right: 7px;
}

.page-service2-pro .service2-overview__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-service2-pro .service2-fact-card {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #dfe7f8;
  background: #fff;
  box-shadow: 0 3px 10px rgba(25, 25, 50, 0.04);
}

.page-service2-pro .service2-fact-card__label {
  display: block;
  margin-bottom: 6px;
  color: #5f6885;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.page-service2-pro .service2-fact-card__value {
  display: block;
  margin: 0 0 3px;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--primary);
}

.page-service2-pro .service2-fact-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #5f6885;
}

.page-service2-pro .service2-anchor-bar {
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #dfe7f8;
  background: #fff;
  box-shadow: 0 3px 10px rgba(25, 25, 50, 0.04);
}

.page-service2-pro .service2-anchor-bar__title {
  margin: 0 0 10px;
  color: #4d5674;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-service2-pro .price-navigation {
  margin: 0;
  padding: 0;
}

.page-service2-pro .service-group {
  margin-bottom: 14px;
}

.page-service2-pro .group-header {
  padding: 12px 15px;
  font-size: 0.98rem;
}

.page-service2-pro .service-table {
  align-items: stretch;
}

.page-service2-pro .header-cell {
  font-size: 0.86rem;
}

.page-service2-pro .row-item {
  font-size: 0.93rem;
  line-height: 1.4;
}

.page-service2-pro .price-value {
  color: #1f3ea8;
}

.page-service2-pro .mobile-service-row {
  padding: 12px 14px;
}

.page-service2-pro .mobile-service-name {
  line-height: 1.35;
}

.page-service2-pro .mobile-service-price {
  color: #1f3ea8;
}

.page-service2-pro .disclaimer-footer {
  margin: 18px 0;
}

.page-service2-pro .cta-section {
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .page-service2-pro .service2-overview__facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-service2-pro .service2-overview__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

.page-service2-pro .service2-overview__actions .btn {
  justify-content: center;
}

.page-service2-pro .service2-overview__facts {
  grid-template-columns: 1fr;
}

.page-service2-pro .service2-anchor-bar {
  margin-bottom: 12px;
  padding: 10px;
}
}

/* --------------------------------------------------------------------------
Блок «Другие наши услуги» на страницах service/*.html
FAQ используется из общего components/faq.css.
-------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
}

.service-card {
  background-color: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e3e8f7;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(34, 85, 245, 0.15);
  border-color: rgba(34, 85, 245, 0.2);
}

.service-table-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f2f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.4rem;
  margin: 0 0 15px;
  color: var(--primary);
}

.service-description {
  color: var(--gray);
  margin: 0 0 20px;
  flex-grow: 1;
  line-height: 1.55;
}

.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 768px) {
.services-grid {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
}
