/* ==========================================================================
   Tehranto.Plus — Unified Homepage Architecture & Chat-Only Launcher (v274)
   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: 96px 0 40px !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 {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.6vw, 34px);
}

.hl3-head {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto 18px;
  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(30px, 4.35vw, 56px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.032em;
  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(26px, 3.6vw, 46px);
  line-height: 1.36;
  letter-spacing: 0;
}

.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;
  will-change: filter, opacity;
}

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

.hl3-vf-unit {
  display: inline-block;
  white-space: pre;
  will-change: font-variation-settings, font-weight, 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;
  will-change: filter, opacity;
}

.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;
}

.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.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  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) -------------------- */
.tfx-six-band.tp-six-rows-band {
  padding: clamp(38px, 4.8vw, 68px) 0 clamp(34px, 4.4vw, 60px) !important;
  background: #ffffff !important;
  border-bottom: 0 !important;
}

.tp-six-rows-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(28px, 3.8vw, 44px);
  padding: 0 20px;
}

.tp-six-rows-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-bottom: 12px;
}

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

.tp-six-rows-intro h2 {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, sans-serif !important;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #0f2c6b;
}

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

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

.tp-six-rows-intro p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: #536482;
}

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

.tp-svc-row {
  position: relative;
  scroll-margin-top: 86px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.1);
  border-radius: 26px;
  padding: clamp(22px, 3vw, 34px);
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(22px, 3.4vw, 42px);
  align-items: center;
  transition: border-color 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.is-tinted {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8fe 100%);
}

.tp-svc-row:hover {
  border-color: rgba(20, 131, 158, 0.34);
}

/* Alternate column visual rhythm on even rows on Desktop */
@media (min-width: 941px) {
  .tp-svc-row.is-alt {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }
  .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: 10px;
}

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

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

.tp-svc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #0f2c6b;
  color: #ffffff;
  font-size: 11px;
  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 9px;
  font-family: "Plus Jakarta Sans", "Google Sans", -apple-system, sans-serif !important;
  font-size: clamp(20px, 2.25vw, 27px);
  font-weight: 800;
  line-height: 1.2;
  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.38;
  font-size: clamp(19px, 2.1vw, 25px);
}

.tp-svc-desc {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.62;
  color: #4d5e7c;
  max-width: 60ch;
}

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

.tp-svc-checks {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.tp-svc-checks li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42;
  color: #1d335c;
}

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

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

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

.tp-svc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0f2c6b;
  border: 1px solid #0f2c6b;
  color: #ffffff !important;
  font-size: 13px;
  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: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 44, 107, 0.18);
  color: #0f2c6b !important;
  font-size: 13px;
  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;
}

/* Right/Alternating Visual Spec Module inside each Service Row */
.tp-svc-spec {
  background: #f4f8fd;
  border: 1px solid rgba(15, 44, 107, 0.085);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

body.fa .tp-svc-spec-head {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11.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: 13px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

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

.tp-svc-spec-item small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: #5a6b89;
  line-height: 1.35;
}

.tp-svc-spec-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4fb;
  color: #0f2c6b;
  font-size: 11.5px;
  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. CLEAN 52x52 CIRCULAR CHAT-ONLY LAUNCHER -------------------- */
/* Since Book / Consult lives permanently in the top-right sticky navbar,
   declutter viewport corners: hide bottom-left promo stack & make bottom-right
   strictly a 52x52 Chat & Message circle (WhatsApp + Send a Message ONLY)! */
html body .tp-offer-float {
  display: none !important;
}

@media (min-width: 641px) {
  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.22) !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;
}

/* Hover-only compact tooltip beside the 52x52 circle */
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;
}

@media (hover: hover) and (min-width: 641px) {
  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;
}

/* Non-blocking transparent click-away backdrop (preserves page scroll) */
html body tehranto-contact-launcher .tp-launch-backdrop {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Sleek White Corner Popover cleanly 12px ABOVE the 52x52 circle in BOTH EN & FA */
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;
}

/* REMOVE Free Consultation & Book Services Online from bottom widget (moved to top navbar Book / Consult!) */
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;
}

/* Style the 2 pure messaging items: Chat on WhatsApp (Primary Navy) + Send a Message (Clean Ghost) */
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 a.tp-launch-opt.is-ice[data-launch-wa]:hover {
  background: #173f94 !important;
  border-color: #173f94 !important;
  color: #ffffff !important;
  transform: none !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 tehranto-contact-launcher button.tp-launch-opt.is-white[data-launch-form]:hover {
  background: #eaf2fc !important;
  border-color: rgba(15, 44, 107, 0.28) !important;
  transform: none !important;
}

html body.tp-has-mobile-cart 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: 84px 0 42px !important;
  }

  .hl3-perf-wrap {
    height: 42px;
  }

  .hl3-stage {
    height: auto !important;
    flex-direction: column;
    padding: 8px 12px 14px;
  }

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

  .hl3-core-hit {
    width: 240px;
    height: 246px;
  }

  .hl3-core-canvas {
    width: 330px;
    height: 316px;
  }

  .hl3-cards-layer {
    position: relative;
    inset: auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    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 {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

@media (max-width: 640px) {
  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(max(0.85rem, env(safe-area-inset-bottom)) + 68px) !important;
  }

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

@media (max-width: 560px) {
  .hl3-cards-layer {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. FRAMELESS HOMEPAGE VIDEO RAILS (NO OUTER BOXES · MERGED WITH PAGE BG)
   - Rail A (#video-samples / #homePortfolioCollections): Above the 6 Service Rows
   - Rail B (section.reels#reels): Immediately after the 6 Service Rows
   ========================================================================== */

/* --- Rail A: Commercial Video & Industry Samples (Above #services) --- */
html body section.tp-home-samples-band {
  position: relative;
  padding: clamp(28px, 3.8vw, 52px) 0 clamp(20px, 2.8vw, 34px) !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body section.tp-home-samples-band .tp-samples-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.6vw, 30px);
}

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

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 12px;
}

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;
  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.tp-home-samples-band .tp-samples-h2 {
  font-family: "Shabnam", Tahoma, sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.32 !important;
}

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

/* Strip dark container & inner .tp-carousel frame completely */
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;
  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-section-label {
  margin: 0 0 12px !important;
  padding: 0 2px !important;
  color: #546685 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em;
}

html body.fa section.tp-home-samples-band #homePortfolioCollections .tp-section-label {
  letter-spacing: 0 !important;
  font-size: 12.5px !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel {
  min-height: 0 !important;
  padding: 6px 0 14px !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: clamp(256px, 24vw, 312px) !important;
  gap: 10px !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-industry {
  background-color: #0b2254 !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;
  color: #ffffff !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(20, 131, 158, 0.45) !important;
  box-shadow: 0 20px 42px -14px rgba(15, 44, 107, 0.28) !important;
}

html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel-foot {
  margin-top: 8px !important;
  padding: 0 2px !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: 680px) {
  html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel {
    overflow: hidden !important;
    padding: 4px 0 12px !important;
  }
  html body section.tp-home-samples-band #homePortfolioCollections .tp-carousel-track {
    height: 228px !important;
    gap: 8px !important;
  }
}

/* --- 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;
  }
}
