:root {
  --navy: #001c3d;
  --navy-soft: #0a2d52;
  --cyan: #0096ff;
  --cyan-hover: #007dcc;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --border: #dfe5ec;
  --text: #1a2b3c;
  --muted: #5c6f82;
  --success: #0d8a5b;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0, 28, 61, 0.07);
  --tab-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  padding-bottom: calc(var(--tab-h) + 12px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: var(--cyan-hover);
}

.wrap {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--cyan);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.header-cta:hover {
  background: var(--cyan-hover);
  color: #fff;
}

.panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.panel.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero {
  padding: 2.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 840px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.35;
  color: var(--navy);
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--cyan);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cyan-hover);
  color: #fff;
}

.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--navy);
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

.section {
  padding: 2.25rem 0;
}

.section-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 800;
}

.section-sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.card-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 28, 61, 0.04);
}

.card-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  background: #e8f4ff;
}

.card-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e6f4ff;
  color: var(--cyan);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--navy);
}

.cta-band .btn-primary:hover {
  background: #e8f4ff;
}

.shop-intro {
  padding: 1.75rem 0 0.5rem;
}

.pkg-grid {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 720px) {
  .pkg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pkg {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}

.pkg.featured {
  border-color: var(--cyan);
  position: relative;
}

.pkg-badge {
  position: absolute;
  top: -10px;
  left: 1rem;
  background: var(--cyan);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-weight: 700;
}

.pkg h3 {
  margin: 0.25rem 0 0.35rem;
  color: var(--navy);
}

.pkg-qty {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.2;
}

.pkg ul {
  margin: 1rem 0;
  padding: 0 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.pkg .btn {
  width: 100%;
  margin-top: auto;
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.contact-block h3 {
  margin-top: 0;
  color: var(--navy);
}

.site-footer {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--tab-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 50;
  box-shadow: 0 -4px 20px rgba(0, 28, 61, 0.06);
}

.tabbar button {
  flex: 1;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  padding: 0.35rem;
}

.tabbar button svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.tabbar button.is-active {
  color: var(--cyan);
  font-weight: 700;
}

.tabbar button.is-active svg {
  stroke: var(--cyan);
}

.compare {
  overflow-x: auto;
  margin-top: 1rem;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.compare th,
.compare td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: right;
}

.compare th {
  background: #eef5fb;
  color: var(--navy);
}