/* =========================================================
   ELENA TRIBRAT — editorial luxury theme
   ========================================================= */
:root {
  --bg: #0e0b09;
  --bg-2: #16110e;
  --bg-3: #1f1814;
  --ivory: #f4ede3;
  --ivory-2: #e9dfd1;
  --ink: #1a1411;
  --muted: #a5978a;
  --muted-dark: #6e6157;
  --gold: #c9a56b;
  --gold-2: #e8d3a3;
  --gold-deep: #9b7a45;
  --accent: var(--gold);
  --line: rgba(244, 237, 227, .12);
  --line-dark: rgba(26, 20, 17, .14);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(80px, 12vw, 180px) 0; }
.section--light { background: var(--ivory); color: var(--ink); }
.section--light .eyebrow { color: var(--gold-deep); }
.section--light .muted { color: var(--muted-dark); }
.section--dark2 { background: var(--bg-2); }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.display {
  font-family: var(--serif); font-weight: 400; line-height: .95; letter-spacing: -.01em;
  font-size: clamp(44px, 8.2vw, 150px); margin: 0;
}
.h2 {
  font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em;
  font-size: clamp(38px, 5.6vw, 92px); margin: 18px 0 0;
}
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.1; margin: 0; }
.it { font-style: italic; color: var(--gold); }
.section--light .it { color: var(--gold-deep); }
.lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.65; max-width: 640px; }
.muted { color: var(--muted); }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 30px; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory);
  transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
@media (hover: hover) { .btn:hover::before { transform: translateY(0); } }
@media (hover: hover) { .btn:hover { box-shadow: 0 18px 50px -18px rgba(201, 165, 107, .7); } }
.btn .arr { width: 18px; height: 18px; transition: transform .4s var(--ease); }
@media (hover: hover) { .btn:hover .arr { transform: translateX(4px) rotate(-45deg); } }
.btn--ghost { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(244, 237, 227, .32); }
.btn--ghost::before { background: var(--ivory); }
@media (hover: hover) { .btn--ghost:hover { color: var(--ink); } }
.section--light .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-dark); }
.section--light .btn--ghost::before { background: var(--ink); }
@media (hover: hover) { .section--light .btn--ghost:hover { color: var(--ivory); } }
.btn--sm { --h: 46px; padding: 0 22px; font-size: 11px; }

.link-u { position: relative; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
@media (hover: hover) { .link-u:hover::after { transform: scaleX(1); transform-origin: left; } }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center; pointer-events: none;
}
.loader__name { font-family: var(--serif); font-size: clamp(34px, 6vw, 84px); letter-spacing: .08em; overflow: hidden; display: flex; }
.loader__name span { display: inline-block; transform: translateY(110%); }
.loader__count { position: absolute; right: var(--pad); bottom: var(--pad); font-family: var(--serif); font-size: clamp(48px, 9vw, 140px); line-height: 1; color: var(--gold); font-style: italic; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
html:not(.js) .loader, .no-anim .loader { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
}
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.nav.is-scrolled { background: rgba(14, 11, 9, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.logo { font-family: var(--serif); font-size: 24px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.logo small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .38em; color: var(--gold); margin-top: 5px; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: 13px; letter-spacing: .06em; }
.nav__links a { opacity: .78; transition: opacity .3s; }
@media (hover: hover) { .nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; } }
.nav__right { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu a.mm { font-family: var(--serif); font-size: clamp(36px, 9vw, 64px); line-height: 1.15; display: block; }
.mmenu a.mm em { color: var(--gold); font-size: .45em; vertical-align: super; margin-right: 10px; font-style: normal; font-family: var(--sans); }
.mmenu__foot { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--bg); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee__item { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--serif); font-size: clamp(24px, 3vw, 44px); white-space: nowrap; }
.marquee__item i { font-style: normal; color: var(--gold); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto (scrubbed words) ---------- */
.manifesto__text { font-family: var(--serif); font-size: clamp(30px, 4.3vw, 70px); line-height: 1.12; letter-spacing: -.005em; max-width: 1200px; margin: 28px 0 0; }
.manifesto__text .w { opacity: .16; transition: opacity .2s; }
.no-anim .manifesto__text .w, html:not(.js) .manifesto__text .w { opacity: 1; }
.manifesto__text .it { font-style: italic; }

/* ---------- about split ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about__img img { width: 100%; height: 118%; object-fit: cover; }
.about__badge {
  position: absolute; right: -28px; bottom: 40px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-size: 17px; line-height: 1.1; padding: 18px;
}
.about__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.titles { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line-dark); }
.titles li { list-style: none; display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
.titles li b { font-family: var(--serif); font-weight: 500; color: var(--gold-deep); font-size: 20px; }
.titles ul, ul.titles { padding: 0; margin-bottom: 0; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 36px 24px 0 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--serif); font-size: clamp(54px, 6.4vw, 110px); line-height: 1; color: var(--ivory); }
.stat__n sup { font-size: .4em; color: var(--gold); vertical-align: top; position: relative; top: .3em; margin-left: 4px; }
.stat__t { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 220px; }

/* ---------- section heads ---------- */
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.head .lead { margin: 0; }

/* ---------- directions (sticky stacking cards) ---------- */
.dirs { display: grid; gap: 22px; }
.dir {
  position: sticky; top: 110px;
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: min(78vh, 680px);
  border-radius: var(--radius); overflow: hidden; background: var(--bg-3);
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .8);
}
.dir:nth-child(2) { top: 130px; } .dir:nth-child(3) { top: 150px; } .dir:nth-child(4) { top: 170px; }
.dir__body { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.dir__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; }
.dir__title { font-family: var(--serif); font-size: clamp(38px, 4.8vw, 80px); line-height: .98; margin: 12px 0 18px; font-weight: 400; }
.dir__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 12px; letter-spacing: .06em; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: rgba(244, 237, 227, .8); }
.dir__media { position: relative; overflow: hidden; }
.dir__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .dir:hover .dir__media img { transform: scale(1.04); } }
.dir--gold { background: var(--gold); color: var(--ink); }
.dir--gold .dir__num { color: var(--ink); }
.dir--gold .tag { box-shadow: inset 0 0 0 1px rgba(26, 20, 17, .25); color: var(--ink); }
.dir--gold .btn { background: var(--ink); color: var(--ivory); }
.dir--gold .btn::before { background: var(--ivory); }
@media (hover: hover) { .dir--gold .btn:hover { color: var(--ink); } }
.dir--ivory { background: var(--ivory); color: var(--ink); }
.dir--ivory .dir__num { color: var(--gold-deep); }
.dir--ivory .tag { box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--ink); }

/* ---------- expression (horizontal pinned) ---------- */
.expr { background: #0a0807; overflow: hidden; }
.expr__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.expr__places { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 28px; }
.expr__places div { display: grid; grid-template-columns: 120px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.expr__places b { color: var(--gold); font-weight: 600; letter-spacing: .14em; font-size: 12px; text-transform: uppercase; padding-top: 3px; }
.practice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 30px; }
.practice > div { padding: 30px 26px 0 0; }
.practice > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.practice .n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 44px; line-height: 1; }
.practice h4 { margin: 14px 0 8px; letter-spacing: .2em; font-size: 13px; text-transform: uppercase; }
.practice p { color: var(--muted); font-size: 15px; }

.offer {
  margin-top: clamp(70px, 9vw, 130px); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); color: var(--ink);
}
.offer__media { position: relative; min-height: 420px; }
.offer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.offer__body { padding: clamp(30px, 5vw, 72px); }
.offer__body .h2 { font-size: clamp(36px, 4.4vw, 68px); }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 0; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1411' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; margin-top: 2px; }
.dm-code { display: inline-block; font-family: var(--serif); font-style: italic; font-size: 1.15em; color: var(--gold-deep); }

/* ---------- help list (hover reveal) ---------- */
.help { position: relative; }
.help__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.help__item { position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; padding: clamp(18px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line-dark); cursor: default; }
.help__item .n { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 20px; }
.help__item .t { font-family: var(--serif); font-size: clamp(26px, 3.3vw, 54px); line-height: 1.05; transition: transform .6s var(--ease), color .4s; }
.help__item .a { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-dark); display: grid; place-items: center; transition: background .4s, transform .5s var(--ease); }
@media (hover: hover) { .help__item:hover .t { transform: translateX(18px); color: var(--gold-deep); } }
@media (hover: hover) { .help__item:hover .a { background: var(--gold); transform: rotate(-45deg); } }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.fact { display: grid; grid-template-columns: 60px 1fr; padding: 22px 0; border-top: 1px solid var(--line); }
.fact b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; color: var(--gold); line-height: 1; }
.fact span { font-size: 16px; }
.fact span small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  position: relative; border-radius: var(--radius); padding: clamp(28px, 3vw, 44px);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 18px; transition: transform .6s var(--ease), box-shadow .5s;
}
@media (hover: hover) { .plan:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px var(--gold); } }
.plan__name { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.plan__n { font-family: var(--serif); font-size: clamp(64px, 6vw, 96px); line-height: .9; }
.plan__n small { font-size: .28em; color: var(--muted); font-family: var(--sans); letter-spacing: .04em; margin-left: 6px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; align-content: start; gap: 10px; color: rgba(244, 237, 227, .82); font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "—"; color: var(--gold); }
.plan--feat { background: var(--gold); color: var(--ink); box-shadow: none; }
.plan--feat .plan__name { color: var(--ink); }
.plan--feat .plan__n small, .plan--feat ul { color: rgba(26, 20, 17, .75); }
.plan--feat li::before { color: var(--ink); }
.plan--feat .btn { background: var(--ink); color: var(--ivory); }
.plan--feat .btn::before { background: var(--ivory); }
@media (hover: hover) { .plan--feat .btn:hover { color: var(--ink); } }
.plan__flag { position: absolute; top: 22px; right: 22px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; background: var(--ink); color: var(--gold-2); padding: 6px 12px; border-radius: 999px; }
.price { font-family: var(--serif); font-size: clamp(64px, 6vw, 100px); line-height: .9; }
.price sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; }

/* ---------- reviews ---------- */
.reviews { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 4px var(--pad) 24px; scrollbar-width: none; cursor: grab; }
.reviews::-webkit-scrollbar { display: none; }
.reviews.is-drag { cursor: grabbing; scroll-snap-type: none; }
.review { flex: 0 0 clamp(250px, 24vw, 330px); scroll-snap-align: start; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .55); transition: transform .5s var(--ease); }
.review img { width: 100%; height: auto; pointer-events: none; user-select: none; }
@media (hover: hover) { .review:hover { transform: translateY(-6px) rotate(-.6deg); } }
.ctrl { display: flex; gap: 10px; }
.ctrl button { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-dark); display: grid; place-items: center; transition: background .3s, color .3s; color: var(--ink); }
@media (hover: hover) { .ctrl button:hover { background: var(--ink); color: var(--ivory); } }

/* ---------- videos ---------- */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.yt { position: relative; aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; background: var(--bg-3); cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); transition: transform .8s var(--ease), opacity .4s; opacity: .82; }
@media (hover: hover) { .yt:hover img { transform: scale(1.44); opacity: 1; } }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .6)); pointer-events: none; }
.yt__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; background: rgba(244, 237, 227, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(244, 237, 227, .4); transition: transform .4s var(--ease), background .3s; }
@media (hover: hover) { .yt:hover .yt__play { transform: scale(1.12); background: var(--gold); } }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-on::after { display: none; }

/* ---------- diplomas ---------- */
.diplomas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.diploma { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: #fff; cursor: zoom-in; position: relative; }
.diploma img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.diploma--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.diploma--wide img { object-fit: contain; background: #fbf6e8; }
@media (max-width: 1100px) { .diploma--wide { grid-row: auto; aspect-ratio: 4/3; } .diploma:last-child { grid-column: span 2; aspect-ratio: 8/3; } .diploma:last-child img { object-fit: contain; background: #000; } }
@media (hover: hover) { .diploma:hover img { transform: scale(1.06); } }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 6, 5, .92); display: none; place-items: center; padding: 40px 16px; cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 88vh; max-width: min(1200px, 100%); width: auto; border-radius: 10px; }
.lightbox__x { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; font-size: 24px; }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.partner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 34px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, color .4s; }
@media (hover: hover) { .partner:hover { background: var(--ivory); color: var(--ink); } }
.partner .h3 { font-size: clamp(24px, 2.4vw, 36px); }

/* ---------- CTA / footer ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 15vw, 220px) 0; }
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 25%; opacity: .32; filter: grayscale(.3); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(14, 11, 9, .3), var(--bg)); }
.cta .wrap { position: relative; z-index: 1; }
.cta .display { font-size: clamp(50px, 9vw, 160px); }
.cta__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

.foot { border-top: 1px solid var(--line); padding: 56px 0 30px; font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot h5 { margin: 0 0 14px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: rgba(244, 237, 227, .78); }
.foot__big { font-family: var(--serif); font-size: clamp(60px, 15.5vw, 260px); line-height: .8; letter-spacing: -.02em; text-transform: uppercase; margin-top: 60px; color: transparent; -webkit-text-stroke: 1px rgba(244, 237, 227, .2); white-space: nowrap; text-align: center; }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-top: 30px; }

/* ---------- floating contact ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab__btn { width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .7); transition: transform .4s var(--ease); }
@media (hover: hover) { .fab__btn:hover { transform: scale(1.08); } }
.fab__list { display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.fab.is-open .fab__list { opacity: 1; transform: none; pointer-events: auto; }
.fab__list a { display: flex; align-items: center; gap: 10px; background: var(--ivory); color: var(--ink); padding: 10px 16px 10px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.fab__list svg { width: 20px; height: 20px; }

/* ---------- booking modal ---------- */
.modal { position: fixed; inset: 0; z-index: 250; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(8, 6, 5, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--ivory); color: var(--ink); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal__x { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 20px; color: var(--ink); }
.modal h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 46px); line-height: 1; margin: 10px 0 8px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--muted-dark); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-dark); background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 90px; resize: vertical; }
.modal__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.modal__btns .btn { width: 100%; padding: 0 16px; }
.modal__btns .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-dark); }
.modal__btns .btn--ghost::before { background: var(--ink); }
@media (hover: hover) { .modal__btns .btn--ghost:hover { color: var(--ivory); } }
.modal small { display: block; margin-top: 14px; color: var(--muted-dark); font-size: 12px; }

@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } }

/* ---------- reveal helpers ---------- */
.js .rv { opacity: 0; transform: translateY(40px); }
.no-anim .rv { opacity: 1 !important; transform: none !important; }
.clip { overflow: hidden; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .about, .expr__intro { grid-template-columns: 1fr; }
  .about__badge { right: 16px; }
  .dir { grid-template-columns: 1fr; min-height: 0; position: relative; top: 0 !important; }
  .dir__media { aspect-ratio: 4/3; order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat { padding-bottom: 32px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .diplomas { grid-template-columns: repeat(2, 1fr); }
  .practice { grid-template-columns: repeat(2, 1fr); }
  .practice > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .practice > div { padding-bottom: 28px; }
  .offer { grid-template-columns: 1fr; }
  .offer__media { min-height: 380px; }
  .facts { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .nav__in { height: 70px; }
  .nav .btn--sm { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-left: 0 !important; padding-right: 12px; border-right: 0; }
  .partners { grid-template-columns: 1fr; }
  .help__item { grid-template-columns: 40px 1fr; }
  .help__item .a { display: none; }
  .videos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .yt__play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .diplomas { grid-template-columns: 1fr 1fr; gap: 10px; }
  .practice { grid-template-columns: 1fr; }
  .practice > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .modal__btns { grid-template-columns: 1fr; }
  .expr__places div { grid-template-columns: 96px 1fr; }
  .fab { right: 14px; bottom: 14px; }
  .about__badge { width: 118px; height: 118px; font-size: 14px; bottom: -20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}
