/* Раздел услуг — стили поверх /newsite/assets/site.css */

.ic { width: 16px; height: 16px; flex: 0 0 16px; }

/* ---------- хлебные крошки ---------- */
.crumb { border-bottom: 1px solid var(--line); background: #fff; }
.crumb__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0; color: #8494a6; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.crumb a { color: var(--blue); }
.crumb a:hover { color: var(--orange-dark); }
.crumb span[aria-current] { color: #66788c; }

/* ---------- перв. экран ---------- */
.ch { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.ch::after { position: absolute; top: -160px; right: -220px; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.03), 0 0 0 140px rgba(255,255,255,.02); content: ""; }
.ch__inner { display: grid; position: relative; z-index: 1; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 56px; padding: 58px 0 66px; }
.ch h1 { max-width: 780px; margin: 0 0 20px; color: #fff; font-size: clamp(31px, 4vw, 50px); letter-spacing: -.03em; line-height: 1.04; text-transform: uppercase; }
.nw { white-space: nowrap; }
.ch h1 em { color: var(--orange); font-style: normal; }
.ch__lead { max-width: 620px; margin: 0 0 26px; color: #cfe2f0; font-size: 16px; line-height: 1.6; }
.ch__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.ch__phone { display: flex; flex-direction: column; color: #fff; font-size: 16px; font-weight: 800; line-height: 1.2; }
.ch__phone small { margin-top: 4px; color: #a8c6dc; font-size: 10px; font-weight: 400; letter-spacing: .04em; }
.ch__facts { display: flex; flex-wrap: wrap; gap: 34px; margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.ch__facts strong { display: block; color: #fff; font-family: Georgia, serif; font-size: 26px; font-weight: 400; line-height: 1; }
.ch__facts span { display: block; margin-top: 6px; color: #a9c7dd; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.ch__card { padding: 28px; background: #fff; box-shadow: 0 18px 40px rgba(4,23,44,.28); }
.ch__card-label { margin: 0 0 10px; color: #7d8fa1; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ch__price { margin: 0 0 6px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 42px; line-height: 1; }
.ch__price span { font-size: 22px; }
.ch__price-note { margin: 0 0 18px; color: #6b7d90; font-size: 12px; line-height: 1.5; }
.ch__specs { display: grid; gap: 10px; margin: 0 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.ch__specs > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.ch__specs dt { color: #74879a; }
.ch__specs dd { margin: 0; color: var(--navy); font-weight: 700; }
.ch__cta { width: 100%; background: var(--orange); color: #172f48; }
.ch__cta:hover { background: #ffa947; }
.ch__small { margin: 12px 0 0; color: #8a9aab; font-size: 10px; line-height: 1.45; text-align: center; }

/* ---------- секции ---------- */
.blk { padding: 84px 0; background: var(--paper); }
.blk--tint { background: #f2f7fa; }
.blk--navy { color: #fff; background: var(--navy-deep); }
.blk__head { max-width: 880px; margin: 0 0 40px; }
.blk__head h2 { margin: 0; color: var(--navy-deep); font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.blk__head h2 em { color: var(--orange); font-style: normal; }
.blk__head--light h2 { color: #fff; }
.blk__desc { max-width: 660px; margin: 16px 0 0; color: #55697f; font-size: 15px; line-height: 1.62; }
.blk--navy .blk__desc { color: #b9d2e4; }
.kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { width: 22px; height: 2px; background: currentColor; content: ""; }
.kicker--light { color: #8fc0e2; }
.note-line { max-width: 900px; margin: 30px 0 0; color: #60758b; font-size: 12px; line-height: 1.6; }
.note-line a { color: var(--blue); font-weight: 800; }

/* ---------- сетки ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- карточки ---------- */
.card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.card__num { color: #b7d0e2; font-family: Georgia, serif; font-size: 26px; font-style: italic; line-height: 1; }
.card__label { margin: 0 0 10px; color: #7f8fa0; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.card__title { margin: 12px 0 10px; color: var(--navy-deep); font-size: 19px; letter-spacing: -.02em; line-height: 1.15; text-transform: uppercase; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--blue); }
.card__text { margin: 0; color: #5a6e83; font-size: 13px; line-height: 1.58; }
.card__small { margin: 12px 0 0; color: #8495a6; font-size: 11px; line-height: 1.5; }
.card--num .card__title { margin-top: 14px; }
.card--line { border-top: 4px solid var(--orange); }
.card--accent { border-color: #bcd8ea; background: #f7fbfe; }
.card--ghost { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.card--ghost .card__title { color: #fff; }
.card--ghost .card__text { color: #b9d2e4; }
.card__title + .tick { margin-top: 14px; }

.tick { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.tick li { display: flex; align-items: flex-start; gap: 9px; color: #4d6377; font-size: 12px; line-height: 1.5; }
.tick li .ic { margin-top: 2px; color: #4d9a76; }
.card--ghost .tick li { color: #c3d9e9; }

/* ---------- стоимость ---------- */
.price-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: start; }
.price-intro h2 { margin: 0; color: var(--navy-deep); font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.price-intro h2 em { color: var(--orange); font-style: normal; }
.price-pay { display: grid; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-pay__row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; font-size: 12px; line-height: 1.5; }
.price-pay__row b { color: var(--navy); }
.price-pay__row span { color: #5f7488; }
.price-cards { display: grid; gap: 16px; }
.price-card { padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.price-card--accent { border-color: var(--navy); box-shadow: 0 14px 30px rgba(18,58,103,.12); }
.price-card__label { margin: 0 0 8px; color: #7f8fa0; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.price-card__value { margin: 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: 38px; line-height: 1; }
.price-card__value span { font-size: 20px; }
.price-card__note { margin: 8px 0 0; color: #6b7d90; font-size: 12px; }
.price-card .button { margin-top: 18px; }
.price-card .tick { margin-bottom: 4px; }

/* ---------- филиалы ---------- */
.branch .card__title { margin-top: 0; font-size: 18px; }
.branch .text-link { margin-top: auto; padding-top: 16px; border: 0; border-bottom: 1px solid #a9bac7; font-size: 11px; background: transparent; }

/* ---------- возраст ---------- */
.age { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.age__lead { margin: 0 0 20px; color: #4f6579; font-size: 15px; line-height: 1.62; }
.age__rows { display: grid; gap: 12px; }
.age__row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.age__row b { color: var(--navy); font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.age__row span { color: #55697f; }

/* ---------- документы ---------- */
.doc__icon { display: grid; width: 34px; height: 34px; place-content: center; border-radius: 50%; color: #fff; background: #4d9a76; }
.doc__icon .ic { width: 18px; height: 18px; }
.doc .card__title { margin-top: 14px; font-size: 18px; }

/* ---------- шаги ---------- */
.steps2 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.step2 { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.step2__num { display: grid; width: 34px; height: 34px; place-content: center; border: 1px solid #9fc2d7; border-radius: 50%; color: var(--navy); font-family: Georgia, serif; font-size: 16px; font-style: italic; }
.step2 h3 { margin: 14px 0 8px; color: var(--navy); font-size: 16px; letter-spacing: -.02em; line-height: 1.15; text-transform: uppercase; }
.step2 p { margin: 0; color: #5f7488; font-size: 12px; line-height: 1.55; }

/* ---------- лицензии ---------- */
.lic { display: grid; grid-template-columns: 1fr .9fr; gap: 56px; align-items: center; }
.lic__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lic__card { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: box-shadow .2s ease; }
.lic__card:hover { box-shadow: 0 12px 26px rgba(18,58,103,.14); }
.lic__card img { width: 100%; height: auto; border: 1px solid #eef2f6; object-fit: cover; }
.lic__card span { color: var(--navy); font-size: 11px; font-weight: 700; line-height: 1.4; }

/* ---------- авто ---------- */
.cars { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.cars__figure { margin: 0; overflow: hidden; border-radius: 10px; background: #dbe7f0; }
.cars__figure img { display: block; width: 100%; height: auto; }
.cars .blk__head { margin-bottom: 18px; }

/* ---------- люди ---------- */
.person { padding: 0; overflow: hidden; }
.person__photo { width: 100%; height: 260px; object-fit: cover; }
.person .card__title { margin: 16px 18px 0; font-size: 17px; }
.person .card__small { margin: 6px 18px 0; }
.person__tag { margin: 10px 18px 18px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- автодромы ---------- */
.drome { padding: 0; overflow: hidden; }
.drome img { width: 100%; height: 240px; object-fit: cover; }
.drome__body { padding: 20px 22px 22px; }
.drome .card__title { margin-top: 0; }

/* ---------- отзывы ---------- */
.quote__text { margin: 0; color: #4e6478; font-size: 13px; line-height: 1.62; }
.quote__name { margin: 16px 0 0; color: var(--navy); font-size: 12px; font-weight: 800; }

/* ---------- видео ---------- */
.video__frame { position: relative; overflow: hidden; border-radius: 6px; padding-top: 56.25%; background: #dfe9f1; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .card__title { margin-top: 16px; font-size: 17px; }

/* ---------- галерея ---------- */
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gal__item { display: block; overflow: hidden; border-radius: 6px; background: #e6eef4; }
.gal__item img { display: block; width: 100%; height: 170px; object-fit: cover; transition: transform .3s ease; }
.gal__item:hover img { transform: scale(1.04); }

/* ---------- FAQ ---------- */
.faq2 { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq2__intro h2 { margin: 0; color: var(--navy-deep); font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.faq2__intro h2 em { color: var(--orange); font-style: normal; }
.faq2__intro .ch__phone { margin-top: 22px; color: var(--navy); }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; padding: 66px 0; color: #fff; background: var(--navy); }
.cta-band::after { position: absolute; right: -140px; bottom: -240px; width: 540px; height: 540px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.cta-band__inner { display: grid; position: relative; z-index: 1; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
.cta-band h2 { margin: 0 0 18px; color: #fff; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.cta-band h2 em { color: var(--orange); font-style: normal; }
.cta-band__copy > p:not(.kicker) { max-width: 460px; margin: 0; color: #c3dbe9; font-size: 14px; line-height: 1.6; }
.cta-band__facts { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.cta-band__facts li { display: flex; align-items: center; gap: 9px; color: #d6e8f3; font-size: 12px; }
.cta-band__facts .ic { color: #8edab6; }
.cta-form { padding: 28px; background: #fff; box-shadow: 0 18px 40px rgba(4,23,44,.25); }
.cta-form__title { margin: 0 0 16px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 20px; }

/* ---------- связанные ---------- */
.rel .text-link { margin-top: auto; padding-top: 14px; font-size: 11px; }

/* ---------- кнопка наверх ---------- */
.scroll-to-top { position: fixed; right: 22px; bottom: 26px; z-index: 60; display: grid; width: 44px; height: 44px; place-content: center; border: 0; border-radius: 50%; color: #fff; background: var(--navy); box-shadow: 0 10px 22px rgba(9,34,63,.3); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease, background .2s ease; }
.scroll-to-top.is-visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--orange-dark); }
.scroll-to-top svg { width: 20px; height: 20px; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .ch__inner { grid-template-columns: 1fr; gap: 34px; }
  .ch__card { max-width: 420px; }
  .price-wrap, .lic, .cars, .age, .faq2, .cta-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .steps2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .blk { padding: 54px 0; }
  .ch__inner { padding: 40px 0 48px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps2 { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal__item img { height: 140px; }
  .person__photo { height: 300px; }
  .ch__facts { gap: 22px; }
  .ch__facts strong { font-size: 22px; }
  .price-pay__row { grid-template-columns: 1fr; gap: 4px; }
  .lic__cards { grid-template-columns: 1fr; }
}

/* ---------- программы (хаб) ---------- */
.prog { padding: 28px; }
.prog__top .card__title { font-size: 26px; margin-top: 6px; }
.prog__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.prog__price { margin: 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: 30px; line-height: 1; }
.prog__price span { font-size: 17px; }
