/* ==========================================================================
   Tehranto.Plus — Unified Homepage Architecture & Chat-Only Launcher (v277)
   1. Finalized Frameless Ambient Hero (Original Fonts + Dual 21st.dev FX +
      Full-Body WebGL Tehranto Core + Serpentine S-Wave Connectors)
   2. 6 Dedicated, SEO-Semantic Alternating Service Rows (01..06)
   3. Harmonized Showcase, Pricing CTA Hierarchy & 2-Path Estimator Strip
   4. Clean 52x52 Circular Chat-Only Bottom-Right Popover (WhatsApp + Message)
   ========================================================================== */

/* -------------------- 1. FRAMELESS AMBIENT HERO (PRODUCTION) -------------------- */
.hl3-root {
  position: relative;
  padding: 104px 0 56px !important;
  min-height: 0 !important;
  background:
    radial-gradient(ellipse 56% 54% at 50% 58%, rgba(50, 170, 249, 0.10) 0%, rgba(36, 176, 206, 0.04) 48%, transparent 78%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fe 68%, #ffffff 100%);
  border-bottom: 0 !important;
  overflow-x: clip;
  color: #0f2c6b;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

.hl3-wensity-defs {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

html[lang="fa"] .hl3-root,
body.fa .hl3-root {
  font-family: "Shabnam", Tahoma, sans-serif !important;
}

.hl3-container {
  position: relative;
  z-index: 4;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.6vw, 34px);
}

.hl3-head {
  text-align: center;
  max-width: 1140px;
  margin: 0 auto 38px;
  position: relative;
  z-index: 12;
}

.hl3-h1 {
  margin: 0;
  color: #0f2c6b;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(27px, 3.55vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.031em;
  text-wrap: balance;
  cursor: default;
  user-select: none;
}

html[lang="fa"] .hl3-h1,
body.fa .hl3-h1,
html[lang="fa"] .hl3-h1 span,
body.fa .hl3-h1 span {
  font-family: "Shabnam", Tahoma, sans-serif !important;
  font-size: clamp(23px, 3.0vw, 40px);
  line-height: 1.38;
  letter-spacing: 0;
}

@media (max-width: 780px) {
  .hl3-wensity-morph {
    min-height: 2.5em;
  }
  .hl3-perf-wrap {
    min-height: 2.65em;
  }
}

.hl3-wensity-morph {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  width: 100%;
  padding: 4px 12px;
}

.hl3-wensity-span {
  grid-area: 1 / 1;
  width: 100%;
  display: block;
  text-align: center;
}

.hl3-vf-word {
  display: inline-block;
  white-space: nowrap;
}

.hl3-vf-unit {
  display: inline-block;
  white-space: pre;
}

.hl3-card:hover .hl3-vf-unit {
  will-change: transform;
}

.hl3-perf-wrap {
  position: relative;
  margin: 6px auto 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  text-align: center;
  padding: 2px 10px;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.018em;
  color: #14839e;
  user-select: none;
}

html[lang="fa"] .hl3-perf-wrap,
body.fa .hl3-perf-wrap,
html[lang="fa"] .hl3-perf-wrap span,
body.fa .hl3-perf-wrap span {
  font-family: "Shabnam", Tahoma, sans-serif !important;
  font-size: clamp(18px, 2.0vw, 25px);
  font-weight: 700 !important;
  line-height: 1.42;
  letter-spacing: 0;
}

.hl3-perf-span {
  grid-area: 1 / 1;
  width: 100%;
  display: block;
  text-align: center;
  line-height: 1.3;
}

.hl3-stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: visible;
}

.hl3-ambient-aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 760px;
  height: 460px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    closest-side,
    rgba(50, 170, 249, 0.11) 0%,
    rgba(36, 176, 206, 0.045) 46%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hl3-dot-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(rgba(15, 44, 107, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 58% 68% at 50% 50%, #000 30%, transparent 82%);
  mask-image: radial-gradient(ellipse 58% 68% at 50% 50%, #000 30%, transparent 82%);
  opacity: 0.65;
}

.hl3-traces-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
  transition: opacity 300ms ease;
}

.hl3-orbit-ring {
  fill: none;
  stroke: rgba(15, 44, 107, 0.075);
  stroke-width: 1.15;
  stroke-dasharray: 4 6;
}

.hl3-orbit-ring--outer {
  stroke: rgba(36, 176, 206, 0.11);
  stroke-dasharray: none;
}

.hl3-snake-glow {
  fill: none;
  stroke: rgba(50, 170, 249, 0);
  stroke-width: 9;
  stroke-linecap: round;
  filter: blur(4px);
  transition: stroke 220ms ease;
}

.hl3-snake-glow.is-lit {
  stroke: rgba(50, 170, 249, 0.36);
}

.hl3-snake-path {
  fill: none;
  stroke: rgba(24, 138, 184, 0.36);
  stroke-width: 1.6;
  stroke-dasharray: 5.5 6.5;
  stroke-linecap: round;
  transition: stroke 220ms ease, stroke-width 220ms ease;
}

.hl3-snake-path.is-lit {
  stroke: url(#hl3CoreSnakeGrad);
  stroke-width: 2.65;
  stroke-dasharray: 8 5.5;
  animation: hl3SnakeFlow 0.72s linear infinite;
}

@keyframes hl3SnakeFlow {
  from { stroke-dashoffset: 27; }
  to { stroke-dashoffset: 0; }
}

.hl3-snake-dot {
  fill: rgba(24, 138, 184, 0.45);
  transition: fill 220ms ease, r 220ms ease;
}

.hl3-snake-dot.is-lit {
  fill: #32aaf9;
}

.hl3-core-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hl3-core-hit {
  position: relative;
  width: 340px;
  height: 334px;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hl3-core-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 480px;
  height: 460px;
  transform: translate(-50%, -50%);
  display: block;
  pointer-events: none;
}

/* Crisp 100% Vector Orb Wordmark (matches Line 2 font & #14839e Teal-Blue; zero muddy shader shadow) */
.hl3-core-wordmark-live {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--hl3-wm-offset, 142px));
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: max-content;
  place-items: center;
  padding: 4px 12px;
  pointer-events: none;
  user-select: none;
  z-index: 6;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(20px, 1.85vw, 27px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #14839e;
  white-space: nowrap;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
}

html[lang="fa"] .hl3-core-wordmark-live,
body.fa .hl3-core-wordmark-live,
html[lang="fa"] .hl3-core-wordmark-live span,
body.fa .hl3-core-wordmark-live span {
  font-family: "Shabnam", Tahoma, sans-serif !important;
  font-size: clamp(18.5px, 1.72vw, 24.5px);
  font-weight: 700 !important;
  line-height: 1.38;
  letter-spacing: 0;
}

.hl3-core-wm-span {
  grid-area: 1 / 1;
  display: block;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hl3-core-wordmark-live {
    display: none !important;
  }
}

.hl3-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hl3-cards-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hl3-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 268px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(15, 44, 107, 0.1);
  box-shadow: 0 12px 30px -14px rgba(15, 44, 107, 0.14);
  color: #0f2c6b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  will-change: transform;
  transform-origin: center center;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
  user-select: none;
}

.hl3-card:hover,
.hl3-card:focus-visible {
  background: #ffffff;
  border-color: rgba(24, 148, 209, 0.58);
  box-shadow:
    0 18px 38px -12px rgba(18, 132, 199, 0.22),
    0 0 0 3px rgba(50, 170, 249, 0.12);
  outline: none;
}

.hl3-glyph {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(155deg, #f4f9ff 0%, #e6f3fe 100%);
  border: 1px solid rgba(20, 131, 158, 0.2);
  color: #0f2c6b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.hl3-glyph svg {
  width: 21px;
  height: 21px;
  display: block;
}

.hl3-card:hover .hl3-glyph {
  background: #0f2c6b;
  border-color: #0f2c6b;
  color: #ffffff;
  transform: scale(1.05);
}

.hl3-card-body {
  min-width: 0;
  flex: 1;
}

.hl3-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #14839e;
}

html[lang="fa"] .hl3-card-top {
  letter-spacing: 0;
}

.hl3-card-title {
  display: block;
  margin-top: 1px;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, sans-serif !important;
  font-size: 15px;
  font-weight: 700;
  color: #0f2c6b;
  line-height: 1.28;
}

html[lang="fa"] .hl3-card-title,
body.fa .hl3-card-title,
html[lang="fa"] .hl3-card-title span,
body.fa .hl3-card-title span {
  font-family: "Shabnam", Tahoma, sans-serif !important;
  font-size: 14.5px;
  font-weight: 700;
}

.hl3-card-sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: #556684;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* -------------------- 2. SIX DEDICATED SEO SERVICE ROWS (#services — DISTINCT ARCHITECTURAL BAND) -------------------- */
.tfx-six-band.tp-six-rows-band {
  position: relative;
  padding: clamp(54px, 6.2vw, 86px) 0 clamp(50px, 5.8vw, 80px) !important;
  background: linear-gradient(180deg, #eef4fc 0%, #f4f8fe 50%, #edf4fc 100%) !important;
  border-top: 1px solid rgba(15, 44, 107, 0.085) !important;
  border-bottom: 1px solid rgba(15, 44, 107, 0.085) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.tp-six-rows-intro {
  text-align: center;
  max-width: 880px;
  margin: 0 auto clamp(38px, 4.6vw, 56px);
  padding: 0 20px;
}

.tp-six-rows-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.10);
  box-shadow: 0 4px 12px -6px rgba(15, 44, 107, 0.10);
  font-size: 12px;
  font-weight: 700;
  color: #0e6c84;
  margin-bottom: 14px;
}

.tp-six-rows-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #229ed9;
}

.tp-six-rows-intro h2 {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, sans-serif !important;
  font-size: clamp(26px, 3.25vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.026em;
  color: #0f2c6b;
}

body.fa .tp-six-rows-intro h2 {
  font-family: "Shabnam", Tahoma, sans-serif !important;
  letter-spacing: 0;
  line-height: 1.38;
}

.tp-six-rows-intro h2 em {
  font-style: normal;
  color: #14839e;
}

.tp-six-rows-intro p {
  margin: 0 auto;
  max-width: 66ch;
  font-size: 16px;
  line-height: 1.68;
  color: #4a5b79;
}

/* Shared 4-Pillar Trust Bar (displayed once above the 6 cards so cards stay calm & un-repeated) */
.tp-shared-trust-bar {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tp-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.10);
  box-shadow: 0 6px 16px -10px rgba(15, 44, 107, 0.14);
  font-size: 12.5px;
  font-weight: 700;
  color: #173264;
  line-height: 1.3;
}

.tp-trust-chip .tp-svc-check-ico {
  margin-top: 0;
  width: 17px;
  height: 17px;
}

.tp-six-rows-stack {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.2vw, 38px);
}

.tp-svc-row,
.tp-svc-row.is-tinted {
  position: relative;
  scroll-margin-top: 86px;
  background: #ffffff !important;
  border: 1px solid rgba(15, 44, 107, 0.095);
  border-radius: 28px;
  padding: clamp(28px, 3.8vw, 46px);
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4.2vw, 54px);
  align-items: center;
  box-shadow: 0 18px 44px -24px rgba(15, 44, 107, 0.15);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.tp-svc-anchor-alias {
  position: absolute !important;
  top: -86px;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.tp-svc-row:hover {
  border-color: rgba(20, 131, 158, 0.36);
  box-shadow: 0 22px 48px -20px rgba(15, 44, 107, 0.21);
}

/* Alternate column visual rhythm + generous minimum height on Desktop */
@media (min-width: 941px) {
  .tp-svc-row,
  .tp-svc-row.is-tinted {
    min-height: 440px;
  }
  .tp-svc-row.is-alt {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
  .tp-svc-row.is-alt .tp-svc-copy {
    order: 2;
  }
  .tp-svc-row.is-alt .tp-svc-spec {
    order: 1;
  }
}

.tp-svc-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 14px;
}

.tp-svc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #14839e;
}

body.fa .tp-svc-kicker {
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

.tp-svc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #0f2c6b;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
}

.tp-svc-rate-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: #eef6fc;
  border: 1px solid rgba(20, 131, 158, 0.22);
  color: #0f2c6b;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tp-svc-h2,
.tp-svc-h3 {
  margin: 0 0 14px;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, sans-serif !important;
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #0f2c6b;
}

body.fa .tp-svc-h2,
body.fa .tp-svc-h3 {
  font-family: "Shabnam", Tahoma, sans-serif !important;
  letter-spacing: 0;
  line-height: 1.44;
  font-size: clamp(20px, 2.3vw, 27px);
}

.tp-svc-desc {
  margin: 0 0 22px;
  font-size: 15.25px;
  line-height: 1.72;
  color: #465877;
  max-width: 58ch;
}

body.fa .tp-svc-desc {
  line-height: 1.85;
}

.tp-svc-why-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: #14839e;
  margin: 0 0 11px;
}

body.fa .tp-svc-why-label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12.5px;
}

/* Single-column spacious differentiation list so the eye scans calmly without crowding */
.tp-svc-checks {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tp-svc-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.2px;
  font-weight: 500;
  line-height: 1.56;
  color: #1d335c;
}

body.fa .tp-svc-checks li {
  line-height: 1.72;
}

.tp-svc-check-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(20, 131, 158, 0.14);
  color: #0e7490;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.tp-svc-check-ico svg {
  width: 11px;
  height: 11px;
}

.tp-svc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.tp-svc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #0f2c6b;
  border: 1px solid #0f2c6b;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 170ms ease, transform 170ms ease;
}

.tp-svc-btn-primary:hover {
  background: #173f94;
  border-color: #173f94;
  transform: translateY(-1px);
}

.tp-svc-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.18);
  color: #0f2c6b !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 170ms ease, border-color 170ms ease;
}

.tp-svc-btn-secondary:hover {
  background: #f1f6fd;
  border-color: #0f2c6b;
}

/* Side B: Clean, Airy Categories & Rates Module inside each Service Row */
.tp-svc-spec {
  background: #f4f8fe;
  border: 1px solid rgba(15, 44, 107, 0.085);
  border-radius: 22px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tp-svc-row.is-tinted .tp-svc-spec {
  background: #f4f8fe;
}

.tp-svc-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 4px 10px;
  border-bottom: 1px solid rgba(15, 44, 107, 0.075);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #4f6282;
}

body.fa .tp-svc-spec-head {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12.5px;
}

.tp-svc-spec-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(50, 170, 249, 0.14);
  color: #0c6980;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.tp-svc-spec-item {
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.075);
  border-radius: 15px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 12px -8px rgba(15, 44, 107, 0.10);
}

.tp-svc-row.is-tinted .tp-svc-spec-item {
  background: #ffffff;
}

.tp-svc-spec-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f2c6b;
  line-height: 1.35;
}

.tp-svc-spec-item small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #536584;
  line-height: 1.48;
}

body.fa .tp-svc-spec-item small {
  line-height: 1.62;
}

.tp-svc-spec-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef4fb;
  color: #0f2c6b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.tp-svc-spec-tag.is-navy {
  background: #0f2c6b;
  color: #ffffff;
}

.tp-svc-spec-tag.is-gold {
  background: #fdf6e4;
  border: 1px solid rgba(184, 132, 32, 0.28);
  color: #7c5308;
}

/* -------------------- 3. LOWER SECTIONS UX & CTA HIERARCHY POLISH -------------------- */
/* Primary solid CTA on Video Pricing cards (Navy on light cards, Crisp White on dark Signature card!) */
#pricing .pricing-grid .price-card:not(.tier-signature) a.btn[data-book-package] {
  background: #0f2c6b !important;
  border-color: #0f2c6b !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

#pricing .pricing-grid .price-card:not(.tier-signature) a.btn[data-book-package]:hover {
  background: #173f94 !important;
  border-color: #173f94 !important;
  color: #ffffff !important;
}

#pricing .pricing-grid .price-card.tier-signature a.btn[data-book-package] {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0f2c6b !important;
  font-weight: 700 !important;
}

#pricing .pricing-grid .price-card.tier-signature a.btn[data-book-package]:hover {
  background: #eef5ff !important;
  border-color: #eef5ff !important;
  color: #0f2c6b !important;
}

/* Two-Path Conversion Clarity Banner right above #estimator */
.tp-two-path-banner {
  max-width: 1120px;
  margin: 0 auto 18px;
  padding: 13px 18px;
  border-radius: 16px;
  background: #f4f8fd;
  border: 1px solid rgba(15, 44, 107, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13.5px;
  color: #24385e;
}

.tp-two-path-banner strong {
  color: #0f2c6b;
  font-weight: 700;
}

.tp-two-path-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.18);
  color: #0f2c6b !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 170ms ease, color 170ms ease;
}

.tp-two-path-jump:hover {
  background: #0f2c6b;
  border-color: #0f2c6b;
  color: #ffffff !important;
}

/* -------------------- 4. DESKTOP (>=1181px) COMPACT LAUNCHER; MOBILE USES GLOBAL 56x56 GOLD LAUNCHER -------------------- */
@media (min-width: 1181px) {
  html body .tp-offer-float {
    display: none !important;
  }

  html body tehranto-contact-launcher button.tp-launch-trigger[aria-controls] {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    background: #0f2c6b !important;
    color: #ffffff !important;
    box-shadow: 0 10px 26px rgba(10, 31, 77, 0.24) !important;
    gap: 0 !important;
    justify-content: center !important;
  }

  html body tehranto-contact-launcher button.tp-launch-trigger[aria-controls] svg {
    width: 22px !important;
    height: 22px !important;
    fill: #ffffff !important;
  }

  html body tehranto-contact-launcher .tp-launch-dot {
    display: none !important;
  }

  html body tehranto-contact-launcher .tp-launch-trigger-text {
    position: absolute !important;
    right: calc(100% + 10px) !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) translateX(4px) !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: #0f2c6b !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    box-shadow: 0 8px 20px rgba(10, 31, 77, 0.18) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    overflow: visible !important;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease !important;
  }

  html body.fa tehranto-contact-launcher .tp-launch-trigger-text {
    right: auto !important;
    left: calc(100% + 10px) !important;
    transform: translateY(-50%) translateX(-4px) !important;
  }

  html body tehranto-contact-launcher:not([data-open="true"]) .tp-launch-trigger:hover .tp-launch-trigger-text,
  html body tehranto-contact-launcher:not([data-open="true"]) .tp-launch-trigger:focus-visible .tp-launch-trigger-text {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) translateX(0) !important;
  }

  html body tehranto-contact-launcher[data-open="true"] .tp-launch-trigger {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: #163d8f !important;
  }

  html body tehranto-contact-launcher .tp-launch-backdrop {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html body tehranto-contact-launcher section.tp-launch-panel[role="dialog"],
  html body.fa tehranto-contact-launcher section.tp-launch-panel[role="dialog"] {
    bottom: calc(clamp(1rem, 2.2vw, 2rem) + 64px) !important;
    padding: 9px !important;
    border: 1px solid rgba(15, 44, 107, 0.12) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 20px 48px rgba(10, 31, 77, 0.16), 0 2px 8px rgba(10, 31, 77, 0.06) !important;
    gap: 0 !important;
  }

  html body tehranto-contact-launcher .tp-launch-options {
    min-width: 224px !important;
    gap: 6px !important;
  }

  html body tehranto-contact-launcher [data-launch-consult],
  html body tehranto-contact-launcher [data-launch-calc],
  html body tehranto-contact-launcher .tp-launch-close {
    display: none !important;
  }

  html body tehranto-contact-launcher a.tp-launch-opt.is-ice[data-launch-wa] {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 15px !important;
    border-radius: 12px !important;
    background: #0f2c6b !important;
    border: 1px solid #0f2c6b !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
  }

  html body tehranto-contact-launcher a.tp-launch-opt.is-ice[data-launch-wa] svg {
    fill: #ffffff !important;
  }

  html body tehranto-contact-launcher button.tp-launch-opt.is-white[data-launch-form] {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 15px !important;
    border-radius: 12px !important;
    background: #f5f8fd !important;
    border: 1px solid rgba(15, 44, 107, 0.13) !important;
    color: #0f2c6b !important;
    box-shadow: none !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
  }
}

html body .tp-offer-float {
  display: none !important;
}

html body.tp-has-mobile-cart tehranto-contact-launcher,
html body.tp-modal-open tehranto-contact-launcher,
html body tehranto-contact-launcher.is-contact-visible {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* -------------------- 5. RESPONSIVE / MOBILE <= 960px -------------------- */
@media (max-width: 960px) {
  .hl3-root {
    padding: 80px 0 30px !important;
  }

  .hl3-head {
    margin-bottom: 10px;
  }

  .hl3-perf-wrap {
    height: auto !important;
    min-height: 2.55em;
    font-size: clamp(16px, 4.1vw, 20px);
  }

  .hl3-stage {
    height: auto !important;
    flex-direction: column;
    padding: 2px 4px 10px;
    gap: 10px;
  }

  .hl3-traces-svg {
    display: none;
  }

  .hl3-core-hit {
    width: 228px;
    height: 226px;
  }

  .hl3-core-canvas {
    width: 318px;
    height: 304px;
  }

  .hl3-cards-layer {
    position: relative;
    inset: auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    pointer-events: auto;
  }

  .hl3-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .hl3-card-sub {
    white-space: normal;
  }

  .tp-svc-row,
  .tp-svc-row.is-tinted {
    grid-template-columns: 1fr;
    padding: 26px 22px;
    gap: 24px;
  }

  .tp-svc-spec {
    padding: 18px;
    gap: 10px;
  }
}

@media (max-width: 640px) {


  .tp-svc-checks {
    grid-template-columns: 1fr;
  }

  .tp-shared-trust-bar {
    gap: 8px;
  }

  .tp-trust-chip {
    font-size: 11.8px;
    padding: 6px 12px;
  }

  .tp-svc-spec-item {
    padding: 14px 15px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .tp-svc-spec-tag {
    align-self: flex-start;
  }
}

@media (max-width: 560px) {
  .hl3-container {
    padding: 0 14px;
  }

  .hl3-h1 {
    font-size: clamp(24px, 6.5vw, 31px);
    line-height: 1.22;
  }

  html[lang="fa"] .hl3-h1,
  body.fa .hl3-h1,
  html[lang="fa"] .hl3-h1 span,
  body.fa .hl3-h1 span {
    font-size: clamp(21px, 5.7vw, 27px);
    line-height: 1.38;
  }

  /* Crisp 2x3 Mobile Bento Grid so all 6 disciplines fit cleanly above the fold */
  .hl3-cards-layer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hl3-card {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 11px 12px;
    border-radius: 16px;
  }

  .hl3-glyph {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .hl3-glyph svg {
    width: 18px;
    height: 18px;
  }

  .hl3-card-top {
    position: absolute;
    top: 13px;
    inset-inline-end: 12px;
    justify-content: flex-end;
    gap: 5px;
  }

  .hl3-card-title {
    font-size: 13.5px;
    line-height: 1.24;
    margin-top: 2px;
  }

  html[lang="fa"] .hl3-card-title,
  body.fa .hl3-card-title,
  html[lang="fa"] .hl3-card-title span,
  body.fa .hl3-card-title span {
    font-size: 13px;
  }

  .hl3-card-sub {
    font-size: 11px;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ==========================================================================
   6. UNIFIED PORTFOLIO SHOWCASE BAND (#video-samples — ABOVE #services)
   - Two-line typographic split ("From AI & code" / "to marketing & commercial film.")
   - Card #1: Featured Live Websites & Web Apps Interactive Browser Card
   - Cards #2..12: Expanding Commercial Film & Photography Industry Accordion
   ========================================================================== */

html body section.tp-home-samples-band {
  position: relative;
  padding: clamp(26px, 3.4vw, 46px) 0 clamp(44px, 5.2vw, 72px) !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body section.tp-home-samples-band .tp-samples-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(14px, 2.4vw, 28px);
}

html body section.tp-home-samples-band .tp-samples-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(22px, 3vw, 34px);
}

html body section.tp-home-samples-band .tp-samples-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #f2f7fd;
  border: 1px solid rgba(15, 44, 107, 0.09);
  font-size: 12px;
  font-weight: 700;
  color: #0e6c84;
  margin: 0 0 14px;
}

html body section.tp-home-samples-band .tp-samples-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #229ed9;
}

html body section.tp-home-samples-band .tp-samples-h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, sans-serif !important;
}

html body.fa section.tp-home-samples-band .tp-samples-h2 {
  font-family: "Shabnam", Tahoma, sans-serif !important;
}

html body section.tp-home-samples-band .tp-samples-line-top {
  display: block;
  font-size: clamp(28px, 3.85vw, 48px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0f2c6b;
}

html body section.tp-home-samples-band .tp-samples-line-sub {
  display: block;
  margin-top: 5px;
  font-size: clamp(20px, 2.8vw, 35px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.018em;
  color: #14839e;
}

html body.fa section.tp-home-samples-band .tp-samples-line-top {
  font-size: clamp(24px, 3.3vw, 41px);
  line-height: 1.32;
  letter-spacing: 0;
}

html body.fa section.tp-home-samples-band .tp-samples-line-sub {
  margin-top: 4px;
  font-size: clamp(18px, 2.45vw, 30px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0;
}

/* UNIFIED 12-SLIDE PORTFOLIO ACCORDION RAIL (01 Website & Apps + 02..12 Commercial Film & Photo) */
html body section.tp-home-samples-band #homePortfolioCollections.tp-portfolio {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #0f2c6b !important;
  min-width: 0;
  overflow: visible !important;
}

html body section.tp-home-samples-band #homePortfolioCollections.tp-portfolio::before,
html body section.tp-home-samples-band #homePortfolioCollections.tp-portfolio::after {
  display: none !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel-track {
  height: 356px !important;
  gap: 9px !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-industry {
  min-width: 48px !important;
  padding: 0.9rem 0.7rem !important;
  background-color: #0b2254 !important;
  border: 1px solid rgba(15, 44, 107, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 34px -16px rgba(15, 44, 107, 0.24) !important;
  color: #ffffff !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-industry.is-active {
  flex: 4.5 1 0 !important;
  padding: 1.15rem 1.25rem !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-industry-copy {
  min-width: 0 !important;
  inset-inline: 1.1rem !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-industry:not(.is-active) .tp-industry-copy {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-industry-title {
  max-width: 100% !important;
  font-size: clamp(1.22rem, 1.75vw, 1.62rem) !important;
  line-height: 1.14 !important;
}

html body.fa section.tp-home-samples-band #homePortfolioCollections .tp-industry-title {
  font-size: clamp(1.16rem, 1.62vw, 1.5rem) !important;
  line-height: 1.32 !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-industry.is-active,
html body section.tp-home-samples-band #homePortfolioCollections .tp-industry:hover {
  border-color: rgba(50, 170, 249, 0.52) !important;
  box-shadow: 0 20px 42px -14px rgba(15, 44, 107, 0.30) !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel-foot {
  margin-top: 12px !important;
  padding: 0 4px !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-progress::before {
  height: 2px !important;
  background: rgba(15, 44, 107, 0.14) !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-progress span {
  height: 3px !important;
  background: linear-gradient(90deg, #0f2c6b 0%, #14839e 100%) !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-progress span::after {
  background: #ffffff !important;
  border: 2.5px solid #0f2c6b !important;
  box-shadow: 0 3px 10px rgba(15, 44, 107, 0.22) !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-all-link {
  color: #0f2c6b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: color 160ms ease;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-all-link:hover {
  color: #14839e !important;
}

@media (max-width: 1040px) {
  html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel-track {
    height: 288px !important;
  }
}

@media (max-width: 680px) {
  html body section.tp-home-samples-band {
    padding: 22px 0 42px !important;
  }

  html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel {
    overflow: hidden !important;
    padding: 2px 0 10px !important;
  }

  html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel-track {
    height: 248px !important;
    gap: 8px !important;
  }

  html body section.tp-home-samples-band #homePortfolioCollections .tp-industry {
    min-width: 58px !important;
    flex: 0 0 58px !important;
  }

  html body section.tp-home-samples-band #homePortfolioCollections .tp-industry.is-active {
    flex: 0 0 min(72vw, 266px) !important;
  }
}

/* ==========================================================================
   SYMBOLIC WEBSITE & APPS CASE-STUDY STAGE INSIDE .tp-library-modal
   (Zero raw client homepages — clean architecture, tech stack, palette & domain CTA)
   ========================================================================== */
.tp-library-modal.is-web-modal .tp-modal-stage {
  background: #061229 !important;
}

body.fa .tp-library-modal .tp-sidebar-head h3 {
  margin: 0 2.65rem 0.35rem 0 !important;
}

.tp-library-modal.is-web-modal .tp-stage-area {
  padding: 16px !important;
}

.tp-media-frame.is-web-showcase {
  aspect-ratio: auto !important;
  border-radius: 20px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.tp-thumb.is-web-monogram {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
}

.tp-thumb.is-web-monogram::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, var(--mono-accent, #38bdf8), transparent 62%);
  opacity: 0.34;
  pointer-events: none;
}

.tp-web-mono-txt {
  position: relative;
  z-index: 1;
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.tp-web-case-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 38px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

body.fa .tp-web-case-stage {
  direction: rtl;
  text-align: right;
  font-family: "Shabnam", Tahoma, sans-serif;
}

.tp-wcs-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--wcs-soft, rgba(56, 189, 248, 0.22)) 0%, transparent 68%);
  pointer-events: none;
}

.tp-wcs-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
}

.tp-wcs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.tp-wcs-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tp-wcs-mono {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--wcs-accent, #38bdf8);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  flex-shrink: 0;
}

.tp-wcs-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px;
}

.tp-wcs-kind {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--wcs-soft, rgba(56, 189, 248, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--wcs-accent, #7dd3fc);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.fa .tp-wcs-kind {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11.5px;
}

.tp-wcs-ind {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(214, 232, 255, 0.78);
}

.tp-wcs-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
}

body.fa .tp-wcs-title {
  font-family: "Shabnam", Tahoma, sans-serif;
  letter-spacing: 0;
  line-height: 1.35;
}

.tp-wcs-domain {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  color: rgba(235, 246, 255, 0.94) !important;
  text-decoration: none !important;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 160ms ease, border-color 160ms ease;
}

.tp-wcs-domain:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--wcs-accent, #7dd3fc);
  color: #ffffff !important;
}

.tp-wcs-summary {
  margin: 0;
  font-size: 14.8px;
  line-height: 1.68;
  color: rgba(226, 238, 255, 0.88);
  max-width: 74ch;
}

body.fa .tp-wcs-summary {
  line-height: 1.82;
}

.tp-wcs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tp-wcs-panel {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tp-wcs-panel-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wcs-accent, #7dd3fc);
}

.tp-wcs-panel-kicker.is-sub {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

body.fa .tp-wcs-panel-kicker {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
}

.tp-wcs-mods {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tp-wcs-mod {
  background: rgba(6, 17, 40, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 10px 12px;
}

.tp-wcs-mod-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.tp-wcs-mod-num {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--wcs-accent, #7dd3fc);
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.tp-wcs-mod strong {
  font-size: 13.2px;
  font-weight: 700;
  color: #ffffff;
}

.tp-wcs-mod p {
  margin: 0;
  font-size: 12px;
  line-height: 1.46;
  color: rgba(206, 224, 248, 0.78);
}

.tp-wcs-design-bar {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.tp-wcs-swatches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.tp-wcs-swatch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tp-wcs-swatch i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-block;
}

.tp-wcs-swatch b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  color: rgba(226, 238, 255, 0.85);
}

.tp-wcs-font {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tp-wcs-font small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(196, 218, 246, 0.65);
}

body.fa .tp-wcs-font small {
  letter-spacing: 0;
  text-transform: none;
}

.tp-wcs-font span {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
}

.tp-wcs-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tp-wcs-tech {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
}

.tp-wcs-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-wcs-checks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.54;
  color: rgba(230, 241, 255, 0.90);
}

.tp-wcs-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--wcs-soft, rgba(56, 189, 248, 0.20));
  color: var(--wcs-accent, #7dd3fc);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tp-wcs-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.tp-wcs-visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #091c47 !important;
  font-size: 13.8px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
  transition: transform 160ms ease, background 160ms ease;
}

.tp-wcs-visit-btn:hover {
  background: #e8f4ff;
  transform: translateY(-1px);
}

.tp-wcs-consult-link {
  color: rgba(214, 234, 255, 0.88) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.tp-wcs-consult-link:hover {
  color: #ffffff !important;
}

@media (max-width: 860px) {
  .tp-web-case-stage {
    justify-content: flex-start;
    padding: 18px 16px 22px;
  }

  .tp-wcs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tp-wcs-visit-btn {
    width: 100%;
  }
}

/* --- Rail B: Latest Instagram Reels (Immediately After #services, Frameless Light Canvas) --- */
html body section.reels#reels {
  background: linear-gradient(180deg, #ffffff 0%, #faf9f7 100%) !important;
  color: #0f2c6b !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-block: clamp(28px, 4vw, 54px) clamp(38px, 5vw, 64px) !important;
  overflow: hidden !important;
}

html body section.reels#reels::before,
html body section.reels#reels::after {
  display: none !important;
}

html body section.reels#reels > .container {
  max-width: 1180px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 clamp(16px, 2.6vw, 30px) !important;
}

html body section.reels#reels .reels-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px) !important;
  align-items: end !important;
  gap: clamp(16px, 4vw, 48px) !important;
  margin-bottom: clamp(20px, 2.6vw, 28px) !important;
}

html body section.reels#reels .section-label {
  color: #14839e !important;
  font-weight: 700 !important;
}

html body section.reels#reels .section-label::before {
  background: #14839e !important;
}

html body section.reels#reels h2 {
  margin: 0 !important;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, sans-serif !important;
  font-size: clamp(26px, 3.6vw, 44px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.028em !important;
  color: #0f2c6b !important;
}

html body.fa section.reels#reels h2 {
  font-family: "Shabnam", Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.32 !important;
}

html body section.reels#reels h2 em {
  color: #14839e !important;
  font-style: normal !important;
}

html body section.reels#reels .reels-head p {
  margin: 0 0 10px !important;
  color: #4f5f7a !important;
  font-size: 14.5px !important;
  line-height: 1.62 !important;
}

html body section.reels#reels .reels-head a.ig-link {
  color: #0f2c6b !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border-bottom: 1px solid rgba(15, 44, 107, 0.28) !important;
}

html body section.reels#reels .reels-head a.ig-link:hover {
  color: #14839e !important;
  border-bottom-color: #14839e !important;
}

html body section.reels#reels .reels-controls-wrap {
  margin-bottom: 12px !important;
}

html body section.reels#reels .reels-tag {
  color: #546685 !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
}

html body.fa section.reels#reels .reels-tag {
  direction: rtl !important;
  text-align: right !important;
  letter-spacing: 0 !important;
  font-size: 12.5px !important;
}

html body.fa section.reels#reels .reels-controls {
  direction: ltr !important;
}

html body.fa section.reels#reels .reel-native-meta b {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block !important;
  align-self: flex-start !important;
}

@media (max-width: 680px) {
  .hl3-wensity-morph {
    min-height: 2.38em;
  }
  .hl3-perf-wrap {
    min-height: 2.6em;
  }
}

html body section.reels#reels .reel-btn {
  width: 42px !important;
  height: 42px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 44, 107, 0.16) !important;
  color: #0f2c6b !important;
  box-shadow: 0 4px 12px rgba(15, 44, 107, 0.06) !important;
}

html body section.reels#reels .reel-btn:hover:not(:disabled) {
  background: #0f2c6b !important;
  border-color: #0f2c6b !important;
  color: #ffffff !important;
}

html body section.reels#reels .reels-viewport {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-block: 8px 20px !important;
  margin-block: -8px -6px !important;
}

html body section.reels#reels .reels-track .reel-card,
html body section.reels#reels .reels-track[data-instagram-automatic="true"] .reel-card {
  background-color: #071a3d !important;
  border: 1px solid rgba(15, 44, 107, 0.13) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 32px -14px rgba(15, 44, 107, 0.22) !important;
}

html body section.reels#reels .reels-track[data-instagram-automatic="true"] .reel-card.is-featured,
html body section.reels#reels .reels-track[data-instagram-automatic="true"] .reel-card:hover,
html body section.reels#reels .reels-track[data-instagram-automatic="true"] .reel-card:focus-within {
  border-color: rgba(20, 131, 158, 0.48) !important;
  box-shadow: 0 20px 44px -14px rgba(15, 44, 107, 0.28) !important;
}

/* Light-mode scrubber bar for #reelsProgress (overrides injected #tp-instagram-feed-v166-styles) */
html body section.reels#reels .tp-instagram-progress::before {
  height: 2px !important;
  background: rgba(15, 44, 107, 0.14) !important;
}

html body section.reels#reels .tp-instagram-progress-fill {
  height: 3px !important;
  background: linear-gradient(90deg, #0f2c6b 0%, #14839e 100%) !important;
}

html body section.reels#reels .tp-instagram-progress-fill::after {
  background: #ffffff !important;
  border: 2.5px solid #0f2c6b !important;
  box-shadow: 0 3px 10px rgba(15, 44, 107, 0.22) !important;
}

html body section.reels#reels .reels-dot {
  background: rgba(15, 44, 107, 0.16) !important;
}

html body section.reels#reels .reels-dot.active {
  background: #0f2c6b !important;
}

html body section.reels#reels .ig-cta {
  margin-top: 22px !important;
}

html body section.reels#reels .ig-cta .btn {
  background: #0f2c6b !important;
  border: 1px solid #0f2c6b !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px -8px rgba(15, 44, 107, 0.28) !important;
}

html body section.reels#reels .ig-cta .btn:hover {
  background: #173f94 !important;
  border-color: #173f94 !important;
  color: #ffffff !important;
}

@media (max-width: 900px) {
  html body section.reels#reels .reels-head {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}


/* ==========================================================================
   v278 — CONTRASTING HEADING PUNCTUATION, DESKTOP/ULTRAWIDE STAGE SCALE &
   MOBILE HALF-PEEK FLAGSHIP HERO
   ========================================================================== */
.hl3-h1 .hl3-dot {
  color: #14839e !important;
  font-style: normal !important;
}

.hl3-perf-wrap .hl3-dot {
  color: #0f2c6b !important;
  font-style: normal !important;
}

.tp-hdot-base {
  color: inherit !important;
  font-style: normal !important;
}

.tp-hdot-ink {
  color: #0f2c6b !important;
  font-style: normal !important;
}

.tp-hdot-accent {
  color: #14839e !important;
  font-style: normal !important;
}

section.reels#reels .tp-hdot-accent {
  color: #7dd3e6 !important;
}

/* --- Desktop & Ultrawide Homepage Above-the-Fold Architecture (>= 961px) ---
   Guarantees Row 01 commands ~91% of the initial viewport across 1440x900,
   1920x1080, 2200x1280, and 2560x1440 so Row 02's eyebrow peeks cleanly as a
   scroll cue and Row 03 (#services) is NEVER visible on initial load. */
@media (min-width: 961px) {
  .hl3-root {
    min-height: clamp(680px, 79vh, 1080px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: clamp(118px, 12.6vh, 146px) 0 clamp(54px, 6vh, 76px) !important;
  }

  .hl3-container {
    width: 100% !important;
    max-width: min(1580px, 94vw) !important;
    padding: 0 clamp(22px, 2.8vw, 44px) !important;
  }

  .hl3-head {
    max-width: min(1480px, 92vw) !important;
    margin: 0 auto clamp(18px, 2.2vh, 30px) !important;
  }

  .hl3-h1 {
    font-size: clamp(34px, 3.45vw, 58px) !important;
    line-height: 1.13 !important;
    letter-spacing: -0.032em !important;
  }

  html[lang="fa"] .hl3-h1,
  body.fa .hl3-h1,
  html[lang="fa"] .hl3-h1 span,
  body.fa .hl3-h1 span {
    font-size: clamp(29px, 2.95vw, 50px) !important;
    line-height: 1.34 !important;
    letter-spacing: 0 !important;
  }

  .hl3-perf-wrap {
    max-width: 1240px !important;
    margin-top: clamp(8px, 1vh, 14px) !important;
    font-size: clamp(20px, 2.0vw, 31px) !important;
    line-height: 1.28 !important;
  }

  html[lang="fa"] .hl3-perf-wrap,
  body.fa .hl3-perf-wrap,
  html[lang="fa"] .hl3-perf-wrap span,
  body.fa .hl3-perf-wrap span {
    font-size: clamp(18.5px, 1.82vw, 27.5px) !important;
    line-height: 1.42 !important;
  }

  .hl3-stage {
    max-width: min(1480px, 92vw) !important;
    height: clamp(446px, 47vh, 548px) !important;
  }

  .hl3-ambient-aura {
    width: clamp(780px, 60vw, 1080px) !important;
    height: clamp(470px, 50vh, 620px) !important;
  }

  .hl3-core-hit {
    width: clamp(360px, 24.5vw, 440px) !important;
    height: clamp(350px, 23.8vw, 428px) !important;
  }

  .hl3-core-canvas {
    width: clamp(500px, 34vw, 620px) !important;
    height: clamp(480px, 32.6vw, 596px) !important;
  }

  .hl3-card {
    width: clamp(306px, 21.4vw, 356px) !important;
    padding: clamp(14px, 1.05vw, 18px) clamp(16px, 1.2vw, 22px) !important;
    border-radius: 20px !important;
    gap: clamp(13px, 1vw, 16px) !important;
  }

  .hl3-glyph {
    width: clamp(42px, 3vw, 48px) !important;
    height: clamp(42px, 3vw, 48px) !important;
    border-radius: 13px !important;
  }

  .hl3-glyph svg {
    width: clamp(22px, 1.55vw, 25px) !important;
    height: clamp(22px, 1.55vw, 25px) !important;
  }

  .hl3-card-top {
    font-size: clamp(11.5px, 0.8vw, 12.5px) !important;
  }

  .hl3-card-title {
    font-size: clamp(16px, 1.15vw, 18.5px) !important;
    line-height: 1.26 !important;
  }

  html[lang="fa"] .hl3-card-title,
  body.fa .hl3-card-title,
  html[lang="fa"] .hl3-card-title span,
  body.fa .hl3-card-title span {
    font-size: clamp(15px, 1.08vw, 17.5px) !important;
  }

  .hl3-card-sub {
    margin-top: 3px !important;
    font-size: clamp(12.8px, 0.88vw, 14px) !important;
    line-height: 1.38 !important;
  }
}

/* --- Row 02 (#video-samples): Static Condensed 1-Line Heading & Cinema Scale --- */
html body section.tp-home-samples-band {
  padding: clamp(64px, 5.8vw, 86px) 0 clamp(68px, 6.2vw, 90px) !important;
}

html body section.tp-home-samples-band .tp-samples-wrap {
  max-width: min(1440px, 94vw) !important;
  padding: 0 clamp(16px, 2.6vw, 36px) !important;
}

html body section.tp-home-samples-band .tp-samples-head {
  max-width: 1240px !important;
  margin: 0 auto clamp(34px, 3.6vw, 48px) !important;
}

html body section.tp-home-samples-band .tp-samples-eyebrow {
  padding: 6px 16px !important;
  font-size: clamp(12px, 0.88vw, 13.5px) !important;
  margin-bottom: 14px !important;
}

html body section.tp-home-samples-band .tp-samples-h2 {
  margin: 0 !important;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, sans-serif !important;
  font-size: clamp(26px, 3.45vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.028em !important;
  color: #0f2c6b !important;
  white-space: nowrap !important;
}

html body.fa section.tp-home-samples-band .tp-samples-h2 {
  font-family: "Shabnam", Tahoma, sans-serif !important;
  font-size: clamp(23px, 3.0vw, 42px) !important;
  line-height: 1.34 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

html body section.tp-home-samples-band .tp-samples-h2 em {
  font-style: normal !important;
  color: #14839e !important;
}

@media (min-width: 1041px) {
  html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel-track {
    height: clamp(380px, 28.5vw, 460px) !important;
    gap: clamp(9px, 0.75vw, 12px) !important;
  }

  html body section.tp-home-samples-band #homePortfolioCollections .tp-industry {
    min-width: clamp(50px, 3.8vw, 62px) !important;
    border-radius: 22px !important;
  }

  html body section.tp-home-samples-band #homePortfolioCollections .tp-industry-title {
    font-size: clamp(1.3rem, 1.8vw, 1.78rem) !important;
  }

  html body.fa section.tp-home-samples-band #homePortfolioCollections .tp-industry-title {
    font-size: clamp(1.22rem, 1.68vw, 1.62rem) !important;
  }

  html body section.tp-home-samples-band #homePortfolioCollections .tp-all-link {
    font-size: 14px !important;
  }

  .tp-six-rows-stack,
  html body section.reels#reels > .container {
    max-width: min(1340px, 92vw) !important;
  }
}

@media (max-width: 680px) {
  html body section.tp-home-samples-band {
    padding: 36px 0 52px !important;
  }

  html body section.tp-home-samples-band .tp-samples-h2 {
    font-size: clamp(18px, 4.9vw, 22px) !important;
  }

  html body.fa section.tp-home-samples-band .tp-samples-h2 {
    font-size: clamp(16.8px, 4.6vw, 20.5px) !important;
  }

  html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel-track {
    height: 274px !important;
  }
}

/* --- Mobile Flagship Hero (<= 760px):
   - Exact first-viewport framing (min-height: 100svh) so Row 02 starts cleanly below the fold
   - Short, punchy, large Hero display typography (34px-40px bold H1)
   - Larger Half-Peek WebGL AI Character docked directly behind Row 1 of the 6 cards
   - Crisp, readable card titles, subtitles, and 34x34px icon badges --- */
@media (max-width: 760px) {
  .hl3-root {
    min-height: 100svh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 94px 0 22px !important;
  }

  .hl3-container {
    flex: 1 1 auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .hl3-head {
    max-width: 520px;
    margin: auto auto 20px !important;
    padding: 6px 4px 2px !important;
  }

  .hl3-h1 {
    font-size: clamp(34px, 9.3vw, 40px) !important;
    line-height: 1.09 !important;
    letter-spacing: -0.034em !important;
  }

  html[lang="fa"] .hl3-h1,
  body.fa .hl3-h1,
  html[lang="fa"] .hl3-h1 span,
  body.fa .hl3-h1 span {
    font-size: clamp(28.5px, 7.9vw, 33.5px) !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
  }

  .hl3-wensity-morph {
    min-height: 2.26em !important;
    padding: 2px 4px !important;
  }

  .hl3-perf-wrap {
    margin-top: 9px !important;
    min-height: 2.52em !important;
    font-size: clamp(17px, 4.55vw, 19.8px) !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    padding: 2px 4px !important;
  }

  html[lang="fa"] .hl3-perf-wrap,
  body.fa .hl3-perf-wrap,
  html[lang="fa"] .hl3-perf-wrap span,
  body.fa .hl3-perf-wrap span {
    font-size: clamp(16.2px, 4.4vw, 18.8px) !important;
    line-height: 1.38 !important;
  }

  .hl3-stage {
    padding: 0 2px 4px !important;
    gap: 0 !important;
  }

  .hl3-core-wrap {
    position: relative !important;
    z-index: 4 !important;
    width: 100% !important;
    height: 144px !important;
    margin: 4px auto -2px !important;
    overflow: visible !important;
    clip-path: none !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  .hl3-core-hit {
    width: 350px !important;
    height: 146px !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }

  .hl3-core-canvas {
    width: 390px !important;
    height: 372px !important;
    top: 90px !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .hl3-cards-layer {
    position: relative !important;
    z-index: 10 !important;
    margin-top: 0 !important;
    gap: 8px !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .hl3-card {
    padding: 11px 12px !important;
    border-radius: 16px !important;
    gap: 7px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(16px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.12) !important;
  }

  .hl3-glyph {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }

  .hl3-glyph svg {
    width: 19px !important;
    height: 19px !important;
  }

  .hl3-card-top {
    font-size: 11px !important;
  }

  .hl3-card-title {
    font-size: 14px !important;
    line-height: 1.24 !important;
  }

  html[lang="fa"] .hl3-card-title,
  body.fa .hl3-card-title,
  html[lang="fa"] .hl3-card-title span,
  body.fa .hl3-card-title span {
    font-size: 13.5px !important;
  }

  .hl3-card-sub {
    font-size: 11.6px !important;
    line-height: 1.32 !important;
  }
}
