@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Garamond";
  src: url("fonts/garamond-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-dark: #606060;
  --color-orange: #df925e;
  --color-gold: #bf8d26;
  --color-white: #ffffff;
  --container: 1400px;
  --page-padding: clamp(24px, 5vw, 96px);
  --header-height: 156px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-dark);
  background: var(--color-white);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--container), calc(100% - var(--page-padding) - 24px));
  max-width: 1400px;
  margin: 0;
  margin-inline-start: var(--page-padding);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 5px 16px rgb(45 42 37 / 0%);
  transition: box-shadow 200ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 5px 16px rgb(45 42 37 / 6%);
}

main>section {
  scroll-margin-top: var(--header-height);
}

.site-header__inner {
  width: calc(100% - (var(--page-padding) * 2));
  max-width: none;
  margin-inline: var(--page-padding);
  display: grid;
  grid-template-columns: 296px 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  column-gap: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 14px;
  color: var(--color-gold);
}

.brand__mark {
  width: 95px;
  height: 118px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-family: "Garamond", Georgia, serif;
  font-weight: 400;
  line-height: 1;
}

.brand__text>span {
  font-size: 48px;
  letter-spacing: -0.055em;
}

.brand__text small {
  margin-left: -4px;
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(17px, 1.25vw, 24px);
  white-space: nowrap;
}

.site-nav a,
.header-contact {
  font-size: clamp(25px, 1.62vw, 31px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.3;
  transition: color 160ms ease, opacity 160ms ease;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease, color 160ms ease, font-weight 160ms ease;
}

.site-nav a:hover {
  border-bottom-color: currentColor;
  font-weight: 700;
}

.header-contact:hover {
  color: var(--color-orange);
}

.header-contacts {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(18px, 1.55vw, 30px);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(21px, 1.4vw, 27px);
  white-space: nowrap;
}

.header-contact img {
  width: 22px;
  height: 29px;
  object-fit: contain;
}

.header-contact:first-child img {
  width: 24px;
  height: 33px;
}

.header-contact:last-child {
  font-weight: 400;
}

.header-contact__phone {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  fill: var(--color-orange);
}

.menu-toggle {
  display: none;
  width: 45px;
  height: 42px;
  padding: 10px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 99px;
  background: var(--color-dark);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.mobile-nav[hidden] {
  display: none !important;
}

.hero {
  position: relative;
  min-height: calc(1080px - var(--header-height));
  overflow: clip;
  isolation: isolate;
}

.hero__inner {
  min-height: inherit;
}

.hero__content {
  width: min(100%, 1060px);
  padding: 27px 0 130px;
}

.hero__eyebrow,
.hero__copy,
.hero__content>.button {
  position: relative;
  z-index: 3;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin: 0 0 59px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.hero__eyebrow>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 30px;
  border-radius: 999px;
}

.eyebrow__age {
  color: var(--color-white);
  background: #8e8e8e;
}

.eyebrow__audience {
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid rgb(0 0 0 / 18%);
}

.hero h1 {
  max-width: 1060px;
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(72px, 5.5vw, 106px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.hero__title-accent {
  color: var(--color-orange);
}

.hero__subhead {
  max-width: 835px;
  margin: 62px 0 93px;
  font-size: clamp(34px, 2.92vw, 56px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.18;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 630px;
  min-height: 133px;
  padding: 28px 56px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button--primary {
  color: var(--color-white);
  background: var(--color-orange);
  box-shadow: 0 12px 20px rgb(223 146 94 / 18%);
}

.button--primary:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: var(--color-white);
  transform: translateY(-2px);
}

.hero__grid,
.hero__crest,
.hero__visual {
  position: absolute;
  pointer-events: none;
}

.hero__grid {
  z-index: 0;
  top: 21px;
  left: calc(50% - 40px);
  width: min(1001px, 55vw);
}

.hero__grid img {
  width: 100%;
}

.hero__crest {
  z-index: 1;
  top: 199px;
  left: calc(50% + 180px);
  width: min(469px, 24.4vw);
}

.hero__crest img {
  width: 100%;
  opacity: 0.96;
}

.hero__visual {
  z-index: 2;
  top: 64px;
  left: calc(50% + 60px);
  width: min(670px, 34.9vw);
}

.hero__visual img {
  width: 100%;
}

.hero__art {
  display: contents;
}

.header-mobile-contact {
  display: none;
}

:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 4px;
}

@media (max-width: 1500px) {
  :root {
    --page-padding: clamp(24px, 4vw, 60px);
  }

  .site-header__inner {
    grid-template-columns: minmax(185px, 1fr) auto minmax(260px, 1fr);
  }

  .site-nav {
    gap: clamp(14px, 1.8vw, 27px);
  }

  .site-nav a,
  .header-contact {
    font-size: clamp(21px, 1.55vw, 27px);
  }

  .hero__content {
    padding-top: clamp(86px, 8.2vw, 126px);
  }

  .hero__grid {
    left: calc(50% + 15px);
    width: min(1001px, 61vw);
  }

  .hero__crest {
    top: 185px;
    left: calc(50% + 174px);
  }

  .hero__visual {
    top: 79px;
    left: calc(50% + 115px);
    width: min(670px, 39vw);
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 92px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav,
  .header-contacts {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-nav:not([hidden]) {
    display: grid;
    position: absolute;
    z-index: 20;
    top: calc(100% - 6px);
    right: 0;
    left: 0;
    width: 100%;
    gap: 2px;
    padding: 16px;
    border-radius: 0;
    background: var(--color-white);
    box-shadow: 0 18px 45px rgb(53 53 53 / 16%);
  }

  .mobile-nav a {
    padding: 12px 10px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 500;
  }

  .mobile-nav a:last-child {
    margin-top: 6px;
    color: var(--color-orange);
    font-weight: 700;
  }

  .mobile-nav a:hover {
    color: var(--color-orange);
    background: rgb(223 146 94 / 9%);
  }

  .hero {
    min-height: min(900px, calc(100svh - var(--header-height)));
  }

  .hero__content {
    width: 62%;
    padding-top: 90px;
  }

  .hero h1 {
    font-size: clamp(53px, 6vw, 68px);
  }

  .hero__subhead {
    max-width: 540px;
    font-size: clamp(25px, 3.4vw, 35px);
  }

  .hero__grid {
    top: 45px;
    left: 53%;
    width: 76vw;
  }

  .hero__crest {
    top: 215px;
    left: 66%;
    width: 32vw;
  }

  .hero__visual {
    top: 168px;
    left: 57%;
    width: min(60vw, 600px);
  }
}

@media (max-width: 768px) {
  :root {
    --page-padding: 28px;
    --header-height: 82px;
  }

  .site-header__inner {
    min-height: var(--header-height);
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    width: 35px;
    height: 45px;
  }

  .brand__text>span {
    font-size: 21px;
  }

  .brand__text small {
    font-size: 7px;
  }

  .hero {
    min-height: 1100px;
  }

  .hero__content {
    width: min(100%, 520px);
    padding: 68px 0 0;
  }

  .hero__eyebrow {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .hero__eyebrow>span {
    min-height: 34px;
    padding: 8px 14px;
  }

  .hero h1 {
    max-width: 540px;
    font-size: clamp(48px, 8.6vw, 64px);
  }

  .hero__subhead {
    max-width: 490px;
    margin: 24px 0 32px;
    font-size: clamp(25px, 4.7vw, 34px);
  }

  .button {
    width: min(630px, 100%);
    min-width: 0;
    min-height: 61px;
    padding: 16px 27px;
    font-size: 15px;
  }

  .hero__grid {
    top: 340px;
    left: 42%;
    width: 89vw;
    opacity: 0.92;
  }

  .hero__crest {
    top: 425px;
    left: 58%;
    width: 34vw;
  }

  .hero__visual {
    top: 428px;
    left: 48%;
    width: min(57vw, 440px);
  }
}

@media (max-width: 480px) {
  :root {
    --page-padding: 20px;
    --header-height: 72px;
  }

  .brand__mark {
    width: 30px;
    height: 38px;
  }

  .brand__text>span {
    font-size: 18px;
  }

  .brand__text small {
    font-size: 6px;
  }

  .menu-toggle {
    width: 40px;
  }

  .mobile-nav:not([hidden]) {
    right: 0;
    left: 0;
    width: 100vw;
    border-radius: 0;
  }

  .hero {
    min-height: 1020px;
  }

  .hero__content {
    width: 100%;
    padding-top: 44px;
  }

  .hero__eyebrow {
    gap: 0 8px;
    margin-bottom: 20px;
    font-size: 13px;
  }

  .hero__eyebrow>span {
    min-height: 31px;
    padding: 7px 11px;
  }

  .hero h1 {
    max-width: 390px;
    font-size: clamp(48px, 13.2vw, 59px);
    letter-spacing: -0.075em;
    line-height: 1.05;
  }

  .hero__subhead {
    max-width: 360px;
    margin: 22px 0 28px;
    font-size: clamp(24px, 7.7vw, 31px);
    letter-spacing: -0.065em;
  }

  .button {
    max-width: 100%;
    min-height: 59px;
    padding: 15px 18px;
    font-size: 14px;
  }

  .hero__grid {
    top: 481px;
    left: 34%;
    width: 101vw;
    opacity: 0.82;
  }

  .hero__crest {
    top: 544px;
    left: 53%;
    width: 39vw;
    opacity: 0.86;
  }

  .hero__visual {
    top: 535px;
    left: 40%;
    width: min(61vw, 300px);
  }
}

/* Laptop browsers often have a 1920px-wide viewport but only 800–950px of
   usable height after tabs and the operating-system UI. Keep the 1920×1080
   PSD composition above this range; compact only its vertical rhythm here. */
@media (min-width: 1101px) and (max-height: 950px) {
  :root {
    --header-height: 116px;
  }

  .site-header__inner {
    grid-template-columns: 240px 1fr auto;
    min-height: var(--header-height);
    column-gap: 28px;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 72px;
    height: 90px;
  }

  .brand__text>span {
    font-size: 39px;
  }

  .brand__text small {
    font-size: 18px;
  }

  .site-nav {
    gap: clamp(13px, 1vw, 19px);
  }

  .site-nav a,
  .header-contact {
    font-size: clamp(22px, 1.55vw, 28px);
  }

  .header-contact {
    gap: 8px;
  }

  .header-contact img,
  .header-contact:first-child img,
  .header-contact__phone {
    width: 21px;
    height: 25px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .hero__content {
    width: min(100%, 1120px);
    padding: 16px 0 36px;
  }

  .hero__eyebrow {
    gap: 9px;
    margin-bottom: 44px;
    font-size: 17px;
  }

  .hero__eyebrow>span {
    min-height: 49px;
    padding: 11px 22px;
  }

  .hero h1 {
    max-width: 1120px;
    font-size: clamp(82px, 6.1vw, 100px);
    line-height: 1.04;
  }

  .hero__subhead {
    max-width: 700px;
    margin: 48px 0 68px;
    font-size: clamp(35px, 2.45vw, 47px);
    line-height: 1.12;
  }

  .button {
    min-width: clamp(480px, 32.8vw, 630px);
    min-height: clamp(98px, 7vw, 113px);
    padding: 20px 42px;
    font-size: clamp(31px, 2.2vw, 39px);
  }

  .hero__grid,
  .hero__crest,
  .hero__visual {
    transform: scale(0.84);
    transform-origin: top left;
  }

  .hero__grid {
    top: 18px;
  }

  .hero__crest {
    top: 166px;
  }

  .hero__visual {
    top: 42px;
  }
}

.contact-widget {
  position: fixed;
  z-index: 25;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 10px;
}

.contact-widget__item {
  display: grid;
  width: 56px;
  height: 56px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgb(54 54 54 / 22%);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-widget__item:hover {
  box-shadow: 0 14px 28px rgb(54 54 54 / 30%);
  transform: translateY(-3px) scale(1.04);
}

.contact-widget__item svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

.contact-widget__item--telegram {
  background: #2aabee;
}

.contact-widget__item--whatsapp {
  background: #25d366;
}

.contact-widget__item--phone {
  background: var(--color-orange);
}

.contact-widget__item--max {
  overflow: hidden;
  background: #ffffff;
}

.contact-widget__item--max img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(37 37 37 / 52%);
  cursor: default;
}

.lead-modal__dialog {
  position: relative;
  width: min(100%, 560px);
  padding: 48px;
  border-radius: 28px;
  color: var(--color-dark);
  background: var(--color-white);
  box-shadow: 0 30px 80px rgb(0 0 0 / 25%);
}

.lead-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--color-dark);
  background: #f1f1f1;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.lead-modal__eyebrow {
  margin: 0 0 10px;
  color: var(--color-orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-modal h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.lead-modal__copy {
  margin: 18px 0 28px;
  font-size: 16px;
  line-height: 1.45;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form>label:not(.lead-form__consent) {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}

.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  color: var(--color-dark);
  background: #ffffff;
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
}

.lead-form input:not([type="checkbox"]) {
  height: 50px;
  padding: 0 15px;
}

.lead-form textarea {
  min-height: 88px;
  padding: 12px 15px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #9b9b9b;
}

.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}

.lead-form__consent input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--color-orange);
}

.lead-form__submit {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-orange);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .contact-widget {
    right: 16px;
    bottom: 16px;
    grid-auto-flow: column;
    gap: 8px;
  }

  .contact-widget__item {
    width: 46px;
    height: 46px;
  }

  .contact-widget__item svg {
    width: 23px;
    height: 23px;
  }

  .lead-modal {
    padding: 16px;
  }

  .lead-modal__dialog {
    max-height: calc(100svh - 32px);
    padding: 38px 24px 28px;
    overflow-y: auto;
    border-radius: 22px;
  }
}

/* Mobile header keeps a real phone action next to the enlarged logo. */
@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: 1fr auto auto;
    column-gap: 14px;
  }

  .header-mobile-contact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-dark);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
  }

  .header-mobile-contact .header-contact__phone {
    width: 22px;
    height: 22px;
    fill: var(--color-orange);
  }
}

/* Mobile follows the approved sales hierarchy: offer, image, then CTA. */
@media (max-width: 768px) {
  .site-header__inner {
    column-gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 48px;
    height: 58px;
  }

  .brand__text>span {
    font-size: 28px;
  }

  .brand__text small {
    font-size: 9px;
  }

  .hero {
    min-height: 0;
    overflow: hidden;
  }

  .hero__art {
    position: relative;
    display: block;
    width: 100%;
    height: 460px;
    margin: 8px 0 20px;
  }

  .hero__inner {
    min-height: 0;
  }

  .hero__content {
    width: min(100%, 610px);
    padding: 28px 0 76px;
  }

  .hero__grid,
  .hero__crest,
  .hero__visual {
    left: 50%;
    transform: translateX(-50%);
    transform-origin: top center;
  }

  .hero__grid {
    top: 24px;
    width: min(88vw, 590px);
    opacity: 0.92;
  }

  .hero__crest {
    top: 102px;
    width: min(31vw, 238px);
  }

  .hero__visual {
    top: 8px;
    width: min(54vw, 414px);
  }

  .hero__eyebrow {
    margin-bottom: 24px;
    font-size: 20px;
  }

  .hero__eyebrow>span {
    height: 64px;
    padding: 0 26px;
  }

  .hero h1 {
    max-width: 610px;
    font-size: clamp(52px, 7.4vw, 62px);
    line-height: 1.04;
  }

  .hero__subhead {
    max-width: 540px;
    margin: 20px 0 0;
    font-size: clamp(27px, 4.8vw, 37px);
    line-height: 1.14;
  }

  .hero__content>.button {
    display: flex;
    width: min(100%, 540px);
    min-width: 0;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    column-gap: 8px;
  }

  .brand {
    gap: 7px;
  }

  .brand__mark {
    width: 50px;
    height: 62px;
  }

  .brand__text>span {
    font-size: 26px;
  }

  .brand__text small {
    font-size: 8px;
  }

  .header-mobile-contact {
    gap: 4px;
    font-size: 11px;
  }

  .header-mobile-contact .header-contact__phone {
    width: 18px;
    height: 18px;
  }

  .hero__art {
    height: 338px;
    margin: 4px 0 18px;
  }

  .hero__grid {
    top: 12px;
    width: min(96vw, 390px);
  }

  .hero__crest {
    top: 67px;
    width: 190px;
  }

  .hero__visual {
    top: 4px;
    width: min(62vw, 246px);
  }

  .hero__content {
    padding-top: 18px;
    padding-bottom: 58px;
  }

  .hero__eyebrow {
    gap: 0 8px;
    flex-wrap: nowrap;
    margin-bottom: 20px;
    font-size: 16px;
  }

  .hero__eyebrow>span {
    height: 44px;
    padding: 0 16px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 12.3vw, 56px);
    line-height: 1.05;
  }

  .hero__subhead {
    max-width: 100%;
    margin: 17px 0 0;
    font-size: clamp(24px, 7vw, 29px);
    line-height: 1.15;
  }

  .hero__content>.button {
    margin: -38px 0 0;
  }
}

/* The right-side messenger widget starts as one button and expands on demand. */
.contact-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.contact-widget__items {
  display: grid;
  gap: 10px;
}

.contact-widget__items[hidden] {
  display: none;
}

.contact-widget__toggle {
  display: grid;
  width: 60px;
  height: 60px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--color-white);
  background: #e84732;
  box-shadow: 0 10px 24px rgb(54 54 54 / 24%);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.contact-widget__toggle svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.contact-widget__toggle[aria-expanded="true"] {
  background: #ba3125;
  transform: rotate(8deg);
}

@media (max-width: 768px) {
  .contact-widget {
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .contact-widget__items {
    gap: 8px;
  }

  .contact-widget__toggle {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Block 2: lesson plan cards. These rules intentionally use only section-specific
   classes, so the approved header and hero remain completely untouched. */
.section-advantages {
  position: relative;
  z-index: 3;
  padding: 240px 0 118px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
}

.section-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 274px;
  padding: 66px 30px 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #171717;
  background: #ededed;
  text-align: center;
}

.plan-card__icon {
  position: absolute;
  top: -128px;
  left: 50%;
  display: grid;
  width: 187px;
  height: 172px;
  place-items: center;
  overflow: hidden;
  border-radius: 140px 140px 0 0;
  background: #ededed;
  transform: translateX(-50%);
}

.plan-card__icon img {
  width: 122px;
  height: 122px;
  object-fit: contain;
}

.plan-card h2 {
  margin: 0 0 34px;
  font-size: clamp(27px, 2vw, 40px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.06;
}

.plan-card p {
  margin: 0;
  font-size: clamp(19px, 1.35vw, 26px);
  letter-spacing: -0.055em;
  line-height: 1.25;
}

/* Block 3: reasons carousel. */
.section-reasons {
  position: relative;
  min-height: 1080px;
  padding: 82px 0 92px;
  overflow: hidden;
  background: #ffffff;
}

.section-reasons__decor {
  position: absolute;
  top: 72px;
  right: 61%;
  width: min(830px, 47vw);
  aspect-ratio: 1;
  pointer-events: none;
}

.section-reasons__board {
  position: absolute;
  inset: 7% 0 0 -4%;
  width: 95%;
  filter: drop-shadow(0 7px 9px rgb(59 51 42 / 22%));
}

.section-reasons__piece {
  position: absolute;
  z-index: 2;
  width: 31%;
  filter: drop-shadow(0 12px 9px rgb(60 47 31 / 24%));
}

.section-reasons__piece--rook {
  top: -3%;
  right: 9%;
  transform: rotate(12deg);
}

.section-reasons__piece--knight {
  top: -6%;
  left: -7%;
  transform: rotate(-18deg);
}

.section-reasons__piece--king {
  right: 16%;
  bottom: 4%;
  transform: rotate(17deg);
}

.section-reasons__content {
  width: min(790px, calc(39% + 190px));
  margin-inline-start: max(39%, calc(var(--page-padding) + 560px));
}

.section-title {
  margin: 0 0 66px;
}

.section-title h2 {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(48px, 4.35vw, 80px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.section-title h2 span,
.section-prices__individual span {
  color: var(--color-orange);
}

.section-title--rule {
  padding-bottom: 38px;
  border-bottom: 2px solid #6d6d6d;
}

.section-title--center {
  width: min(100%, 1150px);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.content-slider {
  position: relative;
}

.content-slider__viewport {
  overflow: hidden;
  padding: 22px 20px 26px;
  margin: -22px -20px -26px;
}

.content-slider__track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.content-slider__slide {
  width: 100%;
  min-width: 100%;
}

.reason-pair {
  display: grid;
  gap: 48px;
}

.reason-card {
  position: relative;
  display: grid;
  min-height: 345px;
  grid-template-columns: minmax(0, 1fr) 282px;
  overflow: hidden;
  border-radius: 32px 0 0 32px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgb(42 36 31 / 22%);
}

.reason-card__copy {
  position: relative;
  z-index: 1;
  padding: 48px 26px 36px 64px;
}

.reason-card h3 {
  margin: 0 0 34px;
  font-size: clamp(33px, 2.55vw, 48px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.reason-card p {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.15vw, 23px);
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.reason-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.reason-card img {
  width: 115%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.content-slider__controls {
  display: flex;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.content-slider__controls button {
  display: grid;
  width: 72px;
  height: 72px;
  padding: 0 0 8px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #9c9c9c;
  font: inherit;
  font-size: 70px;
  font-weight: 300;
  line-height: 0.7;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.content-slider__controls button:hover,
.content-slider__controls button:focus-visible {
  background: var(--color-orange);
  transform: translateY(-2px);
}

.content-slider__controls span {
  min-width: 48px;
  text-align: center;
}

/* Block 4: student achievements. */
.section-achievements {
  padding: 96px 0 120px;
  background: #ffffff;
}

.section-title--achievements {
  margin-bottom: 74px;
}

.section-title--achievements h2 {
  max-width: 1160px;
}

.section-title--achievements p {
  margin: 44px 0 0;
  font-size: clamp(30px, 2.65vw, 48px);
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.student-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 78px;
}

.student-card {
  position: relative;
  display: grid;
  min-height: 380px;
  grid-template-columns: minmax(0, 1fr) 43%;
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
}

.student-card--gray {
  background: #979797;
}

.student-card--green {
  background: #879b95;
}

.student-card--sand {
  background: #9a927e;
}

.student-card--dark {
  background: #666666;
}

.student-card__copy {
  position: relative;
  z-index: 1;
  padding: 40px 18px 82px 42px;
}

.student-card h3 {
  margin: 0 0 46px;
  font-size: clamp(28px, 2vw, 40px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.student-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 21px;
  list-style: none;
  font-size: clamp(15px, 1.05vw, 20px);
  line-height: 1.18;
}

.student-card li {
  position: relative;
  padding-left: 25px;
}

.student-card li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 17px;
  height: 17px;
  background: var(--color-orange);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
  content: "";
}

.student-card__copy>p {
  position: absolute;
  right: 18px;
  bottom: 30px;
  left: 38px;
  margin: 0;
  padding: 13px 12px;
  border-radius: 9px;
  background: var(--color-orange);
  font-size: 16px;
  text-align: center;
}

.student-card>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Block 5: study formats. */
.section-formats {
  position: relative;
  padding: 92px 0 132px;
  overflow: hidden;
  background: #fdfcfb;
}

.section-formats .container {
  position: relative;
  z-index: 1;
}

.section-formats__piece {
  position: absolute;
  z-index: 0;
  width: min(250px, 15vw);
  filter: drop-shadow(0 12px 10px rgb(61 47 31 / 25%));
  pointer-events: none;
}

.section-formats__piece--left {
  top: 238px;
  left: 2%;
  transform: rotate(-20deg);
}

.section-formats__piece--right {
  top: 220px;
  right: 2%;
  transform: rotate(20deg);
}

.section-formats__piece--rook,
.section-formats__piece--bottom-left,
.section-formats__piece--bottom-right {
  display: none;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px;
}

.format-card {
  position: relative;
  min-height: 625px;
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgb(49 39 31 / 22%);
}

.format-card__copy {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 50px 42% 34px 50px;
}

.format-card h3 {
  margin: 0;
  color: #161616;
  font-size: clamp(25px, 1.75vw, 34px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.08;
  white-space: nowrap;
}

.format-card__duration {
  position: absolute;
  top: 43px;
  right: 34px;
  padding: 11px 18px;
  border-radius: 0 0 0 16px;
  color: #ffffff;
  background: #999999;
  font-size: 16px;
  font-weight: 500;
}

.format-card__audience {
  margin: 7px 0 8px;
  color: #999999;
  font-size: 20px;
}

.format-card hr {
  margin: 0;
  border: 0;
  border-top: 1px solid #aaaaaa;
}

.format-card__label {
  margin: 14px 0 24px;
  color: #999999;
  font-size: 17px;
}

.format-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 20px;
  color: #232323;
  font-size: 16px;
  list-style: none;
}

.format-card li {
  position: relative;
  padding-left: 19px;
}

.format-card li::before {
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d0d0d0;
  content: "";
}

.format-card button {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50px;
  min-width: 235px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-orange);
  font: inherit;
  font-size: 21px;
  cursor: pointer;
}

.format-card>img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 53%;
  height: 76%;
  object-fit: cover;
  object-position: right bottom;
}

/* Block 6: group prices. */
.section-prices {
  padding: 88px 0 112px;
  background: #ffffff;
}

.section-prices>.container {
  width: min(1500px, calc(100% - 40px));
  max-width: 1500px;
  margin-inline: auto;
}

@media (min-width: 1200px) {
  .section-prices>.container {
    width: 1500px;
    max-width: 1500px;
    margin-inline: auto;
  }
}

.section-prices .section-title {
  margin-bottom: 70px;
}

.section-prices .section-title p {
  margin: 25px 0 0;
  font-size: clamp(27px, 2.2vw, 40px);
  letter-spacing: -0.055em;
  line-height: 1.42;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.price-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: 1fr auto;
  color: #ffffff;
}

.price-card__main {
  position: relative;
  aspect-ratio: 442 / 412;
  min-height: 310px;
  padding: 34px 26px 28px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #979797;
}

.price-card--orange .price-card__main,
.price-card--orange>button {
  background: #f38e58;
}

.price-card--green .price-card__main,
.price-card--green>button {
  background: #849a94;
}

.price-card--gray>button {
  background: #979797;
}

.price-card__main p {
  margin: 0 0 20px;
  font-size: clamp(19px, 1.5vw, 28px);
  letter-spacing: -0.04em;
}

.price-card__main:has(i) p {
  padding-right: 64px;
}

.price-card--gray .price-card__main strong {
  font-size: clamp(24px, 2.2vw, 40px);
}

.price-card--gray .price-card__main p {
  margin-bottom: 6px;
  line-height: 1.15;
}

.price-card__main strong {
  display: block;
  font-size: clamp(39px, 3vw, 57px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1;
  white-space: nowrap;
}

.price-card__main>span {
  display: block;
  margin-top: 8px;
  font-size: clamp(15px, 1.05vw, 20px);
}

.price-card__main i {
  position: absolute;
  top: 19px;
  right: 18px;
  z-index: 3;
  display: grid;
  width: 66px;
  height: 72px;
  place-items: center;
  color: #181818;
  background: #ffffff;
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
  font-size: 16px;
  font-style: normal;
}

.price-card__main img {
  position: absolute;
  z-index: 2;
  right: -7%;
  bottom: -13%;
  width: 64%;
  max-height: 245px;
  object-fit: contain;
  filter: drop-shadow(0 9px 8px rgb(57 45 32 / 20%));
  transform: rotate(15deg);
  pointer-events: none;
}

.price-card__badge-icon {
  position: absolute !important;
  top: 30px !important;
  right: 2% !important;
  z-index: 3 !important;
  width: auto !important;
  height: 45px !important;
  transform: none !important;
  object-fit: contain;
  max-height: none !important;
}

.price-card__main .price-card__art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: fill;
  filter: none;
  transform: none;
}

.price-card__main .price-card__laurel {
  z-index: 1;
  right: 18px;
  bottom: 24px;
  width: 78px;
  height: 68px;
  opacity: 0.94;
  filter: none;
  transform: none;
}

.price-card__main>p,
.price-card__main>strong,
.price-card__main>span {
  position: relative;
  z-index: 1;
}

.price-card__main::after {
  position: absolute;
  right: 12%;
  bottom: -89px;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
  background-image: linear-gradient(rgb(210 210 210 / 45%) 1px, transparent 1px), linear-gradient(90deg, rgb(210 210 210 / 45%) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
}

.price-card__main:has(.price-card__art)::after {
  content: none;
}

.section-prices__individual.section-title {
  margin: 128px 0 70px;
}

/* Block 7: trial lesson */
.section-trial {
  padding: 112px 0;
  background: #ffffff;
}

.section-trial__shell {
  position: relative;
  width: min(var(--container), calc(100% - (var(--page-padding) * 2)));
  margin-inline: auto;
  border-radius: clamp(30px, 4vw, 62px);
  background: url("images/trial-shell-bg.png") center / 100% 100% no-repeat;
}

.section-trial__star {
  position: absolute;
  z-index: 0;
  top: 6%;
  left: 4%;
  width: min(24%, 260px);
  color: rgb(255 255 255 / 35%);
  pointer-events: none;
}

.section-trial__offer {
  position: relative;
  z-index: 1;
  width: 48%;
  padding: 82px 0 66px 78px;
  color: #ffffff;
}

.section-trial__offer h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 4.1vw, 78px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.06;
}

.section-trial__offer>p {
  max-width: 530px;
  margin: 36px 0 48px;
  font-size: clamp(23px, 1.95vw, 37px);
  letter-spacing: -0.055em;
  line-height: 1.45;
}

.trial-chips {
  display: flex;
  margin-bottom: 18px;
}

.trial-chips span {
  display: grid;
  min-height: 64px;
  padding: 10px 28px;
  place-items: center;
  font-size: clamp(22px, 1.8vw, 34px);
  letter-spacing: -0.055em;
}

.trial-chips span:first-child {
  color: #141414;
  background: #ffffff;
}

.trial-chips span:last-child {
  min-width: 270px;
  color: #ffffff;
  background: #f38e58;
}

.trial-benefits {
  display: grid;
  width: min(100%, 650px);
  margin: 0;
  padding: 36px 44px;
  gap: 18px;
  border-radius: 24px;
  color: var(--color-dark);
  background: #ffffff;
  font-size: clamp(23px, 1.95vw, 37px);
  letter-spacing: -0.055em;
  line-height: 1.16;
  list-style: none;
}

.section-trial__child {
  position: absolute;
  z-index: 10;
  bottom: -46px;
  left: 28%;
  width: min(42%, 600px);
  pointer-events: none;
}

.section-trial__form-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: grid;
  width: 45%;
  min-height: 100%;
  padding: 32px 78px 64px;
  align-content: center;
}

.trial-form {
  display: grid;
  gap: 28px;
}

.trial-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.trial-form>input {
  min-height: 95px;
  padding: 0 46px;
  border: 0;
  border-radius: 999px;
  color: #171717;
  background: #ececec;
  font: inherit;
  font-size: clamp(23px, 1.95vw, 35px);
}

.trial-form>input::placeholder {
  color: #171717;
  opacity: 1;
}

.trial-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #171717;
  font-size: clamp(15px, 1.15vw, 21px);
  letter-spacing: -0.045em;
  line-height: 1.28;
}

.trial-form__consent input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--color-orange);
}

.trial-form button {
  min-height: 95px;
  border: 0;
  border-radius: 999px;
  color: #171717;
  background: #ececec;
  font: inherit;
  font-size: clamp(24px, 2vw, 36px);
  letter-spacing: -0.055em;
  cursor: pointer;
}

.trial-form button:hover {
  color: #ffffff;
  background: var(--color-orange);
}

.trial-form__success {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(28px, 2.25vw, 42px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .section-trial {
    padding: 64px 0;
  }

  .section-prices__individual.section-title {
    margin: 70px 0 70px;
  }

  .section-trial__shell {
    display: flex;
    width: min(var(--container), calc(100% - var(--page-padding) - 24px));
    margin-inline-start: var(--page-padding);
    min-height: 0;
    flex-direction: column;
    border-radius: 28px;
    background: #849a94;
  }

  .section-trial__offer {
    width: 100%;
    padding: 42px 24px 0;
  }

  .section-trial__offer h2 {
    font-size: clamp(36px, 10.2vw, 50px);
  }

  .section-trial__offer>p {
    margin: 22px 0 28px;
    font-size: 21px;
  }

  .trial-chips span {
    min-height: 52px;
    padding: 8px 18px;
    font-size: 21px;
  }

  .trial-chips span:last-child {
    min-width: 0;
  }

  .trial-benefits {
    padding: 27px 22px;
    gap: 14px;
    border-radius: 20px;
    font-size: 20px;
  }

  .section-trial__child {
    position: relative;
    bottom: auto;
    left: auto;
    width: min(100%, 390px);
    margin: 8px auto 0;
  }

  .section-trial__form-panel {
    position: relative;
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 32px 22px;
    border-radius: 28px;
    background: #ffffff;
  }

  .trial-form {
    gap: 18px;
  }

  .trial-form>input,
  .trial-form button {
    min-height: 64px;
    padding: 0 24px;
    font-size: 18px;
  }

  .trial-form__consent {
    font-size: 14px;
  }
}

/* Blocks 9–12. PNG layers provide only the chess art, portrait and lion;
   headings, review, accordion, contacts and navigation remain live content. */
.section-reviews {
  position: relative;
  min-height: 860px;
  padding: 112px 0 128px;
  overflow: hidden;
  background: #ffffff;
}

.section-reviews__chess-art {
  position: absolute;
  bottom: -16px;
  left: 0;
  width: min(35vw, 663px);
  filter: drop-shadow(0 14px 12px rgb(42 36 30 / 18%));
  pointer-events: none;
}

.reviews-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 20vw) minmax(0, 1fr);
  gap: 32px;
  align-content: center;
}

.reviews-heading {
  grid-column: 2;
  width: 100%;
  margin-bottom: 66px;
}

.reviews-heading h2 {
  white-space: nowrap;
}

.review-card {
  position: relative;
  grid-column: 2;
  width: 100%;
  max-width: 860px;
  margin-left: 0;
  min-height: 486px;
  padding: 58px 72px 78px;
  border: 1px solid #cacaca;
  border-radius: 38px;
  background: #ffffff;
  box-shadow: 0 12px 18px rgb(44 39 31 / 28%);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 28px;
}

.review-card__header img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.review-card h3 {
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(30px, 2.1vw, 42px);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.review-card__rating {
  display: flex;
  margin-left: auto;
  gap: 5px;
  color: #f2be00;
  font-family: Arial, sans-serif;
  font-size: clamp(42px, 3vw, 64px);
  line-height: 1;
}

.review-card blockquote {
  max-width: 660px;
  margin: 58px 0 0;
  color: var(--color-dark);
  font-size: clamp(22px, 1.7vw, 31px);
  font-style: normal;
  letter-spacing: -0.06em;
  line-height: 1.92;
}

.review-card__quote {
  position: absolute;
  right: 62px;
  bottom: 6px;
  color: #626262;
  font-family: Georgia, serif;
  font-size: 128px;
  font-weight: 700;
  line-height: 1;
}

.section-faq {
  padding: 110px 0 124px;
  background: #ffffff;
}

.faq-container {
  width: min(1100px, calc(100% - var(--page-padding) - 24px));
  margin-inline: auto;
}

.section-faq .section-title {
  margin-bottom: 76px;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  overflow: hidden;
  background: #efefef;
}

.faq-item summary {
  position: relative;
  display: block;
  min-height: 116px;
  padding: 36px 94px 32px 60px;
  color: #171717;
  cursor: pointer;
  font-size: clamp(23px, 1.8vw, 34px);
  letter-spacing: -0.055em;
  line-height: 1.2;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 44px;
  width: 32px;
  height: 2px;
  background: #171717;
  content: "";
  transform: translateY(-50%);
}

.faq-item summary::before {
  position: absolute;
  top: 50%;
  right: 59px;
  width: 2px;
  height: 32px;
  background: #171717;
  content: "";
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-item[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item p {
  max-width: 790px;
  margin: -8px 60px 34px;
  color: var(--color-dark);
  font-size: clamp(18px, 1.3vw, 23px);
  line-height: 1.42;
}

.faq-cta {
  display: block;
  min-width: 292px;
  min-height: 72px;
  margin: 56px auto 0;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-orange);
  box-shadow: 0 12px 22px rgb(207 121 69 / 25%);
  font: 500 23px/1.1 Montserrat, sans-serif;
  cursor: pointer;
}

.section-contacts {
  position: relative;
  min-height: 760px;
  isolation: isolate;
  background: #f6f6f6;
}

.contacts-map,
.contacts-map iframe {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-map::after {
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 15%);
  content: "";
  pointer-events: none;
}

.contacts-frame {
  display: flex;
  min-height: 760px;
  align-items: center;
}

.contacts-card {
  width: min(510px, 100%);
  padding: 74px 70px;
  background: #ffffff;
  box-shadow: 0 12px 22px rgb(42 42 42 / 10%);
}

.contacts-card h2 {
  margin: 0 0 66px;
  color: var(--color-dark);
  font-size: clamp(38px, 3vw, 58px);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.contacts-card__phone,
.contacts-card address {
  display: block;
  margin: 0;
  color: var(--color-dark);
  font-size: clamp(26px, 2.05vw, 39px);
  font-style: normal;
  letter-spacing: -0.05em;
  line-height: 1.35;
}

.contacts-card__phone {
  margin-bottom: 12px;
}

.contacts-card__socials {
  display: flex;
  margin-top: 46px;
  gap: 14px;
}

.contacts-card__socials button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: #111111;
  cursor: pointer;
}

.contacts-card__socials svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.contacts-card__socials button:first-child svg {
  fill: currentColor;
  stroke: none;
}

.contacts-card__socials button:last-child svg {
  fill: currentColor;
  stroke: none;
}

.site-footer {
  position: relative;
  min-height: 490px;
  padding: 94px 0 78px;
  overflow: hidden;
  color: #979797;
  background: #eeeeee;
}

.site-footer__lion {
  position: absolute;
  bottom: -76px;
  left: -30px;
  width: min(22vw, 350px);
  pointer-events: none;
}

.site-footer__content {
  position: relative;
  text-align: center;
}

.site-footer__nav {
  display: flex;
  justify-content: center;
  margin: 0 auto 92px;
  border-top: 2px solid #999999;
  border-bottom: 2px solid #999999;
}

.site-footer__nav a {
  padding: 26px 20px;
  border-right: 2px solid #999999;
  color: inherit;
  font-size: clamp(16px, 1.35vw, 24px);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__nav a:last-child {
  border-right: 0;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--color-orange);
}

/* Final client-feedback refinements. */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

#map-wrapper {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contacts-map__fallback {
  z-index: 0;
}

.brand__text>span {
  color: var(--color-dark);
}

.site-nav a {
  border-bottom: 0;
}

.site-nav a:hover {
  border-bottom-color: transparent;
  color: var(--color-orange);
  font-weight: 400;
}

.header-contact:first-child {
  justify-content: center;
  font-size: clamp(17px, 1.05vw, 21px);
}

.header-contact__phone {
  width: 34px;
  height: 34px;
}

.hero__visual {
  overflow: hidden;
  max-height: min(645px, 48vw);
}

.hero__subhead {
  margin-top: 76px;
  font-weight: 300;
}

.student-card {
  min-height: 360px;
}

.student-card h3,
.student-card ul {
  font-weight: 300;
}

.format-card:nth-child(2) .format-card__copy {
  padding-left: clamp(32px, 3.1vw, 58px);
}

.format-card:nth-child(2) button {
  left: clamp(32px, 3.1vw, 58px);
}

.price-card>button {
  width: 100%;
}

.section-trial__form-panel {
  align-content: start;
  padding-top: clamp(70px, 6vw, 112px);
}

.trial-form>input,
.trial-form button {
  min-height: 78px;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 300;
}

.section-trial__offer>p {
  font-size: clamp(21px, 1.55vw, 29px);
}

.section-curriculum__title {
  margin-bottom: 66px;
}

.section-curriculum__title h2 {
  color: var(--color-dark);
}

.curriculum-card h2 {
  white-space: nowrap;
}

.review-slider {
  margin-left: auto;
}

.review-card blockquote {
  font-size: clamp(20px, 1.4vw, 26px);
  line-height: 1.55;
}

.review-card__quote {
  right: 30px;
  bottom: 22px;
  font-size: 82px;
}

.section-blog {
  padding-top: 140px;
}

.faq-item {
  max-width: 930px;
  margin-inline: auto;
}

.faq-item summary {
  min-height: 92px;
  padding: 26px 78px 24px 42px;
  font-size: clamp(20px, 1.45vw, 28px);
}

.faq-item p {
  overflow: hidden;
  transition: max-height 240ms ease;
}

.section-contacts {
  margin-bottom: 72px;
}

.site-footer__nav a {
  border-right-width: 1px;
}

@media (max-width: 768px) {
  .hero__subhead {
    margin-top: 28px;
  }

  .section-trial__form-panel {
    padding-top: 32px;
  }

  .curriculum-card h2 {
    white-space: normal;
  }

  .section-curriculum__title {
    margin-bottom: 40px;
  }

  .section-contacts {
    margin-bottom: 36px;
  }
}

/* Final correction from the live 1920px screenshots. */
#map-wrapper {
  pointer-events: none;
}

#map-wrapper.is-ready {
  pointer-events: auto;
}

.contacts-map {
  z-index: 0;
}

.contacts-frame {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.contacts-card {
  pointer-events: auto;
}

.section-contacts {
  margin-bottom: 0;
}

.section-achievements .content-slider__viewport {
  overflow: visible;
}

.section-achievements .content-slider {
  overflow: hidden;
}

.section-achievements .student-pair {
  padding-right: 0;
}

.section-achievements .student-card>img {
  right: -10px;
}

.section-curriculum>.container {
  width: min(var(--container), calc(100% - (var(--page-padding) * 2)));
  max-width: var(--container);
  margin-inline: auto;
}

@media (min-width: 769px) {
  .section-trial__piece {
    right: 50%;
    bottom: 13%;
    width: min(12%, 154px);
    transform: rotate(-14deg);
  }
}

@media (min-width: 1500px) {
  .section-achievements .content-slider {
    width: calc(100vw - 69px);
    padding: 0;
    margin-left: calc(50% - 50vw + 60px);
  }

  .section-achievements .student-pair {
    gap: 112px;
  }

  .section-curriculum>.container {
    width: min(1608px, calc(100% - 80px));
    max-width: none;
  }

  .section-curriculum .curriculum-grid {
    gap: 42px 184px;
  }

  .curriculum-card {
    min-height: 380px;
  }

  .curriculum-card__piece {
    width: 43%;
    max-height: 91%;
  }
}

/* Client-approved restoration: the supplied banner, card overflow and chess decor. */
#map-wrapper {
  pointer-events: none;
}

#map-wrapper.is-ready {
  pointer-events: auto;
}

.contacts-map {
  z-index: 0;
}

.contacts-frame {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.contacts-card {
  pointer-events: auto;
}

.section-contacts {
  margin-bottom: 0;
}

.section-trial__shell {
  overflow: visible;
}

.section-trial__star {
  z-index: 2;
  top: -9%;
  left: -5%;
  width: min(27%, 310px);
  color: rgb(77 77 77 / 72%);
}

.section-trial__offer {
  z-index: 3;
}

.section-trial__offer>p {
  display: none;
}

.section-trial__piece {
  position: absolute;
  z-index: 4;
  right: 43%;
  bottom: 7%;
  width: min(14%, 178px);
  filter: drop-shadow(0 8px 8px rgb(45 38 30 / 20%));
  pointer-events: none;
}

.section-formats__piece--left,
.section-formats__piece--rook,
.section-formats__piece--right,
.section-formats__piece--bottom-left,
.section-formats__piece--bottom-right {
  display: block;
}

.section-achievements .content-slider__viewport {
  overflow: visible;
}

.section-achievements .content-slider {
  overflow: hidden;
}

.section-achievements .student-pair {
  padding-right: 20px;
}

.section-achievements .student-card>img {
  right: -10px;
}

.section-curriculum>.container {
  width: min(var(--container), calc(100% - (var(--page-padding) * 2)));
  max-width: var(--container);
  margin-inline: auto;
}

.section-curriculum__title {
  width: 100%;
  margin-inline: auto;
}

.faq-item {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

@media (min-width: 769px) {
  .section-formats__piece--left {
    top: 230px;
    left: max(16px, calc(50% - 742px));
    width: 208px;
  }

  .section-formats__piece--rook {
    top: 228px;
    left: calc(50% - 103px);
    width: 208px;
  }

  .section-formats__piece--right {
    top: 236px;
    right: max(16px, calc(50% - 810px));
    width: 202px;
  }

  .section-formats__piece--bottom-left {
    top: 656px;
    left: max(16px, calc(50% - 818px));
    width: 202px;
  }

  .section-formats__piece--bottom-right {
    top: 706px;
    right: max(16px, calc(50% - 760px));
    width: 258px;
  }

  .section-trial__offer {
    width: 53%;
    padding: clamp(42px, 5.2vw, 78px) 0 clamp(40px, 3vw, 54px) clamp(54px, 6.4vw, 96px);
  }

  .section-trial__offer h2 {
    max-width: 500px;
    font-size: clamp(36px, 2.7vw, 52px);
  }

  .trial-chips {
    margin-top: clamp(28px, 3vw, 46px);
    margin-bottom: 18px;
  }

  .trial-benefits {
    width: min(100%, 500px);
    min-height: 150px;
    padding: 28px 44px;
    gap: 12px;
    font-size: clamp(19px, 1.35vw, 26px);
  }

  .section-trial__form-panel {
    width: 47%;
    padding: clamp(44px, 4vw, 70px) clamp(34px, 3.2vw, 62px);
    align-content: center;
  }
}

@media (min-width: 1500px) {
  .section-achievements .content-slider {
    width: calc(100vw - 69px);
    padding: 0;
    margin-left: calc(60px - var(--page-padding));
  }

  .section-achievements .student-pair {
    padding-right: 0;
    gap: 112px;
  }

  .section-curriculum>.container {
    width: min(1608px, calc(100% - 80px));
    max-width: none;
  }

  .section-curriculum .curriculum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 184px;
  }

  .curriculum-card {
    min-height: 380px;
  }

  .curriculum-card__piece {
    width: 43%;
    max-height: 91%;
  }

  .section-trial__piece {
    right: 50%;
    bottom: 13%;
    width: min(12%, 154px);
    transform: rotate(-14deg);
  }
}

@media (max-width: 768px) {
  .section-trial__star {
    top: -4%;
    left: -8%;
    width: 46%;
  }

  .section-trial__piece {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(42%, 180px);
    display: none;
    margin: -18px 24px 8px auto;
  }

  .section-formats__piece--left,
  .section-formats__piece--rook,
  .section-formats__piece--right,
  .section-formats__piece--bottom-left,
  .section-formats__piece--bottom-right {
    display: none;
  }
}

@media (min-width: 769px) {
  .section-trial__child {
    width: min(23%, 360px);
  }
}

.site-footer__content>p {
  margin: 0;
  font-size: clamp(19px, 1.75vw, 31px);
  font-weight: 700;
}

.site-footer__legal {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  gap: 18px;
  font-size: clamp(16px, 1.3vw, 23px);
  font-weight: 500;
}

.site-footer__socials {
  display: flex;
  justify-content: center;
  margin-top: 38px;
  gap: 8px;
}

.site-footer__socials button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 40px;
  border: 0;
  border-radius: 13px;
  color: #ffffff;
  background: #999999;
  cursor: pointer;
}

.site-footer__socials button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 1100px) {
  .section-reviews {
    min-height: 700px;
  }

  .reviews-layout {
    grid-template-columns: 34% minmax(0, 1fr);
  }

  .review-card {
    padding: 42px 44px 60px;
  }

  .review-card blockquote {
    margin-top: 40px;
    line-height: 1.55;
  }

  .section-reviews__chess-art {
    width: min(36vw, 460px);
  }

  .contacts-card {
    width: min(480px, 100%);
  }
}

@media (max-width: 1450px) and (min-width: 769px) {
  .reviews-heading h2 {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .section-reviews {
    min-height: 0;
    padding: 64px 0 70px;
  }

  .section-reviews__chess-art {
    top: 98px;
    bottom: auto;
    left: -32px;
    width: 212px;
    opacity: .42;
  }

  .reviews-layout {
    display: block;
  }

  .reviews-heading {
    margin-bottom: 42px;
  }

  .reviews-heading h2 {
    white-space: normal;
  }

  .review-card {
    padding: 28px 24px 55px;
    border-radius: 25px;
  }

  .review-card__header {
    gap: 12px;
  }

  .review-card__header img {
    width: 54px;
    height: 54px;
  }

  .review-card__rating {
    position: absolute;
    top: 96px;
    left: 24px;
    margin: 0;
    font-size: 38px;
  }

  .review-card blockquote {
    margin-top: 72px;
    font-size: 18px;
    line-height: 1.52;
  }

  .review-card__quote {
    right: 22px;
    font-size: 86px;
  }

  .section-faq {
    padding: 64px 0 76px;
  }

  .section-faq .section-title {
    margin-bottom: 40px;
  }

  .faq-container {
    width: min(var(--container), calc(100% - var(--page-padding) - 24px));
    margin-inline-start: var(--page-padding);
    margin-inline-end: 0;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item summary {
    min-height: 76px;
    padding: 22px 58px 20px 20px;
    font-size: 18px;
  }

  .faq-item summary::after {
    right: 22px;
    width: 20px;
  }

  .faq-item summary::before {
    right: 31px;
    height: 20px;
  }

  .faq-item p {
    margin: -4px 20px 22px;
    font-size: 16px;
  }

  .faq-cta {
    min-width: 242px;
    min-height: 58px;
    margin-top: 34px;
    font-size: 17px;
  }

  .section-contacts {
    min-height: 680px;
  }

  .contacts-frame {
    min-height: 680px;
    align-items: flex-end;
  }

  .contacts-card {
    width: 100%;
    padding: 44px 28px;
  }

  .contacts-card h2 {
    margin-bottom: 30px;
  }

  .contacts-card__socials {
    margin-top: 30px;
  }

  .site-footer {
    min-height: 0;
    padding: 55px 0 44px;
  }

  .site-footer__lion {
    bottom: -6px;
    left: -26px;
    width: 165px;
    opacity: .72;
  }

  .site-footer__content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 4vw, 80px);
    padding-bottom: 70px;
  }

  .site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 44px;
  }

  .site-footer__nav a {
    padding: 15px 8px;
    border-bottom: 1px solid #999999;
    border-right: 1px solid #999999;
    font-size: 15px;
  }

  .site-footer__nav a:last-child {
    border-right: 1px solid #999999;
  }

  .site-footer__content>p {
    max-width: 280px;
    margin-inline: auto;
    font-size: 17px;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
  }

  .site-footer__socials {
    margin-top: 26px;
  }
}

/* Block 8: curriculum */
.section-curriculum {
  padding: 112px 0 128px;
  background: #ffffff;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 48px;
}

.curriculum-card {
  position: relative;
  min-height: 362px;
  overflow: hidden;
  border-radius: 28px;
  color: #ffffff;
  background: #849a94;
}

.curriculum-card--gray {
  background: #999999;
}

.curriculum-card--gray::after {
  position: absolute;
  top: 24px;
  right: -47px;
  width: 48%;
  height: calc(100% - 48px);
  border-radius: 50%;
  background-color: #ffffff;
  background-image: linear-gradient(rgb(201 201 201 / 52%) 1px, transparent 1px), linear-gradient(90deg, rgb(201 201 201 / 52%) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
}

.curriculum-card__surface {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curriculum-card__copy {
  position: relative;
  z-index: 2;
  width: 61%;
  padding: 54px 0 40px 48px;
}

.curriculum-card h2 {
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 2px solid rgb(255 255 255 / 85%);
  font-size: clamp(27px, 2.15vw, 41px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.curriculum-card p {
  margin: 38px 0 0;
  font-size: clamp(18px, 1.38vw, 26px);
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.curriculum-card__piece {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 43%;
  max-height: 91%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 10px 10px rgb(47 39 30 / 22%));
}

@media (max-width: 768px) {
  .section-curriculum {
    padding: 64px 0;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .curriculum-card {
    min-height: 300px;
    border-radius: 22px;
  }

  .curriculum-card__copy {
    width: 62%;
    padding: 34px 0 28px 28px;
  }

  .curriculum-card h2 {
    padding-bottom: 16px;
    font-size: 27px;
  }

  .curriculum-card p {
    margin-top: 23px;
    font-size: 17px;
  }
}

/* The achievements pair now follows the same 1400px desktop container as the
   approved hero. Portrait overlap remains local to each card, not the page. */
@media (min-width: 1500px) {
  .section-achievements .container {
    max-width: 1400px;
  }

  .section-title--achievements {
    width: 100%;
    margin-left: 0;
  }

  .section-achievements .content-slider {
    width: 100%;
    margin-left: 0;
  }

  .student-pair {
    gap: 64px;
  }

  .student-card>img {
    width: 48%;
  }
}

.price-card>button {
  min-height: 75px;
  margin-top: 17px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  font: inherit;
  font-size: clamp(20px, 1.65vw, 30px);
  cursor: pointer;
}

.section-prices__individual {
  margin: 128px 0 0;
  color: var(--color-dark);
  font-size: clamp(48px, 4.35vw, 80px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.04;
  text-align: center;
}

@media (max-width: 1250px) {
  .section-reasons__decor {
    right: 66%;
    opacity: 0.82;
  }

  .section-reasons__content {
    width: calc(66% - var(--page-padding));
    margin-inline-start: 34%;
  }

  .reason-card {
    grid-template-columns: minmax(0, 1fr) 235px;
  }

  .student-pair {
    gap: 30px;
  }

  .student-card {
    min-height: 355px;
  }

  .format-grid {
    gap: 30px;
  }

  .format-card__copy {
    padding-right: 38%;
    padding-left: 32px;
  }

  .format-card button {
    left: 32px;
  }

  .price-grid {
    gap: 14px;
  }

  .price-card__main {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 1100px) {
  .section-advantages {
    padding-top: 200px;
  }

  .plan-card__icon {
    top: -105px;
    width: 205px;
    height: 146px;


  }

  .section-reasons {
    min-height: auto;
  }

  .section-reasons__decor {
    right: 70%;
    width: 55vw;
    opacity: 0.42;
  }

  .section-reasons__content {
    width: calc(74% - var(--page-padding));
    margin-inline-start: 26%;
  }

  .reason-card {
    grid-template-columns: minmax(0, 1fr) 210px;
  }

  .reason-card__copy {
    padding-left: 38px;
  }

  .student-pair,
  .format-grid,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-pair {
    gap: 26px;
  }

  .student-card {
    grid-template-columns: minmax(0, 1fr) 41%;
  }

  .price-grid {
    gap: 32px 24px;
  }
}

@media (max-width: 768px) {
  .section-advantages {
    padding: 140px 0 70px;
  }

  .section-advantages__grid {
    grid-template-columns: 1fr;
    gap: 120px;
  }

  .plan-card {
    min-height: 220px;
    padding: 65px 18px 28px;
  }

  .plan-card__icon {
    top: -67px;
    width: 154px;
    height: 105px;
    top: -79px !important;
    height: 130px !important;
  }

  .plan-card__icon img {
    width: 80px;
    height: 80px;
  }

  .plan-card h2 {
    margin-bottom: 21px;
    font-size: 29px;
  }

  .plan-card p {
    font-size: 17px;
  }

  .section-reasons,
  .section-achievements,
  .section-formats,
  .section-prices {
    padding: 64px 0 72px;
  }

  .section-reasons__decor,
  .section-formats__piece {
    display: none;
  }

  .section-reasons__content {
    width: min(var(--container), calc(100% - var(--page-padding) - 24px));
    margin-inline-start: var(--page-padding);
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title h2,
  .section-prices__individual {
    font-size: clamp(36px, 9.3vw, 50px);
  }

  .section-title--rule {
    padding-bottom: 24px;
  }

  .reason-pair {
    gap: 24px;
  }

  .reason-card {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .reason-card__copy {
    padding: 28px 23px 18px;
  }

  .reason-card h3 {
    margin-bottom: 20px;
    font-size: 31px;
  }

  .reason-card p {
    margin-bottom: 13px;
    font-size: 16px;
  }

  .reason-card picture {
    display: block;
    width: 100%;
    height: 230px;
  }

  .reason-card img {
    width: 100%;
    height: 100%;
    margin-left: 0;
    object-position: center;
    border-radius: 24px;
  }

  .content-slider__controls {
    margin-top: 22px;
    gap: 20px;
  }

  .content-slider__controls button {
    width: 54px;
    height: 54px;
    font-size: 54px;
  }

  .section-title--achievements p {
    margin-top: 24px;
    font-size: 24px;
  }

  .student-pair,
  .format-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .student-pair {
    gap: 22px;
  }

  .student-card {
    min-height: 340px;
    grid-template-columns: minmax(0, 1fr) 42%;
    border-radius: 20px 0 0 20px;
  }

  .student-card__copy {
    padding: 26px 12px 74px 23px;
  }

  .student-card h3 {
    margin-bottom: 24px;
    font-size: 27px;
  }

  .student-card ul {
    gap: 12px;
    font-size: 14px;
  }

  .student-card__copy>p {
    right: 10px;
    bottom: 50px;
    left: 20px;
    font-size: 12px;
  }

  .format-grid {
    gap: 28px;
  }

  .format-card {
    min-height: 555px;
    border-radius: 25px;
  }

  .format-card__copy {
    padding: 32px 42% 24px 27px;
  }

  .format-card h3 {
    font-size: 25px;
    white-space: normal;
  }

  .format-card__duration {
    top: 27px;
    right: 22px;
    font-size: 14px;
  }

  .format-card__audience,
  .format-card__label,
  .format-card ul {
    font-size: 14px;
  }

  .format-card ul {
    gap: 9px;
  }

  .format-card button {
    bottom: 20px;
    left: 27px;
    min-width: 180px;
    font-size: 18px;
  }

  .format-card>img {
    width: 57%;
    height: 67%;
  }

  .section-prices .section-title p {
    font-size: 22px;
  }

  .price-grid {
    gap: 22px;
  }

  .price-card__main strong {
    font-size: 48px;
  }

  .section-prices__individual {
    margin-top: 70px;
  }
}

@media (max-width: 430px) {
  .student-card {
    min-height: 310px;
    grid-template-columns: minmax(0, 1fr) 39%;
  }

  .student-card h3 {
    font-size: 22px;
  }

  .student-card ul {
    font-size: 12px;
  }

  .format-card {
    min-height: 520px;
  }

  .format-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
    border-radius: 25px;
    pointer-events: none;
  }

  .format-card__copy,
  .format-card button {
    position: relative;
    z-index: 2;
  }

  .format-card__copy {
    padding-left: 20px;
  }

  .format-card button {
    left: 20px;
  }

  .format-card h3 {
    font-size: 21px;
  }
}

/* On 320px phones the photo previously covered the live price CTA. The PSD
   still keeps it anchored to the lower-right corner, with a clear action row. */
@media (max-width: 360px) {
  .format-card>img {
    height: 56%;
    bottom: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .content-slider__track,
  .content-slider__controls button {
    transition: none;
  }
}

/* PSD desktop compositions for blocks 2–6 use a wider canvas than the hero.
   The hero's 1400px container is deliberately not affected. */
@media (min-width: 1500px) {

  .section-advantages__grid,
  .section-achievements .content-slider,
  .section-prices .price-grid {
    width: calc(100vw - 160px);
    max-width: none;
    margin-inline-start: calc(50% - 50vw + 80px);
  }

  .section-advantages__grid {
    gap: 22px;
  }

  .plan-card {
    min-height: 276px;
  }

  .plan-card h2 {
    font-size: 35px;
    white-space: nowrap;
  }

  .plan-card p {
    font-size: 26px;
  }

  .section-reasons__content {
    width: calc(100vw - 160px);
    max-width: none;
    margin-inline-start: calc(50% - 50vw + 80px);
  }

  .section-reasons__content>.section-title {
    width: calc(100% - 610px);
    margin-left: 610px;
  }

  .section-reasons__content>.section-title h2 {
    font-size: 70px;
  }

  .section-reasons__content>.content-slider {
    width: calc(100% - 900px);
    margin-left: 900px;
  }

  .section-reasons .content-slider__viewport {
    padding-right: 0;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
  }

  .reason-card {
    min-height: 442px;
    grid-template-columns: minmax(0, 1fr) 278px;
  }

  .reason-card__copy {
    padding: 58px 30px 44px 76px;
  }

  .reason-card h3 {
    font-size: 45px;
  }

  .reason-card p {
    font-size: 22px;
  }

  .section-title--achievements,
  .section-formats .section-title--center {
    width: calc(100vw - 160px);
    max-width: none;
    margin-left: calc(80px - var(--page-padding));
  }

  .section-title--achievements h2 {
    max-width: none;
  }

  .section-title--achievements {
    margin-bottom: 116px;
  }

  .student-pair {
    gap: 112px;
  }

  .student-card {
    min-height: 380px;
    grid-template-columns: minmax(0, 1fr) 47%;
  }

  .student-card h3 {
    white-space: nowrap;
  }

  .student-card__copy {
    padding-left: 48px;
  }

  .section-formats .section-title--center h2 {
    font-size: 72px;
    white-space: nowrap;
  }

  .format-grid {
    width: 1150px;
    margin: 0 auto;
    gap: 68px;
  }

  .format-card {
    min-height: 648px;
  }

  .format-card__copy {
    padding: 44px 42% 32px 46px;
  }

  .format-card h3 {
    max-width: calc(100% - 116px);
    font-size: 28px;
  }

  .format-card__duration {
    top: 39px;
    right: 30px;
  }

  .format-card__audience {
    font-size: 18px;
  }

  .format-card__label,
  .format-card ul {
    font-size: 15px;
  }

  .format-card ul {
    gap: 17px;
  }

  .format-card button {
    bottom: 26px;
    left: 46px;
    min-width: 214px;
  }

  .section-formats__piece--left,
  .section-formats__piece--rook,
  .section-formats__piece--right,
  .section-formats__piece--bottom-left,
  .section-formats__piece--bottom-right {
    display: block;
    width: auto;
    filter: drop-shadow(0 10px 10px rgb(61 47 31 / 23%));
    transform: none;
  }

  .section-formats__piece--left {
    top: 230px;
    left: calc(50% - 742px);
    width: 208px;
  }

  .section-formats__piece--rook {
    top: 228px;
    left: calc(50% - 103px);
    width: 208px;
  }

  .section-formats__piece--right {
    top: 236px;
    right: calc(50% - 810px);
    width: 202px;
  }

  .section-formats__piece--bottom-left {
    top: 656px;
    left: calc(50% - 818px);
    width: 202px;
  }

  .section-formats__piece--bottom-right {
    top: 706px;
    right: calc(50% - 760px);
    width: 258px;
  }

  .section-prices .section-title--center {
    width: min(100%, 1400px);
    margin-right: auto;
    margin-left: auto;
  }

  .price-grid {
    gap: 34px;
  }

  .section-achievements .content-slider,
  .section-prices .price-grid {
    margin-left: calc(80px - var(--page-padding));
  }

  .section-prices .price-grid {
    width: calc(100vw - 68px);
    margin-left: calc(34px - var(--page-padding));
  }

  .price-card__main {
    padding: 38px 36px 30px;
  }

  .price-card__main p {
    font-size: 28px;
  }

  .price-card__main strong {
    font-size: 57px;
  }
}

.section-reasons__composition {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1200px) {
  .section-reasons__decor {
    top: 16px;
    right: auto;
    left: -2px;
    width: min(663px, 36vw);
    aspect-ratio: auto;
  }

  .reason-card {
    border: 1px solid #f1f1f1;
    background: #ffffff;
    box-shadow: 0 12px 25px rgb(42 36 31 / 16%);
  }

  .reason-card img {
    border-radius: 52% 0 0 52%;
  }

}

@media (max-width: 1199px) {
  .section-reasons__composition {
    display: none;
  }
}

/* Block 3 is a scrolling narrative, not a carousel: every pair stays in the
   document flow while the left PSD composition remains visible alongside it. */
.reason-list .content-slider__viewport {
  overflow: visible;
  padding: 0;
  margin: 0;
}

.reason-list .content-slider__track {
  display: grid;
  gap: 48px;
  transform: none !important;
}

.reason-list .reason-pair {
  display: grid;
  gap: 48px;
}

@media (min-width: 1200px) {
  .section-reasons {
    display: grid;
    grid-template-columns: minmax(430px, 50vw) minmax(0, 1fr);
    align-items: start;
    overflow: visible;
  }

  .section-reasons__decor {
    position: sticky;
    top: 24px;
    right: auto;
    left: 0;
    grid-column: 1;
    grid-row: 1;
    margin-left: calc(-1 * var(--page-padding));
  }

  .section-reasons__content {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    margin: 0;
    padding-right: var(--page-padding);
  }

  .section-reasons__content>.section-title,
  .section-reasons__content>.reason-list {
    width: auto;
    margin-left: 0;
  }

  .reason-list .reason-card {
    border: 0;
    background: #ffffff;
    box-shadow: 0 12px 24px rgb(42 36 31 / 17%);
  }
}

@media (min-width: 1500px) {
  .section-reasons {
    grid-template-columns: 610px minmax(0, 1fr);
    padding: 72px var(--page-padding) 92px;
  }

  .section-reasons__decor {
    width: 663px;
    margin-left: calc(-1 * var(--page-padding));
  }

  .section-reasons__content>.section-title {
    width: 100%;
    margin: 0 0 66px;
  }

  .section-reasons__content>.reason-list {
    width: min(860px, calc(100% - 290px));
    margin-left: 290px;
  }
}

@media (max-width: 1199px) {
  .section-reasons__decor {
    display: none;
  }
}

@media (min-width: 1200px) {
  .section-advantages {
    padding-bottom: 158px;
  }

  .section-reasons {
    padding-top: 110px;
    padding-bottom: 126px;
  }

  .section-achievements {
    padding-top: 138px;
    padding-bottom: 154px;
  }

  .section-formats {
    padding-top: 126px;
    padding-bottom: 164px;
  }

  .section-prices {
    padding-top: 122px;
  }

  .reason-list .reason-card {
    border-radius: 32px;
  }

  .reason-list .reason-card img {
    margin-right: 0;
    border-radius: 52% 0 0 52%;
  }

  .section-achievements .content-slider {
    padding: 22px 24px 30px;
  }

  .section-achievements .content-slider__viewport {
    margin: 0;
    padding: 0;
  }
}

@media (min-width: 1500px) {
  .section-achievements .content-slider {
    width: calc(100vw - 112px);
    margin-left: calc(56px - var(--page-padding));
  }
}

/* Final desktop alignment from the 1920px PSD exports.  These overrides stay
   after the older wide-canvas rules so the section title and cards use one
   coordinate system instead of two competing container widths. */
@media (min-width: 1200px) {
  .section-reasons {
    margin-block-start: 80px;
    padding-top: 72px;
  }
}

@media (min-width: 1500px) {
  .section-reasons__content>.section-title {
    margin: 0 0 78px;
  }

  .section-formats {
    padding-top: 72px;
  }

  .section-formats .section-title--center {
    width: 1150px;
    margin: 0 auto 146px;
  }

  .format-grid {
    width: 1216px;
    grid-template-columns: repeat(2, 558px);
    gap: 100px;
    margin: 0 auto;
  }

  .format-card__copy {
    padding: 55px 42% 34px 58px;
  }

  .format-card__duration {
    top: 44px;
    right: 38px;
    padding: 13px 17px;
    font-size: 20px;
  }

  .format-card__audience {
    margin: 24px 0 12px;
  }

  .format-card__label {
    margin: 33px 0 45px;
  }

  .format-card ul {
    gap: 33px;
  }

  .format-card button {
    bottom: 34px;
    left: 58px;
    min-width: 240px;
  }

  .format-card>img {
    width: 44%;
    height: 63.3%;
    bottom: 82px;
  }

  .format-card:nth-child(2) .format-card__copy {
    padding-left: 22px;
  }

  .format-card:nth-child(2) .format-card__duration {
    right: 65px;
  }

  .format-card:nth-child(2) button {
    left: 22px;
  }

  .format-card:nth-child(2)>img {
    right: 0;
  }
}

/* Block 4: the PSD deliberately lets every hexagonal portrait break out of
   its card. The viewport gains vertical breathing room while still clipping
   only the neighbouring slider slide horizontally. */
.student-card {
  overflow: visible;
}

.student-card>img {
  position: absolute;
  z-index: 2;
  top: -38px;
  right: -10px;
  width: 320px;
  height: 420px;
  object-fit: cover;
  object-position: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: drop-shadow(0 6px 8px rgb(44 40 33 / 30%));
}

.section-achievements .content-slider__viewport {
  padding: 40px 0 54px;
  margin: -40px 0 -54px;
}

@media (max-width: 767px) {
  .student-card>img {
    top: -20px;
    width: 43%;
    height: calc(100% + 40px);
  }

  .section-achievements .content-slider__viewport {
    padding: 24px 0 34px;
    margin: -24px 0 -34px;
  }
}

@media (min-width: 1500px) {
  .student-card>img {
    top: -38px;
    right: -10px;
    width: 320px;
    height: 420px;
  }

  .section-achievements {
    padding-top: 73px;
  }

  .section-title--achievements {
    width: 1240px;
    margin-bottom: 186px;
    margin-left: calc(84px - var(--page-padding));
  }

  .section-title--achievements h2 {
    font-size: 72px;
  }

  .section-achievements .content-slider {
    width: calc(100vw - 69px);
    padding: 0;
    margin-left: calc(60px - var(--page-padding));
  }

  .section-achievements .content-slider__controls {
    margin-top: 71px;
  }
}

/* Ordinary sections: one centered 1400px axis. The header and approved hero
   intentionally keep their own full-width/left-editorial coordinate system. */
.section-advantages__grid,
.section-achievements .container,
.section-formats .container,
.curriculum-grid,
.reviews-layout,
.site-footer__content,
.contacts-frame {
  width: min(var(--container), calc(100% - (var(--page-padding) * 2)));
  max-width: var(--container);
  margin-inline: auto;
}

.section-trial__shell {
  width: min(var(--container), calc(100% - (var(--page-padding) * 2)));
  margin-inline: auto;
}

@media (min-width: 1200px) {

  .section-achievements .content-slider,
  .section-prices .price-grid {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .section-achievements .section-title--achievements {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .section-achievements .student-pair {
    gap: 64px;
  }

  .section-achievements .student-card {
    min-width: 0;
  }

  .section-achievements .student-card h3 {
    font-size: 30px;
  }

  .section-achievements .student-card ul {
    font-size: 15px;
  }

  .section-formats .section-title--center {
    width: min(100%, 1150px);
    max-width: none;
    margin-inline: auto;
  }

  .section-formats .format-grid {
    width: min(100%, 1184px);
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 558px));
    gap: 68px;
    margin-inline: auto;
  }

  .review-card {
    min-height: 486px;
    padding: 28px 72px 48px;
  }

  .review-card blockquote {
    margin-top: 28px;
    font-size: 24px;
    line-height: 2.4;
  }
}

/* Block 7 desktop composition, proportionally reduced from the 1877×735 PSD
   shell into the shared 1400px site frame. */
@media (min-width: 769px) {
  .section-trial__shell {
    aspect-ratio: 1877 / 756;
    min-height: 0;
  }

  .section-trial__offer {
    width: 48%;
    padding: clamp(40px, 9.2vw, 81px) 0 clamp(40px, 2.6vw, 50px) clamp(40px, 6.6vw, 98px);
  }

  .section-trial__offer h2 {
    max-width: 620px;
    font-size: clamp(42px, 2.65vw, 43px);
  }

  .section-trial__offer>p {
    max-width: 410px;
    margin: clamp(20px, 1.6vw, 30px) 0 clamp(26px, 2vw, 36px);
    font-size: clamp(22px, 1.48vw, 28px);
    line-height: 1.42;
  }

  .trial-chips {
    margin-bottom: 14px;
  }

  .trial-chips span {
    min-height: 48px;
    padding: 8px 22px;
    font-size: clamp(21px, 1.42vw, 27px);
  }

  .trial-chips span:last-child {
    min-width: 202px;
  }

  .trial-benefits {
    width: min(100%, 486px);
    padding: 14px 26px;
    gap: 6px;
    border-radius: 18px;
    font-size: clamp(18px, 1.08vw, 20px);
    line-height: 1.35;
  }

  .section-trial__child {
    z-index: 10;
    bottom: -46px;
    left: 32%;
    width: min(29%, 420px);
  }

  .section-trial__form-panel {
    z-index: 5;
    width: 45%;
    padding: clamp(44px, 3.2vw, 61px) clamp(38px, 3vw, 58px) clamp(34px, 2.5vw, 48px);
    align-content: center;
  }

  .trial-form {
    gap: clamp(15px, 1.1vw, 21px);
  }

  .trial-form>input,
  .trial-form button {
    min-height: clamp(60px, 3.75vw, 71px);
    padding-inline: clamp(26px, 1.8vw, 34px);
    font-size: clamp(21px, 1.42vw, 27px);
  }

  .trial-form__consent {
    gap: 9px;
    font-size: clamp(13px, .86vw, 16px);
  }
}

/* Block 9 is a four-state live slider. At 1920px the heading begins on the
   PSD's x=780 axis and the 790px card keeps its measured inset to the right. */
.review-slider {
  grid-column: 2;
  min-width: 0;
}

.review-slider .content-slider__viewport {
  padding: 16px 0 24px;
  margin: -16px 0 -24px;
}

.review-slide {
  padding: 12px;
}

.review-slide .review-card {
  height: 100%;
}

.review-card__avatar {
  display: grid;
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #efaa64;
  font-size: 34px;
  font-weight: 500;
}

.review-card__avatar--violet {
  background: #a98dd7;
}

.review-card__avatar--rose {
  background: #e98592;
}

.review-slider__controls {
  margin-top: 28px;
}

.review-slider__controls button {
  width: 62px;
  height: 62px;
  font-size: 52px;
}

@media (min-width: 1500px) {
  .reviews-layout {
    grid-template-columns: 520px minmax(0, 1fr);
  }

  .review-slider {
    width: 814px;
    margin-left: 0;
  }

  .reviews-heading {
    width: 1050px;
  }

  .reviews-heading h2 {
    font-size: 68px;
  }

}

/* Block 11: match the compact 576×482 contact surface from the 1366px source
   instead of stretching a narrow card to the full section height. */
.contacts-card {
  width: min(576px, 100%);
  padding: 70px 65px;
}

.contacts-card h2 {
  margin-bottom: 42px;
  font-size: clamp(36px, 2.2vw, 42px);
}

.contacts-card__phone,
.contacts-card address {
  font-size: clamp(25px, 1.55vw, 30px);
  line-height: 1.45;
}

.contacts-card__socials {
  margin-top: 32px;
}

@media (max-width: 1199px) and (min-width: 769px) {
  .review-slider {
    width: 100%;
    margin-left: 0;
  }

  .section-trial__offer h2 {
    font-size: clamp(36px, 4.2vw, 50px);
  }

  .trial-benefits {
    font-size: clamp(17px, 2vw, 23px);
  }
}

@media (max-width: 768px) {
  .review-slider {
    width: 100%;
    margin: 0;
  }

  .review-slide {
    padding: 8px;
  }

  .review-card__avatar {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  .review-slider__controls {
    margin-top: 18px;
  }

  .contacts-card {
    width: 100%;
    padding: 40px 26px;
  }
}

/* Blog and news. Photography is a background layer only; all content stays live. */
.section-blog {
  padding: 112px 0 118px;
  background: #fbfaf8;
}

.section-blog .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(var(--container), calc(100% - (var(--page-padding) * 2)));
  max-width: var(--container);
  margin-inline: auto;
}

.news-main .container {
  width: min(var(--container), calc(100% - (var(--page-padding) * 2)));
  max-width: var(--container);
  margin-inline: auto;
}

.section-blog .section-title {
  margin-bottom: 64px;
}

.blog-grid,
.news-index-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  position: relative;
  display: flex;
  min-height: 408px;
  overflow: hidden;
  align-items: flex-end;
  border-radius: 26px;
  color: var(--color-white);
  background-color: #777777;
  background-position: center;
  background-size: cover;
  box-shadow: 0 14px 30px rgb(58 48 37 / 18%);
}

.news-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(31 28 25 / 12%) 10%, rgb(26 24 22 / 88%) 100%);
  content: "";
}

.news-card--tournament {
  background-image: url("images/student-bogdan-trophy.png");
}

.news-card--training {
  background-image: url("images/student-alexander-board.png");
}

.news-card--strategy {
  background-image: url("images/student-kirill-photo.png");
}

.news-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  padding: 28px;
  gap: 18px;
}

.news-card time {
  justify-self: start;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.news-card h3 {
  max-width: 370px;
  margin: 38px 0 0;
  font-size: clamp(28px, 2.25vw, 39px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.news-card__link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.news-card__link span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 160ms ease, background-color 160ms ease;
}

.news-card__link:hover span,
.news-card__link:focus-visible span {
  color: var(--color-dark);
  background: var(--color-white);
  transform: translateX(3px);
}

.news-card__link:focus-visible,
.button--blog-all:focus-visible,
.breadcrumbs a:focus-visible,
.article-page__back:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 4px;
}

.button--blog-all {
  display: flex;
  margin: 64px auto 0;
  width: 440px;
  min-height: 68px;
  padding: 18px 42px;
  color: var(--color-white);
  background: var(--color-orange);
  box-shadow: 0 12px 22px rgb(207 121 69 / 22%);
  font-size: 20px;
}

.button--blog-all:hover {
  color: var(--color-orange);
  background: var(--color-white);
}

.news-page {
  min-height: 100vh;
  background: #fbfaf8;
}

.news-main,
.article-page {
  padding: 100px 0 128px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 36px;
  gap: 10px;
  color: #858585;
  font-size: 16px;
}

.breadcrumbs a,
.article-page__back {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover,
.article-page__back:hover {
  color: var(--color-orange);
}

.news-page h1,
.article-page h1 {
  margin: 0 0 58px;
  color: var(--color-dark);
  font-size: clamp(44px, 5.2vw, 80px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.news-page h1 span {
  color: var(--color-orange);
}

.news-index-grid .news-card {
  min-height: 430px;
}

.article-page .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-page__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.article-page__date {
  display: block;
  margin-bottom: 20px;
  color: var(--color-orange);
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.article-page h1 {
  margin-bottom: 42px;
  text-align: center;
}

.article-page__image {
  display: block;
  width: min(1120px, 100%);
  max-height: 610px;
  margin: 0 auto 48px;
  border-radius: 28px;
  object-fit: cover;
  object-position: center 32%;
  box-shadow: 0 16px 30px rgb(58 48 37 / 15%);
}

.article-page__content p {
  width: min(860px, 100%);
  margin: 0 auto 24px;
  color: var(--color-dark);
  font-size: clamp(19px, 1.5vw, 24px);
  letter-spacing: -0.035em;
  line-height: 1.55;
}

.article-page__back {
  display: inline-flex;
  margin-top: 20px;
  color: var(--color-orange);
  font-size: 18px;
  font-weight: 700;
  align-self: center;
}

@media (max-width: 1100px) {

  .blog-grid,
  .news-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card {
    min-height: 370px;
  }
}

@media (max-width: 768px) {
  .section-blog {
    padding: 70px 0 76px;
  }

  .section-blog .section-title {
    margin-bottom: 42px;
  }

  .blog-grid,
  .news-index-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-card,
  .news-index-grid .news-card {
    min-height: 335px;
  }

  .news-card__content {
    padding: 22px;
  }

  .news-card h3 {
    max-width: 295px;
    margin-top: 20px;
    font-size: 31px;
  }

  .button--blog-all {
    width: 100%;
    min-height: 60px;
    margin-top: 34px;
    font-size: 17px;
  }

  .news-main,
  .article-page {
    padding: 62px 0 76px;
  }

  .breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .news-page h1,
  .article-page h1 {
    margin-bottom: 36px;
    font-size: 42px;
  }

  .article-page__date {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .article-page__image {
    margin-bottom: 30px;
    border-radius: 20px;
  }

  .article-page__content p {
    margin-bottom: 20px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .site-footer__content {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 1500px) {
  .section-formats__piece--bottom-right {
    top: 887px;
    right: calc(50% - 760px);
    width: 258px;
  }
}


@media (max-width: 430px) {
  .format-card {
    min-height: 420px;
  }

  .format-card button {
    bottom: 20px;
    left: 20px;
    margin-top: 41px;
    margin-left: -20px;
  }
}

/* Client-feedback final cascade */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

.brand__text>span {
  color: var(--color-dark);
}

.site-nav a {
  border-bottom: 0;
}

.site-nav a:hover {
  border-bottom-color: transparent;
  color: var(--color-orange);
  font-weight: 400;
}

.header-contact:first-child {
  justify-content: center;
  font-size: clamp(17px, 1.05vw, 21px);
}

.header-contact__phone {
  width: 34px;
  height: 34px;
}

.hero__visual {
  overflow: hidden;
  max-height: min(645px, 48vw);
}

.hero__subhead {
  margin-top: 76px;
  font-weight: 300;
}

.student-card {
  min-height: 360px;
}

.student-card h3,
.student-card ul {
  font-weight: 300;
}

.format-card:nth-child(2) .format-card__copy {
  padding-left: clamp(32px, 3.1vw, 58px);
}

.format-card:nth-child(2) button {
  left: clamp(32px, 3.1vw, 58px);
}

.price-card>button {
  width: 100%;
}

.section-trial__form-panel {
  align-content: start;
  padding-top: clamp(70px, 6vw, 112px);
}

.trial-form>input,
.trial-form button {
  min-height: 78px;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 300;
}

.section-trial__offer>p {
  font-size: clamp(21px, 1.55vw, 29px);
}

.section-curriculum__title {
  margin-bottom: 66px;
}

.section-curriculum__title h2 {
  color: var(--color-dark);
}

.curriculum-card h2 {
  white-space: nowrap;
}

.review-slider {
  margin-left: auto;
}

.review-card blockquote {
  font-size: clamp(20px, 1.4vw, 26px);
  line-height: 1.55;
}

.review-card__quote {
  right: 30px;
  bottom: 22px;
  font-size: 82px;
}

.section-blog {
  padding-top: 140px;
}

.faq-item {
  max-width: 930px;
  margin-inline: auto;
}

.faq-item summary {
  min-height: 92px;
  padding: 26px 78px 24px 42px;
  font-size: clamp(20px, 1.45vw, 28px);
}

.faq-item p {
  overflow: hidden;
  transition: max-height 240ms ease;
}

.section-contacts {
  margin-bottom: 72px;
}

.site-footer__nav a {
  border-right-width: 1px;
}

@media (min-width: 769px) {
  .section-trial__child {
    width: min(23%, 360px);
  }
}

@media (max-width: 768px) {
  .hero__subhead {
    margin-top: 28px;
  }

  .section-trial__form-panel {
    padding-top: 32px;
  }

  .format-card:nth-child(2) .format-card__copy {
    padding-left: 20px !important;
  }

  .curriculum-card h2 {
    white-space: normal;
  }

  .section-curriculum__title {
    margin-bottom: 40px;
  }

  .section-contacts {
    margin-bottom: 36px;
  }
}

@media (max-width: 361px) {
  .hero__content>.button {
    margin: -60px 0 0 !important;
  }
}