/* Milad Marketing Landing — semantic light/dark tokens (نگین تجارت کاروی brand) */

:root,
[data-theme="light"] {
  --bg: #eef5fb;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --text-primary: #012b64;
  --text-secondary: #1e3a5f;
  --text-muted: #64748b;
  --border: rgba(1, 43, 100, 0.1);
  --accent: #012b64;
  --accent-bright: #00deff;
  --accent-hover: #01408f;
  --accent-soft: rgba(0, 222, 255, 0.16);
  --accent-glow: rgba(0, 222, 255, 0.4);
  --survey: #e71f1f;
  --survey-soft: rgba(231, 31, 31, 0.12);
  --bale: #0088cc;
  --eita: #f97316;
  --gradient-a: #012b64;
  --gradient-b: #0077a8;
  --gradient-c: #00deff;
  --shadow: 0 20px 50px rgba(1, 43, 100, 0.08);
  --shadow-lg: 0 30px 80px rgba(1, 43, 100, 0.14);
  --header-bg: rgba(238, 245, 251, 0.88);
  --mobile-bar-bg: rgba(255, 255, 255, 0.94);
  --orb-a: rgba(0, 222, 255, 0.22);
  --orb-b: rgba(1, 43, 100, 0.1);
  --orb-c: rgba(0, 222, 255, 0.12);
  --particle: rgba(1, 43, 100, 0.08);
  --cta-gradient: linear-gradient(135deg, #012b64 0%, #0077a8 50%, #00deff 100%);
}

[data-theme="dark"] {
  --bg: #070d18;
  --bg-elevated: #0f1729;
  --surface: rgba(15, 23, 41, 0.88);
  --surface-strong: rgba(17, 27, 46, 0.96);
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: rgba(0, 222, 255, 0.16);
  --accent: #00deff;
  --accent-bright: #5eead4;
  --accent-hover: #7dd3fc;
  --accent-soft: rgba(0, 222, 255, 0.1);
  --accent-glow: rgba(0, 222, 255, 0.28);
  --survey: #f87171;
  --survey-soft: rgba(248, 113, 113, 0.14);
  --bale: #38bdf8;
  --eita: #fb923c;
  --gradient-a: #00deff;
  --gradient-b: #34d399;
  --gradient-c: #7dd3fc;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 222, 255, 0.08);
  --header-bg: rgba(7, 13, 24, 0.9);
  --mobile-bar-bg: rgba(15, 23, 41, 0.94);
  --orb-a: rgba(0, 222, 255, 0.12);
  --orb-b: rgba(1, 43, 100, 0.35);
  --orb-c: rgba(0, 222, 255, 0.08);
  --particle: rgba(0, 222, 255, 0.06);
  --cta-gradient: linear-gradient(135deg, #0a1020 0%, #012b64 45%, #0077a8 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Vazirmatn", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: orbFloat 18s ease-in-out infinite;
}

.orb-a {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: -8%;
  right: -10%;
  background: var(--orb-a);
}

.orb-b {
  width: min(45vw, 360px);
  height: min(45vw, 360px);
  bottom: 10%;
  left: -12%;
  background: var(--orb-b);
  animation-delay: -6s;
}

.orb-c {
  width: min(35vw, 280px);
  height: min(35vw, 280px);
  top: 45%;
  left: 40%;
  background: var(--orb-c);
  animation-delay: -12s;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.05); }
  66% { transform: translate(-16px, 12px) scale(0.96); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  animation: slideDown 0.7s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand--full-logo {
  flex: 1;
  justify-content: center;
}

.brand-logo-full {
  display: block;
  height: clamp(52px, 12vw, 68px);
  width: auto;
  max-width: min(220px, 62vw);
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(1, 43, 100, 0.12));
}

[data-theme="dark"] .brand-logo-full {
  filter: drop-shadow(0 10px 24px rgba(0, 222, 255, 0.12));
}

.brand-mark {
  flex-shrink: 0;
  height: 52px;
  width: auto;
  max-width: 140px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  animation: pulseRing 3s ease-in-out infinite;
}

.brand-mark img {
  width: auto;
  height: 100%;
  max-width: 140px;
  object-fit: contain;
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-nav {
  display: none;
  gap: 1.5rem;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent-bright);
  transition: width 0.25s ease;
}

.header-nav a:hover {
  color: var(--accent);
}

.header-nav a:hover::after {
  width: 100%;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--text-primary);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.2s, background 0.2s;
}

.theme-toggle:hover {
  transform: scale(1.06);
  background: var(--accent-soft);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

[data-theme="light"] .icon-moon,
[data-theme="dark"] .icon-sun {
  display: none;
}

main {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 6rem;
}

/* Hero */
.hero {
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .header-nav {
    display: flex;
  }

  .brand--full-logo {
    flex: 0 1 auto;
    justify-content: flex-start;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.gradient-text {
  display: inline;
  background: linear-gradient(120deg, var(--gradient-a), var(--gradient-b), var(--gradient-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.lead {
  margin: 0 0 1.5rem;
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  color: var(--text-secondary);
  max-width: 52ch;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.metric {
  flex: 1 1 90px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.metric:hover {
  transform: translateY(-4px);
}

.metric strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
}

.metric span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-elevated);
  box-shadow: 0 12px 30px var(--accent-glow);
}

[data-theme="dark"] .btn-primary {
  color: #070d18;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--accent-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 2px;
}

.social-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.bale-icon {
  background: rgba(0, 136, 204, 0.12);
}

.eita-icon {
  background: rgba(249, 115, 22, 0.12);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-shell {
  position: relative;
  width: min(100%, 380px);
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-glow {
  position: absolute;
  inset: 10% 5%;
  background: var(--cta-gradient);
  filter: blur(50px);
  opacity: 0.35;
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.08); }
}

.phone-screen {
  position: relative;
  margin: 0;
  padding: 0.75rem;
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.phone-screen img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.phone-screen--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: var(--bg-elevated);
}

.phone-screen--logo img {
  width: min(78%, 260px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.float-chip {
  position: absolute;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  font-size: 0.72rem;
  animation: chipBob 4s ease-in-out infinite;
}

.float-chip strong {
  display: block;
  font-size: 0.88rem;
  color: var(--accent);
}

.chip-a {
  top: 8%;
  left: -8%;
  animation-delay: 0s;
}

.chip-c {
  bottom: 6%;
  left: 4%;
  animation-delay: -1.3s;
}

@keyframes chipBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section-head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.04em;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.actions,
.branches {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

/* Action cards */
.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .action-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.action-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s, border-color 0.35s;
}

.action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, var(--accent-soft));
  opacity: 0;
  transition: opacity 0.35s;
}

.action-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-bright);
}

.action-card:hover::before {
  opacity: 1;
}

.action-card--bale:hover { border-color: var(--bale); }
.action-card--eita:hover { border-color: var(--eita); }
.action-card--survey:hover { border-color: var(--survey); }

.action-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}

.action-icon .social-icon {
  width: 32px;
  height: 32px;
}

.action-icon svg {
  width: 32px;
  height: 32px;
}

.action-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.action-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
}

.action-arrow {
  font-size: 1.2rem;
  color: var(--accent-bright);
  transition: transform 0.25s;
}

.action-card:hover .action-arrow {
  transform: translateX(-6px);
}

/* Branch cards */
.branch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .branch-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .branch-card--wide {
    grid-column: span 1;
  }
}

.branch-card {
  position: relative;
  padding: 1.35rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s;
}

.branch-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--branch-accent, var(--accent-bright));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.branch-card:hover::after {
  transform: scaleY(1);
  transform-origin: top;
}

.branch-index {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--branch-accent, var(--accent-bright));
  opacity: 0.85;
}

.branch-card h3 {
  margin: 0.35rem 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.branch-city {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.branch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background 0.25s, transform 0.25s;
}

.branch-link svg {
  width: 18px;
  height: 18px;
}

.branch-link:hover {
  background: var(--accent-glow);
  transform: scale(1.04);
}

/* Survey spotlight — below hero */
.survey-spotlight {
  position: relative;
  z-index: 90;
  padding: 0 0 clamp(2rem, 5vw, 3rem);
}

.survey-spotlight-glow {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  left: 0;
  right: 0;
  border-radius: 28px;
  background: var(--cta-gradient);
  filter: blur(28px);
  opacity: 0.35;
  animation: surveyGlow 3.5s ease-in-out infinite;
}

@keyframes surveyGlow {
  0%, 100% { opacity: 0.28; transform: scale(0.98); }
  50% { opacity: 0.48; transform: scale(1.02); }
}

.survey-spotlight-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.25rem, 3.5vw, 2rem);
  border-radius: 28px;
  background: var(--cta-gradient);
  color: #f8fafc;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  animation: surveyPulse 2.8s ease-in-out infinite;
}

@keyframes surveyPulse {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(231, 31, 31, 0.35); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 10px rgba(231, 31, 31, 0); }
}

.survey-spotlight-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.16), transparent 52%);
  animation: shimmer 8s linear infinite;
}

.survey-spotlight-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.survey-spotlight-copy {
  position: relative;
  z-index: 1;
}

.survey-spotlight-copy h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.3;
}

.survey-spotlight-copy p {
  margin: 0;
  max-width: 52ch;
  opacity: 0.94;
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
}

.btn-survey--spotlight {
  position: relative;
  z-index: 1;
  min-width: min(100%, 280px);
  padding: 1rem 1.75rem;
  font-size: 1rem;
  animation: surveyBtnPulse 2.2s ease-in-out infinite;
}

@keyframes surveyBtnPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.btn-survey--spotlight:hover {
  animation: none;
  transform: translateY(-3px) scale(1.05);
}

/* CTA banner (legacy) */
.cta-banner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 28px;
  background: var(--cta-gradient);
  color: #f8fafc;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12), transparent 50%);
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
}

.cta-copy p {
  margin: 0;
  opacity: 0.92;
  max-width: 48ch;
}

.btn-survey {
  position: relative;
  z-index: 1;
  background: var(--bg-elevated);
  color: var(--survey);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-survey:hover {
  transform: translateY(-3px) scale(1.03);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1rem 5.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--accent);
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-credit {
  margin-top: 0.5rem;
}

/* Mobile bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  padding: 0.5rem 0.65rem calc(0.5rem + env(safe-area-inset-bottom));
  background: var(--mobile-bar-bg);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}

.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.45rem 0.25rem;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.mobile-bar a span:first-child {
  font-size: 1.1rem;
}

.mobile-bar .social-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 0.1rem;
}

.mobile-bar a:hover,
.mobile-bar a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
}

.mobile-bar-accent {
  color: var(--survey);
}

.mobile-bar-accent:hover {
  background: var(--survey-soft);
  color: var(--survey);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .survey-spotlight-inner,
  .btn-survey--spotlight {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
