:root {
  --tm-navy-950: #06132f;
  --tm-navy-900: #0a2259;
  --tm-navy-800: #123577;
  --tm-blue-600: #2279ad;
  --tm-cyan-500: #55b9e6;
  --tm-cyan-300: #9ce6ff;
  --tm-ice-100: #eef7fb;
  --tm-paper: #f7fafc;
  --tm-ink: #091b3f;
  --tm-muted: #5f6f85;
  --tm-border: rgba(24, 94, 137, .15);
  --tm-shadow: 0 28px 70px rgba(6, 29, 66, .12);
}

html { scroll-behavior: smooth; }
body { background: var(--tm-paper); }

section[data-tm-home-section="about"] > :not(.tm-refresh-root),
section[data-tm-home-section="activity"] > :not(.tm-refresh-root),
section[data-tm-home-section="service"] > :not(.tm-refresh-root),
section[data-tm-home-section="partner"] > :not(.tm-refresh-root) {
  display: none !important;
}

.tm-refresh-root,
.tm-refresh-root * { box-sizing: border-box; }

.tm-refresh-root {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tm-section-shell {
  position: relative;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  z-index: 2;
}

.tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--tm-blue-600);
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.tm-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

[dir="rtl"] .tm-eyebrow {
  font-family: "Vazirmatn", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.tm-eyebrow-light { color: var(--tm-cyan-300); }

.tm-refresh-root h2,
footer[data-tm-footer] .tm-footer-cta h2 {
  margin: 0;
  color: var(--tm-ink);
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: clamp(2.4rem, 4.15vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.tm-refresh-root[dir="rtl"] h2,
footer[data-tm-footer][dir="rtl"] .tm-footer-cta h2 {
  font-family: "Vazirmatn", sans-serif;
  line-height: 1.35;
  letter-spacing: 0;
}

.tm-lead {
  margin: 26px 0 0;
  color: #223b64;
  font-family: "Open Sans", "Vazirmatn", sans-serif;
  font-size: clamp(1.06rem, 1.45vw, 1.22rem);
  font-weight: 500;
  line-height: 1.8;
}

.tm-body-copy {
  margin: 16px 0 0;
  max-width: 610px;
  color: var(--tm-muted);
  font-family: "Open Sans", "Vazirmatn", sans-serif;
  font-size: 1rem;
  line-height: 1.85;
}

[dir="rtl"] .tm-lead,
[dir="rtl"] .tm-body-copy { font-family: "Vazirmatn", sans-serif; }

.tm-text-link,
.tm-primary-link,
.tm-secondary-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--tm-navy-900);
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform .22s ease, color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

[dir="rtl"] .tm-text-link,
[dir="rtl"] .tm-primary-link,
[dir="rtl"] .tm-secondary-link { font-family: "Vazirmatn", sans-serif; }

.tm-text-link svg,
.tm-primary-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}

[dir="rtl"] .tm-text-link svg,
[dir="rtl"] .tm-primary-link svg { transform: rotate(180deg); }

.tm-text-link:hover,
.tm-primary-link:hover,
.tm-secondary-link:hover { transform: translateY(-2px); }

.tm-text-link:hover svg,
.tm-primary-link:hover svg { transform: translateX(4px); }
[dir="rtl"] .tm-text-link:hover svg,
[dir="rtl"] .tm-primary-link:hover svg { transform: rotate(180deg) translateX(4px); }

.tm-text-link-light { color: #fff; }

.tm-primary-link {
  min-height: 54px;
  padding: 14px 24px;
  color: #fff;
  background: var(--tm-navy-900);
  border: 1px solid var(--tm-navy-900);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(10, 34, 89, .18);
}

.tm-primary-link:hover {
  color: #fff;
  background: var(--tm-blue-600);
  border-color: var(--tm-blue-600);
  box-shadow: 0 16px 32px rgba(34, 121, 173, .24);
}

.tm-primary-link-light {
  color: var(--tm-navy-950);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

.tm-primary-link-light:hover {
  color: var(--tm-navy-950);
  background: var(--tm-cyan-300);
  border-color: var(--tm-cyan-300);
}

.tm-secondary-link {
  min-height: 54px;
  padding: 14px 23px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 9px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tm-secondary-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
}

.tm-refresh-root a:focus-visible,
footer[data-tm-footer] a:focus-visible,
section[data-tm-home-section="contact"] input:focus-visible,
section[data-tm-home-section="contact"] textarea:focus-visible {
  outline: 3px solid var(--tm-cyan-300) !important;
  outline-offset: 3px !important;
}

/* About */
.tm-about-v2 {
  padding: 122px 0;
  background:
    radial-gradient(circle at 8% 86%, rgba(85, 185, 230, .11), transparent 30%),
    linear-gradient(180deg, #f8fbfd 0%, #eef6f9 100%);
}

.tm-about-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 112, 161, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 112, 161, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
}

.tm-about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: center;
}

.tm-about-copy { max-width: 590px; }

.tm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 30px;
}

.tm-stat {
  min-height: 98px;
  padding: 18px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--tm-border);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(6, 31, 66, .05);
}

.tm-stat strong {
  display: block;
  color: var(--tm-navy-900);
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: 1.45rem;
  line-height: 1.2;
}

.tm-stat span {
  display: block;
  margin-top: 7px;
  color: var(--tm-muted);
  font-family: "Open Sans", "Vazirmatn", sans-serif;
  font-size: .76rem;
  line-height: 1.35;
}

.tm-about-media,
.tm-service-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--tm-shadow);
}

.tm-about-media { min-height: 620px; }

.tm-about-media::after,
.tm-service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 19, 49, .82) 100%);
}

.tm-about-media img,
.tm-service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .75, .2, 1);
}

.tm-about-media img { position: absolute; inset: 0; }
.tm-about-media:hover img,
.tm-service-media:hover img { transform: scale(1.035); }

.tm-about-media figcaption,
.tm-service-media figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  padding: 18px 20px;
  color: #fff;
  background: rgba(5, 20, 52, .52);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 15px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tm-about-media figcaption strong,
.tm-service-media figcaption {
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: .9rem;
  font-weight: 650;
}

.tm-about-media figcaption span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .72);
  font-family: "Open Sans", "Vazirmatn", sans-serif;
  font-size: .76rem;
}

.tm-media-index {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: rgba(6, 24, 59, .5);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  font-family: "Poppins", sans-serif;
  font-size: .75rem;
  backdrop-filter: blur(10px);
}

[dir="rtl"] .tm-media-index { right: auto; left: 26px; }

/* Activity bento */
.tm-activity-v2 {
  padding: 118px 0 126px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(73, 166, 218, .22), transparent 31%),
    radial-gradient(circle at 12% 88%, rgba(45, 95, 177, .18), transparent 28%),
    var(--tm-navy-950);
}

.tm-activity-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .17;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(156, 230, 255, .42) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}

.tm-section-header-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .65fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 62px;
}

.tm-activity-v2 h2,
.tm-partner-v2 h2 { max-width: 760px; color: #fff; }

.tm-section-intro p {
  margin: 0 0 22px;
  color: rgba(235, 247, 255, .72);
  font-family: "Open Sans", "Vazirmatn", sans-serif;
  font-size: .98rem;
  line-height: 1.8;
}

[dir="rtl"] .tm-section-intro p { font-family: "Vazirmatn", sans-serif; }

.tm-activity-grid {
  display: grid;
  grid-template-columns: 1.25fr .82fr .82fr .82fr;
  grid-template-rows: 252px 252px;
  gap: 16px;
}

.tm-activity-card {
  position: relative;
  display: flex;
  min-height: 220px;
  overflow: hidden;
  align-items: flex-end;
  padding: 26px;
  color: #fff;
  background: #11336f;
  border: 1px solid rgba(156, 230, 255, .16);
  border-radius: 22px;
  text-decoration: none;
  isolation: isolate;
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.tm-activity-card:hover {
  color: #fff;
  transform: translateY(-6px);
  border-color: rgba(156, 230, 255, .46);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .24);
}

.tm-activity-card > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.05);
  transition: transform .75s cubic-bezier(.2, .75, .2, 1);
}

.tm-activity-card:hover > img { transform: scale(1.055); }

.tm-card-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(3, 15, 42, .04) 10%, rgba(3, 15, 42, .92) 100%);
}

.tm-card-featured { grid-column: 1; grid-row: 1 / span 2; }
.tm-card-diagnosis { grid-column: 2 / span 2; grid-row: 1; }
.tm-card-dental { grid-column: 2; grid-row: 2; color: var(--tm-navy-950); background: linear-gradient(145deg, #eaf8fd, #bfeafb); }
.tm-card-pharma { grid-column: 3; grid-row: 2; background: linear-gradient(145deg, #1a4f89, #0b2a65); }
.tm-card-clinical { grid-column: 4; grid-row: 1 / span 2; }

.tm-card-dental:hover { color: var(--tm-navy-950); }
.tm-card-dental .tm-card-shade { display: none; }

.tm-card-number {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(255, 255, 255, .7);
  font-family: "Poppins", sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
}

[dir="rtl"] .tm-card-number { right: auto; left: 22px; }
.tm-card-dental .tm-card-number { color: rgba(6, 19, 47, .52); }

.tm-card-icon {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--tm-cyan-300);
  background: rgba(5, 21, 55, .36);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 13px;
  backdrop-filter: blur(9px);
}

[dir="rtl"] .tm-card-icon { left: auto; right: 22px; }
.tm-card-dental .tm-card-icon { color: var(--tm-navy-900); background: rgba(255, 255, 255, .55); border-color: rgba(10, 34, 89, .12); }

.tm-card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tm-card-copy { display: block; max-width: 390px; }

.tm-card-copy strong {
  display: block;
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  font-weight: 650;
  line-height: 1.35;
}

.tm-card-copy > span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, .7);
  font-family: "Open Sans", "Vazirmatn", sans-serif;
  font-size: .78rem;
  line-height: 1.55;
}

.tm-card-dental .tm-card-copy > span { color: rgba(6, 19, 47, .66); }

.tm-card-link {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: none;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 600;
}

.tm-card-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Service */
.tm-service-v2 {
  padding: 124px 0;
  background:
    radial-gradient(circle at 92% 15%, rgba(85, 185, 230, .12), transparent 28%),
    #f5f9fb;
}

.tm-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(58px, 7vw, 100px);
  align-items: center;
}

.tm-service-media { min-height: 670px; }
.tm-service-media img { position: absolute; inset: 0; }

.tm-service-copy { max-width: 560px; }
.tm-service-copy .tm-lead { color: var(--tm-muted); }

.tm-service-points {
  margin: 34px 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--tm-border);
}

.tm-service-point {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 19px 0;
  border-bottom: 1px solid var(--tm-border);
}

.tm-service-point > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--tm-blue-600);
  background: #e4f5fc;
  border-radius: 12px;
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: .72rem;
  font-weight: 700;
}

.tm-service-point strong {
  color: var(--tm-ink);
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: .96rem;
  font-weight: 650;
}

.tm-service-point p {
  margin: 5px 0 0;
  color: var(--tm-muted);
  font-family: "Open Sans", "Vazirmatn", sans-serif;
  font-size: .82rem;
  line-height: 1.55;
}

/* Partnership band */
.tm-partner-v2 {
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--tm-navy-950);
}

.tm-partner-background {
  position: absolute;
  inset: 0;
}

.tm-partner-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.74) contrast(1.05);
}

.tm-partner-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 16, 43, .97) 0%, rgba(4, 16, 43, .83) 48%, rgba(4, 16, 43, .38) 100%),
    linear-gradient(0deg, rgba(4, 16, 43, .4), rgba(4, 16, 43, .08));
}

[dir="rtl"] .tm-partner-background::after {
  background:
    linear-gradient(270deg, rgba(4, 16, 43, .97) 0%, rgba(4, 16, 43, .83) 48%, rgba(4, 16, 43, .38) 100%),
    linear-gradient(0deg, rgba(4, 16, 43, .4), rgba(4, 16, 43, .08));
}

.tm-partner-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(260px, .28fr);
  gap: 84px;
  align-items: center;
  padding: 112px 0;
}

.tm-partner-copy { max-width: 760px; }

.tm-partner-copy p {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(235, 247, 255, .76);
  font-family: "Open Sans", "Vazirmatn", sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
}

.tm-partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.tm-partner-mark {
  justify-self: end;
  display: grid;
  width: 210px;
  height: 210px;
  place-items: center;
  color: #fff;
  background: rgba(73, 166, 218, .14);
  border: 1px solid rgba(156, 230, 255, .34);
  border-radius: 50%;
  box-shadow: inset 0 0 0 24px rgba(255, 255, 255, .025), 0 0 80px rgba(73, 166, 218, .18);
  backdrop-filter: blur(10px);
}

.tm-partner-mark span {
  font-family: "Poppins", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -.08em;
}

.tm-partner-mark small {
  position: absolute;
  margin-top: 116px;
  color: var(--tm-cyan-300);
  font-family: "Poppins", sans-serif;
  font-size: .68rem;
  letter-spacing: .16em;
}

/* Contact: preserve the existing form and improve its visual system */
section[data-tm-home-section="contact"] {
  background:
    radial-gradient(circle at 10% 12%, rgba(85, 185, 230, .12), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(10, 34, 89, .07), transparent 30%),
    #eef5f8 !important;
}

section[data-tm-home-section="contact"]::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(34, 121, 173, .22) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 48%);
}

[data-tm-contact-shell] {
  max-width: 1240px !important;
  padding-top: 120px !important;
  padding-bottom: 128px !important;
}

[data-tm-contact-header] {
  align-items: flex-start !important;
  max-width: 760px !important;
  margin-bottom: 54px !important;
  text-align: left !important;
}

html[dir="rtl"] [data-tm-contact-header] { align-items: flex-start !important; text-align: right !important; }

[data-tm-contact-header] > div:first-child span {
  color: var(--tm-blue-600) !important;
  font-family: "Poppins", "Vazirmatn", sans-serif !important;
  font-weight: 700 !important;
}

[data-tm-contact-header] h2 {
  color: var(--tm-ink) !important;
  font-family: "Poppins", "Vazirmatn", sans-serif !important;
  font-size: clamp(2.35rem, 4vw, 3.8rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -.035em !important;
}

html[dir="rtl"] [data-tm-contact-header] h2 { font-family: "Vazirmatn", sans-serif !important; line-height: 1.4 !important; letter-spacing: 0 !important; }

[data-tm-contact-header] > p {
  max-width: 650px !important;
  color: var(--tm-muted) !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
}

[data-tm-contact-layout] {
  grid-template-columns: minmax(290px, .78fr) minmax(0, 1.22fr) !important;
  gap: 28px !important;
}

[data-tm-contact-info] { gap: 14px !important; }

[data-tm-contact-card] {
  position: relative !important;
  overflow: hidden !important;
  padding: 24px !important;
  background: rgba(255, 255, 255, .84) !important;
  border: 1px solid rgba(34, 121, 173, .16) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 32px rgba(8, 39, 78, .06) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease !important;
}

[data-tm-contact-card]::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(var(--tm-cyan-500), var(--tm-blue-600));
}

html[dir="rtl"] [data-tm-contact-card]::after { right: 0; left: auto; }

[data-tm-contact-card]:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(34, 121, 173, .34) !important;
  box-shadow: 0 20px 42px rgba(8, 39, 78, .1) !important;
}

[data-tm-contact-card] h3 { color: var(--tm-ink) !important; font-size: .96rem !important; }
[data-tm-contact-card] p,
[data-tm-contact-card] a { color: var(--tm-muted) !important; font-size: .86rem !important; line-height: 1.65 !important; }

[data-tm-contact-form-panel] {
  padding: 38px !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(34, 121, 173, .16) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 60px rgba(7, 36, 76, .1) !important;
}

[data-tm-contact-form-panel] form { gap: 18px !important; }

[data-tm-contact-form-panel] label {
  color: var(--tm-ink) !important;
  font-size: .84rem !important;
  font-weight: 600 !important;
}

[data-tm-contact-form-panel] input,
[data-tm-contact-form-panel] textarea {
  padding: 13px 14px !important;
  color: var(--tm-ink) !important;
  background: #f8fbfd !important;
  border: 1px solid rgba(34, 121, 173, .2) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

[data-tm-contact-form-panel] input:focus,
[data-tm-contact-form-panel] textarea:focus { background: #fff !important; border-color: var(--tm-cyan-500) !important; }

[data-tm-contact-form-panel] button[type="submit"] {
  min-height: 54px !important;
  color: #fff !important;
  background: var(--tm-navy-900) !important;
  border-radius: 9px !important;
  box-shadow: 0 14px 30px rgba(10, 34, 89, .16) !important;
}

/* Footer */
footer[data-tm-footer] {
  color: #fff !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(57, 151, 204, .22), transparent 29%),
    radial-gradient(circle at 88% 86%, rgba(39, 89, 168, .15), transparent 30%),
    var(--tm-navy-950) !important;
}

footer[data-tm-footer] > div[style*="radial-gradient"] { opacity: .55 !important; }

footer[data-tm-footer] > div.relative.mx-auto {
  padding-top: 0 !important;
  padding-bottom: 30px !important;
}

.tm-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 74px;
  padding: 66px 0 54px;
  border-bottom: 1px solid rgba(156, 230, 255, .15);
}

.tm-footer-cta-copy > span {
  color: var(--tm-cyan-300);
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.tm-footer-cta h2 {
  max-width: 720px;
  margin-top: 14px !important;
  color: #fff !important;
  font-size: clamp(2.05rem, 3.6vw, 3.45rem) !important;
}

.tm-footer-cta p {
  max-width: 620px;
  margin: 18px 0 0 !important;
  color: rgba(235, 247, 255, .68) !important;
  font-size: .95rem !important;
  line-height: 1.7 !important;
}

footer[data-tm-footer] img {
  filter: brightness(0) invert(1) !important;
  opacity: .96 !important;
}

footer[data-tm-footer] h3 { color: #fff !important; }

footer[data-tm-footer] p,
footer[data-tm-footer] li,
footer[data-tm-footer] a,
footer[data-tm-footer] span {
  color: rgba(235, 247, 255, .68) !important;
}

footer[data-tm-footer] a:hover { color: var(--tm-cyan-300) !important; }

footer[data-tm-footer] .tm-footer-cta .tm-primary-link-light {
  color: var(--tm-navy-950) !important;
}

footer[data-tm-footer] .tm-footer-cta .tm-primary-link-light:hover {
  color: var(--tm-navy-950) !important;
}

.tm-footer-social-wrap {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(156, 230, 255, .12);
}

.tm-footer-social-title {
  margin-bottom: 12px;
  color: rgba(235, 247, 255, .68);
  font-family: "Poppins", "Vazirmatn", sans-serif;
  font-size: .76rem;
  font-weight: 600;
}

.tm-footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }

.tm-footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff !important;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(156, 230, 255, .22);
  border-radius: 12px;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.tm-footer-socials a:hover {
  color: var(--tm-navy-950) !important;
  background: var(--tm-cyan-300);
  border-color: var(--tm-cyan-300);
  transform: translateY(-3px);
}

.tm-footer-socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tm-footer-socials a:first-child svg path,
.tm-footer-socials a:last-child svg path { fill: currentColor; stroke: none; }
.tm-social-dot { fill: currentColor; stroke: none; }

/* Motion */
.tm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .58s ease, transform .58s cubic-bezier(.2, .72, .2, 1);
}

.tm-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Tablet */
@media (max-width: 1100px) {
  .tm-section-shell { width: min(100% - 44px, 980px); }
  .tm-about-grid,
  .tm-service-grid { gap: 46px; }
  .tm-about-media { min-height: 540px; }
  .tm-service-media { min-height: 600px; }
  .tm-activity-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 330px 230px 230px;
  }
  .tm-card-featured { grid-column: 1; grid-row: 1 / span 2; }
  .tm-card-diagnosis { grid-column: 2; grid-row: 1; }
  .tm-card-dental { grid-column: 2; grid-row: 2; }
  .tm-card-pharma { grid-column: 1; grid-row: 3; }
  .tm-card-clinical { grid-column: 2; grid-row: 3; }
}

/* Mobile */
@media (max-width: 767px) {
  .tm-section-shell { width: calc(100% - 36px); }
  .tm-refresh-root h2,
  footer[data-tm-footer] .tm-footer-cta h2 { font-size: clamp(2rem, 10vw, 2.65rem); line-height: 1.15; }
  .tm-refresh-root[dir="rtl"] h2 { line-height: 1.42; }
  .tm-eyebrow { margin-bottom: 17px; }
  .tm-about-v2,
  .tm-service-v2 { padding: 84px 0; }
  .tm-about-grid,
  .tm-service-grid { grid-template-columns: 1fr; gap: 42px; }
  .tm-about-copy,
  .tm-service-copy { max-width: none; }
  .tm-about-media { min-height: 470px; grid-row: 1; }
  .tm-service-media { min-height: 470px; }
  .tm-about-media figcaption,
  .tm-service-media figcaption { right: 16px; bottom: 16px; left: 16px; padding: 14px 15px; }
  .tm-stats { gap: 7px; }
  .tm-stat { min-height: 88px; padding: 14px 10px; }
  .tm-stat strong { font-size: 1.22rem; }
  .tm-stat span { font-size: .66rem; }
  .tm-activity-v2 { padding: 84px 0 90px; }
  .tm-section-header-split { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
  .tm-section-intro p { margin-bottom: 18px; }
  .tm-activity-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .tm-activity-card,
  .tm-card-featured,
  .tm-card-diagnosis,
  .tm-card-dental,
  .tm-card-pharma,
  .tm-card-clinical { grid-column: auto; grid-row: auto; min-height: 250px; }
  .tm-card-featured { min-height: 360px; }
  .tm-card-diagnosis { min-height: 290px; }
  .tm-card-copy > span { max-width: 90%; }
  .tm-service-point { grid-template-columns: 46px 1fr; }
  .tm-partner-v2 { min-height: 650px; }
  .tm-partner-layout { grid-template-columns: 1fr; gap: 46px; padding: 88px 0; }
  .tm-partner-mark { justify-self: start; width: 138px; height: 138px; }
  .tm-partner-mark span { font-size: 2.2rem; }
  .tm-partner-mark small { margin-top: 82px; }
  .tm-partner-actions { flex-direction: column; align-items: stretch; }
  .tm-partner-actions a { width: 100%; }
  [data-tm-contact-shell] { padding-top: 84px !important; padding-bottom: 90px !important; }
  [data-tm-contact-header] { margin-bottom: 38px !important; }
  [data-tm-contact-layout] { grid-template-columns: 1fr !important; gap: 20px !important; }
  [data-tm-contact-form-panel] { padding: 22px !important; }
  .tm-footer-cta { grid-template-columns: 1fr; gap: 26px; margin-bottom: 54px; padding: 52px 0 42px; }
  .tm-footer-cta .tm-primary-link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tm-reveal { opacity: 1; transform: none; transition: none; }
  .tm-about-media img,
  .tm-service-media img,
  .tm-activity-card > img,
  .tm-activity-card,
  .tm-text-link,
  .tm-primary-link,
  .tm-secondary-link { transition: none !important; }
}
