:root {
  --blue: #00a6e7;
  --blue-dark: #001e5a;
  --green: #203f04;
  --ink: #101820;
  --muted: #5f6872;
  --light: #f3f5f8;
  --leaf: #8fd000;
  --sky: #81cff6;
  --white: #fff;
  --shadow: 0 22px 42px rgba(7, 26, 41, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  animation: pageFadeIn 0.55s ease both;
  background: var(--light);
  color: var(--ink);
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

body.nav-lock {
  overflow: hidden;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sectionRiseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

button {
  font: inherit;
}

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

.site-header {
  align-items: center;
  background: var(--blue);
  color: var(--white);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) auto;
  height: 136px;
  left: 0;
  padding: 0 clamp(24px, 10vw, 204px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.brand {
  display: block;
  width: max-content;
}

.brand img {
  height: auto;
  width: clamp(170px, 14.8vw, 247px);
}

.nav {
  align-items: center;
  align-self: center;
  border-bottom: 2px solid #0e3b24;
  display: flex;
  gap: clamp(26px, 2.45vw, 48px);
  justify-content: flex-start;
  justify-self: center;
  padding-top: 8px;
  width: max-content;
}

.nav a {
  border-bottom: 7px solid transparent;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: -2px;
  padding: 16px 0 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  border-bottom-color: #0e3b24;
  color: #102111;
  font-weight: 400;
}

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

.lang-switch {
  align-items: center;
  background: #062765;
  border: 3px solid #062765;
  border-radius: 999px;
  cursor: pointer;
  display: block;
  height: 40px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 116px;
}

.lang-switch::before {
  background: #e8e8e8;
  border-radius: 999px;
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  transition: transform 0.32s ease;
  width: 76px;
  z-index: 1;
}

.lang-switch.is-en::before {
  transform: translateX(40px);
}

.lang-switch span {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.lang-switch span:first-of-type {
  color: #062765;
  left: 13px;
}

.lang-switch span:last-of-type {
  color: #06a9e8;
  right: 8px;
}

.lang-switch.is-en span:first-of-type {
  color: #06a9e8;
}

.lang-switch.is-en span:last-of-type {
  color: #062765;
  right: 36px;
}

.lang-switch b {
  background: #062765;
  border: 0;
  border-radius: 999px;
  display: block;
  height: 34px;
  left: 43px;
  position: absolute;
  top: 0;
  transition: transform 0.32s ease;
  transform: translateX(0) rotate(0deg);
  width: 34px;
  z-index: 3;
}

.lang-switch.is-en b {
  transform: translateX(33px) rotate(360deg);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  justify-self: end;
  padding: 10px;
}

.nav-toggle span {
  background: #fff;
  border-radius: 10px;
  display: block;
  height: 3px;
  margin: 7px 0;
  width: 30px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(0, 20, 15, 0.7) 0%, rgba(0, 20, 15, 0.45) 35%, rgba(0, 20, 15, 0.05) 80%),
    url("../images/source/hero.jpg") center center / cover;
  height: max(900px, 100vh);
  min-height: 900px;
  padding-top: 136px;
  position: relative;
}

.hero__content {
  animation: sectionRiseIn 0.72s 0.08s ease both;
  color: #fff;
  margin-left: clamp(28px, 10.4vw, 204px);
  max-width: 790px;
  padding-top: clamp(160px, 11.5vw, 220px);
}

.hero h1 {
  font-family: "Battambang", Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 4.05vw, 68px);
  line-height: 1.08;
  margin: 0 0 54px;
}

.hero p {
  font-size: clamp(20px, 1.5vw, 27px);
  line-height: 1.18;
  margin: 0;
}

.bcorp-card {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  height: 216px;
  padding: 0;
  position: absolute;
  right: clamp(48px, 10vw, 190px);
  top: 72%;
  transform: translateY(-50%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 184px;
}

.bcorp-card:hover {
  transform: translateY(calc(-50% - 4px));
}

.bcorp-card img {
  display: block;
  height: 100%;
  width: 100%;
}

.bcorp-card i {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  bottom: -27px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  color: var(--blue);
  display: flex;
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
  font-size: 52px;
  font-style: normal;
  font-weight: 600;
  height: 62px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -33px;
  width: 62px;
}

.bcorp-card i::before,
.bcorp-card i::after {
  background: var(--blue);
  border-radius: 0;
  content: "";
  display: block;
  height: 32px;
  position: absolute;
  transition: transform 0.32s ease;
  width: 6px;
}

.bcorp-card i::after {
  transform: rotate(90deg);
}

.bcorp-card:hover i::before {
  transform: rotate(180deg);
}

.bcorp-card:hover i::after {
  transform: rotate(270deg);
}

.section {
  padding: 104px 24px;
  scroll-margin-top: 136px;
}

.section__inner {
  animation: sectionRiseIn 0.72s ease both;
  margin: 0 auto;
  max-width: 1510px;
}

.section h2 {
  color: var(--green);
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 3.2vw, 58px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 72px;
  text-align: center;
}

.section--dark {
  background:
    linear-gradient(90deg, rgba(11, 42, 1, 0.98), rgba(11, 42, 1, 0.72) 58%, rgba(72, 86, 80, 0.9)),
    url("../images/source/blur-leaf.jpg") left center / cover;
  color: #fff;
}

.section--dark h2,
.alliances h2 {
  color: #fff;
}

.approach .section__inner {
  max-width: 1590px;
}

.approach-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
}

.approach-card {
  padding: 0 20px 48px;
  text-align: center;
}

.approach-card + .approach-card {
  border-left: 1px solid rgba(255, 255, 255, 0.82);
}

.approach-card img {
  aspect-ratio: 1.36;
  border-radius: 42px;
  box-shadow: var(--shadow);
  margin-bottom: 52px;
  object-fit: cover;
  width: 100%;
}

.approach-card h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 22px;
}

.approach-card p {
  font-size: 18px;
  line-height: 1.23;
  margin: 0 auto;
  max-width: 420px;
}

.section--sky {
  background: var(--sky);
}

.services {
  background: #7ecbf0;
  overflow: hidden;
  padding: 20px 0 24px;
}

.services__diagram {
  height: 650px;
  margin: 0 auto;
  max-width: 930px;
  position: relative;
}

.service {
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 54px;
  position: absolute;
  text-align: center;
}

.service::after {
  background: #7ecbf0;
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.service > * {
  position: relative;
  z-index: 1;
}

.service h3 {
  color: #00163f;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  margin: 8px 0 10px;
}

.service p {
  color: #061335;
  font-size: 15px;
  line-height: 1.14;
  margin: 0 0 14px;
  max-width: 320px;
}

.service button {
  background: var(--blue);
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  min-width: 120px;
  padding: 8px 20px;
}

.alliance-card button {
  background: var(--blue);
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  min-width: 120px;
  padding: 10px 22px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.alliance-card button:hover {
  background: #0089c6;
  transform: translateY(-2px);
}

.service__icon {
  display: block;
  height: 46px;
  width: 46px;
}

.service__icon svg,
.service__icon img {
  fill: none;
  height: 100%;
  object-fit: contain;
  stroke: #061335;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  width: 100%;
}

.service--top,
.service--bottom {
  height: 340px;
  left: 50%;
  width: 340px;
  z-index: 1;
}

.service--top {
  height: 340px;
  top: 0;
  transform: translateX(-50%);
  width: 340px;
}

.service--bottom {
  bottom: 0;
  transform: translateX(-50%);
}

.service--top > * {
  transform: translateY(-52px);
}

.service--bottom > * {
  transform: translateY(66px);
}

.service--left,
.service--right {
  height: 370px;
  top: 154px;
  width: 370px;
  z-index: 2;
}

.service--left { left: 18px; }
.service--right { right: 18px; }

.service--left::after,
.service--right::after {
  inset: 0;
  border-radius: 999px;
}

.service--top::after,
.service--bottom::after,
.service--center::after {
  display: none;
}

.service--center {
  background: #f5f6f8;
  border: 0;
  height: 230px;
  left: 50%;
  top: 52.2%;
  transform: translate(-50%, -50%);
  width: 230px;
  z-index: 3;
}

.service--center strong {
  color: var(--blue-dark);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
}

.clients {
  background: #f4f6f8;
}

.clients.section {
  padding: 54px 24px 42px;
}

.clients h2 {
  margin-bottom: 38px;
}

.client-grid {
  align-items: center;
  align-content: center;
  display: grid;
  column-gap: clamp(36px, 5.2vw, 82px);
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  row-gap: 14px;
}

.client-grid img {
  filter: saturate(1.08);
  height: 64px;
  justify-self: center;
  max-width: 100%;
  object-fit: contain;
  transform: scale(var(--client-scale, 1));
  transform-origin: center;
  width: 154px;
}

.client-dots {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.client-dots button {
  background: #cdd9e3;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 20px;
  width: 20px;
}

.client-dots button.is-active {
  background: var(--leaf);
}

.values {
  background: #fff;
  overflow-x: hidden;
}

.values h2 {
  color: var(--blue-dark);
}

.values-grid {
  display: grid;
  gap: 56px 34px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}

.values-grid article {
  background: var(--blue);
  border-radius: 36px !important;
  color: #fff;
  min-height: 252px;
  overflow: hidden;
  padding: 54px 42px;
  position: relative;
  transition: transform 0.2s ease;
}

.values-grid article:hover {
  transform: translateY(-5px);
}

.values-grid span {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: var(--green);
  display: flex;
  height: 62px;
  justify-content: center;
  position: absolute;
  right: 24px;
  top: 22px;
  width: 62px;
}

.values-grid span img {
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.values-grid h3 {
  font-size: 28px;
  margin: 0 0 26px;
}

.values-grid p {
  font-size: 18px;
  line-height: 1.18;
  margin: 0;
}

.team {
  background: #edf1f4;
  overflow-x: hidden;
}

.team h2 {
  color: var(--ink);
}

.team-grid {
  display: grid;
  gap: 56px 40px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 969px;
}

.person {
  background: #fff;
  border-radius: 36px !important;
  box-shadow: var(--shadow);
  min-height: 357px;
  overflow: hidden;
  position: relative;
}

.person img {
  border-radius: inherit;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  width: 100%;
}

.person__caption {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  bottom: 17px;
  display: grid;
  grid-template-columns: 1fr 46px;
  left: 18px;
  min-height: 58px;
  padding: 9px 8px 9px 20px;
  position: absolute;
  right: 18px;
}

.person h3 {
  grid-column: 1;
  font-size: 15px;
  margin: 0 0 4px;
}

.person p {
  grid-column: 1;
  font-size: 14px;
  margin: 0;
}

.person a {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 22px;
  grid-column: 2;
  grid-row: 1 / span 2;
  font-weight: 700;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.alliances {
  background:
    linear-gradient(rgba(115, 185, 8, 0.38), rgba(115, 185, 8, 0.22)),
    url("../images/source/leaf-bg.jpg") center / cover;
  padding-bottom: 180px;
}

.alliance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 24px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1290px;
}

.alliance-card {
  background: #f7f8fa;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  flex: 0 0 194px;
  max-width: 100%;
  min-height: 274px;
  padding: 24px 17px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alliance-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.alliance-card__logo {
  align-items: center;
  display: flex;
  height: 61px;
  justify-content: center;
}

.alliance-card__logo img {
  max-height: 57px;
  max-width: 130px;
  object-fit: contain;
}

.alliance-card hr {
  border: 0;
  border-top: 1px solid #545a60;
  margin: 20px 0;
  width: 100%;
}

.alliance-card h3 {
  font-size: 18px;
  line-height: 1.1;
  margin: 0 0 26px;
}

.alliance-card button {
  font-size: 12px;
  margin: auto auto 0;
  min-width: 104px;
  padding: 8px 19px;
}

.contact-card {
  align-items: center;
  background: var(--blue);
  border-radius: 40px;
  color: #fff;
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 150px auto 0;
  max-width: 1510px;
  padding: 62px 120px 76px;
}

.contact-card h2 {
  color: #fff;
  grid-column: 1 / -1;
  margin: 0;
}

.contact-card a {
  align-items: center;
  display: flex;
  font-size: 25px;
  gap: 24px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-card span {
  align-items: center;
  display: flex;
  flex: 0 0 56px;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.contact-card span img {
  height: 56px;
  object-fit: contain;
  width: 56px;
}

.modal {
  animation: modalIn 0.26s ease-out;
  background: var(--blue);
  border: 0;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  color: #fff;
  max-width: 940px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  padding: 70px 112px 78px;
  text-align: center;
  width: calc(100vw - 72px);
}

.modal::backdrop {
  animation: backdropIn 0.26s ease-out;
  background: rgba(0, 0, 0, 0.54);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal h2 {
  color: #fff;
  font-family: "Battambang", Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1.18;
  margin: 64px auto 34px;
  max-width: 700px;
}

.modal p {
  color: #fff;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.22;
  margin: 0 auto 54px;
  max-width: 760px;
}

.modal__close {
  background: #fff;
  border: 0;
  border-radius: 6px;
  color: var(--blue);
  cursor: pointer;
  display: block;
  font-size: 0;
  font-weight: 400;
  height: 36px;
  margin: 0 auto;
  position: static;
  width: 154px;
}

.modal__close::before {
  content: "Cerrar";
  font-size: 15px;
  font-weight: 400;
}

html[lang="en"] .modal__close::before {
  content: "Close";
}

.modal__detail {
  display: none;
}

.modal.modal--alliance {
  background: #83caf0;
  border-radius: 28px;
  color: #07162f;
  max-height: calc(100vh - 48px);
  max-width: 1360px;
  min-height: 280px;
  overflow: hidden;
  padding: 76px 112px;
  position: fixed;
  text-align: left;
  width: calc(100vw - 48px);
}

.modal.modal--alliance .modal__brand,
.modal.modal--alliance > h2,
.modal.modal--alliance > p {
  display: none;
}

.modal.modal--alliance .modal__detail {
  display: block;
}

.alliance-modal {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(210px, 300px) 1px minmax(0, 500px);
  min-height: 150px;
}

.alliance-modal::before {
  background: rgba(255, 255, 255, 0.82);
  content: "";
  display: block;
  grid-column: 2;
  grid-row: 1;
  height: 160px;
  width: 1px;
}

.alliance-modal__logo {
  align-items: center;
  display: flex;
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
  min-width: 0;
}

.alliance-modal__logo img {
  max-height: 118px;
  max-width: 250px;
  object-fit: contain;
}

.alliance-modal__logo strong {
  color: #07162f;
  font-size: 34px;
  font-weight: 700;
}

.alliance-modal p {
  color: #07162f;
  font-size: 15.5px;
  grid-column: 3;
  grid-row: 1;
  line-height: 1.18;
  margin: 0;
  max-width: 500px;
}

.modal.modal--alliance .modal__close {
  background: var(--blue);
  color: #fff;
  margin: 0;
  position: absolute;
  right: 112px;
  top: 96px;
}

.modal.modal--alliance .modal__close::before {
  font-size: 13px;
}

.modal.modal--service {
  animation: serviceModalIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  background: #83caf0;
  border-radius: 28px;
  color: #07162f;
  height: calc(100vh - 48px);
  max-height: none;
  max-width: 1636px;
  overflow: hidden;
  padding: 56px 86px 28px 82px;
  left: 50%;
  margin: 0;
  position: fixed;
  text-align: left;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vw - 24px);
}

.modal.modal--service.is-closing {
  animation: serviceModalOut 0.32s ease-in forwards;
}

.modal.modal--service .modal__brand,
.modal.modal--service > h2,
.modal.modal--service > p {
  display: none;
}

.modal.modal--service .modal__detail {
  display: block;
}

.service-modal {
  display: grid;
  gap: 42px;
  grid-template-columns: 330px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
}

.service-modal__intro {
  border-right: 1px solid rgba(255, 255, 255, 0.86);
  grid-row: 1;
  padding: 30px 42px 0 0;
}

.service-modal__icon {
  display: block;
  height: 116px;
  margin: 0 auto 24px;
  width: 116px;
}

.service-modal__icon svg,
.service-modal__icon img {
  fill: none;
  height: 100%;
  object-fit: contain;
  stroke: #061335;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
  width: 100%;
}

.service-modal__intro h2 {
  color: #07162f;
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 18px;
  text-align: left;
}

.service-modal__intro p {
  color: #07162f;
  font-size: 15.5px;
  line-height: 1.2;
  margin: 0;
  max-width: 280px;
}

.service-modal__content,
.service-modal__sections {
  display: grid;
  gap: 52px;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 0;
  overflow: auto;
  padding-right: 8px;
}

.service-modal__sections {
  overflow: visible;
  padding-right: 0;
}

.service-modal__visual-panel {
  grid-column: 2;
  min-width: 0;
}

.service-modal__hero {
  display: block;
  height: 242px;
  margin: 6px 0 36px;
  object-fit: cover;
  width: 100%;
}

.service-modal__bullets {
  color: #07162f;
  font-size: 15px;
  line-height: 1.14;
  margin: 0;
  max-width: 520px;
  padding-left: 24px;
}

.service-modal__visuals {
  display: grid;
  gap: 18px;
  grid-column: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-modal__visuals img {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(3, 28, 54, 0.12);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-modal__column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.service-detail h3 {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  color: #07162f;
  display: grid;
  font-size: 21px;
  font-weight: 800;
  gap: 10px;
  grid-template-columns: auto 1px minmax(0, 1fr);
  line-height: 1.1;
  margin: 0 0 12px;
  padding: 0 0 7px;
}

.service-detail h3 span {
  font-size: 20px;
  font-weight: 800;
}

.service-detail h3 i {
  background: rgba(255, 255, 255, 0.95);
  display: block;
  height: 25px;
  width: 1px;
}

.service-detail ul {
  color: #07162f;
  font-size: 13.8px;
  line-height: 1.06;
  margin: 0;
  padding-left: 23px;
}

.modal.modal--service .modal__close {
  background: var(--blue);
  bottom: 132px;
  color: #fff;
  left: calc(50% + 210px);
  margin: 0;
  position: absolute;
  transform: none;
}

.modal.modal--service-matrix .modal__close {
  bottom: 48px;
  left: calc(50% + 238px);
}

.modal.modal--service-visual .modal__close {
  bottom: 86px;
  left: calc(50% - 122px);
}

.modal.modal--service-sections .modal__close {
  bottom: 52px;
  left: calc(50% + 110px);
}

.modal.modal--service .modal__close::before {
  font-weight: 400;
}

@keyframes serviceModalIn {
  from {
    opacity: 0;
    transform: translate(calc(-50% + 110vw), -50%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes serviceModalOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  to {
    opacity: 0;
    transform: translate(calc(-50% - 110vw), -50%);
  }
}

.modal__brand {
  display: inline-block;
}

.modal__brand img {
  height: auto;
  width: min(247px, 70vw);
}

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

@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: 230px 1fr auto;
    padding: 0 32px;
  }

  .brand__name {
    font-size: 34px;
  }

  .brand__leaf {
    grid-template-columns: repeat(2, 23px);
    grid-template-rows: repeat(2, 23px);
  }

  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 15px;
  }

  .client-grid {
    column-gap: 36px;
    grid-template-columns: repeat(6, minmax(92px, 1fr));
    row-gap: 28px;
  }

}

@media (min-width: 1201px) and (max-width: 1500px) {
  .site-header {
    grid-template-columns: 300px minmax(0, 1fr) auto;
    padding: 0 72px;
  }

  .nav {
    gap: 32px;
  }

  .nav a {
    font-size: 19px;
  }
}

@media (min-width: 861px) and (max-width: 1400px), (min-width: 861px) and (max-height: 900px) {
  .site-header {
    grid-template-columns: 220px minmax(0, 1fr) auto;
    height: 104px;
    padding: 0 clamp(28px, 5vw, 72px);
  }

  .brand img {
    width: clamp(152px, 13vw, 196px);
  }

  .nav {
    gap: clamp(18px, 2vw, 28px);
    padding-top: 6px;
  }

  .nav a {
    border-bottom-width: 5px;
    font-size: 17px;
    padding: 13px 0 11px;
  }

  .hero {
    height: max(760px, 100vh);
    min-height: 760px;
    padding-top: 104px;
  }

  .hero__content {
    margin-left: clamp(42px, 7vw, 96px);
    max-width: 650px;
    padding-top: clamp(112px, 9vw, 148px);
  }

  .hero h1 {
    font-size: clamp(42px, 4vw, 56px);
    margin-bottom: 34px;
  }

  .hero p {
    font-size: clamp(18px, 1.45vw, 22px);
    max-width: 640px;
  }

  .bcorp-card {
    height: 176px;
    right: clamp(52px, 9vw, 128px);
    top: 72%;
    width: 150px;
  }

  .bcorp-card i {
    bottom: -22px;
    height: 52px;
    right: -28px;
    width: 52px;
  }

  .bcorp-card i::before,
  .bcorp-card i::after {
    height: 28px;
    width: 5px;
  }

  .section {
    padding: 76px 24px;
    scroll-margin-top: 104px;
  }

  .section__inner {
    max-width: 1180px;
  }

  .section h2 {
    font-size: clamp(38px, 3vw, 48px);
    margin-bottom: 46px;
  }

  .approach .section__inner {
    max-width: 1220px;
  }

  .approach-grid {
    gap: 26px;
  }

  .approach-card {
    min-height: 418px;
    padding: 32px 24px 30px;
  }

  .approach-card img {
    height: 172px;
    margin-bottom: 30px;
  }

  .approach-card h3 {
    font-size: 24px;
  }

  .approach-card p {
    font-size: 16px;
  }

  .services {
    padding: 16px 0 20px;
  }

  .services__diagram {
    height: 600px;
    max-width: 860px;
  }

  .service {
    padding: 32px 46px;
  }

  .service--top,
  .service--bottom {
    height: 314px;
    width: 314px;
  }

  .service--top {
    height: 314px;
    width: 314px;
  }

  .service--left,
  .service--right {
    height: 342px;
    top: 142px;
    width: 342px;
  }

  .service--left {
    left: 18px;
  }

  .service--right {
    right: 18px;
  }

  .service--center {
    height: 210px;
    width: 210px;
  }

  .service--center strong {
    font-size: 32px;
  }

  .service h3 {
    font-size: 19px;
  }

  .service p {
    font-size: 13.5px;
    max-width: 292px;
  }

  .service__icon {
    height: 42px;
    width: 42px;
  }

  .service--top > * {
    transform: translateY(-42px);
  }

  .service--bottom > * {
    transform: translateY(50px);
  }

  .clients.section {
    padding: 46px 24px 34px;
  }

  .clients h2 {
    margin-bottom: 28px;
  }

  .client-grid {
    column-gap: clamp(30px, 4.3vw, 54px);
    grid-template-columns: repeat(6, minmax(94px, 1fr));
    row-gap: 18px;
  }

  .client-grid img {
    height: 56px;
    width: 136px;
  }

  .values-grid {
    gap: 32px 24px;
  }

  .values-grid article {
    min-height: 222px;
    padding: 34px 24px 30px;
  }

  .values-grid h3 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .values-grid p {
    font-size: 15.5px;
  }

  .team-grid {
    gap: 34px 28px;
    max-width: 840px;
  }

  .person {
    min-height: 318px;
  }

  .person__caption {
    bottom: 14px;
    grid-template-columns: 1fr 42px;
    left: 14px;
    min-height: 52px;
    padding: 8px 7px 8px 16px;
    right: 14px;
  }

  .person h3 {
    font-size: 13px;
  }

  .person p {
    font-size: 12.5px;
  }

  .person a {
    font-size: 20px;
    height: 42px;
    width: 42px;
  }

  .alliance-grid {
    gap: 22px 18px;
    max-width: 930px;
  }

  .alliance-card {
    flex-basis: 214px;
    min-height: 268px;
    padding: 24px 20px 22px;
    width: 214px;
  }

  .contact-card {
    gap: 24px 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 96px;
    max-width: 980px;
    padding: 44px 52px 52px;
  }

  .contact-card a {
    font-size: 20px;
    gap: 16px;
  }

  .contact-card span {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
  }

  .contact-card span img {
    height: 44px;
    width: 44px;
  }
}

@media (min-width: 1401px) and (max-width: 1700px) {
  .contact-card {
    gap: 24px 32px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 96px;
    max-width: 1280px;
    padding: 44px 72px 52px;
  }

  .contact-card h2 {
    font-size: 48px;
    margin-bottom: 4px;
  }

  .contact-card a {
    font-size: 21px;
    gap: 16px;
  }

  .contact-card span {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
  }

  .contact-card span img {
    height: 44px;
    width: 44px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    height: 90px;
    padding: 0 18px;
  }

  .site-header::before {
    background: rgba(8, 24, 40, 0.48);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.24s ease;
    z-index: -1;
  }

  .site-header.nav-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .brand__name {
    font-size: 28px;
  }

  .brand__tagline {
    display: none;
  }

  .brand__leaf {
    grid-template-columns: repeat(2, 18px);
    grid-template-rows: repeat(2, 18px);
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .nav {
    align-items: stretch;
    background: var(--blue);
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(0, 24, 54, 0.28);
    display: flex;
    flex-direction: column;
    gap: 4px;
    left: 50%;
    max-width: 320px;
    opacity: 0;
    padding: 26px 28px 30px;
    pointer-events: none;
    position: fixed;
    top: 108px;
    transform: translateX(-50%) translateY(-14px) scale(0.97);
    transition: opacity 0.24s ease, transform 0.24s ease;
    width: calc(100vw - 48px);
    z-index: 101;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .nav a {
    border-radius: 16px;
    color: #fff;
    font-size: 17px;
    padding: 15px 18px;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a.is-active {
    background: rgba(255, 255, 255, 0.12);
  }

  .lang-switch {
    display: none;
  }

  .hero {
    min-height: 730px;
    padding-top: 90px;
  }

  .hero__content {
    margin-left: 24px;
    max-width: 360px;
    padding-top: 126px;
  }

  .hero h1 {
    font-size: 40px;
    margin-bottom: 34px;
  }

  .hero p {
    font-size: 18px;
    line-height: 1.28;
  }

  .bcorp-card {
    display: none;
  }

  .section {
    padding: 66px 18px;
    scroll-margin-top: 90px;
  }

  .section__inner {
    max-width: 100%;
    overflow: hidden;
  }

  .section h2 {
    font-size: 38px;
    margin-bottom: 44px;
  }

  .approach-grid,
  .values-grid,
  .team-grid,
  .alliance-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .approach-card {
    border-left: 0 !important;
    padding: 0 0 42px;
  }

  .approach-card h3,
  .approach-card p {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100vw - 48px);
    width: 100%;
  }

  .services {
    overflow: hidden;
    padding: 58px 18px 72px;
  }

  .services__diagram {
    display: grid;
    gap: 18px;
    height: auto;
    max-width: 430px;
  }

  .service {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 28px;
    height: auto;
    left: auto;
    padding: 30px 24px;
    position: static;
    right: auto;
    top: auto;
    transform: none;
    width: auto;
  }

  .service--top > *,
  .service--bottom > * {
    transform: none;
  }

  .service::after {
    display: none;
  }

  .service--center {
    background: #f5f6f8;
    border: 0;
    order: -1;
    padding: 34px 28px;
  }

  .service--center strong {
    font-size: 42px;
  }

  .service__icon {
    height: 46px;
    width: 46px;
  }

  .service h3 {
    font-size: 22px;
    margin: 12px 0 12px;
  }

  .service p {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .service button,
  .alliance-card button {
    border-radius: 8px;
    font-size: 14px;
    padding: 11px 20px;
  }

  .client-grid {
    gap: 28px 24px;
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
  }

  .client-grid img {
    height: 56px;
    width: 130px;
  }

  .values-grid article {
    min-height: auto;
    padding: 38px 28px 40px;
  }

  .values-grid span {
    height: 54px;
    right: 22px;
    top: 24px;
    width: 54px;
  }

  .values-grid span img {
    height: 36px;
    width: 36px;
  }

  .values-grid h3 {
    font-size: 27px;
    line-height: 1.04;
    max-width: calc(100% - 76px);
    min-height: 58px;
  }

  .team-grid {
    gap: 38px;
  }

  .person img {
    height: 100%;
  }

  .contact-card {
    margin-top: 70px;
    padding: 42px 24px;
  }

  .contact-card a {
    font-size: 18px;
  }

  .modal.modal--service {
    border-radius: 24px;
    height: auto;
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 42px 24px 30px;
    width: calc(100vw - 20px);
  }

  .modal.modal--alliance {
    border-radius: 24px;
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 42px 24px 30px;
    width: calc(100vw - 20px);
  }

  .alliance-modal {
    gap: 26px;
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .alliance-modal::before {
    grid-column: auto;
    height: 1px;
    justify-self: center;
    width: min(220px, 72vw);
  }

  .alliance-modal__logo,
  .alliance-modal p {
    grid-column: auto;
  }

  .alliance-modal__logo img {
    max-height: 96px;
    max-width: 220px;
  }

  .alliance-modal p {
    font-size: 15px;
    max-width: none;
  }

  .modal.modal--alliance .modal__close {
    margin: 30px auto 0;
    position: static;
  }

  .service-modal {
    gap: 28px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .service-modal__intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.86);
    grid-row: auto;
    padding: 0 0 28px;
  }

  .service-modal__intro h2,
  .service-modal__intro p {
    max-width: none;
    text-align: center;
  }

  .service-modal__content,
  .service-modal__sections,
  .service-modal__visual-panel {
    grid-column: auto;
  }

  .service-modal__content,
  .service-modal__sections {
    grid-template-columns: 1fr;
    overflow: visible;
    padding-right: 0;
  }

  .service-modal__hero {
    height: auto;
    margin: 0 0 28px;
    max-height: 260px;
  }

  .service-modal__bullets {
    max-width: none;
  }

  .service-modal__visuals {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .service-modal__column {
    gap: 28px;
  }

  .modal.modal--service .modal__close {
    bottom: auto;
    left: auto;
    margin: 30px auto 0;
    position: static;
    transform: none;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand__name {
    font-size: 25px;
  }

  .brand__leaf {
    gap: 2px;
    grid-template-columns: repeat(2, 17px);
    grid-template-rows: repeat(2, 17px);
    margin-left: 8px;
  }

  .hero__content {
    margin-left: 22px;
    margin-right: 22px;
    max-width: 336px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .approach-card p,
  .service p,
  .values-grid p {
    font-size: 16px;
  }

  .approach-card h3,
  .approach-card p {
    margin-left: auto;
    margin-right: auto;
    max-width: 330px;
    width: 100%;
  }
}

.values-grid > article,
.team-grid > .person {
  border-radius: 36px !important;
  overflow: hidden !important;
}

.values-grid > article::before,
.team-grid > .person::before {
  border-radius: inherit;
}
