/* ═══════════════════════════════════════════════
   UzNeyro — pages/partners.html
   Светлая палитра, в стиле основного 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);
  --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--dark:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn--block { width: 100%; border-radius: 14px; }

/* ─── 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 ─── */
.phero { padding: 150px 0 60px; text-align: center; }
.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;
}
.phero__inner { max-width: 720px; }
.phero h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.phero__sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 560px; margin: 1.1rem auto 0; }

/* ─── Sections ─── */
.section { padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5.5rem); }

/* ─── Layout: форма + карточки ─── */
.pgrid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 940px) { .pgrid { grid-template-columns: 1.15fr .85fr; align-items: start; } }

/* ─── Форма ─── */
.pform-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 3vw, 2.4rem); }
.pform { display: flex; flex-direction: column; gap: 1.15rem; }
.pform__row { display: flex; flex-direction: column; gap: .4rem; }
.pform__label { font-weight: 700; font-size: .92rem; }
.pform__input {
  font: inherit; font-size: .98rem; color: var(--text); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 12px; padding: .8rem 1rem;
  transition: border-color .15s, background .15s;
}
.pform__input:focus { outline: none; border-color: var(--blue); background: #fff; }
.pform__select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
.pform__textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.pform__status { font-size: .92rem; font-weight: 600; text-align: center; padding: .2rem; }
.pform__status[data-kind="ok"] { color: #17915a; }
.pform__status[data-kind="err"] { color: #d0455f; }

/* ─── Почему стоит ─── */
.pwhy { display: flex; flex-direction: column; gap: 1.1rem; }
.pwhy__card { background: var(--card); border-radius: var(--r-lg); padding: 1.6rem; }
.pwhy__ico { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--blue); align-items: center; justify-content: center; margin-bottom: .9rem; box-shadow: var(--shadow-sm); }
.pwhy__ico svg { width: 22px; height: 22px; }
.pwhy__card h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .4rem; }
.pwhy__card p { color: var(--muted); font-size: .93rem; }

/* ─── Footer (идентично главной, компактный вариант) ─── */
.foot { background: var(--bg-alt); padding: clamp(2.4rem, 5vw, 3.4rem) 0; border-top: 1px solid var(--border); }
.foot__inner { display: flex; flex-direction: column; gap: 1.4rem; align-items: center; text-align: center; }
.foot__links { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
.foot__links a { color: var(--text); font-size: .92rem; transition: color .15s; }
.foot__links a:hover { color: var(--blue); }
.foot__copy { color: var(--muted); font-size: .86rem; }
@media (min-width: 760px) { .foot__inner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ─── Кнопка «вверх» ─── */
.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 { transform: none; }
}