/* ====== Variables ====== */
:root {
  --bg: #05060a;
  --bg-2: #0b0d14;
  --panel: rgba(14, 17, 28, 0.72);
  --panel-2: rgba(10, 12, 20, 0.9);
  --cyan: #20d8ff;
  --pink: #ff3dbb;
  --text: #eef2ff;
  --muted: #9aa3b2;
  --line: rgba(255, 255, 255, 0.08);
  --shadow-cyan: 0 0 22px rgba(32, 216, 255, 0.35);
  --shadow-pink: 0 0 22px rgba(255, 61, 187, 0.35);
  --radius: 22px;
  --max: 1200px;
  --grad-brand: linear-gradient(
    135deg,
    rgba(32, 216, 255, 0.16),
    rgba(255, 61, 187, 0.18)
  );
}

/* ====== Reset & Base ====== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Vazirmatn, sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(32, 216, 255, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 10%,
      rgba(255, 61, 187, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 61, 187, 0.08),
      transparent 20%
    ),
    linear-gradient(180deg, #05060a 0%, #070910 50%, #04050a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      transparent 0 48%,
      rgba(32, 216, 255, 0.06) 48.2% 49%,
      transparent 49.2% 100%
    ),
    linear-gradient(
      315deg,
      transparent 0 53%,
      rgba(255, 61, 187, 0.07) 53.2% 54%,
      transparent 54.2% 100%
    );
  opacity: 0.8;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ====== Cursor Glow ====== */
.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(32, 216, 255, 0.12) 0%,
    rgba(255, 61, 187, 0.08) 35%,
    transparent 70%
  );
  filter: blur(20px);
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.85;
}

/* ====== Layout Container ====== */
.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* ====== Header / Topbar ====== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 6, 10, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  min-width: max-content;
}

.logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(32, 216, 255, 0.45));
  flex-shrink: 0;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand h1 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ====== Menu ====== */
.menu {
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu > ul {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.menu li {
  position: relative;
}

.menu > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  transition: 0.25s ease;
  white-space: nowrap;
}
.menu > ul > li > a:hover,
.menu > ul > li:hover > a {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.has-submenu > a::before {
  content: "▾";
  font-size: 0.7rem;
  color: var(--cyan);
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 250px;
  background: linear-gradient(
    180deg,
    rgba(17, 20, 33, 0.96),
    rgba(7, 9, 15, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  z-index: 100;
}

.submenu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  transition: 0.25s ease;
  font-size: 0.92rem;
  line-height: 1.7;
}
.submenu li a:hover,
.submenu li:hover > a {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.menu li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu .has-submenu > a::before {
  content: "◂";
  font-size: 0.75rem;
  color: var(--pink);
}
.submenu .submenu {
  top: 0;
  right: calc(100% + 10px);
  min-width: 260px;
}

/* ====== Search Box ====== */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 320px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(32, 216, 255, 0.35);
  background: linear-gradient(
    180deg,
    rgba(32, 216, 255, 0.08),
    rgba(255, 61, 187, 0.04)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: 0.25s ease;
}
.search-box:focus-within {
  box-shadow:
    var(--shadow-cyan),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 61, 187, 0.42);
  transform: translateY(-1px);
}
.search-box svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
}
.search-box input::placeholder {
  color: var(--muted);
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid rgba(32, 216, 255, 0.35);
  background: linear-gradient(
    180deg,
    rgba(32, 216, 255, 0.08),
    rgba(255, 61, 187, 0.04)
  );
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: 0.25s ease;
  font-weight: 700;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--shadow-cyan),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 61, 187, 0.42);
}
.btn.primary {
  border-color: rgba(255, 61, 187, 0.4);
  background: var(--grad-brand);
  box-shadow: var(--shadow-cyan), var(--shadow-pink);
}

/* ====== Typography Helpers ====== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: var(--shadow-cyan);
}

.cyan {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(32, 216, 255, 0.2);
}
.pink {
  color: var(--pink);
  text-shadow: 0 0 10px rgba(255, 61, 187, 0.2);
}

/* ====== Hero Section ====== */
.hero {
  position: relative;
  padding: 80px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-panel {
  padding: 40px;
  min-height: 540px;
}

.hero-panel,
.info-panel {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(17, 20, 33, 0.88),
    rgba(7, 9, 15, 0.88)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* Corner decorative lines */
.corner-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}
.corner-line::before,
.corner-line::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px solid transparent;
  border-radius: 18px 0 0 0;
  filter: drop-shadow(0 0 8px rgba(32, 216, 255, 0.3));
}
.corner-line::before {
  top: 18px;
  left: 18px;
  border-top-color: rgba(32, 216, 255, 0.9);
  border-left-color: rgba(32, 216, 255, 0.9);
}
.corner-line::after {
  bottom: 18px;
  right: 18px;
  border-radius: 0 0 18px 0;
  border-bottom-color: rgba(255, 61, 187, 0.95);
  border-right-color: rgba(255, 61, 187, 0.95);
  filter: drop-shadow(0 0 8px rgba(255, 61, 187, 0.3));
}

.hero h2 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 10ch;
}
.hero h2 .cyan {
  text-shadow: 0 0 18px rgba(32, 216, 255, 0.35);
}
.hero h2 .pink {
  text-shadow: 0 0 18px rgba(255, 61, 187, 0.35);
}

.hero p {
  margin: 22px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.metric {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.metric strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.metric span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ====== Hero Art (Right Side) ====== */
.hero-art {
  display: grid;
  gap: 18px;
}

.art-card {
  padding: 24px;
  min-height: 164px;
  position: relative;
  overflow: hidden;
}
.art-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent 0 72%,
      rgba(32, 216, 255, 0.12) 72.2% 74%,
      transparent 74.2% 100%
    ),
    linear-gradient(
      315deg,
      transparent 0 74%,
      rgba(255, 61, 187, 0.12) 74.2% 76%,
      transparent 76.2% 100%
    );
  pointer-events: none;
}

.art-card .mini-title {
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}
.art-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.4;
}
.art-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.brand-plate {
  display: grid;
  place-items: center;
  min-height: 248px;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(32, 216, 255, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(255, 61, 187, 0.12),
      transparent 30%
    ),
    rgba(9, 11, 18, 0.92);
}

.hex-wrap {
  display: grid;
  justify-items: center;
  gap: 16px;
}
.hex {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 18px rgba(32, 216, 255, 0.3));
}
.hex img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hex-sub {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.why-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 2;
}
.why-list li {
  position: relative;
  padding-right: 18px;
}
.why-list li::before {
  content: "•";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--cyan);
}

/* ====== Section Common ====== */
.section {
  padding: 24px 0 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin: 54px 0 18px;
  flex-wrap: wrap;
}
.section-head .head-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-head .eyebrow {
  margin-bottom: 0;
}
.section-head h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.9;
  font-size: 0.95rem;
}

/* ====== Service Cards ====== */
.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.service-card-new {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(17, 20, 33, 0.85),
    rgba(7, 9, 15, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.service-card-new:hover {
  transform: translateY(-8px);
  border-color: rgba(32, 216, 255, 0.3);
  box-shadow: var(--shadow-cyan);
}

.service-icon-wrap {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  color: var(--cyan);
  transition: 0.3s;
}
.service-card-new:hover .service-icon-wrap {
  background: var(--grad-brand);
  color: var(--text);
  transform: scale(1.1);
}
.service-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.service-card-new h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}
.service-card-new p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.active-border {
  border-color: rgba(32, 216, 255, 0.4);
  box-shadow: inset 0 0 20px rgba(32, 216, 255, 0.05);
}

/* ====== About Mission ====== */
.about-mission {
  padding: 100px 0;
  position: relative;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.3;
  margin-bottom: 25px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text-lead {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}

.about-features {
  display: grid;
  gap: 15px;
  margin-bottom: 30px;
}
.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}

.about-text-sub {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* About visual card */
.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.visual-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  backdrop-filter: blur(10px);
}

.visual-glow {
  position: absolute;
  inset: -25%;
  background: radial-gradient(
    circle,
    rgba(32, 216, 255, 0.12) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.logo-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.floating-logo {
  display: block;
  width: min(62%, 280px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(32, 216, 255, 0.5));
  animation: float 6s ease-in-out infinite;
}

.floating-badge {
  position: absolute;
  padding: 10px 18px;
  background: rgba(17, 20, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.8rem;
  backdrop-filter: blur(5px);
  z-index: 2;
  white-space: nowrap;
}
.b1 {
  top: 15%;
  right: -8%;
  border-color: var(--pink);
  color: var(--pink);
  box-shadow: 0 0 15px rgba(255, 61, 187, 0.2);
}
.b2 {
  bottom: 15%;
  left: -8%;
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(32, 216, 255, 0.2);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

/* ====== Social Section ====== */
.social-section {
  padding-top: 10px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.social-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(17, 20, 33, 0.9),
    rgba(7, 9, 15, 0.92)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.3s ease;
  background: linear-gradient(
    135deg,
    rgba(32, 216, 255, 0.12),
    rgba(255, 61, 187, 0.12)
  );
}
.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 216, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(32, 216, 255, 0.1),
    0 28px 70px rgba(0, 0, 0, 0.45);
}
.social-card:hover::before {
  opacity: 1;
}

.social-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 1;
}
.social-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.social-content {
  position: relative;
  z-index: 1;
}
.social-content h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--text);
}
.social-content span {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-card.telegram:hover {
  border-color: rgba(32, 216, 255, 0.4);
}
.social-card.instagram:hover {
  border-color: rgba(255, 61, 187, 0.4);
}
.social-card.whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.35);
}
.social-card.rubika:hover {
  border-color: rgba(245, 194, 65, 0.35);
}
.social-card.eitaa:hover {
  border-color: rgba(197, 160, 89, 0.35);
}
.social-card.bale:hover {
  border-color: rgba(169, 171, 173, 0.35);
}

/* ====== Tags ====== */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.82rem;
}

/* ====== CTA ====== */
.cta {
  margin: 28px 0 80px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(32, 216, 255, 0.11), rgba(255, 61, 187, 0.12)),
    rgba(9, 11, 18, 0.94);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}
.cta h3 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
}
.cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.94rem;
}

/* ====== Footer ====== */
.footer {
  padding: 24px 0 34px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 20px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a:hover {
  color: var(--text);
}

/* ==========================================================
   Responsive - Tablet
   ========================================================== */
@media (max-width: 1024px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 16px 0;
  }
  .hero-grid,
  .cards,
  .cta,
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    min-height: unset;
  }
  .menu {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .menu > ul {
    width: max-content;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .search-box {
    min-width: 100%;
    max-width: 100%;
  }
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-visual {
    order: -1;
    margin-bottom: 40px;
  }
  .b1 {
    right: 5%;
  }
  .b2 {
    left: 5%;
  }

  /* Mobile menu - inline submenus */
  .submenu,
  .submenu .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 100%;
    margin-top: 8px;
    margin-right: 0;
    display: none;
  }
  .menu li:hover > .submenu,
  .menu li:focus-within > .submenu {
    display: block;
  }
}

/* ==========================================================
   Responsive - Mobile
   ========================================================== */
@media (max-width: 640px) {
  .nav {
    min-height: 76px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-panel,
  .art-card,
  .cta,
  .service-card-new {
    padding: 20px;
  }
  .hero h2 {
    max-width: none;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .brand h1 {
    font-size: 0.92rem;
  }
  .brand small {
    font-size: 0.72rem;
  }
  .social-grid {
    grid-template-columns: 1fr;
  }
  .social-card {
    padding: 18px;
  }
}

.hero {
  padding-top: 80px;
  padding-bottom: 40px;
  margin-top: 0;
  margin-bottom: 0;
}

.section {
  margin-top: 80px;
  margin-bottom: 80px;
  padding-top: 0;
  padding-bottom: 0;
}

.footer {
  margin-top: 80px;
  padding-top: 40px;
  padding-bottom: 40px;
}

#contact .cta {
  margin-top: 80px;
  margin-bottom: 80px;
}

.copyright-notice {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color, #444);
  font-size: 0.9em;
  color: var(--text-muted, #aaa);
  padding-bottom: 20px;
}

/* فقط گالری نمونه کار لوگو */
#gallery .visual-card {
  position: relative;
  overflow: hidden;
}

#gallery .logo-stage {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#gallery .logo-stage .floating-logo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
#gallery .floating-logo {
  animation: none !important;
  transform: none !important;
}

.phone-tag span {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
