/* Базовая дизайн-система */
:root {
  --color-bg: #FAF7F2;
  --color-surface: #F2EBE0;
  --color-paper: #FFFDF8;
  --color-burgundy: #7B2D42;
  --color-rose: #C4768A;
  --color-sage: #8A9E8C;
  --color-gold: #C9A96E;
  --color-ink-green: #263D36;
  --color-navy: #243548;
  --color-text: #2C2420;
  --color-muted: #8C7B73;
  --color-accent: #A64458;
  --shadow-soft: 0 18px 45px rgba(44, 36, 32, .12);
  --shadow-tight: 0 10px 24px rgba(44, 36, 32, .14);
  --border: 1px solid rgba(123, 45, 66, .16);
  --radius: 2px;
  --container: min(1140px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  background:
    radial-gradient(circle at 18px 18px, rgba(123, 45, 66, .035) 1px, transparent 1.5px),
    linear-gradient(120deg, rgba(138, 158, 140, .10), transparent 32%),
    var(--color-bg);
  background-size: 36px 36px, auto, auto;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--color-paper);
  border: var(--border);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Шапка и навигация */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity .25s ease, transform .25s ease;
}

.site-header.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav {
  width: var(--container);
  min-height: 68px;
  margin: 12px auto 0;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 253, 248, .84);
  border: var(--border);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-muted);
  font-size: .92rem;
  font-weight: 600;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--color-burgundy);
}

.nav-cta {
  padding: 10px 14px;
  color: var(--color-paper) !important;
  background: var(--color-burgundy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: var(--border);
  background: var(--color-paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-burgundy);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 96px max(16px, calc((100vw - 1140px) / 2)) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: 42px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18vh;
  background: linear-gradient(180deg, transparent, var(--color-bg));
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(250, 247, 242, .98) 0%, rgba(250, 247, 242, .82) 48%, rgba(138, 158, 140, .26) 100%),
    radial-gradient(circle at 74% 22%, rgba(201, 169, 110, .22), transparent 32%),
    repeating-linear-gradient(90deg, rgba(123, 45, 66, .035) 0 1px, transparent 1px 70px);
}

.hero-content,
.hero-portrait {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--color-burgundy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: .95;
}

h1 {
  max-width: 680px;
  font-size: 8rem;
}

h2 {
  font-size: 4.4rem;
}

h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

.hero-lead {
  max-width: 610px;
  margin: 26px 0 0;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--color-burgundy);
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-tight);
}

.button.primary {
  color: var(--color-paper);
  background: var(--color-burgundy);
}

.button.secondary {
  color: var(--color-burgundy);
  background: rgba(255, 253, 248, .58);
}

.hero-portrait {
  justify-self: end;
  width: min(480px, 100%);
  margin: 0;
}

.hero-portrait img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: 64% 50%;
  border: 1px solid rgba(44, 36, 32, .22);
  box-shadow: 24px 24px 0 rgba(123, 45, 66, .10), var(--shadow-soft);
  filter: sepia(.08) saturate(.93);
}

/* Виджет ЕГЭ */
.exam-strip {
  width: var(--container);
  margin: 28px auto 0;
  position: relative;
  z-index: 3;
}

.exam-inner {
  padding: 18px;
  display: grid;
  gap: 14px;
  background: var(--color-paper);
  border: var(--border);
  box-shadow: var(--shadow-tight);
}

.exam-copy {
  position: relative;
  display: block;
  padding-left: 0;
  align-items: center;
}

.exam-copy h2 {
  color: var(--color-text);
  font-size: 1.2rem;
  line-height: 1.2;
}

.exam-copy p {
  padding-left: 28px;
  margin: 3px 0 0;
  color: var(--color-muted);
}

.pulse-dot {
  position: absolute;
  top: 34px;
  left: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-burgundy);
  animation: pulse 1.5s ease-in-out infinite;
}

.exam-progress,
.quiz-progress {
  height: 8px;
  overflow: hidden;
  background: rgba(138, 158, 140, .2);
}

.exam-progress span,
.quiz-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--color-sage);
  transition: width .5s ease, background .3s ease;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123, 45, 66, .34); }
  50% { box-shadow: 0 0 0 9px rgba(123, 45, 66, 0); }
}

/* Общие секции */
.section {
  width: var(--container);
  margin: 0 auto;
  padding: 92px 0;
  scroll-margin-top: 104px;
}

#about,
#pricing {
  scroll-margin-top: 67px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 900px;
}

.divider {
  height: 58px;
  color: rgba(123, 45, 66, .24);
}

.divider svg {
  width: 100%;
  height: 100%;
}

.divider path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* О себе */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .75fr);
  gap: 34px;
  align-items: stretch;
}

.about-text {
  padding: 32px;
  background: rgba(255, 253, 248, .72);
  border: var(--border);
}

.about-text p {
  margin: 0 0 18px;
}

.about-text p:first-of-type::first-letter {
  float: left;
  padding-right: 8px;
  color: var(--color-burgundy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.2rem;
  line-height: .8;
}

.about-photo {
  margin: 0;
  min-height: 320px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: var(--border);
  box-shadow: var(--shadow-soft);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.fact {
  min-height: 172px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--color-ink-green);
  color: var(--color-paper);
}

.fact:nth-child(2) {
  background: var(--color-burgundy);
}

.fact:nth-child(3) {
  background: var(--color-navy);
}

.fact:nth-child(4) {
  background: #4F6658;
  color: var(--color-paper);
}

.fact strong {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 3.25rem;
  line-height: .92;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.fact > span:last-child {
  margin-top: 16px;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.32;
}

/* Почему я */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit,
.price-card,
.empty-block {
  padding: 24px;
  background: rgba(255, 253, 248, .72);
  border: var(--border);
}

.benefit svg {
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--color-burgundy);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit p,
.price-card p,
.empty-block p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

/* Методика */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 31px;
  width: 1px;
  background: rgba(123, 45, 66, .28);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.timeline li > span {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--color-paper);
  background: var(--color-burgundy);
  border-radius: 50%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.timeline li > div {
  padding: 22px 24px;
  background: var(--color-paper);
  border: var(--border);
}

.timeline p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

/* Книжная полка */
.shelf-wrap {
  position: relative;
  overflow: hidden;
  padding: 18px 0 26px;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.shelf {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 260px;
  overflow-x: auto;
  padding: 18px 28px 28px;
  scroll-snap-type: x proximity;
}

.shelf::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 11px;
  background: linear-gradient(180deg, #6f3f2c, #412419);
  box-shadow: 0 14px 20px rgba(44, 36, 32, .22);
}

.book {
  position: relative;
  z-index: 1;
  flex: 0 0 54px;
  height: 222px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--color-paper);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset -8px 0 14px rgba(0, 0, 0, .12);
  scroll-snap-align: start;
  transition: transform .22s ease, box-shadow .22s ease;
}

.book:hover {
  transform: translateY(-12px);
  box-shadow: inset -8px 0 14px rgba(0, 0, 0, .12), 0 16px 24px rgba(44, 36, 32, .2);
}

.book span {
  font-size: .72rem;
  opacity: .82;
}

.book strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: .92rem;
  line-height: 1.1;
}

.b1 { background: #7B2D42; }
.b2 { background: #8A4455; }
.b3 { background: #7D875B; }
.b4 { background: #A27A37; }
.b5 { background: #243548; }
.b6 { background: #263D36; }

/* Тест */
.quiz {
  padding: 26px;
  background: var(--color-paper);
  border: var(--border);
  box-shadow: var(--shadow-soft);
}

.quiz-top {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--color-muted);
  font-weight: 700;
}

.quiz-question {
  min-height: 330px;
  animation: fadeSlide .28s ease;
}

.quiz-question h3 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: 1.85rem;
}

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

.answer {
  min-height: 82px;
  padding: 16px;
  text-align: left;
  color: var(--color-text);
  background: rgba(242, 235, 224, .58);
  border: 1px solid rgba(44, 36, 32, .12);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.answer:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(123, 45, 66, .4);
}

.answer.correct {
  background: rgba(138, 158, 140, .24);
  border-color: var(--color-sage);
}

.answer.wrong {
  background: rgba(164, 68, 88, .14);
  border-color: var(--color-accent);
}

.explanation {
  margin: 16px 0 0;
  padding: 16px;
  background: rgba(201, 169, 110, .16);
  border-left: 3px solid var(--color-gold);
}

.quiz-next {
  margin-top: 16px;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Документы */
.document-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.doc-card {
  min-height: 180px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-paper), rgba(242, 235, 224, .72));
  border: var(--border);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-tight);
}

.doc-card span {
  padding: 4px 8px;
  color: var(--color-paper);
  background: var(--color-burgundy);
  font-size: .72rem;
  font-weight: 700;
}

.doc-card strong {
  margin-top: auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.doc-card em {
  color: var(--color-muted);
  font-style: normal;
}

/* Цитаты */
.quote-slider {
  position: relative;
  padding: 0 48px 42px;
}

.quote-slides {
  position: relative;
  min-height: 430px;
}

.quote-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}

.quote-slide.active {
  opacity: 1;
  visibility: visible;
}

.quote-slide img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border: var(--border);
  box-shadow: var(--shadow-soft);
}

.quote-slide div {
  padding: 34px;
  background: var(--color-paper);
  border: var(--border);
}

.quote-slide span {
  display: block;
  color: var(--color-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 6rem;
  line-height: .5;
}

.quote-slide p {
  margin: 18px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.4rem;
  font-style: italic;
  line-height: 1.05;
}

.quote-slide strong {
  color: var(--color-burgundy);
  font-family: "Playfair Display", Georgia, serif;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: var(--border);
  color: var(--color-burgundy);
  background: var(--color-paper);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.slider-arrow.prev {
  left: 0;
}

.slider-arrow.next {
  right: 0;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--color-burgundy);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--color-burgundy);
}

/* Отзывы, цены и контакты */
.empty-block {
  max-width: 760px;
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  transform-origin: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  transition-delay: 0ms !important;
  will-change: transform;
}

.price-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(123, 45, 66, .32);
  box-shadow: var(--shadow-tight);
}

.price-card span {
  color: var(--color-accent);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-list {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.price-list li {
  padding-top: 12px;
  color: var(--color-burgundy);
  border-top: 1px solid rgba(123, 45, 66, .14);
}

.price-list strong,
.price-note {
  color: var(--color-burgundy);
  font-weight: 700;
}

.price-note {
  margin-top: auto;
  padding: 14px;
  background: rgba(201, 169, 110, .16);
  border-left: 3px solid var(--color-gold);
}

.price-card.popular {
  background: linear-gradient(135deg, rgba(255, 253, 248, .92), rgba(242, 235, 224, .86));
  color: var(--color-text);
  box-shadow: var(--shadow-tight);
}

.price-card.popular:hover {
  transform: translateY(-8px) scale(1.015);
}

.price-card.popular p,
.price-card.popular span,
.price-card.popular strong {
  color: inherit;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .6fr);
  gap: 22px;
}

.contact-grid.contact-simple {
  grid-template-columns: minmax(0, 760px);
}

.contact-side {
  padding: 26px;
  color: var(--color-paper);
  background: var(--color-burgundy);
}

.contact-side p {
  margin: 0 0 22px;
  max-width: 680px;
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messengers a {
  min-height: 48px;
  min-width: 150px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy);
  background: var(--color-paper);
  font-weight: 700;
}

.footer {
  padding: 28px 16px;
  text-align: center;
  color: var(--color-muted);
  border-top: var(--border);
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(44, 36, 32, .68);
}

.lightbox.open {
  display: flex;
}

.lightbox-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: 92vh;
  padding: 22px;
  background: var(--color-paper);
  border: var(--border);
  box-shadow: var(--shadow-soft);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: var(--border);
  color: var(--color-burgundy);
  background: var(--color-bg);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-panel h2 {
  padding-right: 48px;
  font-size: 2rem;
  line-height: 1.1;
}

.lightbox-content {
  margin-top: 18px;
}

.lightbox-content iframe {
  width: 100%;
  height: min(70vh, 720px);
  border: var(--border);
  background: white;
}

.docx-fallback {
  padding: 26px;
  background: var(--color-bg);
  border: var(--border);
}

.docx-fallback a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--color-burgundy);
  font-weight: 700;
  text-decoration: underline;
}

/* Анимации появления */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.price-card.reveal {
  transition-property: opacity, transform, box-shadow, border-color;
  transition-duration: .35s, .22s, .22s, .22s;
  transition-timing-function: ease, ease, ease, ease;
  transition-delay: 0ms !important;
}

.price-card.reveal.visible:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(123, 45, 66, .32);
  box-shadow: var(--shadow-tight);
}

.price-card.popular.reveal.visible:hover {
  transform: translateY(-8px) scale(1.015);
}

/* Адаптация */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--color-paper);
    border: var(--border);
    box-shadow: var(--shadow-tight);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 4px;
  }

  .hero,
  .about-grid,
  .contact-grid,
  .quote-slide {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 110px;
  }

  h1 {
    font-size: 6.2rem;
  }

  h2 {
    font-size: 3.6rem;
  }

  .hero-portrait {
    justify-self: start;
    width: min(420px, 92%);
  }

  .facts,
  .benefits,
  .document-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-slider {
    padding: 0 0 42px;
  }

  .quote-slides {
    min-height: 720px;
  }

  .quote-slide img {
    height: 330px;
  }

  .slider-arrow {
    top: 150px;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 24px, 1140px);
  }

  .nav {
    min-height: 62px;
    margin-top: 8px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 62px;
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .quiz-question h3 {
    font-size: 1.45rem;
  }

  .fact strong {
    font-size: 3rem;
  }

  .quote-slide p {
    font-size: 2.35rem;
  }

  .hero-actions,
  .answers,
  .facts,
  .benefits,
  .document-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions a {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .about-text,
  .quiz,
  .contact-side,
  .quote-slide div {
    padding: 20px;
  }

  .timeline::before {
    left: 23px;
  }

  .timeline li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .timeline li > span {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .book {
    flex-basis: 48px;
  }

  .quote-slides {
    min-height: 650px;
  }

  .quote-slide img {
    height: 280px;
  }

  .price-card.popular {
    transform: none;
  }
}

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