:root{
  /* === BRAND RED PALETTE === */
  --brand: #d62632;        /* основной красный */
  --brand-dark: #b61f29;   /* темный */
  --brand-soft: #fbe9eb;   /* очень светлый */
  --brand-accent: #f04a55;

  --text: #ffffff;
  --text-dark: #0f172a;
  --text-dim: rgba(255,255,255,.88);

  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-500: #64748b;

  --shadow: 0 18px 40px rgba(0,0,0,.22);
  --shadow2: 0 10px 26px rgba(0,0,0,.18);

  --container: 1120px;
  --radius: 14px;
}


*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#fff;
  color:#0c1d2d;
}

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

/* =========================
   TOP NAV
========================= */
.topNav{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,40,70,.10);
}

.topNav__inner{
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.topNav__brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}

.topNav__logo{
  height: 100px;
  width: auto;
  display: block;
}

/* LINKS (важно: гибко расширяется) */
.topNav__links{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;      /* ✅ если добавишь новые пункты, они корректно перенесутся */
  justify-content: flex-end;
}

.topNav__link{
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  color: rgba(20,48,74,.86);
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.topNav__link:hover{
  background: rgba(46,120,199,.10);
}

/* burger */
.topNav__burger{
  margin-left: auto;
  display: none;
  border: 1px solid rgba(15,40,70,.12);
  background: rgba(255,255,255,.70);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
  font-weight: 900;
}

/* MOBILE */
@media (max-width: 820px){
  .topNav__burger{ display: inline-flex; align-items:center; justify-content:center; }

  .topNav__links{
    display: none;
    width: 100%;
    order: 10;
    margin: 8px 0 12px;
    padding: 12px;

    border-radius: 16px;
    border: 1px solid rgba(15,40,70,.10);
    background: rgba(255,255,255,.95);
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
  }

  .topNav.is-open .topNav__links{
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .topNav__inner{
    flex-wrap: wrap;  
  }
  .topNav__link{
    border-radius: 12px;
    padding: 12px 14px;
    text-align: left;
  }
}


/* HERO */
.hero{
  position:relative;
  min-height: 520px;
  color: var(--text);
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  background-image: url("./img/1.webp");
  background-size: cover;
  background-position: right center;
  transform: scale(1.03);
}
.hero__overlay{
  position:absolute; inset:0;
background: linear-gradient(91deg, rgb(0 0 0 / 0%) 0%, rgba(0, 0, 0, .35) 42%, rgba(0, 0, 0, .18) 65%, rgba(0, 0, 0, .08) 100%);
}
.hero__content{
  position:relative;
  padding: 22px 0 0;
  display: flex;
}
.hero__left{
  padding-top: 14px;
  max-width: 560px;
}
.hero__right{
  margin-left: auto;       
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
  min-width: 320px;         
}

/* картинка телефона */
.hero__phoneImg{
  width: clamp(300px, 28vw, 420px); 
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,.35));
}

.hero__phoneImg{
  /*width: min(320px, 35vw);*/
  max-width: 360px;
  height: auto;
  display: block;

  filter: drop-shadow(0 30px 60px rgba(0,0,0,.35));
  transform: translateY(12px);
}

@media(max-width: 600px){
    .hero__content{
        flex-wrap: wrap;
        margin: 0 auto;
    }
    .hero__right{
        margin: 0 auto;
    }
}

.tag{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
  letter-spacing:.5px;
  font-size: 12px;
}

.hero__title{
  margin: 14px 0 8px;
  display:flex;
  align-items:flex-start;
  gap: 14px;
}
.hero__discount{
  font-weight: 900;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .95;
  color: #ffd44f;
  text-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.hero__currency{ font-size: .55em; vertical-align: top; margin-left: 2px; }
.hero__titleText{
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.hero__bold{ font-weight: 900; }

.hero__valid{
  margin-top: 6px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: 40px;
}
.hero__desc{
  margin: 16px 0 18px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.25;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  text-shadow: 0 6px 18px rgba(0,0,0,.22);
}

.ctaBtn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  background: linear-gradient(180deg, #4a9ee6, #2e78c7);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  padding: 20px 30px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 800;
  box-shadow: var(--shadow2);
  text-decoration:none;
  user-select:none;
}
.ctaBtn:hover{ filter: brightness(1.05); }
.ctaBtn:active{ transform: translateY(1px); }
.ctaBtn__arrow{ font-size: 18px; }

/* ICON BAR */
.iconbar{
  position: relative;
  margin-top: 110px;
  padding: 14px 0 18px;
  background: rgba(0,0,0,.20);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.iconbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.iconbar__item{
  width: 100%;
  min-width: 110px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;

  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor:pointer;
  color: rgba(255,255,255,.95);
}
.iconbar__item:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.10);
}
.iconbar__item.is-active{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}

/* mobile */
@media (max-width: 720px){
  .exitModal__content{
    grid-template-columns: 1fr;
  }
  .exitModal__right{
    min-height: 220px;
    order: -1;
  }
  .exitModal__dialog{
    margin-top: 4vh;
  }
}
/* INFO BLOCK inside hero__left */
.heroInfo{
  margin-top: 16px;
  max-width: 520px;

  padding: 14px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
}

.heroInfo p{
  margin: 0;
}

.heroInfo p + p{
  margin-top: 10px;
}
@media (max-width: 720px){
  .heroInfo{
    font-size: 13px;
    padding: 12px 14px;
  }
}

.benefits{ padding: 18px 0 0; }
.benefits__box{
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,40,70,.10);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
  padding: 18px 20px;
}
.benefits__title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: rgba(20,48,74,.92);
}
.benefits__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(20,48,74,.82);
  font-weight: 700;
  line-height: 1.5;
}
.benefits__list li{ margin: 6px 0; }
.benefits__note{
  margin: 12px 0 0;
  color: rgba(20,48,74,.78);
  font-weight: 700;
  line-height: 1.45;
}


.advantages{
  padding: 42px 0 52px;
  background:
    radial-gradient(
      900px 420px at 50% 0%,
      rgba(214,38,50,.20),
      rgba(255,255,255,0) 60%
    ),
    linear-gradient(180deg, #fff5f6, #ffffff);  
  border-top: 1px solid rgba(15,40,70,.08);
}

.advantages__inner{ text-align:center; }

.advantages__title{ margin:0; font-size:26px; font-weight:900; color:#14304a; }
.advantages__sub{ margin:8px auto 0; max-width:720px; color:rgba(20,48,74,.70); font-weight:650; font-size:13px; }

.advantages__grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align:left;
}

.advCard{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(15,40,70,.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(10,30,50,.08);
}

.advCard__ico{
  width:46px; height:46px;
  border-radius:14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.70);
  border:1px solid rgba(15,40,70,.10);
  font-size:22px;
  flex: 0 0 46px;
}

.advCard__h{ font-weight:900; color:#14304a; font-size:13px; line-height:1.2; }
.advCard__p{ margin-top:3px; color:rgba(20,48,74,.70); font-weight:650; font-size:12px; line-height:1.35; }

.advantages__cta{
  margin:18px auto 0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 20px 30px;
  font-size: 20px;
  border-radius:999px;
  background: linear-gradient(180deg, #f1d350, #caa31c);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  box-shadow: 0 12px 26px rgba(0,0,0,.14);
}

@media (max-width: 980px){
  .advantages__grid{ grid-template-columns: 1fr; }
}


.centerTitle{
  margin:0 0 38px;
  text-align:center;
  font-size:30px;
  font-weight:900;
  letter-spacing:-.02em;
}

.p{
  margin:0 0 16px;
  color:#6b768a;
  font-size:15px;
}

/* =========================
   Steps
========================= */
.steps{
  padding:74px 0 44px;
}

.stepCard{
  background: var(--brand-soft);
  border: 1px solid rgba(214,38,50,.18);
  border-radius: 28px;
  padding: 44px;
  text-align:center;
  margin-top: 20px;
}

.stepBadge{
  width:46px;
  height:46px;
  border-radius:999px;
  margin:0 auto 14px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:900;
  background: var(--brand);
  box-shadow: 0 12px 30px rgba(214,38,50,.35);
}

.stepTitle{
  margin:0 0 10px;
  font-size:22px;
  font-weight:900;
}

.storeRow{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:16px;
}

.storeBtn{
  text-decoration:none;
  font-weight:900;
  padding:12px 16px;
  border-radius:12px;
  background:#111;
  color:#fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.storeBtn:hover{ filter:brightness(1.06); }

.storeImg{
  width:150px;
  height:auto;
  display:block;
}

.stepCta{
  margin-top:16px;
  display:flex;
  justify-content:center;
}

/* mobile */
@media (max-width: 560px){
  .stepCard{ padding:22px; }
  .storeRow{
    flex-direction: column;
    align-items: stretch;
  }
  .storeBtn{ width:100%; text-align:center; }
  .storeImg{ margin: 0 auto; }
}


/* =========================
   SITE FOOTER (FULL WIDTH)
========================= */

.siteFooter{
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(15,40,70,.10);
  margin: 0;
  padding: 0;
}

/* ---------- TOP PART ---------- */
.siteFooter__top{
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;

  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}

/* BRAND COLUMN */
.siteFooter__brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.brandMark__logo{
  width: 110px;
  height: auto;
  display: block;
}

/* store badges */
.storeRowFooter{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.storeBadge img{
  height: 42px;
  width: auto;
  display: block;
}

/* rating */
.ratingLine{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #14304a;
}

.ratingLine__stars{
  color: #f1b900;
  letter-spacing: 2px;
  font-size: 16px;
}

.ratingLine__val{
  font-size: 14px;
}

/* social */
.socialRow{
  display: flex;
  gap: 12px;
  justify-content: center;
}

.socialBtn{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: #d62632;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;

  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* ---------- LINKS COLUMNS ---------- */
.siteFooter__cols{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footerCol__title{
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 900;
  color: #14304a;
}

.footerLink{
  display: block;
  margin: 8px 0;
  text-decoration: none;

  font-size: 13px;
  font-weight: 700;
  color: rgba(20,48,74,.72);
}

.footerLink:hover{
  color: rgba(20,48,74,.95);
  text-decoration: underline;
}
.footer_p{
  font-size: 13px;
  text-decoration: none;
  font-weight: 700;
  color: rgba(20,48,74,.72);
}

/* ---------- PARTNERS ---------- */
.siteFooter__partners{
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 18px;
  text-align: center;
}

.partnersTitle{
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 900;
  color: rgba(20,48,74,.85);
}

.partnersRow{
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.partnerLogo{
  height: 44px;
  width: auto;
  opacity: .9;
  filter: grayscale(10%);
}

/* ---------- LEGAL ---------- */
.siteFooter__legal{
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  text-align: center;
}

.siteFooter__legal p{
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
  color: rgba(20,48,74,.60);
}

.siteFooter__copy{
  margin-top: 12px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(20,48,74,.65);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px){
  .siteFooter__top{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .siteFooter__cols{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================================================
   MINE KNOGler (mk-) — FULL STYLES (isolated, no conflicts)
   Covers:
   - mk-hero (title, text, store buttons, phone image)
   - mk-section blocks
   - mk-grid-2 (+ mk-grid-2--single)
   - mk-item (image + content)
========================================================= */

/* ---------- HERO ---------- */
.mk-hero{
  padding: 70px 0 26px;
background: radial-gradient(900px 420px at 50% 0%, rgb(255 130 130 / 45%), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #fff7f7, #ffeeee);
  border-top: 1px solid rgba(15,40,70,.06);
  border-bottom: 1px solid rgba(15,40,70,.06);
}

.mk-hero__inner{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}

.mk-hero__left{
  min-width: 0;
}

.mk-hero__title{
  margin: 0 0 10px;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(20,48,74,.95);
}

.mk-hero__desc{
  margin: 0 0 18px;
  color: rgba(20,48,74,.72);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
}

/* store buttons */
.mk-stores{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.mk-store{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15,40,70,.10);
  box-shadow: 0 12px 26px rgba(10,30,50,.10);
}

.mk-store img{
  height: 44px;
  width: auto;
  display: block;
}

.mk-store:hover{
  filter: brightness(1.03);
}

/* phone image */
.mk-hero__media{
  display: flex;
  justify-content: center;
  align-items: center;
}

.mk-phone{
  width: min(340px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,.18));
}

/* ---------- SECTIONS ---------- */
.mk-section{
  padding: 40px 0;
  background: #ffffff;
}


/* ===== MK GRID ===== */
.mk-grid-2{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;                 /* как на скрине — больше воздуха */
  align-items: start;
}

.mk-grid-2--single{
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

/* ===== MK CARD (image сверху, текст снизу) ===== */
.mk-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 0;                /* карточка “чистая” */
  background: transparent;   /* на скрине нет рамки */
  border: 0;
  box-shadow: none;
}

/* блок под картинку */
.mk-item__image{
  width: 100%;
  display: grid;
  place-items: center;

  padding: 0;
  background: transparent;
  border: 0;
}

.mk-item__image img{
  width: min(320px, 100%);   /* размер телефона */
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.18));
}

/* текстовая часть */
.mk-item__content{
  max-width: 520px;          /* чтобы строки были аккуратные */
  margin-top: 18px;
}

.mk-item__title{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.mk-item__text{
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.8;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px){
  .mk-hero__inner{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mk-stores{
    justify-content: center;
  }

  .mk-hero__media{
    order: -1; /* картинка сверху на мобиле */
  }

  .mk-item{
    grid-template-columns: 1fr;
    text-align: left;
  }

  .mk-grid-2{
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .mk-item__title{
    font-size: 24px;
  }

  .mk-item__text{
    font-size: 15px;
  }
}

@media (max-width: 560px){
  .mk-hero{
    padding: 52px 0 18px;
  }

  .mk-hero__title{
    font-size: 34px;
  }

  .mk-store{
    width: 100%;
    justify-content: center;
  }

  .mk-store img{
    height: 42px;
  }

  .mk-grid-2{
    grid-template-columns: 1fr;
  }
}


/* =========================
   Team page (Advisors) — matches mockup
   ========================= */

.teamPage{
  background:#fff;
  padding: 42px 0 70px;
}

.teamPage__inner{
  text-align:center;
}

.teamPage__eyebrow{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #64748b;
  font-weight: 500;
}

.teamPage__title{
  margin: 0 0 36px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.teamGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 34px;
  align-items:start;
}

.teamCard{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.teamCard__avatar{
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: #cfe7f5;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-bottom: 14px;
}

.teamCard__avatar img{
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
  display:block;
}

.teamCard__name{
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
}

.teamCard__role{
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  color: #64748b;
}

.teamCard__text{
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #334155;
  max-width: 36ch;
}

@media (max-width: 980px){
  .teamGrid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
}

@media (max-width: 640px){
  .teamPage{
    padding: 34px 0 56px;
  }
  .teamGrid{
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .teamCard__text{
    max-width: 46ch;
  }
}
