/* ============================================================
   Նոր տաքսի ցանց — ոճեր
   ============================================================ */

/* ── Տառատեսակներ (տեղական՝ assets/fonts) ───────────────────── */

/* Noto Sans Armenian */
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/noto-sans-armenian-armenian.woff2') format('woff2');
  unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17;
}
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/noto-sans-armenian-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;
}
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/noto-sans-armenian-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;
}

/* Noto Serif Armenian */
@font-face {
  font-family: 'Noto Serif Armenian';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/noto-serif-armenian-armenian.woff2') format('woff2');
  unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17;
}
@font-face {
  font-family: 'Noto Serif Armenian';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/noto-serif-armenian-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;
}
@font-face {
  font-family: 'Noto Serif Armenian';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/noto-serif-armenian-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;
}

/* ── Բազա ───────────────────────────────────────────────────── */

:root {
  --yellow: #FFC72C;
  --yellow-deep: #F0AE00;
  --yellow-press: #d99900;
  --ink: #17140c;
  --paper: #fdfcf9;
  --danger: #c23b22;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  font-family: 'Noto Sans Armenian', 'Noto Serif Armenian', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(0, 0, 0, 0.15); }

[hidden] { display: none !important; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Վերին շաշկի ──────────────────────────────────────────── */

.checker { display: flex; width: 100%; height: 8px; }
.checker__cell { flex: 1; }
.checker__cell--ink { background: var(--ink); }
.checker__cell--yellow { background: var(--yellow); }

/* ── Պրոմո բաններ ─────────────────────────────────────────── */

.promo {
  background: var(--ink);
  color: var(--yellow);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
}

/* ── Հեդեր ────────────────────────────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.brand__name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.15s ease;
}
.nav-link:hover { opacity: 0.6; }

/* ── Կոճակներ ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  padding: 15px 28px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn--sm { font-size: 15px; padding: 11px 24px; }

.btn--dark { background: var(--ink); color: var(--yellow); }
.btn--dark:hover { background: #000; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 13px 26px;
}
.btn--outline:hover { background: rgba(0, 0, 0, 0.08); }

/* ── Հերոս բլոկ ───────────────────────────────────────────── */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.hero__text { flex: 1 1 440px; min-width: 280px; }

.badge {
  display: inline-flex;
  background: var(--ink);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 20px;
}

.hero__title {
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 14px;
  max-width: 480px;
}

.hero__sub {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.75;
  margin: 0 0 32px;
  max-width: 480px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__art { flex: 1 1 380px; min-width: 280px; display: flex; justify-content: center; }

.hero__card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 199, 44, 0.08) 0 18px, transparent 18px 36px);
}

.hero__taxi { position: relative; width: 62%; height: 62%; }

/* ── Բաժիններ ─────────────────────────────────────────────── */

.section { max-width: 1180px; margin: 0 auto; padding: 56px 32px; }

.eyebrow {
  color: var(--ink);
  opacity: 0.55;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.section__title { font-weight: 800; font-size: 32px; margin: 0 0 12px; }

.section__lead { font-size: 16px; opacity: 0.7; margin: 0 0 32px; max-width: 560px; }

.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.cards--steps { gap: 24px; }

.card {
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cards--steps .card { flex: 1 1 220px; padding: 24px; gap: 10px; }

.card--dark { background: var(--ink); color: var(--yellow); }

.card__title { font-weight: 700; font-size: 18px; }

.card__text { font-size: 14px; opacity: 0.75; margin: 0; }
.card--dark .card__text { opacity: 0.85; }

.step__num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

/* ── Ձևը ──────────────────────────────────────────────────── */

.form-section { padding: 56px 32px 88px; }

.form-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.form__title { font-weight: 800; font-size: 26px; margin: 0 0 8px; text-align: center; }

.form__lead { font-size: 14px; opacity: 0.7; margin: 0 0 28px; text-align: center; }

.form { display: flex; flex-direction: column; gap: 18px; }

.field__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.field__input::placeholder { color: rgba(23, 20, 12, 0.4); }

.field__input:focus { border-color: var(--yellow-deep); outline: none; }

.field__input.is-invalid { border-color: var(--danger); }

.field__error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
  min-height: 0;
}
.field__error:empty { display: none; }

.form__alert {
  background: rgba(194, 59, 34, 0.08);
  border: 1px solid rgba(194, 59, 34, 0.35);
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 14px;
}

.btn-submit {
  width: 100%;
  margin-top: 6px;
  min-height: 52px;
  font-weight: 800;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  border: none;
  border-radius: 999px;
  background: var(--yellow);
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-submit:hover { background: var(--yellow-deep); }
.btn-submit:active { background: var(--yellow-press); }
.btn-submit[disabled] { opacity: 0.6; cursor: default; }

.form__note { font-size: 12px; opacity: 0.55; text-align: center; margin: 0; }

/* Սպամ-թակարդ — թաքցված է այցելուից, բայց հասանելի բոտին */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Հաջողության վիճակ ────────────────────────────────────── */

.success { text-align: center; padding: 20px 0; animation: fadeUp 0.4s ease; }

.success__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.success__title { font-weight: 800; font-size: 24px; margin: 0 0 10px; }

.success__text { font-size: 15px; opacity: 0.75; margin: 0; }

/* ── Ֆուտեր ───────────────────────────────────────────────── */

.site-footer { padding: 24px 32px; text-align: center; }
.site-footer div { font-size: 12px; opacity: 0.55; font-weight: 600; }

/* ── Ադապտիվ ──────────────────────────────────────────────── */

@media (max-width: 640px) {
  .site-header { padding: 16px 20px; gap: 12px; }
  .nav-link { display: none; }
  .hero { padding: 32px 20px 48px; gap: 32px; }
  .section { padding: 40px 20px; }
  .section__title { font-size: 26px; }
  .form-section { padding: 40px 20px 64px; }
  .form-card { padding: 28px 20px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
