:root {
  --ink: #101113;
  --muted: #666a73;
  --line: #e8e4df;
  --paper: #fffdf9;
  --soft: #f6f4f0;
  --panel: #ffffff;
  --red: #d80f1f;
  --red-dark: #a90b17;
  --shadow: 0 22px 55px rgba(17, 17, 17, .09);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 253, 249, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 17, 19, .08);
  box-shadow: none;
}
.brand img { width: 190px; height: auto; mix-blend-mode: multiply; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
}
.site-nav a {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  color: #2f3136;
  transition: color .2s ease, transform .2s ease;
}
.site-nav a:not(.nav-cta)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.site-nav a:hover, .site-nav .active {
  color: var(--red);
  background: transparent;
}
.site-nav a:not(.nav-cta):hover::before,
.site-nav a:not(.nav-cta).active::before {
  transform: scaleX(1);
}
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: -14px;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .22s ease;
}
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: translateY(1px) rotate(225deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 310px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(16,17,19,.09);
  background:
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(250,247,243,.94));
  box-shadow: 0 30px 80px rgba(16,17,19,.16);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(12px) scale(.98);
  transform-origin: top center;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  pointer-events: none;
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,.94);
  border-left: 1px solid rgba(16,17,19,.08);
  border-top: 1px solid rgba(16,17,19,.08);
  transform: translateX(-50%) rotate(45deg);
}
.nav-dropdown-menu::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216,15,31,.35), transparent);
}
.nav-dropdown-menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px 10px 20px;
  border-radius: 14px;
  color: var(--ink);
  overflow: hidden;
}
.nav-dropdown-menu a::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--red);
  transform: translateY(-50%) scale(0);
  transition: transform .2s ease;
}
.nav-dropdown-menu a:hover {
  background: rgba(216,15,31,.07);
  color: var(--red);
  transform: translateX(3px);
}
.nav-dropdown-menu a:hover::before { transform: translateY(-50%) scale(1); }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(16, 17, 19, .14);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta {
  min-width: 218px;
  min-height: 48px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.34), transparent 28%),
    linear-gradient(135deg, #ed1b2f, #c60818);
  border-color: rgba(216,15,31,.86);
  color: #fff !important;
  box-shadow: 0 18px 38px rgba(216,15,31,.22);
  animation: ctaAttention 2s ease-in-out infinite;
}
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.18);
  pointer-events: none;
}
.nav-cta:hover {
  color: #fff !important;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.4), transparent 28%),
    linear-gradient(135deg, #f32739, #d80f1f) !important;
  border-color: var(--red) !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(216,15,31,.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(16, 17, 19, .2); }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.ghost { background: transparent; color: var(--ink) !important; box-shadow: none; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; }
.nav-toggle span { display: block; height: 2px; margin: 7px 0; background: var(--ink); }

.section { padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px); }
.section.alt { background: var(--soft); }
#exam-area { scroll-margin-top: 96px; }
.is-hidden { display: none !important; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.eyebrow { color: var(--red); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.04; letter-spacing: 0; }
h1, h2 { font-family: var(--serif); }
h1 { font-size: clamp(44px, 7vw, 86px); max-width: 840px; }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: 21px; }
p { color: var(--muted); line-height: 1.75; }

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .72fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(42px, 5vw, 68px);
  overflow: hidden;
}
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.decor-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  border: 1px solid rgba(216,15,31,.12);
  background: rgba(255,255,255,.54);
  box-shadow: 0 18px 46px rgba(16,17,19,.045);
  color: rgba(16,17,19,.18);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 800;
}
.decor-a { left: 28%; top: 7%; animation: decorFloatA 9s ease-in-out infinite; }
.decor-b { left: 54%; top: 12%; color: rgba(216,15,31,.18); animation: decorFloatB 10s ease-in-out infinite; }
.decor-line {
  position: absolute;
  height: 9px;
  border-radius: 999px;
  background: rgba(216,15,31,.13);
  box-shadow: 0 18px 38px rgba(216,15,31,.08);
}
.decor-line-a { left: 39%; top: 13%; width: 190px; animation: decorLineA 8s ease-in-out infinite; }
.decor-line-b { left: 64%; top: 25%; width: 150px; background: rgba(16,17,19,.08); animation: decorLineB 11s ease-in-out infinite; }
.decor-card {
  position: absolute;
  padding: 18px 28px;
  border-radius: 22px;
  border: 1px solid rgba(216,15,31,.10);
  background: rgba(255,255,255,.48);
  color: rgba(16,17,19,.13);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 800;
  box-shadow: 0 20px 60px rgba(16,17,19,.04);
}
.decor-card-a { left: 46%; top: 2%; transform: rotate(-5deg); animation: decorCardA 12s ease-in-out infinite; }
.decor-card-b { left: 13%; top: 18%; transform: rotate(4deg); animation: decorCardB 10s ease-in-out infinite; }
.hero-text {
  position: relative;
  z-index: 1;
  animation: slideInFromLeft .85s cubic-bezier(.2,.8,.2,1) both;
}
.hero-text::before {
  content: "";
  position: absolute;
  left: -34px;
  top: -54px;
  width: min(48vw, 620px);
  height: min(44vw, 520px);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(216,15,31,.12) 0 78px, transparent 78px) 42px 88px / 210px 9px no-repeat,
    linear-gradient(90deg, rgba(16,17,19,.08) 0 120px, transparent 120px) 178px 198px / 260px 1px no-repeat,
    linear-gradient(90deg, rgba(216,15,31,.10) 0 64px, transparent 64px) 330px 292px / 180px 8px no-repeat,
    radial-gradient(circle at 74px 92px, rgba(216,15,31,.18) 0 12px, transparent 13px),
    radial-gradient(circle at 410px 296px, rgba(16,17,19,.10) 0 10px, transparent 11px);
  border: 1px solid rgba(16,17,19,.045);
  opacity: .62;
  transform: rotate(-7deg);
  z-index: -1;
  animation: leftAcademicFloat 11s ease-in-out infinite;
}
.hero-text::after {
  content: "A1   speak   grammar   YDT   C1";
  position: absolute;
  left: clamp(90px, 15vw, 240px);
  bottom: -76px;
  width: min(42vw, 520px);
  padding: 22px 28px;
  border: 1px solid rgba(216,15,31,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 18px 55px rgba(16,17,19,.06);
  color: rgba(16,17,19,.16);
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 38px);
  font-weight: 800;
  white-space: nowrap;
  z-index: -1;
  animation: leftWordCard 9s ease-in-out infinite;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.92), rgba(255,253,249,.64)),
    url("../img/academy-abstract.svg") center/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  top: 12vh;
  width: 40vw;
  height: 40vw;
  border: 1px solid rgba(216, 15, 31, .2);
  transform: rotate(18deg);
  z-index: -1;
}
.hero-text p { max-width: 650px; font-size: 18px; }
.hero-slogan {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 246px;
  margin: 0 8px 8px 0;
  padding: 8px 14px;
  border: 1px solid rgba(216,15,31,.18);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,246,247,.92)),
    linear-gradient(110deg, transparent 12%, rgba(216,15,31,.14), transparent 42%);
  color: var(--red);
  box-shadow: 0 16px 36px rgba(216,15,31,.12);
  overflow: hidden;
  animation: sloganFloat 4.8s ease-in-out infinite;
}
.hero-slogan::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent);
  transform: skewX(-18deg);
  animation: sloganShine 3.8s ease-in-out infinite;
}
.hero-slogan::after {
  content: "";
  width: 2px;
  height: 1.15em;
  margin-left: 7px;
  border-radius: 3px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(216,15,31,.42);
  animation: typeCursor .82s steps(1) infinite;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-proof { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-proof strong { display: block; font-family: var(--serif); font-size: 32px; }
.hero-proof span { color: var(--muted); font-weight: 700; font-size: 13px; }

.journey-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(24px);
  border-radius: 28px;
  box-shadow: var(--shadow);
  animation: slideInFromRight .9s cubic-bezier(.2,.8,.2,1) .12s both;
}
.journey-card h3 { font-family: var(--serif); font-size: 30px; }
.level-path { display: grid; gap: 14px; margin: 24px 0; }
.path-row { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.path-row b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}
.path-row:nth-child(even) b { background: var(--red); }
.progress { height: 8px; border-radius: 99px; background: #ece7df; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--ink), var(--red)); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card, .program-card, .level-card, .post-card, .feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(16,17,19,.05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.program-card, .feature-card { padding: 26px; }
.program-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.program-media {
  position: relative;
  overflow: hidden;
  margin: -8px -8px 22px;
  border-radius: 16px;
  aspect-ratio: 16 / 8.5;
  background: var(--soft);
}
.program-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,17,19,.16), rgba(216,15,31,.12));
}
.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}
.program-card:hover .program-media img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.04);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s ease,
    border-color .22s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.program-media img {
  opacity: .82;
  transform: scale(1.035);
}
.reveal-on-scroll.is-visible .program-media img {
  opacity: 1;
  transform: scale(1);
  transition: opacity .8s ease, transform 1s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.program-card:hover, .level-card:hover, .post-card:hover, .feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216,15,31,.34);
  box-shadow: var(--shadow);
}
.icon-box {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #17181b;
  color: #fff;
  margin-bottom: 22px;
}
.program-card:hover .icon-box, .feature-card:hover .icon-box { background: var(--red); }

.levels-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.level-card { padding: 22px; }
button.level-card {
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.level-card.active {
  border-color: rgba(216,15,31,.45);
  box-shadow: var(--shadow);
}
.level-code { font-family: var(--serif); font-size: 42px; color: var(--red); }
.difficulty { display: flex; gap: 5px; margin: 18px 0 22px; }
.difficulty i { width: 100%; height: 6px; border-radius: 99px; background: #e9e3db; }
.difficulty i.on { background: var(--red); }
.level-card .btn { width: 100%; min-height: 42px; padding: 0 14px; font-size: 13px; }
.sample-exam-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  margin-top: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  min-height: 330px;
}
.sample-exam-card.is-hidden { display: none; }
.sample-exam-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(216,15,31,.13);
  border-radius: 70px;
  transform: rotate(18deg);
  pointer-events: none;
}
.sample-question {
  position: relative;
  z-index: 1;
  margin: 24px 0 26px;
}
.sample-question h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.sample-options {
  display: grid;
  gap: 10px;
  max-width: 520px;
}
.sample-options label {
  color: #555b66;
  font-weight: 600;
}
.sample-cta {
  position: relative;
  z-index: 1;
}
.sample-exit {
  animation: sampleExit .24s ease both;
}
.sample-enter {
  animation: sampleEnter .46s cubic-bezier(.2,.8,.2,1) both;
}
.full-exam-card {
  padding: clamp(26px, 4vw, 42px);
  margin-top: 28px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.candidate-card {
  padding: clamp(26px, 4vw, 42px);
  margin-top: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,250,250,.9)),
    url("../img/academy-abstract.svg") center/cover no-repeat;
}
.candidate-card h2 {
  font-size: clamp(34px, 4.4vw, 56px);
}
.candidate-card p { max-width: 560px; }
.candidate-form,
.candidate-form.form-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 520px;
}
.candidate-form .input {
  min-height: 54px;
  border-radius: 18px;
}
.candidate-form .btn {
  justify-self: start;
  min-width: 180px;
  margin-top: 4px;
}
.full-exam-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.exam-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.exam-timer {
  display: grid;
  justify-items: end;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 18px;
  background: #111216;
  color: #fff;
  box-shadow: 0 16px 34px rgba(16,17,19,.14);
}
.exam-timer span {
  font-size: 12px;
  color: rgba(255,255,255,.68);
  font-weight: 800;
}
.exam-timer strong {
  font-family: var(--serif);
  font-size: 28px;
}
.exam-timer.is-ending {
  background: var(--red);
  animation: timerPulse 1s ease-in-out infinite;
}
.exam-progress {
  width: fit-content;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff4f5;
  color: var(--red);
  font-weight: 900;
}
.exam-wizard-form .exam-question-card {
  display: none;
}
.exam-wizard-form .exam-question-card.is-active {
  display: grid;
  animation: sampleEnter .34s cubic-bezier(.2,.8,.2,1) both;
}
.exam-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.full-exam-form > .btn,
.full-exam-form > .compact-action,
.exam-actions .btn {
  width: auto;
  justify-self: start;
  min-width: 146px;
}
.exam-question-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16,17,19,.045);
}
.exam-question-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #111216;
  color: #fff;
  font-family: var(--serif);
  font-weight: 800;
}
.exam-question-card:nth-child(even) > span { background: var(--red); }
.exam-question-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
}
.exam-question-card.is-correct {
  border-color: rgba(23, 133, 74, .28);
  background: linear-gradient(135deg, rgba(239, 255, 246, .78), #fff);
}
.exam-question-card.is-wrong {
  border-color: rgba(216, 15, 31, .25);
  background: linear-gradient(135deg, rgba(255, 244, 245, .72), #fff);
}
.sample-options label.option-correct,
.sample-options label.option-wrong {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
}
.sample-options label.option-correct {
  background: #effff6;
  color: #137345;
  border: 1px solid rgba(19, 115, 69, .22);
}
.sample-options label.option-wrong {
  background: #fff1f3;
  color: var(--red-dark);
  border: 1px solid rgba(216, 15, 31, .22);
}
.answer-feedback {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}
.answer-feedback.correct {
  background: #effff6;
  color: #137345;
}
.answer-feedback.wrong {
  background: #fff1f3;
  color: var(--red-dark);
}

.about-wrap { display: grid; grid-template-columns: 1.05fr .75fr; gap: 54px; align-items: start; }
.about-copy { max-width: 820px; }
.stat-grid { display: grid; gap: 18px; }
.stat-card { padding: 24px; border-left: 4px solid var(--red); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.blog-preview { display: grid; grid-template-columns: 1.2fr repeat(2, .9fr); gap: 22px; }
.post-card { overflow: hidden; }
.post-art {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(16,17,19,.88), rgba(216,15,31,.78)),
    url("../img/blog-pattern.svg") center/cover no-repeat;
}
.post-card.large .post-art { min-height: 310px; }
.post-body { padding: 24px; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.tag { color: var(--red); }

.cta-band {
  margin: 0 clamp(18px, 5vw, 72px) clamp(64px, 8vw, 100px);
  padding: clamp(38px, 6vw, 70px);
  border-radius: 28px;
  background: #121316;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .76; }

.page-hero { padding: 76px clamp(18px, 5vw, 72px) 40px; background: var(--soft); }
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 34px; }
.filter-btn, .input, textarea, select {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 13px 16px;
  font: inherit;
}
textarea { border-radius: 18px; min-height: 130px; resize: vertical; }
.filter-btn.active { background: var(--ink); color: #fff; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 720px; margin-top: 24px; }
.article { max-width: 850px; margin: 0 auto; padding: 64px 18px; }
.article p { font-size: 18px; }
.article-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.blog-empty {
  margin-top: 26px;
  padding: 18px;
  border-radius: 18px;
  background: #fff4f5;
  color: var(--red-dark);
  font-weight: 800;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.alert { padding: 16px 18px; border-radius: 16px; background: #fff4f4; border: 1px solid #ffd0d4; color: var(--red-dark); margin-bottom: 18px; }
.success { background: #f0fff5; border-color: #bce8c8; color: #11652b; }

.site-footer {
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  background: #fff;
}
.footer-logo { width: 150px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-weight: 700; }

@media (max-width: 1020px) {
  .hero, .about-wrap { grid-template-columns: 1fr; }
  .grid, .feature-grid, .blog-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    inset: 100% 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .nav-dropdown {
    display: grid;
    gap: 8px;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    background: #fff7f8;
  }
  .nav-dropdown-menu::before { display: none; }
  .brand img { width: 160px; }
  .hero { min-height: auto; padding-top: 44px; }
  .grid, .feature-grid, .blog-preview, .levels-grid, .form-grid { grid-template-columns: 1fr; }
  .cta-band, .site-footer { flex-direction: column; align-items: flex-start; }
  .search-row { grid-template-columns: 1fr; }
}

/* Premium motion and page polish */
.program-card, .level-card, .feature-card, .stat-card { position: relative; overflow: hidden; }
.program-card::before, .level-card::before, .feature-card::before, .stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 22%, rgba(216,15,31,.08), transparent 58%);
  transform: translateX(-120%);
  transition: transform .65s ease;
  pointer-events: none;
}
.program-card::after, .level-card::after, .feature-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.program-card:hover::before, .level-card:hover::before, .feature-card:hover::before, .stat-card:hover::before { transform: translateX(120%); }
.program-card:hover::after, .level-card:hover::after, .feature-card:hover::after { transform: scaleX(1); }
.program-card:hover .icon-box, .feature-card:hover .icon-box { animation: iconPulse .7s ease both; }
.card-link { display: inline-flex; margin-top: 12px; color: var(--red); font-weight: 900; font-size: 13px; }
.progress span { animation: fillMeter 1.25s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }

.post-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background-size: cover;
  background-position: center;
}
.post-art span {
  color: #fff;
  font-family: var(--serif);
  font-size: 42px;
  opacity: .34;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px clamp(18px, 5vw, 72px) 54px;
  background:
    linear-gradient(115deg, rgba(246,244,240,.93), rgba(255,253,249,.76)),
    url("../img/academy-abstract.svg") center/cover no-repeat;
}
.page-hero::before {
  content: "MY DİL";
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: auto;
  bottom: -34px;
  font-family: var(--serif);
  font-size: clamp(96px, 14vw, 210px);
  font-weight: 800;
  color: rgba(16,17,19,.035);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(20px, 8vw, 120px);
  bottom: -70px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(216,15,31,.18);
  transform: rotate(18deg);
  animation: floatAcademic 9s ease-in-out infinite;
}
.page-hero > div::before {
  content: "A1  A2  B1  B2  C1";
  position: absolute;
  top: 34px;
  right: min(30vw, 390px);
  padding: 16px 22px;
  border: 1px solid rgba(216,15,31,.11);
  border-radius: 18px;
  background: rgba(255,255,255,.48);
  box-shadow: 0 20px 45px rgba(16,17,19,.045);
  color: rgba(216,15,31,.18);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 38px);
  font-weight: 800;
  white-space: nowrap;
  transform: rotate(-5deg);
  animation: pageHeroChip 10s ease-in-out infinite;
  pointer-events: none;
}
.page-hero > div::after {
  content: "";
  position: absolute;
  right: min(20vw, 260px);
  bottom: 42px;
  width: clamp(220px, 24vw, 410px);
  height: 118px;
  border-radius: 24px;
  border: 1px solid rgba(16,17,19,.06);
  background:
    linear-gradient(90deg, rgba(216,15,31,.18) 0 74px, transparent 74px) 28px 34px / 180px 8px no-repeat,
    linear-gradient(90deg, rgba(16,17,19,.10) 0 126px, transparent 126px) 28px 62px / 250px 2px no-repeat,
    linear-gradient(90deg, rgba(216,15,31,.12) 0 54px, transparent 54px) 28px 82px / 170px 7px no-repeat,
    rgba(255,255,255,.44);
  box-shadow: 0 18px 50px rgba(16,17,19,.045);
  transform: rotate(4deg);
  animation: pageHeroLines 11s ease-in-out infinite;
  pointer-events: none;
}
.rich-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: center; }
.rich-hero > div, .hero-mini-card { position: relative; z-index: 1; }
.rich-hero p { max-width: 760px; font-size: 18px; }
.hero-mini-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.hero-mini-card i { width: 42px; height: 42px; color: var(--red); }
.hero-mini-card strong { font-family: var(--serif); font-size: 25px; }
.hero-mini-card span { color: var(--muted); line-height: 1.65; }

.site-footer {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 28px clamp(22px, 2.2vw, 42px) 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(circle at 18% 12%, rgba(216,15,31,.18), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(135deg, rgba(17,18,22,.98), rgba(12,13,16,.96)),
    url("../img/academy-abstract.svg") center/cover no-repeat;
  color: #fff;
}
.site-footer::before {
  content: "MY DİL";
  position: absolute;
  right: 5vw;
  bottom: -20px;
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 170px);
  color: rgba(255,255,255,.035);
}
.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: max-content max-content max-content;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 120px);
  align-items: stretch;
  text-align: center;
  max-width: none;
  margin: 0 auto;
}
.footer-brand, .footer-contact, .footer-links {
  position: relative;
  z-index: 1;
  min-height: 118px;
}
.footer-brand {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  justify-self: start;
  text-align: left;
}
.footer-logo {
  width: 165px;
  max-width: 165px;
  background: #fff;
  border-radius: 11px;
  padding: 5px;
  box-shadow: 0 14px 32px rgba(0,0,0,.26);
}
.footer-brand p, .footer-contact span { color: rgba(255,255,255,.72); }
.footer-slogan {
  position: relative;
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(216,15,31,.16), rgba(255,255,255,.08), rgba(216,15,31,.2));
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 22px rgba(216,15,31,.14);
  font-size: 13px;
  overflow: hidden;
  animation: footerSloganGlow 3.6s ease-in-out infinite;
}
.footer-slogan::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -50%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  animation: sloganShine 4.2s ease-in-out infinite;
}
.footer-contact { display: grid; gap: 8px; justify-items: center; align-content: center; }
.footer-contact { justify-self: end; }
.footer-links { justify-self: center; }
.footer-contact strong, .footer-links strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 6px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 26px;
  row-gap: 12px;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  justify-items: center;
  align-content: center;
}
.footer-links strong {
  grid-column: 1 / -1;
  justify-self: center;
  margin-bottom: 2px;
}
.footer-links a {
  min-width: 128px;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.footer-links a:hover {
  background: rgba(216,15,31,.14);
  transform: translateY(-2px);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: none;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.62);
  font-size: 14px;
  text-align: center;
}
.footer-bottom a { color: #fff; font-weight: 900; }
.sticky-whatsapp {
  position: fixed;
  right: 0;
  bottom: clamp(16px, 3vw, 34px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px 0 0 999px;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 18px 44px rgba(31,168,85,.34);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, width .25s ease;
}
.sticky-whatsapp::before {
  content: "";
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}
.sticky-whatsapp:hover {
  width: 66px;
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(31,168,85,.46);
}
.sticky-whatsapp:hover::before { left: 130%; }
.sticky-whatsapp i {
  width: 25px;
  height: 25px;
  animation: whatsappPulse 2.2s ease-in-out infinite;
}
.sticky-whatsapp span { display: none; }

.about-premium-panel {
  position: relative;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.78), rgba(246,244,240,.92)),
    url("../img/academy-abstract.svg") center/cover no-repeat;
}
.stat-card { padding-left: 58px; }
.stat-card i { position: absolute; left: 24px; top: 28px; color: var(--red); }
.program-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 42px); box-shadow: var(--shadow); }
.program-intro {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(246,244,240,.82)),
    url("../img/academy-abstract.svg") center/cover no-repeat;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.program-intro p {
  max-width: 920px;
  margin: 8px 0 0;
  color: #3f444d;
  font-size: 18px;
  line-height: 1.8;
}
.program-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}
.program-highlights div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(216,15,31,.14);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, rgba(246,244,240,.72));
  color: #23262c;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(16,17,19,.045);
}
.program-highlights i {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--red);
}
.program-blocks { display: grid; gap: 18px; }
.program-block {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(250,249,246,.92));
  box-shadow: 0 18px 42px rgba(16,17,19,.055);
  overflow: hidden;
  position: relative;
}
.program-block::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), rgba(216,15,31,0));
}
.program-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #111216;
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 800;
}
.program-block:nth-child(even) .program-number { background: var(--red); }
.program-block h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 34px);
}
.program-block-lead {
  color: #343941 !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}
.program-block p {
  margin: 8px 0 0;
  color: #5f6470;
  font-size: 16px;
  line-height: 1.78;
}
.program-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.program-item-grid article {
  padding: 16px;
  border: 1px solid rgba(20,21,25,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 24px rgba(16,17,19,.04);
}
.program-item-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #101113;
  font-size: 16px;
}
.program-item-grid span {
  display: block;
  color: #606671;
  line-height: 1.65;
}
.program-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.program-side .card { padding: 24px; }
.about-image { margin: 28px 0 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 760px; }
.about-image img, .side-image { width: 100%; display: block; }
.about-image img { aspect-ratio: 16 / 8.6; object-fit: cover; }
.side-image { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.home-about-photo {
  position: relative;
  display: block;
  max-width: 820px;
  margin: clamp(34px, 5vw, 58px) 0 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(216,15,31,.18);
  box-shadow: 0 28px 70px rgba(16,17,19,.12);
  animation: aboutPhotoSway 8s ease-in-out infinite;
  line-height: 0;
  transform-origin: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.home-about-photo:hover {
  border-color: rgba(216,15,31,.34);
  box-shadow: 0 34px 84px rgba(16,17,19,.16);
}
.home-about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,17,19,.08), rgba(216,15,31,.13));
  pointer-events: none;
}
.home-about-photo img {
  width: 100%;
  display: block;
  border-radius: inherit;
  aspect-ratio: 16 / 6.6;
  object-fit: cover;
}
@keyframes aboutPhotoSway {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(18px) rotate(.35deg); }
}
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 26px 0; }
.contact-cards .card { padding: 20px; display: grid; gap: 8px; }
.contact-cards i { color: var(--red); }
.contact-cards span { color: var(--muted); }
.contact-form-card {
  padding: 28px;
  margin-top: clamp(34px, 5vw, 76px);
}
.btn.whatsapp {
  gap: 9px;
  margin: 0 0 22px;
  background: #1fa855;
  border-color: #1fa855;
}
.btn.whatsapp i {
  width: 19px;
  height: 19px;
}
.map-wrap {
  grid-column: 1 / -1;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 480px;
  margin-top: 18px;
}
.map-wrap iframe { display: block; width: 100%; height: 520px; border: 0; filter: grayscale(.14) contrast(1.05); }

@keyframes fillMeter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes iconPulse {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-4px) scale(1.08) rotate(-3deg); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes floatAcademic {
  0%, 100% { transform: translate3d(0,0,0) rotate(18deg); }
  50% { transform: translate3d(18px,-16px,0) rotate(22deg); }
}
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(90px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-90px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes bgDrift {
  0%, 100% { background-position: center; }
  50% { background-position: calc(50% + 28px) calc(50% - 18px); }
}
.hero::before { animation: bgDrift 12s ease-in-out infinite; }
@keyframes sloganFloat {
  0%, 100% { transform: translate3d(0,0,0); filter: saturate(1); }
  50% { transform: translate3d(0,-3px,0); filter: saturate(1.18); }
}
@keyframes sloganShine {
  0%, 38% { left: -42%; opacity: 0; }
  48% { opacity: 1; }
  70%, 100% { left: 125%; opacity: 0; }
}
@keyframes sloganPulse {
  0%, 100% { transform: scale(.86); opacity: .72; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes typeCursor {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}
@keyframes footerSloganGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(216,15,31,.14); border-color: rgba(255,255,255,.12); }
  50% { box-shadow: 0 0 34px rgba(216,15,31,.28); border-color: rgba(216,15,31,.34); }
}
@keyframes timerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes whatsappPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.12) rotate(-6deg); }
}
@keyframes ctaAttention {
  0%, 72%, 100% { transform: translateX(0) scale(1); box-shadow: 0 18px 38px rgba(216,15,31,.22); }
  78% { transform: translateX(-4px) scale(1.025); }
  84% { transform: translateX(4px) scale(1.025); box-shadow: 0 20px 46px rgba(216,15,31,.34); }
  90% { transform: translateX(-2px) scale(1.015); }
  96% { transform: translateX(0) scale(1); }
}
@keyframes leftAcademicFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate(-7deg); }
  50% { transform: translate3d(18px,-12px,0) rotate(-4deg); }
}
@keyframes leftWordCard {
  0%, 100% { transform: translate3d(0,0,0) rotate(2deg); opacity: .72; }
  50% { transform: translate3d(-18px,14px,0) rotate(-1deg); opacity: .9; }
}
@keyframes decorFloatA {
  0%, 100% { transform: translate3d(0,0,0) rotate(-4deg); }
  50% { transform: translate3d(18px,-12px,0) rotate(2deg); }
}
@keyframes decorFloatB {
  0%, 100% { transform: translate3d(0,0,0) rotate(6deg); }
  50% { transform: translate3d(-16px,14px,0) rotate(1deg); }
}
@keyframes decorLineA {
  0%, 100% { transform: translateX(0); opacity: .75; }
  50% { transform: translateX(34px); opacity: 1; }
}
@keyframes decorLineB {
  0%, 100% { transform: translateX(0); opacity: .55; }
  50% { transform: translateX(-26px); opacity: .8; }
}
@keyframes decorCardA {
  0%, 100% { transform: translate3d(0,0,0) rotate(-5deg); }
  50% { transform: translate3d(20px,12px,0) rotate(-2deg); }
}
@keyframes decorCardB {
  0%, 100% { transform: translate3d(0,0,0) rotate(4deg); }
  50% { transform: translate3d(-16px,-10px,0) rotate(1deg); }
}
@keyframes pageHeroChip {
  0%, 100% { transform: translate3d(0,0,0) rotate(-5deg); }
  50% { transform: translate3d(-14px,10px,0) rotate(-2deg); }
}
@keyframes pageHeroLines {
  0%, 100% { transform: translate3d(0,0,0) rotate(4deg); opacity: .86; }
  50% { transform: translate3d(18px,-10px,0) rotate(1deg); opacity: 1; }
}
@keyframes sampleExit {
  from { opacity: 1; transform: translateX(0) skewX(0deg); }
  to { opacity: 0; transform: translateX(-42px) skewX(-4deg); }
}
@keyframes sampleEnter {
  from { opacity: 0; transform: translateX(48px) translateY(16px) skewX(4deg); }
  to { opacity: 1; transform: translateX(0) translateY(0) skewX(0deg); }
}

@media (max-width: 1020px) {
  .rich-hero, .program-detail { grid-template-columns: 1fr; }
  .program-side { position: static; }
  .program-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; justify-content: center; }
  .footer-brand, .footer-contact, .footer-links { justify-self: center; }
}
@media (max-width: 760px) {
  .brand img { width: 132px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, max-content); justify-content: center; }
  .footer-bottom { display: grid; }
  .contact-cards { grid-template-columns: 1fr; }
  .rich-hero { gap: 22px; }
  .hero-text::before { width: 92vw; height: 380px; left: -54px; top: -30px; }
  .hero-text::after { display: none; }
  .hero-decor { opacity: .55; }
  .decor-card-a, .decor-line-b { display: none; }
  .page-hero::before { font-size: 96px; bottom: 20px; }
  .page-hero > div::before, .page-hero > div::after { display: none; }
  .program-block { grid-template-columns: 1fr; }
  .program-highlights, .program-item-grid { grid-template-columns: 1fr; }
}
