*,::before,::after{box-sizing:border-box;border-style:solid;border-width:0}

:root {
  --c-black: #000;
  --c-white: #fff;
  --c-panel: #f5f5f5;
  --c-line: #e5e5e5;
  --c-gray: #666;
  --c-gray-light: #969696;
  --c-accent: #aa8250;
  --c-viber: #7360f2;
  --c-telegram: #29a0da;
  --c-whatsapp: #25d366;
  --ff-base: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --ff-latin: "Barlow", sans-serif;
  --px-basic: 1.25rem;
  --header-h: 62px;
}

html {
  font-size: 87.5%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
  margin: 0;
  font-family: var(--ff-base);
  font-weight: 500;
  line-height: 1.6;
  color: var(--c-black);
  background-color: var(--c-white);
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{font-size:inherit;font-weight:inherit;margin:0}
p,address,figure{margin:0}
ul{margin:0;padding:0;list-style:none}
address{font-style:normal}
img{max-width:100%;height:auto;flex-shrink:0;vertical-align:bottom}

a {
  color: inherit;
  text-decoration: none;
  transition: color .3s, opacity .3s;
}
@media(hover: hover){a:hover{opacity:.7}}

button {
  font: inherit;
  color: inherit;
  background-color: rgba(0,0,0,0);
  border: none;
  padding: 0;
  cursor: pointer;
}

.is-noscroll { overflow-y: hidden; }

.root-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main { flex: 1; }

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: var(--px-basic);
  padding-right: var(--px-basic);
}

/* --- header ----------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  background-color: hsla(0,0%,100%,.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: .75rem;
}

.header__logo {
  padding: .625rem 0 .625rem 1.25rem;
  flex-shrink: 0;
}
.header__logo img {
  display: block;
  width: 112px;
  height: auto;
  transition: width .3s;
}
.header.is-header-scrolled .header__logo img { width: 98px; }

.header__actions {
  display: flex;
  align-items: center;
  padding-right: 1.25rem;
  flex-shrink: 0;
}

.header__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 38px;
  padding: 0 .875rem;
  border: 1px solid var(--c-black);
  border-radius: 19px;
}

.header__tel-icon {
  display: block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background-color: var(--c-black);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C11 21 3 13 3 3c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C11 21 3 13 3 3c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center/contain;
}

.header__tel-num {
  font-family: var(--ff-latin);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .02em;
  white-space: nowrap;
  line-height: 1;
}

/* на вузьких екранах меню лягає другим рядом і скролиться вбік */
.header__nav {
  order: 3;
  width: 100%;
  border-top: 1px solid var(--c-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.header__nav::-webkit-scrollbar { display: none; }

.header__menu-list {
  display: flex;
  gap: 1.25rem;
  padding: 0 1.25rem;
  width: max-content;
  min-width: 100%;
}

.header__menu-list a {
  display: block;
  padding: .8125rem 0;
  font-size: .9375rem;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid rgba(0,0,0,0);
  line-height: 1.2;
}
.header__menu-list a.is-current { border-bottom-color: var(--c-accent); }
@media(hover: hover){
  .header__menu-list a:hover { opacity: 1; border-bottom-color: var(--c-line); }
}

/* --- first view ------------------------------------------------------- */

.fv {
  overflow: hidden;
  min-height: 300px;
  padding-top: 1.75rem;
}

.fv__copy { padding: 0 4vw; }

.fv__title {
  font-size: clamp(2.05rem, 8.9vw, 2.8rem);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.01em;
}

.fv__subtitle {
  font-family: var(--ff-latin);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .03em;
  width: max-content;
  margin-top: 1rem;
  color: var(--c-accent);
}

.top-slider {
  overflow: hidden;
  margin-top: 1.5rem;
}

.top-slider__list {
  display: flex;
  width: max-content;
  animation: strip-scroll 60s linear infinite;
}

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.top-slider__slide {
  width: 58vw;
  max-width: 320px;
  padding-right: 8px;
  flex-shrink: 0;
}
.top-slider__slide img {
  width: 100%;
  aspect-ratio: 940/1064;
  object-fit: cover;
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .top-slider__list { animation: none; }
}

/* --- fixed messenger bar ---------------------------------------------- */

.cta--fixed {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 0 .75rem .75rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s cubic-bezier(0.23, 1.17, 0.46, 1), opacity .5s cubic-bezier(0.23, 1.17, 0.46, 1);
}
.cta--fixed.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cta-links {
  display: flex;
  gap: .5rem;
  max-width: 1092px;
  margin: 0 auto;
}
.cta-links__item { flex: 1; }

.cta-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 10px;
  padding-top: 12px;
  border-radius: 10px;
  height: 68px;
  text-align: center;
  font-weight: 700;
  color: var(--c-white);
  width: 100%;
  row-gap: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.cta-button--viber { background-color: var(--c-viber); }
.cta-button--telegram { background-color: var(--c-telegram); }
.cta-button--whatsapp { background-color: var(--c-whatsapp); }

.cta-button__text {
  display: block;
  font-size: clamp(.75rem, 3.2vw, .875rem);
  line-height: 1;
}

.cta-button__icon {
  display: block;
  width: 22px;
  height: 22px;
  background-color: var(--c-white);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.cta-button__icon--viber {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c-4.6 0-8.4 3-8.4 6.8 0 2.1 1.1 4 2.9 5.2v3.9l3.1-1.9c.8.2 1.6.3 2.4.3 4.6 0 8.4-3 8.4-6.8S16.6 1.5 12 1.5zm4.6 14.9c-.4.4-1 .6-1.6.5-2.6-.4-5-1.7-6.9-3.6-1.9-1.9-3.2-4.3-3.6-6.9 0-.6.2-1.2.6-1.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c-4.6 0-8.4 3-8.4 6.8 0 2.1 1.1 4 2.9 5.2v3.9l3.1-1.9c.8.2 1.6.3 2.4.3 4.6 0 8.4-3 8.4-6.8S16.6 1.5 12 1.5zm4.6 14.9c-.4.4-1 .6-1.6.5-2.6-.4-5-1.7-6.9-3.6-1.9-1.9-3.2-4.3-3.6-6.9 0-.6.2-1.2.6-1.6'/%3E%3C/svg%3E");
}

.cta-button__icon--telegram {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.8 4.2L2.9 11.5c-1 .4-1 1 .2 1.3l4.8 1.5 1.8 5.5c.2.6.1.9.8.9.5 0 .7-.2 1-.5l2.3-2.3 4.8 3.6c.9.5 1.5.2 1.7-.8l3.1-14.6c.3-1.3-.5-1.9-1.6-1.4zM8.9 14.1l10.3-6.5c.5-.3 1-.1.6.2l-8.8 8-.3 3.6-1.8-5.3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.8 4.2L2.9 11.5c-1 .4-1 1 .2 1.3l4.8 1.5 1.8 5.5c.2.6.1.9.8.9.5 0 .7-.2 1-.5l2.3-2.3 4.8 3.6c.9.5 1.5.2 1.7-.8l3.1-14.6c.3-1.3-.5-1.9-1.6-1.4zM8.9 14.1l10.3-6.5c.5-.3 1-.1.6.2l-8.8 8-.3 3.6-1.8-5.3z'/%3E%3C/svg%3E");
}

.cta-button__icon--whatsapp {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 00-8.6 15L2 22l5.2-1.4A10 10 0 1012 2zm5.5 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-1.7-.1-.4-.1-.9-.3-1.5-.6-2.7-1.2-4.4-3.9-4.5-4.1-.1-.2-1.1-1.4-1.1-2.7 0-1.3.7-1.9.9-2.2.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.3.5-.3.3c-.1.1-.3.3-.1.6.2.3.7 1.2 1.6 2 1.1 1 2 1.3 2.3 1.4.3.1.4.1.6-.1l.9-1c.2-.2.4-.2.6-.1l2 .9c.2.1.4.2.4.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 00-8.6 15L2 22l5.2-1.4A10 10 0 1012 2zm5.5 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-1.7-.1-.4-.1-.9-.3-1.5-.6-2.7-1.2-4.4-3.9-4.5-4.1-.1-.2-1.1-1.4-1.1-2.7 0-1.3.7-1.9.9-2.2.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .5l-.3.5-.3.3c-.1.1-.3.3-.1.6.2.3.7 1.2 1.6 2 1.1 1 2 1.3 2.3 1.4.3.1.4.1.6-.1l.9-1c.2-.2.4-.2.6-.1l2 .9c.2.1.4.2.4.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E");
}

/* --- footer ----------------------------------------------------------- */

.footer__content {
  padding-top: 3.625rem;
  padding-bottom: 8rem;
  border-top: 1px solid var(--c-line);
  margin-top: 4rem;
}

.footer__logo { margin-bottom: 2.5rem; }
.footer__logo img { width: 150px; }

.footer__menu-list > .menu-item > a {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: .375rem 0;
}

.footer__lower-row { margin-top: 2.375rem; }

.footer__company-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__address {
  font-size: 1.0625rem;
  line-height: 1.66;
}
.footer__tel-link { border-bottom: 1px solid var(--c-line); }

.footer__msg {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: 1.75rem;
}

.footer__msg-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 40px;
  border-radius: 20px;
  color: var(--c-white);
  font-size: .9375rem;
  font-weight: 700;
  padding: 0 1rem;
}
.footer__msg-link--viber { background-color: var(--c-viber); }
.footer__msg-link--telegram { background-color: var(--c-telegram); }
.footer__msg-link--whatsapp { background-color: var(--c-whatsapp); }

.footer__sub-nav { margin-top: 2.375rem; }
.footer__sub-menu-item { padding: .25rem 0; }
.footer__sub-menu-link {
  font-size: .9375rem;
  color: var(--c-gray);
}

.footer__copyright {
  margin-top: 3.5rem;
  font-size: .9375rem;
  font-family: var(--ff-latin);
  color: var(--c-gray-light);
}

/* --- breakpoints, mobile first ---------------------------------------- */

@media screen and (min-width: 576px) {
  .container { max-width: 516px; }
  .top-slider__slide { width: 40vw; }
  .cta-button { height: 72px; }
}

@media screen and (min-width: 768px) {
  :root { --px-basic: 2.5rem; }
  .container { max-width: 696px; }
  :root { --header-h: 72px; }
  .header__logo { padding: .875rem 0 .875rem 2.5rem; }
  .header__logo img { width: 132px; }
  .header__actions { padding-right: 2.5rem; }
  .header__tel { height: 40px; padding: 0 1.125rem; }
  .header__tel-num { font-size: 1rem; }
  .header__menu-list { gap: 1.75rem; padding: 0 2.5rem; }
  .fv { padding-top: 2.5rem; }
  .fv__copy { padding: 0 2.5rem; }
  .fv__title { font-size: 3.4rem; line-height: 1.19; margin-left: -0.06em; }
  .fv__subtitle {
    font-size: 1.375rem;
    text-align: right;
    width: 100%;
    position: relative;
    top: -1.375rem;
    padding-right: 2.5rem;
  }
  .top-slider { margin-top: .9375rem; }
  .top-slider__slide { width: 31vw; padding-right: 12px; }
  .top-slider__slide img { border-radius: 15px; }
  .footer__content { padding-bottom: 6rem; }
}

@media screen and (min-width: 992px) {
  .container { max-width: 912px; }
  .fv__title { font-size: 4.6rem; }
  .header__nav { order: 0; width: auto; border-top: none; overflow: visible; margin-left: auto; }
  .header__menu-list { gap: 1.5rem; padding: 0 1.5rem 0 0; width: auto; min-width: 0; }
  .header__menu-list a { padding: 1.5rem 0; }
  .footer__lower-row { display: flex; justify-content: space-between; align-items: flex-end; }
  .footer__col--end { text-align: right; }
  .footer__copyright { margin-top: 0; }
}

@media screen and (min-width: 1200px) {
  .container { max-width: 1092px; }
  :root { --header-h: 86px; }
  .header__logo { padding: 1.375rem 0 1.375rem 3.125rem; }
  .header__logo img { width: 162px; }
  .header.is-header-scrolled .header__logo img { width: 132px; }
  .header__actions { padding-right: 3.125rem; }
  .header__tel { border: none; padding: 0; height: auto; }
  .header__tel-icon { width: 18px; height: 18px; }
  .header__tel-num { font-size: 1.375rem; }
  .header__nav { order: 0; width: auto; border-top: none; overflow: visible; margin-left: auto; }
  .header__menu-list { gap: 2rem; padding: 0 2rem 0 0; width: auto; min-width: 0; }
  .header__menu-list a { padding: 1.75rem 0; font-size: 1rem; }
  .fv__copy { padding: 0 3.125rem; }
  .fv__title { font-size: 5.7rem; }
  .top-slider__slide { width: 23vw; }
  .footer__upper-row { display: flex; justify-content: space-between; align-items: flex-start; }
  .footer__menu-list { display: flex; gap: .5rem 1.875rem; flex-wrap: wrap; }
  .footer__content { padding-top: 6.25rem; padding-bottom: 3.75rem; }
  .footer__logo { margin-bottom: 3.125rem; }
  .footer__company-name { font-size: 1rem; }
  .footer__address { font-size: .9375rem; }
  .cta--fixed { padding-bottom: 1.25rem; }
  .cta-links { max-width: 640px; margin-right: 1.25rem; margin-left: auto; }
}

@media screen and (min-width: 1400px) {
  html { font-size: 100%; }
  .container { max-width: 1296px; }
  .container--normal { max-width: 1520px; }
  .top-slider__slide { width: 19vw; }
}

/* лишилось від першого варіанту шапки, поки не чіпаю
.header__inner--scrolled { display: none; }
*/

/* =========================================================
   секції головної
   ========================================================= */

.c-section-text {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1.25rem 0;
}

.c-section-text__en-heading {
  font-family: var(--ff-latin);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: .03em;
  line-height: 1;
}

.c-section-text__main-heading {
  font-size: clamp(1.9rem, 8.3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.33;
  margin-top: .75rem;
}

.c-section-text__description {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.95;
  margin-top: 1.4375rem;
  letter-spacing: .01em;
  max-width: 62ch;
}

.c-section-text__en-heading--white,
.c-section-text__main-heading--white,
.c-section-text__description--white { color: var(--c-white); }

.c-button-link-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  padding-top: 1.5625rem;
}

.c-button-link {
  display: flex;
  align-items: center;
  column-gap: 1.25rem;
  height: 2.875rem;
  line-height: 1;
}

.c-button-link__text {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.c-button-link__text--white { color: var(--c-white); }

.c-button-link__circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--c-black);
  position: relative;
  flex-shrink: 0;
  transition: transform .3s;
}
.c-button-link__circle--white { background-color: var(--c-white); }

.c-button-link__icon {
  display: block;
  width: 9px;
  height: 9px;
  margin: auto;
  position: absolute;
  inset: 0;
  border-top: 2px solid var(--c-white);
  border-right: 2px solid var(--c-white);
  transform: rotate(45deg);
  left: -3px;
}
.c-button-link__icon--black { border-color: var(--c-black); }

@media(hover: hover){
  .c-button-link:hover { opacity: 1; }
  .c-button-link:hover .c-button-link__circle { transform: scale(1.2); }
}

/* про школу + стрічка */

.l-about { padding-top: 3rem; padding-bottom: 1.5rem; }

.about-strip { overflow: hidden; margin-top: 1.875rem; }

.about-strip__list {
  display: flex;
  gap: .625rem;
  padding: 0 var(--px-basic);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.about-strip__item {
  flex: 0 0 82%;
  scroll-snap-align: start;
}
.about-strip__item img {
  width: 100%;
  aspect-ratio: 82/56;
  object-fit: cover;
  border-radius: .9375rem;
}

/* ціни */

.l-courses { padding-top: 3rem; }

.l-courses__panel {
  background-color: var(--c-panel);
  padding: 3.25rem var(--px-basic) 3.875rem;
}

.c-price-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.875rem;
}

.c-price-card {
  background-color: var(--c-white);
  border-radius: 1.25rem;
  padding: 1.75rem 1.75rem 2rem;
}
.c-price-card--accent { box-shadow: inset 0 0 0 2px var(--c-accent); }

.c-price-card__label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-gray);
}

.c-price-card__sum {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: .375rem;
  font-family: var(--ff-latin);
}
.c-price-card__sum span {
  font-family: var(--ff-base);
  font-size: 1.125rem;
  font-weight: 700;
}

.c-price-card__rows { margin-top: 1.25rem; }
.c-price-card__rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .625rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: .9375rem;
}
.c-price-card__rows li span { color: var(--c-gray-light); }
.c-price-card__rows li b { font-weight: 700; text-align: right; }

.c-price-card__note {
  margin-top: 1.125rem;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--c-gray);
}

.c-price-extra { margin-top: 1.875rem; }
.c-price-extra__line {
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  padding-left: 1.25rem;
}
.c-price-extra__line::before {
  content: "";
  position: absolute;
  top: .8125em;
  left: 2px;
  width: 8px;
  height: 8px;
  background-color: var(--c-accent);
  border-radius: 50%;
}
.c-price-extra__note {
  margin-top: 1rem;
  font-size: .875rem;
  color: var(--c-gray-light);
  line-height: 1.7;
}

/* як іде навчання */

.l-steps { padding-top: 3.75rem; }

.c-step-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.c-step {
  background-color: var(--c-panel);
  border-radius: 1.25rem;
  padding: 1.75rem 1.75rem 2rem;
}

.c-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--c-accent);
  color: var(--c-white);
  font-family: var(--ff-latin);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1;
  padding-bottom: .125rem;
}

.c-step__ttl {
  font-size: 1.3125rem;
  font-weight: 800;
  line-height: 1.45;
  margin-top: 1.125rem;
}

.c-step__text {
  font-size: 1rem;
  line-height: 1.85;
  margin-top: .625rem;
  color: #333;
}

.c-rules {
  margin-top: 2.5rem;
  border-top: 2px solid var(--c-black);
  padding-top: 1.875rem;
}

.c-rules__ttl {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.125rem;
}

.c-rules__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .875rem;
  font-size: 1rem;
  line-height: 1.8;
}
.c-rules__list li::before {
  content: "";
  position: absolute;
  top: .75em;
  left: 2px;
  width: 8px;
  height: 8px;
  background-color: var(--c-accent);
  border-radius: 50%;
}

/* чому ми */

.l-why { padding-top: 3.75rem; }

.c-why-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.c-why-tile {
  position: relative;
  background-color: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 1.25rem;
  overflow: hidden;
  padding: 1.75rem 3.75rem 1.875rem 1.75rem;
}

.c-why-tile__ttl {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
}

.c-why-tile__text {
  font-size: 1rem;
  line-height: 1.85;
  margin-top: .625rem;
  color: #333;
}

.c-why-tile__bar {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 34px;
}
.c-why-tile__bar--brown { background-color: var(--c-accent); }
.c-why-tile__bar--navy { background-color: #505d75; }

/* інструктори */

.l-team { padding-top: 3.75rem; }

.c-team-grid {
  display: flex;
  gap: 1rem;
  margin-top: 1.875rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
}

.c-team-card {
  flex: 0 0 76%;
  scroll-snap-align: start;
}

.c-team-card__photo {
  border-radius: .9375rem;
  overflow: hidden;
}
.c-team-card__photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.2, 0.12, 0.2, 1);
}
@media(hover: hover){
  .c-team-card:hover .c-team-card__photo img { transform: scale(1.08); opacity: .9; }
}

.c-team-card__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  background-color: var(--c-accent);
  padding: 4px 10px;
  min-width: 65px;
  font-size: .875rem;
  border-radius: .3125rem;
  margin-top: 1rem;
}

.c-team-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: .5rem;
}

.c-team-card__meta {
  font-size: .875rem;
  color: var(--c-gray-light);
  margin-top: .1875rem;
}

.c-team-card__text {
  font-size: 1rem;
  line-height: 1.8;
  margin-top: .75rem;
  color: #333;
}

/* відгуки */

.l-reviews { padding-top: 3.75rem; }

.c-review-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.c-review {
  background-color: var(--c-panel);
  border-radius: 1.25rem;
  padding: 1.625rem 1.75rem 1.875rem;
}

.c-review__head {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1rem;
}

.c-review__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.c-review__name { font-size: 1.0625rem; font-weight: 700; line-height: 1.2; }
.c-review__date { font-size: .875rem; color: var(--c-gray-light); }

.c-review__text {
  font-size: 1rem;
  line-height: 1.85;
}

/* faq */

.l-faq { padding-top: 3.75rem; }

.c-faq-head { padding-bottom: 1.5rem; }

.c-faq-item {
  border-bottom: 1px solid var(--c-line);
}
.c-faq-item:first-child { border-top: 1px solid var(--c-line); }

.c-faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}
.c-faq-item__q::-webkit-details-marker { display: none; }

.c-faq-item__q::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-black);
  border-bottom: 2px solid var(--c-black);
  transform: rotate(45deg);
  transition: transform .3s;
  position: relative;
  top: -3px;
}
.c-faq-item[open] .c-faq-item__q::after { transform: rotate(-135deg); top: 2px; }

.c-faq-item__a p {
  font-size: 1rem;
  line-height: 1.85;
  padding-bottom: 1.375rem;
  color: #333;
  max-width: 70ch;
}

/* контакти */

.l-contacts { padding-top: 3.75rem; }

.c-contacts {
  background-color: var(--c-panel);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 2.25rem;
}

.c-contacts__lead {
  font-size: 1rem;
  line-height: 1.85;
  margin-top: 1.25rem;
  color: #333;
}

.c-contacts__block {
  padding: 1rem 0;
  border-bottom: 1px solid #dedede;
}
.c-contacts__block:first-of-type { border-top: 1px solid #dedede; margin-top: 1.75rem; }

.c-contacts__label {
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gray-light);
  margin-bottom: .25rem;
}

.c-contacts__value {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
}

.c-contacts__msg {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: 1.5rem;
}

/* seo */

.l-seo { padding-top: 3.75rem; }

.c-seo__ttl {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 1.125rem;
}

.c-seo p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1rem;
  color: #333;
}
.c-seo b { font-weight: 700; color: var(--c-black); }

/* нижній заклик */

.l-cta { padding-top: 3.75rem; }

.c-cta__content {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 1.75rem 3rem;
  border-radius: 1rem;
}

.c-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.c-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,.45);
}
.c-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-cta__content .c-section-text { position: relative; z-index: 1; }

@media screen and (min-width: 768px) {
  .l-about { padding-top: 5rem; }
  .about-strip__item { flex-basis: 46%; }
  .l-courses__panel { border-radius: 1.4375rem; padding: 2.1875rem; }
  .c-price-list { flex-direction: row; }
  .c-price-card { flex: 1; }
  .c-step-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .c-why-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .c-review-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .c-team-card { flex-basis: 38%; }
  .c-contacts { display: flex; gap: 2.5rem; padding: 2.75rem 2.5rem 3rem; }
  .c-contacts__col { flex: 1; }
  .c-contacts__block:first-of-type { margin-top: 0; border-top: none; }
  .c-cta__content { padding: 3.75rem; }
  .c-section-text__main-heading { font-size: 2.6rem; }
}

@media screen and (min-width: 992px) {
  .c-section-text { flex-wrap: nowrap; align-items: flex-end; }
  .c-button-link-wrap { width: auto; justify-content: flex-end; padding-bottom: .375rem; }
  .c-section-text__main-heading { font-size: 3.25rem; line-height: 1.23; margin-top: 1.125rem; }
  .c-section-text__description { font-size: 1.0625rem; margin-top: 1.75rem; }
  .l-steps, .l-why, .l-team, .l-reviews, .l-faq, .l-contacts, .l-seo, .l-cta { padding-top: 5.5rem; }
  .c-step-grid { grid-template-columns: repeat(4, 1fr); }
  .c-team-grid { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); }
  .c-team-card { flex: none; }
  .about-strip__item { flex-basis: 31%; }
  .c-faq-row { display: flex; gap: 4rem; align-items: flex-start; }
  .c-faq-head { width: 320px; flex-shrink: 0; position: sticky; top: 100px; }
  .c-faq-list { flex: 1; }
  .c-seo__ttl { font-size: 1.75rem; }
  .c-seo p { font-size: 1.0625rem; }
}

@media screen and (min-width: 1200px) {
  .l-courses__panel { padding: 3.75rem; }
  .c-price-list { gap: 1.875rem; }
  .c-price-card { border-radius: 2rem; padding: 2.25rem 2.1875rem 2rem; }
  .c-why-tile { border-radius: 2rem; padding: 2.25rem 5rem 2.375rem 2.1875rem; }
  .c-why-tile__bar { width: 56px; }
  .c-step { border-radius: 2rem; padding: 2.25rem 2rem 2.375rem; }
  .c-contacts { border-radius: 2rem; padding: 3.5rem 3.25rem; }
  .c-cta__content { padding: 6.875rem; }
}

/* =========================================================
   внутрішні сторінки
   ========================================================= */

.child-fv {
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-line);
}

.child-fv__sub-ttl {
  font-size: clamp(3.5rem, 14vw, 5rem);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
  text-transform: capitalize;
  color: var(--c-accent);
  letter-spacing: -0.02em;
}

.child-fv__ttl {
  font-size: clamp(1.5rem, 6.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.35;
  margin-top: .625rem;
}

.child-fv__lead {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-top: 1.125rem;
  max-width: 64ch;
  color: #333;
}

.child-fv__upd {
  font-family: var(--ff-latin);
  font-size: .9375rem;
  color: var(--c-gray-light);
  margin-top: .875rem;
}

.child-fv--dark {
  background-color: var(--c-black);
  color: var(--c-white);
  border-bottom: none;
}
.child-fv--dark .child-fv__lead { color: #cdcdcd; }
.child-fv--dark .child-fv__sub-ttl { color: #fff; opacity: .16; }

.child-fv--legal .child-fv__sub-ttl { font-size: clamp(2.6rem, 11vw, 3.6rem); }

/* таблиця цін */

.l-tbl { padding-top: 2.75rem; }

.c-tbl-wrap { width: 100%; }

.c-tbl {
  width: 100%;
  border-collapse: collapse;
}

.c-tbl__th {
  display: none;
}

.c-tbl td {
  display: block;
  padding: .5rem 0;
  font-size: 1rem;
}
.c-tbl td::before {
  content: attr(data-label);
  display: block;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gray-light);
  margin-bottom: .125rem;
}
.c-tbl td[data-label="Курс"]::before { display: none; }

.c-tbl tbody tr {
  display: block;
  padding: 1.25rem 0 1.375rem;
  border-bottom: 1px solid var(--c-line);
}
.c-tbl tbody tr:first-child { border-top: 2px solid var(--c-black); }

.c-tbl b { font-size: 1.125rem; font-weight: 800; }

.c-tbl__sub {
  display: block;
  font-size: .875rem;
  color: var(--c-gray);
  margin-top: .125rem;
}

.c-tbl__price {
  font-family: var(--ff-latin);
  font-size: 1.5rem;
  font-weight: 700;
}

.c-tbl__note {
  margin-top: 1.5rem;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--c-gray);
}

/* що входить / не входить */

.l-incl { padding-top: 3rem; }

.c-incl { display: flex; flex-direction: column; gap: 1.5rem; }

.c-incl__col {
  background-color: var(--c-panel);
  border-radius: 1.25rem;
  padding: 1.75rem 1.75rem 2rem;
}
.c-incl__col--out { background-color: transparent; border: 1px solid var(--c-line); }

.c-incl__ttl {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.c-incl__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .75rem;
  font-size: 1rem;
  line-height: 1.75;
}
.c-incl__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .625rem;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}
.c-incl__list--out li::before {
  width: 11px;
  height: 0;
  border-left: none;
  border-bottom: 2px solid #c9c9c9;
  transform: none;
  top: 0.9rem;
}

/* оплата */

.l-pay { padding-top: 3rem; }

.l-pay__panel {
  background-color: var(--c-panel);
  padding: 2.5rem var(--px-basic) 3rem;
}

.c-pay-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.c-pay-card {
  background-color: var(--c-white);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.625rem;
}

.c-pay-card__num {
  font-family: var(--ff-latin);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-accent);
  margin-bottom: .625rem;
}

.c-pay-card__text { font-size: 1rem; line-height: 1.8; }

.c-pay-note {
  margin-top: 1.5rem;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--c-gray);
}

/* механіка чи автомат */

.l-choice { padding-top: 3rem; }

.c-choice { display: flex; flex-direction: column; gap: 1.5rem; }

.c-choice__img { border-radius: .9375rem; overflow: hidden; }
.c-choice__img img { width: 100%; aspect-ratio: 82/56; object-fit: cover; }

.c-choice__ttl {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  margin: .625rem 0 1rem;
}

.c-choice__txt p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: .875rem;
}

.c-choice__ps {
  border-left: 3px solid var(--c-accent);
  padding-left: 1rem;
  color: var(--c-gray);
  margin-bottom: 0;
}

/* сім кроків */

.l-road { padding-top: 3rem; }

.c-road {
  position: relative;
  padding-left: 1.75rem;
  border-left: 1px solid var(--c-line);
}

.c-road__step {
  position: relative;
  padding-bottom: 2.25rem;
}
.c-road__step:last-child { padding-bottom: 0; }

.c-road__dot {
  position: absolute;
  left: -2.125rem;
  top: .4375rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--c-white);
  border: 2px solid var(--c-accent);
}

.c-road__no {
  font-family: var(--ff-latin);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.c-road__ttl {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin: .25rem 0 .5rem;
}

.c-road__text {
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
  max-width: 68ch;
}

/* документи і збори */

.l-docs { padding-top: 3rem; }

.c-docs { display: flex; flex-direction: column; gap: 1.5rem; }

.c-docs__col {
  border-top: 2px solid var(--c-black);
  padding-top: 1.5rem;
}

.c-docs__ttl {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.c-docs__list li {
  padding: .625rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.0625rem;
}

.c-docs__ps {
  margin-top: 1rem;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--c-gray);
}

.c-fees li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 1rem;
}
.c-fees b { font-weight: 700; text-align: right; }

/* на чому валяться */

.l-fail { padding-top: 3rem; }

.c-fail {
  background-color: var(--c-black);
  color: var(--c-white);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 2.25rem;
}

.c-fail__ttl { font-size: 1.5rem; font-weight: 800; line-height: 1.35; }

.c-fail__lead {
  margin-top: .75rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #cdcdcd;
}

.c-fail__list { margin-top: 1.5rem; }
.c-fail__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #eaeaea;
}
.c-fail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--c-accent);
}
.c-fail__list b { color: var(--c-white); font-weight: 800; }

.c-fail__ps {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #444;
  font-size: .9375rem;
  line-height: 1.8;
  color: #b2b2b2;
}

/* юридичні сторінки */

.l-legal { padding-top: 2.5rem; }

.c-legal { max-width: 100%; }

.c-legal p {
  font-size: 1.0625rem;
  line-height: 1.95;
  margin-bottom: 1.125rem;
}
.c-legal p:first-child {
  font-size: 1.125rem;
  font-weight: 600;
}
.c-legal p:last-child { margin-bottom: 0; }

@media screen and (min-width: 768px) {
  .child-fv { padding-top: 3.25rem; padding-bottom: 3.25rem; }
  .l-tbl { padding-top: 3.75rem; }

  .c-tbl__th {
    display: table-cell;
    text-align: left;
    font-size: .8125rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-gray-light);
    padding: 0 1rem 1rem 0;
    border-bottom: 2px solid var(--c-black);
  }
  .c-tbl__th--course { width: 40%; }
  .c-tbl__th--term { width: 18%; }
  .c-tbl__th--hours { width: 24%; }
  .c-tbl__th--price { width: 18%; }

  .c-tbl tbody tr { display: table-row; }
  .c-tbl tbody tr:first-child { border-top: none; }
  .c-tbl td {
    display: table-cell;
    padding: 1.25rem 1rem 1.375rem 0;
    border-bottom: 1px solid var(--c-line);
    vertical-align: top;
  }
  .c-tbl td::before { display: none; }
  .c-tbl__price { white-space: nowrap; }

  .c-incl { flex-direction: row; }
  .c-incl__col { flex: 1; }
  .c-docs { flex-direction: row; gap: 2.5rem; }
  .c-docs__col { flex: 1; }
  .c-pay-grid { flex-direction: row; }
  .c-pay-card { flex: 1; }
  .l-pay__panel { border-radius: 1.4375rem; padding: 2.5rem; }
  .c-choice { flex-direction: row; align-items: center; gap: 2.5rem; }
  .c-choice__img { flex: 0 0 44%; }
  .c-fail { padding: 2.75rem 2.5rem 3rem; }
}

@media screen and (min-width: 992px) {
  .child-fv { padding-top: 4.5rem; padding-bottom: 4rem; }
  .child-fv__ttl { font-size: 2.6rem; }
  .l-incl, .l-pay, .l-choice, .l-road, .l-docs, .l-fail, .l-legal { padding-top: 5rem; }
  .c-road { padding-left: 2.5rem; }
  .c-road__dot { left: -2.9rem; }
  .c-legal p { font-size: 1.0625rem; line-height: 2; }
  .c-fail__ttl { font-size: 1.9rem; }
}

@media screen and (min-width: 1200px) {
  .child-fv__ttl { font-size: 3.25rem; }
  .c-fail { border-radius: 2rem; padding: 3.5rem 3.25rem; }
  .l-pay__panel { padding: 3.75rem; }
}
