/* ============================================================
   Balance Group — umumiy stillar (BEM)
   Shared: tokens, reset, header, footer, buttons, marquee,
   form section, contacts section
   ============================================================ */

/* ---- Shrift: RoadRadio mavjud bo'lsa local() orqali ishlatiladi,
        aks holda Archivo (Google Fonts) zaxira sifatida ---- */
@font-face {
  font-family: "RoadRadio";
  src: url("../fonts/roadradio-black.woff2") format("woff2"),
       local("RoadRadio Black"), local("RoadRadio");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #151112;
  --orange: #f83600;
  --white: #ffffff;
  --muted: #737373;
  --chip: #f5f5f5;
  --light: #eeeeee;
  --border-dark: #2c2a2a;
  --footer-ic: #242424;

  --font: "Montserrat", "Segoe UI", sans-serif;
  --display: "RoadRadio", "Archivo", "Montserrat", sans-serif;

  --container: 1200px;
  --radius-card: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  overflow-x: clip;            /* hidden emas — sticky'ni buzmaydi */
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ---- Konteyner ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Tugmalar ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--orange {
  background:
    radial-gradient(120% 150% at 50% -20%, rgba(255,255,255,.45), rgba(255,255,255,0) 55%),
    var(--orange);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(248,54,0,.35);
}
.btn--orange:hover { box-shadow: 0 14px 38px rgba(248,54,0,.5); }

.btn--ghost {
  background: transparent;
  color: var(--white);
}

.btn--lg {
  text-transform: uppercase;
  height: clamp(58px, 7vw, 85px);
  padding: 0 clamp(24px, 4vw, 40px);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(16px, 1.9vw, 22px);
}
.btn--md {
  text-transform: uppercase;
  height: clamp(52px, 6vw, 66px);
  padding: 0 clamp(20px, 3vw, 30px);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 18px);
}
.btn--sm {
  text-transform: uppercase;
  height: 48px;
  padding: 0 clamp(20px, 3vw, 30px);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(14px, 1.5vw, 16px);
}

.btn__arrow { width: 10px; height: 10px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 50;
}
.header__inner {
  display: flex;
  align-items: center;
  height: 80px;
  background: var(--white);
  border-radius: 50px;
  padding: 0 12px 0 28px;
}
.header__logo { width: 93px; height: 49px; }
.header__logo img { width: 100%; height: 100%; object-fit: contain; }

.header__nav { margin-left: 48px; }
.header__menu { display: flex; gap: 24px; }
/* faqat full-screen mobil menyu ichida ko'rinadi */
.header__menu-cta,
.header__menu-close { display: none; }
.header__link {
  color: #000;
  font-weight: 500;
  font-size: 16px;
  padding: 4px 0;
  transition: color .15s ease;
}
.header__link:hover { color: var(--orange); }

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* til almashtirgich */
.lang {
  display: flex;
  align-items: center;
  background: var(--light);
  border-radius: 50px;
  padding: 2px;
  height: 56px;
}
.lang__btn {
  width: 52px;
  height: 52px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 18px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.lang__btn--active { background: #000; color: var(--white); }

.header__contact {
  position: relative;
  height: auto;
  padding: 21px 69px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  border-radius: 50px;
  background:
    linear-gradient(0deg, #F83600, #F83600),
    radial-gradient(67.81% 102.51% at 49.81% -8.57%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}
/* gradient border (border-image radiusni qo'llamaydi — shuning uchun ::before + mask) */
.header__contact::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(29.31% 39.39% at 41.44% 0%, #FFFFFF 0%, #FF4135 100%),
    radial-gradient(80.68% 76.57% at 41.64% -3.33%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 65, 53, 0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* burger (mobil) */
.header__burger {
  display: none;
  width: 48px; height: 48px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.header__burger span {
  width: 24px; height: 2px; background: #000; border-radius: 2px;
  transition: .25s;
}

/* ============================================================
   BO'LIM SARLAVHALARI
   ============================================================ */
.section-head { margin-bottom: 32px; }
.section-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  color: var(--white);
  text-transform: uppercase;
}
.section-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
}

/* ============================================================
   BRENDLAR MARQUEE
   ============================================================ */
.brands { padding: 70px 0; }
.brands .section-head { text-align: center; }
.brands__rows { display: flex; flex-direction: column; gap: 30px; }
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 74px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 38s; }
.marquee__track img { width: 136px; height: 64px; object-fit: contain; opacity: .9; }
.brands .marquee__track { gap: 73px; }
.brands .marquee__track img { width: 136px; height: 64px; object-fit: contain; filter: grayscale(1); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* logolar lentasi (hero ostidagi bitta qator) */
.logobar { padding: 40px 0; }
.logobar .marquee__track img { width: 136px; height: 64px; object-fit: contain; }

/* ============================================================
   Section o'ramlari — CTA va kontaktlar orasidagi masofa
   (barcha sahifalar: home/about/services)
   ============================================================ */
.cta-section {
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
}
.contacts-section {
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 100px);
}

/* ============================================================
   "HOZIROQ BOSHLANG" — forma bo'limi
   ============================================================ */
.cta {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  background: linear-gradient(120deg, #101010 0%, #262626 50%, #101010 100%);
  padding: clamp(28px, 5vw, 56px);
  min-height: 535px;
}
/* gradient border (border-image radiusni qo'llamaydi — ::before + mask) */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
.cta__inner { position: relative; z-index: 2; max-width: 490px; }
.cta__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1;
  text-transform: uppercase;
}
.cta__subtitle { margin-top: 10px; color: var(--muted); font-weight: 500; font-size: clamp(15px, 1.8vw, 18px); }
.cta__form { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.cta__field {
  height: 72px;
  border-radius: 10px;
  background: var(--white);
  border: none;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}
.cta__field::placeholder { color: rgba(0, 0, 0, .5); }
.cta__submit { margin-top: 8px; width: 350px; max-width: 100%; text-transform: uppercase; }
.cta__img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: clamp(300px, 50%, 640px);
  z-index: 1;
  pointer-events: none;
}
.cta__img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }

/* ============================================================
   KONTAKTLAR — xarita bo'limi
   ============================================================ */
.contacts {
  display: flex;
  align-items: center;
  gap: 32px;
}
.contacts__map {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 25px;
  overflow: hidden;
  aspect-ratio: 728 / 400;
}
.contacts__map img,
.contacts__map iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.contacts__panel {
  flex-shrink: 0;
  width: clamp(300px, 36%, 460px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contacts__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.contacts__item { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.contacts__label {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: clamp(20px, 3vw, 30px);
  text-transform: uppercase;
}
.contacts__label img { width: 16px; height: 16px; }
.contacts__value { font-weight: 400; font-size: clamp(15px, 1.8vw, 18px); padding-left: 24px; }
.contacts__value a { color: inherit; text-decoration: none; transition: color .2s; }
.contacts__value a:hover { color: var(--orange, #ff6b00); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); padding: 36px 0; margin-top: 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__left { display: flex; align-items: center; gap: 48px; }
.footer__brand { font-family: var(--display); display: block; text-align: right; line-height: 1; text-transform: uppercase; }
.footer__brand b { font-weight: 700; font-size: clamp(32px, 5vw, 48px); }
.footer__brand span { font-weight: 400; font-size: clamp(20px, 3vw, 30px); }
.footer__copy { color: var(--muted); font-size: clamp(14px, 1.6vw, 18px); }
.footer__socials { display: flex; gap: 8px; }
.footer__social {
  width: 56px; height: 56px;
  border-radius: 15px;
  background: var(--footer-ic);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.footer__social:hover { background: var(--orange); }
.footer__social img { width: 24px; height: 24px; }

/* dekorativ kursor */
.cursor-deco {
  position: absolute;
  width: 67px; height: 54px;
  pointer-events: none;
  z-index: 5;
}

/* ============================================================
   SLIDER (umumiy)
   ============================================================ */
.slider { position: relative; touch-action: pan-y; }
.slider__viewport { overflow: hidden; }
.slider__track {
  display: flex;
  gap: 15px;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.slider__track:active { cursor: grabbing; }
.slider__track img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.slider__nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.slider__btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .15s ease;
}
.slider__btn:hover { background: var(--orange); transform: translateY(-2px); }
.slider__btn svg path { stroke: var(--orange); }
.slider__btn:hover svg path { stroke: var(--white); }
.slider__btn--next svg { transform: scaleX(-1); }

/* ============================================================
   UMUMIY KARTALAR (case, stat, review, chip)
   ============================================================ */

/* xizmat chiplari (oq) */
.chip {
  display: inline-flex; align-items: center;
  height: 44px; padding: 0 24px;
  background: var(--white); color: #000;
  border-radius: 50px; font-size: 16px; font-weight: 400;
}

/* keys (case) kartasi */
.case {
  width: min(390px, 86vw); flex-shrink: 0;
  background: var(--white); color: #000;
  border-radius: 20px; padding: 16px;
}
.case__img { width: 100%; aspect-ratio: 358 / 229; height: auto; border-radius: 20px; object-fit: cover; }
.case__name { margin-top: 16px; font-weight: 600; font-size: clamp(20px, 2.4vw, 24px); }
.case__sub { margin-top: 6px; font-weight: 400; font-size: 14px; }
.case__stats { display: flex; gap: clamp(16px, 3vw, 28px); margin-top: 22px; }
.case__big { font-weight: 700; font-size: clamp(26px, 3.4vw, 32px); color: var(--orange); }
.case__cap { margin-top: 4px; font-weight: 400; font-size: 14px; line-height: 1.3; max-width: 120px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.case__tag {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 16px;
  background: var(--chip); color: var(--muted);
  border-radius: 50px; font-size: 14px; font-weight: 500;
}

/* statistika kartasi (shisha) */
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.stat {
  position: relative;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 24px;
  min-height: 216px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.stat__badge { position: absolute; top: 24px; left: 24px; object-fit: contain; max-width: calc(100% - 48px); }
.stat__badge--brands { width: 181.52px; height: 47.71px; }
.stat__badge--growth { width: 180px; height: 60px; left: auto; right: 24px; }
.stat__badge--period { width: 170px; height: 44.39px; }
.stat__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(54px, 9vw, 90px); line-height: .9; color: var(--white);
  letter-spacing: -1px;
}
.stat__num--sm { font-size: clamp(48px, 8vw, 80px); }
.stat__label { color: var(--muted); font-size: 16px; margin-top: 12px; }

/* sharh (review) kartasi */
.review {
  width: min(324px, 80vw); flex-shrink: 0;
  aspect-ratio: 324 / 517; height: auto;
  border-radius: 26px; overflow: hidden; position: relative;
}
.review img { width: 100%; height: 100%; object-fit: cover; }
.review__play {
  position: absolute; inset: 0; margin: auto;
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.review__play img { width: 27px; height: 30px; margin-left: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .header__nav { margin-left: 0; }
  .header__menu { display: none; }
  .header__contact { display: none; }
  .header__burger { display: flex; }

  /* scroll lock */
  .nav-open { overflow: hidden; }

  /* ===== FULL-SCREEN MOBIL MENYU ===== */
  .header__menu--open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 3.2vh, 32px);
    padding: 96px 24px 56px;
    background:
      radial-gradient(95% 60% at 50% -8%, rgba(248,54,0,.22), transparent 62%),
      radial-gradient(80% 55% at 50% 108%, rgba(248,54,0,.14), transparent 60%),
      #0b0a0a;
    animation: navFade .35s ease both;
  }
  /* subtil grid fon */
  .header__menu--open::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: -1;
  }
  .header__menu--open .header__link {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 14px;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(30px, 7vw, 52px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: .5px;
    padding: 4px 0;
    opacity: 0;
    transform: translateY(26px);
    animation: navItem .55s cubic-bezier(.22,.61,.36,1) forwards;
    transition: color .25s ease;
  }
  .header__menu--open .header__link::before {
    content: attr(data-i);
    font-family: var(--font);
    font-weight: 600;
    font-size: 14px;
    color: var(--orange);
    opacity: .85;
  }
  .header__menu--open .header__link:hover,
  .header__menu--open .header__link--active { color: var(--orange); }
  .header__menu--open li:nth-child(1) .header__link { animation-delay: .08s; }
  .header__menu--open li:nth-child(2) .header__link { animation-delay: .15s; }
  .header__menu--open li:nth-child(3) .header__link { animation-delay: .22s; }
  .header__menu--open li:nth-child(4) .header__link { animation-delay: .29s; }

  .header__menu--open .header__menu-cta {
    display: block;
    margin-top: 20px;
    opacity: 0;
    animation: navItem .55s cubic-bezier(.22,.61,.36,1) .38s forwards;
  }
  .header__menu-cta .btn { font-size: 18px; padding: 0 44px; }

  /* yopish (X) tugmasi */
  .header__menu--open .header__menu-close {
    display: flex;
    position: absolute;
    top: clamp(24px, 4.5vw, 40px);
    right: clamp(20px, 5vw, 44px);
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.04);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
  }
  .header__menu-close:hover { background: var(--orange); border-color: var(--orange); transform: rotate(90deg); }
  .header__menu-close span {
    position: absolute;
    width: 20px; height: 2px; border-radius: 2px;
    background: var(--white);
  }
  .header__menu-close span:nth-child(1) { transform: rotate(45deg); }
  .header__menu-close span:nth-child(2) { transform: rotate(-45deg); }

  .cta__img { opacity: .22; }
  .brands__rows { gap: 24px; }
}

@keyframes navFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes navItem { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 860px) {
  .contacts { flex-direction: column; align-items: stretch; }
  .contacts__map { width: 100%; }
  .contacts__panel { width: 100%; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .header { top: 20px; }
  .header__inner { height: 68px; padding: 0 10px 0 18px; }
  .header__logo { width: 72px; height: 38px; }
  .cta-section { padding: 48px 0 40px; }
  .contacts-section { padding: 40px 0 64px; }
  .brands { padding: 48px 0; }
  .brands__rows { gap: 16px; }
  .marquee__track { gap: 48px; }
  .logobar .marquee__track img { width: 136px; height: 64px; }
  .brands .marquee__track img { width: 136px; height: 64px; }
  .slider__btn { width: 54px; height: 54px; }
  .slider__nav { margin-top: 18px; }
  .footer__social { width: 48px; height: 48px; border-radius: 12px; }
}

@media (max-width: 640px) {
  .lang { height: 48px; }
  .lang__btn { width: 44px; height: 44px; font-size: 16px; }
  .cta { min-height: auto; }
  .cta__submit { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__left { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__brand { text-align: left; }
}

@media (max-width: 400px) {
  .header__inner { padding: 0 8px 0 14px; }
  .header__logo { width: 61px; height: 32px; }
  .marquee__track { gap: 36px; }
}
