@font-face {
  font-family: Outfit;
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: Outfit, Arial, sans-serif;
  color: #102447;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body,
h1,
h2,
h3,
p,
ul {
  margin: 0;
}

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

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

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

strong {
  font-weight: 800;
}

a:focus-visible {
  outline: 3px solid #00bfe7;
  outline-offset: 6px;
}

.page {
  container-type: inline-size;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  color: #102447;
  background: #fff;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Desktop: each artboard is 1920 × 1080. Layout scales; body text stays at or below 18px. */
.hero,
.about {
  --u: calc(100cqw / 1920);
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.hero {
  color: #fff;
  background: #082947;
  isolation: isolate;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

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

.hero__logo {
  position: absolute;
  width: calc(254 * var(--u));
  height: auto;
  top: calc(117 * var(--u));
  left: calc(833 * var(--u));
}

.hero__title {
  position: absolute;
  top: calc(247 * var(--u));
  width: 100%;
  font-size: min(3rem, calc(63.605 * var(--u)));
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.hero__title span,
.hero__title strong {
  display: block;
}

.hero__title span {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  transform: translate(calc(-7 * var(--u)), calc(2 * var(--u)));
}

.hero__rule {
  position: absolute;
  top: calc(433 * var(--u));
  left: calc(830 * var(--u));
  width: calc(260 * var(--u));
  height: calc(3 * var(--u));
  background: #fff;
  border-radius: 2px;
}

.hero__description {
  position: absolute;
  top: calc(473 * var(--u));
  left: calc(550 * var(--u));
  width: calc(820 * var(--u));
  font-size: min(18px, calc(25 * var(--u)));
  line-height: 1.2;
  text-align: center;
}

.hero__services {
  position: absolute;
  top: calc(742 * var(--u));
  left: calc(562 * var(--u));
  width: calc(790 * var(--u));
  display: flex;
  justify-content: space-between;
}

.service {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(10 * var(--u));
  min-height: calc(42 * var(--u));
  width: calc(253 * var(--u));
  border-bottom: 1px solid #fff;
  font-size: min(18px, calc(20.945 * var(--u)));
  font-weight: 800;
  text-transform: uppercase;
}

.service:last-child {
  width: calc(277 * var(--u));
}

.service img {
  width: calc(20 * var(--u));
  height: auto;
  filter: brightness(0) invert(1);
}

.about {
  background: #fff;
}

.numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(109 * var(--u));
  border-bottom: calc(2 * var(--u)) solid #182431;
  background: #005cad;
  color: #fff;
  font-size: min(18px, calc(33.916 * var(--u)));
  line-height: 1;
}

.numbers li {
  white-space: nowrap;
}

.numbers strong {
  font-size: min(1.75rem, calc(33.916 * var(--u)));
}

.numbers li+li {
  margin-left: calc(58 * var(--u));
  padding-left: calc(53 * var(--u));
  border-left: calc(3 * var(--u)) solid #fff;
}

.team-title {
  position: absolute;
  top: calc(182 * var(--u));
  width: 100%;
  font-size: min(2.25rem, calc(44 * var(--u)));
  font-weight: 400;
  line-height: 1.27;
  text-align: center;
  text-transform: uppercase;
}

.team {
  position: absolute;
  top: calc(307 * var(--u));
  left: calc(140 * var(--u));
  width: calc(1636 * var(--u));
  display: grid;
  grid-template-columns: 325fr 323fr 344fr 323fr 321fr;
  text-align: center;
}

.specialist {
  min-width: 0;
  min-height: calc(371 * var(--u));
}

.specialist+.specialist {
  border-left: calc(2 * var(--u)) solid #cfcfcf;
}

.specialist h3 {
  font-size: min(1.375rem, calc(26.917 * var(--u)));
  font-weight: 800;
  line-height: 1.26;
  transform: translateY(calc(-2 * var(--u)));
}

.specialist__photo {
  width: calc(218 * var(--u));
  height: calc(218 * var(--u));
  border-radius: 50%;
  margin: calc(11 * var(--u)) auto calc(23 * var(--u));
  object-fit: cover;
}

.specialist__role,
.specialist__expertise {
  color: #000;
  font-size: min(18px, calc(20.833 * var(--u)));
  line-height: 1.4;
}

.specialist:nth-child(3)>* {
  transform: translateX(calc(9 * var(--u)));
}

.specialist:nth-child(3) h3 {
  transform: translate(calc(9 * var(--u)), calc(-2 * var(--u)));
}

.announcement {
  position: absolute;
  z-index: 1;
  top: calc(749 * var(--u));
  left: calc(400 * var(--u));
  width: calc(1120 * var(--u));
  min-height: calc(110 * var(--u));
  display: grid;
  align-items: center;
  padding: calc(10 * var(--u)) calc(20 * var(--u));
  border: calc(2 * var(--u)) solid #000;
  color: #fff;
  background: #0f2345;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
}

.contact {
  position: absolute;
  top: calc(804 * var(--u));
  bottom: 0;
  width: 100%;
  background: #e7e7e7;
}

.contact__brand {
  position: absolute;
  top: calc(110 * var(--u));
  left: calc(130 * var(--u));
  width: calc(350 * var(--u));
}

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

.contact__links {
  position: absolute;
  top: calc(110 * var(--u));
  left: calc(600 * var(--u));
  width: calc(1160 * var(--u));
  display: grid;
  grid-template-columns: 440fr 260fr 380fr;
  grid-template-rows: repeat(2, calc(46 * var(--u)));
  gap: calc(14 * var(--u)) calc(30 * var(--u));
  font-style: normal;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: 0 calc(18 * var(--u));
  border-radius: 999px;
  background: #d0d0d0;
  font-size: clamp(14px, calc(21 * var(--u)), 16px);
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.contact-link img {
  flex-shrink: 0;
  width: calc(28 * var(--u));
  height: auto;
}

.contact-link--location {
  grid-column: 2 / 4;
  padding-left: calc(22 * var(--u));
}

.contact-link--linkedin {
  grid-column: 1;
}

.contact-link--whatsapp {
  padding-left: calc(21 * var(--u));
}

.contact-link--instagram {
  padding-left: calc(20 * var(--u));
}

.contact-link:hover {
  background: #bfcfdc;
}

/* Tablets and phones use natural document flow rather than scaled-down text. */
@media (max-width: 1200px) {

  .hero,
  .about {
    aspect-ratio: auto;
  }

  .hero {
    min-height: 760px;
    min-height: max(760px, 100svh);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 52px 28px 44px;
  }

  .hero__background img {
    object-position: 50% 100%;
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgb(5 24 48 / 24%), transparent 60%, rgb(5 24 48 / 35%));
  }

  .hero__logo {
    position: static;
    width: 218px;
  }

  .hero__title {
    position: static;
    margin-top: 64px;
    font-size: clamp(34px, 5.5vw, 52px);
    line-height: 1.1;
    max-width: 720px;
  }

  .hero__title strong {
    margin-top: 8px;
  }

  .hero__title span {
    transform: none;
  }

  .hero__rule {
    position: static;
    flex-shrink: 0;
    width: 144px;
    height: 2px;
    margin: 30px 0 26px;
  }

  .hero__description {
    position: static;
    width: auto;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.5;
  }

  .desktop-break {
    display: none;
  }

  .hero__services {
    position: static;
    width: 100%;
    max-width: 620px;
    gap: 28px;
    margin-top: auto;
    padding-top: 100px;
  }

  .service,
  .service:last-child {
    width: auto;
    flex: 1;
    min-height: 48px;
    font-size: 17px;
    gap: 8px;
  }

  .service img {
    width: 18px;
  }

  .numbers {
    height: auto;
    min-height: 104px;
    padding: 24px;
    font-size: 18px;
    line-height: 1.3;
    border-bottom-width: 1px;
  }

  .numbers li {
    flex: 1;
    text-align: center;
    white-space: normal;
  }

  .numbers strong {
    display: block;
    font-size: 30px;
  }

  .numbers li+li {
    margin-left: 20px;
    padding-left: 20px;
    border-left-width: 1px;
  }

  .team-title {
    position: static;
    padding: 52px 24px 0;
    font-size: 32px;
    line-height: 1.15;
  }

  .team {
    position: static;
    width: auto;
    margin: 46px 24px 0;
    grid-template-columns: repeat(6, 1fr);
    row-gap: 40px;
  }

  .specialist {
    grid-column: span 2;
    min-height: 0;
    padding: 0 12px;
  }

  .specialist+.specialist {
    border-left: 1px solid #cfcfcf;
  }

  .specialist:nth-child(4) {
    grid-column: 2 / 4;
    border-left: 0;
  }

  .specialist h3 {
    font-size: 21px;
    line-height: 1.3;
  }

  .specialist h3,
  .specialist:nth-child(3)>*,
  .specialist:nth-child(3) h3 {
    transform: none;
  }

  .specialist__photo {
    width: 170px;
    height: auto;
    aspect-ratio: 1;
    margin: 16px auto 20px;
  }

  .specialist__role,
  .specialist__expertise {
    font-size: 16px;
    line-height: 1.4;
  }

  .specialist__expertise {
    margin-top: 3px;
  }

  .announcement {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    min-height: 0;
    margin: 48px 32px 0;
    padding: 22px 24px;
    font-size: 18px;
    line-height: 1.5;
    border-width: 1px;
  }

  .contact {
    position: static;
    margin-top: -36px;
    padding: 76px 28px 40px;
  }

  .contact__brand {
    position: static;
    display: block;
    width: 285px;
    margin: 0 auto 32px;
  }

  .contact__links {
    position: static;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 12px;
  }

  .contact-link {
    min-width: 0;
    min-height: 48px;
    gap: 10px;
    padding: 10px 16px;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
  }

  .contact-link img {
    width: 28px;
  }

  .contact-link span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-link--email,
  .contact-link--location,
  .contact-link--linkedin {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 780px;
    min-height: max(780px, 100svh);
    padding: 40px 22px 32px;
  }

  .hero__logo {
    width: 202px;
  }

  .hero__title {
    max-width: 380px;
    margin-top: 50px;
    font-size: clamp(29px, 8.2vw, 40px);
    line-height: 1.12;
  }

  .hero__title span,
  .hero__title strong {
    max-width: 340px;
    margin-inline: auto;
  }

  .hero__title strong {
    margin-top: 8px;
  }

  .hero__rule {
    width: 120px;
    margin: 25px 0 22px;
  }

  .hero__description {
    max-width: 390px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero__services {
    gap: 15px;
    padding-top: 132px;
  }

  .service,
  .service:last-child {
    font-size: clamp(11px, 3.2vw, 16px);
    gap: 6px;
  }

  .service img {
    width: 15px;
  }

  .numbers {
    padding: 22px 14px;
    align-items: stretch;
    font-size: 12px;
    line-height: 1.35;
  }

  .numbers li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .numbers strong {
    margin-bottom: 4px;
    font-size: 27px;
    line-height: 1.1;
  }

  .numbers li+li {
    margin-left: 10px;
    padding-left: 10px;
  }

  .numbers span {
    max-width: 120px;
  }

  .team-title {
    padding-top: 40px;
    font-size: clamp(22px, 5.8vw, 28px);
  }

  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 0;
    margin: 34px 14px 0;
  }

  .specialist {
    grid-column: auto;
    padding: 0 10px;
  }

  .specialist+.specialist {
    border-left: 0;
  }

  .specialist:nth-child(even) {
    border-left: 1px solid #cfcfcf;
  }

  .specialist:nth-child(4) {
    grid-column: auto;
  }

  .specialist:last-child {
    grid-column: 1 / -1;
    width: 60%;
    justify-self: center;
  }

  .specialist h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .specialist__photo {
    width: min(145px, 100%);
    margin: 14px auto;
  }

  .specialist__role,
  .specialist__expertise {
    font-size: 14px;
    line-height: 1.4;
  }

  .specialist__expertise br {
    display: none;
  }

  .announcement {
    margin: 38px 20px 0;
    padding: 22px 18px;
    font-size: 17px;
    line-height: 1.5;
  }

  .contact {
    padding: 70px 20px 32px;
  }

  .contact__brand {
    width: 245px;
    margin-bottom: 28px;
  }

  .contact__links {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .contact-link {
    grid-column: 1;
    font-size: 14px;
    padding: 10px 14px;
    min-height: 48px;
  }

  .contact-link--location {
    border-radius: 24px;
  }

  .contact-link img {
    width: 28px;
  }
}

@media (max-width: 360px) {
  .hero {
    min-height: max(860px, 100svh);
  }

  .contact-link--email,
  .contact-link--linkedin {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  .contact-link {
    transition: none;
  }
}