@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/golos-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --canvas: #f7f9fc;
  --paper: #fff;
  --ink: #1f2f46;
  --blue: #334ab0;
  --blue-soft: #e8eef9;
  --muted: #5b687c;
  --line: #dde4ef;
  font-family: "Golos Text", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #ba7b22; outline-offset: 5px; }
::selection { background: #c9d5fb; color: #17285d; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(38px, 3.6vw, 52px); line-height: 1.12; text-wrap: balance; }
h2 { font-size: 36px; line-height: 1.2; }
.wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.header { display: flex; justify-content: flex-end; align-items: center; min-height: 76px; }
.header nav { display: flex; gap: 12px; font-size: 13px; }
.header a { display: block; padding: 9px 18px; border-radius: 30px; }
.header a:last-child { border: 1px solid #ccd5e6; }
.header a:hover { background: var(--blue-soft); }
.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 44px; padding: 48px; background: var(--blue-soft); border: 1px solid #dfe6f4; border-radius: 32px; }
.hero-copy { min-width: 0; padding-block: 8px; }
.exam-topics { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; list-style: none; }
.exam-topics li { padding: 7px 13px; border: 1px solid #c5d0ea; border-radius: 9px; font-size: 13px; font-weight: 500; color: #334878; }
.lesson-details { max-width: 460px; margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 15px 18px; border: 1px solid transparent; border-radius: 11px; font-size: 13px; font-weight: 500; line-height: 1.4; transition: background-color .15s, border-color .15s; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #293c90; }
.button-email { background: var(--paper); border-color: #d6deed; color: var(--ink); }
.button-email:hover { background: #f3f6fc; border-color: #aabada; }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.portrait { min-width: 0; padding: 10px; background: white; border-radius: 23px; box-shadow: 0 15px 35px -25px #51679280; }
.portrait-frame { aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: #cad1dc; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption { display: flex; flex-direction: column; gap: 3px; padding: 18px 12px 12px; }
.portrait-name { font-size: 21px; font-weight: 500; letter-spacing: -.035em; }
.portrait-experience { color: var(--muted); font-size: 13px; }
.reviews-section { padding-block: 74px 0; }
.reviews-heading { margin-bottom: 30px; }
.reviews-grid { columns: 3; column-gap: 18px; }
.review { display: inline-flex; width: 100%; flex-direction: column; break-inside: avoid; gap: 24px; padding: 27px; margin-bottom: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.review:nth-child(5n + 2) { background: #edf2fc; border-color: #dce5f6; }
.review:nth-child(5n + 4) { background: #f4f0e7; border-color: #e9e2d3; }
.review blockquote { margin: 0; font-size: 14px; line-height: 1.8; }
.review figcaption { display: flex; gap: 11px; align-items: center; line-height: 1.5; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid #d7e0f0; border-radius: 50%; font-size: 14px; font-weight: 500; color: #344b7d; background: #e9eef7; }
.review:nth-child(3n + 2) .avatar { background: #e1eae5; border-color: #d4e1da; color: #405b4c; }
.review:nth-child(3n) .avatar { background: #eee5d7; border-color: #e4d9c8; color: #6b5636; }
.review b { display: block; font-size: 13px; font-weight: 500; }
.review small { display: block; color: var(--muted); font-size: 11px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 330px); gap: 52px; align-items: center; margin-block: 54px 48px; padding: 46px 48px; background: #23355e; color: white; border-radius: 26px; }
.contact h2 { max-width: 480px; font-size: 37px; }
.contact p { max-width: 440px; margin-top: 16px; color: #cad5e9; font-size: 14px; }
.contact-actions { display: grid; gap: 12px; min-width: 0; }
.contact .button-primary { background: #fff; color: #23355e; }
.contact .button-primary:hover { background: #e8eef9; }
.contact .button-email { color: white; background: transparent; border-color: #667898; }
.contact .button-email:hover { background: #334972; border-color: #a8b9d8; }
@media (max-width: 1100px) {
  .hero { padding: 32px; gap: 30px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; }
  .portrait-name { font-size: 19px; }
  .review { padding: 23px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .hero { gap: 24px; padding: 28px; }
  h1 { font-size: 34px; }
  .portrait figcaption { padding: 14px 5px 8px; }
  .portrait-name { font-size: 16px; }
  .portrait-experience { font-size: 11px; }
  .exam-topics { margin-top: 22px; }
  .exam-topics li { font-size: 11px; padding: 6px 10px; }
  .lesson-details { font-size: 14px; margin-top: 20px; }
  .reviews-grid { columns: 2; }
  .contact { padding: 32px; gap: 28px; grid-template-columns: minmax(0, 1fr) 260px; }
  .contact h2 { font-size: 30px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 18px; }
  .wrap { width: calc(100% - 28px); }
  .header { min-height: 62px; }
  .header nav { gap: 4px; font-size: 12px; }
  .header a { padding: 7px 14px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: 24px 20px 20px; border-radius: 23px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(26px, 7.3vw, 43px); line-height: 1.15; letter-spacing: -.045em; text-wrap: initial; }
  .exam-topics { gap: 6px; margin-top: 22px; }
  .exam-topics li { padding: 6px 9px; font-size: 11px; }
  .lesson-details { font-size: 14px; margin-top: 20px; }
  .hero-actions { margin-top: 24px; max-width: none; }
  .button { width: 100%; padding-inline: 12px; font-size: 12px; min-height: 52px; }
  .portrait { width: min(100%, 400px); align-self: center; padding: 8px; border-radius: 18px; }
  .portrait-frame { border-radius: 12px; }
  .portrait figcaption { padding: 15px 10px 10px; }
  .portrait-name { font-size: 21px; }
  .portrait-experience { font-size: 12px; }
  .reviews-section { padding-top: 44px; }
  .reviews-heading { margin: 0 6px 24px; font-size: 29px; }
  .reviews-grid { columns: 1; }
  .review { padding: 25px; margin-bottom: 12px; border-radius: 16px; }
  .review blockquote { font-size: 14px; }
  .contact { display: block; margin-block: 28px; padding: 30px 24px; border-radius: 22px; }
  .contact h2 { font-size: 30px; }
  .contact p { font-size: 13px; }
  .contact-actions { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
