:root {
  --ink: #151515;
  --panel: #1d1d1d;
  --panel-soft: #232323;
  --paper: #f4f2ec;
  --white: #ffffff;
  --yellow: #f2c94c;
  --text: #efefef;
  --muted: #a8a8a8;
  --muted-light: #6f6a5f;
  --line: rgba(255, 255, 255, 0.13);
  --line-light: rgba(21, 21, 21, 0.18);
  --max: 1440px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-fast: 160ms var(--ease-out);
  --motion-smooth: 260ms var(--ease-out);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(28px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(18px);
}

.wordmark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.text-link,
.social-links a,
.footer-meta a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color 160ms ease;
}

.nav a:hover,
.text-link:hover,
.social-links a:hover,
.footer-meta a:hover {
  text-decoration-color: currentColor;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--white);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.social-icon:hover {
  border-color: rgba(255, 210, 64, 0.7);
  background: rgba(255, 210, 64, 0.08);
  color: var(--yellow);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.youtube-mark {
  width: 20px;
}

.youtube-mark path:first-child {
  fill: currentColor;
}

.youtube-mark path:last-child {
  fill: var(--ink);
}

.social-icon:hover .youtube-mark path:last-child {
  fill: #171717;
}

.social-icon-text {
  font-size: 12px;
  font-weight: 800;
}

.boosty-icon {
  width: 36px;
}

.boosty-mark {
  width: 21px;
  height: 21px;
}

.boosty-mark path {
  fill: currentColor;
}

.boosty-mark .boosty-bolt {
  fill: #171717;
}

.boosty-icon:hover .boosty-bolt {
  fill: #211b14;
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(470px, 0.9fr) minmax(560px, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(21,21,21,0.05), var(--ink) 48%, #101010 100%);
}

.hero-photo {
  position: relative;
  min-height: 640px;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(21,21,21,0.18), rgba(21,21,21,0.42) 54%, var(--ink) 100%),
    linear-gradient(0deg, rgba(21,21,21,0.28), transparent 42%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 44%;
  filter: saturate(0.86) contrast(1.04);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 96px) clamp(48px, 7vw, 112px) 46px 54px;
}

.eyebrow,
.section-number {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
.footer-name {
  font-family: "Unbounded", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(70px, 7vw, 122px);
  font-weight: 600;
  line-height: 0.95;
}

.hero-lead {
  max-width: 790px;
  margin: 24px 0 0;
  color: #d7d7d7;
  font-size: 18px;
  line-height: 1.55;
}

.hero-video-row {
  max-width: 840px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 330px);
  align-items: stretch;
  gap: 22px;
  margin-top: 26px;
}

.hero-video-note {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  min-height: 82px;
  display: grid;
  align-content: center;
  padding: 18px 26px;
  border-right: 1px solid var(--line);
}

.hero-facts div:first-child {
  padding-left: 0;
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts span {
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.hero-facts p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-video {
  min-height: 118px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 210, 64, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 210, 64, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(20, 20, 20, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.play-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--yellow);
}

.play-mark::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--yellow);
}

.hero-video p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-video strong {
  color: var(--white);
  font-size: 15px;
  line-height: 1.25;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px clamp(28px, 4vw, 64px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading-row > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 3.4vw, 56px);
  font-weight: 500;
  line-height: 1.05;
}

.requests .section-number,
.approach .section-number,
.videos .section-number,
.education .section-number {
  color: var(--white);
}

.requests h2,
.approach h2,
.videos h2,
.education h2 {
  color: var(--yellow);
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.request-grid article,
.approach-grid article {
  min-height: 168px;
  padding: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    var(--panel);
}

.request-grid article {
  min-height: 188px;
  padding: 28px;
}

.request-icon {
  width: 66px;
  height: 66px;
  display: block;
}

.request-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 210, 64, 0.14));
}

.request-icon svg * {
  vector-effect: non-scaling-stroke;
}

.request-grid h3,
.approach-grid h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 21px;
}

.request-grid h3 {
  font-size: 22px;
}

.request-grid p,
.approach-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.text-accent {
  color: var(--yellow);
  font-weight: 800;
}

.small-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.small-note span {
  color: var(--yellow);
  font-weight: 800;
}

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

.approach-grid article {
  min-height: 146px;
}

.line-icon {
  width: 34px;
  height: 34px;
  display: block;
  border: 2px solid var(--yellow);
  clip-path: polygon(10% 10%, 90% 10%, 60% 54%, 60% 90%, 40% 90%, 40% 54%);
}

.grid-icon {
  display: grid;
  clip-path: none;
  border: 0;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 5px;
}

.grid-icon::before,
.grid-icon::after {
  content: "";
}

.grid-icon,
.grid-icon::before,
.grid-icon::after {
  background:
    linear-gradient(var(--yellow), var(--yellow)) 0 0 / 12px 12px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 17px 0 / 12px 12px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 0 17px / 12px 12px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 17px 17px / 12px 12px no-repeat;
}

.lab-icon {
  clip-path: polygon(38% 8%, 62% 8%, 62% 45%, 88% 86%, 12% 86%, 38% 45%);
}

.request-icon,
.line-icon {
  display: none;
}

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

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--panel);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.education-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.education-text {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.degree-year {
  margin: 0;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.education-text h3 {
  margin: 72px 0 12px;
  color: var(--white);
  font-size: 26px;
}

.education-text p:last-child {
  margin: 0;
  color: var(--muted);
}

.certificate-viewer {
  min-height: 790px;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: #101010;
}

.viewer-top {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.viewer-top p {
  margin: 0;
  padding: 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.viewer-controls {
  display: flex;
  height: 58px;
}

.viewer-controls button {
  width: 58px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 20px;
}

.certificate-frame {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
}

.certificate-frame.is-loading::after {
  content: "Загружается...";
  position: absolute;
  inset: 0 0 58px;
  display: grid;
  place-items: center;
  background: rgba(16, 16, 16, 0.36);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

.certificate-frame img {
  width: 100%;
  height: 100%;
  max-height: 674px;
  object-fit: contain;
  padding: 20px;
  cursor: zoom-in;
}

.certificate-frame img[hidden],
.certificate-placeholder[hidden] {
  display: none;
}

.certificate-placeholder {
  display: grid;
  min-height: 674px;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.certificate-frame figcaption {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  color: var(--white);
  font-weight: 800;
}

.certificate-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(18px);
}

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

.certificate-modal-content {
  width: min(1180px, 100%);
  max-height: calc(100vh - 68px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #101010;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.certificate-modal-content img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  padding: 22px;
}

.certificate-modal-content figcaption {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--white);
  font-weight: 800;
}

.certificate-modal-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(20, 20, 20, 0.78);
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition:
    border-color var(--motion-fast),
    background var(--motion-fast),
    color var(--motion-fast),
    transform var(--motion-fast);
}

.certificate-modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 201, 76, 0.55);
  background: rgba(242, 201, 76, 0.12);
  color: var(--yellow);
}

.certificate-modal.is-loading .certificate-modal-content {
  opacity: 0.72;
}

.certificate-modal.is-loading::after {
  content: "Загружается...";
  position: fixed;
  z-index: 102;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  pointer-events: none;
}

.certificate-modal-nav {
  position: fixed;
  z-index: 101;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(20, 20, 20, 0.74);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition:
    border-color var(--motion-fast),
    background var(--motion-fast),
    color var(--motion-fast),
    box-shadow var(--motion-fast);
}

.certificate-modal-prev {
  left: 24px;
}

.certificate-modal-next {
  right: 24px;
}

.certificate-modal-nav:hover {
  border-color: rgba(242, 201, 76, 0.62);
  background: rgba(242, 201, 76, 0.14);
  color: var(--yellow);
  box-shadow: 0 0 24px rgba(242, 201, 76, 0.12);
}

.certificate-modal-nav:active {
  background: rgba(242, 201, 76, 0.2);
}

.price {
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--yellow);
  color: var(--ink);
}

.price-inner {
  max-width: var(--max);
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(360px, 0.44fr) minmax(620px, 0.56fr);
  gap: 70px;
  align-items: center;
  margin: 0 auto;
  padding: 70px clamp(28px, 4vw, 64px);
}

.price .section-number {
  color: rgba(21, 21, 21, 0.55);
}

.price h2 {
  color: var(--ink);
}

.price-copy p {
  margin: 34px 0 18px;
  font-size: 30px;
  line-height: 1.32;
}

.price-copy span {
  color: rgba(21, 21, 21, 0.68);
  font-size: 15px;
  font-weight: 700;
}

.price-list {
  border-top: 1px solid rgba(21, 21, 21, 0.38);
}

.price-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(21, 21, 21, 0.28);
}

.price-list strong {
  font-size: 16px;
}

.price-list span {
  display: block;
  margin-top: 2px;
  color: rgba(21, 21, 21, 0.55);
  font-size: 12px;
  font-weight: 700;
}

.price-list p {
  margin: 0;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 31px;
  font-weight: 600;
}

.contact {
  max-width: none;
  padding: 76px clamp(28px, 5vw, 76px);
  border-top: 0;
  background: var(--ink);
}

.contact-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.contact-heading {
  margin-bottom: 48px;
  text-align: center;
}

.contact-heading .section-number {
  margin-bottom: 14px;
}

.telegram-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 34px 36px;
  border: 1px solid rgba(242, 201, 76, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 12%, rgba(242, 201, 76, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(242, 201, 76, 0.08), rgba(255,255,255,0.02)),
    var(--panel);
}

.telegram-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
}

.telegram-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.telegram-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 20px;
}

.telegram-card p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
}

.telegram-card strong {
  color: var(--yellow);
}

.telegram-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.form-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 48px 0 34px;
  color: #6d6d6d;
  font-size: 14px;
}

.form-divider::before,
.form-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.contact-form {
  max-width: 660px;
  display: grid;
  gap: 18px;
  margin: 0 auto;
}

.hidden-field {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 0.45fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field-label b {
  color: var(--yellow);
}

.field-label em {
  color: #6d6d6d;
  font-style: normal;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--panel);
  color: var(--white);
}

input::placeholder,
textarea::placeholder {
  color: #626262;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  border-radius: 8px;
}

.contact-form .button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-status.is-success {
  color: var(--yellow);
}

.form-status.is-error {
  color: #ff8a8a;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 56px;
  padding: 24px clamp(28px, 4vw, 64px) 22px;
  border-top: 1px solid var(--line);
  background: #111;
  color: var(--white);
}

.footer-name {
  color: var(--white);
  font-size: 18px;
}

footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.social-links,
.footer-meta {
  display: flex;
  gap: 20px;
  color: #d4d4d4;
  font-size: 14px;
}

.footer-meta {
  flex-direction: column;
  gap: 8px;
}

.footer-meta p {
  margin: 0;
}

.header-cta,
.button,
.telegram-button,
.social-icon,
.text-link,
.hero-video,
.play-mark,
.request-grid article,
.approach-grid article,
.video-frame,
.certificate-viewer,
.viewer-controls button,
.telegram-card,
input,
textarea {
  transition:
    transform var(--motion-fast),
    border-color var(--motion-fast),
    background var(--motion-fast),
    background-color var(--motion-fast),
    color var(--motion-fast),
    box-shadow var(--motion-smooth),
    opacity var(--motion-fast),
    filter var(--motion-fast);
}

.play-mark::before {
  transition: border-left-color var(--motion-fast);
}

.header-cta:hover,
.button:hover,
.telegram-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 232, 132, 0.22),
    0 0 22px rgba(242, 201, 76, 0.26),
    0 8px 18px rgba(242, 201, 76, 0.14);
  filter: brightness(1.04);
}

.header-cta:active,
.button:active,
.telegram-button:active {
  transform: translateY(0);
  box-shadow:
    0 0 0 1px rgba(255, 232, 132, 0.16),
    0 0 14px rgba(242, 201, 76, 0.18);
  filter: brightness(0.99);
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.social-icon:active {
  transform: translateY(0) scale(0.96);
}

.text-link:hover {
  transform: translateX(3px);
  color: var(--yellow);
}

.hero-video:hover,
.video-frame:hover,
.request-grid article:hover,
.approach-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 201, 76, 0.42);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

.hero-video:hover {
  background:
    linear-gradient(135deg, rgba(255, 210, 64, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(20, 20, 20, 0.84);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.hero-video:hover .play-mark {
  background: var(--yellow);
}

.hero-video:hover .play-mark::before {
  border-left-color: var(--ink);
}

.request-grid article:hover,
.approach-grid article:hover {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.052), rgba(255,255,255,0.016)),
    var(--panel-soft);
}

.viewer-controls button:hover {
  background-color: rgba(242, 201, 76, 0.1);
  color: var(--yellow);
}

.viewer-controls button:active {
  transform: scale(0.94);
}

input:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: rgba(242, 201, 76, 0.72);
  background: #242424;
  box-shadow:
    0 0 0 3px rgba(242, 201, 76, 0.12),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 68px;
    padding: 0 24px;
  }

  .nav {
    gap: 24px;
    font-size: 13px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-socials {
    gap: 6px;
  }

  .social-icon {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 18px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(380px, 0.8fr) minmax(0, 1fr);
  }

  .hero-photo {
    min-height: 640px;
  }

  .hero-content {
    padding: 58px 42px 42px;
  }

  h1 {
    font-size: clamp(62px, 8vw, 96px);
  }

  .hero-lead {
    max-width: 680px;
    font-size: 17px;
  }

  .hero-video-row {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .hero-video-note {
    padding: 16px 0;
  }

  .hero-video {
    max-width: 420px;
  }

  .request-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-inner {
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
    gap: 42px;
  }

  .certificate-viewer {
    min-height: 720px;
  }

  .certificate-frame img {
    max-height: 604px;
  }

  .certificate-placeholder {
    min-height: 604px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 18px;
  }

  .nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .hero {
    display: block;
  }

  .hero-photo {
    min-height: 0;
    height: clamp(320px, 64vw, 560px);
  }

  .hero-photo::after {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(21,21,21,0.78) 24%, rgba(21,21,21,0.1) 72%),
      linear-gradient(90deg, rgba(21,21,21,0.28), rgba(21,21,21,0.12));
  }

  .hero-photo img {
    object-position: 50% 42%;
  }

  .hero-content {
    margin-top: -120px;
    padding: 0 28px 42px;
  }

  h1 {
    font-size: 74px;
  }

  .hero-lead {
    max-width: none;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .button {
    width: 100%;
    max-width: 360px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div,
  .hero-facts div:first-child {
    min-height: 70px;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 58px 28px;
  }

  .section-heading-row {
    display: grid;
    gap: 18px;
  }

  .section-heading-row > p {
    max-width: none;
  }

  h2 {
    font-size: 48px;
  }

  .approach-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .certificate-viewer {
    min-height: 600px;
  }

  .certificate-frame img {
    max-height: 484px;
    padding: 16px;
  }

  .certificate-placeholder {
    min-height: 484px;
  }

  .price-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 58px 28px;
  }

  .price-copy p {
    max-width: 620px;
    font-size: 25px;
  }

  .contact {
    padding: 58px 28px;
  }

  .contact-heading {
    margin-bottom: 34px;
  }

  .telegram-card {
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 28px;
  }

  .telegram-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .contact-form {
    max-width: 100%;
  }

  .contact-form .button {
    max-width: none;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 28px;
  }

  .social-links,
  .footer-meta {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .wordmark {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .header-socials {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-photo {
    height: clamp(300px, 76vw, 430px);
  }

  .hero-content {
    margin-top: -92px;
    padding: 0 18px 34px;
  }

  .eyebrow,
  .section-number {
    margin-bottom: 12px;
    font-size: 11px;
  }

  h1 {
    font-size: 52px;
    line-height: 0.96;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 15px;
  }

  .hero-video-row {
    gap: 16px;
    margin-top: 22px;
  }

  .hero-video-note {
    font-size: 14px;
  }

  .hero-video {
    min-height: 108px;
    grid-template-columns: 46px 1fr auto;
    gap: 13px;
    padding: 16px;
  }

  .play-mark {
    width: 40px;
    height: 40px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    max-width: none;
    min-height: 50px;
    padding: 13px 18px;
  }

  .hero-facts {
    margin-top: 30px;
  }

  .section {
    padding: 48px 18px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  h2 {
    font-size: 40px;
  }

  .price h2 {
    font-size: 40px;
  }

  .request-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .request-grid article,
  .approach-grid article {
    min-height: auto;
    padding: 22px;
    transition: none;
  }

  .request-grid article:hover,
  .approach-grid article:hover {
    transform: none;
    border-color: var(--line);
    box-shadow: none;
    background:
      linear-gradient(145deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
      var(--panel);
  }

  .request-grid h3,
  .approach-grid h3 {
    font-size: 20px;
  }

  .video-grid {
    gap: 16px;
  }

  .education .section-heading-row {
    gap: 14px;
  }

  .certificate-viewer {
    min-height: 430px;
  }

  .viewer-top,
  .viewer-controls {
    min-height: 52px;
    height: 52px;
  }

  .viewer-controls button {
    width: 52px;
  }

  .certificate-frame img {
    max-height: 320px;
    padding: 12px;
  }

  .certificate-frame.is-loading::after {
    inset: 0 0 54px;
  }

  .certificate-placeholder {
    min-height: 320px;
  }

  .certificate-frame figcaption {
    min-height: 54px;
    padding: 13px 14px;
    font-size: 13px;
  }

  .price-inner {
    padding: 48px 18px;
  }

  .price-copy p {
    margin-top: 24px;
    font-size: 22px;
  }

  .price-list article {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 24px 0;
  }

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

  .contact {
    padding: 48px 18px;
  }

  .contact-heading h2 {
    font-size: 42px;
  }

  .telegram-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .telegram-icon {
    width: 52px;
    height: 52px;
  }

  .form-divider {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 34px 0 26px;
    text-align: center;
  }

  .form-divider::before,
  .form-divider::after {
    display: none;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  input,
  textarea {
    padding: 13px 14px;
  }

  textarea {
    min-height: 126px;
  }

  .certificate-modal {
    padding: 18px;
  }

  .certificate-modal-content {
    max-height: calc(100vh - 36px);
  }

  .certificate-modal-content img {
    max-height: calc(100vh - 122px);
    padding: 14px;
  }

  .certificate-modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .certificate-modal-nav {
    top: auto;
    bottom: 16px;
    width: 46px;
    height: 46px;
    background: rgba(20, 20, 20, 0.86);
  }

  .certificate-modal-prev {
    left: 18px;
  }

  .certificate-modal-next {
    right: 18px;
  }

  footer {
    padding: 22px 18px;
  }
}

@media (max-width: 420px) {
  .header-cta {
    padding: 0 13px;
    font-size: 13px;
  }

  .hero-content {
    margin-top: -74px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .price h2 {
    font-size: 34px;
    line-height: 1.04;
  }

  .contact-heading h2 {
    font-size: 35px;
  }

  .hero-video {
    grid-template-columns: 42px 1fr;
  }

  .certificate-viewer {
    min-height: 386px;
  }

  .certificate-frame img {
    max-height: 276px;
  }

  .certificate-placeholder {
    min-height: 276px;
  }

  .social-links {
    gap: 14px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 38px;
  }

  h2,
  .price h2 {
    font-size: 30px;
  }

  .contact-heading h2 {
    font-size: 31px;
  }

  .header-cta {
    padding: 0 11px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
