/* ═══════════════════════════════════════════════
   UzNeyro — pages/about.html («Biz haqimizda» / «О нас»)
   Светлая палитра, в стиле основного index.html/styles.css
   ═══════════════════════════════════════════════ */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --card: #f1f2f5;
  --text: #10131c;
  --muted: #6b7280;
  --border: #e6e8ef;
  --blue: #2a68cd;
  --purple: #d575f8;
  --grad: linear-gradient(135deg, #2a68cd, #d575f8);
  --edu-grad: linear-gradient(135deg, #11998e, #38ef7d);
  --ink: #14161c;
  --r: 16px;
  --r-lg: 24px;
  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 28, .06), 0 1px 3px rgba(16, 19, 28, .05);
  --shadow: 0 10px 30px rgba(16, 19, 28, .08);
  --shadow-lg: 0 24px 60px rgba(16, 19, 28, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.6rem; border: none; border-radius: 999px;
  font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .18s, transform .18s, box-shadow .18s, opacity .18s;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-1px); }
.btn--soft { background: #fff; color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn--soft:hover { background: var(--bg-alt); transform: translateY(-1px); }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.05rem; }

/* ─── Navbar (floating pill) — идентично главной ─── */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; padding: 0 16px; }
.nav__inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1rem;
  background: #fff; border-radius: 999px; padding: .55rem .6rem .55rem 1.5rem; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--text); }
.brand__mark { display: inline-flex; }
.brand__name { font-size: 1.2rem; letter-spacing: -.02em; }
.nav__links { display: none; gap: 1.75rem; margin: 0 auto; }
.nav__links a { color: #3a3f4b; font-weight: 500; font-size: .9rem; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; border: none; border-radius: 999px;
  height: 44px; padding: 0 .5rem; cursor: pointer; transition: background .15s;
}
.lang__btn:hover { background: var(--bg-alt); }
.lang__flag { width: 24px; height: 18px; border-radius: 3px; overflow: hidden; display: block; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(16, 19, 28, .09); }
.lang__flag svg { display: block; width: 100%; height: 100%; }
.lang__chev { color: var(--muted); transition: transform .2s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 194px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 6px; z-index: 200;
}
.lang__menu[hidden] { display: none; }
.lang__opt {
  display: flex; align-items: center; gap: .65rem; width: 100%;
  background: transparent; border: none; border-radius: 10px; padding: .6rem .7rem;
  font: inherit; font-weight: 500; font-size: .95rem; color: var(--text); cursor: pointer; text-align: left;
  transition: background .12s, color .12s;
}
.lang__opt:hover { background: var(--bg-alt); }
.lang__opt[aria-checked="true"] { color: var(--blue); font-weight: 700; background: rgba(42, 104, 205, .08); }
@media (min-width: 900px) { .nav__links { display: flex; } .nav__actions { margin-left: 0; } .brand { flex: 1 1 0; } .nav__actions { flex: 1 1 0; justify-content: flex-end; } }
@media (max-width: 560px) { .nav__inner { padding: .5rem .5rem .5rem .9rem; gap: .5rem; } .brand__name { display: none; } }

/* ─── Hero ─── */
.ahero { padding: 150px 0 40px; text-align: center; }
.ahero__inner { max-width: 780px; }
.eyebrow {
  display: inline-flex; align-items: center; padding: .4rem 1rem; border-radius: 999px;
  background: var(--card); color: var(--blue); font-weight: 700; font-size: .85rem;
  letter-spacing: .02em; margin-bottom: 1.1rem;
}
.ahero h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.ahero__sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 620px; margin: 1.1rem auto 0; }

/* ─── Sections ─── */
.section { padding: clamp(2.2rem, 6vw, 4.2rem) 0; }
.section--alt { background: var(--bg-alt); }
.head { text-align: center; max-width: 680px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.head h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.head p { color: var(--muted); font-size: 1.02rem; margin-top: .6rem; }

/* ─── Миссия + факты ─── */
.amiss { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .amiss { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.amiss__text h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.18; letter-spacing: -.02em; margin-bottom: 1rem; }
.amiss__text p { color: var(--muted); font-size: 1.02rem; }
.amiss__text p + p { margin-top: .9rem; }

.afacts { list-style: none; display: flex; flex-direction: column; gap: .7rem; background: var(--card); border-radius: var(--r-lg); padding: 1.4rem; }
.afact { display: flex; align-items: center; gap: .85rem; background: #fff; border-radius: var(--r); padding: .85rem 1rem; box-shadow: var(--shadow-sm); }
.afact__ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(42, 104, 205, .09); color: var(--blue); flex-shrink: 0; }
.afact__ico svg { width: 19px; height: 19px; }
.afact__txt { font-weight: 600; font-size: .96rem; }

/* ─── Продукты ─── */
.aprods { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .aprods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .aprods { grid-template-columns: repeat(3, 1fr); } }
.aprod {
  display: flex; flex-direction: column; gap: .5rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.aprod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.aprod__ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: .5rem; background: #fff; border: 1px solid var(--border); overflow: hidden; }
.aprod__ico img { width: 100%; height: 100%; object-fit: cover; }
.aprod__ico--round { border-radius: 50%; padding: 0; border-color: transparent; }
.aprod__ico--edu { background: var(--edu-grad); border-color: transparent; border-radius: 50%; }
.aprod__ico--edu img { width: 58%; height: 58%; object-fit: contain; }
.aprod__ico--voice { background: linear-gradient(135deg, #7b45bd, #e0479e); border-color: transparent; }
.aprod__ico--stai { padding: 6px; border-color: transparent; background: var(--card); }
.aprod__ico--stai img { width: 100%; height: 100%; object-fit: contain; }
.aprod__ico--ibilim { padding: 0; border-color: transparent; }
.aprod__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.aprod__desc { color: var(--muted); font-size: .95rem; flex: 1; }
.aprod__go { font-weight: 700; color: var(--blue); font-size: .92rem; margin-top: .3rem; }

/* ─── Принципы (серые карточки, как на главной) ─── */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.gcard { background: var(--card); border-radius: var(--r-lg); padding: 2rem 1.75rem; }
.chk-img { width: 44px; height: 44px; margin-bottom: 1.5rem; }
.gcard h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-bottom: .55rem; }
.gcard p { color: var(--muted); font-size: .97rem; }

/* ─── Наши ресурсы (соцсети) — переехало с главной ─── */
.res-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 620px) { .res-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .res-grid { grid-template-columns: repeat(5, 1fr); } }

.res-card {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.6rem 1rem; text-align: center; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.res-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, .08); }
.res-card__ico { color: var(--muted); transition: color .18s ease; }
.res-card:hover .res-card__ico { color: inherit; }
.res-card__handle { font-weight: 700; font-size: .98rem; letter-spacing: -.01em; word-break: break-all; }

/* ─── CTA ─── */
.acta { background: var(--card); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.2rem); text-align: center; }
.acta h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.acta p { color: var(--muted); margin: .6rem auto 0; max-width: 560px; }
.acta__actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.7rem; }

/* ─── Footer (совпадает с разметкой assets/footer.html) ─── */
.foot { background: var(--bg-alt); padding: clamp(3rem, 6vw, 4.5rem) 0 0; border-top: 1px solid var(--border); }
.foot__grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; padding-bottom: 2.6rem; }
.foot__brand p { color: var(--muted); font-size: .9rem; margin-top: .5rem; max-width: 320px; }
.foot__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.foot__social-ico {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border); color: var(--text);
  transition: background .15s, color .15s, transform .15s;
}
.foot__social-ico:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.foot__col { display: flex; flex-direction: column; gap: .85rem; }
.foot__title { font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.foot__col a { color: var(--text); font-size: .95rem; transition: color .15s; }
.foot__col a:hover { color: var(--blue); }
.foot__bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; display: flex; flex-direction: column; gap: .6rem; }
.foot__copy { color: var(--muted); font-size: .86rem; }
@media (min-width: 640px) {
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 980px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ─── Кнопка «вверх» ─── */
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border: none; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s, filter .2s; }
.totop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop:hover { filter: brightness(1.06); transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .btn:hover, .totop:hover, .aprod:hover, .res-card:hover { transform: none; }
}
