/* ============================================================
   Colorist — vitrina sayt
   Palitra logotipdan olingan: magenta #95297b -> slate #48557d -> teal #15737e
   Gradient TEJAMKOR ishlatiladi (sarlavha urg'usi, tugma, ikonka konturi).
   Katta yuzalarda gradient ishlatilmaydi — u arzon ko'rinishga olib keladi.
   ============================================================ */

:root {
  --ink: #0E1116;
  --ink-2: #161B22;
  --paper: #FFFFFF;
  --paper-2: #F4F6F8;
  --line: #E3E7EC;
  --line-dark: rgba(255, 255, 255, .14);

  --c1: #95297b;
  --c2: #48557d;
  --c3: #15737e;
  --grad: linear-gradient(100deg, #95297b 0%, #48557d 52%, #15737e 100%);

  --tx: #10141A;
  --tx-2: #5B6675;
  --tx-inv: #FFFFFF;
  --tx-inv-2: rgba(255, 255, 255, .68);

  --wrap: 1180px;
  --pad: 24px;
  --r: 14px;

  --f-head: 'Oswald', 'Segoe UI', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--tx);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip {
  position: absolute; left: -9999px;
}

/* ---------- Tipografika ---------- */

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.12;
}

.tag {
  margin: 0 0 12px;
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c3);
}

.sec--dark .tag { color: #7fd4de; }

.sec__title {
  font-size: clamp(30px, 4.4vw, 50px);
  max-width: 20ch;
}

/* Sarlavha ostidagi ingichka gradient chiziq — brendni eslatib turadi */
.sec__title::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  margin-top: 20px;
  border-radius: 2px;
  background: var(--grad);
}

.sec__lead {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 17px;
  color: var(--tx-2);
}

.sec--dark .sec__lead { color: var(--tx-inv-2); }

/* ---------- Tugmalar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: none;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(21, 115, 126, .3); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 16px 30px; font-size: 15px; }
.btn--sm { padding: 10px 17px; font-size: 12.5px; }

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
}
.btn--ghost:hover { border-color: #fff; box-shadow: none; }

/* ---------- Header ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
}

.hdr__logo img { height: 34px; width: auto; }

/* Hero to'q bo'lgani uchun logotip boshida oq holatda turadi */
.hdr:not(.hdr--solid) .hdr__logo img { filter: brightness(0) invert(1); }

.hdr--solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--line);
}

.hdr__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.hdr__nav a {
  font-family: var(--f-head);
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  color: rgba(255, 255, 255, .82);
  padding: 6px 0;
  position: relative;
  transition: color .18s ease;
}

.hdr--solid .hdr__nav a { color: var(--tx-2); }
.hdr__nav a:hover { color: #fff; }
.hdr--solid .hdr__nav a:hover { color: var(--tx); }

.hdr__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.hdr__nav a:hover::after { transform: scaleX(1); }

.hdr__side { display: flex; align-items: center; gap: 12px; }

.lang {
  font-family: var(--f-head);
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
  color: rgba(255, 255, 255, .7);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  transition: all .18s ease;
}
.lang:hover { color: #fff; border-color: #fff; }
.hdr--solid .lang { color: var(--tx-2); border-color: var(--line); }
.hdr--solid .lang:hover { color: var(--tx); border-color: var(--tx-2); }

.burger { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--tx-inv);
  overflow: hidden;
}

/* Yumshoq brend nuri — gradientni fon sifatida emas, yorug'lik sifatida */
.hero::before {
  content: "";
  position: absolute;
  top: -30%; left: -10%;
  width: 70%; height: 130%;
  background: radial-gradient(closest-side, rgba(149, 41, 123, .30), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -40%; right: 8%;
  width: 55%; height: 120%;
  background: radial-gradient(closest-side, rgba(21, 115, 126, .28), transparent 70%);
  pointer-events: none;
}

.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 44%;
  gap: 56px;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 100px;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--f-head);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7fd4de;
}

.hero__title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 500;
  max-width: 15ch;
}

/* Urg'uli so'z gradient bilan — sahifadagi yagona shunday joy */
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #d46bb8, #4fc9d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 24px 0 0;
  max-width: 52ch;
  font-size: 17.5px;
  color: var(--tx-inv-2);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__note {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.hero__media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--r);
  /* Yupqa gradient hoshiya — rasmni brendga bog'laydi */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .5);
}

/* ---------- Bo'limlar ---------- */

.sec { padding: clamp(72px, 9vw, 118px) 0; }

.sec--dark {
  background: var(--ink);
  color: var(--tx-inv);
}

.sec--service { background: var(--paper-2); }

/* ---------- Colorist xizmati ---------- */

.service {
  display: grid;
  grid-template-columns: 1fr 38%;
  gap: 52px;
  align-items: start;
  margin-top: 52px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.step {
  position: relative;
  padding: 26px 0 26px 74px;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step__n {
  position: absolute;
  left: 0;
  top: 24px;
  font-family: var(--f-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 { font-size: 21px; margin-bottom: 7px; }
.step p { margin: 0; color: var(--tx-2); max-width: 54ch; }

.service__media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--r);
}
.service__media { margin: 0; }

.service__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.note { margin: 0; color: var(--tx-2); font-size: 15px; flex: 1 1 320px; }

/* ---------- Yo'nalish kartalari ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.card {
  padding: 30px 26px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(16, 20, 26, .1);
}

.card__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(149, 41, 123, .12), rgba(21, 115, 126, .14));
  color: var(--c3);
}
.card__ico svg { width: 24px; height: 24px; }

.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { margin: 0; font-size: 14.5px; color: var(--tx-2); }

/* ---------- Brendlar ---------- */

.mobihel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 48px;
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: linear-gradient(120deg, rgba(149, 41, 123, .14), rgba(21, 115, 126, .12));
}

.mobihel__mark {
  font-family: var(--f-head);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: .04em;
  flex: 0 0 auto;
}

.mobihel__body { flex: 1 1 320px; }
.mobihel__body p { margin: 10px 0 0; color: var(--tx-inv-2); }

.badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--grad);
  font-family: var(--f-head);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.brandrow {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 40px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--line-dark);
}

.brandrow li {
  font-family: var(--f-head);
  font-size: 21px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .42);
  transition: color .2s ease;
}
.brandrow li:hover { color: rgba(255, 255, 255, .9); }

/* ---------- Nega biz ---------- */

.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 52px;
}

.why__i svg {
  width: 30px; height: 30px;
  color: var(--c3);
  margin-bottom: 16px;
}
.why__i h3 { font-size: 18.5px; margin-bottom: 8px; }
.why__i p { margin: 0; font-size: 14.5px; color: var(--tx-2); }

/* ---------- Ishlarimiz (showcase) ---------- */

.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
  margin-top: 48px;
}

.work {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper);
}

.work__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }

.work__half { position: relative; }
.work__half img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.work__lbl {
  position: absolute;
  left: 8px; top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(14, 17, 22, .72);
  color: #fff;
  font-family: var(--f-head);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.work__body { padding: 20px 20px 22px; }
.work__body h3 { font-size: 18px; margin-bottom: 6px; }
.work__meta { margin: 0 0 8px; font-size: 13px; color: var(--c3); font-weight: 500; }
.work__body p { margin: 0; font-size: 14.5px; color: var(--tx-2); }
.work__prod { margin-top: 12px; font-size: 13px; color: var(--tx-2); }
.work__prod b { color: var(--tx); font-weight: 500; }

/* ---------- Aloqa ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.contact__list { margin: 0; }

.contact__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact__row dt {
  font-family: var(--f-head);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.contact__row dd { margin: 0; font-size: 16.5px; }
.contact__row dd a { text-decoration: none; }
.contact__row dd a:hover { text-decoration: underline; }

.maplink { color: #7fd4de; text-decoration: none; font-size: 15px; }

.contact__shop {
  padding: 32px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .04);
}
.contact__shop h3 { font-size: 21px; margin-bottom: 10px; }
.contact__shop p { margin: 0 0 22px; color: var(--tx-inv-2); font-size: 15px; }

/* ---------- Footer ---------- */

.ftr {
  background: var(--ink-2);
  color: var(--tx-inv-2);
  padding-top: 64px;
}

.ftr__in {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}

.ftr__brand img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.ftr__brand p { margin: 18px 0 0; max-width: 40ch; font-size: 14.5px; }

.ftr__col { display: flex; flex-direction: column; gap: 10px; }
.ftr__col h4 {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.ftr__col a, .ftr__col span { font-size: 14.5px; text-decoration: none; }
.ftr__col a:hover { color: #fff; }

.ftr__bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
}

/* ---------- Animatsiya ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Moslashuvchanlik ---------- */

@media (max-width: 1040px) {
  .cards, .why { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hdr__nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pad) 20px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform .28s ease;
  }
  .hdr__nav.is-open { transform: none; }
  .hdr__nav a, .hdr--solid .hdr__nav a { color: var(--tx); padding: 13px 0; border-bottom: 1px solid var(--line); }
  .hdr__nav a::after { display: none; }

  .burger {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
  }
  .hdr--solid .burger { border-color: var(--line); }
  .burger span { display: block; width: 17px; height: 1.5px; background: #fff; transition: background .2s; }
  .hdr--solid .burger span { background: var(--tx); }

  .hero__in { grid-template-columns: 1fr; padding-top: 118px; padding-bottom: 72px; gap: 40px; }
  .hero__media img { height: 380px; }
  .service { grid-template-columns: 1fr; gap: 36px; }
  .service__media { order: -1; }
  .service__media img { max-height: 340px; }
  .contact { grid-template-columns: 1fr; gap: 34px; }
  .ftr__in { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  .cards, .why { grid-template-columns: 1fr; }
  .step { padding-left: 60px; }
  .contact__row { grid-template-columns: 1fr; gap: 4px; }
  .work__pair { grid-template-columns: 1fr; }
}

/* Aloqa: qo'shimcha eslatma va xarita */
.contact__extra {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--c3);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, .05);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--tx-inv-2);
}

.contact__map {
  margin-top: 40px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

.contact__map iframe { display: block; border: 0; }
