:root{
  --container: 1440px;
  --header-h: 85px;

  /* внутрішні поля контейнера */
  --pad-x: clamp(16px, 4vw, 80px);

  /* NEW gold */
  --gold: #ffcc66;

  /* gold alphas */
  --gold-95: rgba(255,204,102,.95);
  --gold-92: rgba(255,204,102,.92);
  --gold-90: rgba(255,204,102,.90);
  --gold-70: rgba(255,204,102,.70);
  --gold-55: rgba(255,204,102,.55);
  --gold-25: rgba(255,204,102,.25);
  --gold-22: rgba(255,204,102,.22);
  --gold-15: rgba(255,204,102,.15);
  --gold-10: rgba(255,204,102,.10);

  --text: #f2f2f2;
  --muted: rgba(242,242,242,.75);

  /* керовані зсуви моделі */
  --model-shift-x: 0px;
  --model-shift-y: 0px;

  /* щоб модель не була завеликою */
  --model-max-h: calc(100dvh - var(--header-h) - 0px);

  /* шрифти */
  --font-sans: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;

  /* dim overlay strength (~20%) */
  --bg-dim: 0.20;
}

*{ box-sizing: border-box; }
html{ scrollbar-gutter: stable; }

body{
  margin: 0;
  font-family: var(--font-sans);
  background: #000;

  /* WP: скрол має бути на внутрішніх сторінках */
  overflow-x: hidden;
  overflow-y: auto;
}

/* Без скролу тільки на десктопі і тільки на головній */
@media (min-width: 1025px){
  body.home,
  body.front-page{
    overflow: hidden;
  }
}

/* ===== фон на всю ширину (NO INLINE) ===== */
.page{
  min-height: 100dvh;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  position: relative;

  /* ✅ FIX: page = flex column, hero забирає всю висоту під хедером */
  display: flex;
  flex-direction: column;
}

/* фон-картинка з теми (style.css лежить в assets/css/, тому ../images/) */
.page--fon{
  background-image: url("../images/fon.png");
}

/* overlay that makes background darker */
.page::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,var(--bg-dim));
  pointer-events: none;
  z-index: 0;
}

/* Everything inside page above overlay */
.page > *{
  position: relative;
  z-index: 1;
}

/* універсальний контейнер 1440 по центру */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* 100% заливка хедера */
.header-wrap{
  height: var(--header-h);
  background: rgba(10,10,10,.85);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;

  /* ✅ FIX: не даємо хедеру “тягнути” flex */
  flex: 0 0 auto;
}

/* HEADER всередині контейнера */
.header{
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand img{
  height: 78px;
  width: auto;
  max-width: 260px;
  display: block;
}

.nav{
  display: flex;
  align-items: center;
  gap: 26px;
  justify-content: center;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav li{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* NAV links */
.nav a,
.nav li a{
  color: var(--text);
  text-decoration: none;

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;

  opacity: .9;
  padding: 6px 4px;
  position: relative;

  transition: color .18s ease, opacity .18s ease;
}

/* hover: золото */
.nav a:hover,
.nav li a:hover{
  opacity: 1;
  color: var(--gold);
}

/* WP активний пункт меню */
.nav .current-menu-item > a,
.nav .current_page_item > a{
  opacity: 1;
}

/* прибираємо стару "лінію" (якщо була) */
.nav a.active::after{
  content: none;
}

/* індикатор */
.nav a::after,
.nav li a::after{
  content:"";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;

  width: 56px;
  height: 10px;
  border-radius: 999px;

  background: radial-gradient(
    ellipse at center,
    var(--gold) 0%,
    rgba(255,204,102,.55) 35%,
    rgba(255,204,102,0) 72%
  );

  filter: blur(.2px);
  opacity: 0;
  pointer-events: none;

  transition: opacity .18s ease, transform .18s ease;
}

/* показуємо індикатор на hover/active */
.nav a.active::after,
.nav a:hover::after,
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav li a:hover::after{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.header-right{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  min-width: 320px;
  white-space: nowrap;
}

.langs{
  display: flex;
  gap: 10px;

  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;

  color: var(--text);
  opacity: .9;
}
.langs a{
  color: inherit;
  text-decoration: none;
  padding: 4px 2px;
  opacity: .8;
}
.langs a.active{ opacity: 1; }
.langs span{ opacity: .5; }

.btn{
  border: 1px solid var(--gold-90);
  color: var(--text);
  background: transparent;

  padding: 10px 16px;
  border-radius: 2px;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;

  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover{
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-15);
}

/* =========================
   HERO (BASE / DESKTOP GRID)
   ========================= */

.hero-wrap{
  height: calc(100dvh - var(--header-h));

  /* ✅ FIX: hero-wrap бере весь залишок висоти page */
  flex: 1 1 auto;
  min-height: calc(100dvh - var(--header-h));
}

.hero{
  height: 100%;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  gap: clamp(20px, 4vw, 60px);
  min-height: 0;
}

.hero-left{
  text-align: left;
  max-width: 720px;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  position: relative;
}
.hero-left::before{
  content:"";
  position:absolute;
  left: -40px;
  top: -40px;
  width: min(720px, 70vw);
  height: calc(100% + 80px);
  background: radial-gradient(ellipse at left center,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.25) 45%,
    rgba(0,0,0,0) 75%
  );
  pointer-events:none;
  z-index: -1;
}

.kicker{
  color: var(--gold-95) !important;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;

  display: inline-block;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.kicker::after{
  content:"";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 234px;
  height: 1px;
  background: var(--gold-55);
}

.hero h1{
  margin: 0 0 18px;
  color: var(--text);

  font-family: var(--font-serif);
  font-size: clamp(34px, 2.7vw, 56px);
  line-height: 1.06;
  font-weight: 600;

  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.hero p{
  margin: 0 0 26px;
  color: rgba(242,242,242,.72);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  max-width: 520px;

  text-shadow: 0px 2px 4px rgba(0,0,0,0.5);
}

.cta{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn{
  min-width: 176px;
  padding: 12px 16px;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;

  font-family: var(--font-sans);
  border: 1px solid var(--gold-70);
  background: transparent;

  transition: box-shadow .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;

  text-decoration: none;
  display: inline-block;
}

.cta-btn__title{
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.1;
}

.cta-btn__sub{
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  opacity: .9;
}

.cta-btn--dark{
  background: rgba(0,0,0,.35);
  color: var(--gold-95);
}
.cta-btn--dark:hover{
  border-color: var(--gold-95);
  box-shadow: 0 10px 26px rgba(0,0,0,.25), 0 0 0 2px var(--gold-10);
  transform: translateY(-1px);
}

.cta-btn--gold{
  color: #111;
  border-color: var(--gold-90);

  background: linear-gradient(180deg,
    rgba(255,236,180,.95) 0%,
    rgba(255,204,102,.92) 45%,
    rgba(214,160,56,.95) 100%
  );

  box-shadow:
    0 10px 22px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.35);

  position: relative;
  overflow: hidden;
}
.cta-btn--gold::before{
  content:"";
  position:absolute;
  left: 10%;
  top: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at top,
    rgba(255,255,255,.35) 0%,
    rgba(255,255,255,0) 60%
  );
  transform: rotate(-8deg);
  pointer-events:none;
}
.cta-btn--gold:hover{
  box-shadow:
    0 14px 30px rgba(0,0,0,.35),
    0 10px 24px rgba(255,204,102,.18),
    inset 0 1px 0 rgba(255,255,255,.40);
  transform: translateY(-1px);
}

.btn-primary{
  background: var(--gold-95);
  color: #111;
  border-color: var(--gold-95);
  font-weight: 600;
}
.btn-primary:hover{
  box-shadow: 0 8px 22px var(--gold-25);
}

.hero-right{
  display: flex;
  justify-content: flex-end;
  align-items: stretch; /* ✅ FIX: правий блок тягнемо по висоті */
  min-height: 0;
  overflow: visible;

  position: relative;
}

/* ⚠️ базове правило для img у hero-right залишаємо,
   але воно НЕ має ламати .hero-model (нижче ми переб’ємо) */
.hero-right img{
  display: block;
  width: auto;

  height: auto;
  max-height: var(--model-max-h);
  max-width: 100%;

  object-fit: contain;
  object-position: right bottom;

  transform: translate(var(--model-shift-x), var(--model-shift-y));
}

/* =====================
   MOBILE MENU (drawer)
   ===================== */

.burger{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-90);
  background: rgba(0,0,0,.20);
  border-radius: 2px;
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span{
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  opacity: .9;
}

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}
.mobile-menu__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 0;
}
.mobile-menu__panel{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 88vw);
  background: rgba(10,10,10,.92);
  border-left: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  transform: translateX(100%);
  transition: transform .22s ease;
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}

.mobile-menu__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu__title{
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-95);
}
.mobile-menu__close{
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2);
  color: var(--text);
  border-radius: 2px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}
.mobile-nav a{
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 10px;
  border-radius: 2px;
  background: rgba(255,255,255,.04);
}
.mobile-nav a:hover{
  color: var(--gold);
  background: rgba(255,204,102,.08);
}
.mobile-nav .current-menu-item > a,
.mobile-nav .current_page_item > a{
  color: var(--gold);
  border: 1px solid var(--gold-70);
  background: rgba(255,204,102,.06);
}

.mobile-langs{
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  opacity: .9;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .08em;
}
.mobile-langs a{
  color: inherit;
  text-decoration: none;
  opacity: .8;
  padding: 6px 2px;
}
.mobile-langs a.active{ opacity: 1; }
.mobile-langs span{ opacity: .5; }

.btn--mobile-apply{
  margin-top: auto;
  width: 100%;
  padding: 12px 16px;
}

/* open state */
body.is-menu-open{ overflow: hidden; }
body.is-menu-open .mobile-menu{ pointer-events: auto; }
body.is-menu-open .mobile-menu__backdrop{ opacity: 1; }
body.is-menu-open .mobile-menu__panel{ transform: translateX(0); }

/* =========================================================
   MOBILE (<= 1024px) — HERO LAYOUT + VARIANT A (FULL HEAD)
   ========================================================= */

@media (max-width: 1024px){
  .burger{ display: inline-flex; }
  .nav--desktop{ display: none; }
  .langs--desktop{ display: none; }
  .btn--desktop{ display: none; }

  :root{ --header-h: 72px; }
  .brand img{ height: 58px; }
  .header{ grid-template-columns: 1fr auto; }
  .header-right{ min-width: unset; }

  .hero-wrap{
    height: auto;
    min-height: calc(100dvh - var(--header-h));
    padding-block: 14px 26px;
  }

  .hero{
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 16px;
  }

  .hero-right{
    order: 1;
    justify-content: center;
    align-items: flex-end;
  }

  .hero-left{
    order: 2;
    justify-content: flex-start;
    max-width: 100%;
    padding-top: 0;
  }
  .hero-left::before{ display: none; }

  .kicker{ margin-bottom: 14px; }
  .kicker::after{ width: 190px; }

  .hero h1{
    font-size: clamp(28px, 7.2vw, 42px);
    line-height: 1.06;
    margin-bottom: 14px;
  }

  .hero p,
  .hero-desc{
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
    max-width: 40ch;
  }

  .cta{
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .cta-btn{
    width: 100%;
    min-width: unset;
  }

  .hero-models{
    position: relative;
    width: 100;

    height: clamp(440px, 58vh, 560px);
    padding-top: 22px;
    padding-bottom: 12px;

    overflow: hidden;
  }

  .hero-models::before{ display:none; }

  .hero-models::after{
    content:"";
    position:absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(520px, 88%);
    height: 1px;
    background: linear-gradient(
      to right,
      rgba(255,204,102,0),
      var(--gold-55),
      rgba(255,204,102,0)
    );
    opacity: .95;
    pointer-events:none;
  }

  .hero-models .hero-model{
    position: absolute;
    left: 50%;
    bottom: 0;

    height: calc(100% - 22px);
    max-height: calc(100% - 22px);
    width: auto;

    transform: translateX(-50%);

    object-fit: contain;
    object-position: center bottom;

    pointer-events: none;
    user-select: none;
  }
}

@media (max-width: 480px){
  .hero-models{
    height: clamp(420px, 56vh, 520px);
    padding-top: 20px;
  }
  .hero-models .hero-model{
    height: calc(100% - 20px);
    max-height: calc(100% - 20px);
  }

  .kicker{ font-size: 11px; letter-spacing: .24em; }
}

/* підстраховка: на мобільному не показуємо неактивні і прибираємо fade */
@media (max-width: 1024px){
  .hero-models .hero-model{
    transition: none !important;
  }
  .hero-models .hero-model:not(.is-active){
    display: none;
  }
}

/* =========================
   ABOUT PAGE (v2)
   ========================= */

.about2-wrap{ padding: 26px 0 60px; }
.about2{ color: var(--text); }

.about2-top{
  text-align: center;
  padding: 30px 0 20px;
}

.about2-title{
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 3.4vw, 64px);
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.about2-subtitle{
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-95);
  margin: 0 0 10px;
}

.about2-glow{
  width: 120px;
  height: 12px;
  margin: 0 auto;
  border-radius: 999px;
  background: radial-gradient(ellipse at center,
    var(--gold) 0%,
    rgba(255,204,102,.55) 35%,
    rgba(255,204,102,0) 72%
  );
}

.about2-frame{
  position: relative;
  margin-top: 22px;
  padding: 28px 28px 0 0;

  border-left: 1px solid var(--gold-25);
  border-bottom: 1px solid var(--gold-25);
  box-shadow: none;
}

.about2-frame::before{
  content:"";
  position:absolute;
  left: 0;
  top: 0;
  width: clamp(520px, 40%, 780px);
  height: 1px;
  background: var(--gold-25);
  pointer-events: none;
}
.about2-frame::after{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
}

.about2-founder{
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
}

.about2-photo{
  margin-left: 0;
  align-self: end;
}

/* PHOTO FRAME: ONLY LINE (без овалу) */
.about2-photoFrame{
  position: relative;
  border: 0;
  background: transparent;
}
.about2-photoFrame::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(420px, 92%);
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255,204,102,0),
    var(--gold-55),
    rgba(255,204,102,0)
  );
  opacity: .95;
  pointer-events:none;
  z-index: 2;
}

.about2-photoFrame img{
  display:block;
  height: auto;
  max-height: clamp(460px, 65vh, 560px);
  object-fit: contain;
  margin: 0;
  position: relative;
  z-index: 1;
}

.about2-content{ padding-right: 4px; }

.about2-h2{
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.2vw, 36px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.about2-content p{
  margin: 0 0 12px;
  color: rgba(242,242,242,.78);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.about2-bullets{
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: grid;
  gap: 10px;
}
.about2-bullets li{
  position: relative;
  padding-left: 22px;
  color: rgba(242,242,242,.78);
  font-size: 14px;
  line-height: 1.5;
}
.about2-bullets li::before{
  content:"◆";
  position:absolute;
  left: 0;
  top: 0;
  color: var(--gold-95);
  font-size: 12px;
  line-height: 1.6;
}

.about2-cards3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.about2-cards4{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.about2-miniCard{
  border: 1px solid var(--gold-25);
  background: transparent;
  backdrop-filter: none;
  padding: 16px 14px;
  text-align: center;
}
.about2-miniIcon{
  font-size: 22px;
  margin-bottom: 10px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
}
.about2-miniTitle{
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--gold-95);
  margin-bottom: 6px;
}
.about2-miniText{
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(242,242,242,.72);
  line-height: 1.5;
}

.about2-approach{
  text-align: center;
  margin-top: 34px;
  padding-top: 14px;
}

.about2-title2{
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.0vw, 56px);
  font-weight: 600;
  color: var(--gold-70);
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.about2-lead2{
  margin: 0 auto;
  max-width: 880px;
  color: rgba(242,242,242,.76);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

@media (max-width: 1024px){
  .about2-frame{ padding: 18px 16px 18px 16px; }
  .about2-frame::before{ width: 72%; }
  .about2-founder{ grid-template-columns: 1fr; }
  .about2-photo{ align-self: start; }

  .about2-photoFrame{
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* ✅ садимо до низу */
  }

  .about2-photoFrame::after{
    width: min(520px, 88%);
  }

  .about2-photoFrame img{
    width: min(340px, 86vw);
    max-height: 46vh;
    margin: 0 auto;
  }

  .about2-cards3{ grid-template-columns: 1fr; }
  .about2-cards4{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px){
  .about2-cards4{ grid-template-columns: 1fr; }
  .about2-frame::before{ width: 86%; }
}

/* =========================
   APPLY PAGE
   ========================= */

.apply-wrap{ padding: 26px 0 70px; }
.apply{ color: var(--text); }

.apply-top{
  text-align: center;
  padding: 30px 0 18px;
}

.apply-title{
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 3.4vw, 64px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.apply-lead{
  margin: 0 auto 10px;
  max-width: 70ch;
  color: rgba(242,242,242,.78);
  font-size: 14px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.apply-glow{
  width: 120px;
  height: 12px;
  margin: 0 auto;
  border-radius: 999px;
  background: radial-gradient(ellipse at center,
    var(--gold) 0%,
    rgba(255,204,102,.55) 35%,
    rgba(255,204,102,0) 72%
  );
}

.apply-alert{
  margin: 14px auto 18px;
  max-width: 860px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
  padding: 12px 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.apply-alert--ok{ border-color: rgba(255,204,102,.25); }
.apply-alert--err{ border-color: rgba(255,120,120,.35); }

.apply-frame{
  margin: 18px auto 0;
  max-width: 980px;
  border-left: 1px solid var(--gold-25);
  border-bottom: 1px solid var(--gold-25);
  padding: 26px 26px 26px 26px;
  background: rgba(0,0,0,.18);
}

.apply-form{ margin: 0; }

.apply-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.apply-field{ display: block; }

.apply-label{
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(242,242,242,.78);
}

.apply-input,
.apply-textarea{
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  color: var(--text);
  border-radius: 2px;
  padding: 12px 12px;
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
}

.apply-input:focus,
.apply-textarea:focus{
  border-color: var(--gold-55);
  box-shadow: 0 0 0 2px rgba(255,204,102,.10);
}

.apply-fieldset{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  padding: 12px 12px 10px;
  margin: 0 0 14px;
}

.apply-checks{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.apply-check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  cursor: pointer;
}

.apply-check input{ accent-color: #ffcc66; }

.apply-bottom{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}

.apply-submit{ width: 100%; }

.apply-note{
  margin: 0;
  color: rgba(242,242,242,.70);
  font-size: 12px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* honeypot hidden */
.apply-hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* APPLY extras: file + previews + consent */
.apply-hint{
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(242,242,242,.60);
}

.apply-note2{
  margin: 8px 0 12px;
  color: rgba(242,242,242,.70);
  font-size: 12px;
  line-height: 1.6;
}

.apply-fileInput{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.apply-fileBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--gold-90);
  color: var(--text);
  background: rgba(0,0,0,.25);
  padding: 10px 16px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}
.apply-fileBtn:hover{
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-15);
}

.apply-fileMeta{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: rgba(242,242,242,.70);
  font-size: 12px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.apply-previews{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.apply-preview{
  border: 1px solid rgba(255,204,102,.18);
  background: rgba(0,0,0,.18);
  padding: 8px;
  border-radius: 2px;
  overflow: hidden;
}

.apply-preview img{
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,.08);
}

.apply-previewMeta{
  margin-top: 6px;
  font-size: 11px;
  color: rgba(242,242,242,.65);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apply-consent{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(242,242,242,.78);
  font-size: 13px;
  line-height: 1.6;
}
.apply-consent input{
  margin-top: 3px;
  accent-color: #ffcc66;
}

.apply-submit:disabled{
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 1024px){
  .apply-frame{ padding: 18px 16px; }
  .apply-grid{ grid-template-columns: 1fr; }
  .apply-bottom{ grid-template-columns: 1fr; }
  .apply-previews{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .apply-previews{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-preview img{ height: 100px; }
}

/* =========================
   APPLY REQUEST (General)
   ========================= */

.applyreq-wrap{ padding: 26px 0 70px; }
.applyreq{ color: var(--text); }

.applyreq-top{
  text-align: center;
  padding: 30px 0 18px;
}

.applyreq-title{
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 3.4vw, 64px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.applyreq-lead{
  margin: 0 auto 10px;
  max-width: 70ch;
  color: rgba(242,242,242,.78);
  font-size: 14px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.applyreq-glow{
  width: 120px;
  height: 12px;
  margin: 0 auto;
  border-radius: 999px;
  background: radial-gradient(ellipse at center,
    var(--gold) 0%,
    rgba(255,204,102,.55) 35%,
    rgba(255,204,102,0) 72%
  );
}

.applyreq-alert{
  margin: 14px auto 18px;
  max-width: 860px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
  padding: 12px 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.applyreq-alert--ok{ border-color: rgba(255,204,102,.25); }
.applyreq-alert--err{ border-color: rgba(255,120,120,.35); }

.applyreq-frame{
  margin: 18px auto 0;
  max-width: 980px;
  border-left: 1px solid var(--gold-25);
  border-bottom: 1px solid var(--gold-25);
  padding: 26px;
  background: rgba(0,0,0,.18);
}

.applyreq-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.applyreq-field{ display:block; }

.applyreq-label{
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(242,242,242,.78);
}

.applyreq-input,
.applyreq-textarea{
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  color: var(--text);
  border-radius: 2px;
  padding: 12px 12px;
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
}

.applyreq-input:focus,
.applyreq-textarea:focus{
  border-color: var(--gold-55);
  box-shadow: 0 0 0 2px rgba(255,204,102,.10);
}

.applyreq-hint{
  display:block;
  margin-top: 6px;
  color: rgba(242,242,242,.60);
  font-size: 12px;
}

.applyreq-fieldset{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  padding: 12px 12px 10px;
  margin: 0;
  border-radius: 2px;
  grid-column: 1 / -1;
}

.applyreq-radio{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  cursor: pointer;
}
.applyreq-radio input{ accent-color: #ffcc66; }

.applyreq-consent{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding: 10px 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.applyreq-consent input{
  margin-top: 4px;
  accent-color: #ffcc66;
}
.applyreq-consent span{
  color: rgba(242,242,242,.78);
  font-size: 12.5px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.applyreq-bottom{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}

.applyreq-note{
  margin: 0;
  color: rgba(242,242,242,.70);
  font-size: 12px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.applyreq-submit{ width: 100%; }
.applyreq-submit:disabled{ opacity: .55; cursor: not-allowed; }

.applyreq-hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1024px){
  .applyreq-frame{ padding: 18px 16px; }
  .applyreq-grid{ grid-template-columns: 1fr; }
  .applyreq-bottom{ grid-template-columns: 1fr; }
}

/* =========================
   MODELS PAGE — "Для моделей"
   ========================= */

.models-wrap{ padding: 26px 0 70px; }
.models{ color: var(--text); }

/* top */
.models-top{
  text-align: center;
  padding: 30px 0 14px;
}
.models-title{
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 3.4vw, 64px);
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.models-subtitle{
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(242,242,242,.70);
  margin: 0 0 10px;
}
.models-glow{
  width: 120px;
  height: 12px;
  margin: 0 auto;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, var(--gold) 0%, rgba(255,204,102,.55) 35%, rgba(255,204,102,0) 72%);
}

/* lead */
.models-lead p{
  margin: 0 auto;
  max-width: 980px;
  color: rgba(242,242,242,.78);
  font-size: 14px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

/* section spacing */
.models-section{ margin-top: 34px; }

/* centered title with side lines */
.models-h2line{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 18px;
}
.models-h2line__line{
  height: 1px;
  flex: 1 1 auto;
  max-width: 420px;
  background: linear-gradient(to right, rgba(255,204,102,0), var(--gold-25), rgba(255,204,102,0));
}
.models-h2{
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(30px, 2.6vw, 44px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  white-space: nowrap;
}

/* OUTER framed block */
.models-frameBox{
  position: relative;
  border: 1px solid var(--gold-25);
  padding: 22px 22px 18px;
  background: transparent;
  backdrop-filter: none;
}
.models-frameBox::before,
.models-frameBox::after{
  content:"";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 60%);
  height: 2px;
  background: radial-gradient(ellipse at center, rgba(255,204,102,.70) 0%, rgba(255,204,102,0) 70%);
  pointer-events: none;
  opacity: .55;
}
.models-frameBox::before{ top: -1px; }
.models-frameBox::after{ bottom: -1px; }

/* 4 steps */
.models-steps4{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

/* STEP CARD — NO FILL */
.models-step{
  border: 1px solid rgba(255,204,102,.18);
  background: transparent;
  backdrop-filter: none;
  padding: 18px 16px 16px;
  text-align: center;
}
.models-stepIcon{
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  color: var(--gold-70);
  opacity: .95;
}
.models-stepIcon svg{ width: 100%; height: 100%; display: block; }
.models-stepTitle{
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-70);
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.models-stepText{
  margin: 0 auto;
  max-width: 28ch;
  color: rgba(242,242,242,.72);
  font-size: 14px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* TERMS box */
.models-termsBox{
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--gold-25);
  padding: 22px 18px 18px;
  text-align: center;
  background: transparent;
  backdrop-filter: none;
}
.models-termsBox::before,
.models-termsBox::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 55%);
  height: 2px;
  background: radial-gradient(ellipse at center, rgba(255,204,102,.70) 0%, rgba(255,204,102,0) 70%);
  opacity: .55;
  pointer-events: none;
}
.models-termsBox::before{ top: -1px; }
.models-termsBox::after{ bottom: -1px; }

.models-termsList{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
  justify-content: center;
}
.models-termsList li{
  position: relative;
  padding-left: 22px;
  text-align: left;
  color: rgba(242,242,242,.78);
  font-size: 16px;
  line-height: 1.55;
}
.models-termsList li::before{
  content:"◆";
  position:absolute;
  left: 0;
  top: 0;
  color: var(--gold-70);
  font-size: 12px;
  line-height: 1.8;
}
.models-termsNote{
  margin: 0;
  color: rgba(242,242,242,.70);
  font-size: 14px;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* COMFORT mini cards */
.models-comfort4{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.models-mini{
  border: 1px solid var(--gold-25);
  background: transparent;
  backdrop-filter: none;
  padding: 18px 14px 16px;
  text-align: center;
}
.models-miniTitle{
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  color: rgba(242,242,242,.88);
}
.models-miniText{
  margin: 0 auto;
  max-width: 26ch;
  color: rgba(242,242,242,.64);
  font-size: 12px;
  line-height: 1.6;
}

/* APPLY CTA */
.models-applyBox{
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--gold-25);
  padding: 22px 18px;
  text-align: center;
  background: transparent;
  backdrop-filter: none;
}
.models-applyText{
  margin: 0 0 14px;
  color: rgba(242,242,242,.78);
  font-size: 14px;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.models-applyBtn{
  border: 1px solid var(--gold-90);
  color: var(--text);
  background: transparent;
  padding: 10px 18px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.models-applyBtn:hover{
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-15);
}

@media (max-width: 1024px){
  .models-steps4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models-comfort4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models-frameBox{ padding: 18px 16px 16px; }
}
@media (max-width: 560px){
  .models-steps4{ grid-template-columns: 1fr; }
  .models-comfort4{ grid-template-columns: 1fr; }
  .models-stepText{ max-width: 42ch; }
}

/* =========================
   SCOUTS PAGE — "Скаутам"
   ========================= */

.scouts-wrap{ padding: 26px 0 70px; }
.scouts{ color: var(--text); }

.scouts-top{
  text-align: center;
  padding: 30px 0 14px;
}
.scouts-title{
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 3.4vw, 64px);
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.scouts-subtitle{
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(242,242,242,.70);
  margin: 0 0 10px;
}
.scouts-glow{
  width: 120px;
  height: 12px;
  margin: 0 auto;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, var(--gold) 0%, rgba(255,204,102,.55) 35%, rgba(255,204,102,0) 72%);
}

.scouts-lead p{
  margin: 12px auto 0;
  max-width: 980px;
  color: rgba(242,242,242,.78);
  font-size: 14px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.scouts-section{ margin-top: 34px; }

.scouts-h2line{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 18px;
}
.scouts-h2line__line{
  height: 1px;
  flex: 1 1 auto;
  max-width: 420px;
  background: linear-gradient(to right, rgba(255,204,102,0), var(--gold-25), rgba(255,204,102,0));
}
.scouts-h2{
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(30px, 2.6vw, 44px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  white-space: nowrap;
}

.scouts-block,
.scouts-growthBox,
.scouts-contactBox{
  position: relative;
  border: 1px solid var(--gold-25);
  background: transparent;
  padding: 22px 22px 18px;
}

.scouts-block::before,
.scouts-block::after,
.scouts-growthBox::before,
.scouts-growthBox::after,
.scouts-contactBox::before,
.scouts-contactBox::after{
  content:"";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 60%);
  height: 2px;
  background: radial-gradient(ellipse at center, rgba(255,204,102,.70) 0%, rgba(255,204,102,0) 70%);
  pointer-events: none;
  opacity: .55;
}
.scouts-block::before,
.scouts-growthBox::before,
.scouts-contactBox::before{ top: -1px; }
.scouts-block::after,
.scouts-growthBox::after,
.scouts-contactBox::after{ bottom: -1px; }

.scouts-text{
  margin: 0 0 12px;
  color: rgba(242,242,242,.78);
  font-size: 14px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.scouts-text--accent{ color: rgba(255,204,102,.78); }

.scouts-points{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.scouts-point{
  border: 1px solid rgba(255,204,102,.18);
  padding: 14px 14px 12px;
  background: transparent;
}
.scouts-point__k{
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-70);
  margin-bottom: 10px;
}
.scouts-point__v{
  color: rgba(242,242,242,.76);
  font-size: 14px;
  line-height: 1.6;
}

.scouts-cards{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.scouts-card{
  border: 1px solid rgba(255,204,102,.18);
  padding: 18px 16px 16px;
  background: transparent;
}
.scouts-card__icon{
  color: var(--gold-70);
  margin-bottom: 10px;
  font-size: 14px;
}
.scouts-card__title{
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-70);
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.scouts-card__text{
  margin: 0;
  color: rgba(242,242,242,.72);
  font-size: 14px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.scouts-growthBox{ text-align: center; }
.scouts-growthTitle{
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.0vw, 30px);
  font-weight: 600;
  color: rgba(255,204,102,.85);
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.scouts-growthText{
  margin: 0 auto;
  max-width: 980px;
  color: rgba(242,242,242,.78);
  font-size: 14px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.scouts-contactBox{ text-align: center; }
.scouts-contactText{
  margin: 0 0 14px;
  color: rgba(242,242,242,.78);
  font-size: 14px;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.scouts-contactBtns{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.scouts-contactBtn{
  border: 1px solid var(--gold-90);
  color: var(--text);
  background: transparent;
  padding: 12px 16px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 240px;
}
.scouts-contactBtn:hover{
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-15);
}
.scouts-contactNote{
  margin-top: 12px;
  color: rgba(242,242,242,.65);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1024px){
  .scouts-block,
  .scouts-growthBox,
  .scouts-contactBox{
    padding: 18px 16px 16px;
  }
  .scouts-points{ grid-template-columns: 1fr; }
  .scouts-cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .scouts-cards{ grid-template-columns: 1fr; }
  .scouts-contactBtn{ min-width: 100%; width: 100%; }
}

/* =========================
   MOND MODAL
   ========================= */

.mond-modal{
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}
.mond-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  opacity: 0;
  transition: opacity .18s ease;
}
.mond-modal__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.98);
  width: min(560px, calc(100vw - 32px));
  background: rgba(10,10,10,.94);
  border: 1px solid rgba(255,204,102,.22);
  backdrop-filter: blur(12px);
  border-radius: 6px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  color: var(--text);
}
.mond-modal__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mond-modal__title{
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-95);
}
.mond-modal__close{
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2);
  color: var(--text);
  border-radius: 2px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.mond-modal__body{
  padding: 14px 14px 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(242,242,242,.82);
}
.mond-modal__body strong{ color: #fff; }
.mond-modal__bottom{
  padding: 12px 14px 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.mond-modal__btn{ min-width: 110px; }

.mond-modal--ok .mond-modal__panel{ border-color: rgba(255,204,102,.30); }
.mond-modal--err .mond-modal__panel{ border-color: rgba(255,120,120,.35); }

body.is-modal-open{ overflow: hidden; }
body.is-modal-open .mond-modal{ pointer-events: auto; }
body.is-modal-open .mond-modal__backdrop{ opacity: 1; }
body.is-modal-open .mond-modal__panel{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* =========================================
   HERO MODELS FADE (DESKTOP ONLY) — ✅ FIXED
   ========================================= */
@media (min-width: 1025px){
  .hero-models{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;  /* ✅ FIX: прибрали 710px, щоб не ламало масштаб */
  }

  .hero-models .hero-model{
    position: absolute;
    right: 0;
    bottom: 0;

    /* ✅ FIX: модель завжди “в підлогу” контейнера */
    height: 100%;
    max-height: 100%;
    width: auto;
    max-width: none;

    object-fit: contain;
    object-position: right bottom;

    /* ✅ FIX: перебити базове .hero-right img (яке могло стискати) */
    transform: translate(var(--model-shift-x), var(--model-shift-y)) !important;

    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    pointer-events: none;
    user-select: none;
  }

  .hero-models .hero-model.is-active{
    opacity: 1;
  }
}


/* =========================================================
   DESKTOP HERO FIX (ensures hero fills viewport and model sits on bottom)
   Place at VERY END of style.css
   ========================================================= */
@media (min-width: 1025px){
  /* hero-wrap defines the viewport area under the header */
  .hero-wrap{
    height: calc(100dvh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
  }

  /* critical: 100% height chain so .hero{height:100%} actually works */
  .hero-wrap > .container{
    height: 100%;
  }

  .hero{
    height: 100%;
    min-height: 100%;
    align-items: stretch;
  }

  /* keep text vertically centered, but DO NOT push it under the header */
  .hero-left{
    justify-content: center;
    padding-top: 0 !important;
  }

  /* right column must stretch to hero height */
  .hero-right{
    align-items: stretch;
  }

  /* model box takes full column height; allow head not to be clipped */
  .hero-models{
    height: 100%;
    overflow: visible;
  }

  .hero-models .hero-model{
    height: 100%;
    max-height: 100%;
    width: auto;
    max-width: none;
    right: 0;
    bottom: 0;
    object-position: right bottom;
  }
}
