/* === OLD hero (side-by-side) kept for other pages === */
.ap-hero { display: flex; align-items: stretch; margin-bottom: 40px; }
.ap-hero__img { flex: 0 0 50%; min-height: 280px; background: url('../img/catalog_img/1.jpg') center/cover no-repeat; background-color: #e0e0e0; }
.ap-hero__info { flex: 1; background-color: #3b4e61; padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.ap-hero__info p { font-family: "Inter", sans-serif; font-size: 14px; color: #fff; line-height: 1.7; margin: 0 0 12px 0; }
.ap-hero__info p:last-child { margin-bottom: 0; }
.ap-hero__info a { color: #fb8004; }

/* === FULL-WIDTH IMAGE HERO (pokrytiya layout) === */
.ap-full-img {
  width: 100%;
  height: 380px;
  background: url('../img/uslugi/1.jpg') center/cover no-repeat;
  background-color: #e0e0e0;
  margin-bottom: 24px;
}

.ap-intro {
  margin-bottom: 40px;
}

.ap-intro__title {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #202020;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.ap-intro__text {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #202020;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.ap-intro__text:last-child { margin-bottom: 0; }

/* === SECTIONS === */
.ap-section { margin-bottom: 40px; }

.ap-section__title {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #202020;
  margin: 0 0 20px 0;
}

.ap-section__lead {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #202020;
  line-height: 1.7;
  margin: 0 0 14px 0;
}

.ap-section__text {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #202020;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.ap-section__text:last-child { margin-bottom: 0; }
.ap-section__text a { color: #fb8004; }

.ap-section ul {
  padding-left: 20px;
  margin: 0 0 16px 0;
}

.ap-section ul li {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #202020;
  line-height: 1.7;
  margin-bottom: 10px;
}

.ap-section ul li:last-child { margin-bottom: 0; }

/* === TYPES COMPARISON BOX === */
.ap-types-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e0e0e0;
  margin: 24px 0 20px;
}

.ap-types-box__col {
  padding: 16px;
  border-right: 1px solid #e0e0e0;
}

.ap-types-box__col:last-child {
  border-right: none;
}

.ap-types-box__label {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #202020;
  text-align: center;
  margin: 0 0 12px 0;
}

.ap-types-box__img {
  height: 130px;
  background: url('../img/uslugi/1.jpg') center/cover no-repeat;
  background-color: #e0e0e0;
}

/* === ORANGE NAV LINKS LIST (ograzhdeniya) === */
.ap-links-list {
  padding-left: 20px;
  margin: 0 0 20px 0;
}

.ap-links-list li {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.ap-links-list li a {
  color: #fb8004;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ap-links-list li a:hover {
  opacity: 0.8;
}

/* === CALCULATOR BANNER === */
.ap-calc-banner {
  display: flex;
  align-items: stretch;
  background-color: #f1f5f9;
  margin-bottom: 40px;
}

.ap-calc-banner__img {
  flex: 0 0 50%;
  min-height: 200px;
  background: url('../img/catalog_img/1.jpg') center/cover no-repeat;
  background-color: #e0e0e0;
}

.ap-calc-banner__info {
  flex: 1;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.ap-calc-banner__title {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #202020;
  line-height: 1.35;
  margin: 0;
}

.ap-calc-banner__title span {
  color: #fb8004;
}

.ap-calc-banner__text {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #202020;
  margin: 0;
}

.ap-calc-banner__btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #fb8004;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}

.ap-calc-banner__btn:hover {
  background-color: #e07203;
}

/* === PHOTO GALLERY === */
.ap-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.ap-gallery__img {
  height: 190px;
  background-color: #e0e0e0;
  background-size: cover;
  background-position: center;
}
