:root {
  --bg: #08080c;
  --bg-2: #101018;
  --bg-card: #14141e;
  --gold: #e0c48a;
  --gold-deep: #b8924a;
  --ivory: #f3eee6;
  --muted: rgba(243, 238, 230, 0.62);
  --line: rgba(224, 196, 138, 0.2);
  --danger: #c45c5c;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --radius: 22px;
  --header: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ivory);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

h2 em,
.hero-title {
  font-style: italic;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-gold {
  background: linear-gradient(180deg, #edd7a6, var(--gold) 42%, var(--gold-deep));
  color: #1a140c;
  box-shadow: 0 10px 30px rgba(184, 146, 74, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(184, 146, 74, 0.38);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ivory);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-block {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header);
  padding: 0 28px;
  transition: 0.3s ease;
}

.header.scrolled {
  background: rgba(8, 8, 12, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.logo-mark svg {
  display: block;
  width: 34px;
  height: 34px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}

.logo-text small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--ivory);
}

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ivory);
  transition: 0.2s ease;
}

.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 26px; }

.menu-btn[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 140px 28px 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transform-origin: 50% 16%;
  transform: scale(1.04);
  animation: drift 32s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 12, 0.28) 0%, rgba(8, 8, 12, 0.42) 38%, rgba(8, 8, 12, 0.94) 100%),
    radial-gradient(circle at 50% 30%, rgba(224, 196, 138, 0.16), transparent 42%);
}

.stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-bottom: 48px;
  text-align: left;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(4.6rem, 14vw, 10.5rem);
  font-weight: 500;
  line-height: 0.86;
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  padding: 28px 18px;
  border-right: 1px solid var(--line);
}

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

.hero-stats b {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.hero-stats .stat-text {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0b0b12;
}

.marquee-track {
  display: flex;
  width: max-content;
  padding: 16px 0;
  animation: marquee 40s linear infinite;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 42px;
  padding-right: 42px;
}

.marquee-group span {
  white-space: nowrap;
}

.about {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.about-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-copy .lead {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.about-copy p {
  margin: 0 0 10px;
  color: var(--muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.checklist {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.about-photo {
  margin: 0;
  position: relative;
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 28px;
}

.about-plates {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.plate {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 12, 0.62);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.plate span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.teacher {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 72px;
}

.teacher-photos {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}

.teacher-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 24px;
}

.teacher-photos img:last-child {
  margin-top: 40px;
}

.teacher-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.teacher-copy .lead {
  margin: 0 0 12px;
}

.teacher-copy p {
  margin: 0 0 10px;
  color: var(--muted);
}

.teacher-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.teacher-facts li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.teacher-quote {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 28px 32px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 18, 0.72);
  backdrop-filter: blur(14px);
}

.teacher-quote p {
  margin: 0 0 12px;
  max-width: 62ch;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-style: italic;
  line-height: 1.35;
}

.teacher-quote cite {
  color: var(--gold);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.teacher-alt {
  grid-template-columns: 0.85fr 1.15fr;
  padding-top: 8px;
}

.teacher-alt .teacher-photos img:last-child {
  object-position: center 38%;
}

.program-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.program-card {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
}

.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  inset: 0;
  transform-origin: center center;
  transition: 0.7s ease;
}

.program-card:hover img {
  transform: scale(1.05);
}

.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 8, 12, 0.92) 100%);
}

.program-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px;
}

.program-body span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.4rem;
}

.program-body p {
  color: var(--muted);
}

.program-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.program-body li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.mini-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mini-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
}

.mini-wide img {
  aspect-ratio: 3 / 2;
}

.mini-card div {
  padding: 22px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.tour-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.tour-reasons article {
  padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #161622, #101018);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tour-reasons h3 {
  font-family: var(--display);
  font-size: 1.85rem;
}

.tour-reasons p {
  margin: 0;
  color: var(--muted);
}

.tour-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 1fr) 0.82fr repeat(2, 1fr);
  gap: 12px;
  aspect-ratio: 1.05 / 1;
  min-height: 980px;
}

.tour-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.tour-1 {
  grid-column: 1;
  grid-row: 1 / span 2;
  object-position: center 16%;
}

.tour-2 {
  grid-column: 2;
  grid-row: 1;
  object-position: center 22%;
}

.tour-5 {
  grid-column: 2;
  grid-row: 2;
  object-position: center 28%;
}

.tour-6 {
  grid-column: 1 / span 2;
  grid-row: 3;
  object-position: center 40%;
}

.tour-7 {
  grid-column: 1;
  grid-row: 4 / span 2;
  object-position: center 12%;
}

.tour-3 {
  grid-column: 2;
  grid-row: 4;
  object-position: center 42%;
}

.tour-4 {
  grid-column: 2;
  grid-row: 5;
  object-position: center 42%;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps-list li {
  padding: 32px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #161622, #101018);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.steps-list b {
  color: var(--gold);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
}

.steps-list p {
  color: var(--muted);
}

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

.price-card {
  padding: 32px 28px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, #1c1810, #12100c);
  border-color: rgba(224, 196, 138, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.price-label {
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.price {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1;
}

.price-word {
  font-size: clamp(2.4rem, 4vw, 3rem);
}

.price small {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 6px;
}

.price-note {
  color: var(--muted);
}

.price-card ul {
  margin: 8px 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  flex: 1;
}

.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

details {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: #101018;
  padding: 6px 22px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.35s ease;
}

details[open] summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.faq-answer {
  overflow: hidden;
  height: 0;
  transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

details[open] .faq-answer {
  height: auto;
}

.faq-answer p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}

.trial {
  position: relative;
  margin: 20px 18px 80px;
  overflow: hidden;
  border-radius: 32px;
  min-height: 640px;
}

.trial-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.trial::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 12, 0.88) 0%, rgba(8, 8, 12, 0.72) 52%, rgba(8, 8, 12, 0.4) 100%);
}

.trial-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  padding: 72px;
}

.trial-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(12, 12, 18, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.trial-form h3 {
  margin-top: 0;
}

.trial-form p {
  color: var(--muted);
}

.trial-form .btn {
  margin-top: 8px;
}

.trial-form label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

.trial-form input,
.trial-form select,
.trial-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 12, 0.7);
  outline: none;
}

.trial-form option {
  background: #101018;
  color: var(--ivory);
}

.trial-form input:focus,
.trial-form select:focus,
.trial-form textarea:focus {
  border-color: var(--gold);
}

.contact-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-ways legend {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-ways label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 12, 0.7);
  cursor: pointer;
  color: var(--ivory);
}

.contact-ways input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-ways input:focus-visible + span {
  outline: 1px solid var(--gold);
}

.contact-ways label:has(input:checked) {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(224, 196, 138, 0.08);
}

.check {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.check input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--gold-deep);
}

.form-ok {
  margin: 0;
  color: var(--gold);
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 120px;
  color: var(--muted);
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 8px;
}

.footer-label {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.contact-phone {
  display: inline-block;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.contact-phone:hover {
  color: var(--gold);
}

.contact-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.footer .contact-apps,
.footer .contact-hours {
  display: flex;
}

.app-chip,
.footer a.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(224, 196, 138, 0.35);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.app-chip svg,
.app-ico-max {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.app-ico-max {
  border-radius: 6px;
}

a.app-chip:hover {
  border-color: var(--gold);
  background: rgba(224, 196, 138, 0.08);
}

.contact-mail {
  color: var(--ivory);
}

.contact-mail:hover {
  color: var(--gold);
}

.contact-hours {
  margin: 8px 0 0;
  color: var(--muted);
}

.contacts-trial {
  margin-top: 28px;
}

.contacts-trial .contact-phone {
  font-size: 2rem;
}

.footer-contacts .contact-phone,
.footer-contacts .contact-mail,
.footer-contacts p {
  display: block;
}

.copy {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-cta {
  display: none;
}

.reveal {
  animation: rise 0.9s ease both;
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(10px, 0, 0); }
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root {
    --header: 72px;
  }

  .section {
    width: min(1180px, calc(100% - 28px));
    padding: 72px 0;
  }

  .hero {
    min-height: 100svh;
    padding: calc(96px + env(safe-area-inset-top)) 18px 0;
  }

  .hero-media img {
    object-position: center 18%;
    transform: none;
    animation: none;
  }

  .hero-title {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .hero-content {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

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

  .hero-stats b {
    font-size: 1.85rem;
  }

  .header {
    padding: env(safe-area-inset-top) 16px 0;
    min-height: calc(var(--header) + env(safe-area-inset-top));
  }

  .nav,
  .header-cta {
    display: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 22px 22px;
    background: rgba(8, 8, 12, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.open a {
    padding: 14px 0;
    font-size: 1.05rem;
  }

  .menu-btn {
    display: block;
  }

  .about,
  .teacher,
  .teacher-photos,
  .program-hero,
  .mini-grid,
  .tour-reasons,
  .steps-list,
  .trial-inner,
  .footer {
    grid-template-columns: 1fr;
  }

  .tour-collage {
    aspect-ratio: auto;
    min-height: 820px;
    grid-template-columns: 1.1fr 0.9fr;
  }

  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .hero-stats div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .about {
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .teacher {
    gap: 28px;
    padding-top: 8px;
    padding-bottom: 56px;
  }

  .teacher-photos {
    grid-template-columns: 1fr 1fr;
  }

  .teacher-photos img:last-child {
    margin-top: 28px;
  }

  .teacher-quote {
    padding: 22px 20px;
  }

  .about-photo img {
    height: auto;
    aspect-ratio: 4 / 5;
    object-position: center 22%;
  }

  .plate {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .program-card {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .program-card img {
    object-position: center center;
  }

  .mini-card img {
    height: auto;
    object-position: center center;
  }

  .program-body {
    padding: 22px 18px;
  }

  .kicker {
    letter-spacing: 0.16em;
    font-size: 0.7rem;
  }

  .price {
    font-size: 2.6rem;
  }

  .trial {
    margin: 12px 12px 88px;
    min-height: auto;
    border-radius: 24px;
  }

  .trial-inner {
    padding: 28px 18px;
  }

  .trial::after {
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.82), rgba(8, 8, 12, 0.9));
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 40;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    background: linear-gradient(180deg, #edd7a6, var(--gold-deep));
    color: #1a140c;
    font-weight: 700;
  }

  .footer {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .contact-ways {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats div {
    padding: 18px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
