/* ==========================================================================
   Axymatic – homepage prototype
   Mobile first. Breakpoints: tablet ≥ 768px, desktop ≥ 1200px.
   ========================================================================== */

/* Metric-matched fallbacks keep text from jumping when the web fonts swap in */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  ascent-override: 90.4%;
  descent-override: 22.5%;
  line-gap-override: 0%;
  size-adjust: 107.1%;
}

@font-face {
  font-family: "Space Grotesk Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  ascent-override: 89.7%;
  descent-override: 26.6%;
  line-gap-override: 0%;
  size-adjust: 109.6%;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --navy: #162733;
  --navy-deep: #0E1B24;
  --navy-card: #1A2E3B;
  --brand-blue: #3B589E;
  --accent: #1F6BF0;
  --accent-hover: #164FB5;
  --accent-light: #7AAAFF;
  --accent-soft: #C9DAFF;
  --tint: #E8EFFC;
  --tint-2: #D3DFF6;
  --bg: #F4F6FA;
  --line: #E3E8EF;
  --input-line: #CBD3DD;
  --text: #3D4B57;
  --muted: #5B6873;
  --white: #FFFFFF;
  --danger: #C4314B;
  --danger-light: #FF9AAB;

  --font-body: Inter, "Inter Fallback", system-ui, sans-serif;
  --font-heading: "Space Grotesk", "Space Grotesk Fallback", Inter, sans-serif;

  --container: 1440px;
  --gutter: 20px;
  --header-h: 64px;
  --section-y: 64px;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 24px 60px rgba(14, 27, 36, 0.14);
  --shadow-float: 0 30px 60px rgba(14, 27, 36, 0.22);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Context colours for headings and accents, switched by .theme-* */
  --c-heading: var(--navy);
  --c-accent: var(--accent);
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --header-h: 72px;
    --section-y: 88px;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 64px;
    --header-h: 84px;
    --section-y: 112px;
  }
}

.theme-dark {
  --c-heading: var(--white);
  --c-accent: var(--accent-light);
}

.theme-blue {
  --c-heading: var(--white);
  --c-accent: var(--accent-soft);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-dark :focus-visible,
.theme-blue :focus-visible {
  outline-color: var(--accent-light);
}

[tabindex="-1"]:focus {
  outline: none;
}

/* Visibility per breakpoint (content that only exists in one of the designs) */
@media (max-width: 767.98px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .only-mobile { display: none !important; }
}

@media (max-width: 1199.98px) {
  .only-desktop { display: none !important; }
}

@media (min-width: 1200px) {
  .hide-desktop { display: none !important; }
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Icons
   -------------------------------------------------------------------------- */
.icon {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--2 { stroke-width: 2; }
.icon--22 { stroke-width: 2.2; }

.icon--fill {
  fill: currentColor;
  stroke: none;
}

.icon-tile {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--accent);
}

.icon-tile--dark {
  background: rgba(122, 170, 255, 0.14);
  color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--muted {
  background: var(--bg);
}

.section-body {
  margin-top: 32px;
}

@media (min-width: 768px) {
  .section-body { margin-top: 48px; }
}

@media (min-width: 1200px) {
  .section-body { margin-top: 56px; }
  .section-body--lg { margin-top: 64px; }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head__main,
.section-head__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head__text {
  font-size: 16px;
}

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
  }

  .section-head__main {
    gap: 18px;
    max-width: 720px;
  }

  .section-head__aside {
    max-width: 460px;
  }

  .section-head__aside--narrow {
    max-width: 440px;
  }

  .section-head__text {
    font-size: 17px;
  }
}

@media (min-width: 1200px) {
  .section-head {
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow__icon {
  flex: none;
  width: 13px;
  height: 10px;
  fill: currentColor;
}

.title {
  color: var(--c-heading);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.title__accent {
  display: block;
  color: var(--c-accent);
}

.title--h1 {
  font-size: 38px;
  line-height: 1.06;
}

.title--h2 {
  font-size: 32px;
  line-height: 1.08;
  /* Slightly tighter on mobile so the line breaks match the approved design */
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .eyebrow {
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .eyebrow__icon {
    width: 15px;
    height: 11px;
  }

  .title--h1 {
    font-size: 54px;
    line-height: 1.04;
  }

  .title--h2 {
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: -0.02em;
  }
}

@media (min-width: 1200px) {
  .title--h1 {
    font-size: 68px;
    line-height: 1.02;
    letter-spacing: -0.025em;
  }

  .title--h2 {
    font-size: 48px;
    line-height: 1.05;
  }
}

/* --------------------------------------------------------------------------
   Buttons, links, tags
   -------------------------------------------------------------------------- */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

@media (min-width: 768px) {
  .btn { --btn-h: 54px; }
}

.btn__icon {
  transition: transform 0.2s var(--ease-out);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn--outline {
  border: 1.5px solid var(--input-line);
  color: var(--navy);
}

.btn--outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--outline-subtle {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn--ghost-light {
  --btn-h: 48px;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 14.5px;
}

.btn--ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--tint);
  color: var(--navy);
}

.btn--md {
  --btn-h: 50px;
  padding: 0 22px;
  font-size: 15.5px;
}

.btn--compact {
  --btn-h: 48px;
  padding: 0 22px;
  font-size: 15.5px;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .btn-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.link-arrow:hover {
  color: var(--accent-hover);
}

.link-arrow__icon {
  transition: transform 0.2s var(--ease-out);
}

.link-arrow:hover .link-arrow__icon {
  transform: translateX(3px);
}

@media (min-width: 1200px) {
  .link-arrow { min-height: 0; }
  .link-arrow--lg { font-size: 15.5px; }
}

.badge {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  line-height: 1.6;
}

.tag--dark {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
}

.tag--light {
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12.5px;
}

.tag--tint {
  background: var(--tint);
  color: var(--accent-hover);
  font-weight: 600;
}

.tag--accent {
  background: var(--accent-light);
  color: var(--navy-deep);
  font-weight: 600;
}

.tag--dark,
.tag--light {
  padding: 5px 12px;
}

@media (min-width: 768px) {
  .tag {
    padding: 5px 12px;
    font-size: 12.5px;
  }
}

/* --------------------------------------------------------------------------
   Top bar (desktop)
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 40px;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.topbar__link:hover {
  color: var(--white);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch__current {
  color: var(--white);
  font-weight: 600;
}

.lang-switch__sep {
  opacity: 0.4;
}

.lang-switch__link {
  color: inherit;
}

.lang-switch__link:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: box-shadow 0.25s;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(14, 27, 36, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
  padding-right: 12px;
}

.site-header__logo {
  display: flex;
  flex: none;
  align-items: center;
}

.site-header__logo img {
  width: auto;
  height: 24px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--navy);
  transition: background-color 0.2s;
}

.icon-btn:hover {
  background: var(--bg);
  color: var(--navy);
}

.icon-btn--dark,
.icon-btn--dark:hover {
  background: var(--navy);
  color: var(--white);
}

.icon-btn--dark:hover {
  background: var(--navy-deep);
}

.icon-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.icon-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

@media (min-width: 768px) {
  .site-header__inner {
    padding-right: var(--gutter);
  }

  .site-header__logo img {
    height: 28px;
  }

  .site-header__actions {
    gap: 8px;
  }

  .site-header__actions .btn {
    margin-right: 4px;
  }
}

@media (min-width: 1200px) {
  .site-header__logo img {
    height: 32px;
  }

  .site-header__actions .btn {
    margin-right: 0;
  }
}

/* Main navigation + dropdowns (desktop) */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav__item {
  position: relative;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
}

.main-nav__link:hover,
.main-nav__item.is-open > .main-nav__link {
  color: var(--accent);
}

.main-nav__chevron {
  transition: transform 0.2s var(--ease-out);
}

.main-nav__item.is-open .main-nav__chevron {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  z-index: 10;
  min-width: 300px;
  padding-top: 30px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s var(--ease-out), visibility 0s linear 0.2s;
}

.main-nav__item.is-open .dropdown,
.no-js .main-nav__item:hover .dropdown,
.no-js .main-nav__item:focus-within .dropdown {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.2s, transform 0.2s var(--ease-out), visibility 0s;
}

.dropdown__panel {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.dropdown__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.15s, color 0.15s;
}

.dropdown__link:hover,
.dropdown__link:focus-visible {
  background: var(--bg);
  color: var(--accent);
}

.dropdown__link:focus-visible {
  outline-offset: -2px;
}

.dropdown__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Mobile / tablet menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out), visibility 0s linear 0.25s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s var(--ease-out), visibility 0s;
}

.mobile-menu__nav,
.mobile-menu__footer {
  transform: translateY(-8px);
  transition: transform 0.3s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__nav,
.mobile-menu.is-open .mobile-menu__footer {
  transform: none;
}

@media (min-width: 1200px) {
  .mobile-menu { display: none; }
}

.is-menu-open,
.is-menu-open body {
  overflow: hidden;
}

.mobile-menu__watermark {
  position: absolute;
  right: -150px;
  bottom: 120px;
  width: 360px;
  max-width: none;
  height: 270px;
  fill: rgba(122, 170, 255, 0.06);
  pointer-events: none;
}

.mobile-menu__bar {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--header-h) + 1px);
  padding-right: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__logo {
  width: auto;
  height: 24px;
}

.mobile-menu__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 12px;
}

.menu-acc {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-acc.is-open {
  padding-bottom: 10px;
}

.menu-acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  text-align: left;
}

.menu-acc.is-open .menu-acc__btn {
  min-height: 56px;
}

.menu-acc__chevron {
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s var(--ease-out);
}

.menu-acc.is-open .menu-acc__chevron {
  color: var(--accent-light);
  transform: rotate(180deg);
}

.menu-acc__list {
  display: flex;
  flex-direction: column;
  padding-left: 2px;
}

.menu-acc__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.menu-acc__link:hover {
  color: var(--white);
}

.menu-acc__num {
  color: var(--accent-light);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}

.menu-acc__icon {
  color: var(--accent-light);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
}

.mobile-menu__link:hover {
  color: var(--accent-light);
}

.mobile-menu__secondary {
  display: flex;
  gap: 28px;
  padding-top: 6px;
}

.mobile-menu__secondary a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.mobile-menu__secondary a:hover {
  color: var(--white);
}

.mobile-menu__secondary .badge {
  letter-spacing: 0;
}

.mobile-menu__footer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.mobile-menu__contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lang-switch--menu {
  justify-content: center;
  gap: 4px;
  padding-top: 4px;
  font-size: 14px;
}

.lang-switch--menu .lang-switch__current,
.lang-switch--menu .lang-switch__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  border-radius: var(--radius-pill);
}

.lang-switch--menu .lang-switch__current {
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch--menu .lang-switch__link {
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 768px) {
  .mobile-menu__bar {
    padding-right: var(--gutter);
  }

  .mobile-menu__logo {
    height: 28px;
  }

  .mobile-menu__nav,
  .mobile-menu__footer {
    width: 100%;
    max-width: calc(640px + 2 * var(--gutter));
    margin-inline: 0;
  }

  .mobile-menu__watermark {
    right: -80px;
    bottom: 80px;
    width: 560px;
    height: 420px;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 52% 30%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 27, 36, 0.55) 0%, rgba(14, 27, 36, 0.8) 40%, rgba(14, 27, 36, 0.96) 75%);
}

.hero__inner {
  position: relative;
  padding-top: 56px;
  padding-bottom: 136px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16.5px;
  line-height: 1.6;
}

.hero__actions {
  padding-top: 4px;
}

.hero__caption {
  position: absolute;
  right: var(--gutter);
  bottom: 176px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(14, 27, 36, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.6;
}

.hero__caption-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
}

@media (min-width: 768px) {
  .hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 72px), 0 100%);
  }

  .hero__image {
    object-position: 62% 40%;
  }

  .hero__scrim {
    background: linear-gradient(90deg, rgba(14, 27, 36, 0.95) 0%, rgba(14, 27, 36, 0.86) 55%, rgba(14, 27, 36, 0.5) 100%);
  }

  .hero__inner {
    padding-top: 96px;
    padding-bottom: 224px;
  }

  .hero__content {
    max-width: 640px;
    gap: 24px;
  }

  .hero__lead {
    max-width: 560px;
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 96px), 0 100%);
  }

  .hero__scrim {
    background: linear-gradient(90deg, rgba(14, 27, 36, 0.96) 0%, rgba(14, 27, 36, 0.88) 34%, rgba(14, 27, 36, 0.4) 64%, rgba(14, 27, 36, 0.12) 100%);
  }

  .hero__inner {
    padding-top: 128px;
    padding-bottom: 248px;
  }

  .hero__content {
    max-width: 700px;
    gap: 28px;
  }

  .hero__lead {
    font-size: 19px;
  }

  .hero__caption {
    bottom: 200px;
  }
}

/* --------------------------------------------------------------------------
   Stats + clients
   -------------------------------------------------------------------------- */
.intro {
  position: relative;
  z-index: 2;
  margin-top: -80px;
  padding-bottom: 64px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(14, 27, 36, 0.16);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
}

.stat:nth-child(even) {
  border-left: 1px solid var(--line);
}

.stat:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.stat__value {
  display: flex;
  align-items: flex-end;
  min-height: 42px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.stat__value--brands {
  font-size: 16px;
  line-height: 1.3;
}

.stat__value--partner {
  font-size: 30px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.stat__label {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.clients {
  margin-top: 40px;
}

.clients__label {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

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

.clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 374.98px) {
  .stat {
    padding-inline: 14px;
  }

  .stat__value {
    font-size: 32px;
  }

  .stat__value--brands {
    font-size: 14px;
  }

  .stat__value--partner {
    font-size: 25px;
  }
}

@media (min-width: 768px) {
  .intro {
    margin-top: -128px;
    padding-bottom: 88px;
  }

  .stats {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
  }

  .stat {
    gap: 12px;
    padding: 32px;
  }

  .stat__value {
    min-height: 48px;
    font-size: 44px;
    letter-spacing: -0.02em;
  }

  .stat__value--brands {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  .stat__label {
    font-size: 15px;
    line-height: 1.5;
  }

  .clients {
    margin-top: 56px;
  }

  .clients__label {
    margin-bottom: 16px;
  }

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

  .clients__logo {
    height: 74px;
    font-size: 17px;
  }
}

@media (min-width: 1200px) {
  .intro {
    margin-top: -152px;
    padding-bottom: 104px;
  }

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

  .stat {
    padding: 36px;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .stat + .stat {
    border-left: 1px solid var(--line);
  }

  .stat__value {
    font-size: 48px;
  }

  .stat__value--brands {
    font-size: 20px;
  }

  .clients {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 64px;
  }

  .clients__label {
    flex: 0 0 168px;
    margin-bottom: 0;
  }

  .clients__list {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (min-width: 1320px) {
  .clients__list {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Disciplines
   -------------------------------------------------------------------------- */
.disciplines {
  display: grid;
  gap: 14px;
}

.discipline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 18px;
  background: var(--white);
}

.discipline__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.discipline__num {
  color: var(--tint-2);
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 0.9;
}

.discipline__icon .icon {
  width: 22px;
  height: 22px;
}

.discipline__title {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}

.discipline__text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.discipline__link {
  align-self: flex-start;
  margin-top: auto;
}

@media (min-width: 768px) {
  .disciplines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .discipline {
    gap: 16px;
    padding: 32px;
    border-radius: var(--radius-lg);
  }

  .discipline__head {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .discipline__num {
    font-size: 64px;
  }

  .discipline__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .discipline__icon .icon {
    width: 26px;
    height: 26px;
  }

  .discipline__title {
    font-size: 24px;
  }

  .discipline__text {
    font-size: 15.5px;
  }
}

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

  .discipline {
    min-height: 400px;
  }
}

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */
.industries {
  display: grid;
  gap: 12px;
}

.industry {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "icon title arrow"
    "text text text";
  align-items: center;
  gap: 8px 14px;
  overflow: hidden;
  padding: 22px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  transition: background-color 0.2s;
}

.industry:hover {
  background: #1C3140;
  color: var(--white);
}

.industry__watermark {
  display: none;
}

.industry__icon {
  grid-area: icon;
  display: flex;
  color: var(--accent-light);
}

.industry__icon .icon {
  width: 26px;
  height: 26px;
}

.industry__title {
  grid-area: title;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.industry__arrow {
  grid-area: arrow;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background-color 0.2s, border-color 0.2s;
}

.industry__text {
  grid-area: text;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .industry {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-height: 320px;
    padding: 32px;
    border-radius: var(--radius-lg);
  }

  .industry__watermark {
    position: absolute;
    right: -40px;
    bottom: -36px;
    display: block;
    width: 200px;
    max-width: none;
    height: 150px;
    fill: rgba(255, 255, 255, 0.04);
  }

  .industry__arrow {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-pill);
  }

  .industry:hover .industry__arrow {
    border-color: var(--accent);
    background: var(--accent);
  }

  .industry__icon .icon {
    width: 30px;
    height: 30px;
  }

  .industry__title {
    margin-top: 19px;
    font-size: 24px;
  }

  .industry__text {
    font-size: 15.5px;
  }

  .industry__tags {
    position: relative;
    margin-top: auto;
  }
}

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

/* --------------------------------------------------------------------------
   Approach timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
}

.timeline__line {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background: var(--tint-2);
}

.timeline__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline__step {
  position: relative;
  display: flex;
  gap: 18px;
}

.timeline__badge {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

.timeline__badge--active {
  background: var(--accent);
}

.timeline__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
}

.timeline__title {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

.timeline__text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .timeline__line {
    display: none;
  }

  .timeline__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 32px;
  }

  .timeline__step {
    flex-direction: column;
    gap: 24px;
  }

  /* On tablet every row gets its own connecting line */
  .timeline__step:nth-child(odd)::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 28px;
    width: calc(200% + 32px - 56px);
    height: 2px;
    background: var(--tint-2);
  }

  .timeline__badge {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    font-size: 18px;
  }

  .timeline__body {
    gap: 12px;
    padding-top: 0;
  }

  .timeline__title {
    font-size: 22px;
  }

  .timeline__text {
    font-size: 15.5px;
  }
}

@media (min-width: 1200px) {
  .timeline__line {
    top: 27px;
    right: 28px;
    bottom: auto;
    left: 28px;
    display: block;
    width: auto;
    height: 2px;
  }

  .timeline__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .timeline__step:nth-child(odd)::before {
    content: none;
  }
}

/* --------------------------------------------------------------------------
   Cases
   -------------------------------------------------------------------------- */
.featured-case__media {
  height: 260px;
  overflow: hidden;
  background: var(--line);
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
}

.featured-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 30%;
}

.featured-case__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: -48px 0 0 16px;
  padding: 26px 22px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(14, 27, 36, 0.22);
}

.featured-case__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.featured-case__category {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.featured-case__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.featured-case__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

.featured-case__btn {
  margin-top: 6px;
}

.case-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--text);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.case-card:hover {
  border-color: var(--input-line);
  box-shadow: var(--shadow-card);
  color: var(--text);
}

.case-card__media {
  height: 200px;
  overflow: hidden;
  background: var(--line);
}

.case-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.case-card:hover .case-card__img {
  transform: scale(1.03);
}

.case-card__img--purnatur { object-position: 92% 60%; }
.case-card__img--vento { object-position: 50% 40%; }

.case-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.case-card__title {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.case-card__text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.case-card__more {
  align-self: flex-start;
}

.case-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 8px;
}

.case-card__arrow {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--navy);
  transition: background-color 0.2s, color 0.2s;
}

.case-card:hover .case-card__arrow {
  background: var(--accent);
  color: var(--white);
}

@media (min-width: 768px) {
  .featured-case__media {
    height: 440px;
    clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%);
  }

  .featured-case__media img {
    object-position: 40% 30%;
  }

  .featured-case__card {
    gap: 18px;
    margin: -120px 0 0 64px;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
  }

  .featured-case__meta {
    gap: 10px;
  }

  .featured-case__category {
    font-size: 14px;
  }

  .featured-case__title {
    font-size: 28px;
    line-height: 1.15;
  }

  .featured-case__text {
    font-size: 16px;
    line-height: 1.65;
  }

  .featured-case__btn {
    align-self: flex-start;
    margin-top: 8px;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
  }

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

  .case-card__media {
    height: 240px;
  }

  .case-card__body {
    gap: 14px;
    padding: 32px;
  }

  .case-card__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .case-card__text {
    font-size: 15.5px;
  }
}

@media (min-width: 1200px) {
  .featured-case {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .featured-case__media {
    height: 580px;
    clip-path: polygon(0 0, calc(100% - 80px) 0, 100% 80px, 100% 100%, 0 100%);
  }

  .featured-case__card {
    margin: 0 0 0 -120px;
    padding: 48px;
  }

  .featured-case__title {
    font-size: 32px;
  }

  .case-card__media {
    height: 300px;
  }
}

/* --------------------------------------------------------------------------
   Benefits
   -------------------------------------------------------------------------- */
.benefits {
  position: relative;
  overflow: hidden;
  background: var(--brand-blue);
}

.benefits__watermark {
  position: absolute;
  top: -40px;
  right: -120px;
  width: 320px;
  max-width: none;
  height: 240px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 0.4;
  pointer-events: none;
}

.benefits__watermark-inner {
  display: none;
  stroke: rgba(255, 255, 255, 0.08);
}

.benefits__inner {
  position: relative;
}

.benefits__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.benefit-list {
  display: grid;
  gap: 24px;
}

.benefit {
  display: flex;
  gap: 16px;
}

.benefit__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.benefit__icon .icon {
  width: 22px;
  height: 22px;
}

.benefit__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.benefit__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

.benefit__text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .benefits__watermark {
    top: -60px;
    width: 620px;
    height: 465px;
    stroke-width: 0.25;
  }

  .benefits__watermark-inner {
    display: block;
  }

  .benefits__head {
    gap: 18px;
  }

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

  .benefit {
    flex-direction: column;
    gap: 14px;
  }

  .benefit__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
  }

  .benefit__icon .icon {
    width: 26px;
    height: 26px;
  }

  .benefit__body {
    gap: 14px;
  }

  .benefit__title {
    font-size: 22px;
  }

  .benefit__text {
    font-size: 15.5px;
    line-height: 1.6;
  }
}

@media (min-width: 1200px) {
  .benefit-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Technology partners + CTA band
   -------------------------------------------------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.partner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.partner__name {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
}

.partner__role {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.partner__check {
  display: none;
  color: var(--accent);
}

.partner--highlight {
  border: 0;
  background: var(--tint);
}

@media (max-width: 767.98px) {
  .partner-grid {
    margin-top: 28px;
  }
}

.partner--highlight .partner__name {
  font-size: 17px;
  line-height: 1.2;
}

.partner--highlight .partner__role {
  color: var(--text);
}

.cta-band {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  margin-top: 40px;
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--navy);
}

.cta-band__watermark {
  display: none;
}

.cta-band__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-band__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
}

.cta-band__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

.cta-band__btn {
  position: relative;
  margin-top: 6px;
}

@media (min-width: 768px) {
  .partner-grid {
    gap: 16px;
  }

  .partner {
    min-height: 152px;
    padding: 28px;
    border-radius: var(--radius-md);
  }

  .partner__name {
    font-size: 28px;
    letter-spacing: -0.01em;
  }

  .partner__role {
    font-size: 14px;
    line-height: 1.6;
  }

  .partner__check {
    display: block;
  }

  .partner--highlight .partner__name {
    font-size: 22px;
    letter-spacing: 0;
  }

  .partner--highlight .partner__role {
    line-height: 1.45;
  }

  .cta-band {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px 32px;
    margin-top: 56px;
    padding: 40px 44px;
    border-radius: var(--radius-xl);
  }

  .cta-band__watermark {
    position: absolute;
    bottom: -70px;
    left: -50px;
    display: block;
    width: 240px;
    max-width: none;
    height: 180px;
    fill: rgba(122, 170, 255, 0.08);
  }

  .cta-band__content {
    max-width: 760px;
    gap: 10px;
  }

  .cta-band__title {
    font-size: 32px;
    line-height: 1.15;
  }

  .cta-band__text {
    font-size: 16px;
  }

  .cta-band__btn {
    margin-top: 0;
  }
}

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

  .cta-band {
    margin-top: 64px;
    padding: 44px 56px;
  }
}

/* --------------------------------------------------------------------------
   Support & service
   -------------------------------------------------------------------------- */
.service {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}

.service__watermark {
  position: absolute;
  bottom: -110px;
  left: -110px;
  width: 320px;
  max-width: none;
  height: 240px;
  fill: rgba(59, 88, 158, 0.2);
  pointer-events: none;
}

.service__grid {
  position: relative;
  display: grid;
  gap: 32px;
}

.service__content,
.service__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service__lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 14px;
}

.feature {
  display: flex;
  gap: 14px;
}

.feature__icon .icon {
  width: 20px;
  height: 20px;
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature__title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
}

.feature__text {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  line-height: 1.55;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: var(--navy-card);
}

.service-card__label {
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card__phone {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.service-card__phone:hover {
  color: var(--accent-light);
}

.service-card__text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

.service-card__info,
.service-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card__actions {
  margin-top: 8px;
}

@media (max-width: 359.98px) {
  .service-card__phone {
    font-size: 26px;
  }
}

@media (min-width: 768px) {
  .service__watermark {
    right: -180px;
    bottom: -260px;
    left: auto;
    width: 560px;
    height: 420px;
    fill: rgba(59, 88, 158, 0.18);
  }

  .service__grid {
    gap: 56px;
  }

  .service__content,
  .service__head {
    gap: 22px;
  }

  .service__lead {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.65;
  }

  .feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 16px;
  }

  .feature {
    flex-direction: column;
    gap: 10px;
  }

  .feature__icon .icon {
    width: 22px;
    height: 22px;
  }

  .feature__body {
    gap: 10px;
  }

  .feature__title {
    margin-top: 4px;
    font-size: 19px;
  }

  .feature__text {
    font-size: 15px;
  }

  .service-card {
    gap: 16px;
    padding: 44px;
    border-radius: var(--radius-xl);
  }

  .service-card__info,
  .service-card__actions {
    gap: 16px;
  }

  .service-card__label {
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .service-card__phone {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .service-card__text {
    font-size: 16px;
    line-height: 1.6;
  }

  .service-card__actions {
    margin-top: 12px;
  }
}

/* Tablet: the full-width card puts its buttons next to the text */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .service-card {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 40px;
  }

  .service-card__info {
    flex: 1 1 auto;
  }

  .service-card__actions {
    flex: 0 0 240px;
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .service {
    padding-block: 120px;
  }

  .service__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 80px;
  }
}

/* --------------------------------------------------------------------------
   Jobs
   -------------------------------------------------------------------------- */
.jobs-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
}

/* On mobile the tiles sit between the intro text and the buttons */
.jobs-card__intro {
  display: contents;
}

.jobs-card__lead {
  font-size: 15.5px;
  line-height: 1.6;
}

.jobs-card__actions {
  order: 2;
  gap: 10px;
  margin-top: 6px;
}

.job-tiles {
  order: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.job-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  min-height: 104px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--navy);
  transition: background-color 0.2s;
}

.job-tile:hover {
  background: var(--tint);
  color: var(--navy);
}

.job-tile__top {
  display: flex;
  justify-content: space-between;
  color: var(--accent);
}

.job-tile__icon {
  width: 22px;
  height: 22px;
}

.job-tile__arrow {
  color: var(--navy);
  transition: transform 0.2s var(--ease-out);
}

.job-tile:hover .job-tile__arrow {
  transform: translate(2px, -2px);
}

.job-tile__title {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
}

@media (max-width: 359.98px) {
  .job-tile {
    padding: 14px 12px;
  }

  .job-tile__title {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .jobs-card {
    display: grid;
    gap: 40px;
    padding: 48px;
    border-radius: var(--radius-xl);
  }

  .jobs-card__intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .jobs-card__lead {
    max-width: 520px;
    font-size: 17px;
    line-height: 1.65;
  }

  .jobs-card__actions {
    gap: 14px;
    margin-top: 0;
    padding-top: 6px;
  }

  .job-tiles {
    gap: 16px;
    margin-top: 0;
  }

  .job-tile {
    gap: 16px;
    min-height: 140px;
    padding: 24px;
    border-radius: var(--radius-md);
  }

  .job-tile__icon {
    width: 26px;
    height: 26px;
  }

  .job-tile__title {
    font-size: 19px;
  }
}

@media (min-width: 1200px) {
  .jobs-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 64px;
    padding: 64px;
  }
}

/* --------------------------------------------------------------------------
   Contact + form
   -------------------------------------------------------------------------- */
.contact {
  padding-bottom: 112px;
}

.contact__grid {
  display: grid;
  gap: 28px;
}

.contact__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__lead {
  font-size: 16px;
  line-height: 1.6;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.contact-list__item--address {
  order: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}

.contact-item__icon .icon {
  width: 20px;
  height: 20px;
}

.contact-item__body {
  display: flex;
  flex-direction: column;
}

.contact-item__label {
  color: var(--muted);
  font-size: 13px;
}

.contact-item__value {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-item__value--address {
  font-size: 15px;
  line-height: 1.4;
}

a.contact-item:hover .contact-item__value {
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background: var(--bg);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.field__control {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--input-line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__control:hover {
  border-color: #AEB8C4;
}

.field__control:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 107, 240, 0.18);
}

.field__control[aria-invalid="true"] {
  border-color: var(--danger);
}

.field__control[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(196, 49, 75, 0.16);
}

.field__control--select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162733' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px;
  appearance: none;
  cursor: pointer;
}

.field__control--area {
  height: 122px;
  min-height: 96px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.field__error {
  color: var(--danger);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

.form-footer {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  margin-top: 4px;
}

.form-footer__note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 32px 22px;
  border-radius: 18px;
  background: var(--bg);
}

.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
}

.form-success__title {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.form-success__text {
  max-width: 460px;
}

@media (min-width: 768px) {
  .contact__grid {
    gap: 48px;
  }

  .contact__intro {
    gap: 22px;
  }

  .contact__lead {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.65;
  }

  .contact-list {
    gap: 20px;
    margin-top: 12px;
  }

  .contact-list__item--address {
    order: 0;
  }

  .contact-item {
    gap: 16px;
  }

  .contact-item__icon {
    width: 48px;
    height: 48px;
  }

  .contact-item__icon .icon {
    width: 22px;
    height: 22px;
  }

  .contact-item__value--address {
    font-size: 16px;
    line-height: 1.6;
  }

  .contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 44px;
    border-radius: var(--radius-xl);
  }

  .field {
    gap: 8px;
  }

  .field--full,
  .form-footer {
    grid-column: 1 / -1;
  }

  .field__control {
    height: 52px;
    padding: 0 16px;
  }

  .field__control--select {
    padding-right: 44px;
    background-position: right 16px center;
  }

  .field__control--area {
    height: 150px;
    padding: 14px 16px;
  }

  .form-footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    padding-top: 4px;
  }

  .form-footer__note {
    max-width: 320px;
    font-size: 13.5px;
    text-align: left;
  }

  .form-footer__btn {
    padding: 0 28px;
  }

  .form-success {
    padding: 44px;
    border-radius: var(--radius-xl);
  }

  .form-success__title {
    font-size: 28px;
  }
}

@media (min-width: 1200px) {
  .contact {
    padding-bottom: 176px;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 80px;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: -40px;
  padding: 80px 0 32px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

.footer-brand__logo {
  align-self: flex-start;
  width: auto;
  height: 26px;
}

.footer-brand__text {
  font-size: 15px;
  line-height: 1.6;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter__label {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
}

.newsletter__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter__input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter__input:focus {
  border-color: var(--accent-light);
  outline: none;
  box-shadow: 0 0 0 3px rgba(122, 170, 255, 0.22);
}

.newsletter__input[aria-invalid="true"] {
  border-color: var(--danger-light);
}

.newsletter__btn {
  --btn-h: 50px;
  padding: 0 22px;
  font-size: 15.5px;
}

.newsletter__error {
  color: var(--danger-light);
}

.newsletter__success {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.newsletter__success-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
}

.newsletter__success-text [data-success-email] {
  color: var(--white);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer-col--contact {
  grid-column: 1 / -1;
}

.footer-col__title {
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
}

.footer-col__link {
  display: flex;
  align-items: center;
  min-height: 32px;
  font-size: 14.5px;
}

.footer-col__address {
  font-size: 15px;
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 10px;
}

.site-footer .socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s;
}

.site-footer .socials__link--f {
  font-size: 15px;
}

.site-footer .socials__link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 100%;
  order: -1;
  gap: 6px 18px;
}

.footer-bottom__credit {
  margin-left: auto;
}

@media (max-width: 359.98px) {
  .footer-bottom__credit {
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .site-footer {
    margin-top: -56px;
    padding: 120px 0 40px;
    clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
  }

  .footer-top {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px 48px;
  }

  .footer-brand {
    gap: 18px;
  }

  .footer-brand__logo {
    height: 34px;
  }

  .footer-brand__text {
    font-size: 15.5px;
  }

  .newsletter {
    min-width: 420px;
  }

  .newsletter__form {
    gap: 12px;
  }

  .newsletter__label {
    font-size: 18px;
  }

  .newsletter__row {
    flex-direction: row;
  }

  .newsletter__input {
    flex: 1 1 auto;
    height: 52px;
    padding: 0 16px;
  }

  .newsletter__btn {
    --btn-h: 52px;
  }

  .footer-cols {
    gap: 40px;
    margin-top: 56px;
    padding-top: 48px;
  }

  .footer-col {
    gap: 12px;
  }

  .footer-col--contact {
    grid-column: auto;
  }

  .footer-col__title {
    font-size: 16px;
  }

  .footer-col__link {
    min-height: 0;
    font-size: 15px;
  }

  .socials {
    margin-top: 6px;
  }

  .footer-bottom {
    gap: 16px 24px;
    margin-top: 56px;
    padding-top: 28px;
    font-size: 13.5px;
  }

  .footer-legal {
    flex-basis: auto;
    order: 0;
    gap: 24px;
  }
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  .footer-col__link {
    min-height: 32px;
  }

  .footer-col {
    gap: 6px;
  }
}

@media (min-width: 1200px) {
  .site-footer {
    margin-top: -72px;
    padding: 152px 0 40px;
    clip-path: polygon(0 72px, 100% 0, 100% 100%, 0 100%);
  }

  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 64px;
  }

  .footer-bottom {
    margin-top: 64px;
  }
}

/* --------------------------------------------------------------------------
   Reveal on scroll (only when JS runs; disabled for reduced motion)
   -------------------------------------------------------------------------- */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition-property: opacity, transform, background-color, border-color, box-shadow, color;
  transition-duration: 0.7s, 0.7s, 0.2s, 0.2s, 0.25s, 0.2s;
  transition-timing-function: var(--ease-out);
  transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s, 0s, 0s, 0s;
}

.js [data-reveal].is-revealed,
.js [data-reveal-group] > .is-revealed {
  opacity: 1;
  transform: none;
}

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

  .js [data-reveal],
  .js [data-reveal-group] > * {
    opacity: 1;
    transform: none;
  }
}
