@font-face {
  font-family: Manrope;
  src: url('vendor/manrope.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #17212c;
  --muted: #637080;
  --primary: #2456a6;
  --secondary: #8463a6;
  --soft: #f2f5fa;
  --line: #dce2e9;
  --bs-body-font-family: Manrope, Arial, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: #fff;
  --bs-border-color: var(--line);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--primary);
  color: #fff;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

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

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 5px;
}

svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

img {
  max-width: 100%;
}

.container-shell {
  width: min(100% - 112px, 1440px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.navbar {
  min-height: 94px;
  padding: 18px 0;
}

.navbar-brand {
  padding: 0;
  width: 218px;
}

.navbar-brand img,
.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding: 14px 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.navbar-expand-lg .navbar-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-left: 20px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: var(--primary);
  padding: 12px 18px;
}

.nav-contact:hover {
  background: var(--soft);
}

.nav-contact svg {
  width: 18px;
}

.navbar-toggler {
  border: 1px solid var(--line);
  padding: 8px 12px;
  color: var(--primary);
}

.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.6;
  margin-bottom: 24px;
}

.live-dot {
  display: inline-block;
  height: 6px;
  width: 6px;
  border-radius: 100%;
  background: currentColor;
  margin-right: 10px;
  vertical-align: middle;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
}

h1 {
  letter-spacing: -0.055em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h3 {
  letter-spacing: -0.03em;
}

em {
  font-style: normal;
  color: var(--secondary);
}

p {
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 17px 24px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
}

.underlined {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 45px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head > p {
  max-width: 365px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.expertise-item {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  color: var(--ink);
}

.expertise-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px #17212c0c;
}

.expertise-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 32px;
  color: var(--primary);
}

.expertise-category {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

.expertise-title {
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.expertise-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 30px;
}

.expertise-more {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}

.expertise-more svg {
  width: 18px;
}

.applications {
  background: var(--soft);
}

.application-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 270px 270px;
  gap: 20px;
}

.application-picture {
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  color: #fff;
  background: #243a51;
  isolation: isolate;
}

.application-picture:hover {
  color: #fff;
}

.application-picture::after {
  content: '';
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, #132334dd);
  z-index: -1;
}

.application-large {
  grid-row: 1 / 3;
}

.application-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -2;
  transition: transform 0.6s;
}

.application-picture:hover img {
  transform: scale(1.04);
}

.application-picture > div {
  position: absolute;
  inset: auto 30px 20px;
}

.application-picture span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.application-picture h3 {
  font-size: 29px;
  margin-top: 10px;
  padding-right: 30px;
}

.application-picture svg {
  position: absolute;
  right: 0;
  bottom: 12px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}

.about-visual {
  position: relative;
  padding-bottom: 55px;
}

.about-visual > img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
}

.about-year {
  position: absolute;
  bottom: 0;
  right: -25px;
  background: var(--primary);
  color: #fff;
  padding: 25px 35px;
  border-radius: 8px;
  box-shadow: 0 14px 30px #17212c20;
}

.about-year span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.about-year strong {
  font-size: 64px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.about-copy > p:not(.kicker) {
  font-size: 14px;
  color: var(--muted);
}

.about-copy h2 {
  margin-bottom: 25px;
}

.about-milestones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 30px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-milestones strong {
  display: block;
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 8px;
}

.about-milestones span {
  display: block;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-section {
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12%;
}

.contact-layout h2 {
  margin-bottom: 40px;
}

.contact-mail,
.contact-phone {
  display: block;
  text-decoration: none;
  overflow-wrap: anywhere;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
}

.contact-details p {
  font-size: 12px;
  color: var(--muted);
}

.contact-details hr {
  margin-block: 25px;
}

.contact-details strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 35px;
  font-size: 10px;
  color: var(--muted);
  background: #fff;
}

.footer-logo {
  width: 190px;
  padding: 5px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-links button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.modal-content {
  border-radius: 16px;
  border: 0;
}

.modal-header {
  border: 0;
  padding: 25px 30px 0;
}

.modal-header .kicker {
  margin: 0;
}

.modal-body {
  padding: 30px;
}

.modal-body h2 {
  font-size: 38px;
  margin-block: 20px;
}

.modal-body p {
  font-size: 15px;
  margin-bottom: 30px;
  color: var(--muted);
}

.modal-service-icon {
  color: var(--primary);
}

.modal-service-icon svg {
  width: 45px;
  height: 45px;
}

.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: min(510px, calc(100% - 44px));
  background: #fff;
  border: 1px solid #d4dce7;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 60px #182a4525;
  z-index: 600;
  max-height: 85dvh;
  overflow: auto;
}

.cookie-banner .eyebrow {
  font-size: 10px;
  color: #586477;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.cookie-dismiss {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f0f4f7;
  color: #233f68;
  font-size: 24px;
  line-height: 1;
}

.cookie-banner h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cookie-banner p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.7;
}

.cookie-banner a {
  font-size: 11px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 20px;
}

.cookie-actions .btn:last-child {
  grid-column: 1 / -1;
}

.cookie-actions .btn,
dialog .btn {
  border-radius: 6px;
  padding: 12px 10px;
  font-size: 11px;
}

.cookie-actions .btn-dark,
dialog .btn-dark {
  background: #233f68;
  border-color: #233f68;
}

dialog {
  border: 1px solid #d4dce7;
  border-radius: 16px;
  padding: 30px;
  width: min(570px, calc(100% - 30px));
  max-height: 90dvh;
  color: var(--ink);
}

dialog::backdrop {
  background: #14264080;
  backdrop-filter: blur(4px);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.dialog-head h2 {
  font-size: 29px;
}

.close-dialog {
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  padding: 0 5px;
}

dialog p {
  font-size: 13px;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 20px;
  border-top: 1px solid #d4dce7;
}

.preference-row h3 {
  font-size: 17px;
}

.preference-row p {
  margin-bottom: 0;
  font-size: 12px;
}

.preference-row > span {
  min-width: 75px;
  font-size: 10px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 1000;
  background: #fff;
  padding: 12px;
}

.skip:focus {
  top: 15px;
}

@media (max-width: 1100px) {
  .container-shell {
    width: calc(100% - 72px);
  }

  .navbar-brand {
    width: 185px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-inline: 12px;
  }

  .navbar-expand-lg .navbar-nav .nav-contact {
    margin-left: 10px;
    gap: 12px;
    font-size: 11px;
  }

  .expertise-item {
    padding: 25px;
  }

  .about {
    gap: 6%;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    padding-top: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 15px 0;
  }

  .navbar-expand-lg .navbar-nav .nav-contact {
    margin: 15px 0 5px;
    padding: 15px;
    font-size: 13px;
  }

  .section {
    padding-block: 80px;
  }

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

  .section-head {
    gap: 30px;
  }

  .section-head > p {
    max-width: 280px;
  }

  .about,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-visual {
    width: 85%;
  }

  .contact-details {
    max-width: 500px;
  }

  .site-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .container-shell {
    width: calc(100% - 40px);
  }

  .navbar {
    min-height: 78px;
  }

  .navbar-brand {
    width: 180px;
  }

  .section {
    padding-block: 60px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
  }

  .section-head > p {
    max-width: 100%;
  }

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

  .expertise-item {
    padding: 25px;
  }

  .expertise-icon {
    margin-bottom: 20px;
  }

  .application-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 350px 270px 270px;
    gap: 15px;
  }

  .application-large {
    grid-row: auto;
  }

  .application-picture > div {
    inset: auto 22px 15px;
  }

  .application-picture h3 {
    font-size: 25px;
  }

  .about-visual {
    width: calc(100% - 15px);
  }

  .about-visual > img {
    height: 320px;
  }

  .about-year {
    right: -15px;
    padding: 20px 25px;
  }

  .about-year strong {
    font-size: 50px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    font-size: 11px;
  }

  .footer-links {
    gap: 20px;
  }

  .cookie-banner {
    left: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
