:root {
  --navy: #071832;
  --ink: #162033;
  --muted: #5d687a;
  --line: #d9e0e8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --steel: #eaf0f5;
  --blue: #0d4f8b;
  --red: #d22131;
  --red-dark: #aa1727;
  --teal: #167c83;
  --shadow: 0 20px 50px rgba(7, 24, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::selection {
  color: var(--white);
  background: var(--red);
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(217, 224, 232, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(112px, 14vw, 150px);
  text-decoration: none;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-contact {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.header-contact span {
  color: var(--muted);
  font-size: 0.82rem;
}

.header-contact strong {
  font-size: 0.95rem;
}

.language-switch {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.language-button {
  min-width: 2.5rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--white);
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(6rem, 11vh, 8.5rem) clamp(1.1rem, 5vw, 5rem) clamp(2rem, 5vh, 3.5rem);
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 10, 22, 0.95) 0%, rgba(6, 19, 38, 0.82) 37%, rgba(7, 24, 50, 0.26) 70%, rgba(7, 24, 50, 0.06) 100%),
    linear-gradient(180deg, rgba(3, 10, 22, 0.42), rgba(3, 10, 22, 0.14) 35%, rgba(3, 10, 22, 0.48));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff4b5d;
}

.hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.45rem, 5.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
  hyphens: manual;
}

.hero-lead {
  max-width: 650px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
}

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

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.button-secondary.on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.proof-strip {
  padding: 0 clamp(1.1rem, 5vw, 5rem);
  background: var(--white);
  transform: translateY(-1.6rem);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.proof-grid div {
  min-height: 6.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.proof-grid strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.1rem, 5vw, 5rem);
}

.section-intro {
  padding-top: clamp(1.7rem, 4vw, 3rem);
  background: var(--white);
}

.intro-grid,
.section-heading,
.card-grid,
.service-table,
.benefit-grid,
.process-list,
.contact-panel,
.site-footer {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.intro-copy {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
}

.intro-copy p {
  margin: 0 0 1.15rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section-workplaces,
.section-process {
  background: var(--paper);
}

.section-heading {
  max-width: 840px;
  text-align: center;
}

.section-heading.align-left {
  max-width: 1180px;
  text-align: left;
}

.section-heading p {
  margin: 1rem auto 0;
  max-width: 710px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.work-card,
.benefit-card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7, 24, 50, 0.02);
}

.work-card strong,
.benefit-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.25;
}

.work-card p,
.benefit-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.work-card::before {
  content: attr(data-number);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.service-table {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: 1rem;
  align-items: start;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-row h3,
.process-item h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.service-row p,
.process-item p {
  margin: 0;
  color: var(--muted);
}

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

.section-benefits h2 {
  color: var(--white);
}

.section-benefits .section-kicker {
  color: #ff4b5d;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.benefit-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.benefit-card strong {
  color: var(--white);
  font-size: 1.22rem;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.72);
}

.benefit-card .benefit-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-weight: 950;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-item {
  counter-increment: process;
  min-height: 100%;
  padding: 1.25rem;
  border-left: 3px solid var(--red);
  background: var(--white);
}

.process-item::before {
  content: counter(process, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.process-item p {
  margin-top: 0.65rem;
}

.section-contact {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  background: linear-gradient(135deg, var(--navy), #103358 64%, #12312f);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.contact-main {
  color: var(--white);
}

.contact-main h2 {
  color: var(--white);
}

.contact-main .section-kicker {
  color: #ff4b5d;
}

.contact-main p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}

.company-card {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.company-card h3 {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
}

.company-card dl {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.company-card div {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.company-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-card dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-card dd {
  margin: 0.2rem 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.1rem, 5vw, 5rem);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1020px) {
  .card-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-panel,
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.65rem 0.8rem;
  }

  .brand {
    width: 110px;
  }

  .header-contact {
    display: none;
  }

  .hero {
    min-height: 86svh;
    align-items: flex-end;
    padding: 6.6rem 1rem 2.1rem;
  }

  .hero-image {
    object-position: 69% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 10, 22, 0.42), rgba(3, 10, 22, 0.42) 30%, rgba(3, 10, 22, 0.93) 100%),
      linear-gradient(90deg, rgba(3, 10, 22, 0.76), rgba(3, 10, 22, 0.08));
  }

  .hero h1 {
    max-width: 17ch;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .proof-strip {
    transform: none;
    padding-top: 1rem;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .proof-grid div {
    min-height: auto;
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
  }

  .proof-grid span {
    margin-top: 0;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .card-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    display: grid;
    padding-inline: 1rem;
  }
}

@media (max-width: 390px) {
  .language-button {
    min-width: 2.1rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .button {
    padding-inline: 0.85rem;
  }
}
