/* ============================================================
   Студия Кино Филиппа Дмитриева — landing
   Brand: #F599FE (pink) · #581EA6 (violet) · #161616 (ink)
   Font: Commissioner
   ============================================================ */

@font-face {
  font-family: "Commissioner";
  src: url("assets/fonts/Commissioner.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b0810;
  --ink-2: #120d1a;
  --panel: #171021;
  --panel-2: #1e1530;
  --line: rgba(185, 169, 255, .14);
  --line-strong: rgba(185, 169, 255, .3);

  --violet: #581ea6;
  --violet-2: #7c4dff;
  --peri: #b9a9ff;
  --pink: #f599fe;

  --text: #f4f1fb;
  --muted: #b7aecb;
  --muted-2: #8a819f;

  --grad: linear-gradient(115deg, #f599fe 0%, #a78bff 42%, #6a34d6 100%);
  --grad-soft: linear-gradient(115deg, rgba(245,153,254,.18), rgba(124,77,255,.14));
  --glow: 0 0 60px rgba(124, 77, 255, .35);

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;

  --wrap: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Commissioner", system-ui, "Segoe UI", Roboto, sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 82% -8%, rgba(124, 77, 255, .28), transparent 60%),
    radial-gradient(48vw 48vw at 6% 12%, rgba(245, 153, 254, .14), transparent 55%),
    radial-gradient(70vw 55vw at 50% 118%, rgba(88, 30, 166, .3), transparent 60%),
    var(--ink);
}
/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 26px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #180a2a;
  box-shadow: 0 10px 30px rgba(124, 77, 255, .35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(124, 77, 255, .5); }
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--peri); background: rgba(185,169,255,.1); }
.btn-lg { --pad: 18px 36px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(12, 9, 16, .72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand svg, .brand img { width: 46px; height: auto; }
.brand .brandtxt { display: block; white-space: nowrap; }
.brand b { font-size: .82rem; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.brand span { display: block; font-size: .62rem; letter-spacing: .26em; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.nav-links a { white-space: nowrap; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; position: relative; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav .btn { padding: 11px 22px; }
.burger { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0; z-index: -1;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,8,16,.94) 0%, rgba(11,8,16,.7) 42%, rgba(11,8,16,.35) 100%),
    linear-gradient(0deg, var(--ink) 2%, transparent 42%);
}
.hero-inner { max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(245,153,254,.08);
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: var(--peri); margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.7rem); font-weight: 900; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.32rem); color: var(--muted); margin: 24px 0 34px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: .9rem; color: var(--muted-2); margin-top: 18px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-weight: 600; font-size: .95rem;
}
.chip svg { width: 18px; height: 18px; color: var(--peri); }

/* ---------- Ribbon (auto-scroll film strip) ---------- */
.ribbon { padding: 26px 0; border-block: 1px solid var(--line); background: rgba(0,0,0,.25); overflow: hidden; }
.ribbon-track { display: flex; gap: 16px; width: max-content; animation: slide 60s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track img {
  height: 150px; width: 240px; object-fit: cover; border-radius: var(--r-sm);
  border: 1px solid var(--line); filter: saturate(1.05);
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Section shells ---------- */
section { padding: 100px 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.kicker {
  display: inline-block; font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 800; color: var(--pink); margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.sec-head p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }

/* ---------- Why us ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-strong); margin-bottom: 20px;
  color: var(--peri);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Course ---------- */
.course { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.course-list { display: grid; gap: 14px; }
.course-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  transition: border-color .3s, background .3s, transform .3s;
}
.course-item:hover { border-color: var(--line-strong); background: rgba(185,169,255,.06); transform: translateX(4px); }
.course-item .n { font-weight: 900; font-size: 1.1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 30px; }
.course-item h4 { margin: 0 0 3px; font-size: 1.05rem; }
.course-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.course-aside {
  border-radius: var(--r-lg); padding: 40px; position: sticky; top: 100px;
  background: linear-gradient(150deg, rgba(124,77,255,.22), rgba(245,153,254,.1)), var(--panel);
  border: 1px solid var(--line-strong);
}
.course-aside .big { font-size: 3rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.course-aside ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.course-aside li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.course-aside li svg { width: 22px; height: 22px; color: var(--pink); flex: none; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.about-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.about-photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; object-position: 50% 30%; }
.about-photo .badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  padding: 16px 18px; border-radius: var(--r-md);
  background: rgba(12,9,16,.72); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
}
.about-photo .badge b { font-size: 1.05rem; }
.about-photo .badge span { display: block; color: var(--peri); font-size: .85rem; font-weight: 600; }
.about-body p { color: var(--muted); font-size: 1.06rem; margin: 0 0 18px; }
.about-body p strong { color: var(--text); }
.filmo { margin-top: 30px; }
.filmo h4 { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.filmo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.film-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 13px 16px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
}
.film-row b { font-weight: 700; }
.film-row .y { color: var(--peri); font-weight: 700; font-size: .9rem; }
.film-row small { display: block; color: var(--muted-2); font-size: .8rem; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  border: 1px solid var(--line); background: var(--panel);
  transition: transform .4s var(--ease), border-color .4s;
}
.proj:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.proj-poster { position: relative; aspect-ratio: 2/3; overflow: hidden; }
.proj-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj:hover .proj-poster img { transform: scale(1.06); }
.proj-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel) 2%, transparent 40%); }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; z-index: 2;
  border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(245,153,254,.16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.4);
  transition: transform .3s, background .3s;
}
.play-btn::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.play-btn svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.play-btn:hover { transform: scale(1.08); background: rgba(245,153,254,.3); }
.proj-body { padding: 22px; position: relative; z-index: 2; margin-top: -40px; }
.proj-body .tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.proj-body h3 { font-size: 1.4rem; margin: 8px 0 8px; }
.proj-body p { color: var(--muted); font-size: .94rem; margin: 0 0 16px; }
.watch-links { display: flex; flex-wrap: wrap; gap: 8px; }
.watch-links a {
  font-size: .82rem; font-weight: 700; padding: 7px 13px; border-radius: 9px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: .25s;
}
.watch-links a:hover { border-color: var(--peri); color: var(--peri); background: rgba(185,169,255,.08); }

/* ---------- Awards ---------- */
.award-banner {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  padding: 30px 34px; border-radius: var(--r-lg); margin-bottom: 44px;
  background: linear-gradient(120deg, rgba(124,77,255,.28), rgba(245,153,254,.12)), var(--panel);
  border: 1px solid var(--line-strong);
}
.award-banner .trophy { width: 58px; height: 58px; color: var(--pink); flex: none; }
.award-banner b { font-size: 1.35rem; display: block; }
.award-banner span { color: var(--muted); }
.awards-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.dip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dip {
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
  background: #0f0b16; transition: transform .35s var(--ease), border-color .35s;
  cursor: zoom-in;
}
.dip:hover { transform: translateY(-4px) scale(1.01); border-color: var(--line-strong); }
.dip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.award-list { display: grid; gap: 12px; }
.award-list li {
  list-style: none; padding: 16px 18px; border-radius: var(--r-md);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.award-list .medal { color: var(--peri); flex: none; width: 22px; height: 22px; margin-top: 2px; }
.award-list b { display: block; }
.award-list span { color: var(--muted); font-size: .9rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 4; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; position: relative; }
.gallery img { width: 100%; transition: transform .6s var(--ease), filter .4s; }
.gallery figure:hover img { transform: scale(1.05); filter: brightness(1.08); }
.gallery figure::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: linear-gradient(0deg, rgba(124,77,255,.35), transparent 60%);
}
.gallery figure:hover::after { opacity: 1; }

/* ---------- Apply / form ---------- */
.apply { position: relative; }
.apply-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.apply-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.apply-copy p { color: var(--muted); font-size: 1.08rem; margin: 18px 0 26px; }
.apply-copy .points { display: grid; gap: 14px; }
.apply-copy .points div { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.apply-copy .points svg { width: 22px; height: 22px; color: var(--pink); flex: none; }
.mascot-mini { margin-top: 34px; display: flex; align-items: center; gap: 16px; }
.mascot-mini img { width: 90px; border-radius: 14px; }
.mascot-mini b { font-size: 1.15rem; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mascot-mini span { color: var(--muted); font-size: .9rem; }

.form-card {
  background: linear-gradient(180deg, var(--panel-2), var(--ink-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); padding: 36px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field label .req { color: var(--pink); }
.field input {
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 13px 15px; color: var(--text);
  font-family: inherit; font-size: 1rem; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus { outline: none; border-color: var(--violet-2); background: rgba(124,77,255,.08); box-shadow: 0 0 0 4px rgba(124,77,255,.15); }
.field input:invalid:not(:placeholder-shown) { border-color: rgba(255,120,120,.5); }

.minor-block {
  grid-column: 1 / -1; border-radius: var(--r-md); padding: 4px 20px 20px;
  border: 1px dashed var(--line-strong); background: rgba(245,153,254,.04);
  margin-top: 4px;
}
.minor-block > .minor-title { font-size: .82rem; font-weight: 700; color: var(--peri); text-transform: uppercase; letter-spacing: .1em; padding: 16px 0 8px; }
.minor-block .form-grid { gap: 14px; }

.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; margin-top: 6px; }
.consent input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--violet-2); flex: none; }
.consent label { font-size: .85rem; color: var(--muted); }
.consent a { color: var(--peri); text-decoration: underline; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 20px; }
.form-hint { text-align: center; color: var(--muted-2); font-size: .82rem; margin-top: 14px; }

.form-success {
  text-align: center; padding: 30px 10px;
}
.form-success .ok {
  width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-strong);
  animation: pop .5s var(--ease);
}
.form-success .ok svg { width: 46px; height: 46px; color: var(--pink); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.form-success h3 { font-size: 1.7rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: rgba(0,0,0,.3); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand { margin: 0 0 18px; }
.footer p { color: var(--muted); max-width: 340px; }
.footer h5 { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a, .footer ul li { color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--peri); }
.footer .contact { display: flex; gap: 10px; align-items: center; }
.footer .contact svg { width: 18px; height: 18px; color: var(--peri); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .85rem; }

/* ---------- Modal / Lightbox ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 4vw;
  background: rgba(6, 4, 10, .88); backdrop-filter: blur(10px);
}
.modal.open { display: flex; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal video, .modal img { max-width: min(1000px, 92vw); max-height: 86vh; border-radius: var(--r-md); border: 1px solid var(--line-strong); box-shadow: var(--glow); }
.modal-close {
  position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-strong); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: .25s;
}
.modal-close:hover { background: rgba(245,153,254,.2); transform: rotate(90deg); }
.modal-close svg { width: 22px; height: 22px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ribbon-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .course, .about, .awards-wrap, .apply-wrap { grid-template-columns: 1fr; gap: 40px; }
  .course-aside { position: static; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 3; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-links, .nav .cta-desktop { display: none; }
  .burger { display: block; }
  .nav-links.mobile {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 6vw 24px;
    background: rgba(12,9,16,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
  }
  .nav-links.mobile a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-links.mobile .btn { margin-top: 16px; justify-content: center; }
  section { padding: 72px 0; }
  .hero { padding: 128px 0 70px; }
  .grid-3, .projects-grid, .filmo-grid, .dip-grid, .form-grid, .minor-block .form-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 10px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-media img { object-position: 62% 30%; }
}
