/*! Magistral Prime styles */
:root {
      --bg: #07111d;
      --bg-2: #0b1726;
      --card: rgba(10, 23, 38, .78);
      --card-strong: #0e1b2b;
      --line: rgba(218, 177, 104, .28);
      --line-strong: rgba(236, 195, 117, .62);
      --gold: #e8bc69;
      --gold-2: #ffd98b;
      --gold-dark: #9f7040;
      --text: #f6f3ed;
      --muted: #a9b5c3;
      --muted-2: #738194;
      --white: #ffffff;
      --shadow: 0 30px 90px rgba(0,0,0,.45);
      --radius: 28px;
      --radius-sm: 18px;
      --max: 1240px;
      color-scheme: dark;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      background:
        radial-gradient(circle at 80% 8%, rgba(255, 201, 117, .16), transparent 34%),
        radial-gradient(circle at 10% 14%, rgba(81, 151, 211, .16), transparent 38%),
        linear-gradient(145deg, #030914 0%, #07111d 46%, #0b1421 100%);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 82%);
      opacity: .45;
      z-index: -2;
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(90deg, rgba(4, 11, 20, .84), transparent 34%, rgba(3, 9, 15, .35));
      z-index: -1;
    }

    a { color: inherit; text-decoration: none; }
    button, input, textarea, select { font: inherit; }
    img { display: block; max-width: 100%; }

    .container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(18px);
      background: rgba(4, 11, 20, .72);
      border-bottom: 1px solid rgba(232, 188, 105, .18);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      min-height: 78px;
    }

    .brand { display: inline-flex; align-items: center; gap: 14px; min-width: 260px; }
    .brand-mark {
      width: 44px; height: 44px; border-radius: 14px;
      background:
        linear-gradient(135deg, rgba(255, 223, 148, .95), rgba(166, 110, 52, .95)),
        #d7a95d;
      position: relative;
      box-shadow: 0 0 38px rgba(232, 188, 105, .28);
      overflow: hidden;
    }
    .brand-mark::before {
      content: ""; position: absolute; inset: 11px 8px;
      border: 2px solid rgba(8, 17, 28, .8); border-radius: 8px 8px 12px 12px;
      transform: skewX(-8deg);
    }
    .brand-mark::after {
      content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 3px;
      background: rgba(8, 17, 28, .8); box-shadow: 10px 0 0 rgba(8,17,28,.8);
    }
    .brand-title { display: flex; flex-direction: column; line-height: 1.05; }
    .brand-title strong { font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
    .brand-title span { font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 5px; }

    .nav-links { display: flex; align-items: center; gap: 22px; color: #cbd3df; font-size: 14px; }
    .nav-links a { opacity: .86; transition: .2s ease; }
    .nav-links a:hover { color: var(--gold-2); opacity: 1; }

    .nav-cta {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      min-height: 44px; padding: 0 18px;
      border: 1px solid rgba(255, 217, 139, .52);
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(255, 217, 139, .18), rgba(255, 217, 139, .04));
      color: var(--gold-2);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    }

    .hero {
      position: relative;
      padding: 72px 0 42px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
      gap: 44px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      border: 1px solid rgba(232, 188, 105, .28);
      border-radius: 999px;
      background: rgba(232, 188, 105, .06);
      color: var(--gold-2);
      font-size: 13px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 22px var(--gold); }

    h1 {
      margin: 24px 0 20px;
      font-size: clamp(46px, 6vw, 86px);
      line-height: .94;
      letter-spacing: -.06em;
      max-width: 850px;
    }

    .gold-text {
      background: linear-gradient(105deg, #fff5d6 0%, #f1c673 36%, #a86e38 72%, #ffd98b 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-lead {
      color: #d7dee8;
      font-size: clamp(17px, 1.5vw, 21px);
      line-height: 1.7;
      max-width: 700px;
      margin: 0 0 28px;
    }

    .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      min-height: 54px; padding: 0 23px; border-radius: 999px;
      border: 1px solid transparent; cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
      white-space: nowrap;
    }
    .btn-primary {
      color: #08111d;
      background: linear-gradient(135deg, #fff0bf, #e8bc69 45%, #ad7742);
      box-shadow: 0 18px 45px rgba(232, 188, 105, .25), inset 0 1px 0 rgba(255,255,255,.5);
      font-weight: 760;
    }
    .btn-secondary {
      color: #f2ead9;
      border-color: rgba(232, 188, 105, .30);
      background: rgba(255,255,255,.04);
    }
    .btn:hover { transform: translateY(-2px); }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      max-width: 720px;
    }
    .stat {
      padding: 18px;
      border-radius: 22px;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(232, 188, 105, .16);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
    }
    .stat strong { display: block; font-size: 28px; color: var(--gold-2); letter-spacing: -.04em; }
    .stat span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.35; }

    .hero-showcase {
      position: relative;
      min-height: 520px;
      border-radius: 40px;
      padding: 16px;
      background:
        linear-gradient(145deg, rgba(255, 217, 139, .22), transparent 24%, rgba(255,255,255,.04)),
        rgba(255,255,255,.035);
      border: 1px solid rgba(232, 188, 105, .28);
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .hero-showcase::before {
      content: "";
      position: absolute;
      inset: -35% -24% auto auto;
      width: 420px; height: 420px;
      background: radial-gradient(circle, rgba(255, 218, 141, .34), transparent 63%);
      filter: blur(8px);
    }

    .showcase-main {
      position: relative;
      height: 320px;
      border-radius: 30px;
      overflow: hidden;
      border: 1px solid rgba(255, 222, 156, .26);
      box-shadow: 0 25px 80px rgba(0,0,0,.38);
    }
    .showcase-main img { width: 100%; height: 100%; object-fit: cover; }
    .showcase-main::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 46%, rgba(2, 8, 14, .72));
    }
    .showcase-label {
      position: absolute;
      z-index: 2;
      left: 22px;
      right: 22px;
      bottom: 20px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
    }
    .showcase-label h2 { margin: 0; font-size: clamp(22px, 2vw, 32px); line-height: 1.05; letter-spacing: -.04em; }
    .showcase-label span { color: var(--gold-2); font-size: 13px; border: 1px solid rgba(232,188,105,.35); padding: 8px 11px; border-radius: 999px; background: rgba(8,17,29,.55); }

    .mini-covers {
      position: relative;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 14px;
    }
    .mini-cover {
      height: 112px;
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid rgba(232,188,105,.22);
      background: #101b2a;
      position: relative;
    }
    .mini-cover img { width: 100%; height: 100%; object-fit: cover; }
    .mini-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.48)); }

    .showcase-panel {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 14px;
    }
    .showcase-panel div {
      padding: 18px;
      border-radius: 22px;
      background: rgba(5, 12, 22, .64);
      border: 1px solid rgba(232,188,105,.18);
    }
    .showcase-panel strong { display: block; color: #fff2d5; font-size: 18px; margin-bottom: 6px; }
    .showcase-panel span { color: var(--muted); font-size: 13px; line-height: 1.45; }

    section { padding: 58px 0; }
    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 24px;
      margin-bottom: 28px;
    }
    .section-head h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: .98; letter-spacing: -.055em; max-width: 760px; }
    .section-head p { margin: 0; color: var(--muted); line-height: 1.65; max-width: 430px; }

    .toolbar {
      position: sticky;
      top: 78px;
      z-index: 30;
      display: flex;
      gap: 14px;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 24px;
      padding: 14px;
      border: 1px solid rgba(232,188,105,.18);
      border-radius: 26px;
      background: rgba(5, 12, 22, .78);
      backdrop-filter: blur(18px);
      box-shadow: 0 18px 50px rgba(0,0,0,.28);
    }
    .search {
      flex: 1 1 360px;
      min-width: 220px;
      position: relative;
    }
    .search input {
      width: 100%;
      min-height: 48px;
      padding: 0 18px 0 46px;
      border-radius: 999px;
      border: 1px solid rgba(232,188,105,.16);
      background: rgba(255,255,255,.045);
      color: #fff;
      outline: none;
    }
    .search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--gold); opacity: .85; }
    .filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
    .filter-btn {
      border: 1px solid rgba(232,188,105,.18);
      border-radius: 999px;
      min-height: 42px;
      padding: 0 14px;
      background: rgba(255,255,255,.04);
      color: #cdd7e4;
      cursor: pointer;
      transition: .2s ease;
    }
    .filter-btn:hover, .filter-btn.active {
      color: #08111d;
      background: linear-gradient(135deg, #fff0bf, #e8bc69 55%, #b77d43);
      border-color: transparent;
    }

    .catalog-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .course-card {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      border-radius: 30px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
        var(--card);
      border: 1px solid rgba(232,188,105,.18);
      box-shadow: 0 22px 70px rgba(0,0,0,.28);
      overflow: hidden;
      transform: translateY(0);
      transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
      position: relative;
    }
    .course-card:hover {
      transform: translateY(-6px);
      border-color: rgba(255, 217, 139, .46);
      box-shadow: 0 34px 90px rgba(0,0,0,.42), 0 0 0 1px rgba(255,217,139,.05);
    }

    .course-cover {
      position: relative;
      aspect-ratio: 16/9;
      overflow: hidden;
      background: #111e2f;
    }
    .course-cover.has-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform .55s ease, filter .55s ease; }
    .course-card:hover .course-cover.has-image img { transform: scale(1.06); filter: saturate(1.06) contrast(1.05); }
    .cover-shine {
      position: absolute; inset: 0;
      background:
        linear-gradient(135deg, rgba(255,255,255,.16), transparent 25%, transparent 75%, rgba(232,188,105,.12)),
        linear-gradient(180deg, transparent 58%, rgba(2,8,14,.32));
      opacity: .65;
      pointer-events: none;
    }

    .course-body {
      display: flex;
      flex-direction: column;
      gap: 14px;
      padding: 20px;
      flex: 1;
    }
    .course-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .chip {
      display: inline-flex;
      min-height: 28px;
      align-items: center;
      padding: 0 10px;
      border-radius: 999px;
      color: #ffe8b2;
      font-size: 12px;
      border: 1px solid rgba(232,188,105,.26);
      background: rgba(232,188,105,.08);
    }
    .level { color: var(--muted-2); font-size: 12px; }
    .course-card h3 {
      margin: 0;
      font-size: 22px;
      line-height: 1.1;
      letter-spacing: -.035em;
    }
    .course-card p { margin: 0; color: #b9c3d0; line-height: 1.55; font-size: 14px; }

    .course-specs { display: flex; flex-wrap: wrap; gap: 7px; }
    .course-specs span {
      color: #d9e1ea;
      font-size: 12px;
      padding: 7px 9px;
      border-radius: 999px;
      background: rgba(255,255,255,.055);
      border: 1px solid rgba(255,255,255,.07);
    }

    .course-outcomes {
      padding: 14px;
      border-radius: 18px;
      border: 1px solid rgba(232,188,105,.12);
      background: rgba(3,9,16,.36);
      flex: 1;
    }
    .course-outcomes ul { margin: 0; padding-left: 18px; color: #c5cfda; font-size: 13px; line-height: 1.55; }
    .course-outcomes li + li { margin-top: 5px; }

    .course-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding-top: 2px;
    }
    .course-footer small { display: block; color: var(--muted-2); font-size: 11px; margin-bottom: 3px; }
    .course-footer strong { color: var(--gold-2); font-size: 20px; }
    .details-btn {
      border: 1px solid rgba(232,188,105,.32);
      background: rgba(232,188,105,.08);
      color: #ffe4aa;
      border-radius: 999px;
      min-height: 42px;
      padding: 0 14px;
      cursor: pointer;
      transition: .2s ease;
    }
    .details-btn:hover { background: rgba(232,188,105,.18); border-color: rgba(232,188,105,.58); }

    .course-card.hidden { display: none; }

    .generated {
      isolation: isolate;
      display: grid;
      place-items: center;
      min-height: 0;
      background:
        radial-gradient(circle at 78% 20%, rgba(255, 217, 139, .24), transparent 32%),
        linear-gradient(135deg, #05101e 0%, #0b1b2c 45%, #161b22 100%);
    }
    .generated-bg {
      position: absolute; inset: 0; z-index: -3;
      background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        radial-gradient(circle at 100% 0%, rgba(232,188,105,.28), transparent 34%);
      background-size: 34px 34px, 34px 34px, auto;
      opacity: .85;
    }
    .generated::after {
      content: ""; position: absolute; inset: 0; z-index: -1;
      background:
        linear-gradient(90deg, rgba(2,8,14,.86) 0%, rgba(2,8,14,.45) 54%, transparent 100%),
        radial-gradient(circle at 72% 72%, rgba(232,188,105,.17), transparent 40%);
    }
    .generated-frame {
      position: absolute; left: 22px; top: 24px; right: 68px; bottom: 78px;
      border: 1px solid rgba(232,188,105,.5);
      border-right-color: transparent;
      border-radius: 18px 0 0 18px;
    }
    .generated-title {
      position: absolute; left: 34px; right: 120px; top: 34px;
      font-size: clamp(22px, 2.4vw, 36px);
      line-height: 1.05;
      letter-spacing: -.05em;
      font-weight: 780;
      color: white;
      text-shadow: 0 8px 24px rgba(0,0,0,.35);
    }
    .generated-title span {
      display: block;
      color: transparent;
      background: linear-gradient(105deg, #fff1bd, #dfa95e 68%, #ffdc8b);
      -webkit-background-clip: text; background-clip: text;
      font-size: 1.2em;
      margin-bottom: 4px;
    }
    .generated-icon {
      position: absolute;
      right: 28px;
      bottom: 28px;
      width: 112px;
      aspect-ratio: 1;
      border-radius: 50%;
      display: grid; place-items: center;
      border: 1px solid rgba(232,188,105,.52);
      background: radial-gradient(circle, rgba(232,188,105,.12), rgba(4,11,20,.82) 66%);
      box-shadow: 0 0 40px rgba(232,188,105,.18), inset 0 0 0 8px rgba(255,255,255,.025);
    }
    .generated-icon svg { width: 64px; height: 64px; fill: none; stroke: #ffdc8b; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(232,188,105,.5)); }
    .generated-route {
      position: absolute; left: 34px; right: 158px; bottom: 38px; height: 3px;
      background: linear-gradient(90deg, rgba(232,188,105,.18), rgba(255,217,139,.88), rgba(232,188,105,.08));
      box-shadow: 0 0 18px rgba(232,188,105,.28);
    }
    .generated-route::before, .generated-route::after {
      content: ""; position: absolute; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background: #ffdc8b; box-shadow: 0 0 15px #e8bc69;
    }
    .generated-route::before { left: 18%; }
    .generated-route::after { right: 22%; }
    .generated-meta {
      position: absolute; left: 34px; bottom: 17px; color: #b6c1ce; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    }
    .generated.health { background-image: radial-gradient(circle at 78% 18%, rgba(107, 206, 183, .16), transparent 34%), linear-gradient(135deg, #06111e, #111b2b); }
    .generated.penalties { background-image: radial-gradient(circle at 75% 22%, rgba(255, 85, 72, .12), transparent 36%), linear-gradient(135deg, #06111e, #171825); }
    .generated.mentor { background-image: radial-gradient(circle at 76% 20%, rgba(232,188,105,.26), transparent 34%), linear-gradient(135deg, #06111e, #101d28); }

    .method {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 18px;
    }
    .method-card {
      position: relative;
      padding: 28px;
      min-height: 250px;
      border-radius: 30px;
      background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
      border: 1px solid rgba(232,188,105,.18);
      overflow: hidden;
    }
    .method-card::before {
      content: attr(data-num);
      position: absolute;
      right: 22px;
      top: 16px;
      font-size: 74px;
      line-height: 1;
      font-weight: 820;
      letter-spacing: -.08em;
      color: rgba(232,188,105,.10);
    }
    .method-card h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.04em; }
    .method-card p { margin: 0; color: var(--muted); line-height: 1.65; }
    .method-icon {
      width: 56px; height: 56px; border-radius: 18px;
      display: grid; place-items: center;
      color: #08111d; font-weight: 900;
      background: linear-gradient(135deg, #fff0bf, #e8bc69 55%, #a86e38);
      margin-bottom: 44px;
      box-shadow: 0 20px 40px rgba(232,188,105,.18);
    }

    .pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
    .price-card {
      border-radius: 34px;
      border: 1px solid rgba(232,188,105,.18);
      background: rgba(255,255,255,.045);
      padding: 28px;
      position: relative;
      overflow: hidden;
    }
    .price-card.featured {
      background:
        linear-gradient(135deg, rgba(255,217,139,.18), rgba(255,255,255,.04) 34%, rgba(255,255,255,.03)),
        rgba(255,255,255,.035);
      border-color: rgba(255,217,139,.52);
      box-shadow: 0 28px 80px rgba(232,188,105,.12);
    }
    .price-card h3 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.04em; }
    .price-card p { color: var(--muted); line-height: 1.6; min-height: 102px; }
    .price { font-size: clamp(34px, 3vw, 42px); line-height: 1; letter-spacing: -.06em; color: var(--gold-2); margin: 20px 0; font-weight: 820; }
    .price small { font-size: 14px; color: var(--muted); letter-spacing: 0; font-weight: 500; }
    .price-card ul { margin: 0 0 24px; padding-left: 20px; color: #ccd6e2; line-height: 1.8; }
    .price-card .btn { width: 100%; }

    .cta-block {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr);
      gap: 24px;
      align-items: stretch;
      padding: 26px;
      border-radius: 40px;
      border: 1px solid rgba(232,188,105,.28);
      background:
        radial-gradient(circle at 86% 20%, rgba(232,188,105,.20), transparent 36%),
        linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
      box-shadow: var(--shadow);
      overflow: hidden;
    }
    .cta-copy { padding: 20px; }
    .cta-copy h2 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 58px); line-height: .98; letter-spacing: -.055em; }
    .cta-copy p { color: #ccd6e2; line-height: 1.7; font-size: 17px; max-width: 720px; }
    .cta-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
    .cta-badges span { padding: 10px 12px; border: 1px solid rgba(232,188,105,.18); border-radius: 999px; color: #ffe4aa; background: rgba(232,188,105,.06); }
    .cta-contacts {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      margin: 20px 0 4px;
      color: #cbd6e2;
    }
    .cta-contacts a {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      padding: 0 16px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(255,217,139,.20), rgba(255,217,139,.06));
      border: 1px solid rgba(255,217,139,.38);
      color: var(--gold-2);
      font-weight: 800;
      letter-spacing: .01em;
    }
    .cta-contacts span { color: var(--muted); }
    .lead-form {
      padding: 22px;
      border-radius: 28px;
      background: rgba(3,9,16,.58);
      border: 1px solid rgba(232,188,105,.18);
    }
    .lead-form label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
    .lead-form input, .lead-form select, .lead-form textarea {
      width: 100%;
      border: 1px solid rgba(232,188,105,.16);
      background: rgba(255,255,255,.05);
      color: #fff;
      border-radius: 16px;
      padding: 13px 14px;
      outline: none;
      margin-bottom: 14px;
    }
    .lead-form textarea { min-height: 96px; resize: vertical; }
    .lead-form select option { background: #0b1726; color: white; }
    .lead-form .btn { width: 100%; border: 0; }
    .form-note { color: var(--muted-2); font-size: 12px; line-height: 1.45; margin-top: 10px; }

    .contacts-section {
      padding: 72px 0 34px;
      position: relative;
    }
    .contacts-shell {
      display: grid;
      grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
      gap: 26px;
      align-items: stretch;
      padding: 28px;
      border-radius: 42px;
      border: 1px solid rgba(232,188,105,.25);
      background:
        radial-gradient(circle at 84% 18%, rgba(255,217,139,.18), transparent 34%),
        radial-gradient(circle at 10% 90%, rgba(81,151,211,.14), transparent 35%),
        linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }
    .contacts-shell::before {
      content: "";
      position: absolute;
      inset: 18px;
      border: 1px solid rgba(232,188,105,.12);
      border-radius: 32px;
      pointer-events: none;
    }
    .contacts-shell::after {
      content: "";
      position: absolute;
      right: -120px;
      top: -120px;
      width: 360px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,217,139,.20), transparent 68%);
      filter: blur(4px);
      pointer-events: none;
    }
    .contacts-copy {
      position: relative;
      z-index: 1;
      padding: 22px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 360px;
    }
    .contacts-copy h2 {
      margin: 22px 0 18px;
      font-size: clamp(38px, 5vw, 70px);
      line-height: .96;
      letter-spacing: -.06em;
      max-width: 620px;
    }
    .contacts-copy p {
      margin: 0;
      color: #d2dbe6;
      line-height: 1.7;
      font-size: 17px;
      max-width: 610px;
    }
    .contacts-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
    }
    .contacts-cards {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .contact-card {
      min-height: 188px;
      border-radius: 30px;
      border: 1px solid rgba(232,188,105,.20);
      background:
        radial-gradient(circle at 88% 16%, rgba(232,188,105,.17), transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
        rgba(5,12,22,.58);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 50px rgba(0,0,0,.22);
      overflow: hidden;
      position: relative;
    }
    .contact-main {
      grid-column: 1 / -1;
      min-height: 170px;
      background:
        linear-gradient(135deg, rgba(255,217,139,.20), rgba(255,255,255,.04) 44%, rgba(255,255,255,.025)),
        rgba(5,12,22,.72);
      border-color: rgba(255,217,139,.42);
    }
    .contact-card::after {
      content: "";
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(255,217,139,.64), transparent);
      opacity: .55;
    }
    .contact-card span { color: var(--gold-2); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
    .contact-card strong { color: #fff5d6; font-size: clamp(21px, 2.1vw, 32px); line-height: 1.12; letter-spacing: -.045em; }
    .contact-main strong { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.055em; }
    .contact-card small { color: var(--muted); line-height: 1.55; font-size: 14px; max-width: 520px; }
    .contact-card-link { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
    .contact-card-link:hover { transform: translateY(-3px); border-color: rgba(255,217,139,.62); box-shadow: 0 26px 70px rgba(0,0,0,.32); }
    .requisites-card dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; margin: 14px 0 0; }
    .requisites-card dt { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
    .requisites-card dd { margin: 0; color: #fff0c6; font-weight: 850; letter-spacing: .02em; text-align: right; }

    .footer {
      padding: 30px 0 40px;
      color: var(--muted-2);
      border-top: 1px solid rgba(232,188,105,.14);
      background:
        radial-gradient(circle at 78% 0%, rgba(232,188,105,.10), transparent 34%),
        rgba(2,8,14,.18);
    }
    .footer-panel {
      display: grid;
      grid-template-columns: minmax(280px, 1fr) auto minmax(260px, .72fr);
      gap: 22px;
      align-items: center;
      padding: 22px;
      border-radius: 34px;
      border: 1px solid rgba(232,188,105,.18);
      background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.024));
      box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    }
    .footer-brand-block .brand { min-width: 0; }
    .footer-brand-block p { margin: 14px 0 0; color: var(--muted); line-height: 1.55; max-width: 440px; }
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }
    .footer-links a {
      padding: 10px 12px;
      border-radius: 999px;
      border: 1px solid rgba(232,188,105,.14);
      background: rgba(255,255,255,.035);
      color: #cbd6e2;
      font-size: 13px;
      transition: .2s ease;
    }
    .footer-links a:hover { color: var(--gold-2); border-color: rgba(255,217,139,.36); }
    .footer-contact-card {
      padding: 18px;
      border-radius: 24px;
      border: 1px solid rgba(255,217,139,.28);
      background: rgba(232,188,105,.065);
    }
    .footer-contact-card span { display: block; color: var(--muted-2); font-size: 12px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .12em; }
    .footer-contact-card a { display: block; color: var(--gold-2); font-weight: 850; font-size: 22px; letter-spacing: -.025em; }
    .footer-contact-card small { display: block; margin-top: 6px; color: var(--muted); line-height: 1.45; }
    .footer-bottom {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 24px;
      justify-content: space-between;
      padding: 18px 6px 0;
      color: var(--muted-2);
      font-size: 13px;
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 22px;
      background: rgba(2, 8, 14, .78);
      backdrop-filter: blur(18px);
    }
    .modal.open { display: flex; }
    .modal-card {
      width: min(980px, 100%);
      max-height: min(820px, calc(100vh - 44px));
      overflow: auto;
      border-radius: 34px;
      background: #07111d;
      border: 1px solid rgba(232,188,105,.32);
      box-shadow: 0 34px 100px rgba(0,0,0,.58);
    }
    .modal-hero { position: relative; aspect-ratio: 16/7; background: #111d2b; overflow: hidden; }
    .modal-hero img { width: 100%; height: 100%; object-fit: cover; }
    .modal-hero .generated { width: 100%; height: 100%; aspect-ratio: auto; }
    .modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,17,29,.85)); }
    .modal-content { padding: 28px; }
    .modal-kicker { color: var(--gold-2); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
    .modal-content h3 { margin: 12px 0 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.055em; }
    .modal-content p { color: #cbd6e2; line-height: 1.7; font-size: 16px; }
    .modal-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
    .modal-box { border: 1px solid rgba(232,188,105,.16); border-radius: 22px; padding: 18px; background: rgba(255,255,255,.035); }
    .modal-box strong { color: #fff0c6; }
    .modal-box ul { color: #cbd6e2; line-height: 1.8; margin-bottom: 0; padding-left: 18px; }
    .close-btn {
      position: absolute;
      top: 18px; right: 18px;
      z-index: 4;
      width: 44px; height: 44px;
      border-radius: 999px;
      border: 1px solid rgba(232,188,105,.34);
      background: rgba(5,12,22,.7);
      color: #fff;
      cursor: pointer;
    }

    .no-results {
      display: none;
      text-align: center;
      padding: 50px 20px;
      color: var(--muted);
      border: 1px solid rgba(232,188,105,.16);
      border-radius: 28px;
      background: rgba(255,255,255,.035);
    }
    .no-results.show { display: block; }

    @media (max-width: 1100px) {
      .hero-grid { grid-template-columns: 1fr; }
      .hero-showcase { min-height: auto; }
      .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .nav-links { display: none; }
      .method, .pricing { grid-template-columns: 1fr; }
      .contacts-shell, .footer-panel { grid-template-columns: 1fr; }
      .contacts-cards { grid-template-columns: 1fr; }
      .contact-main { grid-column: auto; }
    }

    @media (max-width: 760px) {
      .container { width: min(100% - 24px, var(--max)); }
      .nav { min-height: 68px; }
      .brand { min-width: 0; }
      .brand-title span { display: none; }
      .nav-cta { display: none; }
      .hero { padding-top: 42px; }
      .hero-stats, .mini-covers, .showcase-panel, .catalog-grid, .cta-block, .modal-lists { grid-template-columns: 1fr; }
      .hero-showcase { border-radius: 28px; padding: 10px; }
      .showcase-main { height: 230px; border-radius: 22px; }
      .toolbar { position: static; flex-direction: column; align-items: stretch; border-radius: 22px; }
      .filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
      .filter-btn { flex: 0 0 auto; }
      .section-head { display: block; }
      .section-head p { margin-top: 16px; }
      .course-body { padding: 16px; }
      .course-card h3 { font-size: 20px; }
      .generated-title { right: 96px; font-size: 24px; }
      .generated-icon { width: 88px; right: 18px; bottom: 22px; }
      .generated-icon svg { width: 52px; height: 52px; }
      .generated-frame { right: 44px; bottom: 68px; }
      .contacts-section { padding-top: 46px; }
      .contacts-shell { padding: 18px; border-radius: 28px; }
      .contacts-shell::before { inset: 10px; border-radius: 22px; }
      .contacts-copy { min-height: auto; padding: 10px; }
      .contacts-actions { flex-direction: column; align-items: stretch; }
      .contacts-actions .btn { width: 100%; }
      .contact-card { min-height: 160px; padding: 20px; border-radius: 24px; }
      .contact-main strong { font-size: clamp(28px, 9vw, 40px); }
      .requisites-card dd { text-align: left; }
      .footer-panel { padding: 18px; border-radius: 26px; }
      .footer-links { justify-content: flex-start; }
      .footer-contact-card a { font-size: 20px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }

:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.form-note.success { color: #b9f4cd; }
button:disabled { opacity: .65; cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

.honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
