/* oddiy.app — rasmiy sayt.
   Ranglar va shriftlar brendbukdan (Eski/DESIGN_SYSTEM_v1_0_0.md).
   Logotip — rasmiy fayllar, shakli o'zgartirilmaydi: qorong'i fonda
   assets/logo-light.png, yorug' fonda assets/logo-dark.png. */

@font-face {
  font-family: "TT Firs Neue";
  src: url("fonts/TTFirsNeue-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TT Firs Neue";
  src: url("fonts/TTFirsNeue-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "TT Firs Neue";
  src: url("fonts/TTFirsNeue-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "TT Firs Neue";
  src: url("fonts/TTFirsNeue-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --navy: #172430;
  --navy-deep: #0f1922;
  --ink: #1b2733;
  --muted: #6b7a87;
  --paper: #f4f6f8;
  --card: #ffffff;
  --line: #e6eaee;
  --chip: #eef3f7;
  --blue: #4ba9ef;
  --mint: #21d69a;
  --amber: #e0a63a;
  --danger: #e15b4d;
  --tint-blue: #eaf4fe;
  --tint-mint: #e9f8f0;
  --tint-amber: #fcf3e3;
  --tint-danger: #fbedea;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "TT Firs Neue", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------- logotip
   Rasmiy lockup o'z nisbatida, hech qanday ramka, fon yoki yumaloqlashsiz.
   Balandlik bo'yicha o'lchanadi, atrofida kamida belgi balandligining
   yarmicha bo'sh joy qoladi. */

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  height: 38px;
  width: auto;
}

footer .logo img {
  height: 32px;
}

/* ---------------------------------------------------------------- hero */

.hero {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 0;
}

.langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.langs button {
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  cursor: pointer;
}

.langs button[aria-pressed="true"] {
  background: #fff;
  color: var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: end;
  padding: 64px 0 0;
}

.hero-grid > div:first-child {
  padding-bottom: 76px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.hero .lede {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: clamp(17px, 1.6vw, 19.5px);
  color: rgba(255, 255, 255, 0.72);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  background: #fff;
  color: var(--navy);
  border: 1.5px solid #fff;
}

.store.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.store svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.hero-note {
  margin: 20px 0 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* telefon — oddiy, brend ranglarida yumshoq yorug'lik bilan */

.phone {
  position: relative;
  width: 100%;
  max-width: 310px;
  margin-inline: auto;
  border-radius: 40px;
  padding: 9px;
  background: #0a141c;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.phone img {
  width: 100%;
  border-radius: 32px;
}

/* Qahramon bo'limidagi telefon pastki chekkadan "chiqib turadi":
   ekranning yuqori qismi ko'rinadi, qolgani kesiladi. */
.hero-phone {
  position: relative;
}

.hero-phone::before {
  content: "";
  position: absolute;
  inset: 14% -10% 0 -10%;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(closest-side, rgba(75, 169, 239, 0.26), transparent 72%),
    radial-gradient(closest-side at 72% 70%, rgba(33, 214, 154, 0.22), transparent 70%);
}

.hero-phone .phone {
  position: relative;
  height: 470px;
  overflow: hidden;
  padding-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}

.hero-phone .phone img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* ------------------------------------------------------------ bo'limlar */

section {
  padding: 84px 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  max-width: 19ch;
}

.section-note {
  margin: 16px 0 0;
  max-width: 54ch;
  color: var(--muted);
}

/* xizmatlar — ro'yxat, bir xil kartochkalar emas */

.services {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
}

.svc {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.svc .glyph {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.svc .glyph svg {
  width: 22px;
  height: 22px;
}

.svc h3 {
  margin: 2px 0 4px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.svc p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* ekranlar */

.showcase {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shots {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

/* To'liq ekran: xaritada A→B marshruti, manzillar, tariflar va tugma —
   hammasi bir ko'rinishda. Izoh telefon tagida. */
.shot .phone {
  max-width: 252px;
  margin: 0 0 24px;
  border-radius: 32px;
  padding: 7px;
  box-shadow: 0 18px 44px rgba(23, 36, 48, 0.16);
}

.shot .phone img {
  border-radius: 26px;
}

.shot > div {
  max-width: 46ch;
}

.shot h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.shot p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ijrochilar — sahifadagi yagona to'q panel */

.hub {
  background: var(--navy);
  color: #fff;
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: center;
}

.hub h2 {
  color: #fff;
  max-width: 17ch;
}

.hub > div:first-child > p {
  margin: 16px 0 0;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.72);
}

.hub ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 50ch;
}

.hub li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
}

.hub li b {
  color: #fff;
}

.hub li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--mint);
}

.hub .stores {
  margin-top: 30px;
}

.hub .phone {
  max-width: 300px;
  height: 470px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.hub .phone img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* qadamlar — haqiqiy ketma-ketlik, shuning uchun raqamlangan */

.steps {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding-top: 20px;
  border-top: 2px solid var(--navy);
}

.step::before {
  content: counter(step);
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* aloqa */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 48px 52px;
}

.contact dl {
  margin: 0;
  display: grid;
  gap: 18px;
}

.contact dt {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
}

.contact dd {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 500;
}

.contact a {
  color: var(--ink);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.contact a:hover {
  text-decoration-color: var(--blue);
}

.docs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.docs a {
  display: block;
  padding: 15px 20px;
  border-radius: 14px;
  background: var(--paper);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}

.docs a:hover {
  background: var(--chip);
}

footer {
  padding: 36px 0 52px;
  border-top: 1px solid var(--line);
}

footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14.5px;
}

:where(a, button):focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------- mobil */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 52px;
  }
  .hero-phone {
    order: 2;
  }
  .hero-phone .phone {
    height: 380px;
  }
  .hero-grid > div:first-child {
    padding-bottom: 0;
  }
  .hub {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 34px;
  }
  .hub .phone {
    margin-inline: auto;
    height: 400px;
  }
  .services,
  .shots,
  .steps,
  .contact {
    grid-template-columns: 1fr;
  }
  .shots {
    gap: 36px;
  }
  .contact {
    padding: 32px 24px;
    gap: 32px;
  }
  section {
    padding: 60px 0;
  }
  .shell {
    padding: 0 16px;
  }
  .logo img {
    height: 32px;
  }
}

@media (max-width: 560px) {
  .shot .phone {
    max-width: 228px;
    margin-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
