/* ==========================================================================
   IT WEEK — ommaviy sayt uslublari.
   ========================================================================== */

:root { font-size: 16px; }

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', 'Inter', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--surface-page);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* --- FON: texnik to'r + ikki nurli yoritgich ---------------------------
   To'r CSS gradientlar bilan chiziladi (rasm emas) — hajmi nol, har
   ekranda aniq va yorug'ligini token bilan boshqarib bo'ladi. */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--surface-page);
  background-image:
    /* yuqori chapdagi siyan nuri */
    radial-gradient(900px 520px at 12% -8%, rgba(34, 211, 238, 0.16), transparent 62%),
    /* o'ng tomondagi binafsha nuri */
    radial-gradient(760px 520px at 102% 12%, rgba(168, 85, 247, 0.14), transparent 58%),
    /* pastdagi sokin yoritgich */
    radial-gradient(1100px 600px at 50% 112%, rgba(34, 211, 238, 0.08), transparent 60%),
    /* to'r: vertikal + gorizontal chiziqlar */
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 56px 56px, 56px 56px;
}

/* To'r ekran chetlariga yetganda keskin uzilib qolmasligi uchun yuqori va
   pastdan asta so'nadi. */
.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--surface-page) 0%, transparent 18%, transparent 82%, var(--surface-page) 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ==========================================================================
   SARLAVHA (sayt tepasi)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(8, 11, 20, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.site-header__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-header__logo { height: 34px; width: auto; flex: none; }
.site-header__title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.site-header__title strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-header__title span {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.site-header__nav { display: flex; align-items: center; gap: 6px; }
.site-header__nav a {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}
.site-header__nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
@media (max-width: 720px) {
  .site-header__nav a { display: none; }
  .site-header__nav a.site-header__cta { display: inline-flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero { position: relative; padding: 56px 0 40px; text-align: center; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.chip svg {
  width: 14px; height: 14px; flex: none;
  fill: none; stroke: var(--accent);
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.chip--accent {
  border-color: var(--border-accent);
  background: var(--accent-soft);
  color: var(--cyan-300);
}

.hero__title {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.02;
}
/* Sarlavha gradient bilan bo'yaladi. `color: transparent` gradient
   qo'llanmagan brauzerda matnni ko'rinmas qilib qo'yardi, shu sababli
   avval oddiy rang beriladi va gradient uning USTIGA qo'yiladi. */
.hero__title .grad {
  color: var(--cyan-300);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.4vw, 1.08rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ==========================================================================
   TUGMALAR
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

.btn-primary {
  background: var(--gradient-cta);
  color: var(--text-on-accent);
  box-shadow: var(--glow-accent);
}
.btn-primary:hover { background: var(--gradient-cta-hover); box-shadow: var(--glow-accent-strong); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); border-color: var(--border-accent); }

.btn-quiet {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-quiet:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

/* ==========================================================================
   COUNTDOWN
   ========================================================================== */

.countdown {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 26px auto 0;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.countdown__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.countdown__numbers { display: flex; align-items: flex-start; gap: 4px; }
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.countdown__unit strong {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  /* tabular-nums — raqamlar bir xil kenglikda, ya'ni sanoq paytida
     qatorning uzunligi o'zgarib "sakrab" turmaydi. */
  font-variant-numeric: tabular-nums;
  color: var(--cyan-300);
}
.countdown__unit span {
  margin-top: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.countdown__sep { align-self: center; color: var(--text-faint); font-weight: 800; }
.countdown__closed {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 340px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--warning-soft);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--warning-text);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
}

/* ==========================================================================
   BO'LIMLAR
   ========================================================================== */

.section { position: relative; padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.section-head__kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-300);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
}
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 4.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   YO'NALISH KARTALARI
   ========================================================================== */

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.direction-card {
  --glow: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  text-align: left;
  width: 100%;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .2s ease;
}
/* Tepadagi rangli chiziq — yo'nalish rangi (kartaning "identifikatori"). */
.direction-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--glow), transparent 85%);
}
.direction-card:hover,
.direction-card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--glow) 45%, transparent);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5),
              0 0 0 1px color-mix(in srgb, var(--glow) 32%, transparent),
              0 10px 34px color-mix(in srgb, var(--glow) 18%, transparent);
}
.direction-card:focus-visible { outline: none; }

.direction-card__top { display: flex; align-items: center; gap: 14px; }
.direction-card__icon {
  width: 46px; height: 46px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--glow);
  background: color-mix(in srgb, var(--glow) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--glow) 32%, transparent);
}
.direction-card__icon svg { width: 24px; height: 24px; }
.direction-card h3 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.direction-card__tavsif {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Jamoa belgisi: "1 kishi" / "2 kishi" / "jamoa" */
.direction-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.tag--accent {
  color: var(--cyan-300);
  background: var(--accent-soft);
  border-color: var(--border-accent);
}
.tag--violet {
  color: var(--violet-300);
  background: var(--accent-2-soft);
  border-color: rgba(168, 85, 247, 0.4);
}

/* Bosqichlar ro'yxati kartada */
.direction-card__bosqichlar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.bosqich-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.78rem;
}
.bosqich-row__dot {
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--glow);
  transform: translateY(-2px);
}
.bosqich-row__nomi { color: var(--text-secondary); font-weight: 600; }
.bosqich-row__sana { color: var(--text-faint); margin-left: auto; white-space: nowrap; }

/* ==========================================================================
   E'LON KARTALARI
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.news-card {
  --glow: var(--accent);
  padding: 22px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--glow) 10%, transparent) 0%, rgba(255,255,255,0.015) 100%),
    var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--glow);
  border-radius: var(--radius-lg);
  transition: transform .16s ease, box-shadow .18s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; }
.news-card p { margin: 0; color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ==========================================================================
   ALOQA
   ========================================================================== */

.contact { padding: 20px 0 64px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .16s ease, border-color .18s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: var(--border-accent); }
.contact-card__icon {
  width: 46px; height: 46px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: #fff;
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__text { display: flex; flex-direction: column; }
.contact-card__text strong { font-size: 0.95rem; }
.contact-card__text span { font-size: 0.84rem; color: var(--text-muted); }

.site-footer {
  padding: 24px 0 36px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--surface-overlay);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 16px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-overlay--center { align-items: center; }

.modal-window {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: translateY(-28px);
  opacity: 0;
  transition: transform .26s cubic-bezier(.2, .9, .3, 1.15), opacity .2s ease;
  overflow: hidden;
}
.modal-overlay.is-open .modal-window { transform: translateY(0); opacity: 1; }
.modal-scroll { max-height: 92vh; overflow-y: auto; padding: 28px 26px 26px; }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 1rem;
  z-index: 2;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.12); color: var(--text); }

.modal-head { text-align: center; margin-bottom: 20px; padding-right: 30px; }
.modal-head h2 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; }
.modal-head p { margin: 0; color: var(--text-muted); font-size: 0.86rem; }

.message-modal__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
  background: var(--success-soft);
  color: var(--success-text);
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.message-modal__icon.is-info {
  background: var(--info-soft);
  color: var(--info-text);
  border-color: var(--border-accent);
}

/* ==========================================================================
   FORMA
   ========================================================================== */

.form-row { margin-bottom: 14px; }
.form-row > label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-input);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--input-placeholder); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}
/* To'q fonda tizim select ro'yxati oq bo'lib ketmasligi uchun
   variantlarga ham rang beramiz (Firefox/Chrome Linux'da kerak). */
.form-row select option { background: var(--ink-800); color: var(--text); }
.form-row input:disabled,
.form-row select:disabled { opacity: 0.5; cursor: not-allowed; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-grid-yosh { display: grid; grid-template-columns: minmax(90px, 0.5fr) 1fr; gap: 14px; }
@media (max-width: 620px) {
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
}

.form-hint { margin: 5px 0 0; font-size: 0.76rem; color: var(--text-faint); line-height: 1.45; }

.form-alert {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.form-alert.show { display: block; }
.form-alert.error { background: var(--error-soft); color: var(--error-text); border-color: rgba(251, 113, 133, 0.35); }
.form-alert.success { background: var(--success-soft); color: var(--success-text); border-color: rgba(52, 211, 153, 0.35); }

/* Xato bo'lgan maydon — chegara + nur. `!important`: forma elementlari
   uchun fokus uslublari bilan to'qnashmasligi kerak, aks holda maydonga
   bosilganda xato belgisi yo'qolib qolardi. */
.maydon-xato,
.maydon-xato:focus {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.18) !important;
}

/* Honeypot — ekranda ko'rinmaydi, lekin `display:none` EMAS: ba'zi
   botlar yashirilgan maydonni aniqlab o'tkazib yuboradi. */
.hp-field {
  position: absolute;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --- Forma bo'limi (sardor / jamoa / ustoz) --------------------------- */
.form-block {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}
.form-block__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.form-block__head h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-300);
}
.form-block__head .tag { margin-left: auto; }

/* --- Sherik qatorlari ------------------------------------------------- */
.sherik-list { display: flex; flex-direction: column; gap: 12px; }
.sherik-item {
  position: relative;
  padding: 14px 14px 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}
.sherik-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sherik-item__head strong {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sherik-ochir {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1;
}
.sherik-ochir:hover { color: var(--error); border-color: rgba(251, 113, 133, 0.45); background: var(--error-soft); }
.sherik-ochir:disabled { opacity: 0.3; cursor: not-allowed; }

.sherik-qosh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--border-accent);
  background: var(--accent-soft);
  color: var(--cyan-300);
  font-weight: 700;
  font-size: 0.86rem;
  transition: background .15s ease, border-color .15s ease;
}
.sherik-qosh:hover { background: rgba(34, 211, 238, 0.2); border-style: solid; }
.sherik-qosh:disabled { opacity: 0.4; cursor: not-allowed; }
.sherik-qosh__plus { font-size: 1.1rem; line-height: 1; font-weight: 800; }

/* ==========================================================================
   SERTIFIKAT SAHIFALARI
   ========================================================================== */

.sert-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}
.sert-card {
  width: 100%;
  max-width: 500px;
  padding: 34px 30px 30px;
  text-align: center;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.sert-logo { height: 38px; width: auto; margin: 0 auto 20px; }
.sert-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sert-card h1 { margin: 0 0 12px; font-size: 1.4rem; line-height: 1.25; }
.sert-sub { margin: 0 0 22px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.sert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid transparent;
}
.sert-badge--ok { background: var(--success-soft); color: var(--success-text); border-color: rgba(52, 211, 153, 0.35); }
.sert-badge--bad { background: var(--error-soft); color: var(--error-text); border-color: rgba(251, 113, 133, 0.35); }
.sert-badge--kut { background: var(--info-soft); color: var(--info-text); border-color: var(--border-accent); }

.sert-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 22px; }
.sert-meta > div {
  min-width: 165px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.sert-meta span {
  display: block;
  margin-bottom: 3px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sert-meta strong { font-size: 0.96rem; font-weight: 800; }

.sert-ism-form { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 0; }
.sert-ism-form input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-input);
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
  text-align: center;
}
.sert-ism-form input::placeholder { color: var(--input-placeholder); }
.sert-ism-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}
.sert-xato { margin: 12px 0 0; color: var(--error-text); font-size: 0.84rem; font-weight: 600; }
.sert-hint { margin: 12px 0 0; font-size: 0.76rem; color: var(--text-faint); }

/* ==========================================================================
   XATO SAHIFALARI
   ========================================================================== */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.error-card {
  width: 100%;
  max-width: 460px;
  padding: 44px 34px;
  text-align: center;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.error-card img { height: 38px; width: auto; margin: 0 auto 22px; }
.error-card .error-code {
  margin-bottom: 8px;
  font-size: 4.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--cyan-300);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-card h1 { margin: 0 0 10px; font-size: 1.2rem; }
.error-card p { margin: 0 0 26px; color: var(--text-muted); font-size: 0.92rem; }
.error-card .error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   TASDIQLASH JUMBOG'I
   ========================================================================== */

#tekshiruv-savol {
  margin-bottom: 6px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan-300);
}
#tekshiruv-javob {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-input);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
}
#tekshiruv-javob:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}
#tekshiruv-xato {
  display: none;
  margin-top: 10px;
  color: var(--error-text);
  font-size: 0.82rem;
  font-weight: 600;
}
#tekshiruv-xato.show { display: block; }

/* ==========================================================================
   PAYDO BO'LISH ANIMATSIYASI
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .direction-card:hover, .news-card:hover, .contact-card:hover { transform: none; }
  .modal-window { transition: opacity .15s ease; transform: none; }
}
