/* Секция «Прейскурант»: фон bg-2, таблица и условия */

.pricing {
  position: relative;
  padding: clamp(3rem, 8vw, 5.25rem) 1.25rem;
  overflow: hidden;
}

.pricing__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/bg-2.jpg") center top / cover no-repeat;
}

.pricing__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(230, 248, 255, 0.38) 45%,
      rgba(255, 255, 255, 0.32) 100%
    ),
    radial-gradient(
      85% 70% at 50% 40%,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 65%
    );
}

.pricing__inner {
  position: relative;
  z-index: 2;
  max-width: var(--header-max-width);
  margin: 0 auto;
}

.pricing__title {
  margin: 0 0 0.65rem;
  font-weight: 800;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.pricing__lead {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  line-height: 1.45;
  text-align: center;
  color: #2c3e50;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing__table-wrap {
  overflow-x: auto;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.85),
    rgba(230, 248, 255, 0.55)
  );
  box-shadow: 0 12px 40px rgba(26, 59, 93, 0.12);
}

.pricing__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  border-radius: 18px;
  overflow: hidden;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pricing__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pricing__table thead th {
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  color: #ffffff;
  background: linear-gradient(180deg, #123a5c 0%, #0c2d4a 100%);
}

.pricing__table thead th:last-child {
  text-align: center;
  white-space: nowrap;
}

.pricing__table tbody td {
  padding: 0.95rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(26, 59, 93, 0.1);
  color: #2a3540;
  font-weight: 600;
  line-height: 1.4;
}

.pricing__table tbody tr:last-child td {
  border-bottom: none;
}

.pricing__table .pricing__cell-service {
  font-weight: 600;
}

.pricing__table .pricing__cell-price {
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #0d2133;
  white-space: nowrap;
}

.pricing__table tbody tr:nth-child(odd) .pricing__cell-price {
  background: rgba(255, 210, 0, 0.28);
}

.pricing__table tbody tr:nth-child(even) .pricing__cell-price {
  background: rgba(0, 174, 239, 0.18);
}

.pricing__notes {
  max-width: 52rem;
  margin: 0 auto;
}

.pricing__notes > p {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.58;
  color: #3a4a5a;
}

.pricing__list {
  margin: 0 0 1rem;
  padding: 0 0 0 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #3a4a5a;
}

.pricing__list li {
  margin-bottom: 0.4rem;
}

.pricing__list li:last-child {
  margin-bottom: 0;
}

.pricing__alert {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border-left: 4px solid var(--color-cyan);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 20px rgba(26, 59, 93, 0.08);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #2c3d4f;
}

.pricing__contact {
  margin-top: 1.5rem;
  padding: 1.25rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 28px rgba(26, 59, 93, 0.1);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #2c3d4f;
  text-align: center;
}

.pricing__contact a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 174, 239, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pricing__contact a:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
}

.pricing__phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #0a1628;
  background: linear-gradient(
    180deg,
    #fff3a1 0%,
    var(--hero-yellow-bright) 40%,
    #ffb020 100%
  );
  box-shadow: 0 4px 0 #b87400, 0 10px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing__phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #b87400, 0 14px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

@media (max-width: 560px) {
  .pricing__table {
    font-size: 0.875rem;
  }

  .pricing__table tbody td {
    padding: 0.75rem 0.65rem;
  }
}
