/* ─── TOKENS ─── */
:root {
  --color-navy: #172e4d;
  --color-navy-1: #063a60;
  --color-brand: #0082b8;
  --color-grey: #acb3be;
  --color-brand-light: #84c1fa;
  --color-white: #ffffff;
  --color-off-white: #f0f4f8;
  --color-section-bg: #e8eef7;
  --color-text: #172e4d;
  --color-text-muted: #4a6080;
  --color-border: #d0dcea;
  --color-error: #dd751f;
  --color-error-bg: rgb(242 182 143 / 25%);

  --font-base: "Albert Sans", sans-serif;

  --size-xs: 0.875rem;
  --size-sm: 1.063rem;
  --size-base: 1.25rem; /* 20px baseline */
  --size-md: 1.5rem;
  --size-lg: 1.75rem;
  --size-xl: 2.25rem;
  --size-2xl: 2.75rem;
  --size-3xl: 3.75rem;
  --size-4xl: 5rem;

  /* Expanded spacing */
  --space-xs: 0.875rem;
  --space-sm: 1.25rem;
  --space-md: 1.75rem;
  --space-lg: 2.5rem;
  --space-xl: 3.75rem;
  --space-2xl: 5.5rem;
  --space-3xl: 7.5rem;
  --space-4xl: 9rem;

  --page-px: 6rem;
  --nav-height: 5rem;

  --radius-sm: 6px;
  --radius-md: 15px;
  --radius-lg: 20px;

  --radius-pill: 999px;

  --shadow-card: 0 2px 16px rgba(15, 45, 82, 0.2);
  --transition: 0.18s ease;
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  line-height: 1.2;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-size: var(--size-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  /* list-style: none; */
  padding-left: 2rem;
  color: var(--color-text-muted);
}

::marker {
  font-size: var(--size-xl);
  vertical-align: middle;
  color: var(--color-brand);
}

button {
  cursor: pointer;
  font-family: var(--font-base);
}

/* ─── TYPOGRAPHY ─── */
h1 {
  font-size: var(--size-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  font-size: var(--size-4xl);
  margin-bottom: var(--space-sm);
}

h2 {
  font-size: var(--size-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: var(--size-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: var(--size-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

p {
  color: var(--color-text-muted);
  line-height: 1.45;
}

.logo {
  max-width: 7rem;
}

.icon {
  width: 30px;
}

.center-align {
  text-align: center;
}
/* ─── SECTION LABEL (uppercase tracked title above underline) ─── */
.section-label {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-label::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--color-brand);
  margin: 0.5rem auto 0;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-size: var(--size-md);
  font-weight: var(--weight-semibold);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition:
    background var(--transition),
    color var(--transition),
    opacity var(--transition);
  white-space: nowrap;
  min-width: 12rem;
  text-align: -webkit-center;
}
.btn--primary {
  background: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}
.btn--primary:hover {
  opacity: 0.85;
}

.btn--outline {
  background: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}
.btn--outline:hover {
  background: var(--color-brand);
  color: var(--color-white);
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-white);
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-px);
}

/* New structural wrapper for desktop layout symmetry */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.nav__links {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
}

.nav__links li {
  display: flex;
  align-items: center;
}

.nav__links a,
.lang-dropbtn,
.nav__dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 100%;
  padding: 0 0.9rem;
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  background: none;
  border: none;
  transition: color var(--transition);
}
.nav__dropdown {
  position: relative;
}

.mobile-hr {
  display: none;
}

.nav__dropdown-menu,
.lang-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 200;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 13rem;
  overflow: hidden;
}

.nav__dropdown-menu a,
.lang-dropdown-content li {
  display: block;
  height: auto;
  padding: 0.65rem 1rem;
  font-size: var(--size-sm);
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.nav__dropdown-menu a:last-child,
.lang-dropdown-content li:last-child {
  border-bottom: none;
}
.nav__dropdown-menu a:hover,
.lang-dropdown-content li:hover {
  background: var(--color-off-white);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.is-open .nav__dropdown-menu,
.lang-dropbtn:hover .lang-dropdown-content {
  display: block;
}

.nav__links a:hover,
.nav__dropdown-toggle:hover {
  color: var(--color-brand);
}

.nav__links a::after,
.nav__dropdown-toggle::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--color-brand);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav__links a:hover::after,
.nav__dropdown-toggle:hover::after {
  opacity: 0.4;
}

.nav__links a.is-active::after,
.lang-dropdown-content li.is-active::after,
.nav__dropdown-toggle.is-active::after {
  opacity: 1;
}

.nav__links a.is-active,
.nav__dropdown-toggle.is-active,
.lang-dropdown-content li.is-active {
  color: var(--color-brand);
}

.nav__dropdown-menu a::after,
.lang-dropdown-content li::after {
  display: none;
}

.links-block a {
  color: var(--color-brand);
}

/* ─── NEW RESPONSIVE BREAKPOINT LAYER ─── */
.nav__toggle {
  display: none;
}

/* ─── PAGE WRAPPER ─── */
.page {
  margin-top: var(--nav-height);
}

/* ─── SECTION SHELL ─── */
.section {
  padding: var(--space-xl) var(--page-px);
}
.section--light {
  background: var(--color-off-white);
}
.section--blue {
  background: var(--color-section-bg);
}
.section--dark {
  background: var(--color-navy);
}
.section--dark .section-label {
  color: var(--color-white);
}
.section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.extra-info-block {
  display: block;
  padding: 1rem;
  margin: 1rem;
  background: var(--color-section-bg);
  border-left: 4px solid var(--color-brand);
}

/* ─── HERO (About page) ─── */
.hero {
  /* min-height: calc(100vh - var(--nav-height)); */
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 0 0 var(--page-px);
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: var(--size-xl) 0;
}
.hero__title {
  color: var(--color-navy);
}
.hero__body {
  font-size: var(--size-md);
  color: var(--color-text-muted);
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Base CARDS ─── */
.base-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.base-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.base-card div {
  padding: var(--space-xs) var(--space-xl) var(--space-xl) var(--space-xl);
}

.base-card img {
  border-radius: var(--radius-lg);
}

/* ─── PRECISION SPLIT (About page) ─── */
.right-media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.right-media-split__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.right-media-split__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.right-media-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.right-media-checklist li {
  /* display: flex; */
  /* align-items: anchor-center; */
  align-self: start;
  gap: var(--space-sm);
  font-size: var(--size-base);
  color: var(--color-text-muted);
}
.right-media-checklist li::before {
  /* content: "•"; */
  color: var(--color-brand);
  font-size: var(--size-md);
  line-height: 1.4;
  flex-shrink: 0;
}

/* ─── INNOVATIONS CARDS (About page) ─── */
.innovations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.innovation-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.innovation-card__content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.innovation-card h3 {
  color: var(--color-navy);
  font-size: var(--size-xl);
}
.innovation-card p {
  font-size: var(--size-base);
  color: var(--color-text-muted);
}
.innovation-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(to left, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

/* ─── TECH & IP SECTION (About page) ─── */
.tech-ip {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}
.tech-ip h2 {
  color: var(--color-navy);
}
.tech-ip p {
  max-width: 38rem;
  font-size: var(--size-md);
}

/* ─── TEAM GRID ─── */
.team-title-block {
  text-align: center;
  margin-top: var(--space-lg);
}

.team-title-block p {
  margin-top: var(--space-xl);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.team-card {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.team-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card h4 {
  color: var(--color-white);
}
.team-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--size-base);
}

.lead-by {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  padding: var(--space-xl) var(--page-px);
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}
.lead-by__label {
  font-size: var(--size-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
}
.lead-by__people {
  display: flex;
  gap: var(--space-2xl);
}
.lead-by__person {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.lead-by__avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color-border);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.lead-by__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead-by__name {
  font-weight: var(--weight-bold);
  color: var(--color-navy);
  font-size: var(--size-base);
}
.lead-by__role {
  font-size: var(--size-sm);
  color: var(--color-text-muted);
}

/* ─── CONTACT SECTION ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  margin-top: var(--space-2xl);
}
.contact-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}
.contact-body {
  font-size: var(--size-md);
  margin-bottom: var(--space-xl);
}
.contact-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}
.contact-group__header {
  display: flex;
  align-items: center;
  /* gap: var(--space-sm); */
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-xs);
}
.contact-group__header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-brand-light);
}
.contact-group p {
  font-size: var(--size-base);
}
.contact-group a {
  transition: color var(--transition);
}
.contact-group a:hover {
  color: var(--color-brand-light);
}

.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-form-card__logo {
  font-size: var(--size-xl);
  font-weight: var(--weight-bold);
  color: var(--color-brand);
  margin-bottom: var(--space-sm);
}
.form-field {
  width: 100%;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-off-white);
  font-size: var(--size-base);
  color: var(--color-text);
  outline: none;
  resize: vertical;
  transition: border-color var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a0b0c4;
}
.form-field textarea {
  min-height: 8rem;
}

.form-field input,
.form-field textarea {
  border: 1px solid transparent;
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-brand);
}

.form-phone-label {
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
}
.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--color-navy-1);
  color: var(--color-white);
  font-size: var(--size-base);
  font-weight: var(--weight-semibold);
  border: none;
  border-radius: var(--radius-md);
  transition: opacity var(--transition);
}
.form-submit:hover {
  opacity: 0.85;
}

.form-field__hint {
  display: none;
  font-size: var(--size-xs);
  color: var(--color-error);
  margin-top: 0.25rem;
}

.form-status {
  font-size: var(--size-sm);
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  min-height: 0;
}
.form-field textarea {
  resize: none;
}

.form-status.is-success {
  background: var(--color-section-bg);
  color: var(--color-brand);
}
.form-status.is-error {
  background: var(--color-error-bg);
  color: var(--color-error);
}
/* ─── INNOVATIONS PAGE ─── */

/* Calibro hero: image fills right, text card overlaps left */
.float-hero {
  display: inline-grid;
  align-items: center;
  grid-template-columns: auto;
  width: 100%;
}

div[class^="float__image"] {
  overflow: hidden;
  border-radius: var(--radius-lg);
  justify-self: center;
  justify-items: center;
  grid-area: 1 / 1;
}

.float__image_right {
  justify-self: end;
  margin-left: 28%;
}
.float__image_left {
  justify-self: start;
  margin-right: 28%;
}

div[class^="float__image"] img {
  /* position: relative; */
  /* max-height: 41rem; */
  /* object-fit: cover; */
  border-radius: var(--radius-lg);
  margin: var(--space-lg);
  /* margin-left: auto; */
  max-width: 75%;
}

div[class^="float__card"] {
  grid-area: 1 / 1;
  justify-self: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-xl) var(--space-xl);
  max-width: 35%;
  /* margin: var(--space-xl) 0; */
  z-index: 3;
  min-width: 22rem;
}

.float__card_left {
  margin-right: 36%;
}
.float__card_right {
  margin-left: 36%;
}

div[class^="float__card"] h2 {
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}
div[class^="float__card"] p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.calibro-hero__checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.calibro-hero__checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--size-base);
  color: var(--color-text-muted);
}
.calibro-hero__checklist li::before {
  content: "•";
  color: var(--color-brand);
  font-size: var(--size-md);
  line-height: 1.4;
  flex-shrink: 0;
}

/* Calibration layout: title+body left, 2x2 grid right */
.calibration-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
.calibration-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.calibration-item h3 {
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}
.calibration-item p {
  color: var(--color-text-muted);
  font-size: var(--size-base);
}

/* AudiraMed hero: image left, card overlapping right */
.full-width.section {
  padding: var(--size-md) 0 0 0;
}

/* .audiramed-hero__bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
} */

/* .float__card {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-3xl);
  margin: var(--space-xl) var(--space-xl) var(--space-xl) 40%;
}
.float__card h2 {
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}
.float__card p {
  color: var(--color-text-muted);
} */

.problem__body {
  max-width: 31rem;
  margin: var(--space-md) auto 0;
}
/* Problem section: 2x2 cards on blue bg */
.problem-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl) var(--space-3xl);
  max-width: 34rem;
  margin: var(--space-xl) auto 0;
  text-align: start;
}
.problem-card h4 {
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  font-size: var(--size-xl);
}
.problem-card p {
  color: var(--color-text-muted);
  font-size: var(--size-base);
}

/* Pathway — title only (workflow placeholder) */
.base-carousel {
  padding: 0 0 var(--space-2xl) 0;
}

.base-carousel__stage {
  position: relative;
  height: 21rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.base-carousel__card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: var(--color-section-bg);
}

.base-carousel__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.base-carousel__card.is-center {
  width: 21rem;
  height: 17rem;
  z-index: 3;
  transform: translateX(0) scale(1);
  opacity: 1;
}
.base-carousel__card.is-left {
  width: 14rem;
  height: 13rem;
  z-index: 2;
  transform: translateX(-24rem);
  opacity: 0.7;
}
.base-carousel__card.is-right {
  width: 14rem;
  height: 13rem;
  z-index: 2;
  transform: translateX(24rem);
  opacity: 0.7;
}
.base-carousel__card.is-hidden-left {
  width: 14rem;
  height: 13rem;
  z-index: 1;
  transform: translateX(-34rem);
  opacity: 0;
}
.base-carousel__card.is-hidden-right {
  width: 14rem;
  height: 13rem;
  z-index: 1;
  transform: translateX(34rem);
  opacity: 0;
}

.base-carousel__info {
  text-align: center;
  padding: 0 var(--page-px);
  margin-bottom: var(--space-lg);
}

.base-carousel__title {
  font-size: var(--size-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.base-carousel__title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--color-brand);
  margin: 0.4rem auto 0;
}

.base-carousel__desc {
  font-size: var(--size-base);
  color: var(--color-text-muted);
  max-width: 20rem;
  margin: 0 auto;
  line-height: 1.55;
}

.base-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.base-carousel__btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-navy);
  transition: background var(--transition);
}
.base-carousel__btn:hover {
  background: var(--color-section-bg);
}

.base-carousel__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.base-carousel__dot {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-border);
  transition:
    background var(--transition),
    width var(--transition);
}
.base-carousel__dot.is-active {
  background: var(--color-brand);
  width: 32px;
}

.base-carousel__ticker {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  text-align: center;
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.base-carousel__ticker-sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--color-navy-1);
  padding: var(--space-md) var(--page-px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer__links {
  display: flex;
  gap: var(--space-lg);
}
.footer__links a {
  font-size: var(--size-sm);
  color: var(--color-white);
  transition: color var(--transition);
}
.footer__links a:hover {
  color: var(--color-white);
}
.footer__copy {
  display: flex;
  gap: var(--space-xl);
  font-size: var(--size-sm);
  color: var(--color-grey);
}

/* Container layout using CSS Grid */
.workflow-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* Card, Arrow, Card */
  gap: 40px 20px; /* Vertical row gap, Horizontal column gap */
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  align-items: center; /* Vertically align arrows with card content */
  font-family:
    "Albert Sans",
    -apple-system,
    sans-serif;
}

/* Card typography styling */
.pathway {
  padding: var(--space-2xl) 0;
}

.flow__steps {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  justify-content: center;
}

.flow__step {
  background: var(--color-brand);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  min-width: 9rem;
  flex-shrink: 0;
  text-align: center;
  width: 20%;
  height: 100%;
  height: -webkit-fill-available;
  align-content: center;
}

.flow__step p {
  color: var(--color-white);
  font-size: var(--size-base);
  font-weight: var(--weight-semibold);
  line-height: 1.4;
  margin: 0;
}

.flow__arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 var(--space-xs);
}

.flow__benefits {
  list-style: none;

  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0 var(--space-2xl);
  margin-top: var(--space-xl);
}

.flow__benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--size-base);
  align-items: center;
  color: var(--color-text-muted);
}

.flow__benefits li::before {
  content: "•";
  color: var(--color-brand);
  font-size: var(--size-md);
  line-height: 1.4;
  flex-shrink: 0;
}

img.narrow {
  max-height: 22rem;
}
.round-corners-base {
  border-radius: var(--radius-md);
}

.technology-pillars {
  position: relative;
}

.technology-pillars__image {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

.technology-pillars__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);

  margin-top: -90px;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 2;
}

.technology-mini-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}

.technology-mini-card h3 {
  margin-bottom: var(--space-sm);
}

.technology-header {
  max-width: 760px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.technology-header h2 {
  margin-bottom: var(--space-md);
}

.ip-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* ROWS */

.ip-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-xl);
}

.ip-row--reverse {
  grid-template-columns: 5fr 7fr;
}

/* CARD */

.ip-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);

  min-height: 260px;

  display: flex;
  align-items: center;
}

.ip-card__content {
  padding: var(--space-2xl);
}

.ip-card h3 {
  margin-bottom: var(--space-md);
}

.ip-card p {
  margin: 0;
}

/* IMAGE */

.ip-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
}

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

/* FOOTER */

.ip-footer {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: 0.875rem;
  color: var(--color-brand);
  text-transform: uppercase;
}
/* ─── RESPONSIVE ─── */

@media (max-width: 2000px) {
  :root {
    --size-xs: 0.688rem;
    --size-sm: 0.813rem;
    --size-base: 0.938rem;
    --size-md: 1.063rem;
    --size-lg: 1.25rem;
    --size-xl: 1.5rem;
    --size-2xl: 2rem;
    --size-3xl: 2.75rem;
    --size-4xl: 3.75rem;

    --space-xs: 0.525rem;
    --space-sm: 0.825rem;
    --space-md: 1rem;
    --space-lg: 1.25rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
    --space-4xl: 4rem;

    --page-px: 3.75rem;
    --nav-height: 4rem;

    --radius-sm: 6px;
    --radius-md: 15px;
    --radius-lg: 20px;
  }
}

@media (max-width: 992px) {
  html {
    /* font-size: 45%;  */
  }
  :root {
    --size-xs: 0.563rem;
    --size-sm: 0.688rem;
    --size-base: 0.813rem;
    --size-md: 0.938rem;
    --size-lg: 1.063rem;
    --size-xl: 1rem;
    --size-2xl: 1.25rem;
    --size-3xl: 1.5rem;
    --size-4xl: 2rem;

    /* Spacing */
    --space-xs: 0.35rem;
    --space-sm: 0.475rem;
    --space-md: 0.75rem;
    --space-lg: 1.25rem;
    --space-xl: 1.75rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3.5rem;
    --space-4xl: 5rem;

    --page-px: 1rem; /* Much smaller padding for mobile */
    --nav-height: 3rem; /* Compact nav for mobile */

    /* Fixed values (Stay same on all screens) */
    --weight-regular: 400;
    --weight-semibold: 500;
    --weight-bold: 700;

    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 16px;
  }
  .hero,
  .right-media-split,
  .calibration-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .contact-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .innovation-card__content {
    /* max-width: 50%; */
  }

  .innovation-card__content a {
    min-width: 9rem;
  }
  .right-media-split__visual {
    /* max-width: 70%; */
  }
  .right-media-split__content,
  .right-media-split__content h2,
  .right-media-split__content p {
    text-align: center;
  }
  .technology-pillars__image {
    display: none;
  }
  .ip-grid,
  .innovations-grid {
    gap: var(--space-md);
    grid-template-columns: 1fr;
  }
  .contact-layout {
    align-items: center;
  }
  .ip-card *,
  .contact-layout * {
    place-items: center;
    text-align: center;
  }

  .contact-form-card {
    min-width: 22rem;
    max-width: 90%;
  }

  .hero__content {
    margin: var(--size-xl) var(--space-lg);
    place-items: center;
  }

  .hero__content * {
    text-align: center;
  }

  .hero__actions,
  .lead-by,
  .lead-by__people {
    flex-direction: column;
  }
  .lead-by {
    gap: var(--space-xl);
  }
  .lead-by__people {
    gap: var(--space-md);
  }

  div[class^="float__image"] img {
    max-width: 100%;
  }
  div[class^="float__card"],
  div[class^="float__image"] {
    grid-area: unset;
    min-width: unset;
    max-width: unset;
    width: unset;
    margin: 0;
    box-shadow: none;
  }
  div[class^="float__card"] h2,
  div[class^="float__card"] p {
    text-align: center;
  }
  .mobile-hr {
    display: block;
  }
  .base-card-grid {
    grid-template: none;
  }

  .ip-row,
  .ip-row--reverse {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ip-image {
    order: 1;
  }

  .ip-card {
    order: 2;
    min-height: auto;
    grid-column: none;

    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: none;

    min-height: none;
    display: flex;
    align-items: center;
    place-content: center;
  }

  .ip-image img {
    aspect-ratio: 16 / 9;
  }

  .ip-card__content {
    padding: var(--space-lg);
  }

  .workflow-container {
    grid-template-columns: 1fr; /* Stacks vertically into 1 column */
    gap: 20px;
    text-align: center;
  }

  .arrow {
    transform: rotate(90deg); /* Points down when stacked */
    padding: 10px 0;
  }

  .use-case-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .use-case-item:last-child {
    border-bottom: none;
  }
  .problem-cards {
    grid-template-columns: 1fr;
  }

  .ip-card,
  .ip-image {
    grid-column: auto;
    min-height: auto;
  }

  .ip-image img {
    aspect-ratio: 16 / 9;
  }
  .technology-pillars__cards {
    grid-template-columns: repeat(2, 1fr);
    margin-top: var(--space-lg);
    padding: 0;
  }

  .lang-dropbtn img {
    display: none;
  }
  /* 1. Show & style the toggle icon */
  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 210;
  }

  .nav__toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-navy);
    transition:
      transform var(--transition),
      opacity var(--transition);
  }

  /* Morph icon to 'X' when open */
  .nav__toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* 2. Fold the entire menu block into a vertical stack panel */
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    border-left: 2px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: calc(var(--nav-height) + 2rem) 0 2rem 0;
    transition: right var(--transition);
  }

  .nav__menu.is-open {
    right: 0;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: auto;
  }
  .nav__links li {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Structural override adjustments for stack rows */
  .nav__links a,
  .nav__dropdown-toggle,
  language-switcher {
    height: auto;
    padding: 1rem 1.5rem;
    width: 100%;
    justify-content: space-between;
  }

  /* Keep language switcher margins natural inside side panel padding */
  language-switcher button.lang-dropbtn {
    padding: 0;
  }

  /* Remove fixed bottom-border line indicators from mobile tabs */
  .nav__links a::after,
  .nav__dropdown-toggle::after {
    display: none;
  }

  /* 3. Handle nested mobile dropdown behavior */
  .nav__dropdown-menu,
  .lang-dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    border-inline: none;
    background: var(--color-off-white);
  }

  .nav__dropdown-toggle svg {
    transition: transform var(--transition);
  }
  .nav__dropdown.is-open .nav__dropdown-toggle svg {
    transform: rotate(180deg);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .ip-card__content {
    padding: var(--space-lg);
  }
  .technology-pillars__cards {
    grid-template-columns: 1fr;
  }

  .flow__steps {
    flex-direction: column;
    align-items: stretch;
  }

  .flow__arrow svg {
    transform: rotate(90deg);
  }

  .flow__arrow {
    justify-content: center;
    padding: var(--space-xs) 0;
  }

  .flow__step {
    min-width: unset;
  }

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

  .base-carousel__stage {
    height: 16rem;
  }
  .base-carousel__card.is-center {
    width: 16rem;
    height: 13rem;
  }
  .base-carousel__card.is-left,
  .base-carousel__card.is-right {
    width: 10rem;
    height: 9rem;
  }
  .base-carousel__card.is-left {
    transform: translateX(-15rem);
  }
  .base-carousel__card.is-right {
    transform: translateX(15rem);
  }
  .base-carousel__card.is-hidden-left {
    transform: translateX(-23rem);
  }
  .base-carousel__card.is-hidden-right {
    transform: translateX(23rem);
  }
}

@media (max-width: 550px) {
  .flow__steps {
    flex-direction: column;
    align-items: stretch;
  }

  .flow__arrow svg {
    transform: rotate(90deg);
  }

  .flow__arrow {
    justify-content: center;
    padding: var(--space-xs) 0;
  }

  .flow__step {
    min-width: unset;
  }
  .base-card-grid,
  .team-grid,
  .innovations-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}
