:root {
  --ink: #071b38;
  --muted: #617082;
  --line: #dbe8e8;
  --paper: #f7fbfb;
  --white: #ffffff;
  --green: #00a7a5;
  --teal: #00d1c7;
  --gold: #f47b20;
  --coral: #ff00c8;
  --magenta: #ff00c8;
  --violet: #7b2cff;
  --shadow: 0 18px 55px rgba(7, 27, 56, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(0, 167, 165, 0.08), transparent 30%, rgba(255, 0, 200, 0.06) 70%, transparent),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

main {
  overflow-x: clip;
}

body[dir="rtl"] {
  font-family: Tahoma, "Noto Kufi Arabic", "Noto Sans Arabic", Arial, sans-serif;
}

body[data-route="home"] .about-deep {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(247, 251, 251, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(7, 27, 56, 0.06);
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(calc(-100% - 2px));
  box-shadow: none;
}

.site-header:hover,
.site-header:focus-within {
  transform: translateY(0);
}

.brand,
.header-actions,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  width: clamp(120px, 14vw, 165px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav a,
.nav-parent {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  white-space: nowrap;
}

.nav-item.has-children > .nav-parent::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-inline-start: 8px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.58;
}

.nav-submenu {
  position: absolute;
  inset-block-start: calc(100% + 14px);
  inset-inline-start: 50%;
  z-index: 40;
  display: grid;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(0, 167, 165, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 209, 199, 0.12), rgba(255, 0, 200, 0.08)),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(7, 27, 56, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

body[dir="rtl"] .nav-submenu {
  transform: translate(50%, 8px);
}

.nav-submenu::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: -16px;
  height: 16px;
}

.nav-submenu a {
  min-height: 42px;
  padding: 8px 10px;
  padding-inline-start: calc(10px + (var(--nav-depth, 0) * 16px));
  border-radius: 7px;
  color: var(--ink);
  font-weight: 750;
  white-space: normal;
}

.nav-submenu a[style*="--nav-depth:1"],
.nav-submenu a[style*="--nav-depth:2"],
.nav-submenu a[style*="--nav-depth:3"] {
  position: relative;
  color: color-mix(in srgb, var(--ink), var(--green) 18%);
}

.nav-submenu a:hover,
.nav-submenu a.active {
  color: var(--green);
  background: rgba(0, 167, 165, 0.08);
}

.nav-item.has-children:hover > .nav-submenu,
.nav-item.has-children:focus-within > .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

body[dir="rtl"] .nav-item.has-children:hover > .nav-submenu,
body[dir="rtl"] .nav-item.has-children:focus-within > .nav-submenu {
  transform: translate(50%, 0);
}

.nav-submenu .nav-item {
  display: block;
}

.nav-submenu .nav-parent {
  width: 100%;
  justify-content: space-between;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--ink);
  font-weight: 750;
}

.nav-submenu .nav-submenu {
  inset-block-start: 0;
  inset-inline-start: calc(100% + 10px);
  transform: translate(8px, 0);
}

body[dir="rtl"] .nav-submenu .nav-submenu {
  inset-inline-start: auto;
  inset-inline-end: calc(100% + 10px);
  transform: translate(-8px, 0);
}

.nav-submenu .nav-item.has-children:hover > .nav-submenu,
.nav-submenu .nav-item.has-children:focus-within > .nav-submenu {
  transform: translate(0, 0);
}

body[dir="rtl"] .nav-submenu .nav-item.has-children:hover > .nav-submenu,
body[dir="rtl"] .nav-submenu .nav-item.has-children:focus-within > .nav-submenu {
  transform: translate(0, 0);
}

.nav a:hover {
  color: var(--green);
}

.nav a.active,
.nav-item.active > .nav-parent {
  color: var(--ink);
  font-weight: 800;
}

.header-actions {
  gap: 8px;
  min-width: 0;
  justify-content: end;
}

.site-search {
  position: relative;
  width: min(230px, 18vw);
}

.site-search input {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(0, 167, 165, 0.18);
  border-radius: 999px;
  padding: 0 44px 0 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

body[dir="rtl"] .site-search input {
  padding: 0 14px 0 44px;
}

.speech-button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: rgba(0, 167, 165, 0.1);
  color: var(--green);
  cursor: pointer;
}

.speech-button svg,
.assistant-voice svg,
.assistant-file-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.voice-state {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-search-voice {
  position: absolute;
  inset-block: 4px;
  inset-inline-end: 5px;
  width: 30px;
  border-radius: 999px;
}

.site-search-voice.listening,
.assistant-voice.listening {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--coral));
  box-shadow: 0 0 0 4px rgba(0, 167, 165, 0.12);
}

.site-search-voice.finished,
.assistant-voice.finished {
  color: var(--white);
  background: linear-gradient(135deg, #17b978, var(--green));
  box-shadow: 0 0 0 4px rgba(23, 185, 120, 0.14);
}

.site-search-voice.voice-error,
.assistant-voice.voice-error {
  color: var(--white);
  background: linear-gradient(135deg, #b42318, var(--gold));
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.site-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  width: min(360px, 86vw);
  padding: 10px;
  border: 1px solid rgba(0, 167, 165, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(7, 27, 56, 0.16);
}

.site-search-results[hidden] {
  display: none;
}

.site-search-results a {
  display: grid;
  gap: 3px;
  padding: 10px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.site-search-results a:hover {
  background: rgba(0, 167, 165, 0.08);
}

.site-search-results span {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  min-width: 42px;
  height: 38px;
  cursor: pointer;
}

.language-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.language-picker select {
  width: auto;
  min-width: 136px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 10px;
}

.nav-toggle {
  display: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px clamp(18px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb[hidden] {
  display: none;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 800;
}

.breadcrumb span {
  color: var(--ink);
}

.breadcrumb b {
  color: var(--gold);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 76px);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  contain: paint;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.88), rgba(7, 27, 56, 0.55) 46%, rgba(0, 167, 165, 0.26)),
    var(--section-image, url("/logo.svg"));
  background-size: cover;
  background-position: center;
}

.hero.hero-media-images::before,
.hero.hero-media-youtube::before,
.hero.hero-media-video::before {
  background:
    linear-gradient(90deg, rgba(7, 27, 56, 0.9), rgba(7, 27, 56, 0.54) 46%, rgba(0, 167, 165, 0.24));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 0 30%, rgba(0, 209, 199, 0.24) 31% 34%, transparent 35%),
    linear-gradient(295deg, transparent 0 46%, rgba(244, 123, 32, 0.2) 47% 50%, transparent 51%),
    radial-gradient(circle at 76% 26%, rgba(255, 0, 200, 0.2), transparent 24%);
  transform: scale(1.12);
  transition: opacity 320ms ease;
  animation: hero-motion 14s ease-in-out infinite alternate;
}

.hero.hero-video-fallback::after {
  opacity: 1;
}

@keyframes hero-motion {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1.12);
  }

  to {
    transform: translate3d(2%, 1%, 0) scale(1.2);
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-youtube {
  position: absolute;
  inset: -30% -18%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--section-image) center / cover no-repeat;
}

.hero-youtube iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(168vw, 298.67vh);
  height: max(94.5vw, 168vh);
  transform: translate(-50%, -50%) scale(1.18);
  border: 0;
  pointer-events: none;
}

.hero-youtube-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 167, 165, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(7, 27, 56, 0.96), rgba(0, 167, 165, 0.72));
  transition: opacity 600ms ease;
}

.hero-youtube-warming .hero-youtube-mask {
  opacity: 1;
}

.hero-image-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  contain: paint;
}

.hero-slide {
  position: absolute;
  inset: 0;
  max-width: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 900ms ease, transform 5200ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slider-controls {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(18px, 4vw, 46px);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-slider-controls[hidden],
.hero-slider-controls button[hidden] {
  display: none;
}

.hero-slider-controls button {
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-slider-controls [data-hero-slide-pause] {
  width: 42px;
}

.hero-slider-controls [data-hero-slide-pause]::before {
  content: "";
  display: block;
  width: 12px;
  height: 14px;
  margin: auto;
  background: linear-gradient(to right, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}

.hero-slider-controls [data-hero-slide-pause][data-paused="true"]::before {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
  background: none;
  transform: translateX(1px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  padding-block: clamp(80px, 10vw, 150px);
}

.hero h1 {
  margin: 10px 0 18px;
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
}

.hero-subtitle {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-color: var(--green);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.section {
  padding: clamp(52px, 6.5vw, 88px) clamp(18px, 5vw, 76px);
}

body[data-route="home"] main > .section {
  padding-top: clamp(46px, 5.8vw, 78px);
  padding-bottom: clamp(46px, 5.8vw, 78px);
}

body[data-route="home"] main > .section + .section {
  border-top: 1px solid rgba(0, 167, 165, 0.06);
}

section[hidden] {
  display: none !important;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.page-intro {
  display: block;
  margin-bottom: 40px;
}

.page-intro .section-heading {
  margin-bottom: 0;
  max-width: 900px;
}

.section-photo {
  position: relative;
  margin: 0;
  min-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 27, 56, 0.2), transparent),
    linear-gradient(0deg, rgba(0, 167, 165, 0.18), transparent);
  pointer-events: none;
}

.section-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.inline-photo {
  min-height: 230px;
  margin-top: 28px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.about-grid,
.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.core-form-embed {
  grid-column: 1 / -1;
  width: min(100%, 960px);
  margin: clamp(20px, 3vw, 38px) auto 0;
}

.hero .core-form-embed {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(100%, 720px);
  margin-inline: 0 auto;
}

.about-grid {
  grid-template-columns: 1fr;
}

.about-intro {
  max-width: 980px;
}

.rich-copy p,
.section-heading p,
.contact-copy p,
.resource-card p,
.service-card p,
.blog-card p,
.faq-answer {
  color: var(--muted);
}

.approach-panel,
.resource-card,
.contact-form,
.newsletter,
.blog-card,
.service-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.approach-panel {
  position: relative;
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: min(100%, 1320px);
  margin-inline: auto;
  padding: clamp(22px, 4vw, 46px) 0;
  box-shadow: none;
  border: 0;
  background:
    linear-gradient(90deg, transparent, rgba(0, 167, 165, 0.08) 18%, rgba(255, 255, 255, 0.46) 50%, rgba(255, 0, 200, 0.045) 82%, transparent),
    linear-gradient(180deg, transparent, rgba(237, 250, 250, 0.5), transparent);
  overflow: hidden;
  color: var(--ink);
  isolation: isolate;
  contain: paint;
  min-width: 0;
}

.approach-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 167, 165, 0.06), transparent);
  border-radius: 8px;
  pointer-events: none;
  z-index: -1;
}

.approach-panel::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -35%;
  width: 58%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 167, 165, 0.12), transparent 62%);
  border: 0;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.approach-panel h3,
.resource-card h3 {
  margin-top: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.approach-panel h3 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.approach-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.approach-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding-inline: clamp(18px, 4vw, 50px);
}

.approach-controls {
  display: flex;
  gap: 10px;
}

.approach-controls button {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(7, 27, 56, 0.08);
  backdrop-filter: blur(14px);
}

.approach-controls button:hover {
  background: var(--green);
  color: var(--white);
}

.approach-progress {
  margin-inline: clamp(18px, 4vw, 50px);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 167, 165, 0.16);
}

.approach-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--coral), var(--teal));
  transition: width 420ms ease;
}

.approach-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 46%);
  gap: 18px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: clip;
  padding: 12px clamp(18px, 4vw, 50px) 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  perspective: 1200px;
}

.approach-item {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 34px;
  min-height: 390px;
  padding: clamp(22px, 3vw, 36px);
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-align: start;
  scroll-snap-align: center;
  box-shadow: 0 14px 34px rgba(7, 27, 56, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  transform: scale(0.9) rotateY(-7deg);
  opacity: 0.62;
  transition: transform 360ms ease, box-shadow 360ms ease, background 360ms ease, opacity 360ms ease;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
}

.approach-item::before {
  content: counter(approach-card, decimal-leading-zero);
  counter-increment: approach-card;
  position: absolute;
  right: 18px;
  bottom: -34px;
  color: rgba(0, 167, 165, 0.08);
  font-size: clamp(8rem, 16vw, 15rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.approach-list {
  counter-reset: approach-card;
}

.approach-item:hover,
.approach-item.active {
  transform: scale(1) rotateY(0deg) translateY(-6px);
  opacity: 1;
  box-shadow: 0 26px 72px rgba(7, 27, 56, 0.15), inset 0 0 0 1px rgba(0, 167, 165, 0.22);
}

.approach-item.active {
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.18), rgba(255, 255, 255, 0.98) 44%, rgba(255, 0, 200, 0.07) 72%, rgba(244, 123, 32, 0.14)),
    var(--white);
}

.approach-item.next {
  transform: scale(0.94) rotateY(5deg);
  opacity: 0.8;
}

.approach-item.previous {
  transform: scale(0.94) rotateY(-5deg);
  opacity: 0.8;
}

.approach-item span,
.about-story > span {
  color: var(--gold);
  font-weight: 900;
}

.approach-card-top {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.approach-item strong {
  display: block;
  max-width: min(100%, 520px);
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  font-size: clamp(1.25rem, 2.15vw, 2.25rem);
  line-height: 1.08;
}

.approach-item p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.approach-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-inline: clamp(18px, 4vw, 50px);
}

.approach-dots button {
  width: 12px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 167, 165, 0.22);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.approach-dots button.active {
  width: 42px;
  background: var(--gold);
}

.about-deep {
  display: grid;
  gap: 18px;
  margin-top: clamp(32px, 5vw, 54px);
}

.about-story {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.about-story h3 {
  margin: 6px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.band {
  background: #edfafa;
}

#services {
  padding-bottom: clamp(44px, 5vw, 74px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  color: inherit;
  min-height: 228px;
  padding: 22px;
  border-top: 4px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.client-logo:hover,
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 167, 165, 0.36);
}

.service-card:nth-child(3n + 1) {
  border-top-color: var(--green);
}

.service-card:nth-child(3n + 2) {
  border-top-color: var(--gold);
}

.service-card:nth-child(3n) {
  border-top-color: var(--coral);
}

.service-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e8fbfb;
  color: var(--green);
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.service-card strong {
  display: inline-flex;
  align-items: center;
  align-self: end;
  margin-top: 8px;
  color: var(--green);
  font-size: 0.9rem;
}

.service-detail {
  display: grid;
  gap: 24px;
}

.service-detail[hidden] {
  display: none;
}

.service-detail-page {
  background: #edfafa;
}

.service-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.8fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  min-height: 410px;
  padding: clamp(24px, 5vw, 58px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.13), rgba(255, 255, 255, 0.86) 42%, rgba(244, 123, 32, 0.1)),
    var(--white);
  box-shadow: 0 20px 70px rgba(7, 27, 56, 0.09);
  overflow: hidden;
}

.service-detail-hero h3 {
  max-width: 780px;
  margin: 10px 0 18px;
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  line-height: 0.94;
}

.service-detail-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-detail-hero img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(7, 27, 56, 0.16);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 22px;
}

.service-detail-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.service-detail-grid .rich-copy,
.service-feature-panel {
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.08);
}

.service-feature-panel {
  align-content: start;
  display: grid;
  gap: 12px;
}

.service-feature-panel span {
  padding: 12px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 167, 165, 0.12), rgba(255, 255, 255, 0.9));
  color: var(--ink);
  font-weight: 800;
}

.client-logos,
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.client-logos.client-slider {
  position: relative;
  display: block;
  overflow: hidden;
  margin-inline: calc(clamp(18px, 5vw, 76px) * -1);
  padding-block: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.client-marquee {
  overflow: hidden;
  contain: paint;
  direction: ltr;
}

.client-track {
  display: flex;
  width: max-content;
  gap: 14px;
  direction: ltr;
  animation: clients-marquee 48s linear infinite;
  will-change: transform;
}

html[dir="rtl"] .client-track {
  animation-name: clients-marquee-rtl;
}

html[dir="rtl"] .client-logo {
  direction: rtl;
}

.client-slider:hover .client-track {
  animation-play-state: paused;
}

@keyframes clients-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes clients-marquee-rtl {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.client-logo {
  display: grid;
  place-items: center;
  gap: 14px;
  width: 230px;
  min-height: 178px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(237, 250, 250, 0.76)),
    var(--white);
  color: var(--muted);
  text-align: center;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(7, 27, 56, 0.07), inset 0 0 0 1px rgba(0, 167, 165, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.client-logo a {
  display: grid;
  place-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
}

.client-logo img {
  width: min(190px, 100%);
  max-height: 86px;
  object-fit: contain;
}

.client-logo strong {
  color: var(--ink);
}

.client-logos.client-listing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.client-listing .client-logo {
  position: relative;
  width: auto;
  min-height: 230px;
  justify-items: center;
  place-items: center;
  padding: 22px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 250, 250, 0.72)),
    linear-gradient(135deg, rgba(0, 167, 165, 0.12), rgba(255, 0, 200, 0.06));
}

.client-listing .client-logo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--coral));
  opacity: 0.82;
}

.client-listing .client-logo a {
  justify-items: center;
  place-items: center;
}

.client-listing .client-logo img {
  width: min(220px, 78%);
  max-height: 110px;
}

.client-listing .client-logo strong {
  max-width: 82%;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.stats {
  position: relative;
  margin-top: 36px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(255, 0, 200, 0.055), transparent 34%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 55px rgba(7, 27, 56, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.stats::before {
  content: "";
  position: absolute;
  inset: auto 22px 18px 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--coral));
}

.stats::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 320px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 209, 199, 0.18), transparent 62%);
  z-index: -1;
}

.team-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.09), transparent 34%),
    linear-gradient(315deg, rgba(255, 0, 200, 0.055), transparent 36%),
    var(--paper);
  overflow: hidden;
}

.team-grid {
  display: block;
}

.team-showcase {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.team-card {
  position: relative;
  display: grid;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 18px 48px rgba(7, 27, 56, 0.1);
  isolation: isolate;
}

.team-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 520ms ease;
}

.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(7, 27, 56, 0.9));
  z-index: 1;
}

.team-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  gap: 5px;
  padding: 22px;
  color: var(--white);
}

.team-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.65rem);
  line-height: 1.1;
}

.team-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.team-card:hover img {
  transform: scale(1.06);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sitemap-card,
.template-section,
.custom-page-hero {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 42px rgba(7, 27, 56, 0.07), inset 0 0 0 1px rgba(0, 167, 165, 0.09);
}

.custom-page-hero.policy,
.custom-page-hero.faq,
.custom-page-hero.downloadables,
.custom-page-hero.listing {
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.12), rgba(255, 255, 255, 0.96) 48%, rgba(244, 123, 32, 0.1)),
    var(--white);
}

.template-section-head {
  max-width: 860px;
}

.section-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 167, 165, 0.08), rgba(255, 255, 255, 0.76));
}

.section-tools input,
.section-tools select {
  min-height: 42px;
  border: 1px solid rgba(0, 167, 165, 0.18);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.section-tools input {
  flex: 1 1 260px;
}

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

.template-item-card {
  display: grid;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.1), 0 12px 30px rgba(7, 27, 56, 0.06);
}

.template-item-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.template-item-card > div {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.template-item-card h4,
.template-item-card p {
  margin: 0;
}

.template-item-card p {
  color: var(--muted);
}

.template-item-meta {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.template-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.template-item-actions a,
.related-links-template a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.custom-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.custom-field-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.08), rgba(255, 255, 255, 0.84)),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.1), 0 10px 24px rgba(7, 27, 56, 0.055);
}

.custom-field-card strong {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.custom-field-card div,
.custom-field-card span,
.custom-field-card p,
.custom-field-card a {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.custom-field-card img,
.custom-field-card video {
  width: 100%;
  max-height: 190px;
  border-radius: 8px;
  object-fit: cover;
}

.custom-field-swatch {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(7, 27, 56, 0.12);
  vertical-align: middle;
}

.stats-template > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stats-template article {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 167, 165, 0.12), rgba(255, 255, 255, 0.86));
}

.stats-template strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 3rem);
}

.accordion-template details {
  padding: 16px;
  border-radius: 8px;
  background: rgba(237, 250, 250, 0.7);
}

.accordion-template summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.gallery-template > div,
.related-links-template > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-template figure,
.related-links-template a {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.gallery-template img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.cta-template {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  background: linear-gradient(135deg, rgba(0, 167, 165, 0.14), rgba(255, 255, 255, 0.92), rgba(213, 46, 181, 0.08));
}

.choice-group {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group legend,
.form-heading {
  color: var(--ink);
  font-weight: 900;
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.statement-template {
  grid-template-columns: minmax(180px, 0.3fr) 1fr;
  align-items: start;
}

.statement-template span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.steps-template > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.steps-template article {
  padding: 16px;
  border-radius: 8px;
  background: rgba(237, 250, 250, 0.75);
}

.steps-template strong {
  color: var(--green);
}

.quote-template blockquote {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.quote-template cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.sitemap-card h3,
.template-section h3,
.custom-page-hero h2 {
  margin: 0;
}

.sitemap-card a {
  color: var(--green);
  font-weight: 800;
}

.careers-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 209, 199, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(237, 250, 250, 0.92));
}

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.52fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
}

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

.career-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 250, 250, 0.74)),
    var(--white);
  box-shadow: 0 16px 42px rgba(7, 27, 56, 0.08), inset 0 0 0 1px rgba(0, 167, 165, 0.1);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.career-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--coral));
  opacity: 0;
  transition: opacity 180ms ease;
}

.career-card:hover,
.career-card.active {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(7, 27, 56, 0.13), inset 0 0 0 1px rgba(0, 167, 165, 0.2);
}

.career-card.active::before {
  opacity: 1;
}

.career-card span,
.career-card small {
  color: var(--green);
  font-weight: 900;
}

.career-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2.3rem);
  line-height: 1.05;
}

.career-card p {
  margin: 0;
  color: var(--muted);
}

.career-card-link {
  align-self: end;
  width: max-content;
  color: var(--green);
  font-weight: 900;
}

.career-detail-page {
  display: grid;
  gap: 24px;
}

.career-detail-hero {
  padding: clamp(26px, 5vw, 62px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 27, 56, 0.96), rgba(0, 167, 165, 0.72)),
    var(--ink);
  box-shadow: 0 24px 70px rgba(7, 27, 56, 0.16);
}

.career-detail-hero h3 {
  margin: 10px 0 16px;
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  line-height: 0.94;
}

.career-detail-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.career-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 18px;
}

.career-detail-copy,
.career-requirements {
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.09);
}

.career-detail-copy h4,
.career-requirements h4 {
  margin: 0 0 14px;
}

.career-requirements {
  display: grid;
  align-content: start;
  gap: 10px;
}

.career-requirements span {
  padding: 11px 13px;
  border-radius: 8px;
  background: rgba(0, 167, 165, 0.09);
  color: var(--ink);
  font-weight: 800;
}

.career-detail-form {
  position: static;
}

.career-form {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(7, 27, 56, 0.96), rgba(7, 27, 56, 0.86)),
    var(--ink);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(7, 27, 56, 0.18);
}

.career-form h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  line-height: 1.06;
}

.career-form label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.career-form input,
.career-form textarea,
.career-form select {
  color: var(--ink);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-line {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox-line input {
  width: auto;
  margin-top: 5px;
}

.is-hidden {
  display: none !important;
}

.custom-page-section article {
  display: grid;
  gap: 20px;
}

.custom-page-hero {
  overflow: hidden;
}

.custom-page-hero img,
.media-template img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.media-template {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
}

.stat {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 190px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.58));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.1);
  overflow: hidden;
  isolation: isolate;
}

.stat::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(0, 167, 165, 0.09);
  z-index: -1;
}

.stat::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
}

.stat:nth-child(2)::before {
  background: var(--gold);
}

.stat:nth-child(3)::before {
  background: var(--coral);
}

.stat:nth-child(2)::after {
  background: rgba(244, 123, 32, 0.1);
}

.stat:nth-child(3)::after {
  background: rgba(255, 0, 200, 0.07);
}

.stat strong {
  display: block;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.86;
  letter-spacing: 0;
  width: max-content;
  background: linear-gradient(135deg, var(--ink), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat:nth-child(2) strong {
  background-image: linear-gradient(135deg, var(--ink), var(--gold));
}

.stat:nth-child(3) strong {
  background-image: linear-gradient(135deg, var(--ink), var(--coral));
}

.stat span {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.resource-card {
  padding: clamp(24px, 4vw, 40px);
}

.resource-card .resource-cta {
  margin-top: 18px;
  color: var(--ink);
  background: var(--white);
  border-color: rgba(7, 27, 56, 0.35);
}

.resource-card .resource-cta:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-color: var(--green);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: var(--white);
  font-weight: 900;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-tools {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.28fr);
  gap: 12px;
  margin-bottom: 8px;
}

.blog-tools input,
.blog-tools select {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.14);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
}

.blog-list.blog-slider {
  display: block;
  overflow: hidden;
  margin-inline: calc(clamp(18px, 5vw, 76px) * -1);
  padding: 8px 0 20px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.blog-slider-top {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 clamp(18px, 5vw, 76px) 14px;
}

.blog-slider-top button {
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.94), rgba(0, 209, 199, 0.84)),
    var(--green);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(0, 167, 165, 0.22);
  cursor: pointer;
}

.blog-slider-viewport {
  overflow-x: auto;
  scrollbar-width: none;
}

.blog-slider-viewport::-webkit-scrollbar {
  display: none;
}

.blog-slider-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: blog-marquee 58s linear infinite;
}

.blog-slider:hover .blog-slider-track {
  animation-play-state: paused;
}

.blog-slider .blog-card {
  width: min(440px, 82vw);
}

.blog-slider .blog-card.featured {
  grid-template-columns: 1fr;
  min-height: auto;
}

@keyframes blog-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.blog-card {
  display: grid;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 250, 250, 0.72)),
    var(--white);
  box-shadow: 0 16px 42px rgba(7, 27, 56, 0.08), inset 0 0 0 1px rgba(0, 167, 165, 0.08);
}

.blog-card.featured {
  grid-column: span 2;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  min-height: 380px;
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.13), rgba(255, 255, 255, 0.96) 48%, rgba(244, 123, 32, 0.1)),
    var(--white);
}

.blog-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.blog-pagination button {
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.14);
  cursor: pointer;
}

.blog-pagination button.active,
.blog-pagination button:hover {
  background: var(--green);
  color: var(--white);
}

.blog-card-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
}

.blog-card-media {
  display: block;
  min-height: 100%;
  overflow: hidden;
}

.blog-card-image,
.blog-detail-image {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.blog-card-image {
  height: 260px;
  min-height: 100%;
  transition: transform 420ms ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.blog-meta time {
  color: var(--coral);
}

.blog-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 2.4rem);
  line-height: 1.06;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.blog-cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: max-content;
  margin-top: 6px;
  color: var(--green);
  font-weight: 900;
}

.blog-detail {
  max-width: 1120px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 250, 250, 0.72)),
    var(--white);
  box-shadow: 0 20px 65px rgba(7, 27, 56, 0.1), inset 0 0 0 1px rgba(0, 167, 165, 0.08);
  overflow: hidden;
}

.blog-detail-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 5vw, 54px);
  padding: clamp(18px, 3vw, 34px);
}

.blog-detail-image {
  height: clamp(320px, 44vw, 520px);
  border-radius: 8px;
}

.blog-detail time {
  color: var(--coral);
  font-weight: 800;
}

.blog-detail h3 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.blog-article-copy {
  max-width: 820px;
  padding: 0 clamp(24px, 5vw, 64px) clamp(32px, 6vw, 70px);
}

.blog-article-copy p:first-child {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #334440;
}

.back-link {
  display: inline-flex;
  margin: clamp(20px, 3vw, 34px) clamp(24px, 5vw, 64px) 0;
  color: var(--green);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border-inline-start: 4px solid var(--green);
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  background: var(--white);
  border: 0;
  cursor: pointer;
  color: var(--ink);
  text-align: start;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-section {
  position: relative;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 209, 199, 0.2), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 0, 200, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 250, 250, 0.72));
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: clamp(18px, 4vw, 46px);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 167, 165, 0.08), transparent 45%, rgba(244, 123, 32, 0.08)),
    rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.08);
  z-index: -1;
}

.contact-photo {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-section .section-kicker,
.contact-section h2,
.contact-section dt {
  color: var(--ink);
}

.contact-section p,
.contact-section dd {
  color: var(--muted);
}

.contact-copy {
  max-width: 620px;
  padding: clamp(20px, 3vw, 34px);
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 30px;
}

.contact-details dt {
  margin-bottom: 2px;
  font-weight: 800;
  color: var(--green);
}

.contact-details dd {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 167, 165, 0.13);
}

.forms-wrap {
  display: grid;
  gap: 16px;
  position: relative;
}

.contact-form,
.newsletter {
  padding: clamp(22px, 3vw, 34px);
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.68));
  color: var(--ink);
  box-shadow: 0 18px 55px rgba(7, 27, 56, 0.09), inset 0 0 0 1px rgba(0, 167, 165, 0.08);
  backdrop-filter: blur(16px);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 14px 14px;
  background: rgba(247, 251, 251, 0.92);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.12);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(0, 167, 165, 0.22);
  box-shadow: inset 0 0 0 1px var(--green);
}

textarea {
  resize: vertical;
}

.newsletter strong {
  display: block;
  margin-bottom: 12px;
}

.newsletter div {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
}

.newsletter button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white);
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 6px 0 0;
  color: var(--green);
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(220px, 0.85fr) minmax(300px, 1.2fr);
  align-items: start;
  gap: clamp(22px, 3vw, 44px);
  padding: clamp(42px, 5.5vw, 72px) clamp(18px, 5vw, 76px) clamp(24px, 4vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 251, 250, 0.96)),
    linear-gradient(135deg, rgba(0, 167, 165, 0.08), rgba(255, 0, 200, 0.04));
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(0, 167, 165, 0.14);
}

.site-footer .footer-brand strong,
.site-footer .footer-contact strong,
.site-footer .footer-links strong,
.site-footer .footer-social strong {
  color: color-mix(in srgb, var(--ink), var(--green) 14%);
}

.site-footer .footer-brand span,
.site-footer .footer-contact span,
.site-footer .footer-copy {
  color: color-mix(in srgb, var(--muted), var(--ink) 10%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(18px, 5vw, 76px);
  right: clamp(18px, 5vw, 76px);
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--magenta));
  opacity: 0.9;
  z-index: -1;
}

.footer-brand {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  max-width: 520px;
}

.footer-brand img {
  width: 118px;
  max-height: 86px;
  padding: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.footer-brand div,
.footer-contact,
.footer-social {
  display: grid;
  gap: 12px;
}

.footer-brand strong,
.footer-contact strong,
.footer-links strong,
.footer-social strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand span,
.footer-contact span,
.footer-copy {
  color: var(--muted);
  line-height: 1.65;
}

.footer-contact a,
.footer-social a {
  color: var(--ink);
  font-weight: 700;
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 14px;
}

.footer-contact div {
  display: grid;
  gap: 8px;
}

.footer-contact a {
  overflow-wrap: anywhere;
  text-decoration: none;
  color: var(--green);
}

.footer-social {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 167, 165, 0.12);
}

.footer-social div {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 2px;
}

.footer-social a {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0, 167, 165, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.18);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.footer-social svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.footer-links div {
  columns: 2 150px;
  column-gap: 28px;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
  color: var(--green);
  transform: translateX(3px);
}

.section-cta {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  width: fit-content;
  margin-top: 18px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(0, 167, 165, 0.1);
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.18);
}

.footer-copy {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-height: 44px;
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(0, 167, 165, 0.08);
}

.contact-section.contact-form-left .forms-wrap {
  order: -1;
}

.custom-two-column-page {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  padding: 0 var(--pad) clamp(46px, 8vw, 88px);
}

.custom-two-column-page > div {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.home-template-feature {
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.08), rgba(255, 0, 200, 0.035)),
    var(--white);
}

.home-template-summary .page-intro,
.home-template-summary .about-intro {
  max-width: 860px;
}

.home-template-listing .blog-list,
.home-template-cards .blog-list,
.blog-listing-home {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-template-cards [data-clients],
.client-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-item {
    display: grid;
    align-items: stretch;
  }

  .nav a,
  .nav-parent {
    min-height: 42px;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin: 4px 0 8px;
    padding: 8px;
    border-color: rgba(0, 167, 165, 0.12);
    background: rgba(247, 251, 251, 0.92);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  body[dir="rtl"] .nav-submenu,
  .nav-item.has-children:hover > .nav-submenu,
  .nav-item.has-children:focus-within > .nav-submenu,
  body[dir="rtl"] .nav-item.has-children:hover > .nav-submenu,
  body[dir="rtl"] .nav-item.has-children:focus-within > .nav-submenu {
    transform: none;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-submenu a {
    min-height: 38px;
  }

  .nav-submenu .nav-submenu {
    margin-inline-start: 14px;
    transform: none;
  }

  .nav.open {
    display: flex;
  }

  .about-grid,
  .page-intro,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section-photo {
    min-height: 230px;
  }

  .approach-heading {
    align-items: start;
    flex-direction: column;
  }

  .approach-list {
    grid-auto-columns: minmax(280px, 86%);
  }

  .services-grid,
  .client-logos,
  .sitemap-grid,
  .template-listing-grid,
  .gallery-template > div,
  .related-links-template > div,
  .stats-template > div,
  .stats,
  .blog-list,
  .blog-tools {
    grid-template-columns: 1fr;
  }

  .service-detail-hero,
  .service-detail-grid,
  .career-detail-grid,
  .media-template,
  .custom-two-column-page,
  .careers-layout,
  .career-list {
    grid-template-columns: 1fr;
  }

  .career-form {
    position: static;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .team-showcase,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-template > div,
  .cta-template,
  .statement-template {
    grid-template-columns: 1fr;
  }

  .blog-card.featured,
  .blog-detail-hero {
    grid-template-columns: 1fr;
  }

  .blog-card.featured {
    grid-column: auto;
  }

  .client-logos.client-slider {
    margin-inline: -18px;
  }

  .client-logos.client-listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-template-listing .blog-list,
  .home-template-cards .blog-list,
  .blog-listing-home,
  .home-template-cards [data-clients],
  .client-feature-grid {
    grid-template-columns: 1fr;
  }

  .client-logo {
    width: 210px;
  }
}

@media (max-width: 1460px) {
  .language-picker span {
    display: none;
  }

  .language-picker select {
    min-width: 120px;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: auto auto minmax(0, auto);
    gap: 8px;
    padding-inline: 12px;
  }

  .brand {
    width: 132px;
  }

  .site-search {
    display: none;
  }

  .header-actions {
    min-width: 0;
    justify-content: end;
  }

  .language-picker span {
    display: none;
  }

  .language-picker select {
    width: 86px;
    min-width: 0;
  }

  .hero-slide,
  .hero-slide.active {
    transform: none;
  }

  .hero {
    min-height: calc(100svh - 88px);
    padding: 46px 20px 104px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 27, 56, 0.82), rgba(7, 27, 56, 0.54) 54%, rgba(0, 167, 165, 0.28)),
      var(--section-image, url("/logo.svg"));
    background-size: cover;
    background-position: center;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 16vw, 4rem);
    line-height: 0.96;
  }

  .hero-copy {
    padding-block: 54px 86px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-slider-controls {
    right: auto;
    left: 16px;
    bottom: 18px;
    gap: 6px;
  }

  body[dir="rtl"] .hero-slider-controls {
    left: auto;
    right: 16px;
  }

  .hero-slider-controls button {
    min-width: 38px;
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .hero-slider-controls [data-hero-slide-pause] {
    width: 38px;
  }

  .approach-panel {
    gap: 16px;
    padding-block: 24px 18px;
    margin-inline: -2px;
  }

  .approach-heading {
    gap: 14px;
    padding-inline: 18px;
  }

  .approach-panel h3 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .approach-controls button {
    width: 46px;
    height: 46px;
    font-size: 1.45rem;
  }

  .approach-list {
    grid-auto-columns: minmax(248px, 84%);
    gap: 12px;
    padding: 8px 18px 16px;
  }

  .approach-item {
    min-height: 292px;
    gap: 18px;
    padding: 22px;
    transform: none;
  }

  .approach-item.next,
  .approach-item.previous {
    transform: none;
  }

  .approach-item strong {
    font-size: clamp(1.18rem, 7vw, 1.55rem);
    line-height: 1.12;
  }

  .approach-item p {
    font-size: 0.98rem;
  }

  .approach-progress,
  .approach-dots {
    margin-inline: 18px;
    padding-inline: 0;
  }

  .client-logos.client-listing {
    grid-template-columns: 1fr;
  }

  .team-showcase,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 22px;
    padding: 34px 20px calc(34px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 8% 0%, rgba(0, 209, 199, 0.2), transparent 30%),
      radial-gradient(circle at 92% 16%, rgba(255, 0, 200, 0.13), transparent 26%),
      linear-gradient(145deg, #061b34, #073646 58%, #064846);
    color: #fff;
  }

  .site-footer::before {
    left: 20px;
    right: 20px;
  }

  .footer-brand {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-brand img {
    width: 132px;
  }

  .footer-social {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .footer-social div {
    justify-content: flex-start;
    overflow-x: visible;
    flex-wrap: wrap;
  }

  .footer-links div {
    columns: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer .footer-brand strong,
  .site-footer .footer-contact strong,
  .site-footer .footer-links strong,
  .site-footer .footer-social strong {
    color: #fff;
  }

  .site-footer .footer-brand span,
  .site-footer .footer-contact span,
  .site-footer .footer-copy {
    color: rgba(255, 255, 255, 0.72);
  }

  .site-footer .footer-contact a,
  .site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.86);
  }

  .site-footer .footer-contact a:hover,
  .site-footer .footer-links a:hover {
    color: var(--teal);
  }

  .footer-social a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  }

  .footer-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    border-top-color: rgba(255, 255, 255, 0.14);
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}

.assistant-widget {
  position: fixed;
  inset-inline-end: clamp(16px, 3vw, 34px);
  inset-block-end: clamp(16px, 3vw, 34px);
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
  width: min(420px, calc(100vw - 28px));
  pointer-events: none;
}

.assistant-widget[hidden] {
  display: none;
}

.assistant-launch,
.assistant-panel {
  pointer-events: auto;
}

.assistant-launch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(0, 167, 165, 0.98), rgba(7, 27, 56, 0.92) 52%, rgba(255, 0, 200, 0.82)),
    var(--ink);
  box-shadow: 0 22px 58px rgba(7, 27, 56, 0.32), 0 0 0 8px rgba(0, 167, 165, 0.08);
  cursor: pointer;
}

.assistant-launch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
  animation: assistantSheen 5.5s ease-in-out infinite;
}

.assistant-launch-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: start;
}

.assistant-launch-copy strong {
  font-size: 0.98rem;
  line-height: 1;
}

.assistant-launch-copy small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}

.assistant-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.58), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 167, 165, 0.3));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 10px 28px rgba(0, 0, 0, 0.18);
}

.assistant-avatar.compact {
  width: 40px;
  height: 40px;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.8), transparent 28%),
    linear-gradient(145deg, rgba(0, 167, 165, 0.16), rgba(255, 0, 200, 0.14));
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.16);
}

.assistant-avatar svg {
  width: 36px;
  height: 36px;
  overflow: visible;
}

.assistant-avatar.compact svg {
  width: 32px;
  height: 32px;
}

.assistant-avatar-halo {
  fill: rgba(255, 255, 255, 0.12);
}

.assistant-avatar.compact .assistant-avatar-halo {
  fill: rgba(0, 167, 165, 0.12);
}

.assistant-avatar-face {
  fill: rgba(255, 255, 255, 0.2);
  stroke: rgba(255, 255, 255, 0.68);
  stroke-width: 1.2;
}

.assistant-avatar.compact .assistant-avatar-face {
  fill: rgba(0, 167, 165, 0.18);
  stroke: rgba(0, 167, 165, 0.72);
}

.assistant-avatar-neck,
.assistant-avatar-circuit {
  fill: none;
  stroke: #fff;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.assistant-avatar.compact .assistant-avatar-neck,
.assistant-avatar.compact .assistant-avatar-circuit {
  stroke: var(--ink);
}

.assistant-avatar-spark {
  fill: var(--magenta);
  filter: drop-shadow(0 0 5px rgba(255, 0, 200, 0.42));
}

.assistant-avatar-live {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2ee59d;
  box-shadow: 0 0 0 4px rgba(46, 229, 157, 0.18);
}

@keyframes assistantSheen {
  0%, 62% {
    transform: translateX(-120%);
  }
  82%, 100% {
    transform: translateX(120%);
  }
}

.assistant-panel {
  display: grid;
  gap: 12px;
  width: 100%;
  max-height: min(680px, calc(100vh - 104px));
  padding: 14px;
  border: 1px solid rgba(0, 167, 165, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 6% 0%, rgba(0, 167, 165, 0.14), transparent 28%),
    radial-gradient(circle at 94% 8%, rgba(255, 0, 200, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 251, 0.92)),
    var(--white);
  box-shadow: 0 28px 82px rgba(7, 27, 56, 0.24);
  backdrop-filter: blur(18px);
}

.assistant-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.assistant-footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 10px 12px;
}

.assistant-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.assistant-panel header strong {
  display: block;
  font-size: 1rem;
}

.assistant-panel header span,
.assistant-footer-row small {
  color: var(--muted);
  font-size: 0.78rem;
}

.assistant-footer-row small {
  min-width: 0;
  line-height: 1.45;
}

.assistant-panel header button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.assistant-log {
  display: grid;
  gap: 10px;
  max-height: 320px;
  overflow: auto;
  padding: 4px;
}

.assistant-message {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 8px;
  background: rgba(0, 167, 165, 0.09);
  box-shadow: 0 8px 22px rgba(7, 27, 56, 0.06);
}

.assistant-message p {
  margin: 0;
  line-height: 1.55;
  white-space: pre-line;
}

.assistant-message.from-user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), rgba(0, 167, 165, 0.92));
}

.assistant-message.thinking {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
}

.assistant-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
  font-size: 0.78rem;
}

.assistant-sources strong {
  flex-basis: 100%;
  color: var(--muted);
}

.assistant-sources a {
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 167, 165, 0.1);
  font-weight: 750;
}

.assistant-visitor-fields,
.assistant-visitor-prompt,
.assistant-feedback,
.assistant-form {
  display: grid;
  gap: 8px;
}

.assistant-visitor-fields {
  grid-template-columns: 1fr 1fr;
}

.assistant-visitor-prompt,
.assistant-feedback {
  padding: 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.1), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.12);
}

.assistant-visitor-prompt strong,
.assistant-feedback > span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.assistant-visitor-prompt p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.assistant-visitor-prompt > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.assistant-visitor-prompt footer {
  display: flex;
  gap: 8px;
  justify-content: end;
}

.assistant-visitor-fields input,
.assistant-visitor-prompt input,
.assistant-form input,
.assistant-form select,
.assistant-feedback textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.assistant-form {
  grid-template-columns: 1fr minmax(84px, auto) auto auto auto;
}

.assistant-voice-lang {
  max-width: 112px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--green) 50%) calc(100% - 14px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--green) 50%, transparent 50%) calc(100% - 9px) 50% / 6px 6px no-repeat,
    #fff;
  padding-inline-end: 26px;
}

.assistant-form button,
.assistant-visitor-prompt button,
.assistant-feedback button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--coral));
  font-weight: 850;
  cursor: pointer;
}

.assistant-visitor-prompt button[type="button"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(0, 167, 165, 0.16);
}

.assistant-file-button,
.assistant-voice {
  width: 44px;
  padding: 0;
  color: var(--green);
  background: rgba(0, 167, 165, 0.1);
}

.assistant-file-status {
  grid-column: 1 / -1;
  min-height: 18px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.assistant-feedback {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.8);
}

.assistant-feedback p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.assistant-feedback-thanks {
  margin-top: 0;
}

.assistant-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.assistant-rating label {
  cursor: pointer;
}

.assistant-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.assistant-rating span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 167, 165, 0.1);
  font-weight: 900;
}

.assistant-rating input:checked + span {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--coral));
}

.assistant-feedback textarea {
  min-height: 72px;
  resize: vertical;
}

.assistant-footer-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 167, 165, 0.08);
  color: var(--green);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.assistant-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.assistant-footer-actions button {
  min-height: 34px;
  border: 1px solid rgba(0, 167, 165, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.assistant-footer-actions button:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--coral));
}

@media (max-width: 520px) {
  .assistant-widget {
    inset-inline: auto 12px;
    inset-block-end: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    max-width: calc(100vw - 24px);
    justify-items: end;
  }

  body[dir="rtl"] .assistant-widget {
    inset-inline: 12px auto;
  }

  .assistant-launch {
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 6px;
    gap: 0;
    border-radius: 999px;
    box-shadow: 0 16px 42px rgba(7, 27, 56, 0.28), 0 0 0 6px rgba(0, 167, 165, 0.08);
  }

  .assistant-launch-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .assistant-widget.open {
    inset-inline: 10px;
    width: auto;
    justify-items: stretch;
  }

  .assistant-widget.open .assistant-launch {
    display: none;
  }

  .assistant-panel {
    width: 100%;
    max-height: calc(100svh - 24px);
    padding: 12px;
    border-radius: 8px;
  }

  .assistant-log {
    max-height: min(40svh, 300px);
  }

  .assistant-message {
    max-width: 100%;
  }

  .assistant-panel header {
    align-items: start;
  }

  .assistant-panel-title {
    min-width: 0;
  }

  .assistant-visitor-fields,
  .assistant-visitor-prompt > div,
  .assistant-form,
  .assistant-footer-row {
    grid-template-columns: 1fr;
  }

  .assistant-footer-row {
    display: grid;
    align-items: start;
    gap: 8px;
  }

  .assistant-footer-actions {
    justify-content: stretch;
    width: 100%;
  }

  .assistant-footer-actions button,
  .assistant-footer-actions a {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .assistant-form button {
    width: 100%;
  }

  .assistant-visitor-prompt footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .assistant-file-button,
  .assistant-voice {
    width: 100%;
  }
}

@media (min-width: 521px) and (max-width: 860px) {
  .services-grid,
  .blog-list,
  .template-listing-grid,
  .career-list,
  .team-showcase,
  .home-template-listing .blog-list,
  .home-template-cards .blog-list,
  .blog-listing-home,
  .home-template-cards [data-clients],
  .client-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-logos.client-listing,
  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-widget {
    inset-inline-end: 16px;
    inset-block-end: calc(16px + env(safe-area-inset-bottom));
    width: auto;
    max-width: calc(100vw - 32px);
  }

  body[dir="rtl"] .assistant-widget {
    inset-inline-start: 16px;
    inset-inline-end: auto;
  }

  .assistant-launch {
    width: 60px;
    height: 60px;
    min-height: 60px;
    padding: 7px;
    gap: 0;
    border-radius: 999px;
  }

  .assistant-launch-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .assistant-widget.open {
    width: min(420px, calc(100vw - 32px));
  }

  .assistant-widget.open .assistant-launch {
    display: none;
  }

  .assistant-panel {
    max-height: calc(100svh - 32px);
  }
}


/* RTL blog slider: stable continuous loop */
.blog-slider-viewport,
.blog-slider-track { direction: ltr; }

html[dir="rtl"] .blog-slider-track { animation-name: blog-marquee-rtl; }
html[dir="rtl"] .blog-slider .blog-card { direction: rtl; }

@keyframes blog-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

@keyframes blog-marquee-rtl {
  from { transform: translateX(calc(-50% - 9px)); }
  to { transform: translateX(0); }
}
