:root {
  --bg: #ffffff;
  --bg-soft: #f8fbfe;
  --bg-mist: #eaf7fd;
  --surface: #ffffff;
  --surface-soft: #f2faff;
  --text: #231f20;
  --muted: #626779;
  --muted-strong: #454b60;
  --line: rgba(29, 37, 82, 0.13);
  --line-strong: rgba(29, 37, 82, 0.3);
  --brand: #1d2552;
  --brand-deep: #151c43;
  --brand-soft: #e7f6fc;
  --accent: #26abe2;
  --accent-soft: rgba(38, 171, 226, 0.16);
  --shadow-sm: 0 16px 34px rgba(29, 37, 82, 0.07);
  --shadow-md: 0 24px 64px rgba(29, 37, 82, 0.1);
  --shadow-lg: 0 36px 110px rgba(21, 28, 67, 0.16);
  --shadow-card: 0 20px 52px rgba(29, 37, 82, 0.09);
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 34px;
  --radius-pill: 999px;
  --container: 1180px;
  --section-space: clamp(2rem, 5vw, 6rem);
  --gutter: clamp(1.2rem, 3vw, 2rem);
  --header-height: 80px;
  --hero-offset: 5rem;
  --font-heading: "Nunito", "Arial Rounded MT Bold", "Manrope", sans-serif;
  --h1-size: 48px;
  --h2-size: 34px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(38, 171, 226, 0.5);
  outline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

main {
  overflow: clip;
}

/* Accessibility & Layout Helpers */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 300;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--brand-deep);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

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

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

/* Sections */
.section {
  padding-block: var(--section-space);
  background: var(--bg);
}

.section--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.section--mist {
  background: var(--bg-mist);
  border-block: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.section--tight {
  padding-block: clamp(2rem, 3.5vw, 4rem);
}

.section--dark {
  position: relative;
  color: #f7fafc;
  background: var(--brand-deep);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 140px 140px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 100%);
  pointer-events: none;
}

/* Typography & Headers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section--dark .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.section-header {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header--split {
  align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
}

.section-header__content {
  max-width: 720px;
}

.hero__title,
.page-hero__title,
.section-header__title,
.split__content h2,
.proof-panel h2,
.cta-panel h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.cta-panel {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: clamp(1.7rem, 3vw, 2.3rem);
  border-radius: 34px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--text);
}

.hero__title,
.page-hero__title {
  font-size: var(--h1-size);
}

.section-header__title,
.split__content h2,
.proof-panel h2,
.cta-panel h2 {
  font-size: var(--h2-size);
}

.section-header__copy,
.page-hero__copy,
.hero__copy,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.section--dark .section-header__copy,
.section--dark .lede {
  color: rgba(247, 250, 252, 0.74);
}

/* Lists & Buttons */
.pill-list,
.inline-list,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-list li,
.inline-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--muted-strong);
  font-weight: 700;
}

.pill-list li::before,
.inline-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.section--dark .pill-list li {
  background: rgba(255, 255, 255, 0.06);
  color: #f7fafc;
  border-color: rgba(255, 255, 255, 0.12);
}

.button-row,
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.section-action {
  margin-top: 1.5rem;
  text-align: center;
}

.button,
.button-secondary,
.button-quiet,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.95rem 1.45rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.button::after,
.button-secondary::after,
.button-quiet::after,
.button-link::after,
.location-card__map::after {
  content: "";
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M5%2012h14m-5-5%205%205-5%205'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M5%2012h14m-5-5%205%205-5%205'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.22s ease;
}

.button:hover,
.button-secondary:hover,
.button-quiet:hover,
.button-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button:hover::after,
.button-secondary:hover::after,
.button-quiet:hover::after,
.button-link:hover::after {
  transform: translateX(3px);
}

.button {
  color: var(--brand-deep);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 15px 34px rgba(38, 171, 226, 0.26);
}

.button:hover {
  border-color: #55bce8;
  background: #55bce8;
  box-shadow: 0 18px 38px rgba(38, 171, 226, 0.34);
}

.button-secondary {
  color: var(--brand-deep);
  border-color: var(--brand);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 36px rgba(29, 37, 82, 0.18);
}

.button-quiet {
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-color: rgba(38, 171, 226, 0.24);
}

.button-link {
  min-height: unset;
  padding: 0;
  border: 0;
  color: var(--brand);
  font-weight: 700;
}

/* Page Header & Navigation */
.page-shell {
  padding-top: var(--hero-offset);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease,
    border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.8rem, 1.5vw, 1.25rem);
  margin-top: 0.8rem;
  padding-inline: 1rem;
  min-height: var(--header-height);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 56px rgba(29, 37, 82, 0.1);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.site-header.is-scrolled .site-header__inner {
  border-color: rgba(38, 171, 226, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(29, 37, 82, 0.14);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 1rem;
  min-width: 0;
}

.site-logo img {
  max-height: 70px;
  width: auto;
}

.site-logo__copy {
  display: grid;
  gap: 0.15rem;
}

.site-logo__name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-logo__tag {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
}

.site-nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 0.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.65rem clamp(0.55rem, 0.8vw, 0.85rem);
  border-radius: var(--radius-pill);
  color: var(--muted-strong);
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.site-nav__link[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(38, 171, 226, 0.16);
}

.site-nav__meta {
  display: flex;
  align-items: center;
  flex: none;
  gap: 0.75rem;
}

.site-nav__meta .button {
  width: max-content;
  min-height: 3.1rem;
  padding: 0.8rem 1.15rem;
  flex: none;
  white-space: nowrap;
}

.site-nav__contact {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav__contact strong {
  color: var(--text);
  font-size: 0.92rem;
}

.lang-switch {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.lang-switch > div,
.lang-switch .gtranslate_wrapper {
  position: relative;
}

.lang-switch select {
  min-height: 2.5rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(29, 37, 82, 0.09);
  color: var(--brand-deep);
}

.mobile-menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    color 0.22s ease;
}

.mobile-menu-toggle__close {
  position: absolute;
  opacity: 0;
  transform: scale(0.86) rotate(-90deg);
}

.mobile-menu-toggle:hover {
  border-color: rgba(38, 171, 226, 0.2);
  color: var(--brand);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__menu {
  opacity: 0;
  transform: scale(0.86) rotate(90deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Hero Sections */
.hero,
.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding-top: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(4.5rem, 8.5vw, 7.5rem);
}

.hero__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4vw, 3.4rem);
}

.hero__copy-block {
  display: grid;
  gap: 0;
}

.hero__title {
  font-size: clamp(2.6rem, 1.9rem + 2.6vw, 3.75rem);
}

.hero__copy {
  max-width: 57ch;
  margin-top: 1.35rem;
  font-size: 1.1rem;
}

.hero__brand-note {
  display: inline-flex;
  margin-top: 1.15rem;
  padding: 0.8rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(38, 171, 226, 0.22);
  background: var(--surface-soft);
  color: var(--brand-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero__actions {
  margin-top: 2rem;
}

.hero__aside {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
  min-height: auto;
}

.hero__aside span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(29, 37, 82, 0.06);
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero__aside span::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero__list {
  margin: 1.5rem 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
}

.hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hero__media {
  margin: 0;
  padding: 0;
  display: grid;
  align-content: stretch;
  min-height: 400px;
}

.hero__stats,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-stat,
.stat-card,
.metric-card {
  padding: 1.3rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.hero-stat strong,
.stat-card strong,
.metric-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.hero-stat span,
.stat-card span,
.metric-card span {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.page-hero {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.page-hero__grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
}

.page-hero__copy {
  max-width: 56ch;
  margin-top: 1rem;
}

.page-hero__card {
  display: grid;
  align-content: center;
  padding: clamp(1.5rem, 2vw, 2rem);
  border-radius: 28px;
}

.page-hero__card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.page-hero__card p {
  margin: 0;
  color: var(--muted);
}

/* Grids & Cards Foundation */
.media-panel,
.photo-frame,
.service-card,
.problem-card,
.metric-card,
.location-card,
.contact-card,
.step-card,
.detail-card,
.proof-card,
.story-card,
.quote-block,
.page-hero__card,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

.service-grid,
.metric-grid,
.problem-grid,
.proof-grid,
.location-grid,
.contact-grid,
.step-grid,
.detail-grid {
  display: grid;
  gap: 1.2rem;
}

.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-grid,
.step-grid,
.contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-grid,
.detail-grid,
.location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.problem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-groups {
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.service-group__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-group__label::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.partner-card {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.partner-card img,
.partner-grid img {
height: 120px;
  width: auto;
  object-fit: contain
}

.service-card,
.problem-card,
.metric-card,
.location-card,
.step-card,
.detail-card,
.proof-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  border-radius: 28px;
  padding: 1.5rem;
}

.service-card {
  gap: 0.5rem;
}

.service-card__icon {
  position: relative;
  width: 100%;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  border-radius: 22px;
  padding: 0;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.service-card__icon::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--accent-soft);
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__kicker,
.problem-card__kicker,
.detail-card__kicker {
  display: inline-flex;
  margin-top: 0;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3,
.problem-card h3,
.detail-card h3,
.proof-card h3,
.location-card h3,
.contact-card h3,
.step-card h3 {
  margin: 1rem 0 0.65rem;
  font-size: 1.16rem;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.service-card h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.3rem;
}

.proof-card h3 {
  color: #11161c;
}

.service-card p,
.problem-card p,
.detail-card p,
.proof-card p,
.location-card p,
.contact-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Problem Cards */
.problem-card {
  min-height: auto;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.problem-card:hover,
.problem-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(38, 171, 226, 0.35);
  box-shadow: var(--shadow-md);
}

.problem-card:focus-visible {
  outline: 3px solid rgba(38, 171, 226, 0.5);
  outline-offset: 4px;
}

.problem-card__support {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  padding-top: 0;
  border-top: 0 solid var(--line);
  opacity: 0;
  transition:
    grid-template-rows 0.35s ease,
    opacity 0.3s ease,
    margin-top 0.3s ease,
    padding-top 0.3s ease,
    border-top-width 0.3s ease;
}

.problem-card:hover .problem-card__support,
.problem-card:focus-within .problem-card__support {
  margin-top: 1rem;
  padding-top: 1rem;
  grid-template-rows: 1fr;
  border-top-width: 1px;
  opacity: 1;
}

.problem-card__support-inner {
  display: grid;
  gap: 0.3rem;
  min-height: 0;
  overflow: hidden;
}

.problem-card__support strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.problem-card__support span {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Split Views & Media */
.split {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.split--reverse {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.split__media {
  position: relative;
  display: flex;
  min-height: 100%;
}

.split__media--stack {
  flex-direction: column;
  gap: 1.1rem;
}

.split__media--stack .photo-frame {
  min-height: 0;
  flex: 1 1 0;
}

.photo-frame {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg, 30px);
  background-color: var(--surface);
}

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

.photo-frame--portrait img {
  min-height: 100%;
}

.photo-frame--poster {
  height: auto;
  background-color: transparent;
}

.photo-frame--poster img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: fill;
  display: block;
}

.media-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-panel--primary {
  width: 100%;
  height: 100%;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.media-tag {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(29, 37, 82, 0.92);
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.media-tag strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.media-tag span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.split__content {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1.7rem, 2.5vw, 2.35rem);
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

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

.section--soft .split__content {
  background: #ffffff;
}

.section--mist .split__content {
  border-color: rgba(38, 171, 226, 0.2);
  background: rgba(255, 255, 255, 0.96);
}

/* Features, Timelines & Quotes */
.feature-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.feature-list strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.feature-list span {
  color: var(--muted);
}

.proof-strip {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.proof-panel {
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.proof-panel h2,
.proof-panel h3 {
  margin: 0 0 0.8rem;
  letter-spacing: -0.04em;
}

.proof-panel p {
  margin: 0;
  color: rgba(247, 250, 252, 0.74);
}

.story-card {
  padding: clamp(1.6rem, 2vw, 2rem);
  border-radius: 30px;
}

.story-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

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

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: #fff;
  border-radius: 0 18px 18px 0;
}

.timeline-item strong {
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.quote-block {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: 34px;
}

.quote-block p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.quote-block span {
  display: inline-block;
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.detail-stack {
  display: grid;
  gap: 1rem;
}

.detail-card__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.detail-card__meta span,
.location-card__pill,
.contact-card__pill {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.callout-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.callout-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.callout-list li::before {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Contact & Location Component Layouts */
.contact-grid {
  align-items: start;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 28px;
  padding: 1.5rem;
}

.contact-grid--wide {
  width: 100%;
  max-width: 100%;
}

.contact-card--horizontal {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.contact-card__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-card__header .contact-card__pill {
  display: inline-flex;
  width: fit-content;
}

.contact-card__header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.contact-card__body {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-card__action {
  display: flex;
  align-items: center;
}

.contact-card__action .contact-card__value {
  margin-top: 0;
}

.contact-card__value {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(38, 171, 226, 0.3);
  border-radius: 14px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-card__value:hover {
  border-color: var(--accent);
  background: #d9f1fb;
  transform: translateY(-1px);
}

.location-card {
  display: grid;
  gap: 0.9rem;
}

.location-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.location-card__floor {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 2px;
}

.location-card__map {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(38, 171, 226, 0.3);
  border-radius: 12px;
  background: var(--brand-soft);
  font-weight: 700;
  color: var(--brand);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.location-card__map:hover {
  border-color: var(--accent);
  background: #d9f1fb;
}

.location-card__map:hover::after {
  transform: translateX(2px);
}

/* CTA Panels */
.cta-panel {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: clamp(1.7rem, 3vw, 2.3rem);
  border-radius: 34px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.cta-panel--spaced {
  margin-top: 1.5rem;
}

.cta-panel h3 {
  margin: 0 0 0.65rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cta-panel p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  max-width: 54ch;
}

.section--dark .cta-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: #f7fafc;
}

.cta-panel__content h2,
.section--dark .cta-panel h2 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 0 0.5rem 0;
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.2;
}

.cta-panel__content p,
.section--dark .cta-panel p {
  margin: 0;
  color: rgba(247, 250, 252, 0.88);
  font-size: 1.03rem;
  max-width: 54ch;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* Universal Carousel System */
.custom-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px);
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide img,
.media-panel--primary img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.carousel-slide .photo-frame {
  height: auto;
}

.carousel-slide .photo-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  color: #151c43;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

.carousel-nav {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  margin-top: 0;
}

.carousel-indicator,
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-indicator.is-active,
.carousel-dot.is-active {
  background: #ffffff;
  width: 20px;
  border-radius: 10px;
}

#homeHeroCarousel {
  height: 480px !important;
  min-height: 480px !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

#homeHeroCarousel .carousel-track-container,
#homeHeroCarousel .carousel-track,
#homeHeroCarousel .carousel-slide,
#homeHeroCarousel .media-panel {
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

#homeHeroCarousel img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}

#homeHeroCarousel .carousel-nav {
  bottom: 16px !important;
  z-index: 6 !important;
}

#assessmentCarousel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#assessmentCarousel .carousel-track-container,
#assessmentCarousel .carousel-track,
#assessmentCarousel .carousel-slide,
#assessmentCarousel .photo-frame {
  height: 100%;
  min-height: 100%;
}

#assessmentCarousel .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Footer Components */
.site-footer {
  position: relative;
  color: #f7fafc;
  background: var(--brand-deep);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 140px 140px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 100%);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(1.8rem, 3vw, 3rem);
  padding-block: clamp(3rem, 5vw, 4rem) 1.5rem;
}

.site-footer__brand img {
  width: min(100%, 300px);
  height: auto;
  margin-bottom: 1.1rem;
}

.site-footer__brand p,
.site-footer__column p,
.site-footer__column a,
.site-footer__meta {
  color: rgba(247, 250, 252, 0.72);
}

.site-footer__column h3 {
  margin: 0 0 0.95rem;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer__list a:hover {
  color: #fff;
}

.site-footer__meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Media Queries */
@media (min-width: 768px) {
  .contact-card--horizontal {
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
  }

  .contact-card__header {
    flex: 1 1 30%;
    min-width: 200px;
  }

  .contact-card__body {
    flex: 2 1 45%;
    margin: 0 1.5rem;
  }

  .contact-card__action {
    flex: 0 0 auto;
  }

  .section--dark .cta-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cta-panel__content {
    max-width: 60%;
  }

  .cta-panel__actions {
    flex-shrink: 0;
  }
}

@media (max-width: 1120px) {
  :root {
    --h1-size: 42px;
    --h2-size: 30px;
  }

  .quote-block p {
    font-size: 28px;
  }

  .site-logo img {
    width: 195px;
  }

  .site-nav {
    gap: 0.6rem;
  }

  .site-nav__link {
    padding-inline: 0.6rem;
    font-size: 0.8rem;
  }

  .site-nav__meta .button {
    padding-inline: 0.9rem;
    font-size: 0.82rem;
  }

  .hero__stats,
  .stat-grid,
  .service-grid,
  .metric-grid,
  .partner-grid,
  .contact-grid,
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid,
  .detail-grid,
  .location-grid,
  .section-header--split,
  .proof-strip,
  .split,
  .split--reverse,
  .page-hero__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 960px) {
  :root {
    --header-height: 60px;
    --hero-offset: 4rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid var(--line);
    box-shadow: 0 26px 72px rgba(29, 37, 82, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.4rem);
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.24s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list,
  .site-nav__meta {
    display: grid;
    gap: 0.55rem;
  }

  .site-nav__meta .button {
    width: 100%;
    white-space: normal;
  }

  .site-nav__contact {
    align-items: flex-start;
  }

  .site-nav__link {
    min-height: 3rem;
    padding-inline: 1rem;
  }

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

  .site-logo__copy {
    display: none;
  }
}

@media (max-width: 768px) {
  #homeHeroCarousel {
    height: 380px !important;
    min-height: 380px !important;
  }

    .partner-grid img {
        width: 100% !important;
        height: 130px !important;
        padding: 0px !important;
        object-fit: contain !important;
        border-radius: 14px !important;
    }

}

@media (max-width: 720px) {
  :root {
    --h1-size: 36px;
    --h2-size: 28px;
    --hero-offset: 3.5rem;
    --section-space: 1.5rem;
  }

  .quote-block p {
    font-size: 24px;
  }

  .hero__stats,
  .service-grid,
  .metric-grid,
  .partner-grid,
  .contact-grid,
  .step-grid,
  .detail-grid,
  .location-grid,
  .problem-grid,
  .grid--2,
  .grid--3,
  .grid--4,
  .cta-panel,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .button-row,
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button-secondary,
  .button-quiet {
    width: 100%;
  }

  .media-panel--primary {
    min-height: 24rem;
    margin: 0;
  }

  .problem-card__support {
    margin-top: 1rem;
    padding-top: 1rem;
    grid-template-rows: 1fr;
    border-top-width: 1px;
    opacity: 1;
  }

  .problem-card:hover,
  .problem-card:focus-within {
    transform: none;
  }

  .proof-panel,
  .cta-panel,
  .story-card,
  .quote-block,
  .location-card,
  .contact-card,
  .problem-card,
  .service-card,
  .detail-card,
  .step-card {
    padding: 1.3rem;
  }
}

@media (max-width: 560px) {
  :root {
    --h1-size: 32px;
    --h2-size: 26px;
    --hero-offset: 3rem;
    --section-space: 1rem;
  }

  .quote-block p {
    font-size: 22px;
  }

  .site-logo img {
    width: clamp(165px, 52vw, 195px);
  }

  .site-header__inner {
    margin-top: 0.65rem;
    padding-inline: 0.85rem;
  }

  .hero__title,
  .page-hero__title {
    max-width: none;
  }

  .hero__aside,
  .pill-list,
  .inline-list,
  .quick-actions {
    gap: 0.7rem;
  }

  .hero-stat,
  .stat-card,
  .metric-card {
    padding: 1rem;
  }

  .media-tag {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .site-footer__meta {
    justify-content: flex-start;
  }
}

/* Reduced Motion Accessibility Rule */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* CTA Panels & Light Background Text Fix */
.cta-panel {
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.7rem, 3vw, 2.3rem);
  border-radius: 34px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--text);
}

.cta-panel--spaced {
  margin-top: 1.5rem;
}

.cta-panel h2,
.cta-panel h3,
.cta-panel__content h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  font-weight: 700;
  color: var(--brand-deep) !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-panel p,
.cta-panel__content p {
  margin: 0;
  color: var(--muted-strong) !important;
  font-size: 1.03rem;
  max-width: 54ch;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* Dark Variant Override ONLY when inside .section--dark */
.section--dark .cta-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: #f7fafc;
}

.section--dark .cta-panel h2,
.section--dark .cta-panel h3,
.section--dark .cta-panel__content h2 {
  color: #ffffff !important;
}

.section--dark .cta-panel p,
.section--dark .cta-panel__content p {
  color: rgba(247, 250, 252, 0.88) !important;
}

/* ==========================================================================
   SERVICES PAGE OVERRIDES & CONTRAST FIXES
   ========================================================================== */

/* 1. Poster Image Aspect Ratio for Pod X */
.photo-frame--poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* 2. Custom CTA Panel variant inside Light Sections */
.cta-panel--mist {
  background-color: var(--surface-soft, #f4f6f8) !important;
  text-align: left !important;
  border: 1px solid var(--line, #e2e8f0);
}

/* 3. Section Soft & Light CTA Panel Typography Fix */
.section--soft .cta-panel,
.section--mist .cta-panel,
.cta-panel--mist {
  color: var(--text, #1e293b) !important;
}

.section--soft .cta-panel h2,
.section--soft .cta-panel h3,
.section--mist .cta-panel h2,
.section--mist .cta-panel h3,
.cta-panel--mist h3 {
  color: var(--brand-deep, #0f172a) !important;
}

.section--soft .cta-panel p,
.section--mist .cta-panel p,
.cta-panel--mist p {
  color: var(--muted-strong, #475569) !important;
}

/* 4. Service Highlight Cards Balance */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card__icon img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

/* Split Layout Core CSS */
.split,
.split--reverse {
  display: flex;
  gap: 2.5rem;
}

.split__media,
.split__content {
  flex: 1;
}

/* Mobile Stacking Fix: Ensures Content -> Image Flow on Mobile screens */
@media (max-width: 768px) {
  .split,
  .split--reverse {
    display: flex;
    flex-direction: column;
  }

  .split__content {
    order: 1;
  }

  .split__media {
    order: 2;
    width: 100%;
  }

  /* Crop & centering adjustments for Pod X and hero photo frames */
  .photo-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

/* Custom Carousel Adjustments */
.custom-carousel {
  position: relative;
  width: 100%;
}

/* Image frame aur height increase karne ke liye */
.custom-carousel .photo-frame {
  width: 100%;
  height: 480px; /* Aap apni zaroorat ke hisab se height adjustment kar sakte hain */
  overflow: hidden;
  border-radius: 16px;
}

.custom-carousel .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Image distortion se bachane ke liye */
  display: block;
}

/* Arrow Buttons vertically centered align karne ke liye */
.custom-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-carousel .carousel-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-50%) scale(1.05);
}

/* Left aur Right Buttons positioning */
.custom-carousel .carousel-btn--prev {
  left: 15px;
}

.custom-carousel .carousel-btn--next {
  right: 15px;
}


@media (max-width: 768px) {
  .partner-grid img {
    width: 100% !important;
    height: 139px !important;
    padding: 0px !important;
    object-fit: contain !important;
    border-radius: 14px !important;
  }
}

/* ==========================================
   ARABIC HOMEPAGE LAYOUT OVERRIDES (CSS ONLY)
   ========================================== */

/* 1. Hide "How It Works" and "Services" on Arabic Homepage */
html[lang="ar"] body[data-page="home"] #how-it-works-section,
html[lang="ar"] body[data-page="home"] #services-section,
body.translated-rtl[data-page="home"] #how-it-works-section,
body.translated-rtl[data-page="home"] #services-section {
  display: none !important;
}

/* 2. Toggle Arabic Injected About Section via CSS */
#arabic-about-inject {
  display: none;
}

html[lang="ar"] body[data-page="home"] #arabic-about-inject,
body.translated-rtl[data-page="home"] #arabic-about-inject {
  display: block !important;
}

/* Hide "What to expect" section on Arabic Consultation page */
html[lang="ar"] body[data-page="consultation"] .split,
body.translated-rtl[data-page="consultation"] .split {
  display: none !important;
}

/* ==========================================
   ARABIC PAGES STREAMLINE OVERRIDES (CSS ONLY)
   ========================================== */

/* 1. Services Page: Arabic version mein sirf top 3 steps show hon, baaki lengthy sections hide ho jayein */
html[lang="ar"] body[data-page="services"] main > section:not(:nth-of-type(1)):not(:nth-of-type(2)),
body.translated-rtl[data-page="services"] main > section:not(:nth-of-type(1)):not(:nth-of-type(2)) {
  display: none !important;
}

/* 2. Conditions/Foot Problems Page: Arabic version mein card ke andar wali extra support details hide ho jayein taake lamba na ho */
html[lang="ar"] body[data-page="conditions"] .problem-card__support,
body.translated-rtl[data-page="conditions"] .problem-card__support {
  display: none !important;
}