/**
 * /konsultatsiya-pulmonologa/
 * Etalon: medpribor.pro/konsultatsiya-pulmonologa/
 */

.mp-pulm {
  margin: 0 0 2.5rem;
  color: #526371;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.mp-pulm a {
  color: #00bf80;
  text-decoration: none;
}

.mp-pulm a:hover {
  color: #0055a6;
}

.mp-pulm p {
  margin: 0 0 14px;
}

.mp-pulm p:last-child {
  margin-bottom: 0;
}

/* Hero */
.mp-pulm-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem 2.5rem;
  align-items: center;
  margin: 0 0 2rem;
  padding: 1.5rem 1.75rem 1.75rem;
  background: linear-gradient(135deg, #eef8f3 0%, #f7fafb 55%, #eef3f8 100%);
  border-radius: 3px;
}

.mp-pulm-hero__title {
  margin: 0 0 0.65rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}

.mp-pulm-hero__title-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92em;
  font-weight: 600;
  color: #00bf80;
}

.mp-pulm-hero__rating {
  margin: 0 0 0.85rem;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #f0b429;
}

.mp-pulm-hero__rating span {
  margin-left: 0.35rem;
  letter-spacing: 0;
  color: #6a7a88;
  font-weight: 600;
}

.mp-pulm-hero__rating--center {
  text-align: center;
  margin: 0 0 1.5rem;
}

.mp-pulm-hero__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 16px;
  line-height: 1.6;
  color: #526371;
}

.mp-pulm-hero__media {
  display: flex;
  justify-content: center;
}

.mp-pulm-hero__media img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* Features */
.mp-pulm-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.mp-pulm-features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 0.5rem 0.35rem;
}

.mp-pulm-features__icon {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.mp-pulm-features__label {
  font-size: 14px;
  line-height: 1.4;
  color: #434955;
}

/* Sections */
.mp-pulm-section {
  margin: 0 0 2.75rem;
}

.mp-pulm-section__title {
  margin: 0 0 1.35rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: #333;
  text-align: center;
}

.mp-pulm-subtitle {
  margin: 2rem 0 1.15rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #333;
  text-align: center;
}

.mp-pulm-prose {
  max-width: 52rem;
  margin: 0 auto 0.5rem;
}

.mp-pulm-prose p {
  margin: 0 0 1rem;
}

/* Team */
.mp-pulm-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
  align-items: center;
  margin: 0 0 1.75rem;
}

.mp-pulm-team__photo {
  margin: 0;
}

.mp-pulm-team__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.mp-pulm-team__text p {
  margin: 0 0 1rem;
}

.mp-pulm-doctor {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem 1.75rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  background: #f7faf8;
  border: 1px solid #e0ebe5;
  border-radius: 3px;
}

.mp-pulm-doctor__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  object-fit: cover;
}

.mp-pulm-doctor__name {
  margin: 0 0 0.65rem;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.mp-pulm-doctor__body p {
  margin: 0 0 0.75rem;
}

/* Steps */
.mp-pulm-steps {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.mp-pulm-steps__item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.35rem 0.85rem;
  margin: 0 0 1.35rem;
}

.mp-pulm-steps__num {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #00bf80;
}

.mp-pulm-steps__text {
  margin: 0 0 0.55rem;
}

.mp-pulm-steps__bar {
  position: relative;
  height: 8px;
  margin: 0 3.5rem 0 0;
  background: #e8eef1;
  border-radius: 4px;
  overflow: hidden;
}

.mp-pulm-steps__bar-fill {
  display: block;
  height: 100%;
  background: #00bf80;
  border-radius: 4px;
}

.mp-pulm-steps__pct {
  display: block;
  margin-top: 0.25rem;
  font-size: 13px;
  font-weight: 600;
  color: #6a7a88;
}

/* Secrets */
.mp-pulm-secrets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 1rem;
}

.mp-pulm-secrets__item {
  padding: 1.15rem 1rem;
  background: #fff;
  border: 1px solid #e4e9ed;
  border-radius: 3px;
}

.mp-pulm-secrets__title {
  margin: 0 0 0.65rem;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.mp-pulm-secrets__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.mp-pulm-arrows {
  margin: 1.25rem 0 1.5rem;
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.35em;
  color: #00bf80;
}

/* CTA */
.mp-pulm-cta {
  position: relative;
  margin: 0 0 2rem;
  padding: 2.25rem 1.75rem;
  border-radius: 3px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background-image: linear-gradient(rgba(40, 48, 55, 0.72), rgba(40, 48, 55, 0.72)), var(--mp-pulm-cta);
  background-size: cover;
  background-position: center;
}

.mp-pulm-cta a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.mp-pulm-cta a:hover {
  color: #c0e6d2;
}

.mp-pulm-cta__title {
  margin: 0 0 0.75rem;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.mp-pulm-cta__text {
  margin: 0 auto 1rem;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.55;
}

.mp-pulm-cta__contacts {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

/* Clinics */
.mp-pulm-clinics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mp-pulm-clinic {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 180px;
  padding: 1.15rem 1.1rem;
  border-radius: 3px;
  overflow: hidden;
  background-image: linear-gradient(transparent 20%, rgba(20, 28, 36, 0.85)), var(--mp-pulm-clinic);
  background-size: cover;
  background-position: center;
}

.mp-pulm-clinic__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Benefits */
.mp-pulm-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.mp-pulm-benefits__item {
  text-align: center;
  padding: 0.5rem 0.75rem;
}

.mp-pulm-benefits__item img {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 0.85rem;
  object-fit: contain;
}

.mp-pulm-benefits__title {
  margin: 0 0 0.55rem;
  font-size: 17px;
  font-weight: 700;
  color: #333;
}

.mp-pulm-benefits__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

/* Prices */
.mp-pulm-prices-wrap {
  overflow-x: auto;
  border: 1px solid #e4e9ed;
  border-radius: 3px;
}

.mp-pulm-prices {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.mp-pulm-prices th,
.mp-pulm-prices td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eef2f5;
}

.mp-pulm-prices thead th {
  background: #00bf80;
  color: #fff;
  font-weight: 700;
  border-bottom: 0;
}

.mp-pulm-prices__group td {
  background: #f2f3f5;
  font-weight: 700;
  color: #333;
  text-align: center;
  padding: 0.8rem 0.85rem;
}

.mp-pulm-prices__code {
  white-space: nowrap;
  color: #6a7a88;
  width: 6.5rem;
}

.mp-pulm-prices__price {
  white-space: nowrap;
  font-weight: 600;
  color: #333;
  width: 7.5rem;
  text-align: right;
}

.mp-pulm-prices tbody tr:hover td {
  background: #f7fbf9;
}

.mp-pulm-prices tbody tr.mp-pulm-prices__group:hover td {
  background: #f2f3f5;
}

/* Book form */
.mp-pulm-book {
  padding: 1.75rem 1.5rem;
  background: #f7faf8;
  border: 1px solid #e0ebe5;
  border-radius: 3px;
}

.mp-pulm-book__lead {
  margin: -0.35rem 0 1.35rem;
  text-align: center;
  color: #6a7a88;
}

.mp-pulm-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.85rem 1rem;
  align-items: end;
  max-width: 44rem;
  margin: 0 auto;
}

.mp-pulm-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 13px;
  font-weight: 600;
  color: #434955;
}

.mp-pulm-form__field input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 0.85rem;
  font: inherit;
  font-weight: 400;
  color: #333;
  background: #fff;
  border: 1px solid #cfd8df;
  border-radius: 3px;
}

.mp-pulm-form__field input:focus {
  outline: none;
  border-color: #00bf80;
  box-shadow: 0 0 0 2px rgba(0, 191, 128, 0.15);
}

.mp-pulm-form__btn {
  height: 44px;
  padding: 0 1.35rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: #00bf80;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.mp-pulm-form__btn:hover {
  background: #0055a6;
}

.mp-pulm-form__hint {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
  font-size: 13px;
  color: #6a7a88;
  text-align: center;
}

/* FAQ */
.mp-pulm-faq__lead {
  margin: -0.5rem 0 1.15rem;
  text-align: center;
  color: #6a7a88;
}

.mp-pulm-faq {
  max-width: 48rem;
  margin: 0 auto;
}

.mp-pulm-faq__item {
  margin: 0 0 0.65rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e4e9ed;
  border-radius: 3px;
}

.mp-pulm-faq__q {
  cursor: pointer;
  font-weight: 700;
  color: #333;
  list-style: none;
}

.mp-pulm-faq__q::-webkit-details-marker {
  display: none;
}

.mp-pulm-faq__q::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  margin-right: 0.35rem;
  color: #00bf80;
  font-weight: 700;
}

.mp-pulm-faq__item[open] .mp-pulm-faq__q::before {
  content: "−";
}

.mp-pulm-faq__a {
  margin: 0.75rem 0 0;
  padding-left: 1.45rem;
  font-size: 15px;
  line-height: 1.6;
}

/* Equipment */
.mp-pulm-eq__lead {
  margin: -0.5rem 0 1.35rem;
  text-align: center;
  color: #6a7a88;
}

.mp-pulm-eq {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.mp-pulm-eq__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.85rem 0.65rem 1rem;
  background: #fff;
  border: 1px solid #e4e9ed;
  border-radius: 3px;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mp-pulm-eq__card:hover {
  border-color: #00bf80;
  box-shadow: 0 2px 12px rgba(0, 85, 166, 0.08);
  color: #00bf80;
}

.mp-pulm-eq__card img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: 140px;
  margin: 0 0 0.75rem;
  object-fit: contain;
}

.mp-pulm-eq__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

/* Find us */
.mp-pulm-find__list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  text-align: center;
}

.mp-pulm-find__list li {
  margin: 0 0 0.45rem;
}

.mp-pulm-find__pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
}

.mp-pulm-find__pdf img {
  display: block;
  width: 16px;
  height: 16px;
}

@media (max-width: 992px) {
  .mp-pulm-hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .mp-pulm-hero__lead {
    margin: 0 auto;
  }

  .mp-pulm-features,
  .mp-pulm-secrets,
  .mp-pulm-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-pulm-team,
  .mp-pulm-doctor {
    grid-template-columns: 1fr;
  }

  .mp-pulm-doctor__photo {
    max-width: 220px;
    margin: 0 auto;
  }

  .mp-pulm-eq {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mp-pulm-form {
    grid-template-columns: 1fr 1fr;
  }

  .mp-pulm-form__btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .mp-pulm-hero__title {
    font-size: 24px;
  }

  .mp-pulm-section__title {
    font-size: 20px;
  }

  .mp-pulm-features,
  .mp-pulm-secrets,
  .mp-pulm-benefits,
  .mp-pulm-clinics,
  .mp-pulm-eq {
    grid-template-columns: 1fr;
  }

  .mp-pulm-form {
    grid-template-columns: 1fr;
  }

  .mp-pulm-prices__code {
    width: auto;
  }
}
