/* A’ZO landing — original design (values from the old Vue/landing CSS), clearer behaviour.
   Loaded after apple-present-v2.css (Filial guide) and azo-pwa-install.css. */

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/caveat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/caveat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #222;
  color: #1d1d1f;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body[data-page="home"] { background: #222; }
body[data-page="partners"] { background: #111; }
body[data-page="light"] { background: #f4f4f4; }
body[data-page="dark"] { background: #171717; }
body[data-page="guide"] { background: #f5f5f7; }

#app {
  outline: none;
  overflow-x: clip;
}

img {
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[tabindex="-1"]:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #0668e1;
  outline-offset: 2px;
}

/* ---------- gentle motion ---------- */

@keyframes page-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

/* One letter appearing: plain fade-in, nothing else */
@keyframes slogan-ch {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* "backwards", not "both": a transform left on the page after the slide-in
   would turn the fixed Back pill into a scrolling one */
.page-in {
  animation: page-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* ---------- language menu (same look as before, now shows the current language) ---------- */

.lang-select-wrap {
  position: relative;
  flex: none;
}

/* Plain globe icon (no border); 44px tap area, soft highlight like the nav links */
.lang-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6e6e6e;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.06);
}

.lang-globe {
  display: block;
  width: 20px;
  height: 20px;
}

.lang-flag {
  flex: none;
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.control-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.control-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
}

.control-option:hover,
.control-option.is-active {
  background: rgba(0, 0, 0, 0.06);
}

.lang-name {
  margin-left: auto;
  color: #6e6e73;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---------- home ---------- */

.top-controls {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
}

.top-text-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #7a7a7a;
  font-size: clamp(0.74rem, 1.5vw, 0.9rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.top-text-btn:hover {
  color: #555;
  background: rgba(0, 0, 0, 0.06);
}

.brand-stage {
  display: grid;
  place-items: center;
  padding: clamp(14px, 2.4vw, 30px) 16px clamp(18px, 2.6vw, 34px);
  background: #fff;
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: clamp(2px, 0.8vw, 10px);
}

.brand-mark {
  --logo: clamp(104px, 11vw, 156px);
  position: relative;
  width: var(--logo);
  height: var(--logo);
  margin: calc(var(--logo) * 0.31);
}

.brand-image {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-slogan {
  margin: 0;
  color: #1d1d1f;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}

.brand-slogan .ch {
  display: inline-block;
  animation: slogan-ch 0.7s ease-out var(--d) both;
}

/* Home always fills at least one screen; the dark tiles area reaches the bottom */
.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.services-stage {
  --footer-gap: clamp(18px, 3vw, 34px);
  --footer-bottom: clamp(14px, 2vw, 22px);
  position: relative;
  flex: 1 0 auto;
  /* bottom padding keeps room for the credit line pinned in the corner */
  padding: clamp(24px, 3.6vw, 52px) clamp(16px, 4vw, 56px) calc(var(--footer-gap) + 12px + var(--footer-bottom));
  background: #222;
  /* soft, short shade where the white logo area meets the dark tiles */
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 3.1vw, 44px);
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: clamp(22px, 2.8vw, 44px);
  line-height: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  transition: transform 0.35s, box-shadow 0.35s;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  pointer-events: none;
}

a.service-card:hover,
a.service-card:focus-visible {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.service-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.service-card.is-coming-soon {
  cursor: default;
}

.service-card.is-coming-soon .service-image {
  filter: blur(5px) saturate(0.9);
  transform: scale(1.04);
}

.service-soon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Credit line: bottom-right corner on every screen size */
.footer-powered {
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: var(--footer-bottom);
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.62rem;
  line-height: 12px;
  letter-spacing: 0.01em;
  text-align: right;
}

@media (max-width: 700px) {
  .top-controls {
    gap: 0;
    padding: 8px 10px;
  }

  .top-text-btn {
    padding: 0 8px;
    letter-spacing: 0.03em;
  }

  .lang-globe {
    width: 19px;
    height: 19px;
  }

  /* Phone: the white logo area (not the dark one) takes all height the tiles
     leave free, so the home page fills exactly one screen */
  .brand-stage {
    flex: 1 0 auto;
    padding: 20px 16px 26px;
    /* taller phones: extra room on top moves logo + slogan a bit lower
       (iPhone 14 ≈ 25px); short phones keep 20px, they have no space to spare */
    padding-top: calc(20px + clamp(0px, (100dvh - 700px) * 0.34, 64px));
  }

  .services-stage {
    flex: 0 0 auto;
  }

  /* bigger logo on tall phones, never pushing the tiles off short ones;
     the wide margin was room for the old dot rings, not needed now */
  .brand-mark {
    --logo: clamp(104px, min(36vw, 17dvh), 150px);
    margin: calc(var(--logo) * 0.14);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 440px;
  }

  .service-card {
    border-radius: 22px;
  }

}

/* ---------- partners ---------- */

.service-page {
  display: grid;
  grid-template-columns: minmax(140px, 21vw) minmax(0, 1fr);
  align-items: start;
  min-height: 100vh;
  background: #111;
}

.service-page-side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 76px clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px);
  background: #000;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.service-page-logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: clamp(16px, 2vw, 24px);
}

.azo-site-back {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  z-index: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.2s, transform 0.2s;
}

.azo-site-back:hover {
  background: rgba(40, 40, 40, 0.9);
  transform: translateX(-3px);
}

.azo-site-back b {
  font-size: 0.82rem;
  font-weight: 600;
}

.service-page-main {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 5vw, 64px) clamp(24px, 5vw, 72px) clamp(48px, 6vw, 80px);
  color: #f5f5f5;
  background: #111;
}

.info-kicker {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.info-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.info-tagline {
  max-width: min(100%, 68ch);
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.5;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.info-btn:hover {
  transform: translateY(-2px);
}

.info-btn-icon {
  flex: none;
  width: 18px;
  height: 18px;
}

.info-btn-primary {
  color: #111;
  background: #fff;
}

.info-btn-primary:hover {
  background: #e8e8e8;
}

.info-btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.info-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #fff;
}

/* Ko‘rsatmalar (the old chooser cards, now right on the page) */

.instr-block {
  margin-top: 44px;
}

.instr-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.instr-lead {
  max-width: 60ch;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* cards as wide as the page content (same right edge as features + phone numbers) */
.azo-instr-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: min(100%, 920px);
  margin-top: 20px;
}

.azo-instr-pick {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 200px;
  padding: 28px 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

a.azo-instr-pick:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

a.azo-instr-pick:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.08);
}

.azo-instr-pick-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.92);
}

.azo-instr-pick-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.azo-instr-pick strong {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.azo-instr-pick-desc {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pick-go,
.soon-badge {
  margin-top: 2px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pick-go {
  background: #fff;
  color: #111;
}

.soon-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.azo-instr-pick.is-soon {
  cursor: default;
}

.azo-instr-pick.is-soon .azo-instr-pick-icon,
.azo-instr-pick.is-soon strong {
  opacity: 0.6;
}

.info-text-block {
  display: grid;
  gap: 14px;
  max-width: min(100%, 78ch);
  margin-top: 44px;
}

.info-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.75;
}

.info-text strong {
  color: #fff;
  font-weight: 600;
}

.info-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  max-width: min(100%, 920px);
  margin: 40px 0 0;
}

.info-features li {
  display: grid;
  gap: 8px;
}

.info-features strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.info-features span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.98rem;
  line-height: 1.65;
}

.info-contacts-wrap {
  max-width: min(100%, 920px);
  margin-top: 40px;
}

.info-cooperations {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.info-contact {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.info-contact:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
}

.info-contact span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-contact strong {
  font-size: 0.98rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .service-page {
    grid-template-columns: 1fr;
  }

  .service-page-side {
    position: static;
    height: auto;
    display: grid;
    place-items: center;
    padding: 64px 12px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .service-page-logo {
    width: min(40vw, 170px);
    border-radius: 16px;
  }

  .service-page-main {
    padding: 22px 16px 40px;
  }

  .info-title {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  .info-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }

  .info-contacts {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .azo-site-back {
    top: max(10px, env(safe-area-inset-top));
    left: max(10px, env(safe-area-inset-left));
    padding-inline: 12px;
  }

  .info-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
  }

  .info-btn {
    width: 100%;
  }

  .instr-block {
    margin-top: 32px;
  }

  .azo-instr-pick-grid {
    gap: 10px;
  }

  .azo-instr-pick {
    min-height: 0;
    padding: 20px 10px 16px;
    gap: 9px;
    border-radius: 20px;
  }

  .azo-instr-pick-icon {
    width: 56px;
    height: 56px;
  }

  .azo-instr-pick-icon svg {
    width: 28px;
    height: 28px;
  }

  /* scales down on narrow phones so "Foydalanuvchilar" fits a 320px screen */
  .azo-instr-pick strong {
    font-size: clamp(0.9rem, 4.3vw, 1.12rem);
  }

  .azo-instr-pick-desc {
    font-size: 0.8rem;
  }

  .info-text-block {
    margin-top: 32px;
  }

  .info-text {
    font-size: 0.95rem;
  }
}

/* ---------- about / news / contact ---------- */

.info-page {
  min-height: 100vh;
}

.info-page-light {
  background: #f4f4f4;
}

.info-page-dark {
  background: #171717;
}

.info-page-bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(17, 17, 17, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.info-page-light .info-page-bar {
  background: rgba(244, 244, 244, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.service-page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.service-page-back:hover {
  color: #fff;
  transform: translateX(-3px);
}

.info-page-light .service-page-back {
  color: #222;
}

.info-page-light .service-page-back:hover {
  color: #000;
}

.back-arrow {
  /* the arrow glyph sits low in the font; lift it onto the word's middle */
  position: relative;
  top: -1px;
  line-height: 1;
}

.content-section {
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 80px);
}

.content-section-light {
  color: #111;
  background: #f4f4f4;
}

.content-section-dark {
  color: #f3f3f3;
  background: #171717;
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

.section-title {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* About heading: one sentence per line ("Many opportunities." stays on one row) */
.about-title {
  max-width: none;
}

.about-title .title-line {
  display: block;
}

.section-lead {
  max-width: 54ch;
  margin: 16px 0 0;
  line-height: 1.65;
  opacity: 0.72;
}

.section-lead + .section-lead {
  margin-top: 10px;
}

.section-lead strong {
  font-weight: 700;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin-top: 36px;
}

.about-point {
  padding: 18px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.about-point h3 {
  margin: 0;
  font-size: 1.05rem;
}

.about-point p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.68;
}

.news-list {
  display: grid;
  max-width: 820px;
  margin-top: 28px;
}

.news-item {
  padding: 22px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.news-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.news-item time {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}

.news-item h3 {
  margin: 8px 0 0;
  font-size: 1.15rem;
}

.news-item p {
  margin: 8px 0 0;
  line-height: 1.55;
  opacity: 0.68;
}

.contact-cooperations {
  max-width: 640px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin-top: 14px;
}

.contact-link {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.contact-link span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

.contact-link strong {
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-points,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 36px 16px;
  }

  .section-title {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .info-page-bar {
    padding: 6px 10px;
  }

  .news-item {
    padding: 16px 0;
  }
}

/* ---------- Filial guide: original slideshow, one slide at a time ---------- */

.azo-ap2-scroller {
  scroll-snap-type: none;
}

.azo-ap2-slide {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

/* Slides with lists may be taller than the screen: let them scroll */
.azo-ap2-slide.is-hero,
.azo-ap2-slide.is-capabilities,
.azo-ap2-slide.is-faq,
.azo-ap2-slide.is-end {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}

.azo-ap2-slide.is-capabilities .azo-ap2-inner,
.azo-ap2-slide.is-faq .azo-ap2-inner {
  height: auto;
}

.azo-ap2-cap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
}

.azo-ap2-faq-grid {
  grid-template-rows: none;
}

.azo-ap2-back {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.azo-ap2-start {
  margin-top: 28px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #111113;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.azo-ap2-start:hover {
  background: #0668e1;
  transform: translateY(-2px);
}

.azo-ap2-lightbox p {
  max-width: min(90vw, 70ch);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 1000px) {
  .azo-ap2-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  /* Phones: every slide scrolls normally, nothing is cut or zoomed */
  .azo-ap2-slide,
  .azo-ap2-slide.is-story {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
    padding: 74px 14px 76px;
  }

  .azo-ap2-inner {
    height: auto;
  }

  .azo-ap2-note {
    display: block;
    font-size: 14px;
  }

  .azo-ap2-workspace {
    grid-template-rows: auto auto auto;
  }

  .azo-ap2-shot {
    position: relative;
    inset: auto;
    display: none;
  }

  .azo-ap2-shot.is-active {
    display: block;
  }

  .azo-ap2-browser {
    height: auto;
  }

  .azo-ap2-image-wrap {
    aspect-ratio: var(--ratio, 16 / 10);
  }

  .azo-ap2-image-wrap.is-prepared img,
  .azo-ap2-image-wrap img {
    object-fit: contain !important;
    transform: none !important;
  }

  .azo-ap2-step b {
    max-width: 180px;
    font-size: 13px;
  }

  .azo-ap2-step-copy {
    font-size: 14px;
  }

  .azo-ap2-cap-grid,
  .azo-ap2-faq-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .azo-ap2-cap-card p {
    font-size: 14px;
    line-height: 1.4;
  }

  .azo-ap2-cap-card h3 {
    font-size: 19px;
  }

  .azo-ap2-faq-card {
    padding: 14px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
  }

  .azo-ap2-faq-card > span {
    font-size: 11px;
  }

  .azo-ap2-faq-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .azo-ap2-faq-card p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* 11vw lets the longest word ("Foydalanuvchining") fit a 320px screen */
  .azo-ap2-hero-content h1 {
    font-size: clamp(32px, 11vw, 60px);
    overflow-wrap: break-word;
  }

  .azo-ap2-end-content h2 {
    font-size: clamp(40px, 12vw, 60px);
  }

  /* ← → in a solid bottom bar so it never covers the text */
  .azo-ap2-nav {
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 14px;
    padding: 8px 14px max(8px, env(safe-area-inset-bottom));
    background: #f5f5f7;
    border-top: 1px solid rgba(17, 17, 19, 0.08);
  }

  .azo-ap2-nav button {
    width: 44px;
    height: 44px;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
