/* Ramyar Dental Clinic — layout follows the approved design; motion language follows the Websima benchmark. */
@font-face {
  font-family: IRANYekan;
  font-weight: 300;
  src: url("../fonts/IRANYekanLight.woff");
}
@font-face {
  font-family: IRANYekan;
  font-weight: 400;
  src: url("../fonts/IRANYekanRegular.woff");
}
@font-face {
  font-family: IRANYekan;
  font-weight: 500;
  src: url("../fonts/IRANYekanMedium.woff");
}
@font-face {
  font-family: IRANYekan;
  font-weight: 700;
  src: url("../fonts/IRANYekanBold.woff");
}
@font-face {
  font-family: IRANYekan;
  font-weight: 800;
  src: url("../fonts/IRANYekanExtraBold.ttf");
}
@font-face {
  font-family: IRANYekan;
  font-weight: 900;
  src: url("../fonts/IRANYekanBlack.woff");
}
@font-face {
  font-family: alibaba;
  font-weight: 400;
  src: url("../fonts/alibaba-regular.woff2");
}
@font-face {
  font-family: alibaba;
  font-weight: 700;
  src: url("../fonts/alibaba-bold.woff2");
}

:root {
  --blue: rgb(0, 111, 238);
  --blue-600: #0a5cf5;
  --blue-800: #0b3fc4;
  --blue-soft: #e1eefc;
  --ink: #1a1b1f;
  --muted: #6f7480;
  --line: #b9bcc3;
  --gray1: #f1f1f1;
  --gray2: #eaeaea;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --wide: min(1312px, calc(100% - 54px));
  --cont: min(1015px, calc(100% - 40px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: IRANYekan, Tahoma, Arial, sans-serif;
  background: #fff;
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wide {
  width: var(--wide);
  margin-inline: auto;
}
.container {
  width: var(--cont);
  margin-inline: auto;
}
:focus-visible {
  outline: 3px solid #7db8ff;
  outline-offset: 3px;
}
section[id],
footer[id] {
  scroll-margin-top: 110px;
}

/* ───────────── Preloader ───────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: preOut 0.9s ease 2.1s both;
}
#preloader__bg {
  position: absolute;
  inset: 0;
  background: #fff;
}
#preloader__img {
  position: relative;
  width: 178px;
  animation: preImg 1.7s var(--ease) both;
}
#preloader__img img {
  width: 100%;
  height: auto;
}
html.no-js #preloader {
  display: none;
}

/* ───────────── Header ───────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
}
.header-top-pill {
  position: absolute;
  top: 0;
  left: 50%;
  width: 172px;
  height: 11px;
  transform: translateX(-50%);
  background: url("../images/vector2.png") center/100% 100% no-repeat;
  z-index: 4;
}
.header-wrapper {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}
.header--right,
.header--left {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  min-width: 0;
}
.header--left {
  justify-content: flex-end;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
}
.nav-link img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link:hover img {
  transform: translateY(-3px) rotate(-8deg);
}
.header--logo {
position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  width: 178px;
  z-index: 5;
  transform-origin: 50% 0;
  height: 106px;
  display: block;
}
.header--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header-curve {
position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 43px;
  background: url("../images/vector.png") center/100% 100% no-repeat;
  z-index: 4;
  pointer-events: none;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.menu-toggle i {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.4s var(--ease),
    opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] i:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] i:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ───────────── Hero ───────────── */
.hero {
  position: relative;
}
.hero-media {
  height: 542px;
  border-radius: 46px;
  overflow: hidden;
  background: #dbe8f7;
  position: relative;
}
.hero-media img,
.hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-contact {
  direction: ltr;
  position: fixed;
  bottom: 29px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  white-space: nowrap;
}
.call-dock {
  direction: ltr;
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 40px;
  background: #0b0c10f2;
  backdrop-filter: blur(6px);
}
.dock-phone,
.dock-request {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition:
    filter 0.3s,
    transform 0.3s;
}
.dock-phone {
  background: var(--blue-600);
}
.dock-request {
  background: #0a77f5;
}
.dock-phone:hover,
.dock-request:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.dock-phone svg,
.dock-request svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dock-phone .ring {
  opacity: 0;
  animation: ring 2.2s infinite;
}
.dock-phone .r2 {
  animation-delay: 0.25s;
}
@keyframes ring {
  0%,
  45% {
    opacity: 0;
  }
  60%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.help-chip {
  direction: ltr;
  display: flex;
  align-items: center;
  position: relative;
  height: 40px;
}
.help-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #111;
  background: #fff;
  margin: -20px -22px -18px 0;
  position: relative;
  z-index: 2;
}
@keyframes float {
  50% {
    transform: translateY(-4px);
  }
}
.help-play {
  width: 16px;
  height: 16px;
  position: absolute;
  left: 77px;
  z-index: 3;
}
.help-chip .help-text-old {
  direction: rtl;
  background: #f3f4f7;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  padding: 0 14px 0 14px;
  height: 34px;
  border-radius: 0 20px 20px 0;
  display: inline-flex;
  align-items: center;
  margin-left: -6px;
  padding-left: 28px;
}

/* ───────────── Estimate ───────────── */
.estimate {
  margin-top: 32px;
  border: 1px solid #d7d7d7;
  border-radius: 30px;
  background: #fff;
  position: relative;
  z-index: 1;
}
.estimate-top {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 26px 52px 26px 113px;
  border-bottom: 1px solid #d7d7d7;
}
.estimate h1 {
  font-size: 23px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  margin-left: 6px;
}
.tabs {
  display: flex;
  gap: 14px;
}
.tabs button {
  width: 138px;
  height: 44px;
  border: 1px solid #d7d7d7;
  background: #fff;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.35s var(--ease);
}
.tabs button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.tabs button.active {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow:
    0 8px 22px #0670f033,
    inset 0 0 0 1px var(--blue);
  transform: translateY(-1px);
}
.garanty {
  width: 120px;
  height: auto;
  margin-right: auto;
  flex: none;
}
#estimate-form {
  padding: 21px 62px 36px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.mobile-field input {
  width: 228px;
  height: 55px;
  border: 1px solid var(--blue);
  background: #eceef2;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 12.5px;
  text-align: right;
  transition: 0.3s;
}
.mobile-field input:focus {
  background: #fff;
  box-shadow: 0 0 0 4px #0670f024;
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 15px;
  padding: 0 24px;
  height: 44px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    box-shadow 0.35s,
    background 0.3s;
  position: relative;
  will-change: transform;
}
.button:hover {
  box-shadow: 0 12px 26px #0670f04d;
}
.button.big {
  width: 226px;
  height: 55px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
}
.button.outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.button.outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: none;
}
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
#estimate-result {
  text-align: center;
  color: var(--blue);
  font-size: 13px;
  margin-top: 14px;
}
#estimate-result a {
  text-decoration: underline;
  font-weight: 700;
}
.estimate-glow {
  display: block;
  width: min(814px, 80%);
  margin: -28px auto -74px;
  pointer-events: none;
  position: relative;
  z-index: 0;
}

/* ───────────── Bands ───────────── */
.band {
  position: relative;
  z-index: 1;
}
.gray1 {
  background: var(--gray1);
}
.gray2 {
  background: var(--gray2);
}
.eyebrow {
  display: block;
  font-size: 14px;
  color: #7d818b;
  font-weight: 400;
}
.eyebrow.dark {
  color: var(--ink);
}
.fx-title {
  font-weight: 800;
  color: var(--blue);
  line-height: 1.6;
}
.fx-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

/* Patients */
.patients {
  padding: 58px 0 56px;
  overflow: hidden;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  width: min(1090px, calc(100% - 40px));
  margin-bottom: 38px;
}
.section-heading h2 {
  font-size: 25px;
  margin-top: 6px;
}
.section-heading p {
  max-width: 560px;
  font-size: 14.5px;
  line-height: 2;
  color: #26282d;
  text-align: justify;
}
.patient-track {
  direction: ltr;
  display: flex;
  overflow: hidden;
  padding: 2px 0;
}
.patient-track.videos {
  margin-top: 25px;
}
.marquee {
  display: flex;
  width: max-content;
  will-change: transform;
}
.rail-set {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}
.patient-card {
  flex: none;
  width: 224px;
  height: 256px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #dfe6ef;
}
.patient-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.patient-card:hover img {
  transform: scale(1.06);
}
.story-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: none;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
    background-color: rgba(0, 111, 238, 0.812);

  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease);
}
.play-icon:before {
  content: "";
  border: solid transparent;
  border-width: 7px 0 7px 11px;
  border-left-color: #fff;
  margin-left: 3px;
}
.story-button:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.14);
}

/* Doctor / CEO */
.ceo {
  padding: 86px 0 78px;
  overflow: hidden;
}
.ceo-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1130px, calc(100% - 40px));
  direction: ltr;
}
.ceo--img {
  position: relative;
  width: 338px;
  height: 426px;
  flex: none;
  margin: 112px 0 0 57px;
}

.ceo-photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 338px;
  height: auto;
  z-index: 1;
}
.ceo--text {
  direction: rtl;
  width: 720px;
  max-width: 100%;
}
.ceo__typography {
  width: 719px;
  max-width: 100%;
  height: auto;
  margin-bottom: 46px;
}
.ceo--titles {
  width: 605px;
  max-width: 100%;
  margin-right: 0;
  margin-left: auto;
}
.ceo--title__en {
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #16171b;
  line-height: 1.3;
}
.ceo--subtitle__en {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15.5px;
  font-weight: 300;
  color: #35373d;
  margin-top: 4px;
}
.ceo__desc {
  width: 605px;
  max-width: 100%;
  margin: 22px 0 0 auto;
  margin-left: 0;
}
.ceo__desc p {
  font-size: 14.5px;
  line-height: 1.95;
  text-align: justify;
  color: #26282d;
}
.char {
  display: inline-block;
  will-change: transform, opacity, filter;
}

/* Prices */
.prices {
  padding: 56px 0 107px;
}
.prices h2 {
  font-size: 26px;
  margin-top: 12px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px 22px;
  margin-top: 58px;
}
.price-card {
  --x: 0px;
  --y: 0px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 17px 15px;
  min-height: 156px;
  position: relative;
  transform: translate(var(--x), var(--y));
  transition: box-shadow 0.4s;
}
.price-card:hover {
  box-shadow: 0 18px 40px #1f3c5c1f;
}
.price-card h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 17px;
}
.price-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  background: #e0e9f0;
  border-radius: 14px;
  padding: 12px 22px 12px 18px;
  min-height: 83px;
  position: relative;
  overflow: hidden;
}
.price-box .shadow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(#0670f030, transparent 70%);
  left: var(--sx, 50%);
  top: var(--sy, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}
.price-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}
.price-old {
  font-size: 12px;
  color: #7a828c;
  text-decoration: line-through;
}
.price-new {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.price-badge {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  position: relative;
}

/* AI preview */
.before-after {
  display: grid;
  grid-template-columns: 1fr 495px;
  align-items: center;
  gap: 90px;
  padding: 52px 0 60px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-soft);
  color: #000;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  direction: ltr;
}
.badge svg {
  width: 13px;
  height: 13px;
  fill: var(--blue);
}
.ai-title {
  font-size: 37px;
  font-weight: 900;
  color: #0e0f12;
  margin: 22px 0 22px;
  line-height: 1.5;
}
.ai-title em {
  font-style: normal;
  color: var(--blue);
}
.before-copy p {
  font-size: 14px;
  line-height: 2.05;
  color: #555a63;
  max-width: 380px;
}
.before-copy .actions {
  justify-content: flex-start;
  flex-direction: row-reverse;
  margin-top: 44px;
  gap: 12px;
  flex-wrap: nowrap;
}
.before-copy .button {
  height: 38px;
  font-size: 12px;
  padding: 0 16px;
  border-radius: 19px;
  white-space: nowrap;
}
.before-copy .button.outline {
  border-radius: 19px;
}
.button .arrow {
  width: 16px;
  height: 16px;
}
.comparison {
  display: flex;
  direction: ltr;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  height: 338px;
  background: #dce6f1;
}
.comparison figure {
  margin: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: transform 1.2s var(--ease);
}
.comparison:hover img {
  transform: scale(1.04);
}
.comparison figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Partners */
.partners {
  padding: 96px 0 62px;
}
.partner-grid {
  width: min(1240px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  direction: ltr;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent),
    linear-gradient(transparent, #000 8%, #000 62%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent),
    linear-gradient(transparent, #000 8%, #000 62%, transparent);
  mask-composite: intersect;
}
.partner-cell {
  height: 100px;
  display: grid;
  place-items: center;
  border-right: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}
.partner-cell:nth-child(6n) {
  border-right: 0;
}
.partner-cell img {
  max-width: 125px;
  max-height: 62px;
  filter: brightness(0);
  opacity: 0.3;
  transform: scale(1.15);
}
.trust {
  margin-top: 34px;
  position: relative;
 text-align: center;
}


.trust-script img{
  margin: auto;
  display: inline-block;
}



.team {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1190px, calc(100% - 40px));
  padding: 36px 0 40px;
}
.team--text {
  direction: rtl;
  width: 492px;
  flex: none;
  position: relative;
}
.team-script {
  font-family: alibaba, IRANYekan;
  line-height: 1;
  margin-bottom: 30px;
  position: relative;
  height: 170px;
}
.team-script span {
  position: absolute;
  white-space: nowrap;
}

.team-copy {
  font-size: 14.5px;
  line-height: 2;
  color: #26282d;
  text-align: justify;
}
.team--text .button {
  margin: 30px 0 0 auto;
  display: flex;
  width: max-content;
  height: 41px;
  font-size: 12px;
}
.team--imgs {
  position: relative;
  width: 630px;
  height: 570px;
  flex: none;
  direction: ltr;
}
.portrait-slot {
  position: absolute;
  border-radius: 11px;
  overflow: hidden;
 
}


.portrait-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity;
}

/* Articles / leap */
.leap {
  padding: 92px 0 118px;
}
.leap--head {
  text-align: center;
}
.leap-fa {
  font-size: 26px;
}
.en-title {
  font-size: 27px;
  font-weight: 300;
  color: #222;
  margin-top: 20px;
}
.en-title b {
  font-weight: 700;
  color: #000;
}
.leap__subtitle {
  max-width: 700px;
  margin: 18px auto 0;
  font-size: 14.5px;
  line-height: 2.2;
  color: #25272c;
}
/* Websima "جهش" categories, ported effect-for-effect (section-leap.css):
   1. masked icon is filled from the bottom with the accent colour,
   2. the English title rolls down while a coloured copy (data-title) rolls in from above,
   3. the arrow swaps diagonally for an accent-coloured copy. */
.leap--categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  align-items: baseline;
  gap: 40px;
  direction: ltr;
  margin-top: 64px;
  width: min(1000px, 100%);
  margin-inline: auto;
  padding: 0 30px;
}
.leap-cat {
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.mask-leap__icon {
  display: block;
  width: 60px;
  height: 60px;
  flex: none;
  background-color: #101114;
  overflow: hidden;
  transition: 0.5s cubic-bezier(0.5, 1, 0.89, 1);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-image: linear-gradient(0deg, var(--blue) 50%, transparent 50%);
  background-size: 100% 0%;
  background-position: bottom left;
  background-repeat: no-repeat;
}

.leap-cat:hover .mask-leap__icon {
  background-size: 200% 200%;
  background-position: bottom left;
}
.leap-cat__entitle-wrap {
  overflow: hidden;
  margin-top: 20px;
  position: relative;
}
.leap-cat__entitle {
  position: relative;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--blue);
  transition: 0.6s cubic-bezier(0.24, 0.43, 0.15, 0.97);
  direction: ltr;
}
.leap-cat__entitle:before {
  content: attr(data-title);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 112%;
  transform: translate3d(0, 0, 0);
  color: var(--blue-800);
}
.leap-cat__title {
  font-size: 11.5px;
  color: #7a7e87;
  line-height: 1.7;
  margin-top: 8px;
  transition: 0.4s cubic-bezier(0.5, 1, 0.89, 1);
}
.leap-cat:hover .leap-cat__title {
  color: var(--blue);
}
.leap-cat__icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  margin-top: 15px;
  overflow: hidden;
}
.leap-cat__icon svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.8s cubic-bezier(0.62, 0.05, 0.01, 0.99);
}
.leap-cat__icon .arr-a {
  stroke: #101114;
}
.leap-cat__icon .arr-b {
  stroke: var(--blue);
  transform: translate(-110%, 110%);
}
.leap-cat:hover .leap-cat__icon .arr-a {
  transform: translate(110%, -110%);
}
.leap-cat:hover .leap-cat__icon .arr-b {
  transform: translate(0, 0);
}
@media (hover: hover) and (min-width: 801px) {
  .leap-cat:hover .leap-cat__entitle {
    transform: translateY(112%);
  }
}
@media (hover: none), (max-width: 800px) {
  .leap-cat__entitle:before {
    display: none;
  }
  .leap-cat:hover .leap-cat__entitle {
    color: var(--blue-800);
  }
}

/* FAQ */
.faq {
  padding: 80px 0 30px;
}
.faq h2 {
  font-size: 26px;
  color: #111;
  margin: 8px 0 54px;
  font-weight: 800;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 22px;
  align-items: start;
}
.faq-item {
  border: 1px solid #b5b7bd;
  border-radius: 18px;
  background: #fff;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.faq-item.open {
  border-color: var(--blue);
  box-shadow: 0 10px 26px #0670f01c;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: none;
  padding: 0 22px;
  height: 66px;
  cursor: pointer;
  text-align: right;
  font-size: 14.5px;
  font-weight: 700;
  direction: rtl;
}
.faq-q i {
  flex: none;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  background: var(--blue);
  position: relative;
  order: 2;
  transition: transform 0.45s var(--ease);
}
.faq-q i:before,
.faq-q i:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1.8px;
  background: #fff;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: transform 0.45s var(--ease);
}
.faq-q i:after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.open .faq-q i:after {
  transform: translate(-50%, -50%) rotate(0);
}
.faq-a {
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.faq-a p {
  padding: 0 22px 20px;
  font-size: 13px;
  line-height: 2;
  color: #575b64;
}

/* ───────────── Footer ───────────── */
#footer {
  position: relative;
  margin-top: min(190px, 14vw);
  background: var(--gray2);
}
#footer-wave {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: min(185px, 11vw);
  pointer-events: none;
}
.footer-logo {
  position: absolute;
  left: 50%;
  top: -150px;
  transform: translateX(-50%);
  z-index: 2;
  width: 178px;
  height: 106px;
  display: block;
}
.footer-logo img {
  width: 178px;
  height: 100%;
  object-fit: contain;
}
.footer-notch {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  z-index: 2;
  background:
    radial-gradient(circle, #2b2d33 0 38%, transparent 40%) 50% 0/7px 7px no-repeat,
    radial-gradient(circle, #2b2d33 0 38%, transparent 40%) 0 50%/7px 7px no-repeat,
    radial-gradient(circle, #2b2d33 0 38%, transparent 40%) 100% 50%/7px 7px no-repeat,
    radial-gradient(circle, #2b2d33 0 38%, transparent 40%) 50% 100%/7px 7px no-repeat;
}
.footer-wrapper {
  padding: 36px 0 40px;
}
.footer--details {
  display: grid;
  grid-template-columns: 412px repeat(3, 1fr);
  column-gap: 54px;
  align-items: start;
  margin-top: 20px;
}
.footer-about {
  padding-top: 6px;
}
.footer-script {
  font-family: alibaba, IRANYekan;
  line-height: 1.1;
  margin-bottom: 26px;
  padding-top: 10px;
}
.footer-script span {
  display: block;
  font-size: 21px;
  color: #0b0b0d;
  transform: rotate(-3deg);
  transform-origin: right;
}
.footer-script b {
  display: block;
  font-size: 38px;
  color: #1c8de8;
  font-weight: 400;
  transform: rotate(-4deg);
  transform-origin: right;
  margin-top: 2px;
}
.footer__desc {
  font-size: 12px;
  line-height: 2;
  color: #666a73;
  text-align: justify;
}
.footer-menu {
  padding-top: 30px;
}
.footer-menu .title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}
.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__menu a {
  font-size: 12.5px;
  color: #7a7e86;
  transition:
    color 0.3s,
    padding 0.3s;
}
.footer__menu a:hover {
  color: var(--blue);
  padding-right: 6px;
}
.footer-about--info {
  display: grid;
  grid-template-columns: auto 1fr 400px;
  align-items: center;
  gap: 40px;
  margin-top: 34px;
  font-size: 13px;
  color: #555;
}
.socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.socials span {
  margin-left: 6px;
  font-size: 13px;
}
.socials a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  transition:
    transform 0.4s var(--ease),
    color 0.3s;
}
.socials a:hover {
  transform: translateY(-4px);
  color: var(--blue);
}
.socials svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.hotline {
  text-align: center;
}
.hotline b {
  font-weight: 700;
  color: #111;
}
.address {
  font-size: 11.5px;
  line-height: 2;
  color: #6c7079;
  text-align: justify;
}
.copyright {
  margin-top: 42px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 45px;
  border-radius: 30px;
  background: var(--blue);
  color: #fff;
  padding: 0 26px;
  font-size: 11.5px;
  width: min(1122px, calc(100% - 40px));
  margin-inline: 0 auto;
}
.copyright b {
  font-weight: 700;
}
.copy-credit {
  font-family: "Segoe UI", Arial, sans-serif;
}
.to-top {
  position: absolute;
  left: -62px;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.3s;
}
.to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px #0670f055;
}
.to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#footer .container {
  width: min(1190px, calc(100% - 40px));
}
.footer--details,
.footer-about--info {
  padding-inline: 30px;
}

/* Dialog */
dialog {
  border: 0;
  border-radius: 18px;
  padding: 24px;
  max-width: 360px;
  box-shadow: 0 20px 80px #152b4a55;
}
dialog::backdrop {
  background: #14253a99;
  backdrop-filter: blur(4px);
}
.close-dialog {
  position: absolute;
  left: 12px;
  top: 8px;
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
}
dialog img {
  width: 100%;
  max-height: 290px;
  object-fit: cover;
  border-radius: 12px;
}
dialog h2 {
  font-size: 16px;
  margin: 14px 0 4px;
}
dialog p {
  font-size: 12.5px;
  color: #6d7888;
}

/* ───────────── Responsive ───────────── */
@media (max-width: 1180px) {
  .nav-link {
    font-size: 12px;
    gap: 6px;
  }
  .header--right,
  .header--left {
    gap: 16px;
  }
  .estimate-top {
    flex-wrap: wrap;
    padding: 22px 24px;
    gap: 18px;
  }
  .garanty {
    margin: 0;
  }
  .tabs {
    flex-wrap: wrap;
  }
  .tabs button {
    width: auto;
    padding: 0 22px;
  }
  .fields {
    grid-template-columns: repeat(3, 1fr);
  }
  .before-after {
    grid-template-columns: 1fr 420px;
    gap: 50px;
  }
  .team {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .team--imgs {
    transform: scale(0.9);
    transform-origin: top center;
    margin-bottom: -50px;
  }
  .ceo-wrapper {
    gap: 20px;
  }
  .ceo--text {
    width: 560px;
  }
  .ceo__typography {
    width: 560px;
  }
  .footer--details {
    grid-template-columns: 1fr 1fr;
    row-gap: 26px;
  }
  .footer-about {
    grid-column: 1/-1;
  }
  .footer-about--info {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hotline,
  .address {
    text-align: right;
  }
}
@media (max-width: 900px) {
  :root {
    --wide: calc(100% - 28px);
  }
  .header-wrapper {
    height: 72px;
  }
  .header--right,
  .header--left {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 24px;
    transform: translateY(-130%);
    transition: transform 0.55s var(--ease);
    box-shadow: 0 20px 40px #0000001a;
    z-index: 2;
    display: flex;
  }
  .header--left {
    top: calc(72px + 188px);
    box-shadow: none;
    transform: translateY(-300%);
    padding-top: 0;
  }
  #header.open .header--right,
  #header.open .header--left {
    transform: none;
  }
  .nav-link {
    font-size: 14px;
    padding: 10px 0;
    width: 100%;
  }
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 5;
  }
  .header--logo {
    width: 118px;
    top: 8px;
  }
  .header--logo img {
    width: 118px;
  }
  .header-curve {
    width: 240px;
    height: 34px;
    top: calc(100% - 1px);
  }
  .header-top-pill {
    width: 110px;
  }
  .hero-media {
    height: 320px;
    border-radius: 30px;
  }
  .hero-contact {
    flex-direction: column;
    gap: 8px;
    bottom: 16px;
  }
  .help-chip {
    display: none;
  }
  .dock-phone,
  .dock-request {
    height: 34px;
    font-size: 12px;
    padding: 0 12px;
  }
  .estimate {
    border-radius: 22px;
  }
  .estimate-top {
    padding: 18px;
  }
  .estimate h1 {
    font-size: 19px;
  }
  #estimate-form {
    padding: 16px 18px 24px;
  }
  .fields {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-field,
  .mobile-field input,
  .button.big {
    width: 100%;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .patient-card {
    width: 160px;
    height: 184px;
  }
  .ceo {
    padding: 50px 0;
  }
  .ceo-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    gap: 34px;
  }
  .ceo--img {
    margin: 90px 0 0;
    transform: scale(0.88);
    transform-origin: top center;
    margin-bottom: -40px;
  }
  .ceo--text,
  .ceo__typography {
    width: 100%;
  }
  .ceo--titles,
  .ceo__desc {
    width: 100%;
  }
  .ceo--title__en {
    font-size: 22px;
  }
  .prices {
    padding: 60px 0 70px;
  }
  .price-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }
  .before-after {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0;
  }
  .ai-title {
    font-size: 28px;
  }
  .comparison {
    height: auto;
    aspect-ratio: 496/338;
  }
  .before-copy .actions {
    flex-wrap: wrap;
  }
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-cell:nth-child(6n) {
    border-right: 1px solid #d9d9d9;
  }
  .partner-cell:nth-child(3n) {
    border-right: 0;
  }
  .trust {
    height: auto;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .trust-count {
    position: static;
    width: auto;
  }
  .trust-script {
    position: static;
    transform: rotate(-4deg);
    margin-top: 14px;
    font-size: 22px;
  }
  .team--imgs {
    transform: scale(0.55);
    transform-origin: top center;
    height: 330px;
    margin: 0 auto;
  }
  .team--text {
    width: 100%;
  }
  .team-script {
    height: 150px;
  }

  .leap {
    padding: 60px 0 70px;
  }
  .en-title {
    font-size: 19px;
  }
  .leap--categories {
    grid-template-columns: 1fr 1fr;
    gap: 34px 10px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq h2 {
    font-size: 21px;
  }
  .footer--details {
    grid-template-columns: 1fr;
  }
  .copyright {
    flex-direction: column;
    padding: 14px 18px;
    text-align: center;
    border-radius: 24px;
    margin-inline: auto;
  }
  .to-top {
    position: static;
    margin: 8px auto 0;
  }
  #footer-wave {
    height: 18vw;
  }
}
/* With "reduce motion" only the intro is skipped. The content loops (rails, logos, mosaic, videos) keep running,
   otherwise phones with "remove animations" / battery saver would show a static page. */
@media (prefers-reduced-motion: reduce) {
  #preloader {
    display: none;
  }
  html.is-loading {
    overflow: auto;
    animation: none;
  }
  .header-top-pill,
  .header--logo,
  .header-curve,
  .header--right .nav-link,
  .header--left .nav-link,
  .hero-media,
  .hero-contact {
    animation: none !important;
  }
}

#header {
  width: 100%;
  transition: box-shadow 0.4s;
}
#header.scrolled {
  box-shadow: 0 10px 30px #0f203c14;
}

/* ───────── Intro (pure CSS: always completes, never depends on JS) ───────── */
@keyframes preOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes preImg {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }
  45% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 1;
    transform: translateY(-8px);
  }
}
@keyframes introDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes logoIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-40px) scale(0.6);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}
@keyframes curveIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}
@keyframes heroIn {
  from {
    clip-path: inset(0 0 100% 0 round 46px);
  }
  to {
    clip-path: inset(0 0 0 0 round 46px);
  }
}
@keyframes contactIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}
.header-top-pill {
  animation: curveIn 1s var(--ease) 2s both;
}
.header--logo {
  animation: logoIn 1.4s var(--ease) 2.05s both;
}
.header-curve {
  animation: curveIn 1.3s var(--ease) 2.15s both;
}
.header--right .nav-link,
.header--left .nav-link {
  animation: introDown 1s var(--ease) both;
}
.header--right .nav-link:nth-child(1) {
  animation-delay: 2.25s;
}
.header--right .nav-link:nth-child(2) {
  animation-delay: 2.32s;
}
.header--right .nav-link:nth-child(3) {
  animation-delay: 2.39s;
}
.header--right .nav-link:nth-child(4) {
  animation-delay: 2.46s;
}
.header--left .nav-link:nth-child(1) {
  animation-delay: 2.25s;
}
.header--left .nav-link:nth-child(2) {
  animation-delay: 2.32s;
}
.header--left .nav-link:nth-child(3) {
  animation-delay: 2.39s;
}
.header--left .nav-link:nth-child(4) {
  animation-delay: 2.46s;
}
.hero-media {
  animation: heroIn 1.6s var(--ease) 2.3s both;
}
.hero-contact {
  animation: contactIn 1.1s var(--ease) 3s both;
}

/* ───────── Scroll reveal (classes are added by ramyar.js; removed again once finished) ───────── */
.rv {
  opacity: 0;
  translate: var(--rx, 0px) var(--ry, 34px);
  scale: var(--rs, 1);
  filter: blur(var(--rb, 0px));
  transition:
    opacity 1.1s var(--ease),
    translate 1.2s var(--ease),
    scale 1.2s var(--ease),
    filter 1.1s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, translate;
}
.rv.in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    translate: none;
    scale: 1;
    filter: none;
  }
}

/* Grid/flex children must be allowed to shrink, otherwise intrinsic image widths widen the mobile viewport. */
.before-after > *,
.team > *,
.ceo-wrapper > *,
.footer--details > *,
.section-heading > * {
  min-width: 0;
}
.comparison figure {
  min-width: 0;
}
.comparison img {
  min-width: 0;
  max-width: none;
}
#wrapper {
  overflow-x: clip;
}
@media (max-width: 900px) {
  .team--imgs {
    margin-inline: auto;
  }
}

.button {
  overflow: hidden;
  --btc: var(--blue);
  --h-bg: #fff;
  --h-c: var(--blue);
  border: 1px solid var(--btc);
  position: relative;
}
.button.outline {
  --btc: var(--line);
  --h-bg: var(--blue);
  --h-c: #fff;
  color: var(--ink);
  background: #fff;
}
.button:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--h-bg);
  transform: translateY(101%);
  border-radius: 50% 50% 0 0;
  transition:
    transform 0.6s cubic-bezier(0.5, 1, 0.89, 1),
    border-radius 0.6s cubic-bezier(0.5, 1, 0.89, 1);
  z-index: 1;
  pointer-events: none;
}
.button .btn__text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  transition: transform 0.6s cubic-bezier(0.5, 1, 0.89, 1);
  white-space: nowrap;
}
.button .btn__text:before {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--h-c);
  white-space: nowrap;
}
.button svg {
  position: relative;
  z-index: 2;
  transition: color 0.5s cubic-bezier(0.5, 1, 0.89, 1);
}
.button:hover {
  transform: scaleX(1.02);
  transition:
    transform 0.6s cubic-bezier(0.34, 5.56, 0.64, 1),
    box-shadow 0.35s;
  box-shadow: none;
}
.button:hover:after {
  border-radius: 0;
  transform: translateY(0);
  transition-duration: 0.5s, 0.9s;
}
.button:hover .btn__text {
  transform: translateY(-100%);
}
.button:hover svg {
  color: var(--h-c);
}
.button.outline:hover {
  border-color: var(--blue);
}

/* Header links: Websima tints text and icon on hover (header.css .ws-header .menu-item:hover) */
.nav-link {
  transition: color 0.4s cubic-bezier(0.5, 1, 0.89, 1);
}
.nav-link img {
  transition:
    transform 0.5s cubic-bezier(0.62, 0.05, 0.01, 0.99),
    filter 0.4s;
}
.nav-link:hover img {
  filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(3300%) hue-rotate(205deg) brightness(97%);
}

/* ═════════ Round 3 ═════════ */

/* Scroll is locked while the preloader plays (CSS unlock is the failsafe if JS never runs) */
html {
  scrollbar-gutter: stable;
}
html.is-loading {
  overflow: hidden;
  animation: unlockScroll 0.01s linear 3.2s forwards;
}
@keyframes unlockScroll {
  to {
    overflow: visible;
  }
}
html.modal-open,
html.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* Hero video: show the whole frame (16:9, no cropping, no zoom) */
.hero-media {
  height: auto;
  aspect-ratio: 16/9;
  max-height: none;
}
.hero-media video,
.hero-media img {
  object-fit: cover;
  transform: none;
}

/* Help chip: the avatar is a live video preview, like Websima's story launcher */
.help-chip {
  direction: ltr;
  display: flex;
  align-items: center;
  position: relative;
  height: 40px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.help-chip .help-avatar {
  display: block;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #111;
  background: #111;
  margin: -20px -22px -18px 0;
  position: relative;
  z-index: 2;
  flex: none;
}
.help-avatar video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.help-chip:hover .help-avatar video {
  transform: scale(1.12);
}
.help-chip .help-avatar:after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #0a77f5;
  animation: pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}
.help-chip .help-text {
  direction: rtl;
  background: #f3f4f7;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  height: 34px;
  border-radius: 0 20px 20px 0;
  display: inline-flex;
  align-items: center;
  margin-left: -6px;
  padding: 0 14px 0 44px;
  transition:
    background 0.4s,
    color 0.4s;
}
.help-chip:hover .help-text {
  background: var(--blue);
  color: #fff;
}

/* Story viewer (Websima: #ws-storys) */
#ws-storys {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(8, 16, 32, 0.74);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}
#ws-storys.open {
  opacity: 1;
  visibility: visible;
}
.story-container {
  position: relative;
  width: min(960px, 92vw);
  aspect-ratio: 16/9;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.8s var(--ease);
  box-shadow: 0 40px 100px #0009;
}
#ws-storys.open .story-container {
  transform: none;
}
#storyVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}
.story-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 30px;
  background: linear-gradient(#000b, transparent);
  direction: ltr;
}
.story-time {
  color: #fff;
  font:
    600 12px/1 "Segoe UI",
    Arial,
    sans-serif;
  min-width: 34px;
}
.story-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #ffffff42;
  overflow: hidden;
}
.story-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 4px;
}
.story-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #ffffff2b;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.4s var(--ease);
}
.story-close:hover {
  background: var(--blue);
  transform: rotate(90deg);
}
.story-loading {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 2;
  pointer-events: none;
}
.story-loading.on {
  display: grid;
}
.story-loading i {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid #fff;
  opacity: 0;
  animation: ripple 1.4s ease-out infinite;
}
.story-loading i + i {
  animation-delay: 0.6s;
}
@keyframes ripple {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.story-end {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(6, 20, 48, 0.84);
  backdrop-filter: blur(8px);
  color: #fff;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s,
    visibility 0.6s;
}
.story-end.show {
  opacity: 1;
  visibility: visible;
}
.story-end p {
  font-size: 20px;
  font-weight: 700;
}
.story-phone {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.story-replay {
  border: 1px solid #ffffff70;
  background: none;
  color: #fff;
  border-radius: 22px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.3s;
}
.story-replay:hover {
  background: #ffffff1f;
}

/* Logos grid — ported from Websima .customers-logo (6 columns, radial fade, last row on columns 2-5) */
.customers-logo {
  width: min(1312px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  direction: ltr;
  padding: 0 40px;
  opacity: 0.8;
  -webkit-mask-image: radial-gradient(#000, transparent);
  mask-image: radial-gradient(#000, transparent);
}
.logo-item-wrap {
  height: 100%;
  border-bottom: 1px solid #d2d2d2;
  border-right: 1px solid #d2d2d2;
}
.logo-item {
  padding: 22px 40px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.34;
}
.logo-item-wrap:nth-child(6),
.logo-item-wrap:nth-child(12) {
  border-right: 0;
}
.logo-item-wrap:nth-child(16) {
  grid-column: 5;
  border-right: 0;
  border-bottom: 0;
}
.logo-item-wrap:nth-child(15) {
  grid-column: 4;
  border-bottom: 0;
}
.logo-item-wrap:nth-child(14) {
  grid-column: 3;
  border-bottom: 0;
}
.logo-item-wrap:nth-child(13) {
  grid-column: 2;
  border-bottom: 0;
}
.partners {
  padding: 90px 0 62px;
}

/* Samples mosaic — Websima team swiper (creative effect, slide-next in sync every 5s) */
.portrait-slot .swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.portrait-slot .swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}
.portrait-slot .swiper-slide {
  flex: none;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  backface-visibility: hidden;
  transition-property: transform, opacity, height;
  transition-timing-function: cubic-bezier(0.5, 1, 0.89, 1);
}

.portrait-slot .swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}
.portrait-slot img {
  will-change: auto;
}

/* ───────── Mobile menu (dental-themed off-canvas) ───────── */
.mobile-menu {
  display: none;
}
@media (max-width: 900px) {
  .header--right,
  .header--left {
    display: none !important;
  }
  .header-wrapper {
    justify-content: flex-end;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s 0.9s;
  }
  #header.open + .mobile-menu {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .mm-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 55% at 100% 0, #dcecff 0, #f3f8ff 45%, #fff 75%);
    clip-path: circle(0 at 34px 36px);
    transition: clip-path 0.9s var(--ease);
  }
  #header.open + .mobile-menu .mm-bg {
    clip-path: circle(160% at 34px 36px);
  }
  .mm-inner {
    position: relative;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    padding: 84px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .mm-inner::-webkit-scrollbar {
    display: none;
  }
  .mm-inner:after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: 0;
    width: 260px;
    height: 142px;
    background: url("../images/logo.png") center/contain no-repeat;
    opacity: 0.06;
    pointer-events: none;
  }
  .mm-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translateY(-14px);
    transition:
      opacity 0.6s,
      transform 0.7s var(--ease);
    transition-delay: 0.25s;
  }
  .mm-brand img {
    width: 96px;
    height: auto;
  }
  .mm-brand p {
    font-size: 12.5px;
    color: var(--blue);
    font-weight: 700;
    border-right: 2px solid var(--blue);
    padding-right: 12px;
    line-height: 1.8;
  }
  .mm-list,
  .mm-sub ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mm-list > .mm-item {
    border-bottom: 1px solid #dfe8f4;
    opacity: 0;
    transform: translateX(28px);
    transition:
      opacity 0.6s,
      transform 0.7s var(--ease);
    transition-delay: calc(0.3s + var(--i, 0) * 0.06s);
  }
  .mm-list > .mm-item:nth-child(1) {
    --i: 0;
  }
  .mm-list > .mm-item:nth-child(2) {
    --i: 1;
  }
  .mm-list > .mm-item:nth-child(3) {
    --i: 2;
  }
  .mm-list > .mm-item:nth-child(4) {
    --i: 3;
  }
  .mm-list > .mm-item:nth-child(5) {
    --i: 4;
  }
  .mm-list > .mm-item:nth-child(6) {
    --i: 5;
  }
  .mm-list > .mm-item:nth-child(7) {
    --i: 6;
  }
  #header.open + .mobile-menu .mm-list > .mm-item {
    opacity: 1;
    transform: none;
  }
  .mm-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mm-link {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 8px 2px;
    transition: color 0.3s;
  }
  .mm-link > i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #dcebff;
    display: grid;
    place-items: center;
    flex: none;
    transition:
      background 0.3s,
      transform 0.5s var(--ease);
  }
  .mm-link > i img {
    width: 19px;
    height: 19px;
    object-fit: contain;
  }
  .mm-link span {
    display: flex;
    flex-direction: column;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.5;
  }
  .mm-link small {
    font-size: 11px;
    font-weight: 400;
    color: #7a8190;
  }
  .mm-link:active > i {
    background: var(--blue);
    transform: scale(0.94);
  }
  .mm-item:not(.has-sub) > .mm-link:after {
    content: "";
    margin-right: auto;
    margin-left: 6px;
    width: 7px;
    height: 7px;
    border: solid var(--blue);
    border-width: 0 0 2px 2px;
    transform: rotate(45deg);
    flex: none;
  }
  .mm-expand {
    flex: none;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #dcebff;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
  }
  .mm-expand i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border: solid var(--blue-800);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -70%) rotate(45deg);
    transition:
      transform 0.45s var(--ease),
      border-color 0.3s;
  }
  .mm-item.open > .mm-row > .mm-expand {
    background: var(--blue);
  }
  .mm-item.open > .mm-row > .mm-expand i {
    border-color: #fff;
    transform: translate(-50%, -30%) rotate(225deg);
  }
  .mm-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease);
  }
  .mm-sub > ul {
    min-height: 0;
    overflow: hidden;
  }
  .mm-item.open > .mm-sub {
    grid-template-rows: 1fr;
  }
  .mm-sub .mm-item {
    border-top: 1px solid #e8eff8;
  }
  .mm-sub {
    margin-right: 20px;
    border-right: 2px solid #cfe1fb;
  }
  .mm-sub .mm-link {
    padding: 8px 12px;
  }
  .mm-sub .mm-link span {
    font-size: 14px;
    font-weight: 500;
  }
  .mm-sub .mm-sub .mm-link span {
    font-size: 13px;
    font-weight: 400;
    color: #4a5160;
  }
  .mm-sub .mm-expand {
    width: 34px;
    height: 34px;
    margin-left: 4px;
  }
  .mm-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.6s,
      transform 0.8s var(--ease);
    transition-delay: 0.75s;
  }
  .mm-cta .button.big {
    width: 100%;
  }
  .mm-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-800);
  }
  .mm-phone img {
    width: 18px;
    height: 18px;
  }
  #header.open + .mobile-menu .mm-brand,
  #header.open + .mobile-menu .mm-links a,
  #header.open + .mobile-menu .mm-cta {
    opacity: 1;
    transform: none;
  }
  .story-container {
    border-radius: 18px;
  }
  .story-end p {
    font-size: 15px;
  }
}

/* Static panels / header request link */
.field-panels .fields[hidden] {
  display: none;
}
.header-request {
  display: none;
}
@media (max-width: 900px) {
  .header-wrapper {
    justify-content: space-between;
  }
  .header-request {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--blue-800);
    padding: 8px 0;
    white-space: nowrap;
    position: relative;
    z-index: 5;
  }
  .header-request img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }
}

/* Doctor photo sits inside the frame: narrower than the shape so the blue frame shows, bottom corners follow the shape, the head may rise above it */
.ceo-photo {
  width: 296px;
  left: 21px;
  clip-path: inset(-200px 0 0 0 round 0 0 34px 34px);
}

/* Estimate form on phones */
@media (max-width: 900px) {
  .estimate-top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 16px 16px;
  }
  .estimate h1 {
    grid-column: 1;
    margin: 0;
    font-size: 19px;
    white-space: normal;
  }
  .garanty {
    grid-column: 2;
    grid-row: 1;
    width: 60px;
    margin: 0;
  }
  .tabs {
    grid-column: 1/-1;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 2px 2px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tabs button {
    flex: none;
    width: auto;
    height: 40px;
    padding: 0 18px;
    font-size: 13px;
  }
  #estimate-form {
    padding: 16px 16px 22px;
  }
  .fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .mobile-field input,
  .button.big {
    width: 100%;
  }
}

/* Phones: compact hero contact row (phone + video avatar) and a menu that fits without scrolling */
@media (max-width: 900px) {
  .hero-contact {
    width: calc(100% - 20px);
    justify-content: space-between;
    flex-direction: row;
    bottom: 10px;
    gap: 8px;
  }
  .dock-request {
    display: none;
  }
  .call-dock {
    padding: 4px;
    display: none;
  }
  .dock-phone {
    height: 32px;
    font-size: 12px;
    padding: 0 14px;
  }
  .help-chip {
    height: 34px;
  }
  .help-chip .help-avatar {
    width: 52px;
    height: 52px;
    border-width: 2px;
    margin: 0;
  }
  .help-chip .help-text {
    display: none;
  }
  .help-play {
    left: 36px;
    width: 14px;
    height: 14px;
  }
  .mm-inner {
    padding: 108px 20px 18px;
    gap: 10px;
  }
  .mm-brand img {
    width: 84px;
  }
  .mm-link {
    padding: 4px 2px;
  }
  .mm-link > i {
    width: 40px;
    height: 40px;
  }
  .mm-cta {
    margin-top: 2px;
  }
}

/* Explicit close button inside the phone menu */
.mm-close {
  display: none;
}
@media (max-width: 900px) {
  .mm-close {
    display: block;
    flex: none;
    margin-right: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #dcebff;
    position: relative;
    cursor: pointer;
    transition:
      background 0.3s,
      transform 0.5s var(--ease);
  }
  .mm-close i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue-800);
    transition: background 0.3s;
  }
  .mm-close i:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .mm-close i:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .mm-close:hover,
  .mm-close:active {
    background: var(--blue);
    transform: rotate(90deg);
  }
  .mm-close:hover i,
  .mm-close:active i {
    background: #fff;
  }
}

/* Doctor: as in the design he stands BEHIND the blue frame — only his head shows through the notch at the top */
.ceo-photo {
  width: 338px;
  left: 0;
  bottom: 0;
  clip-path: none;
  z-index: 1;
}

.ceo-photo {
  clip-path: inset(-300px 17px 0 0);
}

/* Phones: the help widget floats at the bottom of the screen (as on Websima); it is hidden on larger screens */
.help-float {
  display: none;
}
@media (max-width: 900px) {
  .hero-contact .help-chip {
    display: none;
  }
  .hero-contact {
    width: auto;
    justify-content: center;
    left: 50%;
    bottom: 10px;
  }
  .dock-request {
    display: inline-flex;
  }
  .help-float {
    display: flex;
    width: max-content;
    max-width: calc(100vw - 24px);
    align-items: center;
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 40;
    direction: ltr;
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    filter: drop-shadow(0 8px 18px #0a1a3a40);
    transition:
      opacity 0.4s,
      visibility 0.4s,
      transform 0.6s var(--ease);
  }
  html.menu-open .help-float,
  html.modal-open .help-float,
  html.is-loading .help-float {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
  }
  .help-float .help-avatar {
    display: block;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #111;
    background: #111;
    position: relative;
    z-index: 2;
    flex: none;
    animation: float 4s ease-in-out infinite;
  }
  .help-float .help-avatar video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .help-float .help-avatar:after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #0a77f5;
    animation: pulse 2.4s ease-out infinite;
    pointer-events: none;
  }
  .help-float .help-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
    height: 40px;
    margin-left: -20px;
    padding: 0 16px 0 26px;
    border-radius: 0 24px 24px 0;
    background: #f3f4f7;
    color: #111;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
  }
  .help-float .help-play {
    position: static;
    width: 18px;
    height: 18px;
  }
  /* keep the footer content clear of the floating widget */
  .copyright {
    margin-bottom: 84px;
  }
}
.ceo-photo {
  clip-path: inset(-300px 17px 0 0 round 0 0 36px 36px);
}

/* ───── Round 4: details taken from the design ───── */
/* Samples mosaic frames: flat gray (dark for the large frame) with the blue fade only on the lower third — values sampled from the design.
   The portraits are transparent cut-outs, so the frame colour and the fade come from CSS. */
.portrait-slot {
  box-shadow: none;
  border-radius: 10px;
  background: #898989;
}
.portrait-slot[data-kind="lg"],
.portrait-slot:has(.sw--teams-lg) {
  background: #464646;
}
.portrait-slot:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(2, 108, 229, 0) 64%,
    rgba(2, 108, 229, 0.1) 70%,
    rgba(2, 108, 229, 0.6) 78%,
    rgba(2, 108, 229, 0.81) 85%,
    rgba(2, 108, 229, 0.91) 92%,
    #026ce5 100%
  );
}
/* patient video cards use the same lower-third fade */
.story-button:after {
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 108, 229, 0) 64%,
    rgba(2, 108, 229, 0.1) 70%,
    rgba(2, 108, 229, 0.6) 78%,
    rgba(2, 108, 229, 0.81) 85%,
    rgba(2, 108, 229, 0.91) 92%,
    #026ce5 100%
  );
}
/* arrow image inside buttons turns blue when the white fill rises (like the label) */
.button > img {
  position: relative;
  z-index: 2;
  flex: none;
  transition: filter 0.5s cubic-bezier(0.5, 1, 0.89, 1);
}
.button:not(.outline):hover > img {
  filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(3300%) hue-rotate(205deg) brightness(97%);
}
/* footer: the vector tab with the diamond (user asset) holds the logo, like the header */
.footer-notch {
  display: block;
  position: absolute;
  left: 50%;
  top: -52px;
  transform: translateX(-50%);
  width: 302px;
  height: 65px;
  z-index: 1;
  pointer-events: none;
  background: url("../images/vector-logo-footer.png") center/100% 100% no-repeat;
}
.footer-logo {
  top: -128px;
}
/* hotline: light area code, bold number */
.hotline {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.hotline a {
  display: inline-flex;
  align-items: baseline;
  direction: ltr;
font-family: IRANYekan, Tahoma, Arial, sans-serif;}
.hotline a b {
  font-weight: 700;
  color: #111;
  font-size: 15px;
  letter-spacing: 0.4px;
}
.hl-prefix {
  font-weight: 300;
  color: #666a73;
  font-size: 13px;
}

/* Footer logo tab: hangs from the level edge of the footer and holds the logo, exactly like the header curve holds its logo */
#footer {
  --fw: min(185px, 11vw);
}
#footer-wave {
  height: var(--fw);
}
.footer-notch {
  top: calc(var(--fw) * -0.4);
  width: 302px;
  height: 65px;
}
.footer-logo {
  top: calc(var(--fw) * -0.4 - 74px);
}
@media (max-width: 800px) {
  #footer {
    --fw: 18vw;
  }
  .footer-notch {
    top: calc(var(--fw) * -0.45);
    width: 200px;
    height: 43px;
  }
  .footer-logo {
    width: 118px;
    top: calc(var(--fw) * -0.45 - 48px);
  }
  .footer-logo img {
    width: 118px;
  }
}

/* The Swiper "creative" effect gives slides inline z-index values (up to the slide count); isolate each frame and keep the design's blue fade above all of them */
.portrait-slot {
  isolation: isolate;
}
.portrait-slot:after {
  z-index: 50;
}

/* hotline uses Persian digits and the page font (the Latin fallback font has no Persian digit shapes) */
.hotline a {
  font-family: inherit;
}

/* ───── Samples mosaic geometry (px, relative to #smile-collage) — fixed by the design, never output by the backend ───── */
.portrait-slot.slot-1 {
  left: 269px;
  top: 110px;
  width: 170px;
  height: 245px;
}
.portrait-slot.slot-2 {
  left: 381px;
  top: 0px;
  width: 61px;
  height: 94px;
}
.portrait-slot.slot-3 {
  left: 456px;
  top: 48px;
  width: 97px;
  height: 144px;
}
.portrait-slot.slot-4 {
  left: 569px;
  top: 109px;
  width: 61px;
  height: 89px;
}
.portrait-slot.slot-5 {
  left: 456px;
  top: 207px;
  width: 97px;
  height: 144px;
}
.portrait-slot.slot-6 {
  left: 570px;
  top: 217px;
  width: 61px;
  height: 89px;
}
.portrait-slot.slot-7 {
  left: 190px;
  top: 162px;
  width: 61px;
  height: 90px;
}
.portrait-slot.slot-8 {
  left: 75px;
  top: 265px;
  width: 61px;
  height: 90px;
}
.portrait-slot.slot-9 {
  left: 154px;
  top: 265px;
  width: 97px;
  height: 145px;
}
.portrait-slot.slot-10 {
  left: 0px;
  top: 318px;
  width: 61px;
  height: 90px;
}
.portrait-slot.slot-11 {
  left: 75px;
  top: 373px;
  width: 61px;
  height: 90px;
}
.portrait-slot.slot-12 {
  left: 154px;
  top: 424px;
  width: 97px;
  height: 144px;
}
.portrait-slot.slot-13 {
  left: 269px;
  top: 372px;
  width: 56px;
  height: 86px;
}
.portrait-slot.slot-14 {
  left: 344px;
  top: 372px;
  width: 97px;
  height: 142px;
}
.portrait-slot.slot-15 {
  left: 456px;
  top: 371px;
  width: 61px;
  height: 90px;
}
.portrait-slot.kind-lg {
  background: #464646;
}

/* Logos on phones (Websima: .mobile .customers-logo): 4 columns, small paddings, desktop placements reset */
@media (max-width: 900px) {
  .customers-logo {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
    -webkit-mask-image: radial-gradient(#000 60%, transparent);
    mask-image: radial-gradient(#000 60%, transparent);
  }
  .logo-item {
    padding: 14px 12px;
    height: 74px;
  }
  .logo-item-wrap:nth-child(n) {
    grid-column: auto;
    border-right: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
  }
  .logo-item-wrap:nth-child(4n) {
    border-right: 0;
  }
  .logo-item-wrap:nth-child(n + 13) {
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .help-float .help-pill {
    flex: none;
  }
}

img[src$=".svg"] {
  max-width: 100%;
  height: auto;
}
.socials a img {
  width: 100%;
  height: auto;
  display: block;
}

/* Phones: the help widget overlaps its avatar with a negative margin on the AVATAR (a negative margin on the pill is ignored when the width is computed) */
@media (max-width: 900px) {
  .help-float .help-avatar {
    margin-right: -20px;
  }
  .help-float .help-pill {
    margin-left: 0;
    padding: 0 16px 0 30px;
  }
}

/* Phones: the 630px mosaic is scaled to the screen width and centred with negative side margins
   (flex centring keeps an oversized box at the start edge, so it is centred explicitly) */
@media (max-width: 900px) {
  .team--imgs {
    --s: 0.55;
    --s: tan(atan2(100vw - 40px, 630px));
    width: 630px;
    height: 570px;
    margin-inline: calc((100% - 630px) / 2);
    margin-top: 0;
    margin-bottom: calc(570px * (var(--s) - 1));
    transform: scale(var(--s));
    transform-origin: top center;
  }
}

/* Footer wave on phones: taller canvas so the ribbons are visible; the logo tab hangs from the level edge of the wave */
@media (max-width: 800px) {
  #footer {
    --fw: 28vw;
    margin-top: calc(var(--fw) + 24px);
  }
  .footer-notch {
    top: calc(var(--fw) * -0.4);
    width: 200px;
    height: 43px;
  }
  .footer-logo {
    top: calc(var(--fw) * -0.4 - 40px);
  }
}

/* Phones: the two buttons of the AI section stay on one row */
@media (max-width: 900px) {
  .before-copy .actions {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .before-copy .button {
    padding: 0 12px;
    gap: 6px;
    font-size: 11.5px;
    min-width: 0;
  }
}

/* Phones: the glow image under the estimate card must not pull the next section over the end of the form */
@media (max-width: 900px) {
  .estimate-glow {
    margin: -20px auto 0;
  }
  .estimate {
    margin-bottom: 8px;
  }
}

/* Phones: compact copyright bar, no dead space under the footer; the floating widget hides at the very end of the page instead */
@media (max-width: 900px) {
  .footer-wrapper {
    padding-bottom: 16px;
  }
  .copyright {
    position: relative;
    margin: 24px auto 0;
    min-height: 0;
    padding: 12px 56px;
    gap: 2px;
    border-radius: 18px;
    font-size: 11px;
    line-height: 1.7;
  }
  .copyright .copy-credit {
    font-size: 10.5px;
    opacity: 0.85;
  }
  .copyright .to-top {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 34px;
    height: 34px;
    margin: 0;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.16);
  }
  .copyright .to-top:hover {
    transform: translateY(-50%);
  }
}

/* Phones: the floating help widget stays visible at the end of the page; just enough room under the copyright bar so it never covers it (widget = 66px + 14px offset) */
@media (max-width: 900px) {
  .copyright {
    margin-bottom: 68px;
  }
}

/* patient rails: vertical page scroll stays native, horizontal swipes drag the strip */
.patient-track {
  touch-action: pan-y;
}

/* body must not be an overflow container: with the menu open (html { overflow: hidden }) it would become one and the sticky header would detach.
   Horizontal clipping is done by #wrapper { overflow-x: clip }. */
body {
  overflow: visible;
}

/* the rails can be grabbed with the mouse as well */
.patient-track {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.patient-track:active {
  cursor: grabbing;
}

/* Patient rails are Swiper strips now */
.patient-track.swiper {
  display: block;
  position: relative;
  overflow: hidden;
  direction: ltr;
}
.patient-track .swiper-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  transition-timing-function: linear !important;
}
.patient-track .swiper-slide {
  flex: none;
  width: auto;
  height: auto;
  position: relative;
}

/* Patient rails: the slide width comes from Swiper (whole cards only); the card fills it and keeps the photo ratio so no image is cut */
.patient-track .swiper-slide {
  width: auto;
}
.patient-track .patient-card {
  width: 100%;
  height: auto;
  aspect-ratio: 193 / 220;
}
.patient-track .patient-card img,
.patient-track .story-button {
  width: 100%;
  height: 100%;
}
.patient-track .patient-card img {
  object-fit: cover;
}

/* Header scrolls away with the page. Only while the phone menu is open it stays at the top, so the logo and close button remain visible. */
#header {
  position: relative;
  top: auto;
}
html.menu-open #header {
  position: sticky;
  top: 0;
}
#header.scrolled {
  box-shadow: none;
}

/* Mirror layout like iranimplant.net: top rail right-to-left, bottom rail left-to-right, same order in both */
#patient-photos.swiper {
  direction: rtl;
}
#patient-stories.swiper {
  direction: ltr;
}

/* ───── Compatibility for older Android browsers (before Chrome 87 / 88) ───── */
@supports not (inset: 0) {
  #preloader,
  #preloader__bg,
  .portrait-slot img,
  .portrait-slot .swiper-slide img,
  .leap-cat__icon svg,
  #ws-storys,
  .story-loading,
  .story-end,
  .mobile-menu,
  .mm-bg,
  .portrait-slot:after,
  .story-button:after {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  .help-chip .help-avatar:after,
  .help-float .help-avatar:after {
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
  }
}
/* patient cards keep the photo ratio (193 x 220) even where aspect-ratio is unknown */
@supports not (aspect-ratio: 1) {
  .patient-track .patient-card {
    height: 0;
    padding-top: 114%;
    position: relative;
    overflow: hidden;
  }
  .patient-track .patient-card img,
  .patient-track .story-button {
    position: absolute;
    top: 0;
    left: 0;
  }
  .comparison {
    height: 338px;
  }
  .hero-media {
    height: 56vw;
  }
}
/* the reveal effect uses the individual translate/scale properties; where they are unknown the blocks simply fade (they are never left invisible) */
@supports not (translate: 0 0) {
  .rv {
    transform: translate(var(--rx, 0px), var(--ry, 34px)) scale(var(--rs, 1));
  }
  .rv.in {
    transform: none;
  }
}

/* Patient rails: the card has ONE size on every screen (224 x 256, like iranimplant.net) */
.patient-track .swiper-slide {
  width: 224px;
  flex: none;
}
.patient-track .patient-card {
  width: 197px;
  height: 219px;
  padding-top: 0;
  aspect-ratio: auto;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.patient-track .patient-card img,
.patient-track .story-button {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.patient-track .story-button {
  position: relative;
  display: block;
}
.d-inline-block{
display: inline-block;
}

/* Samples mosaic: no gradient over the photos (the images already carry their own look) */
.portrait-slot:after,
.portrait-slot::after,
.portrait-slot .swiper-slide:after,
.portrait-slot .swiper-slide::after {
  content: none;
  display: none;
  background: none;
}

/* ───────── Estimate fields: custom dropdowns (Canva style: small title row, rounded rows, check on the chosen one) ───────── */
:root {
  --ease-in-out-expo: cubic-bezier(0.8, 0, 0, 0.8);
  --ease-out-expo: cubic-bezier(0, 0, 0.26, 1);
}
.fields {
  position: relative;
}
.mega-field {
  position: relative;
  min-width: 0;
}
.mega-trigger {
  width: 100%;
  height: 55px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid #e1e3ea;
  border-radius: 999px;
  background: #f6f7f9;
  outline: none;
  font-size: 12.5px;
  font-weight: 500;
  text-align: right;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.mega-trigger:hover,
.mega-field.open .mega-trigger {
  border-color: #c6d6f2;
  background: #eef3fc;
}
.mega-trigger:focus,
.mega-trigger:focus-visible {
  outline: none;
  box-shadow: none;
}
.mega-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mega-value {
  display: none;
  flex: none;
  color: var(--blue-800);
  font-weight: 700;
}
.mega-field.filled .mega-value {
  display: inline;
}
.mega-field.filled .mega-label {
  color: #6f7480;
  font-size: 11px;
}
.mega-chev {
  flex: none;
  width: 6px;
  height: 6px;
  border: solid #1f2330;
  border-width: 0 2px 2px 0;
  border-radius: 1px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.55s var(--ease-in-out-expo);
}
.mega-field.open .mega-chev {
  transform: translateY(1px) rotate(225deg);
}
.mega-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 30, 60, 0.14);
  opacity: 0;
  clip-path: inset(0 0 100% 0 round 12px);
  transform: translateY(-8px);
  transition: clip-path 0.55s var(--ease-in-out-expo), opacity 0.2s linear, transform 0.55s var(--ease-in-out-expo);
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
}
.mega-panel::-webkit-scrollbar {
  width: 3px;
}
.mega-panel::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}
.mega-panel[hidden] {
  display: none;
}
.mega-field.open .mega-panel {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 12px);
  transform: none;
}
.mega-head {
  padding: 8px 10px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e6e6e6;
}
.mega-title {
  font-size: 12px;
  font-weight: 700;
  color: #2a2d34;
}
.mega-options {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-options li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
}
.mega-field.open .mega-options li {
  opacity: 1;
  transform: none;
}
.mega-field.open .mega-options li:nth-child(1) { transition-delay: 0.12s; }
.mega-field.open .mega-options li:nth-child(2) { transition-delay: 0.18s; }
.mega-field.open .mega-options li:nth-child(3) { transition-delay: 0.24s; }
.mega-option {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
  cursor: pointer;
  transition: background 0.2s;
}
.mega-option:hover,
.mega-option:focus-visible {
  background: #f6f6f7;
  outline: none;
}
.mega-option.selected {
  background: transparent;
}
.mega-option.selected:hover {
  background: #f6f6f7;
}
.mega-option i {
  flex: none;
  width: 5px;
  height: 10px;
  border: solid var(--ink);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0;
}
.mega-option.selected i {
  opacity: 1;
}
@media (max-width: 900px) {
  .fields {
    position: static;
  }
  .mega-field {
    position: relative;
  }
}

/* ═════════ Client corrections (PDF) ═════════ */

/* Container as on Websima: full-bleed backgrounds, content inside a 172rem (1720px) container with 2rem (20px) side padding */
.container,
.wide {
  width: 100%;
 padding-inline: 2rem;
  margin-inline: auto;
  max-width: 1720px;
}
/* the content width of each block keeps the design: wide blocks 1312px, narrower sections 1015px (plus the 20px container padding on each side) */
.wide {
  max-width: 1352px;
}
.container {
  max-width: 1055px;
}

/* Header menu: smaller type like Websima, equal columns on both sides of the logo, lighter top tab */
.header--right,
.header--left {
  flex: 1 1 0;
  gap: 24px;
}
.nav-link {
  font-size: 12px;
  font-weight: 500;
  gap: 7px;
}
.nav-link img {
  width: 15px;
  height: 15px;
  transition: none;
}
.nav-link:hover img {
  transform: none;
  filter: none;
}


/* Menu icons: grey two-tone masks; on hover only part of the icon lights up in the theme blue. The text never moves. */
.nav-ic {
  position: relative;
  display: inline-block;
  flex: none;
  width: 17px;
  height: 17px;
  background: #8b909b;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
.nav-ic:after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  -webkit-mask: inherit;
  mask: inherit;
  clip-path: var(--lit-off, inset(100% 0 0 0));
  transition: clip-path 0.5s cubic-bezier(0.62, 0.05, 0.01, 0.99);
}
.nav-link:hover .nav-ic:after,
.nav-link:focus-visible .nav-ic:after {
  clip-path: var(--lit);
}
.ic-digital { --lit: inset(28% 2% 28% 58%); --lit-off: inset(28% 2% 28% 100%); }
.ic-camera  { --lit: inset(32% 8% 12% 38%); --lit-off: inset(32% 8% 12% 100%); }
.ic-price   { --lit: inset(14% 48% 58% 16%); --lit-off: inset(14% 100% 58% 16%); }
.ic-after   { --lit: inset(0 0 0 50%); --lit-off: inset(0 0 0 100%); }
.ic-journal { --lit: inset(54% 34% 18% 34%); --lit-off: inset(54% 100% 18% 34%); }

/* Calls to action: pills, white fill rises on hover (Websima button) */
.dock-phone,
.dock-request {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s cubic-bezier(0.5, 1, 0.89, 1);
}
.dock-phone:after,
.dock-request:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border-radius: 50% 50% 0 0;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.5, 1, 0.89, 1), border-radius 0.5s cubic-bezier(0.5, 1, 0.89, 1);
}
.dock-phone:hover,
.dock-request:hover {
  color: var(--blue-600);
  filter: none;
  transform: none;
}
.dock-phone:hover:after,
.dock-request:hover:after {
  transform: translateY(0);
  border-radius: 0;
}
/* the estimate form's phone field and submit button are pills too */
.mobile-field input {
  border-radius: 999px;
  padding: 0 26px;
}
.button.big {
  border-radius: 999px !important;
}

/* Customer videos: lighter play badge */
.play-icon {
  background: rgba(6, 112, 240, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Articles: the English titles are grey */
.leap-cat__entitle {
  color: #7b7f88;
}
.leap-cat__entitle:before {
  color: #4b4f58;
}

/* Partner logos (11 grey logos on white): white is blended into the section colour, darker and fully visible */
.customers-logo {
  opacity: 1;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 62%, rgba(0, 0, 0, 0.35) 100%);
  mask-image: radial-gradient(ellipse at center, #000 62%, rgba(0, 0, 0, 0.35) 100%);
}
.logo-item img {
  filter: contrast(1.25);
  mix-blend-mode: multiply;
  opacity: 0.9;
  object-fit: contain;
}
.logo-item-wrap:nth-child(n) {
  grid-column: auto;
  border-right: 1px solid #d2d2d2;
  border-bottom: 1px solid #d2d2d2;
}
.logo-item-wrap:nth-child(6n),
.logo-item-wrap:nth-child(11) {
  border-right: 0;
}
.logo-item-wrap:nth-child(n + 7) {
  border-bottom: 0;
}
@media (max-width: 900px) {
  .logo-item-wrap:nth-child(n) {
    border-right: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
  }
  .logo-item-wrap:nth-child(4n),
  .logo-item-wrap:nth-child(11) {
    border-right: 0;
  }
  .logo-item-wrap:nth-child(n + 9) {
    border-bottom: 0;
  }
}

/* icon files (paths are relative to this stylesheet) */
.ic-digital { --ic: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj4KPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgo8cmVjdCB4PSIxOCIgeT0iMTgiIHdpZHRoPSIzMTUiIGhlaWdodD0iMjc4IiByeD0iMjciLz4KPHBhdGggZD0iTTUwIDU3SDMwMVYyNjdINTBaIi8+CjxwYXRoIGQ9Ik0xNDUgMjk2QzE0NSAzMjAgMTQzIDMzNyAxMzAgMzUwSDIyMUMyMDkgMzM3IDIwNyAzMjAgMjA3IDI5NiIvPgo8cGF0aCBkPSJNMTE5IDM1MEgyMzhRMjQ2IDM1MCAyNDYgMzU4UTI0NiAzNjYgMjM4IDM2NkgxMTlRMTExIDM2NiAxMTEgMzU4UTExMSAzNTAgMTE5IDM1MFoiLz4KPHJlY3QgeD0iMjM4IiB5PSIxMjciIHdpZHRoPSIxMzIiIGhlaWdodD0iMTMwIiByeD0iMjciLz4KPHBhdGggZD0iTTI2MCAxMTNWMTI3TTI4MiAxMTNWMTI3TTMwNCAxMTNWMTI3TTMyNiAxMTNWMTI3TTM0OCAxMTNWMTI3TTI2MCAyNTdWMjcyTTI4MiAyNTdWMjcyTTMwNCAyNTdWMjcyTTMyNiAyNTdWMjcyTTM0OCAyNTdWMjcyIi8+CjxwYXRoIGQ9Ik0yMjQgMTQ5SDIzOE0yMjQgMTcxSDIzOE0yMjQgMTkzSDIzOE0yMjQgMjE1SDIzOE0yMjQgMjM3SDIzOE0zNzAgMTQ5SDM4NE0zNzAgMTcxSDM4NE0zNzAgMTkzSDM4NE0zNzAgMjE1SDM4NE0zNzAgMjM3SDM4NCIvPgo8L2c+Cjx0ZXh0IHg9IjMwNCIgeT0iMjE2IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LWZhbWlseT0iQXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iNjQiIGZvbnQtd2VpZ2h0PSI3MDAiIGZpbGw9IiMwMDAiPkFJPC90ZXh0Pgo8L3N2Zz4K"); }   /* ic-digital.svg */
.ic-camera { --ic: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSI+CiAgPGcgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICAgIDxwYXRoIGQ9Ik00LjEgMTMuMiBRNC4xIDExLjcgNS43IDExLjcgSDEwLjIgTDEyLjIgOC44IFExMi43IDguMSAxMy43IDguMSBIMjMuOCBRMjQuOCA4LjEgMjUuMyA5IEwyNy4xIDExLjcgSDMxLjkgUTM0IDExLjcgMzQgMTMuOCBWMjkuMSBRMzQgMzEgMzIgMzEgSDYuMSBRNC4xIDMxIDQuMSAyOSBaIi8+CiAgICA8cGF0aCBkPSJNMTUuMiA4LjMgTDE2LjEgNi41IEgyMi40IEwyMy4zIDguMyIvPgogICAgPHBhdGggZD0iTTcuMiAxNC4xIEg5LjEiLz4KICAgIDxjaXJjbGUgY3g9IjIyLjMiIGN5PSIyMC45IiByPSI4LjEiLz4KICAgIDxjaXJjbGUgY3g9IjIyLjMiIGN5PSIyMC45IiByPSI1LjgiLz4KICAgIDxjaXJjbGUgY3g9IjIyLjMiIGN5PSIyMC45IiByPSIzLjciLz4KICAgIDxwYXRoIGQ9Ik0xMS4xIDE1LjEgSDE0LjEgVjE3LjggSDExLjEgWiIvPgogICAgPHBhdGggZD0iTTI4LjkgMTQuOCBIMzAuNyIvPgogICAgPHBhdGggZD0iTTI5LjggMTMuOSBWMTUuNyIvPgogIDwvZz4KPC9zdmc+Cg=="); }   /* ic-camera.svg */
.ic-price { --ic: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cGF0aCBkPSJNNzQgNjZWMjBRNzQgOSA2MyA5SDIzUTEyIDkgMTIgMjBWMTAwUTEyIDExMSAyMyAxMTFINjAiLz4KICA8cmVjdCB4PSIyMyIgeT0iMjAiIHdpZHRoPSI0MCIgaGVpZ2h0PSIyOCIgcng9IjUiLz4KICA8cGF0aCBkPSJNMzUgMjhRMzUgMjUgMzggMjVRNDEgMjUgNDMgMjdRNDUgMjUgNDggMjVRNTEgMjUgNTEgMjhRNTEgMzIgNDkgMzVRNDggNDIgNDYgNDJRNDQgNDIgNDQgMzdRNDMgMzUgNDMgMzVRNDMgMzUgNDIgMzdRNDIgNDIgNDAgNDJRMzggNDIgMzcgMzVRMzUgMzIgMzUgMjhaIiBzdHJva2Utd2lkdGg9IjMuNSIvPgogIDxyZWN0IHg9IjIzIiB5PSI1OCIgd2lkdGg9IjExIiBoZWlnaHQ9IjkiIHJ4PSIyLjUiIHN0cm9rZS13aWR0aD0iNCIvPgogIDxyZWN0IHg9IjM4IiB5PSI1OCIgd2lkdGg9IjExIiBoZWlnaHQ9IjkiIHJ4PSIyLjUiIHN0cm9rZS13aWR0aD0iNCIvPgogIDxyZWN0IHg9IjUzIiB5PSI1OCIgd2lkdGg9IjExIiBoZWlnaHQ9IjkiIHJ4PSIyLjUiIHN0cm9rZS13aWR0aD0iNCIvPgogIDxyZWN0IHg9IjIzIiB5PSI3MyIgd2lkdGg9IjExIiBoZWlnaHQ9IjkiIHJ4PSIyLjUiIHN0cm9rZS13aWR0aD0iNCIvPgogIDxyZWN0IHg9IjM4IiB5PSI3MyIgd2lkdGg9IjExIiBoZWlnaHQ9IjkiIHJ4PSIyLjUiIHN0cm9rZS13aWR0aD0iNCIvPgogIDxyZWN0IHg9IjUzIiB5PSI3MyIgd2lkdGg9IjExIiBoZWlnaHQ9IjkiIHJ4PSIyLjUiIHN0cm9rZS13aWR0aD0iNCIvPgogIDxyZWN0IHg9IjIzIiB5PSI4OCIgd2lkdGg9IjExIiBoZWlnaHQ9IjkiIHJ4PSIyLjUiIHN0cm9rZS13aWR0aD0iNCIvPgogIDxyZWN0IHg9IjM4IiB5PSI4OCIgd2lkdGg9IjExIiBoZWlnaHQ9IjkiIHJ4PSIyLjUiIHN0cm9rZS13aWR0aD0iNCIvPgogIDxyZWN0IHg9IjUzIiB5PSI4OCIgd2lkdGg9IjExIiBoZWlnaHQ9IjkiIHJ4PSIyLjUiIHN0cm9rZS13aWR0aD0iNCIvPgogIDxwYXRoIGQ9Ik03MSA3MVE2OCA2NiA3MiA2M1E3NiA2MCA3OSA2NEw5MCA4NCIvPgogIDxwYXRoIGQ9Ik05MCA4NFE5NiA4MiAxMDAgODRRMTA0IDgwIDEwOCA4MlExMTIgODIgMTE0IDg3TDExNiA5OFExMTYgMTEyIDEwMiAxMTRMODQgMTEzUTcyIDEwOCA3NiAxMDBMODYgMTAyIi8+Cjwvc3ZnPgo="); }   /* ic-price.svg */
.ic-after { --ic: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iNC41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogIDxwYXRoIGQ9Ik01NyAxMkE0OCA0OCAwIDAgMCA1NyAxMDgiLz4KICA8cGF0aCBkPSJNNjUgMTJBNDggNDggMCAwIDEgMTA0IDM4Ii8+CiAgPHBhdGggZD0iTTEwNCA2MkE0OCA0OCAwIDAgMSA2NSAxMDgiLz4KICA8cGF0aCBkPSJNNjAgMThWMTA0IiBzdHJva2Utd2lkdGg9IjQiLz4KICA8cGF0aCBkPSJNNjAgMzFRNTIgMjYgNDQgMjhRMzQgMzAgMzQgNDJRMzQgNTIgMzggNjBRNDAgNzIgNDIgODJRNDQgOTQgNTEgOTRRNTggOTQgNTggODJRNTggNzQgNjAgNzEiIC8+CiAgPHBhdGggZD0iTTYwIDMxUTY4IDI2IDc2IDI4UTg2IDMwIDg2IDQyUTg2IDUyIDgyIDYwUTgwIDcyIDc4IDgyUTc2IDk0IDY5IDk0UTYyIDk0IDYyIDgyUTYyIDc0IDYwIDcxIiAvPgogIDxwYXRoIGQ9Ik00MiA0MEw0OSA0Nkw0NSA1NEw1MiA2ME00OSA0Nkw1NiA0M000NCA2Nkw0OCA3MCIgc3Ryb2tlLXdpZHRoPSIzIi8+CiAgPHBhdGggZD0iTTk4IDE0TDEwMS41IDI0LjVMMTEyIDI4TDEwMS41IDMxLjVMOTggNDJMOTQuNSAzMS41TDg0IDI4TDk0LjUgMjQuNVoiIGZpbGw9IiMwMDAiIHN0cm9rZS13aWR0aD0iMi41Ii8+Cjwvc3ZnPgo="); }   /* ic-after.svg */
.ic-journal { --ic: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iNC41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogIDxwYXRoIGQ9Ik0zNiAxNEg5MlE5OCAxNCA5OCAyMFY5MiIvPgogIDxwYXRoIGQ9Ik04MiAyMkwxMDQgMThRMTA4IDE4IDEwOCAyM1YxMDBRMTA4IDEwNSAxMDQgMTA2TDg0IDEwOSIvPgogIDxyZWN0IHg9IjE0IiB5PSIyMiIgd2lkdGg9IjY4IiBoZWlnaHQ9Ijg4IiByeD0iNSIvPgogIDxwYXRoIGQ9Ik0yNiAzOEg3ME0zMiA0N0g2NCIgc3Ryb2tlLXdpZHRoPSIzLjUiLz4KICA8cGF0aCBkPSJNNDggNjhRNDggNjQgNTIgNjNRNTYgNjIgNTggNjRRNjEgNjIgNjUgNjNRNjkgNjQgNjkgNjhRNjkgNzMgNjcgNzhRNjYgODggNjMgODhRNjAgODggNjAgODJRNTkgNzggNTggNzhRNTcgNzggNTYgODJRNTYgODggNTMgODhRNTAgODggNDkgNzhRNDggNzMgNDggNjhaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNyA0KSBzY2FsZSgxLjA1KSIvPgo8L3N2Zz4K"); }   /* ic-journal.svg */

/* line-art icons need more room than the old solid ones */
.nav-ic {
  width: 24px;
  height: 24px;
  background: #5f6470;
}
.nav-ic:after {
  background: var(--blue);
}

/* Blocks that carry their own design width must not be clamped by the container's max-width */
.section-heading,
.ceo-wrapper,
.team,
#footer .container {
  max-width: none;
  padding-inline: 0;
}
.section-heading {
  width: min(1090px, calc(100% - 40px));
}
.ceo-wrapper {
  width: min(1130px, calc(100% - 40px));
}
.team {
  width: min(1190px, calc(100% - 40px));
}

/* Logos centred like Websima: a 12-column grid, every logo spans 2, so a short last row sits in the middle */
.customers-logo {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.logo-item-wrap:nth-child(n) {
  grid-column: span 2;
}
.logo-item-wrap:nth-child(7) {
  grid-column: 2 / span 2;
}
.logo-item-wrap:nth-child(6n),
.logo-item-wrap:nth-child(11) {
  border-right: 0;
}
.logo-item-wrap:nth-child(7) {
  border-right: 1px solid #d2d2d2;
}
@media (max-width: 900px) {
  .customers-logo {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .logo-item-wrap:nth-child(n) {
    grid-column: span 2;
  }
  .logo-item-wrap:nth-child(7) {
    grid-column: span 2;
    border-right: 1px solid #d2d2d2;
  }
  .logo-item-wrap:nth-child(9) {
    grid-column: 2 / span 2;
  }
  .logo-item-wrap:nth-child(4n),
  .logo-item-wrap:nth-child(11) {
    border-right: 0;
  }
  .logo-item-wrap:nth-child(8) {
    border-right: 0;
  }
}

/* remaining header icons (hand-drawn line icons, same style as the others) */
.ic-home { --ic: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cGF0aCBkPSJNMTIgNThMNjAgMTRMMTA4IDU4Ii8+CiAgPHBhdGggZD0iTTI2IDUwVjEwMFEyNiAxMDggMzQgMTA4SDg2UTk0IDEwOCA5NCAxMDBWNTAiLz4KICA8cGF0aCBkPSJNNDggMTA4VjgwUTQ4IDcyIDU2IDcySDY0UTcyIDcyIDcyIDgwVjEwOCIvPgo8L3N2Zz4K"); --lit: inset(0 0 56% 0); --lit-off: inset(0 0 100% 0); }
.ic-phone { --ic: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cGF0aCBkPSJNMzAgMTZINDZMNTYgNDJMNDQgNTBRNTIgNzAgNzIgODJMODAgNzBMMTA2IDgwVjk2UTEwNiAxMTAgOTIgMTEwUTI4IDEwNCAxMiA0MFExMCAxNiAzMCAxNloiLz4KICA8cGF0aCBkPSJNNzYgMjZROTAgMjggOTIgNDIiLz4KICA8cGF0aCBkPSJNNzYgMTBRMTA0IDEyIDEwOCA0MCIvPgo8L3N2Zz4K"); --lit: inset(0 0 58% 52%); --lit-off: inset(0 0 100% 52%); }
.ic-head { --ic: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIiBmaWxsPSJub25lIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cGF0aCBkPSJNMTggNzRWNjJRMTggMTYgNjAgMTZRMTAyIDE2IDEwMiA2MlY3NCIvPgogIDxyZWN0IHg9IjEwIiB5PSI3MCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjM4IiByeD0iMTEiLz4KICA8cmVjdCB4PSI4NiIgeT0iNzAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIzOCIgcng9IjExIi8+CiAgPHBhdGggZD0iTTk4IDEwOFE5OCAxMTQgODQgMTE0SDY2Ii8+Cjwvc3ZnPgo="); --lit: inset(56% 0 0 0); --lit-off: inset(100% 0 0 0); }
.header-request .nav-ic {
  width: 24px;
  height: 24px;
}
.help-chip:hover .icta-wave-wrapper {
  opacity: 1;
  transform: translate(-50%,-50%);
  transition: var(--t-ease) cubic-bezier(.4,0,1,1);
}
.icta-wave-wrapper {
  position: absolute;
  transform: translate(-50%,-50%) scale(.9) rotate(4deg);
  z-index: -1;
  left: 50%;
  width: 15.5rem;
  height: 15.5rem;
  top: 50%;
  opacity: 0;
  transition: .7s cubic-bezier(.4,0,1,1);
}
/* Help avatar hover: an animated wavy halo appears behind the avatar (as on Websima: bigger than the avatar, fades in from scale .9 / rotate 4deg) */
.help-chip .help-avatar,
.help-float .help-avatar {
  overflow: visible;
}
.help-avatar video {
  border-radius: 50%;
}
.help-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190%;
  height: 190%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9) rotate(4deg);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 1, 1), transform 0.7s cubic-bezier(0.4, 0, 1, 1);
}
.help-chip:hover .help-halo,
.help-float:hover .help-halo,
.help-chip:focus-visible .help-halo,
.help-float:focus-visible .help-halo {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* the wave wrapper (Websima structure) is the positioned halo; its canvas fills it */
.icta-wave-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190%;
  height: 190%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9) rotate(4deg);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 1, 1), transform 0.7s cubic-bezier(0.4, 0, 1, 1);
}
.icta-wave-wrapper canvas {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: none;
}
.help-chip:hover .icta-wave-wrapper,
.help-float:hover .icta-wave-wrapper,
.help-chip:focus-visible .icta-wave-wrapper,
.help-float:focus-visible .icta-wave-wrapper {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* the halo hugs the avatar: only a little larger than it */
.icta-wave-wrapper {
  width: 138%;
  height: 138%;
}

.icta-wave-wrapper {
  width: 165%;
  height: 165%;
}

/* the old pulsing rings around the help avatar are gone; only the wave halo remains */
.help-chip .help-avatar:after,
.help-chip .help-avatar::after,
.help-float .help-avatar:after,
.help-float .help-avatar::after {
  content: none;
  display: none;
  animation: none;
}
