:root {
  --blue: #1a7cf0;
  --blue-deep: #1554c9;
  --navy: #10233d;
  --text: #1d2a3a;
  --muted: #5a6b7d;
  --line: #dce5f0;
  --bg: #f3f7fd;
  --white: #fff;
  --font: "Vazirmatn", Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 35, 61, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.brand-org {
  font-size: 0.74rem;
  color: var(--blue);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: #4d5f73;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--blue-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: 10px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-light {
  background: #fff;
  color: var(--blue-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  padding: 9px 8px;
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background: linear-gradient(135deg, #1483ff 0%, #1a62ea 52%, #3b49d6 100%);
  color: #fff;
}

.hero-wash {
  position: absolute;
  width: 520px;
  height: 520px;
  left: -80px;
  bottom: -180px;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: rotate(12deg);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  line-height: 1.4;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 800;
}

h2 {
  font-size: 1.55rem;
  color: var(--navy);
}

h3 {
  font-size: 1.05rem;
  color: var(--navy);
}

.lead {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 22px;
  max-width: 36rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-pills li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 30, 70, 0.18);
  font-size: 0.84rem;
}

.hero-logo {
  margin: 0;
  background: #fff;
  border-radius: 24px;
  padding: 22px 22px 16px;
  text-align: center;
  box-shadow: 0 24px 50px rgba(8, 28, 78, 0.28);
}

.hero-logo img {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
}

.hero-logo figcaption {
  margin-top: 8px;
  color: #5b6c80;
  font-size: 0.9rem;
  font-weight: 600;
}

.section {
  padding: 72px 0;
  scroll-margin-top: 86px;
}

.section-alt {
  background: var(--bg);
}

.section-head {
  margin-bottom: 28px;
  max-width: 640px;
}

.section-head p,
.specs-grid p,
.contact p {
  color: var(--muted);
  margin: 0 0 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cards article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(21, 54, 110, 0.05);
}

.cards article:hover {
  border-color: #b9d4fb;
  box-shadow: 0 16px 30px rgba(21, 54, 110, 0.1);
}

.cards span {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #e8f2ff, #d5e7ff);
  color: var(--blue-deep);
  font-weight: 800;
}

.cards p,
.tiles p {
  margin: 0;
  color: var(--muted);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.plain-list {
  margin: 0;
  padding: 0 18px 0 0;
}

.plain-list li + li {
  margin-top: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(21, 54, 110, 0.06);
}

.spec-table caption {
  text-align: right;
  font-weight: 700;
  padding-bottom: 10px;
  color: var(--navy);
  caption-side: top;
}

.spec-table th,
.spec-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.spec-table th {
  width: 40%;
  font-weight: 600;
  background: #edf4ff;
  color: var(--navy);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.tiles,
.start-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tiles li {
  padding: 22px 18px;
  border-radius: 18px;
  color: #fff;
  min-height: 170px;
}

.tiles li:nth-child(1) { background: linear-gradient(180deg, #1a86ff, #155fd6); }
.tiles li:nth-child(2) { background: linear-gradient(180deg, #2f6bff, #3a45d4); }
.tiles li:nth-child(3) { background: linear-gradient(180deg, #0ea5d8, #1674d8); }
.tiles li:nth-child(4) { background: linear-gradient(180deg, #2563eb, #1e3a8a); }

.tiles h3 {
  color: #fff;
}

.tiles p {
  color: rgba(255, 255, 255, 0.86);
}

.start-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.start-list li {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  color: var(--muted);
  box-shadow: 0 10px 24px rgba(21, 54, 110, 0.05);
}

.start-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact {
  padding: 72px 0;
  scroll-margin-top: 86px;
  background: linear-gradient(135deg, #1483ff 0%, #1a62ea 100%);
  color: #fff;
}

.contact h2 {
  color: #fff;
}

.contact p {
  color: rgba(255, 255, 255, 0.88);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.company-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 700;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 5px;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f7faff;
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 400;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: #fff;
}

.form-ok {
  margin: 0;
  color: #1b7a45;
}

.site-footer {
  background: #0f2340;
  color: #c5d0dc;
  padding: 28px 0 32px;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-brand img {
  width: 44px;
}

.footer-brand strong {
  display: block;
  color: #fff;
}

.footer-brand p,
.copyright {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .cards,
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px;
    box-shadow: 0 12px 24px rgba(16, 35, 61, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 12px;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .specs-grid,
  .start-list,
  .contact-grid,
  .cards,
  .tiles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-actions .btn-primary {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }
}
