/* ========================================================
   DASHT SEO — Editorial × Topographic (Soft Edition)
   ======================================================== */

/* ====== Topographic background ====== */
.topo-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse 800px 400px at 20% 20%, var(--topo) 0%, transparent 50%),
    radial-gradient(ellipse 600px 400px at 80% 60%, var(--topo) 0%, transparent 50%),
    radial-gradient(ellipse 700px 500px at 50% 90%, var(--topo) 0%, transparent 50%);
}
.topo-bg::before {
  content: ""; position: absolute; inset: 0; width: 100%; height: 100%;
  background-image: 
    repeating-radial-gradient(circle at 20% 30%, transparent 0, transparent 30px, var(--topo) 30px, var(--topo) 31px),
    repeating-radial-gradient(circle at 75% 70%, transparent 0, transparent 28px, var(--topo) 28px, var(--topo) 29px);
  opacity: .7;
  mask-image: linear-gradient(180deg, black, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 70%);
  animation: dasht-topo-drift 30s ease-in-out infinite;
  will-change: transform;
}
@keyframes dasht-topo-drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(2%, -1.5%) rotate(1.5deg) scale(1.02); }
  66%  { transform: translate(-1.5%, 1%) rotate(-1deg) scale(0.98); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

/* Grain noise — animated morphing pattern */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' seed='1'/><feDisplacementMap in='SourceGraphic' scale='12'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
  opacity: .08;
  mix-blend-mode: multiply;
  animation: dasht-grain 8s steps(4) infinite;
}
@keyframes dasht-grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-4%, -4%); }
  50%  { transform: translate(3%, -2%); }
  75%  { transform: translate(-2%, 3%); }
  100% { transform: translate(0, 0); }
}
html[data-theme="dark"] body::after { mix-blend-mode: screen; opacity: .10; }
/* Disable on low-power / mobile */
@media (prefers-reduced-motion: reduce) { body::after, .topo-bg::before { animation: none !important; } }
@media (max-width: 480px) { body::after { opacity: .03; animation: none; } .topo-bg::before { animation: none; } }

/* Custom cursor */
html.dasht-cursor-active, 
html.dasht-cursor-active body,
html.dasht-cursor-active a,
html.dasht-cursor-active button,
html.dasht-cursor-active input,
html.dasht-cursor-active textarea,
html.dasht-cursor-active select {
  cursor: none !important;
}

.cursor-wrap { 
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2147483647; 
}
/* ... existing cursor styles in JS ... */

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647 !important;
  /* left/top driven by JS — translate برای center */
  transform: translate(-50%, -50%) scale(1);
  transition: width .40s cubic-bezier(0.22, 1, 0.36, 1), height .40s cubic-bezier(0.22, 1, 0.36, 1),
              background-color .32s cubic-bezier(0.22, 1, 0.36, 1), opacity .38s cubic-bezier(0.22, 1, 0.36, 1),
              transform .28s cubic-bezier(0.22, 1, 0.36, 1);
  mix-blend-mode: difference; background-color: #ffffff; border-color: #ffffff;
  will-change: left, top;
}
.cursor.hover {
  width: 48px; height: 48px;
  background: var(--ink);
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647 !important;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference; background-color: #ffffff; border-color: #ffffff;
  transition: opacity .38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: left, top;
}

/* موبایل: کرسر مخفی */
@media (hover: none), (max-width: 768px) {
  body { cursor: auto !important; }
  .cursor, .cursor-dot { display: none !important; }
}

/* ====== Container ====== */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

/* ====== Typography ====== */
.ff-serif { font-family: var(--ff-serif); font-weight: 400; font-style: italic; }
.ff-mono { font-family: var(--ff-mono); }

h1, h2, h3 { line-height: 1; letter-spacing: -0.02em; font-weight: 800; }
.display {
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 900; line-height: .92;
  letter-spacing: -0.04em;
}

/* ====== Marquee ticker (top) ====== */
.ticker {
  border-bottom: 1.5px solid var(--line-soft);
  background: var(--bg);
  padding: 12px 0 10px 0;
  overflow: hidden;
  font-family: var(--ff-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  position: relative; z-index: 60;
}
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  animation: tickerScroll 40s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 60px;
  flex: 0 0 auto;
  padding-inline-end: 60px;
}
.ticker-item { display: inline-flex; align-items: center; gap: 12px; }
.ticker-item::before { content: "✦"; color: var(--c-primary); }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ====== Header ====== */
.header {
  position: sticky !important;
  top: var(--header-sticky-top, 15px) !important;
  z-index: 55 !important;
  padding: 0 20px;
  margin-top: 10px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
  /* sticky نیاز دارد parent overflow:hidden/auto/scroll نداشته باشد */
  /* و html/body باید scroll container باشند (نه overflow:hidden) */
}

.header.header-hidden {
  transform: translateY(calc(-100% - 30px)) !important;
}
.header-inner {
  max-width: 1360px; margin: 0 auto;
  background: var(--bg);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 8px 16px 8px 24px;
  box-shadow: 0 8px 30px -10px rgba(0,0,0,.1);
  transition: background .60s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .60s cubic-bezier(0.22, 1, 0.36, 1), border-color .60s cubic-bezier(0.22, 1, 0.36, 1);
}
.header.scrolled .header-inner {
  background: var(--bg);
  box-shadow: 0 12px 40px -10px rgba(0,0,0,.15);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.1rem;
  position: relative;
  box-shadow: 3px 3px 0 var(--c-accent);
}
.brand-name { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand-sub { font-family: var(--ff-mono); font-size: .65rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .2em; display: block; margin-top: 1px; }

.nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--ff-mono); font-size: .76rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-soft); text-decoration: none;
  padding: 10px 16px; border-radius: var(--r-pill);
  position: relative; transition: all .45s;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-2);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.theme-btn {
  width: 42px; height: 42px;
  border: 1.5px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--ink); transition: all .45s;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}
.theme-btn:hover {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
  transform: rotate(20deg);
}
.theme-btn svg { width: 16px; height: 16px; display: block; flex-shrink: 0; }
html[data-theme="light"] .icon-sun { display: none; }
html[data-theme="dark"] .icon-moon { display: none; }

.menu-btn {
  display: none; background: transparent;
  border: 1.5px solid var(--line-soft);
  border-radius: 50%;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
}

/* ====== HERO — Editorial ====== */
.hero {
  padding: 70px 0 90px;
  position: relative;
}
.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono); font-size: .75rem;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--ink-mute);
  margin-bottom: 40px;
  padding: 12px 20px;
  background: var(--bg-2);
  border-radius: var(--r-pill);
}
.hero-meta .live::before {
  content: ""; display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-success); margin-left: 8px;
  box-shadow: 0 0 12px var(--c-success);
  animation: pulse 1.6s infinite;
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.8rem, 9.5vw, 8.5rem);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -0.045em;
  margin-bottom: 60px;
  position: relative;
  direction: rtl;
  text-align: right;
}
.hero-title .line { display: block; }
.hero-title .indent { padding-right: 1.5em; display: inline-block; }
.hero-title em {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}
.hero-title .stamp {
  display: inline-block; vertical-align: middle;
  padding: 10px 20px;
  background: var(--c-accent);
  color: var(--accent-text);
  border-radius: var(--r-md);
  font-family: var(--ff-mono); font-size: .35em; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  transform: rotate(-3deg);
  box-shadow: 4px 4px 0 var(--ink);
  margin: 0 8px;
}
.hero-title .underline {
  background-image: linear-gradient(transparent 70%, var(--c-accent) 70%);
  background-size: 100% 100%;
  padding: 0 4px;
  border-radius: 4px;
}

/* Hero grid layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.hero-col-1 {
  padding: 28px;
  background: var(--bg-2);
  border-radius: var(--r-lg);
}
.hero-col-1 .label {
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--ink-mute); margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-soft);
}
.hero-col-1 p {
  font-size: .98rem; color: var(--ink-soft);
  margin-bottom: 20px;
}
.hero-col-1 .ff-serif {
  font-size: 1.25rem;
  color: var(--ink); display: block; margin-bottom: 16px;
  line-height: 1.4;
}
.hero-col-1 .tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px;
}
.hero-col-1 .tag {
  font-family: var(--ff-mono); font-size: .68rem;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-col-2 {
  position: relative;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-1.5deg);
  transition: transform .65s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-col-2:hover { transform: rotate(0); }

.preview-mock {
  font-family: var(--ff-mono); font-size: .8rem;
  color: var(--ink-soft);
}
.preview-mock .browser-bar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.preview-mock .browser-dots {
  display: flex; gap: 6px;
}
.preview-mock .browser-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.preview-mock .browser-dots span:nth-child(1) { background: #FF5F57; }
.preview-mock .browser-dots span:nth-child(2) { background: #FEBC2E; }
.preview-mock .browser-dots span:nth-child(3) { background: #28C840; }
.preview-mock .url {
  flex: 1;
  background: var(--bg-2);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: .7rem;
  border: 1px solid var(--line-soft);
}
.preview-mock h4 {
  font-family: var(--ff-fa); font-size: 1.6rem; font-weight: 800;
  margin-bottom: 8px; color: var(--ink); line-height: 1.2;
  letter-spacing: -0.02em;
}
.preview-mock .meta {
  font-size: .68rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: 16px;
}
.preview-mock .change {
  display: inline-block;
  color: var(--c-success);
  font-family: var(--ff-mono);
  font-size: .85rem;
  margin-right: 6px;
}
.preview-bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 80px; margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.preview-bars .bar {
  flex: 1; border-radius: 6px 6px 0 0;
  position: relative;
  animation: barGrow 1.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  transform-origin: right center;
}
.preview-bars .bar:nth-child(1) { height: 30%; animation-delay: .1s; background: var(--c-primary); }
.preview-bars .bar:nth-child(2) { height: 45%; animation-delay: .38s; background: var(--c-primary);}
.preview-bars .bar:nth-child(3) { height: 35%; animation-delay: .50s; background: var(--c-secondary); }
.preview-bars .bar:nth-child(4) { height: 60%; animation-delay: .60s; background: var(--c-secondary);}
.preview-bars .bar:nth-child(5) { height: 75%; animation-delay: .65s; background: var(--c-accent); }
.preview-bars .bar:nth-child(6) { height: 95%; animation-delay: .6s; background: var(--c-accent);}
@keyframes barGrow {
  from { height: 0; }
}

.hero-col-3 {
  padding: 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  text-align: left;
}
.hero-col-3 .big-num {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 400; line-height: .9;
  color: var(--c-accent);
  letter-spacing: -0.03em;
}
.hero-col-3 .big-num .plus { font-size: .7em; vertical-align: super; }
.hero-col-3 .big-label {
  font-family: var(--ff-mono); font-size: .75rem;
  text-transform: uppercase; letter-spacing: .2em;
  color: rgba(244,239,227,.5);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1.5px solid rgba(244,239,227,.15);
  line-height: 1.6;
}
html[data-theme="light"] .hero-col-3 .big-label {
  color: rgba(255,254,250,.6);
  border-top-color: rgba(255,254,250,.18);
}

/* Hero CTAs */
.hero-ctas {
  margin-top: 50px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  padding: 24px;
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line-soft);
}
.hero-ctas .arrow-text {
  font-family: var(--ff-mono); font-size: .72rem;
  color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: .15em;
  margin-right: auto;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ====== Rounded Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-family: var(--ff-mono); font-size: .82rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: all .50s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -8px rgba(0,0,0,.3);
}

.btn-fill {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
.btn-fill:hover {
  background: var(--c-accent);
  color: var(--accent-text);
  border-color: var(--c-accent);
  box-shadow: 0 10px 25px -8px var(--c-accent);
}
.btn-accent {
  background: var(--c-accent); color: var(--accent-text);
  border-color: var(--c-accent);
}
.btn-accent:hover {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}

.btn .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: currentColor;
  color: var(--bg);
  transition: transform .55s;
}
.btn-fill .arrow { background: var(--bg); color: var(--ink); }
.btn-fill:hover .arrow { background: var(--accent-text); color: var(--c-accent); }
.btn-accent .arrow { background: var(--accent-text); color: var(--c-accent); }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn .arrow svg { width: 11px; height: 11px; }

/* ====== Section heading style ====== */
section { padding: 120px 0; position: relative; }

.sec-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px;
  align-items: end;
  margin-bottom: 70px;
  padding: 20px 28px;
  background: var(--bg-2);
  border-radius: var(--r-xl);
}
.sec-num {
  font-family: var(--ff-mono); font-size: 1rem;
  color: var(--ink-mute); letter-spacing: .1em;
  padding: 6px 14px;
  background: var(--paper);
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
}
.sec-title {
  font-size: clamp(2rem, 5vw, 4rem); font-weight: 900;
  line-height: 1; letter-spacing: -0.03em;
}
.sec-title em {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  color: var(--c-primary);
}
.sec-meta {
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--ink-mute); white-space: nowrap;
  padding: 8px 16px;
  background: var(--paper);
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
}

/* ====== SERVICES — Soft cards stacked ====== */
.svc-list {
  display: flex; flex-direction: column;
  gap: 14px;
}
.svc-row {
  display: grid;
  grid-template-columns: 80px 1fr auto 60px;
  gap: 30px;
  align-items: center;
  padding: 28px 32px;
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-xl);
  transition: all .60s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}
.svc-row::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ink);
  border-radius: var(--r-xl);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .60s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.svc-row > * { position: relative; z-index: 1; }
.svc-row:hover {
  padding: 38px 32px;
  transform: translateX(-8px);
  border-color: var(--ink);
}
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover .svc-num,
.svc-row:hover .svc-name,
.svc-row:hover .svc-cat,
.svc-row:hover .svc-arrow { color: var(--bg); }
.svc-row:hover .svc-arrow { background: transparent; border-color: var(--bg); }

.svc-num {
  font-family: var(--ff-mono); font-size: .9rem;
  color: var(--ink-mute);
  letter-spacing: .1em;
  transition: color .55s;
}
.svc-name {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em;
  transition: color .55s;
}
.svc-name em {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  color: var(--c-primary);
  transition: color .55s;
}
.svc-row:hover .svc-name em { color: var(--c-accent); }
.svc-cat {
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--ink-mute);
  white-space: nowrap;
  padding: 6px 14px;
  background: var(--bg-2);
  border-radius: var(--r-pill);
  transition: all .55s;
}
.svc-row:hover .svc-cat {
  background: rgba(244,239,227,.15);
  color: var(--bg);
}
.svc-arrow {
  width: 48px; height: 48px;
  border: 1.5px solid var(--line-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  background: transparent;
  transition: all .55s;
}
.svc-arrow svg { width: 16px; height: 16px; transition: transform .55s; }
.svc-row:hover .svc-arrow svg { transform: rotate(-45deg); }

/* ====== STATS — Big editorial numbers ====== */
.stats {
  background: var(--ink); color: var(--bg);
  padding: 80px 0;
  margin: 80px 0;
  border-radius: var(--r-xl);
  position: relative; overflow: hidden;
  max-width: 1320px; margin-left: auto; margin-right: auto;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 24px, rgba(255,255,255,.03) 24px, rgba(255,255,255,.03) 25px);
  border-radius: var(--r-xl);
}
.stats-wrap {
  padding: 0 40px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  padding: 30px 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  position: relative;
  transition: all .55s;
}
.stat-item:hover {
  background: rgba(255,255,255,.06);
  transform: translateY(-4px);
}
.stat-num {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .9; color: var(--bg);
  margin-bottom: 12px; letter-spacing: -0.03em;
}
.stat-num .pct, .stat-num .x {
  font-family: var(--ff-mono); font-style: normal; font-size: .5em;
  color: var(--c-accent); margin-right: 4px;
}
.stat-label {
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .15em;
  color: rgba(255,255,255,.5);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* ====== ABOUT — Manifesto ====== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.about-side {
  position: sticky; top: 110px;
  padding: 36px;
  background: var(--paper);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--line-soft);
}
.about-tag {
  display: inline-block;
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .2em;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: var(--accent-text);
  margin-bottom: 24px;
  font-weight: 700;
}
.about-text {
  padding: 36px;
  background: var(--bg-2);
  border-radius: var(--r-xl);
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.4; color: var(--ink);
  letter-spacing: -0.01em;
}
.about-text strong {
  font-family: var(--ff-fa); font-style: normal; font-weight: 800;
  background: var(--c-accent); color: var(--accent-text);
  padding: 2px 12px; border-radius: var(--r-xs);
}
.about-text .highlight { color: var(--c-primary); font-weight: 600; }
.about-text .crossed { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--c-accent); opacity: .6; }

.about-features {
  list-style: none; margin-top: 30px;
}
.about-features li {
  padding: 16px 20px;
  margin-bottom: 8px;
  background: var(--bg-2);
  border-radius: var(--r-md);
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 1rem; color: var(--ink-soft);
  transition: all .45s;
}
.about-features li:hover {
  background: var(--ink);
  color: var(--bg);
}
.about-features li:hover .marker { color: var(--c-accent); }
.about-features .marker {
  font-family: var(--ff-mono); font-size: .8rem;
  color: var(--c-primary); flex-shrink: 0;
  padding-top: 4px;
  transition: color .45s;
}

/* ====== PROCESS — Soft cards ====== */
.process {
  /* Section main background removed per request — only cards keep their own background */
  background: transparent;
  border-radius: var(--r-xl);
}
.process .wrap { padding: 0 20px; }
.process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.process-step {
  background: var(--paper);
  padding: 32px 24px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line-soft);
  position: relative;
  transition: all .55s;
}
.process-step:hover {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-8px);
}
.process-step:hover .step-num { color: var(--c-accent); }
.process-step:hover .step-line { background: var(--c-accent); }
.process-step:hover p { color: rgba(255,255,255,.7); }

.step-num {
  font-family: var(--ff-serif); font-style: italic;
  font-size: 3.5rem; font-weight: 400; line-height: 1;
  color: var(--c-primary);
  margin-bottom: 20px; letter-spacing: -0.03em;
  transition: color .55s;
}
.step-line {
  width: 30px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin-bottom: 16px;
  transition: background-color .55s;
}
.process-step h3 {
  font-size: 1.1rem; font-weight: 800;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.process-step p {
  font-size: .86rem; color: var(--ink-soft);
  line-height: 1.6; transition: color .55s;
}

/* ====== WORK — Editorial grid ====== */
.work-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}
.work-item {
  text-decoration: none; color: var(--ink);
  display: block;
  transition: transform .60s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-item:hover { transform: translateY(-10px); }
.work-1 { grid-column: 1/8; }
.work-2 { grid-column: 8/13; margin-top: 80px; }
.work-3 { grid-column: 1/5; }
.work-4 { grid-column: 5/10; margin-top: 60px; }
.work-5 { grid-column: 10/13; margin-top: 40px; }
.work-6 { grid-column: 4/10; margin-top: 60px; }

.work-cover {
  aspect-ratio: 16/11;
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--c-primary);
  margin-bottom: 20px;
  transition: border-radius .60s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-item:hover .work-cover { border-radius: var(--r-lg); }
.work-1 .work-cover { background: linear-gradient(135deg, #5C8A6A, #4a7457); }
.work-2 .work-cover { background: linear-gradient(135deg, #8BB8D6, #6fa3c7); aspect-ratio: 4/5; }
.work-3 .work-cover { background: linear-gradient(135deg, #C9B18C, #b89b71); aspect-ratio: 4/5;}
.work-4 .work-cover { background: linear-gradient(135deg, #2C3038, #0E1116); }
.work-5 .work-cover { background: linear-gradient(135deg, #C9B18C, #5C8A6A); aspect-ratio: 1; }
.work-6 .work-cover { background: linear-gradient(135deg, #8BB8D6, #C9B18C); }

.work-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 30px 30px;
}
.work-cover-content {
  position: absolute; inset: 0;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: white;
}
.work-tag {
  font-family: var(--ff-mono); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .2em;
  padding: 6px 14px;
  background: rgba(255,255,255,.15);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  align-self: flex-start;
}
.work-cover-content .big {
  font-family: var(--ff-serif); font-style: italic;
  font-size: clamp(2rem, 5vw, 4rem); font-weight: 400; line-height: 1;
  letter-spacing: -0.03em;
}
.work-cover-content .big .pct {
  font-family: var(--ff-mono); font-style: normal;
  font-size: .4em; opacity: .8;
}

.work-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
  font-family: var(--ff-mono); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--ink-mute);
}
.work-title {
  font-size: 1.3rem; font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.3;
}


/* ====== TESTIMONIAL — Big quote ====== */
.testimonial {
  text-align: center;
  padding: 80px 40px;
  background: var(--paper);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--line-soft);
  margin: 0 20px;
}
.quote-mark {
  font-family: var(--ff-serif); font-style: italic;
  font-size: 8rem; line-height: .5; color: var(--c-primary);
  margin-bottom: -20px;
}
.quote-text {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  line-height: 1.4; max-width: 1000px; margin: 0 auto 40px;
  letter-spacing: -0.01em;
}
.quote-text mark {
  background: var(--c-accent); color: var(--accent-text);
  padding: 2px 12px;
  border-radius: var(--r-xs);
}
.quote-author {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 16px 28px;
  background: var(--bg-2);
  border-radius: var(--r-pill);
}
.quote-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  display: grid; place-items: center;
  color: white; font-weight: 800;
}
.quote-author .name { font-weight: 700; }
.quote-author .role {
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--ink-mute); display: block;
}

/* ====== REVIEWS (grid + form) ====== */
.reviews-head { text-align: center; margin-bottom: 50px; }
.reviews-kicker {
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .25em;
  color: var(--c-primary); display: block; margin-bottom: 12px;
}
.reviews-title {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2;
  letter-spacing: -0.02em;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.review-card {
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .50s, box-shadow .50s, border-color .50s;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.25);
}
.dasht-stars { display: inline-flex; gap: 3px; font-size: 1.05rem; color: var(--line-soft); }
.dasht-stars .on { color: var(--c-accent); }
.review-text {
  color: var(--ink-soft); line-height: 1.85; font-size: 1rem;
  flex: 1;
}
.review-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.review-name { font-weight: 800; }
.review-role {
  font-family: var(--ff-mono); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-mute); display: block; margin-top: 2px;
}

/* Submit-review form */
.review-form-wrap {
  margin-top: 56px;
  max-width: 720px; margin-left: auto; margin-right: auto;
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: 40px;
}
.review-form-head { text-align: center; margin-bottom: 28px; }
.review-form-head h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; }
.review-form-head p { color: var(--ink-mute); line-height: 1.7; font-size: .92rem; }
.review-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-field { margin-bottom: 18px; }
.review-field label {
  display: block; font-family: var(--ff-mono); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-mute); margin-bottom: 8px;
}
.review-field input, .review-field textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--bg); color: var(--ink);
  font-family: var(--ff-fa); font-size: 1rem;
  transition: border-color .38s, box-shadow .38s;
}
.review-field input:focus, .review-field textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(92,138,106,.12);
}
.dasht-star-input { display: inline-flex; gap: 6px; direction: ltr; }
.dasht-star-input .star {
  background: none; border: none; cursor: pointer;
  font-size: 1.9rem; line-height: 1; color: var(--line-soft);
  padding: 0; transition: color .28s, transform .28s;
}
.dasht-star-input .star:hover { transform: scale(1.15); }
.dasht-star-input .star.on { color: var(--c-accent); }
.dasht-review-msg {
  display: none; margin-bottom: 16px; padding: 12px 16px;
  border-radius: var(--r-md); font-size: .9rem; line-height: 1.6;
}
.dasht-review-msg.is-success { display: block; background: rgba(16,185,129,.12); color: var(--c-success); }
.dasht-review-msg.is-error { display: block; background: rgba(231,76,60,.1); color: #e74c3c; }

@media (max-width: 600px) {
  .review-form-row { grid-template-columns: 1fr; }
  .review-form-wrap { padding: 28px 22px; }
}

/* ====== CONTACT ====== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.contact-left {
  padding: 40px;
  background: var(--bg-2);
  border-radius: var(--r-xl);
}
.contact-left h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900; line-height: .95;
  letter-spacing: -0.04em; margin-bottom: 24px;
}
.contact-left h2 em {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  color: var(--c-primary); display: block;
}
.contact-info {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 10px;
}
.contact-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  transition: all .45s;
}
.contact-info-row:hover {
  border-color: var(--ink);
  transform: translateX(-4px);
}
.contact-info-row .lbl {
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--ink-mute);
}
.contact-info-row .val { font-weight: 700; font-size: 1.05rem; }
.contact-info-row .val[dir="ltr"] { direction: ltr; }

.socials {
  display: flex; gap: 10px; margin-top: 30px;
}
.socials a {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  display: grid; place-items: center;
  color: var(--ink); transition: all .50s;
}
.socials a:hover {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-3px) rotate(-8deg);
}

.contact-form {
  background: var(--paper);
  padding: 40px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--line-soft);
  position: relative;
  box-shadow: 10px 10px 0 var(--c-accent);
}
.form-field { margin-bottom: 22px; }
.form-field label {
  font-family: var(--ff-mono); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--ink-mute); display: block; margin-bottom: 10px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-fa); font-size: 1rem;
  transition: all .38s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(92,138,106,.12);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form button {
  width: 100%; justify-content: center; margin-top: 10px;
}
.form-msg {
  margin-top: 16px; font-size: .85rem; text-align: center;
  display: none; color: var(--c-success); font-weight: 600;
  padding: 12px;
  background: rgba(16,185,129,.1);
  border-radius: var(--r-md);
}

/* ====== FOOTER ====== */
.footer {
  background: var(--ink); color: var(--bg);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: 40px;
  overflow: hidden;
  position: relative;
}
.footer-mega {
  padding: 100px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-mega .display {
  font-size: clamp(4rem, 14vw, 13rem);
  font-weight: 900; line-height: .85;
  letter-spacing: -0.05em;
  color: var(--bg);
}
.footer-mega .display em {
  font-family: var(--ff-serif); font-style: italic; font-weight: 400;
  color: var(--c-accent);
}
.footer-cols {
  padding: 60px 0;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-cols h4 {
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .2em;
  color: rgba(255,255,255,.4); margin-bottom: 24px;
  padding: 8px 16px;
  background: rgba(255,255,255,.05);
  border-radius: var(--r-pill);
  display: inline-block;
  font-weight: 500;
}
.footer-cols ul { list-style: none; }
.footer-cols ul li { margin-bottom: 10px; }
.footer-cols a {
  color: var(--bg); text-decoration: none;
  font-size: 1rem; transition: all .38s;
  display: inline-block;
  padding: 4px 0;
}
.footer-cols a:hover { color: var(--c-accent); transform: translateX(-4px); }
.footer-cols .ff-serif {
  font-size: 1.4rem; line-height: 1.5; display: block;
  margin-bottom: 20px; color: var(--bg);
  font-style: italic;
}
.footer-bottom {
  padding: 24px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--ff-mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .15em;
  color: rgba(255,255,255,.4);
}

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-col-2 { max-width: 500px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-side { position: static; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { display: flex; flex-direction: column; gap: 50px; }
  .work-1, .work-2, .work-3, .work-4, .work-5, .work-6 { grid-column: 1/-1; margin-top: 0; }
  .price-grid { grid-template-columns: 1fr; gap: 24px; }
  .price-card.featured { transform: none; box-shadow: 8px 8px 0 rgba(201,177,140,.72); padding: 30px 24px 26px; }
  .price-card.featured:hover { transform: translateY(-6px); box-shadow: 12px 12px 0 rgba(201,177,140,.82); }
  .price-topline { align-items: flex-start; }
  .price-featured-strip { display: flex; }
  .price-card.featured .price-main { padding: 14px 14px 12px; margin-bottom: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .wrap { padding: 0 20px; }
  .price-grid { align-items: stretch; }
  .stats { margin: 60px 0; }
  .stats-wrap { padding: 0 20px; }
  .process { margin: 0; border-radius: 0; }
  .testimonial { margin: 0; padding: 50px 24px; border-radius: 0; }
  /* Nav-links mobile: fully handled by fixes.css (off-canvas drawer) — no duplicate rules here */
  .menu-btn { display: flex; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; padding: 20px; }
  .sec-meta { white-space: normal; align-self: flex-start; }
  .svc-row { grid-template-columns: 50px 1fr 44px; gap: 16px; padding: 22px 20px; }
  .svc-row:hover { padding: 28px 20px; transform: none; }
  .svc-cat { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { box-shadow: 6px 6px 0 var(--c-accent); padding: 28px; }
  .contact-left { padding: 28px; }
  .hero-col-2 { transform: none; box-shadow: 6px 6px 0 var(--ink); }
  .ticker { font-size: .65rem; }
  .hero-meta { flex-direction: column; gap: 8px; align-items: flex-start; padding: 14px 18px;}
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .arrow-text { margin-right: 0; text-align: center; justify-content: center; }
  .btn { justify-content: center; }
  .header { top: 10px; padding: 0 12px; }
  .header-inner { padding: 8px 8px 8px 16px; }
  .brand-sub { display: none; }
}

/* Reveal — base only; motion-ui.css and fixes.css handle transform/filter with !important */

/* ============================================================
   HEADER — Extended Components (Login, Search, User Menu)
   ============================================================ */

/* ── Icon button (search, login icon) ── */
.nav-icon-btn {
  width: 42px; height: 42px;
  border: 1.5px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--ink);
  transition: all .45s;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  padding: 0;
  line-height: 1;
}
.nav-icon-btn svg {
  display: block;
  flex-shrink: 0;
}
.nav-icon-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.nav-icon-btn .dasht-btn-label {
  font-family: var(--ff-mono);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
}

/* Show label on wider screens, icon-only on smaller */
@media (max-width: 1100px) { .nav-icon-btn .dasht-btn-label { display: none; } }
@media (min-width: 1101px) { .nav-icon-btn { width: auto; padding: 0 16px 0 12px; border-radius: var(--r-pill); } }

/* ── Auth buttons ── */
.dasht-auth-btns { display: flex; align-items: center; gap: 8px; }
.dasht-register-btn {
  display: inline-flex; align-items: center;
  padding: 9px 18px;
  font-family: var(--ff-mono); font-size: .75rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: all .45s;
}
.dasht-register-btn:hover {
  background: var(--c-primary);
  color: white;
  border-color: var(--c-primary);
}
@media (max-width: 900px) { .dasht-register-btn { display: none; } }

/* ── Header CTA ── */
.dasht-header-cta {
  padding: 10px 20px !important;
  font-size: .78rem !important;
  white-space: nowrap;
}
@media (max-width: 900px) { .dasht-header-cta { display: none !important; } }

/* ── Hamburger bars ── */
.menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1.5px solid var(--line-soft);
  border-radius: 50%;
  color: var(--ink);
  width: 42px; height: 42px;
  transition: all .45s;
  padding: 0;
}
.menu-btn:hover { background: var(--ink); border-color: var(--ink); }
.menu-btn:hover .menu-btn-bar { background: var(--bg); }
.menu-btn-bar {
  display: block;
  width: 18px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .50s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.menu-btn.open .menu-btn-bar:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-btn.open .menu-btn-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open .menu-btn-bar:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ── Logo switching ── */
.dasht-logo { display: block; width: auto; height: auto; max-height: calc(42px * var(--logo-scale, 1)); object-fit: contain; }
html[data-theme="dark"]  .dasht-logo-light { display: none !important; }
html[data-theme="dark"]  .dasht-logo-dark  { display: block !important; }
html[data-theme="light"] .dasht-logo-light { display: block !important; }
html[data-theme="light"] .dasht-logo-dark  { display: none !important; }

/* ── Header no-blur / no-border / no-shadow variants ── */
.header-inner.no-blur  { backdrop-filter: none; }
.header-inner.no-border { border-color: transparent !important; }
.header-inner.no-shadow { box-shadow: none !important; }

/* ── Scrolled state ── */
.header.scrolled .header-inner {
  box-shadow: 0 16px 48px -12px rgba(0,0,0,.18);
}

/* ============================================================
   USER DROPDOWN MENU
   ============================================================ */
.dasht-user-menu { position: relative; }

.dasht-user-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 6px 12px 6px 8px;
  color: var(--ink);
  transition: all .45s;
  font-family: var(--ff-fa);
}
.dasht-user-btn:hover {
  border-color: var(--ink);
  background: var(--bg-2);
}

.dasht-user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: .82rem;
  flex-shrink: 0;
  overflow: hidden;
  background-size: cover; background-position: center;
}
.dasht-user-name {
  font-size: .82rem; font-weight: 600;
  max-width: 100px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
@media (max-width: 900px) { .dasht-user-name { display: none; } }

/* Dropdown panel */
.dasht-user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.2);
  z-index: 200;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  pointer-events: none;
  transition: all .45s cubic-bezier(0.22, 1, 0.36, 1);
}
.dasht-user-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.dasht-user-dropdown-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.dasht-user-dropdown-name {
  display: block; font-weight: 700; font-size: .95rem;
  margin-bottom: 2px;
}
.dasht-user-dropdown-email {
  font-size: .72rem; color: var(--ink-mute);
  letter-spacing: .04em;
}
.dasht-user-dropdown-items { padding: 8px; }
.dasht-user-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .88rem;
  transition: all .38s;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: right;
  font-family: var(--ff-fa);
}
.dasht-user-dropdown-item:hover {
  background: var(--bg-2);
  color: var(--ink);
}
.dasht-user-dropdown-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 6px 0;
}
.dasht-user-dropdown-logout:hover {
  background: rgba(231,76,60,.08);
  color: #e74c3c;
}

/* ============================================================
   SEARCH MODAL
   ============================================================ */
.dasht-search-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity .50s cubic-bezier(0.22, 1, 0.36, 1);
}
.dasht-search-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.dasht-search-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dasht-search-modal-inner {
  position: relative; z-index: 1;
  width: min(680px, 92vw);
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.4);
  overflow: hidden;
  transform: translateY(-20px) scale(.97);
  transition: transform .50s cubic-bezier(0.22, 1, 0.36, 1);
}
.dasht-search-modal.open .dasht-search-modal-inner {
  transform: translateY(0) scale(1);
}

.dasht-search-form { padding: 0; }
.dasht-search-input-wrap {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  border-bottom: 1.5px solid var(--line-soft);
}
.dasht-search-input-wrap svg { color: var(--ink-mute); flex-shrink: 0; }
.dasht-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--ff-fa);
  font-size: 1.2rem;
  color: var(--ink);
  outline: none;
}
.dasht-search-input::placeholder { color: var(--ink-mute); }
/* FIX: remove the green focus ring/bar on the search field.
   Global rules (`:focus-visible { outline: 2px solid var(--c-primary) }` in
   premium-design.css and the beige outline in product-polish.css) were
   painting a ring over the input when the modal auto-focuses it. */
.dasht-search-input:focus,
.dasht-search-input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.dasht-search-close {
  width: 36px; height: 36px;
  border: 1.5px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--ink-mute);
  flex-shrink: 0;
  transition: all .38s;
}
.dasht-search-close:hover { background: var(--bg-2); color: var(--ink); }

.dasht-search-hint {
  display: flex; justify-content: space-between;
  padding: 10px 24px;
  font-family: var(--ff-mono);
  font-size: .68rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-mute);
  background: var(--bg-2);
}

/* Search results */
.dasht-search-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
}
.dasht-search-results:empty { display: none; }
.dasht-search-result-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: background .38s;
}
.dasht-search-result-item:hover { background: var(--bg-2); }
.dasht-search-result-title { font-weight: 600; font-size: .95rem; }
.dasht-search-result-type {
  font-family: var(--ff-mono); font-size: .65rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-mute);
  background: var(--bg);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
}
.dasht-search-no-results {
  text-align: center;
  padding: 30px;
  color: var(--ink-mute);
  font-size: .9rem;
}
.dasht-search-loading {
  text-align: center;
  padding: 20px;
  color: var(--ink-mute);
  font-family: var(--ff-mono);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── Mobile nav override ── */
@media (max-width: 768px) {
  .menu-btn    { display: inline-flex; }
  .dasht-search-modal { padding-top: 5vh; }
  .dasht-search-modal-inner { border-radius: var(--r-lg); }
  .dasht-search-input { font-size: 1rem; }
  .dasht-search-input-wrap { padding: 16px 18px; gap: 10px; }
}

/* Search trigger active state — subtle, no color highlight */
.dasht-search-trigger.active {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-soft);
}

/* ── Header buttons: remove browser focus outline ring ── */
.nav-icon-btn:focus,
.nav-icon-btn:focus-visible,
.theme-btn:focus,
.theme-btn:focus-visible,
.dasht-search-trigger:focus,
.dasht-search-trigger:focus-visible,
.menu-btn:focus,
.menu-btn:focus-visible,
.dasht-user-btn:focus,
.dasht-user-btn:focus-visible {
  outline: none;
  box-shadow: none;
}
.nav-icon-btn:focus-visible,
.theme-btn:focus-visible,
.dasht-search-trigger:focus-visible,
.menu-btn:focus-visible,
.dasht-user-btn:focus-visible {
  outline: 2px solid var(--primary, #5C8A6A);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════════════
   DYNAMIC THEME OPTIONS — CSS Variables
   ══════════════════════════════════════════════════ */
:root {
  --blog-cols: 3;
  --shop-cols: 3;
  --footer-cols: 4;
}
/* Blog grid: responsive to --blog-cols */
.dasht-blog-grid { grid-template-columns: repeat(var(--blog-cols, 3), 1fr); }
@media (max-width: 1024px) { .dasht-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .dasht-blog-grid { grid-template-columns: 1fr; } }

/* Footer grid: responsive to --footer-cols */
.footer-cols { grid-template-columns: repeat(var(--footer-cols, 4), 1fr); }
@media (max-width: 768px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }

/* ── Hide custom cursor in customizer/admin ── */
.dasht-customizer-body .cursor,
.dasht-customizer-body .cursor-dot,
.wp-admin .cursor,
.wp-admin .cursor-dot { display: none !important; }

/* ══════════════════════════════════════════════════
   GLOBAL CUSTOM SCROLLBAR — Site-wide
   ══════════════════════════════════════════════════ */

/* ── Webkit / Blink (Chrome, Edge, Safari, Opera) ── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--c-primary); border-radius: 10px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-mute); }
::-webkit-scrollbar-corner { background: var(--bg-2); }

/* ── Firefox ── */
html { scrollbar-width: auto; scrollbar-color: var(--c-primary) var(--bg-2); overflow-x: clip; }

/* ── Dark mode scrollbar ── */
html[data-theme="dark"]::-webkit-scrollbar-track { background: var(--bg-2); }
html[data-theme="dark"]::-webkit-scrollbar-thumb { background: rgba(244,239,227,.2); border-color: var(--bg-2); }
html[data-theme="dark"]::-webkit-scrollbar-thumb:hover { background: rgba(244,239,227,.35); }
html[data-theme="dark"] { scrollbar-color: rgba(244,239,227,.2) var(--bg-2); }

/* ── Admin panel scrollbar ── */
body.wp-admin::-webkit-scrollbar { width: 10px; }
body.wp-admin::-webkit-scrollbar-track { background: #f1f5f9; }
body.wp-admin::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 10px; border: 2px solid #f1f5f9; }
body.wp-admin::-webkit-scrollbar-thumb:hover { background: #64748b; }
body.wp-admin { scrollbar-width: auto; scrollbar-color: #94a3b8 #f1f5f9; }
@media (prefers-color-scheme: dark) {
  body.wp-admin::-webkit-scrollbar-track { background: #0A0D12; }
  body.wp-admin::-webkit-scrollbar-thumb { background: #334155; border-color: #0A0D12; }
  body.wp-admin::-webkit-scrollbar-thumb:hover { background: #475569; }
  body.wp-admin { scrollbar-color: #334155 #0A0D12; }
}

/* ═══════════════════════════════════════════════
   کلاس‌های تکمیلی — review form و services
   ═══════════════════════════════════════════════ */
.dasht-review-form {
  margin-top: 40px;
  padding: 28px;
  background: var(--paper);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.dasht-review-form h3 {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.dasht-sec-services {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dasht-sec-services-title-text {
  display: inline;
}

/* ── contact info items ── */
.dasht-contact-phone,
.dasht-contact-email,
.dasht-contact-address,
.dasht-contact-hours {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ── floating actions ── */
.dasht-floating-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dasht-floating-toggle-icon {
  display: inline-flex;
  align-items: center;
  transition: opacity .2s, transform .2s;
}
.dasht-floating-toggle-icon.is-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}
.dasht-floating-actions.is-open .dasht-floating-toggle-icon.is-open {
  opacity: 0;
  transform: rotate(90deg);
}
.dasht-floating-actions.is-open .dasht-floating-toggle-icon.is-close {
  opacity: 1;
  transform: rotate(0deg);
}
.dasht-floating-toggle-text {
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.dasht-floating-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.dasht-floating-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── blog card elements (در styles.php هم هستند ولی برای safety) ── */
.dasht-blog-thumb {
  overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0;
  aspect-ratio: 16/10;
}
.dasht-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.dasht-blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dasht-blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.dasht-blog-excerpt {
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.9;
  flex: 1;
}
.dasht-blog-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--ink);
}
.dasht-blog-placeholder {
  aspect-ratio: 16/10;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.dasht-blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-primary);
  text-decoration: none;
  margin-top: 14px;
}

/* === Advanced Parallax Styles === */
.dasht-parallax-img {
  overflow: hidden;
  position: relative;
}
.dasht-parallax-applied {
  will-change: transform;
  transform: scale(1.1);
  transition: opacity 0.5s ease;
}
.dasht-mouse-parallax,
.hero-kicker, .hero-stamp, .stat-item {
  will-change: transform;
  /* transition is handled via JS lerp for mouse, so no CSS transition needed for transform here, it causes stutter */
}


.dasht-floating-actions.is-open .dasht-floating-toggle {
    width: 54px;
    padding: 0;
    gap: 0;
}



/* Floating toggle animation */
.dasht-floating-toggle-text {
  display: inline-block !important;
  max-width: 150px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.45s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.35s ease, margin 0.45s ease, padding 0.45s ease;
  transform-origin: center right;
}
.dasht-floating-actions.is-open .dasht-floating-toggle-text {
  max-width: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.dasht-floating-actions.is-open .dasht-floating-toggle {
  width: 54px !important;
  min-width: 54px !important;
  padding: 0 !important;
  gap: 0 !important;
}


.dasht-floating-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    gap: 8px !important;
    transition: all 0.45s cubic-bezier(0.2, 1, 0.3, 1) !important;
}
.dasht-floating-toggle-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
.dasht-floating-toggle-text {
    display: inline-block !important;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    opacity: 1;
    margin: 0;
    transition: max-width 0.45s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s ease, margin 0.45s ease;
}
.dasht-floating-actions.is-open .dasht-floating-toggle {
    width: 54px !important;
    min-width: 54px !important;
    padding: 0 !important;
    gap: 0 !important;
}
.dasht-floating-actions.is-open .dasht-floating-toggle-text {
    max-width: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
