:root {
  color-scheme: light;
  --brand: #8185c6;
  --slate: #45575f;
  --footer: #2b363b;
  --heading: #070b4a;
  --text: #1a1a1a;
  --shade: #f4f5fd;
  --rule: #dedff1;
  --white: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--white);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.55; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--heading); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 0; left: 20px; padding: 10px; color: var(--heading); background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header__container { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 83px; padding-block: 13px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 13px; text-decoration: none; color: var(--heading); }
.wordmark-name { font-size: 33px; font-weight: 750; letter-spacing: -0.025em; }
.wordmark-location, .header-description { color: var(--slate); font-size: 15px; }
.wordmark img { max-width: 195px; max-height: 52px; object-fit: contain; }
.header__navigations, .pros__background { background: var(--brand); }
.header__navigations__list { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; min-height: 51px; padding: 0; list-style: none; color: var(--heading); }
.header__navigations__list a { display: inline-block; padding: 13px 0; font-weight: 700; text-decoration: none; }
.header__navigations__list a:hover, .pros a:hover { text-decoration: underline; }
.slider__background { display: flex; min-height: 395px; align-items: center; background: var(--shade); }
.slider-with-photo { background-image: var(--hero-photo); background-position: center; background-size: cover; }
.slider { padding-block: 53px 59px; color: var(--heading); }
.slider h1 { max-width: 730px; font-size: clamp(32px, 5vw, 55px); line-height: 1.12; letter-spacing: -0.035em; }
.slider-topics { display: grid; gap: 5px; margin-top: 22px; padding-left: 1.2em; font-size: clamp(17px, 2vw, 20px); color: var(--text); }
.pros__wrapper { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; }
.pros { display: flex; min-height: 77px; align-items: center; padding: 14px; color: var(--heading); font-weight: 700; }
.pros a { text-decoration: none; }
.pros + .pros { border-left: 1px solid #a9abdb; }
.content-section { padding-block: 45px 25px; scroll-margin-top: 20px; }
.title-1 { margin-bottom: 24px; color: var(--heading); font-size: clamp(24px, 3vw, 36px); font-weight: 740; line-height: 1.15; }
.services__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.services__card, .programm__text, .tab__item { background: var(--shade); border: 1px solid var(--rule); border-radius: 8px; }
.services__card { overflow: hidden; min-width: 0; }
.services__card > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.card__info { padding: 19px 19px 23px; }
.title__card { color: var(--heading); font-size: 20px; line-height: 1.25; margin-bottom: 15px; }
.card__text-style-1 { padding-left: 1.15em; }
.card__text-style-1 li + li { margin-top: 5px; }
.programm__block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.programm__text { padding: 22px; }
.programm__text img { width: 100%; max-height: 200px; object-fit: cover; margin-bottom: 20px; }
.faq { padding-bottom: 53px; }
.tab__item { overflow: hidden; }
.tab__item + .tab__item { margin-top: 12px; }
.title__tab { padding: 19px 22px; cursor: pointer; color: var(--heading); font-weight: 700; }
.text__tab { padding: 1px 22px 20px; }
.footer__container { background: var(--footer); color: var(--white); }
.footer__contact { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; padding-block: 32px; }
.footer-brand { font-size: 27px; font-weight: 700; text-decoration: none; }
.footer-lower { padding-block: 13px; background: var(--slate); color: var(--white); }
.page-error { min-height: 350px; }
.page-error h1 { color: var(--heading); margin-bottom: 16px; }
.btn { display: inline-block; padding: 8px 16px; background: var(--brand); color: var(--heading); border-radius: 6px; font-weight: 700; }
@media (max-width: 850px) {
  .services__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 28px); }
  .header__container { min-height: 67px; gap: 10px; }
  .wordmark { gap: 9px; }
  .wordmark-name { font-size: 27px; }
  .wordmark-location { font-size: 13px; }
  .header-description { display: none; }
  .header__navigations__list { gap: 17px; font-size: 14px; }
  .slider__background { min-height: 0; }
  .slider { padding-block: 40px; }
  .pros__wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 14px; }
  .pros { min-height: 56px; padding-inline: 9px; }
  .pros:nth-child(3) { border-left: 0; }
  .pros:nth-child(n+3) { border-top: 1px solid #a9abdb; }
  .content-section { padding-block: 33px 17px; }
  .services__cards, .programm__block { grid-template-columns: 1fr; }
  .programm__text, .card__info, .title__tab { padding: 16px; }
  .text__tab { padding-inline: 16px; }
  .faq { padding-bottom: 40px; }
}

