:root{
  --hero: url("/assets/img/hero-bg.webp");
  --guest: url("/assets/img/landing/block-guest.png");
  --staff: url("/assets/img/landing/block-staff.png");
  --owner: url("/assets/img/landing/block-owner.png");

  --ink:#111827;
  --muted:#6b7280;
  --paper:#ffffff;
  --soft:#f6f7f9;

  --accent:#0b3a66;
  --gold:#f3c15f;

  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.10);
  --container:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
code{font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}

.skip-link{
  position:absolute;left:-9999px;top:auto;
  width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  left:16px;top:16px;width:auto;height:auto;
  background:#fff;padding:10px 12px;border-radius:10px;
  box-shadow:var(--shadow);z-index:9999;
}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

/* Topbar */
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(17,24,39,.08);
}
.topbar__inner{
  display:flex;align-items:center;gap:16px;
  padding:12px 0;
}
.brand{display:flex;align-items:center;gap:10px;font-weight:800}
.brand__mark{
  width:18px;height:18px;border-radius:6px;
  background:linear-gradient(135deg,var(--accent),#0e5aa0);
  position:relative;
}
.brand__mark::after{
  content:"";position:absolute;left:3px;top:3px;right:3px;bottom:3px;
  border-radius:4px;background:rgba(255,255,255,.35);
}
.nav-toggle{
  margin-left:auto;
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:12px;
  border:1px solid rgba(17,24,39,.12);
  background:#fff;
}
.nav{
  display:none;
  align-items:center;gap:14px;
}
.nav a{padding:10px 10px;border-radius:12px;color:#111827}
.nav a:hover{background:rgba(11,58,102,.06)}
.nav__cta{
  background:var(--accent);
  color:#fff !important;
  padding:10px 14px !important;
}
.nav--open{display:flex;flex-wrap:wrap}
@media (min-width: 960px){
  .nav-toggle{display:none}
  .nav{display:flex;margin-left:auto}
}

/* Sections */
.section{padding:56px 0}
.section--alt{background:var(--soft)}
h1,h2,h3{margin:0 0 10px}
h1{font-size:clamp(28px,3.2vw,44px);letter-spacing:-.02em}
h2{font-size:clamp(22px,2.2vw,32px);letter-spacing:-.02em}
h3{font-size:18px}
.lead{max-width:760px;color:rgba(255,255,255,.90);font-size:clamp(16px,1.2vw,18px)}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;
  padding:12px 16px;border-radius:14px;
  border:1px solid rgba(17,24,39,.14);
  background:#fff;
  font-weight:700;
}
.btn--primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}
.btn--ghost{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.35);
  color:#fff;
}
.btn--small{padding:10px 12px;border-radius:12px}
.btn--full{width:100%}

/* HERO */
.hero{
  position:relative;
  min-height:72vh;
  display:flex;align-items:center;
  overflow:hidden;
}
.hero__bg{
  position:absolute;inset:0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.32) 55%, rgba(0,0,0,.14) 100%),
    var(--hero);
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
}
.hero__content{
  position:relative;
  color:#fff;
  padding:64px 0;
}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 16px}
.hero__points{
  list-style:none;padding:0;margin:18px 0 0;
  display:grid;gap:8px;max-width:560px;
  color:rgba(255,255,255,.88);
}
.hero__points li{padding-left:18px;position:relative}
.hero__points li::before{
  content:"";position:absolute;left:0;top:.6em;
  width:8px;height:8px;border-radius:99px;background:var(--gold);
}

/* Grids & cards */
.grid3{display:grid;gap:14px}
@media (min-width: 900px){.grid3{grid-template-columns:repeat(3,1fr)}}

.grid2{display:grid;gap:14px}
@media (min-width: 900px){.grid2{grid-template-columns:1fr 1fr}}

.card{
  background:#fff;border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  border:1px solid rgba(17,24,39,.06);
}
.card--tight{padding:16px}

/* Steps */
.steps{
  list-style:none;padding:0;margin:18px 0 0;
  display:grid;gap:14px;
}
.steps li{
  display:flex;gap:14px;align-items:flex-start;
  background:#fff;border-radius:var(--radius);
  padding:16px;
  border:1px solid rgba(17,24,39,.06);
  box-shadow:var(--shadow);
}
.steps__num{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(11,58,102,.10);
  color:var(--accent);font-weight:900;
  flex:0 0 auto;
}

/* 3 background panels */
.cards3{padding:56px 0;background:#fff}
.cards3__grid{display:grid;gap:14px}
@media (min-width: 900px){.cards3__grid{grid-template-columns:repeat(3,1fr)}}

.panel{
  min-height:420px;
  border-radius:var(--radius);
  overflow:hidden;
  position:relative;
  box-shadow:0 20px 50px rgba(0,0,0,.18);
  border:1px solid rgba(17,24,39,.08);
  background-size:cover;
  background-position:center;
}
.panel--guest{background-image:var(--guest)}
.panel--staff{background-image:var(--staff)}
.panel--owner{background-image:var(--owner)}

.panel__overlay{
  position:absolute;inset:auto 0 0 0;
  padding:16px;
  color:#fff;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.62) 40%, rgba(0,0,0,.74) 100%);
}
.panel__overlay p{margin:0 0 10px;color:rgba(255,255,255,.92)}
.panel__overlay ul{margin:0 0 12px;padding-left:18px;color:rgba(255,255,255,.92)}
.panel__overlay h3{margin:0 0 6px}

/* Bullets */
.bullets{
  margin:18px 0 0;
  display:grid;gap:10px;
  padding-left:18px;
}
@media (min-width: 900px){.bullets{grid-template-columns:repeat(2,1fr)}}
.muted{color:var(--muted);margin:0 0 14px}

/* Video */
.video{
  background:#fff;border-radius:var(--radius);
  border:1px solid rgba(17,24,39,.06);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.video video{width:100%;height:auto;display:block}

/* Badges */
.badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.badge{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 10px;border-radius:999px;
  background:#fff;border:1px solid rgba(17,24,39,.10);
  font-weight:700;color:#1f2937;
}

/* CTA */
.cta{
  position:relative;
  padding:64px 0;
  overflow:hidden;
}
.cta__bg{
  position:absolute;inset:0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.72) 55%, rgba(255,255,255,.60) 100%),
    var(--owner);
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
}
.cta__inner{
  position:relative;
  display:grid;gap:16px;
  align-items:start;
}
@media (min-width: 900px){.cta__inner{grid-template-columns: 1.1fr .9fr}}
.cta__text p{color:rgba(17,24,39,.78);max-width:560px}

/* Form */
.form{
  background:#fff;border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid rgba(17,24,39,.06);
  padding:16px;
}
.form__grid{
  display:grid;gap:12px;
  grid-template-columns:1fr;
}
@media (min-width: 520px){
  .form__grid{grid-template-columns:1fr 1fr}
  .span2{grid-column:1 / -1}
}
label span{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
input{
  width:100%;min-height:44px;
  border-radius:12px;
  border:1px solid rgba(17,24,39,.14);
  padding:10px 12px;
  font-size:15px;
}
input:focus{outline:2px solid rgba(11,58,102,.20);border-color:rgba(11,58,102,.45)}
.form__note{margin:10px 0 0;color:var(--muted);font-size:13px}

/* Footer */
.footer{
  padding:20px 0;
  border-top:1px solid rgba(17,24,39,.08);
  background:#fff;
}
.footer__inner{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.footer__nav{display:flex;gap:14px;flex-wrap:wrap}
.footer__nav a{color:rgba(17,24,39,.72)}
.footer__nav a:hover{color:var(--accent)}








/* HAP OVERRIDE HERO START */
/* 📱 Телефон: цельная картинка на белом фоне, без обрезки, оба персонажа полностью */
@media (max-width: 760px){

  .hero{ background:#fff !important; }

  .hero__bg{
    position:absolute !important;
    top:0 !important;
    bottom:0 !important;

    left:50% !important;
    width:100vw !important;
    margin-left:-50vw !important;

    right:auto !important;
    height:100% !important;

    transform:none !important;

    background-size: cover, contain !important;
    background-position: center center, center center !important;
    background-repeat: no-repeat, no-repeat !important;

    background-color:#fff !important;

    filter:none !important;
  }

  .hero{ min-height: 64vh !important; }

  .hero__content{
    position:relative;
    background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.18) 60%, rgba(0,0,0,0)) !important;
  }

  .hero__content .wrap{
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 420px){
  .hero{ min-height: 70vh !important; }
}
/* HAP OVERRIDE HERO END *//* HAP MOBILE FIX START */
/* ?? ???????: ??????? ????????? ?????? ?? ???????? ? hero.
   ?????: ???????? (???) ????????, ??????? ????????. */
@media (max-width: 760px){

  /* 1) ?????: ??????? ???-????????, ????? ?? ???? ?????????? ? ????????/????????????????? */
  .hero,
  .hero-section,
  .hero-wrap,
  .hero__bg,
  .hero-bg{
    background-image: var(--hero) !important;
    background: none !important;
    min-height: auto !important;
    height: auto !important;
  }

  /* 2) ??????? ? ?????  ? ?????????? ??????, ??? ?????????? ??????? */
  .hero *{
    position: static !important;
    transform: none !important;
  }

  /* 3) ?????? ?????????? ???????, ????? ????? ?? ??????? */
  .hero,
  .hero-section{
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  /* 4) ???? ? ??? ???? ?????????/?????????? ????  ???? ????????? */
  .hero .container,
  .hero-section .container,
  .hero .inner,
  .hero-section .inner{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 5) ?????????? ???????? hero ????????? ?????? ????? ?????????????.
        ????? ?? ?? ????????, ??? ? --hero */
  .hero::before,
  .hero-section::before{
    content: "";
    display: block;
    width: 100%;
    height: 220px;              /* ????? ????? ?????????? */
    border-radius: 16px;
    background-image: var(--hero);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;   /* ?????: ?? ???????? */
    background-color: #ffffff;
    margin: 0 auto 14px auto;
  }

  /* 6) ?????????/?????  ???? ??????????, ?? ??????? */
  .hero h1,
  .hero-section h1{
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin: 0 0 10px 0 !important;
  }

  .hero p,
  .hero-section p{
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin: 0 0 14px 0 !important;
  }

  /* 7) ??????  ???????, ?? ??????, ??????? ?????? */
  .hero .btn,
  .hero-section .btn,
  .hero a.btn,
  .hero-section a.btn,
  .hero button,
  .hero-section button{
    width: 100% !important;
    min-height: 44px !important;
    margin: 8px 0 !important;
  }
}
/* HAP MOBILE FIX END *//* HAP OVERRIDE HERO MOBILE START */
/* ????: ?? ???????? hero ?????????? 1 ????????, ?????? ?? ?????????????, ?????? 100% ?????? */

/* 1) ??????? ?????? ?? ?????????: ????????? absolute/transform ? hero ?? ????????? */
@media (max-width: 760px){

  /* ????????? ?????????? hero (????????????) */
  .hero, .hero-section, .hap-hero, #hero, header.hero, section.hero {
    width: 100%;
    box-sizing: border-box;
  }

  /* ???? ? ??? hero ?????? ??? 2 ???????  ?? ?????? ?????? ???? */
  .hero, .hero-section, .hap-hero, #hero, header.hero, section.hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 14px !important;

    padding: 18px 14px !important;
    min-height: calc(100svh - 56px) !important; /* ???? ???? ??????? ?????? */
    overflow: hidden !important;
  }

  /* ????? ??????? ?????? hero  ?????????? ?????, ??? ????????? */
  .hero * , .hero-section * , .hap-hero * , #hero * , header.hero * , section.hero * {
    box-sizing: border-box;
  }

  /* ???? ???-?? ????????? absolute/transform  ?? ?????? ??????? */
  .hero [style*="position: absolute"],
  .hero-section [style*="position: absolute"],
  .hap-hero [style*="position: absolute"],
  #hero [style*="position: absolute"],
  header.hero [style*="position: absolute"],
  section.hero [style*="position: absolute"]{
    position: static !important;
    transform: none !important;
  }

  /* 2) ????? ???? ? ???????  ?????? ????????, ? ???????? */
  .hero .hero-content,
  .hero .content,
  .hero .hero-text,
  .hero-section .hero-content,
  .hap-hero .hero-content,
  #hero .hero-content {
    width: 100% !important;
    max-width: 560px !important;
  }

  /* ????????? */
  .hero h1, .hero .title, .hero .hero-title,
  .hero-section h1, .hap-hero h1, #hero h1 {
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.2px !important;
  }

  /* ????????????/???????? */
  .hero p, .hero .subtitle, .hero .hero-subtitle,
  .hero-section p, .hap-hero p, #hero p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 0 14px 0 !important;
    opacity: 0.92 !important;
  }

  /* ???? ? ??? ????? ????????? ????  ?????? ??? ?????????? */
  .hero .panel, .hero .hero-panel, .hero .hero-box,
  .hero-section .panel, .hap-hero .panel, #hero .panel {
    width: 100% !important;
    border-radius: 18px !important;
    padding: 18px !important;
  }

  /* 3) ??????: ???? ??? ??????, 100% ??????, ?????? ??? ????? */
  .hero .hero-actions,
  .hero .buttons,
  .hero .cta,
  .hero-section .hero-actions,
  .hap-hero .hero-actions,
  #hero .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .hero .hero-actions a,
  .hero .hero-actions button,
  .hero .buttons a,
  .hero .buttons button,
  .hero .cta a,
  .hero .cta button,
  .hero-section .hero-actions a,
  .hero-section .hero-actions button,
  #hero .hero-actions a,
  #hero .hero-actions button {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  /* 4) ????????/???????? ??????????: ?????? ?????? ??????, ?? ???????? ????? */
  .hero img,
  .hero-section img,
  .hap-hero img,
  #hero img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ???? ? ??? ????????/????? ?????????? ????????? ?????? */
  .hero .hero-media,
  .hero .media,
  .hero .mock,
  .hero .hero-mock,
  .hero-section .hero-media,
  .hap-hero .hero-media,
  #hero .hero-media {
    width: 100% !important;
    max-width: 560px !important;
    align-self: center !important;
    margin-top: 8px !important;
  }

  /* ???? ?????? ???? ??????????? ????????  ?????????? ?????????, ??? ??????? */
  .hero .hero-media img,
  .hero .mock img,
  .hero .hero-mock img,
  .hero-section .hero-media img,
  #hero .hero-media img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    display: block !important;
  }

  /* 5) ???? ?????? ??????? ????????????? ?????? hero  ??????? */
  .hero, .hero-section, .hap-hero, #hero, header.hero, section.hero {
    height: auto !important;
  }
}
/* HAP OVERRIDE HERO MOBILE END */

/* HAP OVERRIDE HERO MOBILE START */
/* ????: ?? ???????? hero ?????????? 1 ????????, ?????? ?? ?????????????, ?????? 100% ?????? */

/* 1) ??????? ?????? ?? ?????????: ????????? absolute/transform ? hero ?? ????????? */
@media (max-width: 760px){

  /* ????????? ?????????? hero (????????????) */
  .hero, .hero-section, .hap-hero, #hero, header.hero, section.hero {
    width: 100%;
    box-sizing: border-box;
  }

  /* ???? ? ??? hero ?????? ??? 2 ???????  ?? ?????? ?????? ???? */
  .hero, .hero-section, .hap-hero, #hero, header.hero, section.hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 14px !important;

    padding: 18px 14px !important;
    min-height: calc(100svh - 56px) !important; /* ???? ???? ??????? ?????? */
    overflow: hidden !important;
  }

  /* ????? ??????? ?????? hero  ?????????? ?????, ??? ????????? */
  .hero * , .hero-section * , .hap-hero * , #hero * , header.hero * , section.hero * {
    box-sizing: border-box;
  }

  /* ???? ???-?? ????????? absolute/transform  ?? ?????? ??????? */
  .hero [style*="position: absolute"],
  .hero-section [style*="position: absolute"],
  .hap-hero [style*="position: absolute"],
  #hero [style*="position: absolute"],
  header.hero [style*="position: absolute"],
  section.hero [style*="position: absolute"]{
    position: static !important;
    transform: none !important;
  }

  /* 2) ????? ???? ? ???????  ?????? ????????, ? ???????? */
  .hero .hero-content,
  .hero .content,
  .hero .hero-text,
  .hero-section .hero-content,
  .hap-hero .hero-content,
  #hero .hero-content {
    width: 100% !important;
    max-width: 560px !important;
  }

  /* ????????? */
  .hero h1, .hero .title, .hero .hero-title,
  .hero-section h1, .hap-hero h1, #hero h1 {
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.2px !important;
  }

  /* ????????????/???????? */
  .hero p, .hero .subtitle, .hero .hero-subtitle,
  .hero-section p, .hap-hero p, #hero p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin: 0 0 14px 0 !important;
    opacity: 0.92 !important;
  }

  /* ???? ? ??? ????? ????????? ????  ?????? ??? ?????????? */
  .hero .panel, .hero .hero-panel, .hero .hero-box,
  .hero-section .panel, .hap-hero .panel, #hero .panel {
    width: 100% !important;
    border-radius: 18px !important;
    padding: 18px !important;
  }

  /* 3) ??????: ???? ??? ??????, 100% ??????, ?????? ??? ????? */
  .hero .hero-actions,
  .hero .buttons,
  .hero .cta,
  .hero-section .hero-actions,
  .hap-hero .hero-actions,
  #hero .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .hero .hero-actions a,
  .hero .hero-actions button,
  .hero .buttons a,
  .hero .buttons button,
  .hero .cta a,
  .hero .cta button,
  .hero-section .hero-actions a,
  .hero-section .hero-actions button,
  #hero .hero-actions a,
  #hero .hero-actions button {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  /* 4) ????????/???????? ??????????: ?????? ?????? ??????, ?? ???????? ????? */
  .hero img,
  .hero-section img,
  .hap-hero img,
  #hero img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ???? ? ??? ????????/????? ?????????? ????????? ?????? */
  .hero .hero-media,
  .hero .media,
  .hero .mock,
  .hero .hero-mock,
  .hero-section .hero-media,
  .hap-hero .hero-media,
  #hero .hero-media {
    width: 100% !important;
    max-width: 560px !important;
    align-self: center !important;
    margin-top: 8px !important;
  }

  /* ???? ?????? ???? ??????????? ????????  ?????????? ?????????, ??? ??????? */
  .hero .hero-media img,
  .hero .mock img,
  .hero .hero-mock img,
  .hero-section .hero-media img,
  #hero .hero-media img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    display: block !important;
  }

  /* 5) ???? ?????? ??????? ????????????? ?????? hero  ??????? */
  .hero, .hero-section, .hap-hero, #hero, header.hero, section.hero {
    height: auto !important;
  }
}
/* HAP OVERRIDE HERO MOBILE END */

