/* ستایش — چاپ و تبلیغات
   Light, energetic template direction (client-approved reference):
   near-black ink, warm off-white ground, red primary + blue accent,
   a rainbow conic-gradient used sparingly as a brand mark / rule. */

:root {
  --ink: #141414;
  --bg: #fafafa;
  --card: #ffffff;
  --primary: #e10600;
  --primary-dark: #a30400;
  --accent: #0057ff;
  --accent-2: #ff5f6d;
  --muted: #6b6b6b;
  --border: #ececec;
  --radius: 16px;
  --rainbow: conic-gradient(from 0deg, #ff00c8, #ff8a00, #ffe600, #3ddc57, #00c2ff, #7a3ffb, #ff00c8);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,246,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 20px; }
.logo { font-size: 20px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--primary); font-size: 13px; font-weight: 600; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%; background: var(--rainbow);
  display: flex; align-items: center; justify-content: center; padding: 3px; flex-shrink: 0;
}
.logo-mark b {
  width: 100%; height: 100%; border-radius: 50%; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
}
.nav-links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; flex-wrap: wrap; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 13.5px; white-space: nowrap; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  cursor: pointer; border: none; text-decoration: none;
  background: var(--primary); color: #fff;
}
.btn:hover { background: var(--primary-dark); }
.btn-secondary, .btn-outline {
  background: transparent; color: var(--ink); border: 1.5px solid var(--border);
}
.btn-secondary:hover, .btn-outline:hover { background: rgba(0,0,0,0.03); }

/* ---------- Hero ---------- */

.hero {
  padding: 70px 24px 50px;
  background: linear-gradient(135deg, #141414 0%, #2b2b2b 100%);
  color: #fff;
  text-align: center;
  border-radius: 0 0 32px 32px;
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
}
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--rainbow); }
.hero-eyebrow, .eyebrow {
  display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 16px;
  border-radius: 999px; font-size: 13px; margin-bottom: 18px; font-weight: 600;
}
.hero-title { font-size: clamp(30px, 5vw, 50px); font-weight: 700; margin: 0 0 16px; text-wrap: balance; }
.hero-title span { color: var(--accent-2); }
.hero-sub { font-size: 16.5px; opacity: 0.92; max-width: 560px; margin: 0 auto 28px; text-wrap: balance; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Marquee ---------- */

.marquee, .marquee-wrap { overflow: hidden; background: var(--rainbow); padding: 12px 0; margin: 0 -24px; }
.marquee-track { display: inline-flex; gap: 36px; white-space: nowrap; animation: scroll-mq 22s linear infinite; width: max-content; direction: ltr; }
.marquee-track span { color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,0.35); direction: rtl; }
@keyframes scroll-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */

.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-kicker { color: var(--primary); font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.section-head h2, .band-heading { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin: 0; }
.section-head p, .band-sub { color: var(--muted); margin-top: 8px; font-size: 15px; }

.section-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--primary); text-transform: uppercase; margin: 0 0 18px;
  padding-right: 12px; border-right: 3px solid var(--primary);
}

/* ---------- Services / category grid ---------- */

.services-grid, .service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px;
}
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; transition: 0.2s; cursor: pointer; display: block;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(225,6,0,0.12); border-color: var(--primary); }
.service-icon { font-size: 32px; margin-bottom: 12px; }
.service-card strong, .service-card h3 { font-size: 15px; font-weight: 600; }

/* ---------- Portfolio / news / product grids ---------- */

.portfolio-grid, .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.portfolio-card, .product-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  text-decoration: none; color: var(--ink); display: block; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover, .product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.portfolio-card img, .product-card-img img {
  width: 100%; height: 160px; object-fit: cover; display: block;
}
.product-card-img { height: 160px; background: linear-gradient(135deg, var(--primary), var(--accent-2)); overflow: hidden; }
.product-card-noimg {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 20px;
}
.portfolio-card-label, .product-card-title {
  display: block; padding: 14px 16px; font-size: 14.5px; font-weight: 600;
}

/* ---------- Why-us / about ---------- */

.about-grid, .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.about-item, .why-card { background: var(--card); border-radius: var(--radius); padding: 28px 22px; border: 1px solid var(--border); }
.about-item strong, .why-card h3 { display: block; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.about-item p, .why-card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.why-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px;
}

/* ---------- Price table ---------- */

.price-section { background: var(--card); }
table.simple, .price-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
table.simple th, table.simple td, .price-table th, .price-table td {
  padding: 14px 16px; text-align: right; font-size: 13.5px; border-bottom: 1px solid var(--border);
}
table.simple th, .price-table th { background: var(--primary); color: #fff; font-weight: 600; }
table.simple tr:last-child td, .price-table tr:last-child td { border-bottom: none; }
.price-note { color: var(--muted); margin-top: 8px; font-size: 12.5px; }
.table-wrap { overflow-x: auto; }

/* ---------- Pricing directory ---------- */
.pricing-page { padding: 8px 0 2px; }
.pricing-hero { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 34px; border-radius: 16px; background: linear-gradient(125deg, #101a21, #1d2b35); color: #fff; box-shadow: 0 18px 42px rgba(13, 24, 31, .16); }
.eyebrow { display: block; margin-bottom: 8px; color: #ff746e; font-size: 12px; font-weight: 800; }
.pricing-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.3; font-weight: 900; }
.pricing-hero p { max-width: 670px; margin: 0; color: #c4cdd2; font-size: 14px; line-height: 2; }
.pricing-hero .btn { flex: 0 0 auto; white-space: nowrap; }
.price-controls { margin: 24px 0 20px; padding: 16px; border: 1px solid #e0e5e8; border-radius: 13px; background: rgba(255,255,255,.9); }
.price-search { display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #d5dce0; border-radius: 9px; background: #fff; color: var(--primary); }
.price-search span { font: 700 24px/1 Arial, sans-serif; transform: rotate(-20deg); }
.price-search input { width: 100%; padding: 12px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; }
.price-filter-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.price-filter { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #dfe5e8; border-radius: 999px; color: #47545d; background: #fff; cursor: pointer; font: inherit; font-size: 12px; transition: .2s ease; }
.price-filter b { display: inline-grid; min-width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #eef1f3; font-size: 10px; }
.price-filter:hover, .price-filter.is-active { color: #fff; border-color: var(--primary); background: var(--primary); }
.price-filter.is-active b { color: var(--primary); background: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-service-card { display: flex; flex-direction: column; min-height: 290px; padding: 20px; border: 1px solid #dce3e6; border-top: 3px solid #16232b; border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: 0 9px 22px rgba(15, 27, 34, .045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.price-service-card:hover { transform: translateY(-4px); border-top-color: var(--primary); box-shadow: 0 16px 32px rgba(15, 27, 34, .10); }
.price-service-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-category { color: #64717a; font-size: 12px; font-weight: 700; }
.price-status { padding: 4px 8px; border-radius: 5px; background: #eef1f3; color: #5e6a72; font-size: 10px; font-weight: 800; }
.price-status.is-live { color: #087c51; background: #e5f7ee; }
.price-service-card h2 { margin: 13px 0 15px; font-size: 19px; line-height: 1.5; font-weight: 900; }
.price-service-card h2 a:hover { color: var(--primary); }
.price-amount { min-height: 71px; padding: 13px; border-radius: 9px; background: linear-gradient(135deg, #fff4f3, #fff); color: #ae2c27; font-size: 12px; line-height: 1.9; }
.price-amount p { margin: 0; }
.price-specs { margin-top: 14px; color: #67737b; font-size: 12px; line-height: 1.9; }
.price-specs summary { color: #25323a; cursor: pointer; font-weight: 800; }
.price-specs p { margin: 8px 0 0; }
.price-service-actions { display: flex; gap: 14px; margin-top: auto; padding-top: 17px; font-size: 12px; font-weight: 800; }
.price-service-actions a:first-child { color: var(--primary); }.price-service-actions a:last-child { color: #53616a; }
.price-empty-result { padding: 35px; text-align: center; color: var(--muted); }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, #141414, #2b2b2b); color: #fff; border-radius: 24px;
  padding: 48px 32px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--rainbow); }
.cta-banner h2 { font-size: clamp(20px, 3vw, 26px); margin: 0 0 10px; font-weight: 700; }
.cta-banner p { opacity: 0.9; margin: 0 0 22px; font-size: 14px; }

/* ---------- Footer ---------- */

footer { background: var(--ink); color: #cfcfcf; padding: 50px 0 22px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 28px; margin-bottom: 36px; }
.footer-grid h4 { color: #fff; font-size: 14.5px; font-weight: 600; margin: 0 0 14px; }
.footer-grid li { margin-bottom: 9px; font-size: 13.5px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; text-align: center; font-size: 12.5px; color: #8d8d8d; }

/* ---------- Shared components (inner pages: forms, cart, samples, tabs) ---------- */

.messages { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.message {
  padding: 12px 16px; border-radius: 10px; font-size: 13.5px;
  background: var(--card); border: 1px solid var(--border); border-right: 3px solid var(--muted);
}
.message.success { border-right-color: #1a8a4c; color: #1a8a4c; }
.message.error { border-right-color: var(--primary); color: var(--primary-dark); }
.message.info { border-right-color: var(--accent); color: var(--accent); }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.breadcrumb .back { color: var(--primary); text-decoration: none; font-weight: 600; }

.grid, .grid-desktop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-desktop { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 14px; color: var(--ink); font-size: 14.5px; font-weight: 600; text-align: center;
  cursor: pointer; text-decoration: none; display: block; transition: transform 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-3px); border-color: var(--primary); }

.sample-grid, .sample-grid-desktop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sample-grid-desktop { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.sample { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); aspect-ratio: 1; cursor: pointer; }
.sample img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sample.selected { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.sample .badge {
  position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.6); color: #fff;
  font-size: 11px; padding: 1px 7px; border-radius: 8px; font-variant-numeric: tabular-nums;
}

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field select, .field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; color: var(--ink); font-size: 14.5px; font-family: inherit;
}
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); }

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; max-width: 460px; }
.summary-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; line-height: 1.9; font-size: 13.5px; white-space: pre-line; }
.price-box {
  background: linear-gradient(135deg, rgba(225,6,0,0.06), rgba(225,6,0,0.01));
  border: 1px solid var(--primary); border-radius: var(--radius); padding: 16px;
  margin-bottom: 16px; font-size: 13.5px; white-space: pre-line; color: var(--primary-dark);
}
.empty-state { text-align: center; color: var(--muted); padding: 44px 20px; font-size: 13.5px; line-height: 1.8; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted);
  text-decoration: none; font-size: 12.5px; font-weight: 600; background: var(--card);
}
.tab:hover { border-color: var(--primary); color: var(--ink); }
.tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.news-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 10px; }
.news-strip .product-card { min-width: 220px; flex: 0 0 auto; }

/* legacy dark-theme band wrapper aliasing, kept so old templates using
   .band / .band-cream / .band-white degrade gracefully to plain sections */
.band { padding: 0; margin: 0; }
.band-cream, .band-white { background: transparent; }
.about-band { text-align: center; }
.about-band h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; margin-bottom: 30px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Floating AI chat widget ---------- */

#aiFab {
  position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; font-size: 24px; cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(225,6,0,0.55); z-index: 100; transition: transform 0.15s;
}
#aiFab:hover { transform: scale(1.06); }
#aiFab.ai-welcome-pulse { animation: ai-welcome-pulse 1.2s ease-in-out 3; }
@keyframes ai-welcome-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(255,81,72,.32); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(225,6,0,.12), 0 12px 28px rgba(255,81,72,.5); }
}
#aiPanel {
  position: fixed; bottom: 92px; left: 24px; width: 340px; max-width: calc(100vw - 32px);
  height: 460px; max-height: calc(100vh - 140px); background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.18); z-index: 100; display: none;
  flex-direction: column; overflow: hidden;
}
#aiPanel.open { display: flex; }
#aiPanelHeader {
  background: var(--ink); color: #fff; padding: 14px 16px; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border);
}
#aiPanelClose { background: none; border: none; color: #bbb; font-size: 16px; cursor: pointer; }
#aiPanelClose:hover { color: #fff; }
#aiMessages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ai-msg { max-width: 85%; padding: 10px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; }
.ai-msg-assistant { align-self: flex-start; background: var(--bg); color: var(--ink); border: 1px solid var(--border); }
.ai-msg-user { align-self: flex-end; background: var(--primary); color: #fff; }
#aiForm { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
#aiInput { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 13.5px; font-family: inherit; }
#aiInput:focus { outline: none; border-color: var(--primary); }
#aiForm button { background: var(--primary); color: #fff; border: none; border-radius: 10px; padding: 0 16px; font-size: 13px; font-weight: 700; cursor: pointer; }

@media (max-width: 480px) {
  #aiFab { bottom: 16px; left: 16px; }
  #aiPanel { bottom: 80px; left: 16px; }
}

.spinner { display: flex; justify-content: center; padding: 40px; }
.spinner::after {
  content: ""; width: 30px; height: 30px; border: 3px solid var(--border); border-top-color: var(--primary);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; padding: 60px 20px; }
.success .icon { font-size: 52px; margin-bottom: 16px; }
.success h2 { margin-bottom: 8px; }
.success p { color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* ---------- Setayesh 2026 visual system ---------- */

:root {
  --ink: #131a20;
  --bg: #ffffff;
  --card: #ffffff;
  --primary: #ff5148;
  --primary-dark: #e33b34;
  --accent: #1368e8;
  --muted: #68737e;
  --border: #e4e8eb;
  --radius: 10px;
}

html { scroll-behavior: smooth; }
body { background: #fff; color: var(--ink); line-height: 1.75; }
.container { max-width: 1240px; padding-inline: 32px; }
.inner-main { min-height: 55vh; padding-top: 40px; padding-bottom: 64px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #000;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: none;
}
.site-header .nav {
  min-height: 86px;
  padding-block: 12px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  color: #fff;
}
.brand-logo {
  width: 180px;
  height: 68px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}
.brand strong { color: var(--primary); font-size: 27px; font-weight: 900; letter-spacing: -.7px; }
.brand span { color: #d6d9dc; font-size: 11px; margin-top: 5px; letter-spacing: .2px; }
.nav-links { display: flex; justify-content: center; align-items: center; gap: 34px; flex-wrap: nowrap; }
.nav-links a {
  position: relative;
  color: #f0f2f3;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 12px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.nav-account:hover { border-color: var(--primary); color: var(--primary); }
.menu-toggle { display: none; }

.home-main { overflow: hidden; }
.home-main > .messages { max-width: 1176px; margin: 16px auto; padding-inline: 32px; }
.hero-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 22% 52%, rgba(255,81,72,.12), transparent 32%),
    linear-gradient(115deg, #0d1216 0%, #151c22 55%, #0f151a 100%);
  color: #fff;
  min-height: 620px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(to top, rgba(0,0,0,.24), transparent);
  pointer-events: none;
  z-index: 0;
}
.hero {
  min-height: 620px;
  padding-block: 54px 40px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 18px;
  text-align: right;
  margin: 0 auto;
  border-radius: 0;
  background: none;
  overflow: visible;
}
.hero::before { display: none; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(44px, 5.1vw, 72px);
  line-height: 1.25;
  letter-spacing: -2px;
  font-weight: 900;
}
.hero-copy h1 span { color: var(--primary); }
.hero-copy p { margin: 0 0 34px; color: #c8cdd1; font-size: 18px; line-height: 2.05; }
.hero-actions { justify-content: flex-start; gap: 14px; }
.btn {
  min-height: 48px;
  padding: 11px 25px;
  border-radius: 6px;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.72); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-outline-dark { background: transparent; color: var(--ink); border: 1px solid #707981; }
.btn-outline-dark:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.hero-art { position: relative; min-width: 0; align-self: end; display: grid; place-items: end center; }
.hero-art img {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  max-height: 530px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.42));
}
.hero-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  bottom: 2%;
  border-radius: 50%;
  background: rgba(255,81,72,.13);
  filter: blur(70px);
}

.home-section { padding: 70px 0; }
.section-heading { margin-bottom: 34px; text-align: right; }
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 6px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -.8px;
}
.section-heading h2::after { content: ""; width: 42px; height: 4px; border-radius: 2px; background: var(--primary); }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; }
.section-heading-light h2 { color: #fff; }
.section-heading-light p { color: #aeb7be; }
.watermark-page,
.watermark-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.watermark-page::before,
.watermark-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -22%;
  background-image: url("setayesh-watermark.png");
  background-size: 260px auto;
  background-position: 0 0;
  background-repeat: repeat;
  opacity: .028;
  transform: rotate(-16deg) scale(1.18);
  animation: watermark-drift 82s linear infinite;
  pointer-events: none;
}
.watermark-page > *,
.watermark-section > .container { position: relative; z-index: 1; }
@keyframes watermark-drift {
  from { background-position: 0 0; }
  to { background-position: 220px -130px; }
}
.services-section { background: #fff; }
.services-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  direction: ltr;
  scroll-snap-type: none;
  scrollbar-width: thin;
  scrollbar-color: #c9ced2 transparent;
}
.service-tile {
  position: relative;
  flex: 0 0 calc((100% - 64px) / 5);
  min-width: 190px;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #dfe4e7;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  direction: rtl;
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-tile:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 18px 35px rgba(20,28,34,.11); }
.service-photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f2f3f4; }
.service-label { min-height: 62px; padding: 14px 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service-tile strong { font-size: 15px; }
.tile-arrow { position: static; color: #707981; font-size: 19px; flex: 0 0 auto; }
.section-action { margin-top: 34px; display: flex; justify-content: center; }

.portfolio-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(19,104,232,.08), transparent 30%),
    #17212a;
  color: #fff;
}
.portfolio-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  direction: ltr;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.35) transparent;
}
.work-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 190px;
  position: relative;
  aspect-ratio: .78;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.3);
  background: #222c34;
  color: #fff;
  transition: transform .25s ease, border-color .25s ease;
  direction: rtl;
}
.work-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.work-card img { width: 100%; height: 100%; object-fit: cover; }
.work-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.work-card span { position: absolute; z-index: 1; right: 16px; bottom: 14px; font-weight: 700; font-size: 14px; }
.portfolio-empty { min-height: 170px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.25); border-radius: 9px; color: #b8c0c6; }

/* ---------- Portfolio directory ---------- */

.portfolio-directory { padding-top: 8px; }
.portfolio-directory-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid #e4e7e9; }
.portfolio-directory-head h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 43px); line-height: 1.25; font-weight: 900; }
.portfolio-directory-head p { max-width: 670px; margin: 0; color: var(--muted); font-size: 15px; }
.member-number { flex: 0 0 240px; padding: 16px 18px; border: 1px solid #dfe4e7; border-right: 3px solid var(--primary); background: #fff; }
.member-number span, .member-number small, .member-number a { display: block; }
.member-number span { color: var(--muted); font-size: 12px; }
.member-number strong { display: block; margin: 2px 0; color: var(--ink); font-family: Tahoma, sans-serif; font-size: 25px; letter-spacing: .5px; }
.member-number small, .member-number a { color: var(--muted); font-size: 11px; line-height: 1.7; }
.member-number a:hover { color: var(--primary); }
.portfolio-alphabet { display: flex; flex-wrap: wrap; gap: 8px 19px; padding: 23px 4px; border-bottom: 1px solid #e4e7e9; }
.portfolio-alphabet a { min-width: 20px; color: var(--primary); font-weight: 800; font-size: 15px; text-align: center; }
.portfolio-alphabet a:hover { color: var(--ink); transform: translateY(-2px); }
.portfolio-letter-group { padding: 36px 0 4px; scroll-margin-top: 110px; }
.portfolio-letter-group h2 { margin: 0 0 15px; font-size: 18px; font-weight: 800; }
.portfolio-letter-group h2 span { display: inline-grid; width: 31px; height: 31px; margin-left: 9px; place-items: center; background: var(--primary); color: #fff; font-size: 15px; }
.portfolio-folder-list { border-top: 1px solid #e4e7e9; }
.portfolio-folder { display: grid; grid-template-columns: 178px 1fr auto; gap: 22px; align-items: center; min-height: 146px; padding: 12px 0; border-bottom: 1px solid #e4e7e9; transition: background .2s ease, padding .2s ease; }
.portfolio-folder:hover { padding-inline: 12px; background: #fafbfc; }
.portfolio-folder img { width: 178px; height: 118px; object-fit: cover; border-radius: 8px; background: #f2f3f4; }
.portfolio-folder-copy { display: grid; gap: 3px; }
.portfolio-folder-copy strong { font-size: 20px; font-weight: 900; }
.portfolio-folder-copy small { color: #59646c; font-size: 14px; }
.portfolio-folder-copy em { color: var(--primary); font-size: 12px; font-style: normal; }
.folder-arrow { width: 25px; height: 25px; color: var(--primary); }
.portfolio-directory-empty { display: grid; min-height: 210px; place-items: center; color: var(--muted); border: 1px dashed #cfd5d9; }

.why-section { background: #fff; }
.why-section .section-heading { display: flex; justify-content: flex-start; }
.benefits-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.benefit {
  position: relative;
  min-height: 174px;
  min-height: 220px;
  padding: 16px 20px 20px;
  background: linear-gradient(135deg, #fff 0%, #f5f7f8 100%);
  border: 1px solid #e0e5e7;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.benefit::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--primary); }
.benefit::after { content: attr(data-index); position: absolute; left: 17px; bottom: -24px; color: rgba(21,29,35,.045); font: 900 100px/1 Tahoma, sans-serif; letter-spacing: -8px; pointer-events: none; }
.benefit:hover { transform: translateY(-5px); border-color: rgba(255,81,72,.72); box-shadow: 0 17px 34px rgba(16,24,30,.10); }
.benefit-index {
  display: inline-grid;
  width: 36px;
  height: 36px;
  position: absolute; top: 14px; right: 14px; z-index: 2;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(255,81,72,.55);
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}
.benefit-visual {
  display: block;
  width: calc(100% + 40px);
  height: auto;
  aspect-ratio: 1;
  margin: -16px -20px 16px;
  object-fit: contain;
  object-position: center;
  background: #121a20;
  border-radius: 10px 10px 0 0;
}
.benefit-image-only { min-height: 0; padding: 0; overflow: hidden; border-top: 1px solid #dce2e5; }
.benefit-image-only::after { display: none; }
.benefit-image-only .benefit-visual { width: 100%; margin: 0; border-radius: 10px; }
.benefit h3 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 17px; font-weight: 900; }
.benefit p { position: relative; z-index: 1; margin: 0; max-width: 215px; color: #67727a; font-size: 13px; line-height: 1.85; }

.closing-cta { background: linear-gradient(105deg, #0870ed, #0755d6); color: #fff; }
.closing-cta-inner { min-height: 142px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing-cta h2 { margin: 0 0 5px; font-size: 30px; font-weight: 900; }
.closing-cta p { margin: 0; color: rgba(255,255,255,.86); }
.closing-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: #fff; color: #1c3f76; border: 1px solid #fff; }
.btn-light:hover { background: #edf5ff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.8); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

footer { margin: 0; padding: 52px 0 20px; background: #000; color: #aeb6bd; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 54px; }
.footer-brand { margin-bottom: 16px; }
.footer-brand .brand-logo { width: 190px; height: 82px; object-fit: contain; }
.footer-about { max-width: 290px; margin: 0; color: #9ba5ad; font-size: 13px; line-height: 2; }
.footer-grid h4 { color: #fff; font-size: 14px; }
.footer-grid li { font-size: 13px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { color: #7f8991; border-top-color: rgba(255,255,255,.08); }
.nh-signature {
  display: block;
  width: fit-content;
  margin: 11px 0 0 auto;
  color: rgba(255,255,255,.42);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-style: italic;
  letter-spacing: .18em;
  line-height: 1;
}
.account-page { padding: 12px 0 42px; }
.account-heading { padding: 30px; margin-bottom: 22px; border-radius: 12px; background: #17212a; color: #fff; }
.account-heading span { color: var(--primary); font-size: 13px; font-weight: 800; }
.account-heading h1 { margin: 5px 0; font-size: 30px; }
.account-heading p { margin: 0; color: #b8c0c6; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.account-panel { padding: 25px; border: 1px solid #e0e5e7; border-radius: 12px; background: #fff; }
.account-panel h2 { margin: 0 0 22px; font-size: 20px; }
.account-panel .field { margin-bottom: 15px; }
.account-panel input { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #d7dde0; border-radius: 7px; font: inherit; }
.field-error { margin: 5px 0 0; color: #d6312e; font-size: 12px; }
.account-exit { margin-top: 28px; padding-top: 21px; border-top: 1px solid #e5e8ea; }
.account-exit h3 { margin: 0 0 5px; font-size: 16px; }.account-exit p { margin: 0 0 13px; color: var(--muted); font-size: 13px; }.account-logout { color: #fff; background: #202a31; border-color: #202a31; }

#aiFab { width: 52px; height: 52px; background: var(--primary); font-size: 21px; box-shadow: 0 12px 28px rgba(255,81,72,.32); }
#aiPanelHeader { background: #131c23; }

@media (max-width: 1040px) {
  .site-header .nav { grid-template-columns: 160px 1fr auto; gap: 16px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .service-tile { flex-basis: calc((100% - 32px) / 3); }
  .work-card { flex-basis: calc((100% - 32px) / 3); }
}

@media (max-width: 820px) {
  .account-grid { grid-template-columns: 1fr; }
  .container { padding-inline: 20px; }
  .site-header .nav { min-height: 72px; grid-template-columns: 1fr auto auto; }
  .brand-logo { width: 142px; height: 52px; }
  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 6px;
    background: transparent;
  }
  .menu-toggle span { width: 100%; height: 2px; border-radius: 2px; background: #fff; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    padding: 15px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    background: #11181e;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 9px 4px; }
  .nav-links a::after { display: none; }
  .nav-account { min-width: auto; padding-inline: 13px; font-size: 12px; }
  .hero-section, .hero { min-height: auto; }
  .hero { grid-template-columns: 1fr; padding-block: 60px 20px; text-align: center; }
  .hero-copy { max-width: 620px; margin-inline: auto; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-copy p { font-size: 16px; }
  .hero-actions { justify-content: center; }
  .hero-art { order: 2; max-width: 620px; margin: -5px auto 0; }
  .hero-art img { max-height: 430px; }
  .home-section { padding-block: 56px; }
  .benefits-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .closing-cta-inner { padding-block: 30px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
}

@media (max-width: 560px) {
  .site-header .nav { grid-template-columns: 1fr auto; }
  .nav-account { display: none; }
  .hero { padding-top: 46px; }
  .hero-copy h1 { margin-bottom: 15px; font-size: 42px; letter-spacing: -1px; }
  .hero-copy p { font-size: 14px; line-height: 1.9; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .btn { padding-inline: 16px; font-size: 13px; }
  .hero-art img { width: 112%; max-width: none; margin-inline: -6%; }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2 { font-size: 28px; }
  .services-rail { gap: 12px; }
  .portfolio-rail { gap: 12px; }
  .service-tile { flex-basis: calc((100% - 12px) / 2); min-width: 145px; }
  .work-card { flex-basis: calc((100% - 12px) / 2); min-width: 145px; }
  .portfolio-directory-head { align-items: stretch; flex-direction: column; gap: 18px; }
  .member-number { flex-basis: auto; }
  .portfolio-alphabet { gap: 8px 15px; }
  .portfolio-folder { grid-template-columns: 118px 1fr auto; gap: 13px; min-height: 108px; }
  .portfolio-folder img { width: 118px; height: 84px; }
  .portfolio-folder-copy strong { font-size: 16px; }
  .portfolio-folder-copy small { font-size: 12px; line-height: 1.7; }
  .folder-arrow { width: 21px; }
  .service-tile strong { font-size: 14px; }
  .work-card { aspect-ratio: .8; }
  .benefits-row { grid-template-columns: 1fr; gap: 12px; }
  .benefit { min-height: 0; padding: 16px 20px 20px; }
  .benefit-index { margin-bottom: 20px; }
  .closing-cta h2 { font-size: 25px; }
  .closing-cta-actions { width: 100%; }
  .closing-cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 980px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pricing-hero { align-items: flex-start; flex-direction: column; padding: 25px 20px; }
  .pricing-hero .btn { width: 100%; }
  .price-grid { grid-template-columns: 1fr; }
  .price-service-card { min-height: 0; }
}
