/* ─────────────────────────────── */
/*   ریست پایه                     */
/* ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "IRANSans", sans-serif;
  direction: rtl;
  background: #f3f4f6;
  color: #0f172a;
  min-height: 100vh;
}

/* لینک‌ها بدون آندرلاین پیش‌فرض */
a {
  color: inherit;
  text-decoration: none;
}

/* ─────────────────────────────── */
/*   بک‌گراند برفی روشن           */
/* ─────────────────────────────── */
.snow-background {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 10% 10%, #e0f2fe 0, #e0f2fe 28%, transparent 60%),
    radial-gradient(circle at 80% 0%, #fee2e2 0, #fee2e2 24%, transparent 55%),
    linear-gradient(to bottom, #f9fafb, #e5f3ff);
}

/* ─────────────────────────────── */
/*   دکمه‌های شناور پایین صفحه    */
/* ─────────────────────────────── */
.fab-container {
  position: fixed;
  bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: space-between; /* یکی چپ، یکی راست */
  padding: 0 20px;
  z-index: 9999;
}

.fab {
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  display: inline-block;
}

/* دکمه سمت چپ = سبز */
.fab-green {
  background-color: #4CAF50; /* سبز */
}

/* دکمه سمت راست = قرمز */
.fab-red {
  background-color: #F44336; /* قرمز */
}

.fab:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
/* دو لایه برف برای عمق بیشتر */
.snow-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 1.5px, transparent 1.7px);
  background-size: 18px 18px;
  opacity: 0.7;
  animation: snowFall 26s linear infinite;
}

.snow-layer--back {
  opacity: 0.4;
  filter: blur(0.5px);
  background-size: 22px 22px;
  animation-duration: 40s;
}

.snow-layer--front {
  opacity: 0.85;
  background-size: 14px 14px;
  animation-duration: 18s;
}

@keyframes snowFall {
  0% {
    background-position: 0 -100px;
  }
  100% {
    background-position: 0 700px;
  }
}

/* ─────────────────────────────── */
/*   کانتینر اصلی                  */
/* ─────────────────────────────── */
.shell {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* ─────────────────────────────── */
/*   هدر روشن و کریسمسی           */
/* ─────────────────────────────── */
.galaxy-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 38, 38, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.05);
}

.galaxy-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

/* برند */
.brand-core {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-orb {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background:
    conic-gradient(from 180deg, #22c55e, #ef4444, #f97316, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow:
    0 0 15px rgba(239, 68, 68, 0.65),
    0 0 25px rgba(34, 197, 94, 0.5);
  animation: orbSpin 10s linear infinite;
}

@keyframes orbSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.brand-orb-icon {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, #fefce8, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: #b91c1c;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: #334155;
}

.brand-subline {
  font-size: 0.7rem;
  color: #16a34a;
}

/* منو */
.stellar-nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.stellar-nav a {
  color: #1f2933;
  text-decoration: none;
  position: relative;
  opacity: 0.9;
  padding-bottom: 0.12rem;
  transition: opacity 0.2s ease;
}

.stellar-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #f97316, #ef4444);
  transition: width 0.2s ease;
}

.stellar-nav a:hover::after {
  width: 100%;
}

.stellar-nav a:hover {
  opacity: 1;
}

/* ─────────────────────────────── */
/*   بنر آژانس + لینک‌های سریع     */
/* ─────────────────────────────── */
.agency-strip {
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  background:
    linear-gradient(
      120deg,
      #fef2f2,
      #f0fdf4,
      #eff6ff
    );
  position: relative;
  overflow: hidden;
}

.agency-strip::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 250, 252, 0.9), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(254, 202, 202, 0.4), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.agency-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 1.3rem;
  padding: 1.4rem 0 1.6rem;
  align-items: flex-start;
}

.agency-badge-main {
  font-size: 1rem;
  font-weight: 800;
  color: #b91c1c;
  margin-bottom: 0.3rem;
}

.agency-badge-sub {
  font-size: 0.85rem;
  color: #4b5563;
}

/* لینک‌های سریع – کاشی روشن */
.agency-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-self: stretch;
}

.chip-link {
  position: relative;
  padding: 0.85rem 1rem;
  min-height: 70px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 1rem;

  background: rgba(255, 255, 255, 0.9);
  background-image: linear-gradient(
      135deg,
      rgba(248, 250, 252, 0.9),
      rgba(255, 255, 255, 0.95)
    );
  border: 1px solid rgba(226, 232, 240, 0.9);

  color: #111827;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.25s ease;
}

/* رگه نور داخل دکمه */
.chip-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(254, 240, 138, 0.55), transparent 60%);
  opacity: 0;
  transform: translate3d(-40%, -40%, 0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* هاور روی چیپ */
.chip-link:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.chip-link:hover {
  background: #ffffff;
  border-color: rgba(248, 113, 113, 0.9);
  box-shadow:
    0 14px 33px rgba(148, 163, 184, 0.55);
  transform: translateY(-2px);
}

/* دکمه‌های راه‌های ارتباطی (پیل‌دار) */
.agency-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.agency-contacts-title {
  font-size: 0.85rem;
  color: #4b5563;
}

.agency-contacts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-link--outline {
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  font-size: 0.84rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 1);
}

.chip-link--outline::before {
  display: none;
}

.chip-link--outline:hover {
  transform: translateY(-2px);
  background: #fef9c3;
  border-color: rgba(248, 113, 113, 1);
  box-shadow:
    0 10px 24px rgba(148, 163, 184, 0.6);
}

/* ─────────────────────────────── */
/*   هیرو                          */
/* ─────────────────────────────── */
.hero-orbit {
  padding: 3.3rem 0 2.8rem;
}

.orbit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.7rem;
  align-items: center;
}

.orbit-text h1 {
  font-size: 2.2rem;
  margin: 1rem 0 0.9rem;
  color: #b91c1c;
}

.orbit-text p {
  font-size: 0.98rem;
  line-height: 1.95;
  color: #1f2933;
}

.orbit-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: #fef9c3;
  border: 1px solid #f97316;
  color: #92400e;
  box-shadow: 0 10px 26px rgba(248, 250, 252, 0.9);
}

.orbit-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a);
}

/* دکمه‌های هیرو */
.orbit-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-neon {
  display: inline-block;
  padding: 0.9rem 2.1rem;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #22c55e, #16a34a, #f97316);
  color: #fefce8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow:
    0 18px 38px rgba(34, 197, 94, 0.45),
    0 0 28px rgba(248, 113, 113, 0.7);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
}

.btn-neon:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 24px 60px rgba(34, 197, 94, 0.6),
    0 0 40px rgba(248, 113, 113, 0.85);
  filter: brightness(1.05);
}

.btn-ghost-neon {
  display: inline-block;
  padding: 0.86rem 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 163, 175, 0.9);
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background 0.15s ease,
    box-shadow 0.12s ease,
    transform 0.12s ease;
}

.btn-ghost-neon:hover {
  background: #f9fafb;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.6);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.btn-large {
  padding-inline: 2.8rem;
  font-size: 1rem;
}

/* برچسب‌های هیرو */
.orbit-badges {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.orbit-badges span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 1);
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
}

/* پنل هیرو */
.orbit-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.holo-card {
  background:
    radial-gradient(circle at top left, rgba(252, 231, 243, 0.8), transparent 55%),
    radial-gradient(circle at bottom right, rgba(219, 234, 254, 0.85), transparent 55%),
    #ffffff;
  border-radius: 1.6rem;
  border: 1px solid rgba(226, 232, 240, 1);
  padding: 1.3rem 1.3rem;
  box-shadow:
    0 28px 60px rgba(148, 163, 184, 0.45);
}

.holo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  color: #111827;
}

.holo-status {
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 1);
  color: #1d4ed8;
  border: 1px solid rgba(129, 140, 248, 0.7);
}

.holo-body {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  color: #111827;
}

.holo-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.holo-row strong {
  font-size: 1.5rem;
  color: #b91c1c;
}

.holo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  font-size: 0.82rem;
  color: #4b5563;
}

.holo-button {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.9);
  text-decoration: none;
  color: #b91c1c;
  font-size: 0.8rem;
  white-space: nowrap;
  background: #fef2f2;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.holo-button:hover {
  background: #fee2e2;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(248, 113, 113, 0.5);
}

.orbit-note {
  font-size: 0.8rem;
  color: #6b7280;
}

/* ─────────────────────────────── */
/*   سکشن عمومی                     */
/* ─────────────────────────────── */
.section {
  padding: 2.8rem 0;
}

.galaxy-section {
  background: transparent;
}

.galaxy-section--light {
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(226, 232, 240, 1);
  border-bottom: 1px solid rgba(226, 232, 240, 1);
}

.galaxy-section--bordered {
  border-top: 1px solid rgba(209, 213, 219, 1);
  border-bottom: 1px solid rgba(209, 213, 219, 1);
  background: rgba(255, 255, 255, 0.9);
}

.section-head h2 {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
  color: #b91c1c;
}

.section-head p {
  font-size: 0.94rem;
  color: #374151;
  line-height: 1.9;
  max-width: 640px;
}

/* ─────────────────────────────── */
/*   پکیج‌ها                        */
/* ─────────────────────────────── */
.constellation-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.pack-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 1);
  padding: 1.5rem 1.3rem;
  font-size: 0.9rem;
  line-height: 1.9;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.4);
  overflow: hidden;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.pack-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(254, 249, 195, 0.45), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(254, 226, 226, 0.45), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.pack-card:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 113, 113, 0.9);
  box-shadow:
    0 22px 55px rgba(148, 163, 184, 0.7);
}

.pack-card:hover::before {
  opacity: 1;
}

.pack-card--highlight {
  border-color: rgba(248, 113, 113, 1);
  box-shadow:
    0 24px 65px rgba(248, 113, 113, 0.6);
  transform: translateY(-3px);
}

.pack-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #b91c1c;
}

.pack-desc {
  font-size: 0.88rem;
  color: #374151;
}

.pack-list {
  margin: 1rem 0 1.2rem;
  padding-right: 1.1rem;
  font-size: 0.83rem;
  color: #4b5563;
}

.pack-list li {
  margin-bottom: 0.25rem;
}

.pack-chip {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  font-size: 0.72rem;
  padding: 0.27rem 0.8rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #16a34a;
}

.pack-chip--hot {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #f97316;
}

/* ─────────────────────────────── */
/*   بخش توضیح                      */
/* ─────────────────────────────── */
.lore-box {
  margin-top: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(254, 243, 199, 0.7), transparent 55%),
    radial-gradient(circle at bottom right, rgba(219, 234, 254, 0.7), transparent 55%),
    #ffffff;
  border-radius: 1.35rem;
  border: 1px solid rgba(226, 232, 240, 1);
  padding: 2rem 1.6rem;
  font-size: 0.95rem;
  line-height: 2;
  color: #111827;
}

/* ─────────────────────────────── */
/*   چرا ما                        */
/* ─────────────────────────────── */
.reasons-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.reason-card {
  background: #ffffff;
  border-radius: 1.15rem;
  border: 1px solid rgba(226, 232, 240, 1);
  padding: 1.2rem 1.2rem;
  font-size: 0.9rem;
  line-height: 1.9;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.reason-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 113, 113, 1);
  box-shadow:
    0 20px 52px rgba(148, 163, 184, 0.6);
}

.reason-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  color: #b91c1c;
}

/* ─────────────────────────────── */
/*   مراحل                         */
/* ─────────────────────────────── */
.flow-line {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.flow-step {
  position: relative;
  flex: 1 1 220px;
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 1);
  padding: 1.2rem 1.2rem 1rem;
  font-size: 0.88rem;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 113, 113, 1);
  box-shadow:
    0 18px 48px rgba(148, 163, 184, 0.6);
}

.flow-badge {
  position: absolute;
  top: -0.8rem;
  right: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #22c55e, #f97316);
  color: #fefce8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.8);
}

.flow-step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #b91c1c;
}

.flow-step p {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.9;
}

/* ─────────────────────────────── */
/*   FAQ                           */
/* ─────────────────────────────── */
.faq-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 1);
  padding: 0.95rem 1.1rem;
  font-size: 0.9rem;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.faq-item[open] {
  background: #fef2f2;
  border-color: rgba(248, 113, 113, 1);
  box-shadow:
    0 16px 44px rgba(148, 163, 184, 0.6);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #111827;
  outline: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  float: left;
  font-weight: 700;
  color: #b91c1c;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  line-height: 1.9;
  color: #374151;
}

/* ─────────────────────────────── */
/*   CTA نهایی                     */
/* ─────────────────────────────── */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
  color: #b91c1c;
}

.final-cta p {
  font-size: 0.96rem;
  color: #374151;
  line-height: 1.9;
  max-width: 650px;
  margin: 0.3rem auto 1.5rem;
}

.final-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ─────────────────────────────── */
/*   فوتر                          */
/* ─────────────────────────────── */
.cosmic-footer {
  border-top: 1px solid rgba(226, 232, 240, 1);
  padding: 1.7rem 0 2rem;
  background: #f9fafb;
  color: #374151;
  font-size: 0.84rem;
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.4rem;
}

.footer-title {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: #b91c1c;
}

.footer-text {
  margin: 0 0 0.6rem;
  color: #4b5563;
}

.footer-copy {
  margin: 0;
  color: #6b7280;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: #374151;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease, text-decoration-color 0.15s ease;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(-2px);
  text-decoration: underline;
}

/* ─────────────────────────────── */
/*   ریسپانسیو                     */
/* ─────────────────────────────── */
@media (max-width: 980px) {
  .orbit-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .orbit-text {
    order: -1;
  }

  .orbit-actions {
    justify-content: center;
  }

  .holo-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .holo-button {
    align-self: flex-end;
  }

  .constellation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reasons-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-line {
    flex-direction: column;
  }

  .agency-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
    grid-template-rows: auto auto;
  }

  .agency-contacts {
    grid-column: 1 / -1;
  }

  .agency-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .galaxy-header .shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .stellar-nav {
    display: none; /* اگر منوی همبرگری خواستی بعداً اضافه کن */
  }

  .hero-orbit {
    padding-top: 2.2rem;
  }

  .orbit-text h1 {
    font-size: 1.7rem;
  }

  .constellation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-layout {
    flex-direction: column;
  }

  .agency-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .agency-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .chip-link {
    min-height: 62px;
    font-size: 0.83rem;
    padding: 0.75rem 0.8rem;
  }

  .agency-contacts-row {
    gap: 0.4rem;
  }
}