@font-face {
  font-family: "Alto";
  src: url("/static/fonts/Alto-ExtraLight.otf") format("opentype");
  font-weight: 275;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alto";
  src: url("/static/fonts/Alto-Normal.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alto";
  src: url("/static/fonts/Alto-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Alto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ink: #1a2838;
  --ink-soft: #4a5866;
  --panel: #e9edf2;
  --panel-strong: #d4dce6;
  --surface: #f7fafd;

  --brand-slate: #4a5866;
  --brand-navy: #1a2838;
  --sky-deep: #284770;
  --sky-light: #e9f2fb;
  --highlight-soft: #cfe8ff;

  --taupe: #6d625a;
  --terra: #c4835c;
  --cta-orange: #ea7039;
  --accent-yellow: #e5b94b;
  --accent-gold: #e5b94b;
  --brand-blue: #2f5082;
  --beige-open: #f3f1ec;
  --beige-soft: #f7f5f0;
  --beige-deep: #ebe6dc;
  --hero-pad-inline: clamp(20px, 5vw, 52px);
  /* Phones only; tablet / laptop / desktop share fluid rules from 768px up */
  --bp-mobile-max: 767px;
  --bp-tablet-min: 768px;
  --bp-tablet-max: 1023px;
  --bp-desktop-min: 1024px;
  --bp-wide-min: 1280px;
  --content-pad: clamp(20px, 4vw, 48px);
  --site-header-height: 88px;
  /* Shared vertical column: Menu + language pills share the same right edge */
  --rail-align-inset: max(12px, env(safe-area-inset-right, 0px));
  /* Menu + languages: shift whole column ~30% closer to the right edge */
  --rail-column-right: calc(
    ((100vw - min(1200px, 100vw)) / 2 + var(--rail-align-inset)) * 0.7
  );
  --rail-column-width: 128px;
  --cloud-grey: #e8eaee;

  --header-bg: #16181d;
  --header-text: #f6f7f9;

  --ease-calm: cubic-bezier(0.45, 0, 0.25, 1);
  --motion-slow: 0.55s var(--ease-calm);

  --radius-lg: 28px;
  --shadow-soft: 0 18px 48px rgba(33, 49, 78, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: clip;
  /* ~18px at typical 16px browser default — improves body text scale sitewide */
  font-size: 112.5%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.68;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--accent-yellow);
  color: var(--ink);
  z-index: 50;
}

.wrap {
  width: min(1100px, calc(100% - clamp(40px, 8vw, 96px)));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(760px, calc(100% - clamp(40px, 8vw, 96px)));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--header-text);
  border-bottom: none;
  overflow: visible;
}

.site-header--pattern {
  position: sticky;
  background: linear-gradient(180deg, #dfe9f5 0%, #eef4fb 55%, #f7fafd 100%);
  color: var(--brand-navy);
  border-bottom: 1px solid rgba(63, 95, 151, 0.1);
  overflow: visible;
  box-shadow: 0 10px 36px rgba(63, 95, 151, 0.08);
  backdrop-filter: saturate(1.15) blur(12px);
  -webkit-backdrop-filter: saturate(1.15) blur(12px);
}

.site-header--cloud {
  background: linear-gradient(165deg, #2a3344 0%, #1c2029 42%, #16181d 100%);
}

.header-cloud-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.site-header--pattern .header-cloud-bg {
  background:
    radial-gradient(ellipse 100% 90% at 12% 120%, rgba(37, 99, 154, 0.14), transparent 52%),
    radial-gradient(ellipse 90% 75% at 88% 100%, rgba(130, 180, 230, 0.25), transparent 48%),
    radial-gradient(ellipse 40% 30% at 55% -8%, rgba(255, 255, 255, 0.5), transparent 45%);
  opacity: 1;
  will-change: opacity, transform;
  animation: header-strip-air 32s ease-in-out infinite alternate;
}

@keyframes header-strip-air {
  0% {
    opacity: 0.9;
    transform: translate3d(-0.4%, -0.15%, 0) scale(1.008);
  }
  100% {
    opacity: 1;
    transform: translate3d(0.45%, 0.22%, 0) scale(1.018);
  }
}

.site-header--pattern .header-shell {
  position: static;
  z-index: 1;
}

.site-header--cloud .header-shell {
  position: relative;
  z-index: 1;
}

.header-shell {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 14px max(12px, env(safe-area-inset-left, 0px)) 16px;
}

.header-top {
  display: block;
  width: 100%;
  min-height: 58px;
  padding-right: 148px;
}

.site-header--pattern .header-top {
  position: static;
}

.brand.brand--full {
  display: inline-flex;
  max-width: calc(100% - 148px);
  min-width: 0;
}

/* Menu + languages: one vertical column, same right edge */
.site-header--pattern .header-top__nav {
  position: absolute;
  top: 50%;
  right: var(--rail-column-right);
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: var(--rail-column-width);
  margin: 0;
}

.header-top__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform var(--motion-slow),
    box-shadow var(--motion-slow),
    background var(--motion-slow),
    color var(--motion-slow);
}

.btn-pill--primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), #4d6fa8);
  box-shadow:
    0 8px 24px rgba(63, 95, 151, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-pill--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-pill--cloud {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 8px 28px rgba(22, 24, 29, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.btn-pill--cloud:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(22, 24, 29, 0.16);
}

.btn-pill--outline {
  color: var(--sky-deep);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(47, 80, 130, 0.52);
  box-shadow: 0 4px 16px rgba(37, 99, 154, 0.12);
}

.btn-pill--outline:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn-pill--accent {
  color: #142434;
  background: linear-gradient(145deg, #e8c96b, #f0d890);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(200, 170, 70, 0.35);
}

.btn-pill--accent:hover {
  filter: brightness(1.04);
}

.btn-pill--lg {
  padding: 12px 26px;
  font-size: 1.0625rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-yellow), #f1a727);
  box-shadow: 0 0 0 3px rgba(244, 192, 37, 0.22);
}

.brand-name {
  font-weight: 700;
  font-size: clamp(2rem, 4.65vw, 2.52rem);
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: inherit;
}

.brand-wordmark__text {
  color: inherit;
}

.brand-wordmark__o-letter {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-transform: lowercase;
  letter-spacing: inherit;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.brand-text--row {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.42em;
  white-space: nowrap;
}

/* Header: brand blue lettering + subtle 3D */
.site-header--pattern .brand-name {
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
  text-shadow:
    0 1px 0 rgba(120, 170, 220, 0.55),
    0 1px 1px rgba(255, 255, 255, 0.5),
    0 2px 0 rgba(22, 60, 100, 0.35),
    0 4px 6px rgba(18, 50, 82, 0.28),
    0 6px 10px rgba(16, 45, 75, 0.15);
}

.site-header--pattern .brand-sub {
  font-size: clamp(0.72rem, 1.65vw, 0.92rem);
  color: rgba(37, 99, 154, 0.92);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 2px 0 rgba(37, 99, 154, 0.12),
    0 3px 4px rgba(25, 60, 100, 0.15);
}

.site-header--pattern .brand-name .brand-wordmark__text {
  color: inherit;
}

/* Idle motion: very subtle; pauses naturally with reduced-motion */
.site-header--pattern .brand-text {
  will-change: transform;
  animation: header-brand-breathe 14s ease-in-out infinite;
}

@keyframes header-brand-breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.25px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header--pattern .header-cloud-bg,
  .site-header--pattern .brand-text {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .site-header--pattern .header-cloud-bg {
    opacity: 1;
    transform: none;
  }
}

.site-header--pattern .brand:focus-visible .brand-name,
.site-header--pattern .brand:focus-visible .brand-sub {
  outline: none;
}

.site-header--pattern .brand:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 8px;
  border-radius: 6px;
}

.brand-sub {
  font-size: 0.8675rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 45, 66, 0.9);
}

.lang-cloud-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.lang-cloud-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 247, 249, 0.55);
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lang-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.lang-pill {
  box-sizing: border-box;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: rgba(246, 247, 249, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lang-pill:not(.lang-pill--expand):hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-2px);
}

.lang-pill--expand {
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-end;
  width: fit-content;
  max-width: min(100%, 280px);
  height: auto;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(37, 99, 154, 0.12);
}

.lang-pill__short {
  flex: 0 0 48px;
  width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.lang-pill__long {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition:
    max-width 0.3s ease,
    opacity 0.22s ease,
    padding 0.22s ease;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  align-self: center;
}

@media (hover: hover) and (pointer: fine) {
  .lang-pill--expand:hover .lang-pill__long,
  .lang-pill--expand:focus-visible .lang-pill__long {
    max-width: 200px;
    opacity: 1;
    padding: 0 10px 0 16px;
  }

  .lang-pill--expand:hover,
  .lang-pill--expand:focus-visible {
    transform: translateY(-2px);
  }
}

.lang-pill--current {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), #4d6fa8);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 16px rgba(63, 95, 151, 0.28);
  cursor: default;
}

/* Floating glass Menu button + slide-open navigation */
.menu-float-wrap {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  max-width: var(--rail-column-width);
  margin-left: auto;
}

.menu-float-btn {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  margin: 0;
  padding: 15px 38px;
  border: 1.5px solid rgba(63, 95, 151, 0.22);
  outline: 1px solid rgba(255, 255, 255, 0.75);
  outline-offset: -1px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-navy);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.2) 42%, transparent 58%),
    radial-gradient(circle at 78% 82%, rgba(63, 95, 151, 0.1) 0%, transparent 52%),
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(240, 247, 255, 0.92) 48%,
      rgba(228, 238, 250, 0.9) 100%
    );
  box-shadow:
    inset 6px 8px 14px rgba(255, 255, 255, 0.65),
    inset -6px -10px 16px rgba(63, 95, 151, 0.07),
    0 10px 28px rgba(63, 95, 151, 0.14),
    0 18px 40px rgba(33, 49, 78, 0.08);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  -webkit-tap-highlight-color: transparent;
  animation: menu-float-drift 18s ease-in-out infinite;
  transition:
    box-shadow 0.55s var(--ease-calm),
    transform 0.55s var(--ease-calm);
}

.menu-float-btn__gloss {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 70% 55% at 32% 16%,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.1) 45%,
    transparent 62%
  );
}

.menu-float-btn__rim {
  pointer-events: none;
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.45);
  opacity: 0.85;
}

.menu-float-btn__label {
  position: relative;
  z-index: 1;
}

.menu-float-btn:hover,
.menu-float-btn:focus-visible {
  box-shadow:
    inset 6px 8px 14px rgba(255, 255, 255, 0.72),
    inset -6px -10px 16px rgba(63, 95, 151, 0.09),
    0 14px 32px rgba(63, 95, 151, 0.18),
    0 22px 48px rgba(33, 49, 78, 0.1);
}

.menu-float-btn:focus:not(:focus-visible) {
  outline: none;
}

.menu-float-btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
}

@keyframes menu-float-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -5px, 0);
  }
}

.menu-float-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  flex: none;
  box-sizing: border-box;
  min-width: 0;
  isolation: isolate;
  border-radius: 999px;
  border: 1px solid rgba(63, 95, 151, 0.14);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(248, 252, 255, 0.95) 55%,
    rgba(240, 247, 255, 0.94) 100%
  );
  box-shadow:
    0 12px 36px rgba(63, 95, 151, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

.site-nav--header {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px clamp(6px, 1vw, 12px);
  margin: 0;
  padding: 6px 10px 6px 8px;
  width: max-content;
  max-width: none;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(63, 95, 151, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-navy);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(63, 95, 151, 0.06);
  transition:
    transform var(--motion-slow),
    box-shadow var(--motion-slow),
    background var(--motion-slow),
    color var(--motion-slow),
    border-color var(--motion-slow);
}

.nav-pill--link:hover,
.nav-pill--link:focus-visible {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), #4d6fa8);
  border-color: rgba(63, 95, 151, 0.35);
  box-shadow: 0 6px 18px rgba(63, 95, 151, 0.22);
  transform: translateY(-1px);
}

.nav-pill--link:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.nav-pill--accent {
  color: var(--brand-navy);
  font-weight: 700;
  background: linear-gradient(145deg, #f0dfa0, var(--accent-gold));
  border-color: rgba(229, 185, 75, 0.45);
  box-shadow: 0 4px 14px rgba(229, 185, 75, 0.25);
}

.nav-pill--accent:hover,
.nav-pill--accent:focus-visible {
  color: var(--brand-navy);
  background: linear-gradient(145deg, #f5e8b8, #edd06a);
  border-color: rgba(200, 160, 50, 0.5);
  box-shadow: 0 8px 20px rgba(229, 185, 75, 0.3);
}

.nav-pill__icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

/* Desktop: slide panel open on hover / keyboard focus */
@media (hover: hover) and (pointer: fine) {
  .site-header--pattern .header-top__nav {
    width: max-content;
    max-width: min(calc(100vw - 220px), 860px);
  }

  .menu-float-wrap {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: max-content;
    max-width: none;
  }

  .menu-float-btn {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    min-width: var(--rail-column-width);
    z-index: 2;
  }

  .menu-float-panel {
    position: relative;
    order: 1;
    top: auto;
    right: auto;
    transform: none;
    margin-right: 12px;
    z-index: 1;
  }

  .menu-float-wrap:not(:hover):not(:focus-within) .menu-float-panel {
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-width: 0;
    box-shadow: none;
    background: transparent;
    clip-path: inset(0 100% 0 0 round 999px);
    transition:
      max-width 0.65s var(--ease-calm),
      clip-path 0.65s var(--ease-calm),
      opacity 0.45s ease,
      padding 0.45s ease,
      margin 0.45s ease,
      border-width 0.25s ease,
      box-shadow 0.45s ease,
      background 0.45s ease,
      visibility 0.3s linear;
  }

  .menu-float-wrap:hover .menu-float-panel,
  .menu-float-wrap:focus-within .menu-float-panel {
    max-width: min(calc(100vw - 280px), 720px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: hidden;
    margin-right: 12px;
    padding: 6px 10px 6px 8px;
    border-width: 1px;
    clip-path: inset(0 0 0 0 round 999px);
    box-shadow:
      0 14px 40px rgba(63, 95, 151, 0.14),
      0 4px 16px rgba(33, 49, 78, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition:
      max-width 0.7s var(--ease-calm),
      clip-path 0.72s var(--ease-calm),
      opacity 0.5s ease 0.05s,
      padding 0.5s var(--ease-calm),
      margin 0.5s ease,
      border-width 0.25s ease,
      box-shadow 0.5s ease,
      background 0.5s ease,
      visibility 0s linear;
  }

  .menu-float-wrap:not(:hover):not(:focus-within) .menu-float-panel .site-nav a {
    opacity: 0;
    transform: translate3d(-12px, 0, 0);
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
  }

  .menu-float-wrap:hover .menu-float-panel .site-nav a,
  .menu-float-wrap:focus-within .menu-float-panel .site-nav a {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
      opacity 0.55s var(--ease-calm),
      transform 0.6s var(--ease-calm),
      box-shadow var(--motion-slow),
      background var(--motion-slow),
      color var(--motion-slow),
      border-color var(--motion-slow);
  }

  .menu-float-wrap:hover .menu-float-panel .site-nav a:nth-child(1),
  .menu-float-wrap:focus-within .menu-float-panel .site-nav a:nth-child(1) {
    transition-delay: 0.04s;
  }

  .menu-float-wrap:hover .menu-float-panel .site-nav a:nth-child(2),
  .menu-float-wrap:focus-within .menu-float-panel .site-nav a:nth-child(2) {
    transition-delay: 0.1s;
  }

  .menu-float-wrap:hover .menu-float-panel .site-nav a:nth-child(3),
  .menu-float-wrap:focus-within .menu-float-panel .site-nav a:nth-child(3) {
    transition-delay: 0.16s;
  }

  .menu-float-wrap:hover .menu-float-panel .site-nav a:nth-child(4),
  .menu-float-wrap:focus-within .menu-float-panel .site-nav a:nth-child(4) {
    transition-delay: 0.22s;
  }

  .menu-float-wrap:hover .menu-float-panel .site-nav a:nth-child(5),
  .menu-float-wrap:focus-within .menu-float-panel .site-nav a:nth-child(5) {
    transition-delay: 0.28s;
  }
}

/* Touch: tap Menu to open dropdown */
@media (hover: none) {
  .menu-float-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 50;
    display: none;
    width: min(94vw, 320px);
    border-radius: 20px;
  }

  .menu-float-panel.is-open {
    display: block;
    max-width: none;
    opacity: 1;
    visibility: visible;
    margin-left: 0;
    padding: 12px;
  }

  .menu-float-wrap {
    position: relative;
  }

  .site-nav--header {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0;
  }

  .site-nav--header .nav-pill {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-float-btn {
    animation: none !important;
  }

  .menu-float-wrap:not(:hover):not(:focus-within) .menu-float-panel,
  .menu-float-wrap:hover .menu-float-panel,
  .menu-float-wrap:focus-within .menu-float-panel {
    transition: none;
  }

  .menu-float-wrap:not(:hover):not(:focus-within) .menu-float-panel .site-nav a {
    opacity: 0;
    transform: none;
  }

  .menu-float-wrap:hover .menu-float-panel .site-nav a,
  .menu-float-wrap:focus-within .menu-float-panel .site-nav a {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s !important;
  }
}

.menu-cloud-wrap {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 2px 12px rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  max-width: 100%;
}

.site-header--pattern .menu-cloud-wrap {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.cloud-menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  color: inherit;
}

.cloud-menu-btn:focus:not(:focus-visible) {
  outline: none;
}

.cloud-menu-btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
  border-radius: 12px;
}

.cloud-menu-btn__lead {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3d4450;
  flex-shrink: 0;
  margin-right: -5px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(22, 24, 29, 0.22);
}

.cloud-menu-btn__mid {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cloud-menu-btn__cloud {
  display: block;
  width: 118px;
  height: 44px;
  background: #3d4450;
  border-radius: 46% 52% 48% 54% / 52% 48% 52% 48%;
  box-shadow:
    -24px 9px 0 -11px #3d4450,
    24px 7px 0 -12px #3d4450,
    -10px -13px 0 -6px #3d4450,
    18px -11px 0 -8px #3d4450,
    0 12px 28px rgba(22, 24, 29, 0.28);
}

.cloud-menu-btn:hover .cloud-menu-btn__cloud,
.cloud-menu-btn:focus-visible .cloud-menu-btn__cloud {
  filter: brightness(1.07);
}

.cloud-menu-btn__label {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.menu-cloud-panel {
  position: relative;
  flex: 0 1 auto;
  box-sizing: border-box;
  min-width: 0;
  isolation: isolate;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 154, 0.18);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 252, 255, 0.98) 55%, rgba(240, 249, 255, 0.97) 100%);
}

.menu-cloud-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(147, 197, 253, 0.18) 45%,
    rgba(56, 189, 248, 0.22) 50%,
    rgba(147, 197, 253, 0.18) 55%,
    transparent 100%
  );
  mix-blend-mode: multiply;
}

.menu-cloud-panel .site-nav {
  position: relative;
  z-index: 1;
}

/* Pointer / hover: collapse by default; smooth horizontal reveal on hover or keyboard focus */
@media (hover: hover) and (pointer: fine) {
  .menu-cloud-wrap:not(:hover):not(:focus-within) .menu-cloud-panel {
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-width: 0;
    box-shadow: none;
    background: transparent;
    clip-path: inset(0 100% 0 0 round 16px);
    transition:
      max-width 0.48s cubic-bezier(0.25, 0.8, 0.25, 1),
      clip-path 0.48s cubic-bezier(0.25, 0.8, 0.25, 1),
      opacity 0.32s ease,
      padding 0.32s ease,
      margin 0.32s ease,
      border-width 0.2s ease,
      box-shadow 0.32s ease,
      background 0.32s ease,
      visibility 0.25s linear;
  }

  .menu-cloud-wrap:not(:hover):not(:focus-within) .menu-cloud-panel::before {
    opacity: 0;
  }

  .menu-cloud-wrap:hover .menu-cloud-panel,
  .menu-cloud-wrap:focus-within .menu-cloud-panel {
    max-width: min(92vw, 680px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    margin-left: 10px;
    padding: 6px 10px 7px;
    border-width: 1px;
    clip-path: inset(0 0 0 0 round 16px);
    box-shadow:
      0 16px 40px rgba(37, 99, 154, 0.16),
      0 4px 16px rgba(22, 24, 29, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 252, 255, 0.98) 55%, rgba(240, 249, 255, 0.97) 100%);
    transition:
      max-width 0.48s cubic-bezier(0.25, 0.8, 0.25, 1),
      clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.38s ease 0.04s,
      padding 0.36s cubic-bezier(0.25, 0.8, 0.25, 1),
      margin 0.36s ease,
      border-width 0.2s ease,
      box-shadow 0.4s ease,
      background 0.4s ease,
      visibility 0s linear;
  }

  .menu-cloud-wrap:not(:hover):not(:focus-within) .menu-cloud-panel .site-nav a {
    opacity: 0;
    transform: translate3d(-10px, 0, 0);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease;
  }

  .menu-cloud-wrap:hover .menu-cloud-panel .site-nav a,
  .menu-cloud-wrap:focus-within .menu-cloud-panel .site-nav a {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
      opacity 0.38s ease,
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.2s ease,
      background 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease;
  }

  .menu-cloud-wrap:hover .menu-cloud-panel .site-nav a:nth-child(1),
  .menu-cloud-wrap:focus-within .menu-cloud-panel .site-nav a:nth-child(1) {
    transition-delay: 0.03s;
  }

  .menu-cloud-wrap:hover .menu-cloud-panel .site-nav a:nth-child(2),
  .menu-cloud-wrap:focus-within .menu-cloud-panel .site-nav a:nth-child(2) {
    transition-delay: 0.07s;
  }

  .menu-cloud-wrap:hover .menu-cloud-panel .site-nav a:nth-child(3),
  .menu-cloud-wrap:focus-within .menu-cloud-panel .site-nav a:nth-child(3) {
    transition-delay: 0.11s;
  }

  .menu-cloud-wrap:hover .menu-cloud-panel .site-nav a:nth-child(4),
  .menu-cloud-wrap:focus-within .menu-cloud-panel .site-nav a:nth-child(4) {
    transition-delay: 0.15s;
  }

  .menu-cloud-wrap:hover .menu-cloud-panel .site-nav a:nth-child(5),
  .menu-cloud-wrap:focus-within .menu-cloud-panel .site-nav a:nth-child(5) {
    transition-delay: 0.19s;
  }

  @media (prefers-reduced-motion: reduce) {
    .menu-cloud-wrap:not(:hover):not(:focus-within) .menu-cloud-panel,
    .menu-cloud-wrap:hover .menu-cloud-panel,
    .menu-cloud-wrap:focus-within .menu-cloud-panel {
      transition: none;
    }

    .menu-cloud-wrap:not(:hover):not(:focus-within) .menu-cloud-panel .site-nav a {
      opacity: 0;
      transform: none;
    }

    .menu-cloud-wrap:hover .menu-cloud-panel .site-nav a,
    .menu-cloud-wrap:focus-within .menu-cloud-panel .site-nav a {
      opacity: 1;
      transform: none;
      transition: none;
      transition-delay: 0s !important;
    }
  }
}

/* Touch / coarse: keep menu readable without hover */
@media (hover: none) {
  .menu-cloud-panel {
    max-width: min(94vw, 680px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-left: 10px;
    padding: 6px 10px 7px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    clip-path: inset(0 0 0 0 round 16px);
    box-shadow:
      0 16px 40px rgba(37, 99, 154, 0.16),
      0 4px 16px rgba(22, 24, 29, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

/* Phones only: compact header */
@media (max-width: 767px) {
  .site-header--pattern .brand-name {
    font-size: clamp(1.2rem, 5.2vw, 1.72rem);
  }

  .site-header--pattern .brand-sub {
    font-size: clamp(0.55rem, 2vw, 0.7rem);
    letter-spacing: 0.1em;
  }

  .header-shell {
    width: 100%;
    max-width: 100%;
  }

  .header-top {
    padding-right: 132px;
  }

  .brand.brand--full {
    max-width: calc(100% - 132px);
  }

  :root {
    --rail-align-inset: max(6px, env(safe-area-inset-right, 0px));
    --rail-column-right: calc(
      ((100vw - min(1200px, 100vw)) / 2 + var(--rail-align-inset)) * 0.7
    );
  }

  .hero-lang-rail {
    top: 6px;
    right: var(--rail-column-right);
    width: var(--rail-column-width);
  }

  .lang-stack--hero {
    gap: 8px;
  }
}

.site-header--pattern .menu-cloud-panel .site-nav--pattern {
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 6px clamp(6px, 1.2vw, 12px);
  margin: 0;
  padding: 0;
  width: max-content;
  max-width: none;
}

.site-header--pattern .menu-cloud-panel .nav-link.nav-link--btn {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
  box-sizing: border-box;
  justify-content: center;
}

.site-header--pattern .nav-link.nav-link--home {
  gap: 7px;
}

.site-header--pattern .nav-link--home .nav-link__icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin-top: 1px;
}

.site-header--pattern .nav-link.nav-link--btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(37, 99, 154, 0.28);
  box-shadow:
    0 3px 12px rgba(37, 99, 154, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  text-decoration: none;
  color: #1a2d42;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.site-header--pattern .nav-link.nav-link--btn:hover {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), #3a7ab8);
  border-color: rgba(37, 99, 154, 0.45);
  box-shadow:
    0 7px 20px rgba(37, 99, 154, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.site-header--pattern .nav-link.nav-link--btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.site-header--pattern .nav-link.nav-link--btn:focus:not(:focus-visible) {
  outline: none;
}

.site-header--pattern .nav-link.nav-link--btn--quote {
  color: #142434;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(145deg, #e8c96b, #f0d890);
  border-color: rgba(200, 165, 60, 0.45);
  box-shadow:
    0 4px 16px rgba(200, 170, 70, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.site-header--pattern .nav-link.nav-link--btn--quote:hover {
  color: #0f1a28;
  background: linear-gradient(145deg, #f2d57a, #f8ebb0);
  border-color: rgba(180, 140, 40, 0.55);
  box-shadow:
    0 8px 22px rgba(200, 170, 70, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.site-header--pattern .nav-link.nav-link--btn--quote:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 3px;
}

.hero-lang-rail .lang-pill {
  color: var(--brand-blue);
  background: #fff;
  border: 2px solid rgba(63, 95, 151, 0.24);
  box-shadow:
    0 4px 12px rgba(63, 95, 151, 0.1),
    0 2px 8px rgba(33, 49, 78, 0.05);
}

.hero-lang-rail .lang-pill:hover {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.hero-lang-rail .lang-pill--current {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), #4d6fa8);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(63, 95, 151, 0.28);
}

.hero-lang-rail .lang-pill--expand.lang-pill--current .lang-pill__long,
.hero-lang-rail .lang-pill--expand.lang-pill--current .lang-pill__short {
  color: #fff;
}



.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.site-nav--cloud {
  justify-content: center;
  padding: 6px 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 247, 249, 0.92);
  text-decoration: none;
  font-size: 1.0625rem;
}

.nav-link:hover {
  color: #fff;
}

.nav-accent {
  font-weight: 600;
}

.nav-rule {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(246, 247, 249, 0.38);
  box-shadow:
    7px 0 0 rgba(246, 247, 249, 0.38),
    14px 0 0 rgba(246, 247, 249, 0.38);
}

.hero {
  position: relative;
  min-height: min(72vh, 760px);
  overflow: hidden;
  background: var(--sky-light);
}

.hero-track {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 640ms ease,
    visibility 640ms;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide--mist {
  background:
    radial-gradient(1200px 520px at 12% 88%, rgba(255, 255, 255, 0.72), transparent 58%),
    linear-gradient(135deg, #dfeaf6 0%, #bcd6ee 38%, #8fb9dc 72%, #6ea6cf 100%);
}

.hero-slide--photo {
  background-color: var(--brand-slate);
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(22, 24, 29, 0.08), rgba(22, 24, 29, 0.42));
}

.hero-slide--mist .hero-overlay {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.15), rgba(47, 108, 171, 0.22));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: inherit;
  padding: clamp(24px, 5vw, 64px);
}

.hero-bubble {
  width: min(440px, 92vw);
  padding: clamp(24px, 4vw, 36px);
  background: rgba(253, 253, 253, 0.94);
  border-radius: 52% 48% 56% 44% / 44% 54% 46% 56%;
  box-shadow: var(--shadow-soft);
}

.hero-tagline {
  margin: 0;
  font-size: clamp(1.22rem, 2.5vw, 1.55rem);
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  box-shadow: 0 10px 26px rgba(37, 99, 154, 0.38);
}

.hero-cta:hover {
  filter: brightness(1.03);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.hero-arrow:hover {
  background: #fff;
}

.hero-arrow--prev {
  left: clamp(12px, 3vw, 28px);
}

.hero-arrow--next {
  right: clamp(12px, 3vw, 28px);
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-intro {
  background: var(--surface);
}

.section-rule {
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent,
    rgba(61, 68, 82, 0.46) 18%,
    rgba(61, 68, 82, 0.46) 82%,
    transparent
  );
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section-muted {
  background: linear-gradient(180deg, #e2ebf6 0%, #f4f8fc 100%);
}

.section-accent-edge {
  border-block: 1px solid rgba(61, 68, 82, 0.17);
  background:
    radial-gradient(900px 280px at 0% 0%, rgba(244, 192, 37, 0.08), transparent 62%),
    var(--surface);
}

.section-contact-cloud {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 9vw, 104px) 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.9) 0%, transparent 55%),
    linear-gradient(185deg, #d9ecfa 0%, #eef6fc 42%, #f8fbfe 100%);
}

.contact-cloud-sky {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.contact-cloud-sky__puff {
  position: absolute;
  border-radius: 50%;
  animation: contact-sky-drift 32s ease-in-out infinite;
}

.contact-cloud-sky__puff--a {
  width: min(85vw, 540px);
  height: min(52vw, 340px);
  left: -18%;
  top: 4%;
  background: radial-gradient(ellipse 72% 58% at 38% 40%, rgba(255, 255, 255, 0.98) 0%, rgba(220, 236, 250, 0.45) 52%, transparent 72%);
  opacity: 0.92;
}

.contact-cloud-sky__puff--b {
  width: min(70vw, 420px);
  height: min(44vw, 280px);
  right: -14%;
  top: 28%;
  background: radial-gradient(ellipse 68% 55% at 62% 48%, rgba(255, 255, 255, 0.94) 0%, rgba(200, 228, 248, 0.38) 48%, transparent 70%);
  opacity: 0.88;
  animation-delay: -10s;
  animation-duration: 26s;
}

.contact-cloud-sky__puff--c {
  width: min(55vw, 320px);
  height: min(36vw, 220px);
  left: 22%;
  bottom: -6%;
  background: radial-gradient(ellipse 65% 60% at 50% 55%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.2) 55%, transparent 72%);
  opacity: 0.65;
  animation-delay: -5s;
  animation-duration: 36s;
}

@keyframes contact-sky-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  45% {
    transform: translate(2.5%, -3%) scale(1.03);
  }

  70% {
    transform: translate(-1.5%, 2%) scale(0.98);
  }
}

.contact-cloud-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin-inline: auto;
}

.contact-cloud-head {
  text-align: center;
  margin: 0 0 clamp(28px, 5vw, 44px);
}

.contact-cloud-h {
  margin: 0 0 14px;
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  letter-spacing: -0.02em;
  background: linear-gradient(118deg, #122f4a 8%, var(--brand-blue) 48%, #2f6a9e 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-cloud-sub {
  margin: 0 auto;
  max-width: 48ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--brand-slate);
}

.contact-cloud-bubbles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3.5vw, 28px);
  align-items: stretch;
}

.contact-bubble {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 200px;
  padding: clamp(26px, 5vw, 38px) clamp(20px, 4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 52% 48% 51% 49% / 60% 58% 42% 44%;
  box-shadow:
    0 6px 28px rgba(37, 99, 154, 0.12),
    0 20px 50px rgba(22, 45, 72, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.85),
    inset 0 -8px 24px rgba(37, 99, 154, 0.05);
  transform: translateZ(0);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
  animation: contact-bubble-float 9s ease-in-out infinite;
}

.contact-bubble:nth-child(2) {
  animation-delay: -2.2s;
  border-radius: 48% 52% 49% 51% / 56% 44% 58% 42%;
}

@keyframes contact-bubble-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.contact-bubble--phone {
  background:
    radial-gradient(ellipse 90% 75% at 30% 18%, rgba(255, 255, 255, 0.98) 0%, transparent 58%),
    radial-gradient(ellipse 80% 70% at 80% 85%, rgba(56, 189, 248, 0.14) 0%, transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f0f7fd 55%, #e3eef8 100%);
}

.contact-bubble--mail {
  background:
    radial-gradient(ellipse 88% 72% at 72% 22%, rgba(255, 255, 255, 0.96) 0%, transparent 58%),
    radial-gradient(ellipse 70% 60% at 15% 80%, rgba(244, 192, 37, 0.1) 0%, transparent 55%),
    linear-gradient(195deg, #ffffff 0%, #f5f9fd 50%, #e8f2fb 100%);
}

.contact-bubble__gloss {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 75% 55% at 30% 12%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.15) 38%, transparent 58%);
  z-index: 1;
  opacity: 0.85;
}

.contact-bubble__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  height: 100%;
}

.contact-bubble__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(37, 99, 154, 0.2), rgba(37, 99, 154, 0.06));
  color: var(--brand-blue);
  box-shadow:
    0 6px 16px rgba(37, 99, 154, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.contact-bubble__svg {
  display: block;
}

.contact-bubble__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}

.contact-bubble__value {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--sky-deep);
  word-break: break-word;
}

.contact-bubble:hover {
  animation-play-state: paused;
  transform: translateY(-10px);
  box-shadow:
    0 12px 36px rgba(37, 99, 154, 0.18),
    0 28px 60px rgba(22, 45, 72, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -6px 20px rgba(37, 99, 154, 0.06);
  border-color: rgba(37, 99, 154, 0.2);
}

.contact-bubble:hover .contact-bubble__icon-wrap {
  transform: scale(1.06);
  box-shadow:
    0 10px 24px rgba(37, 99, 154, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-bubble:focus {
  outline: none;
}

.contact-bubble:focus-visible {
  outline: 3px solid rgba(37, 99, 154, 0.45);
  outline-offset: 4px;
}

.contact-cloud-foot {
  margin-top: clamp(28px, 5vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  justify-content: center;
  align-items: center;
  padding: clamp(18px, 3vw, 26px) clamp(20px, 4vw, 32px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(37, 99, 154, 0.2);
  box-shadow:
    0 8px 32px rgba(37, 99, 154, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

@media (max-width: 767px) {
  .contact-cloud-bubbles {
    grid-template-columns: 1fr;
  }

  .contact-bubble {
    min-height: 0;
    border-radius: 36px;
    animation: none;
  }

  .contact-bubble:hover {
    animation-play-state: paused;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-cloud-sky__puff {
    animation: none;
  }

  .contact-bubble {
    animation: none;
  }

  .contact-bubble:hover {
    transform: none;
  }
}

.section-quote {
  background: var(--panel);
}

.section-title {
  margin: 0 0 18px;
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  color: var(--brand-navy);
}

.lead {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-slate);
}

.body {
  margin: 0;
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tile {
  padding: 22px 22px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(61, 68, 82, 0.13);
  box-shadow: 0 12px 36px rgba(22, 24, 29, 0.09);
}

.tile-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.tile-text {
  margin: 0;
  color: var(--ink-soft);
}

.quote-form {
  margin-top: 22px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.field-span {
  grid-column: 1 / -1;
}

.field span {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(61, 68, 82, 0.24);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  background: #fff;
  color: var(--ink);
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--brand-blue) 50%),
    linear-gradient(135deg, var(--brand-blue) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--highlight-soft);
  border-color: var(--sky-deep);
}

.field .req {
  color: #c0392b;
  text-decoration: none;
  font-weight: 700;
}

.field-check .field-check__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(61, 68, 82, 0.18);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.45;
}

.field-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--sky-deep);
  cursor: pointer;
}

.field-check--terms .field-check__row a {
  color: var(--sky-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.file-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(47, 80, 130, 0.35);
  background: rgba(255, 255, 255, 0.92);
}

.file-upload__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(47, 80, 130, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(234, 245, 255, 0.92));
  color: var(--sky-deep);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform var(--motion-slow),
    box-shadow var(--motion-slow),
    border-color var(--motion-slow);
}

.file-upload__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 80, 130, 0.5);
  box-shadow: 0 4px 14px rgba(37, 99, 154, 0.12);
}

.file-upload__name {
  flex: 1 1 160px;
  min-width: 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  word-break: break-word;
}

.file-upload__name--selected {
  color: var(--ink);
  font-weight: 600;
}

.file-upload__types,
.file-upload__note {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.file-upload__types {
  color: var(--ink-soft);
}

.file-upload__note {
  color: var(--brand-slate);
  font-weight: 600;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  cursor: pointer;
  border: none;
}

.submit-btn:disabled,
.submit-btn.is-loading {
  cursor: wait;
  opacity: 0.82;
}

.form-feedback--success {
  color: #1f5a38;
  font-weight: 600;
}

.form-feedback--error {
  color: #8b2e2e;
  font-weight: 600;
}

.form-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.submit-btn:hover {
  filter: brightness(1.03);
}

.form-feedback {
  margin: 0;
  font-size: 1rem;
  color: var(--brand-slate);
}

/* --- Reference layout: split main + circular CTA sidebar --- */
.split-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 28px;
  width: min(1200px, calc(100% - clamp(40px, 8vw, 96px)));
  margin: 0 auto;
  padding: 0 0 40px;
  align-items: start;
}

.split-page__main {
  min-width: 0;
}

.split-page__aside {
  position: relative;
  top: auto;
  max-width: 420px;
  margin-inline: auto;
}

.section-paper {
  background: #fff;
}

.section-intro.section-paper {
  padding-top: clamp(36px, 6vw, 56px);
}

.section-rule--dotted {
  height: 0;
  margin-bottom: 20px;
  border-bottom: 1px dotted rgba(61, 68, 82, 0.45);
  background: none;
}

.section-title--page {
  margin-bottom: 16px;
}

.title-dotted {
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px dotted rgba(26, 40, 56, 0.5);
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  font-weight: 600;
  color: var(--brand-navy);
}

.service-rows {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(140px, 300px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #eef1f5;
}

.service-row__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-navy);
  text-decoration: none;
}

.service-row__title:hover {
  color: var(--brand-blue);
}

.service-row__text {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.appreciate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px clamp(24px, 5vw, 48px);
}

.appreciate-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.appreciate-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #444444;
  font-size: 1.0625rem;
}

.appreciate-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border: 1px solid #999999;
  border-radius: 50%;
  background:
    linear-gradient(#999999, #999999) center/1px 9px no-repeat,
    linear-gradient(#999999, #999999) center/9px 1px no-repeat;
}

/* References — logo wall on open field (no boxes); mono marks + soft float shadows */
.section-references.section-paper {
  background: #f3f1ec;
}

.section-references {
  background-color: #f3f1ec;
}

.references-block {
  position: relative;
}

.references-tag {
  display: inline-block;
  padding: 7px 14px;
  margin-bottom: clamp(22px, 4vw, 40px);
  background: transparent;
  color: var(--brand-blue);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  border-bottom: 2px solid rgba(37, 99, 154, 0.28);
}

.ref-logo-wall {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(32px, 7vw, 64px);
  padding: clamp(8px, 2vw, 24px) 0 clamp(12px, 2.5vw, 28px);
}

.ref-logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(36px, 7vw, 72px) clamp(28px, 5vw, 56px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ref-logo-cell {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ref-logo-chip {
  margin: 0;
  padding: clamp(8px, 2vw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(272px, 46vw);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ref-logo-chip__img {
  display: block;
  width: 100%;
  max-width: min(252px, 42vw);
  height: auto;
  object-fit: contain;
  opacity: 0.94;
  /* Monochrome + airy depth (no card behind the mark) */
  filter:
    grayscale(1)
    brightness(0.42)
    contrast(1.06)
    drop-shadow(0 10px 22px rgba(22, 20, 18, 0.06))
    drop-shadow(0 3px 8px rgba(22, 20, 18, 0.04));
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s ease,
    opacity 0.38s ease;
}

.ref-logo-cell:hover .ref-logo-chip__img {
  opacity: 1;
  transform: translateY(-4px) scale(1.02);
  filter:
    grayscale(1)
    brightness(0.36)
    contrast(1.08)
    drop-shadow(0 22px 44px rgba(22, 20, 18, 0.08))
    drop-shadow(0 8px 16px rgba(22, 20, 18, 0.05));
}

.ref-logo-cell:hover .ref-logo-chip {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .ref-logo-chip,
  .ref-logo-chip__img {
    transition-duration: 0.01ms;
  }

  .ref-logo-cell:hover .ref-logo-chip__img {
    transform: none;
  }

  .ref-logo-cell:hover .ref-logo-chip {
    transform: none;
  }
}

/* Safari / older browsers: grayscale on raster may need explicit filter support */
@supports not (filter: grayscale(1)) {
  .ref-logo-chip__img {
    opacity: 0.86;
    filter: none;
  }
}

/* Overlapping circular CTAs (reference site) */
.cta-stack-wrap {
  padding: 4px 0 20px;
}

.cta-stack {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.cta-stack__dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 4px 10px rgba(37, 99, 154, 0.45);
  left: 8px;
  top: 46%;
  z-index: 6;
}

.cta-circle {
  box-sizing: border-box;
}

.cta-circle--contact {
  width: 276px;
  height: 276px;
  margin: 0 auto;
  padding: 28px 22px;
  border-radius: 50%;
  background: #ececec;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--brand-navy);
  position: relative;
  z-index: 2;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
}

.cta-circle__h {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.cta-circle__p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.45;
  color: #454b54;
}

.cta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin: 3px 0;
}

.cta-line:hover {
  text-decoration: underline;
}

.cta-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.cta-circle--quote {
  width: 296px;
  height: 296px;
  margin: -76px auto 0;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 4;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  padding: 32px;
  box-shadow: 0 22px 52px rgba(37, 99, 154, 0.38);
}

.cta-circle--quote:hover {
  filter: brightness(1.06);
}

.cta-circle--links {
  width: 258px;
  min-height: 232px;
  margin: -68px auto 0;
  border-radius: 50%;
  background: #e8e8e8;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.cta-circle--links a {
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.cta-circle--links a:hover {
  color: var(--brand-blue);
}

.site-footer {
  padding: 22px 0 32px;
  background: #eeeeee;
  color: #2c3238;
}

.footer-inner {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
}

.footer-logo .brand-wordmark {
  font-size: 1.32rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.footer-logo .brand-wordmark__text {
  color: inherit;
  text-shadow:
    0 1px 0 rgba(120, 170, 220, 0.45),
    0 2px 0 rgba(22, 60, 100, 0.22),
    0 4px 5px rgba(18, 50, 82, 0.2);
}

.footer-tag {
  font-size: 1rem;
  color: #4f5862;
}

.footer-line {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #434b54;
}

.footer-sep {
  margin: 0 6px;
  color: #9aa3ad;
}

.footer-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .split-page__aside {
    max-width: 100%;
  }

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

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

  .cta-circle--contact,
  .cta-circle--quote,
  .cta-circle--links {
    width: min(92vw, 280px);
    height: auto;
    min-height: 240px;
    aspect-ratio: 1;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-circle--quote {
    margin-top: -48px;
    width: min(94vw, 296px);
  }

  .cta-circle--links {
    margin-top: -40px;
    min-height: 200px;
  }

  .cta-stack__dot {
    left: 50%;
    margin-left: -140px;
    top: 42%;
  }

  .cta-banner__wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-banner__actions {
    justify-content: center;
    width: 100%;
  }

  .cta-banner__actions .btn-pill {
    flex: 1 1 auto;
    min-width: min(100%, 240px);
  }

  .hero-cta-strip__inner .btn-pill {
    flex: 1 1 auto;
    min-width: min(100%, 240px);
    justify-content: center;
  }

  .about-panel__text {
    font-size: clamp(1rem, 3.8vw, 1.08rem);
  }

  .section-heading {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner__text {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .nav-rule {
    display: none;
  }

  .hero-inner {
    justify-content: center;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }
}

/* --- Reference layout: landing + services grid + why + about (blue / Alto) --- */
.hero-front {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--site-header-height));
  min-height: calc(100svh - var(--site-header-height));
}

.hero-pattern {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 100% 80% at 100% 20%, rgba(147, 181, 220, 0.2), transparent 55%),
    radial-gradient(ellipse 85% 70% at 0% 100%, rgba(63, 95, 151, 0.12), transparent 52%),
    linear-gradient(118deg, #f7fafd 0%, #f0f6fc 28%, #e8f0f8 72%, #e2ebf5 100%);
  padding: clamp(24px, 4vh, 48px) 0 clamp(16px, 3vh, 32px) var(--hero-pad-inline);
  cursor: default;
}

.hero-pattern--full {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

/* Hero background video (replaces canvas / SVG scene animation) */
.hero-pattern--video {
  background: #e8f0f8;
}

.hero-pattern__media {
  pointer-events: auto;
  cursor: pointer;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.hero-pattern__media:focus {
  outline: none;
}

.hero-pattern__media:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: -3px;
}

.hero-pattern__media .hero-pattern__video {
  pointer-events: none;
}

.hero-pattern__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.4s var(--ease-calm);
}

.hero-pattern__video.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-pattern__veil {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(247, 250, 253, 0.72) 0%, rgba(247, 250, 253, 0.38) 32%, rgba(232, 240, 250, 0.42) 100%),
    linear-gradient(105deg, rgba(255, 255, 255, 0.55) 0%, transparent 48%),
    radial-gradient(ellipse 90% 70% at 18% 40%, rgba(255, 255, 255, 0.35), transparent 58%);
}

.hero-pattern--video .hero-pattern__veil {
  background:
    linear-gradient(180deg, rgba(247, 250, 253, 0.84) 0%, rgba(247, 250, 253, 0.54) 34%, rgba(232, 240, 250, 0.58) 100%),
    linear-gradient(105deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.22) 50%, transparent 62%),
    radial-gradient(ellipse 88% 68% at 18% 40%, rgba(255, 255, 255, 0.5), transparent 56%);
}

.hero-pattern--video .hero-pattern__inner {
  position: relative;
  z-index: 6;
}

.hero-pattern--video .hero-lang-rail {
  position: absolute;
  z-index: 7;
}

@media (prefers-reduced-motion: reduce) {
  .hero-pattern__video:not(.is-active) {
    display: none;
  }

  .hero-pattern__video.is-active {
    opacity: 1;
  }

  .hero-pattern--video .hero-pattern__media {
    background:
      radial-gradient(ellipse 100% 80% at 100% 20%, rgba(147, 181, 220, 0.2), transparent 55%),
      radial-gradient(ellipse 85% 70% at 0% 100%, rgba(63, 95, 151, 0.12), transparent 52%),
      linear-gradient(118deg, #f7fafd 0%, #f0f6fc 28%, #e8f0f8 72%, #e2ebf5 100%);
  }
}

.hero-pattern__ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-pattern__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(68px);
  opacity: 0.42;
  animation: heroOrbFloat 52s ease-in-out infinite alternate;
}

.hero-pattern__orb--a {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: -8%;
  right: 5%;
  background: radial-gradient(circle, rgba(147, 181, 220, 0.55) 0%, rgba(63, 95, 151, 0.25) 55%, transparent 70%);
  animation-delay: 0s;
}

.hero-pattern__orb--b {
  width: min(45vw, 380px);
  height: min(45vw, 380px);
  bottom: -12%;
  right: 25%;
  background: radial-gradient(circle, rgba(115, 129, 143, 0.35) 0%, rgba(63, 95, 151, 0.2) 50%, transparent 68%);
  animation-delay: -12s;
  animation-duration: 58s;
}

.hero-pattern__orb--c {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  top: 35%;
  right: 40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(147, 181, 220, 0.22) 60%, transparent 72%);
  animation-delay: -22s;
  animation-duration: 48s;
}

@keyframes heroOrbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-2%, 2.5%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pattern__orb,
  .lang-stack--hero .lang-pill,
  .hero-letters,
  .hero-letters .hl-char,
  .hero-letters .hl-path {
    animation: none !important;
  }

  .hero-pattern__orb {
    opacity: 0.35;
  }

  .hero-pattern__copy--glass {
    transform: none;
  }
}

.hero-pattern .hero-pattern__inner.wrap {
  width: min(1200px, calc(100% - var(--hero-pad-inline) - var(--hero-pad-inline)));
  padding-right: var(--hero-pad-inline);
  box-sizing: border-box;
}

.hero-pattern__inner {
  position: relative;
  z-index: 6;
  cursor: default;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
}

.hero-pattern .hero-pattern__copy--glass {
  justify-self: start;
}

.hero-pattern .hero-pattern__art {
  justify-self: center;
}

/** Language switcher — same vertical column / right edge as Menu */
.hero-lang-rail {
  position: absolute;
  top: clamp(6px, 1.2vw, 18px);
  right: var(--rail-column-right);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: var(--rail-column-width);
  margin: 0;
  pointer-events: none;
}

.hero-lang-rail .lang-stack {
  pointer-events: auto;
  align-items: flex-end;
  width: 100%;
}

.lang-stack--hero {
  gap: 11px;
}

.lang-stack--hero .lang-pill {
  animation: heroLangFloat 9s ease-in-out infinite;
}

.lang-stack--hero .lang-pill:nth-child(2) {
  animation-delay: -2.2s;
}

.lang-stack--hero .lang-pill:nth-child(3) {
  animation-delay: -4.4s;
}

.lang-stack--hero .lang-pill:nth-child(4) {
  animation-delay: -6.2s;
}

@keyframes heroLangFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hero-pattern__inner a.btn-pill {
  cursor: pointer;
}

.hero-pattern__copy--glass {
  padding: clamp(24px, 4.2vw, 38px) clamp(24px, 3.6vw, 34px);
  max-width: 40rem;
  border-radius: clamp(22px, 3.2vw, 30px);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(234, 245, 255, 0.52) 45%,
      rgba(219, 236, 252, 0.46) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow:
    0 0 0 1px rgba(37, 99, 154, 0.16),
    0 2px 2px rgba(255, 255, 255, 0.8) inset,
    0 12px 24px rgba(255, 255, 255, 0.18) inset,
    0 -4px 14px rgba(37, 99, 154, 0.08) inset,
    0 5px 0 rgba(229, 240, 250, 0.55),
    0 7px 0 rgba(218, 233, 248, 0.42),
    0 40px 68px rgba(37, 99, 154, 0.17),
    0 16px 36px rgba(15, 40, 72, 0.12),
    0 10px 22px rgba(37, 99, 154, 0.1),
    0 2px 8px rgba(14, 32, 55, 0.07);
  transform: translateY(-4px) perspective(1200px) rotateX(0.35deg);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}

.hero-pattern__eyebrow {
  margin: 0 0 12px;
  padding: 0;
  font-size: 0.9575rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #0a0d12;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.88),
    0 0 1px rgba(255, 255, 255, 0.55);
}

.hero-pattern__title {
  margin: 0 0 14px;
  font-size: clamp(2.35rem, 4.85vw, 3.28rem);
  font-weight: 700;
  line-height: 1.11;
  color: #243f6b;
  letter-spacing: -0.024em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    0 2px 8px rgba(255, 255, 255, 0.55),
    0 6px 18px rgba(22, 45, 72, 0.14);
}

.hero-pattern__sub {
  margin: 0;
  max-width: 42ch;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1.54;
  font-weight: 600;
  color: #121820;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.8),
    0 0 1px rgba(255, 255, 255, 0.45);
}

.hero-pattern--video .hero-pattern__copy--glass {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.76) 0%,
      rgba(234, 245, 255, 0.7) 45%,
      rgba(219, 236, 252, 0.64) 100%
    );
  border-color: rgba(255, 255, 255, 0.82);
}

.hero-cta-strip {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: clamp(18px, 3vh, 32px) 0;
  background: linear-gradient(180deg, #f2f7fc 0%, #e8f1f9 45%, #dfeaf5 100%);
  border-top: 1px solid rgba(37, 99, 154, 0.08);
  border-bottom: 1px solid rgba(37, 99, 154, 0.1);
}

.hero-cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
}

.hero-pattern__art {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  opacity: 0.82;
}

.hero-letters {
  width: 100%;
  max-width: 400px;
  height: auto;
  opacity: 0.68;
  animation: heroLettersSway 24s ease-in-out infinite alternate;
}

.hero-letters .hl-path {
  stroke-opacity: 0.35;
  animation: heroPathPulse 20s ease-in-out infinite alternate;
}

.hero-letters .hl-node {
  fill: var(--brand-blue);
  opacity: 0.28;
}

.hero-letters .hl-char {
  fill: var(--brand-blue);
  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 600;
  opacity: 0.32;
  animation: heroCharFloat 18s ease-in-out infinite;
}

.hero-letters .hl-sm {
  font-size: 42px;
  opacity: 0.26;
}

.hero-letters .hl-char:nth-child(7) {
  animation-delay: 0s;
}

.hero-letters .hl-char:nth-child(8) {
  animation-delay: -3s;
}

.hero-letters .hl-char:nth-child(9) {
  animation-delay: -6s;
}

.hero-letters .hl-char:nth-child(10) {
  animation-delay: -9s;
}

.hero-letters .hl-char:nth-child(11) {
  animation-delay: -12s;
}

@keyframes heroLettersSway {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}

@keyframes heroPathPulse {
  0% {
    stroke-opacity: 0.22;
  }
  100% {
    stroke-opacity: 0.38;
  }
}

@keyframes heroCharFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.28;
  }
  50% {
    transform: translateY(-6px);
    opacity: 0.36;
  }
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.section-label__bar {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-blue), #6fa8d6);
}

.section-heading {
  margin: 0 0 28px;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 600;
  color: #1a2d42;
}

.section-services {
  position: relative;
  margin-bottom: 0;
  padding: clamp(48px, 8vw, 88px) 0;
  background-color: #eef4f8;
  background-image:
    linear-gradient(
      180deg,
      rgba(247, 250, 252, 0.38) 0%,
      rgba(240, 245, 249, 0.28) 45%,
      rgba(247, 252, 255, 0.42) 100%
    ),
    url("/static/images/services_background/services_backgroundImage.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-services > .wrap > p.section-services-eyebrow {
  justify-content: center;
  margin: 0 0 clamp(20px, 3.5vw, 32px);
}

.section-services .services-stack .section-services-eyebrow {
  justify-content: center;
  margin: 0;
}

/* Services + Other services: same scale, weight, and “badge” treatment */
.section-services .section-services-eyebrow {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.35em;
  column-gap: 12px;
  padding: 0.55em 1.15em 0.55em 0.95em;
  box-sizing: border-box;
  font-size: clamp(1rem, 2.1vw, 1.14rem);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #133954;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(242, 248, 252, 0.92) 100%);
  border: 1px solid rgba(37, 99, 154, 0.14);
  border-radius: 999px;
  box-shadow:
    0 2px 10px rgba(37, 99, 154, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.section-services .section-services-eyebrow .section-label__bar {
  width: 4px;
  height: 1.15em;
  border-radius: 3px;
  background: linear-gradient(180deg, #2b7bc4 0%, var(--brand-blue) 45%, #1a4a72 100%);
  box-shadow: 0 1px 3px rgba(26, 74, 114, 0.25);
}

.services-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(22px, 4vw, 36px);
  max-width: 1100px;
  margin-inline: auto;
  perspective: 1200px;
}

.service-bubbles {
  position: relative;
  z-index: 1;
  width: 100%;
}

.services-stack .service-bubbles--main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 36px);
  align-items: center;
  justify-items: center;
}

.services-stack .service-bubbles--other {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
  justify-items: center;
}

@media (max-width: 767px) {
  .services-stack .service-bubbles--main,
  .services-stack .service-bubbles--other {
    grid-template-columns: 1fr;
  }
}

/* 3D animated orbs — text stays inside the circle */
@keyframes service-orb-float {
  0%,
  100% {
    transform: perspective(900px) rotateX(6deg) translateY(0);
  }

  50% {
    transform: perspective(900px) rotateX(6deg) translateY(-7px);
  }
}

@keyframes service-orb-glint {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 0.85;
  }
}

.section-services .service-bubble--orb {
  container-type: size;
  container-name: service-orb;
  position: relative;
  display: block;
  width: min(100%, 276px);
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.12) 34%, transparent 56%),
    radial-gradient(circle at 72% 78%, rgba(37, 99, 154, 0.14) 0%, transparent 52%),
    linear-gradient(
      165deg,
      rgba(252, 254, 255, 0.38) 0%,
      rgba(226, 240, 250, 0.32) 48%,
      rgba(206, 228, 244, 0.36) 100%
    );
  box-shadow:
    inset 8px 10px 18px rgba(255, 255, 255, 0.55),
    inset -10px -14px 22px rgba(37, 99, 154, 0.1),
    0 16px 36px rgba(37, 99, 154, 0.2),
    0 26px 56px rgba(22, 44, 72, 0.12),
    0 8px 20px rgba(22, 36, 52, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: perspective(900px) rotateX(6deg);
  transform-style: preserve-3d;
  overflow: hidden;
  animation: service-orb-float 9s ease-in-out infinite;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.section-services .service-bubbles--main .service-bubble--orb {
  width: min(100%, 276px);
}

.section-services .service-bubbles--other .service-bubble--orb {
  width: min(100%, 308px);
}

.section-services .service-bubble--orb:nth-child(1) {
  animation-delay: 0s;
}

.section-services .service-bubble--orb:nth-child(2) {
  animation-delay: 0.5s;
}

.section-services .service-bubble--orb:nth-child(3) {
  animation-delay: 1s;
}

.section-services .service-bubbles--other .service-bubble--orb:nth-child(1) {
  animation-delay: 0.15s;
}

.section-services .service-bubbles--other .service-bubble--orb:nth-child(2) {
  animation-delay: 0.65s;
}

.section-services .service-bubble__gloss {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 55% 40% at 32% 18%,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    transparent 58%
  );
  animation: service-orb-glint 7s ease-in-out infinite;
  z-index: 2;
}

.section-services .service-bubble__rim {
  pointer-events: none;
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 8px rgba(37, 99, 154, 0.06);
  z-index: 1;
  opacity: 0.75;
}

.section-services .service-bubble__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding: 9% 8% 9%;
  gap: 0.42rem;
  text-align: center;
  overflow: hidden;
}

.section-services .service-bubble__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(44px, 18cqw);
  height: min(44px, 18cqw);
  flex-shrink: 0;
  margin-bottom: 0.05rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(37, 99, 154, 0.18), rgba(37, 99, 154, 0.06));
  color: var(--brand-blue);
  box-shadow:
    0 4px 10px rgba(37, 99, 154, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-services .service-bubble__title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.02rem, 8.8cqw, 1.42rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: #0f1f31;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}

.section-services .service-bubble__text {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  font-size: clamp(0.84rem, 7.2cqw, 1.08rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: #2a3d50;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
  hyphens: auto;
}

.section-services .service-bubble--soft {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.08) 32%, transparent 52%),
    radial-gradient(circle at 72% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
    linear-gradient(
      195deg,
      rgba(254, 255, 255, 0.4) 0%,
      rgba(238, 246, 252, 0.34) 52%,
      rgba(218, 232, 244, 0.38) 100%
    );
}

.section-services .service-bubble--orb:hover {
  animation-play-state: paused;
  transform: perspective(900px) rotateX(4deg) translateY(-10px) scale(1.03);
  box-shadow:
    inset 8px 10px 22px rgba(255, 255, 255, 0.6),
    inset -12px -18px 26px rgba(37, 99, 154, 0.09),
    0 24px 48px rgba(37, 99, 154, 0.24),
    0 38px 68px rgba(22, 44, 72, 0.14),
    0 12px 24px rgba(22, 36, 52, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .section-services .service-bubble--orb {
    animation: none;
    transform: perspective(900px) rotateX(5deg);
  }

  .section-services .service-bubble__gloss {
    animation: none;
  }

  .section-services .service-bubble--orb:hover {
    transform: perspective(900px) rotateX(5deg) translateY(-4px);
  }
}

@supports not (container-type: size) {
  .section-services .service-bubble__title {
    font-size: clamp(1rem, 3.1vw, 1.38rem);
  }

  .section-services .service-bubble__text {
    font-size: clamp(0.84rem, 2.6vw, 1.08rem);
  }

  .section-services .service-bubble__icon {
    width: 44px;
    height: 44px;
  }
}

.svc-icon {
  display: block;
}

.section-appreciate {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0;
  overflow: hidden;
  isolation: isolate;
  background-color: #5a87b0;
  background-image:
    radial-gradient(ellipse 120% 90% at 50% 0%, rgba(255, 255, 255, 0.42) 0%, transparent 55%),
    linear-gradient(
      165deg,
      rgba(251, 252, 253, 0.58) 0%,
      rgba(236, 244, 250, 0.45) 38%,
      rgba(246, 249, 252, 0.55) 100%
    ),
    url("/static/images/appreciate-la-pedrera-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(37, 99, 154, 0.12);
  border-bottom: 1px solid rgba(37, 99, 154, 0.1);
}

.section-appreciate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 15% 25%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 88% 70%, rgba(255, 255, 255, 0.12) 0%, transparent 52%);
  opacity: 0.9;
  animation: appreciate-bg-drift 22s ease-in-out infinite alternate;
}

@keyframes appreciate-bg-drift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(2.5%, -1.5%) scale(1.04);
    opacity: 0.92;
  }
}

@keyframes appreciate-heading-rule {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes appreciate-heading-text {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes appreciate-orb-float {
  0%,
  100% {
    transform: perspective(840px) rotateX(6deg) translateY(0);
  }

  50% {
    transform: perspective(840px) rotateX(6deg) translateY(-10px);
  }
}

.appreciate-layout {
  position: relative;
  z-index: 1;
  max-width: min(1180px, 100%);
  margin-inline: auto;
}

.appreciate-main {
  min-width: 0;
}

.appreciate-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto clamp(28px, 5vw, 48px);
  max-width: 40rem;
  text-align: center;
}

.appreciate-heading__rule {
  display: block;
  width: 100%;
  height: 0;
  border: none;
  border-top: 1px dotted rgba(37, 99, 154, 0.35);
  margin: 0;
  transform-origin: 50% 50%;
  opacity: 0.95;
}

.section-appreciate.is-visible .appreciate-heading__rule {
  animation: appreciate-heading-rule 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section-appreciate.is-visible .appreciate-heading__rule:first-of-type {
  animation-delay: 0.05s;
}

.section-appreciate.is-visible .appreciate-heading__rule:last-of-type {
  animation: appreciate-heading-rule 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.appreciate-heading__text {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(118deg, #142f48 0%, #234a6e 42%, #163f62 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.section-appreciate.is-visible .appreciate-heading__text {
  animation: appreciate-heading-text 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

html.js .section-appreciate:not(.is-visible) .appreciate-heading__rule {
  transform: scaleX(0);
  opacity: 0;
}

html.js .section-appreciate:not(.is-visible) .appreciate-heading__text {
  opacity: 0;
  transform: translateY(14px);
}

html.js .section-appreciate:not(.is-visible) .appreciate-orb {
  opacity: 0;
  pointer-events: none;
}

html.js .section-appreciate:not(.is-visible) .appreciate-orb .appreciate-orb__gloss {
  animation: none;
}

.appreciate-bubbles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 38px);
  justify-items: center;
  perspective: 1500px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 4px 0 16px;
}

.appreciate-orb {
  container-type: size;
  container-name: appreciate-item;
  position: relative;
  width: min(100%, 256px);
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  isolation: isolate;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.08) 36%, transparent 56%),
    radial-gradient(circle at 74% 80%, rgba(37, 99, 154, 0.12) 0%, transparent 52%),
    linear-gradient(
      168deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(230, 243, 252, 0.34) 48%,
      rgba(206, 228, 244, 0.38) 100%
    );
  box-shadow:
    inset 7px 9px 16px rgba(255, 255, 255, 0.58),
    inset -9px -12px 20px rgba(37, 99, 154, 0.11),
    0 18px 40px rgba(37, 99, 154, 0.2),
    0 26px 56px rgba(22, 44, 72, 0.12),
    0 8px 20px rgba(22, 36, 52, 0.08);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  transform: perspective(840px) rotateX(6deg);
  transform-style: preserve-3d;
  overflow: hidden;
  opacity: 1;
  transition:
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.05s + var(--i, 0) * 0.046s), calc(0.05s + var(--i, 0) * 0.046s),
    calc(0.05s + var(--i, 0) * 0.046s);
}

.section-appreciate.is-visible .appreciate-orb {
  opacity: 1;
  animation: appreciate-orb-float 5.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.52s);
}

.appreciate-orb:nth-child(odd) {
  margin-top: 6px;
}

.appreciate-orb:nth-child(even) {
  margin-top: -8px;
}

.appreciate-orb__gloss {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 58% 42% at 30% 16%,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.06) 44%,
    transparent 62%
  );
  z-index: 2;
  opacity: 0.9;
  animation: appreciate-orb-glint 4.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.35s);
}

@keyframes appreciate-orb-glint {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.88;
  }
}

.appreciate-orb__rim {
  pointer-events: none;
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 10px rgba(37, 99, 154, 0.05);
  z-index: 1;
  opacity: 0.82;
}

.appreciate-orb__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding: 15% 13% 16%;
  text-align: center;
}

.appreciate-orb__text {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-size: clamp(0.9rem, 8.5cqw, 1.22rem);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0.012em;
  color: #0f2233;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
  text-wrap: balance;
  text-align: center;
}

.appreciate-orb:hover {
  animation-play-state: paused;
  transform: perspective(840px) rotateX(5deg) translateY(-14px) scale(1.04);
  box-shadow:
    inset 8px 10px 20px rgba(255, 255, 255, 0.65),
    inset -10px -14px 24px rgba(37, 99, 154, 0.1),
    0 26px 52px rgba(37, 99, 154, 0.26),
    0 40px 72px rgba(22, 44, 72, 0.16),
    0 12px 28px rgba(22, 36, 52, 0.1);
}

@media (max-width: 767px) {
  .appreciate-bubbles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .appreciate-orb:nth-child(odd),
  .appreciate-orb:nth-child(even) {
    margin-top: 0;
  }

  .appreciate-orb {
    width: min(100%, 214px);
  }
}

@supports not (container-type: size) {
  .appreciate-orb__text {
    font-size: clamp(0.9rem, 3.9vw, 1.18rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-appreciate::before {
    animation: none;
  }

  .section-appreciate .appreciate-heading__rule,
  .section-appreciate .appreciate-heading__text {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .section-appreciate .appreciate-orb {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transform: perspective(840px) rotateX(5deg);
  }

  .section-appreciate .appreciate-orb__gloss {
    animation: none !important;
  }

  html.js .section-appreciate:not(.is-visible) .appreciate-heading__rule,
  html.js .section-appreciate:not(.is-visible) .appreciate-heading__text {
    opacity: 1;
    transform: none;
  }

  html.js .section-appreciate:not(.is-visible) .appreciate-orb {
    opacity: 1;
    pointer-events: auto;
    transform: perspective(840px) rotateX(5deg);
  }

  .section-appreciate .appreciate-heading__text {
    color: #2a3847;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }
}

.section-about {
  padding: clamp(48px, 8vw, 88px) 0;
  background: #eef3f8;
}

/* Sits between services photo and appreciate photo as the separation band */
.section-about--divider {
  border-top: 1px solid rgba(37, 99, 154, 0.12);
  border-bottom: 1px solid rgba(37, 99, 154, 0.12);
}

.about-panel {
  margin-top: 8px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(37, 99, 154, 0.22);
  box-shadow: 0 16px 48px rgba(37, 99, 154, 0.11);
}

.about-panel__text {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.68;
  color: var(--ink-soft);
}

.cta-banner {
  padding: clamp(28px, 5vw, 40px) 0;
  background: linear-gradient(120deg, #1f5e90 0%, var(--brand-blue) 40%, #5b9fd4 100%);
}

.cta-banner__wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: #fff;
}

.cta-banner__contact {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
}

.cta-banner__contact a {
  color: #fff;
  text-decoration: none;
}

.cta-banner__contact a:hover {
  text-decoration: underline;
}

.cta-banner__sep {
  margin: 0 8px;
  opacity: 0.6;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-banner .btn-pill--primary {
  background: linear-gradient(145deg, #fff, #e8f2fa);
  color: var(--brand-blue);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-pill--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.cta-banner .btn-pill--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(20, 36, 52, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.cookie-banner__text {
  margin: 0;
  flex: 1;
  min-width: 220px;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 767px) {
  .hero-pattern .hero-pattern__copy--glass {
    justify-self: stretch;
  }

  .hero-pattern__copy--glass {
    max-width: none;
    padding: clamp(18px, 4vw, 26px) clamp(18px, 3vw, 22px);
  }

  .hero-pattern__inner {
    grid-template-columns: 1fr;
  }

  .hero-pattern__art {
    order: -1;
    min-height: 160px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-pattern__copy--glass {
    background: linear-gradient(
      155deg,
      rgba(247, 252, 255, 0.92) 0%,
      rgba(239, 248, 255, 0.86) 100%
    );
    border-color: rgba(226, 232, 240, 0.95);
  }

  .hero-pattern--video .hero-pattern__copy--glass {
    background: linear-gradient(
      155deg,
      rgba(247, 252, 255, 0.96) 0%,
      rgba(239, 248, 255, 0.9) 100%
    );
  }
}

/* iPad, tablet, laptop & desktop: fluid layout from 768px upward */
@media (min-width: 768px) {
  :root {
    --hero-pad-inline: clamp(32px, 4vw, 52px);
  }

  .hero-pattern {
    padding: clamp(28px, 4vh, 56px) 0 clamp(12px, 2vh, 24px) var(--hero-pad-inline);
  }

  .hero-front {
    min-height: calc(100dvh - var(--site-header-height));
    min-height: calc(100svh - var(--site-header-height));
  }

  .hero-pattern__title {
    font-size: clamp(2.1rem, 4.2vw, 2.85rem);
  }

  .hero-pattern__copy--glass {
    max-width: min(40rem, 92vw);
    padding: clamp(26px, 3.5vw, 32px) clamp(22px, 3vw, 30px);
    border-radius: clamp(24px, 2.8vw, 28px);
  }

  .hero-pattern .hero-pattern__copy--glass {
    justify-self: start;
  }

  .section {
    padding: clamp(56px, 7vw, 72px) 0;
  }

  .title-dotted {
    font-size: clamp(1.35rem, 2.2vw, 1.55rem);
  }

  .appreciate-orb {
    width: min(100%, clamp(200px, 22vw, 256px));
  }

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

  .service-row {
    grid-template-columns: minmax(140px, 300px) 1fr;
  }

  .services-stack .service-bubbles--other {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 768px) and (max-width: 899px) {
  .services-stack .service-bubbles--main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-stack .service-bubbles--main .service-bubble--orb:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .site-header--pattern .brand-name {
    font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  }

  .cta-banner__wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .appreciate-bubbles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .services-stack .service-bubbles--main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-stack .service-bubbles--main .service-bubble--orb:nth-child(3) {
    grid-column: auto;
    justify-self: center;
  }
}

/* Laptop & desktop: full multi-column layouts */
@media (min-width: 1024px) {
  .brand-name {
    font-size: 2.52rem;
  }

  .site-header--pattern .brand-sub {
    font-size: 0.92rem;
  }

  .hero-pattern__title {
    font-size: clamp(2.6rem, 3.2vw, 3.1rem);
  }

  .split-page {
    grid-template-columns: minmax(0, 1fr) 308px;
  }

  .split-page__aside {
    position: sticky;
    top: 16px;
    max-width: none;
    margin-inline: unset;
  }

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

  .ref-logo-wall {
    gap: 48px;
  }

  .ref-logo-row {
    gap: 48px 56px;
  }

  .ref-logo-chip__img {
    max-width: 252px;
  }
}

@media (min-width: 1200px) {
  .appreciate-bubbles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px;
  }

  .services-stack .service-bubbles--main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-stack .service-bubbles--other {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.legal-page__inner {
  max-width: 42rem;
  padding-bottom: clamp(48px, 8vw, 72px);
}

.legal-page__body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text, #1a2838);
}

.legal-page__body p {
  margin: 0 0 1.15em;
}

.legal-page__subheading {
  margin: 1.75em 0 0.65em;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-navy, #243f6b);
}

.legal-page__subheading:first-of-type {
  margin-top: 1.25em;
}

.legal-page__portrait {
  margin: 1.5em 0 1.75em;
  max-width: 10.5rem;
}

.legal-page__portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(26, 40, 56, 0.12);
}

.legal-page__portrait-caption {
  margin-top: 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-navy, #243f6b);
  text-align: center;
}

.legal-page__back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px dotted rgba(61, 68, 82, 0.35);
}

/* --- Our Company hub (imasol-translations.com/our-company) --- */
.company-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.company-breadcrumb__link {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
}

.company-breadcrumb__link:hover {
  text-decoration: underline;
}

.company-breadcrumb__current {
  color: var(--ink);
  font-weight: 600;
}

.company-hub__head {
  margin-bottom: clamp(24px, 4vw, 36px);
}

.company-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.company-hub-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(37, 99, 154, 0.14);
  box-shadow: 0 14px 40px rgba(37, 99, 154, 0.1);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.company-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 154, 0.24);
  box-shadow: 0 22px 52px rgba(37, 99, 154, 0.16);
}

.company-hub-card:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.company-hub-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #eef4fb 0%, #dfeaf5 100%);
  overflow: hidden;
}

.company-hub-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-hub-card__body {
  flex: 1 1 auto;
  padding: 20px 22px 24px;
}

.company-hub-card__title {
  margin: 0 0 10px;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  font-weight: 600;
  color: var(--brand-navy);
}

.company-hub-card__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--ink-soft);
}

/* Our Company hub — circular orbs (homepage-style) */
.section-company-hub {
  position: relative;
  padding: clamp(48px, 8vw, 88px) 0;
  background: var(--surface);
}

.company-hub--orbs .company-hub__title {
  text-align: center;
  margin-inline: auto;
}

.company-hub__grid--orbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px);
  max-width: 1200px;
  margin-inline: auto;
  perspective: 1200px;
}

.company-hub-orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  gap: clamp(14px, 2.5vw, 20px);
  min-width: 0;
}

.company-hub-orb__sphere {
  position: relative;
  flex-shrink: 0;
  width: clamp(180px, 22vw, 264px);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.12) 34%, transparent 56%),
    radial-gradient(circle at 72% 78%, rgba(37, 99, 154, 0.14) 0%, transparent 52%),
    linear-gradient(
      165deg,
      rgba(252, 254, 255, 0.38) 0%,
      rgba(226, 240, 250, 0.32) 48%,
      rgba(206, 228, 244, 0.36) 100%
    );
  box-shadow:
    inset 8px 10px 18px rgba(255, 255, 255, 0.55),
    inset -10px -14px 22px rgba(37, 99, 154, 0.1),
    0 16px 36px rgba(37, 99, 154, 0.2),
    0 26px 56px rgba(22, 44, 72, 0.12);
  transform: perspective(900px) rotateX(6deg);
  transform-style: preserve-3d;
  animation: service-orb-float 9s ease-in-out infinite;
  animation-delay: calc(var(--orb-i, 0) * 0.45s);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.company-hub-orb__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.company-hub-orb__gloss {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 55% 40% at 32% 18%,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    transparent 58%
  );
  animation: service-orb-glint 7s ease-in-out infinite;
  animation-delay: calc(var(--orb-i, 0) * 0.35s);
  z-index: 2;
}

.company-hub-orb__rim {
  pointer-events: none;
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 8px rgba(37, 99, 154, 0.06);
  z-index: 1;
  opacity: 0.75;
}

.company-hub-orb__copy {
  max-width: 22rem;
}

.company-hub-orb__title {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--brand-navy);
}

.company-hub-orb__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.company-hub-orb:hover .company-hub-orb__sphere,
.company-hub-orb:focus-visible .company-hub-orb__sphere {
  transform: perspective(900px) rotateX(4deg) translateY(-10px) scale(1.04);
  box-shadow:
    inset 8px 10px 18px rgba(255, 255, 255, 0.62),
    inset -10px -14px 22px rgba(37, 99, 154, 0.12),
    0 22px 48px rgba(37, 99, 154, 0.26),
    0 32px 64px rgba(22, 44, 72, 0.14);
}

.company-hub-orb:focus-visible {
  outline: none;
}

.company-hub-orb:focus-visible .company-hub-orb__copy {
  outline: 2px solid var(--brand-blue);
  outline-offset: 6px;
  border-radius: 8px;
}

html.js .section-company-hub:not(.is-visible) .company-hub-orb__sphere {
  opacity: 0;
  transform: perspective(900px) rotateX(8deg) translateY(18px) scale(0.94);
}

html.js .section-company-hub.is-visible .company-hub-orb__sphere {
  animation:
    company-hub-orb-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--orb-i, 0) * 0.08s) forwards,
    service-orb-float 9s ease-in-out infinite calc(0.75s + var(--orb-i, 0) * 0.45s);
}

@keyframes company-hub-orb-enter {
  from {
    opacity: 0;
    transform: perspective(900px) rotateX(8deg) translateY(18px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: perspective(900px) rotateX(6deg) translateY(0) scale(1);
  }
}

@media (max-width: 899px) {
  .company-hub__grid--orbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
  }

  .company-hub-orb__sphere {
    width: clamp(160px, 34vw, 240px);
  }
}

@media (max-width: 559px) {
  .company-hub__grid--orbs {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: clamp(28px, 7vw, 40px);
  }

  .company-hub-orb__sphere {
    width: min(72vw, 260px);
  }

  .company-hub-orb__copy {
    max-width: 32ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-hub-orb__sphere,
  .company-hub-orb__gloss {
    animation: none !important;
  }

  html.js .section-company-hub:not(.is-visible) .company-hub-orb__sphere {
    opacity: 1;
    transform: perspective(900px) rotateX(5deg);
  }
}

.company-section {
  padding: clamp(40px, 6vw, 64px) 0;
  background: #fff;
}

.company-section--soft {
  background: #eef3f8;
}

.company-section__title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 600;
  color: var(--brand-navy);
}

.company-section__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.company-quick-links {
  padding: clamp(20px, 3vw, 28px) 0;
  background: #f7fafd;
  border-top: 1px solid rgba(37, 99, 154, 0.1);
  border-bottom: 1px solid rgba(37, 99, 154, 0.1);
}

.company-quick-links__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.company-quick-links__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(37, 99, 154, 0.22);
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.company-quick-links__pill:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.company-back {
  margin: 0 auto 2.5rem;
  padding-bottom: 0.5rem;
}

/* --- Philosophy / Mission (our-company/philosophy) --- */
.philosophy-page {
  background: var(--surface);
}

.philosophy-hero {
  padding-bottom: clamp(32px, 5vw, 48px);
}

.philosophy-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
}

.philosophy-hero__figure {
  margin: 0;
}

.philosophy-hero__image-wrap {
  position: relative;
  border-radius: clamp(20px, 2.8vw, 28px);
  overflow: hidden;
  box-shadow:
    0 28px 64px rgba(37, 99, 154, 0.18),
    0 10px 28px rgba(22, 44, 72, 0.1);
}

.philosophy-hero__image-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 42%,
    rgba(37, 99, 154, 0.12) 100%
  );
}

.philosophy-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 331;
  object-fit: cover;
}

.philosophy-hero__caption {
  margin: 12px 4px 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.philosophy-hero__title {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 3.6vw, 2.45rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

.philosophy-hero__lead {
  margin: 0 0 1.05em;
  font-size: clamp(1.02rem, 1.8vw, 1.12rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.philosophy-hero__lead:last-child {
  margin-bottom: 0;
}

.philosophy-principles {
  padding: clamp(36px, 6vw, 56px) 0;
  background: linear-gradient(180deg, #f7fafd 0%, #eef3f8 100%);
  border-top: 1px solid rgba(37, 99, 154, 0.1);
  border-bottom: 1px solid rgba(37, 99, 154, 0.1);
}

.philosophy-section__title {
  margin: 0 0 16px;
  font-size: clamp(1.28rem, 2.4vw, 1.55rem);
  font-weight: 600;
  color: var(--brand-navy);
}

.philosophy-section__text {
  margin: 0 0 1em;
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--ink-soft);
}

.philosophy-principles__text {
  padding-left: clamp(14px, 2vw, 20px);
  border-left: 3px solid rgba(37, 99, 154, 0.35);
}

.philosophy-focus__title {
  text-align: center;
  max-width: 28ch;
  margin-inline: auto;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.philosophy-focus__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 24px);
}

.philosophy-focus-card {
  padding: clamp(20px, 3vw, 26px) clamp(20px, 3vw, 28px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(37, 99, 154, 0.12);
  box-shadow: 0 12px 32px rgba(37, 99, 154, 0.08);
}

.philosophy-focus-card__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.philosophy-focus-card__list {
  margin: 0;
  padding-left: 1.15em;
  color: var(--ink-soft);
  line-height: 1.62;
}

.philosophy-focus-card__list li + li {
  margin-top: 0.55em;
}

.philosophy-focus-card__text {
  margin: 0 0 0.9em;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.philosophy-focus-card__text:last-child {
  margin-bottom: 0;
}

.philosophy-focus-card:last-child {
  grid-column: 1 / -1;
}

.philosophy-outro__inner {
  text-align: center;
}

.philosophy-outro__cta {
  margin: 0 0 22px;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--brand-navy);
}

.philosophy-outro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  margin-bottom: 28px;
}

.philosophy-outro__back {
  margin: 0;
  padding-top: 8px;
  border-top: 1px dotted rgba(61, 68, 82, 0.35);
}

@media (max-width: 899px) {
  .philosophy-hero__layout {
    grid-template-columns: 1fr;
  }

  .philosophy-hero__figure {
    order: -1;
    max-width: 640px;
    margin-inline: auto;
  }

  .philosophy-focus__grid {
    grid-template-columns: 1fr;
  }

  .philosophy-focus-card:last-child {
    grid-column: auto;
  }
}

/* --- Languages (our-company/languages) --- */
.languages-page {
  background: var(--surface);
}

.languages-hero {
  padding-bottom: clamp(28px, 4vw, 40px);
}

.languages-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.languages-hero__figure {
  margin: 0;
}

.languages-hero__image-wrap {
  border-radius: clamp(20px, 2.8vw, 28px);
  overflow: hidden;
  box-shadow:
    0 28px 64px rgba(37, 99, 154, 0.16),
    0 10px 28px rgba(22, 44, 72, 0.1);
}

.languages-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 331;
  object-fit: cover;
}

.languages-hero__title {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand-navy);
}

.languages-hero__lead {
  margin: 0 0 1em;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.languages-hero__lead:last-child {
  margin-bottom: 0;
}

.languages-lists {
  padding: clamp(36px, 6vw, 56px) 0;
}

.languages-lists__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.languages-panel {
  padding: clamp(22px, 3.5vw, 28px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(37, 99, 154, 0.12);
  box-shadow: 0 12px 32px rgba(37, 99, 154, 0.08);
}

.languages-panel__title {
  margin: 0 0 14px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.languages-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.languages-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: #f4f8fc;
  border: 1px solid rgba(37, 99, 154, 0.16);
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a3348;
}

.languages-chip--main {
  background: linear-gradient(145deg, rgba(37, 99, 154, 0.12), rgba(37, 99, 154, 0.06));
  border-color: rgba(37, 99, 154, 0.28);
  color: var(--brand-navy);
}

.languages-pairs {
  padding: clamp(22px, 3.5vw, 30px);
  border-radius: 22px;
  background: linear-gradient(145deg, #f7fafd 0%, #eef3f8 100%);
  border: 1px solid rgba(37, 99, 154, 0.12);
}

.languages-pairs__title {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-weight: 600;
  color: var(--brand-navy);
  text-align: center;
}

.languages-pairs__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.languages-pairs__item {
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(37, 99, 154, 0.1);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 899px) {
  .languages-hero__layout {
    grid-template-columns: 1fr;
  }

  .languages-hero__figure {
    order: -1;
    max-width: 640px;
    margin-inline: auto;
  }

  .languages-lists__grid {
    grid-template-columns: 1fr;
  }
}

/* --- References (our-company/references) --- */
.references-page__intro {
  padding-bottom: clamp(24px, 4vw, 36px);
}

.references-page__title {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.4vw, 2.35rem);
  font-weight: 600;
  color: var(--brand-navy);
}

.references-page__lead {
  margin: 0 0 1em;
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.references-page__lead:last-child {
  margin-bottom: 0;
}

.references-page__logos {
  padding-top: clamp(12px, 2vw, 20px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.references-page__clients {
  padding: clamp(36px, 6vw, 56px) 0;
}

.references-page__clients-title {
  margin: 0 0 clamp(18px, 3vw, 24px);
  font-size: clamp(1.15rem, 2vw, 1.32rem);
  font-weight: 700;
  color: var(--brand-blue);
}

.references-client-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: clamp(20px, 3vw, 28px);
  list-style: none;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(37, 99, 154, 0.12);
  box-shadow: 0 12px 32px rgba(37, 99, 154, 0.08);
}

.references-client-list__item {
  position: relative;
  padding-left: 1.1em;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.references-client-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-blue);
  opacity: 0.55;
}

.references-client-list__item--more {
  font-weight: 700;
  color: var(--brand-navy);
}

@media (min-width: 900px) {
  .references-client-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .references-client-list {
    grid-template-columns: 1fr;
  }
}

/* --- Prices (our-company/prices) --- */
.prices-page {
  background: var(--surface);
}

.prices-hero {
  padding-bottom: clamp(28px, 4vw, 40px);
}

.prices-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.prices-hero__figure {
  margin: 0;
}

.prices-hero__image-wrap {
  border-radius: clamp(20px, 2.8vw, 28px);
  overflow: hidden;
  box-shadow:
    0 28px 64px rgba(37, 99, 154, 0.16),
    0 10px 28px rgba(22, 44, 72, 0.1);
}

.prices-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 331;
  object-fit: cover;
}

.prices-hero__title {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand-navy);
}

.prices-hero__lead {
  margin: 0 0 1em;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.prices-hero__lead:last-child {
  margin-bottom: 0;
}

.prices-section__title {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 700;
  color: var(--brand-blue);
}

.prices-section__text {
  margin: 0 0 1em;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.prices-section__text--highlight {
  padding: clamp(16px, 2.5vw, 22px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(37, 99, 154, 0.12);
  font-weight: 600;
  color: var(--brand-navy);
}

.prices-factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-top: clamp(24px, 4vw, 36px);
}

.prices-factor-card {
  padding: clamp(18px, 3vw, 24px);
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(37, 99, 154, 0.1);
}

.prices-factor-card__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.prices-factor-card__list {
  margin: 0;
  padding-left: 1.15em;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.prices-factor-card__list li + li {
  margin-top: 0.45em;
}

.prices-quote__inner {
  text-align: center;
}

.prices-quote__question {
  margin: 0 0 12px;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--brand-navy);
}

.prices-quote__body {
  margin: 0 0 24px;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

@media (max-width: 899px) {
  .prices-hero__layout {
    grid-template-columns: 1fr;
  }

  .prices-hero__figure {
    order: -1;
    max-width: 640px;
    margin-inline: auto;
  }

  .prices-factors {
    grid-template-columns: 1fr;
  }
}

/* --- Blog (our-company/blog) --- */
.blog-page {
  background: var(--surface);
}

.blog-hero__head {
  padding-top: clamp(8px, 1.5vw, 16px);
}

.blog-hero__title {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.35rem);
  font-weight: 600;
  color: var(--brand-navy);
}

.blog-post-card {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
  padding: clamp(20px, 3vw, 28px) 0;
  border-bottom: 1px solid rgba(37, 99, 154, 0.12);
}

.blog-post-card:first-child {
  padding-top: 0;
}

.blog-post-card__figure {
  margin: 0;
}

.blog-post-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(37, 99, 154, 0.12);
}

.blog-post-card__title {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--brand-blue);
}

.blog-post-card__subtitle {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.blog-post-card__excerpt {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.06rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.blog-section__title {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--brand-blue);
}

.blog-section__text {
  margin: 0 0 1em;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.blog-section__text:last-child {
  margin-bottom: 0;
}

@media (max-width: 699px) {
  .blog-post-card {
    grid-template-columns: 1fr;
  }

  .blog-post-card__figure {
    max-width: 320px;
  }
}

/* --- Your Project sub-pages --- */
.project-page {
  background: var(--surface);
}

.project-page-hero {
  padding-bottom: clamp(28px, 4vw, 40px);
}

.project-page-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.project-page-hero__figure {
  margin: 0;
}

.project-page-hero__image-wrap {
  border-radius: clamp(20px, 2.8vw, 28px);
  overflow: hidden;
  box-shadow:
    0 28px 64px rgba(37, 99, 154, 0.16),
    0 10px 28px rgba(22, 44, 72, 0.1);
}

.project-page-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 331;
  object-fit: cover;
}

.project-page-hero__content--solo {
  max-width: 62ch;
}

.project-page-hero__title {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand-navy);
}

.project-page-hero__lead {
  margin: 0 0 1em;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.project-page-hero__lead:last-child {
  margin-bottom: 0;
}

.project-page-section__title {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--brand-blue);
}

.project-page-section__subtitle {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 1.9vw, 1.18rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--brand-navy);
}

.project-page-section__text {
  margin: 0 0 1em;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.project-page-section__text:last-child {
  margin-bottom: 0;
}

.project-page-list {
  margin: 0 0 1.5em;
  padding-left: 1.2em;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

.project-page-list li + li {
  margin-top: 0.45em;
}

.project-page-cta-text {
  margin: 0 0 12px;
  font-size: clamp(1.02rem, 1.8vw, 1.1rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--brand-navy);
}

.project-page-link-text {
  margin: 0;
}

.project-page--jobs .jobs-form {
  margin-top: 8px;
}

@media (max-width: 899px) {
  .project-page-hero__layout {
    grid-template-columns: 1fr;
  }

  .project-page-hero__figure {
    order: -1;
    max-width: 640px;
    margin-inline: auto;
  }
}
