@font-face {
  font-family: "Wix Madefor Display";
  src: url("assets/fonts/wix-madefor-display-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}

@font-face {
  font-family: "Wix Madefor Display";
  src: url("assets/fonts/wix-madefor-display-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Wix Madefor Text";
  src: url("assets/fonts/wix-madefor-text-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Wix Madefor Text";
  src: url("assets/fonts/wix-madefor-text-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: dark;
  --ink: #0f0f0f;
  --brand: #043041;
  --graphite: #2f2f2f;
  --paper: #eef2f5;
  --white: #ffffff;
  --accent: #abccea;
  --muted-on-dark: #c4d2dd;
  --muted-on-light: #445460;
  --rule-on-light: #bcc7d0;
  --rule-on-dark: #ffffff60;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
  --heading-font: "Wix Madefor Display", Arial, sans-serif;
  font-family: "Wix Madefor Text", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 3;
  inset: .5rem auto auto 1rem;
  padding: .6rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.container {
  width: min(100% - var(--page-gutter) * 2, 82rem);
  margin-inline: auto;
}

.site-header { border-bottom: 1px solid var(--graphite); }

.header-inner, .footer-inner {
  min-height: 4.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.wordmark {
  display: block;
  flex: 0 0 auto;
  width: clamp(8.15rem, 15vw, 11rem);
  text-decoration: none;
}

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

h1, h2, h3, .navigation, .footer-links, .language-switch, .button, .eyebrow {
  font-family: var(--heading-font);
  font-weight: 700;
}

.navigation, .footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem clamp(1.25rem, 3.5vw, 3.25rem);
}

.navigation a, .footer-links a {
  color: var(--muted-on-dark);
  font-size: .9375rem;
  text-decoration: none;
}

.navigation a:hover, .footer-links a:hover { color: var(--white); }

.navigation { gap: .75rem clamp(1.1rem, 2.4vw, 2.65rem); }

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 1.6vw, 1.4rem);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: .15rem;
  font-size: .875rem;
}

.language-switch > * {
  display: grid;
  min-width: 1.9rem;
  min-height: 2rem;
  align-content: center;
  justify-content: center;
  border-bottom: 2px solid transparent;
  color: var(--muted-on-dark);
  text-decoration: none;
}

.language-switch [aria-current] { border-color: var(--accent); color: var(--accent); }
.language-switch a:hover { color: var(--white); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .2rem;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button-header {
  min-height: 2.75rem;
  border-color: color-mix(in srgb, var(--accent) 62%, transparent);
  color: var(--accent);
}

.button-header:hover, .button-accent { background: var(--accent); color: var(--ink); }
.button-accent:hover { background: #c9e0f3; }

.button-outline {
  border-color: var(--rule-on-dark);
  background: #0f0f0f50;
  color: var(--white);
}

.button-outline:hover { background: var(--white); color: var(--ink); }

.button-accent:focus-visible { outline-color: var(--accent); }

.eyebrow {
  margin-bottom: 1.2rem;
  font-size: .875rem;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--accent);
}

.hero-location span { width: 1.1rem; height: 1px; background: currentColor; }

h1, h2 {
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.06em;
  text-wrap: balance;
}

h1 em { display: block; color: var(--accent); font-style: normal; }
h2 { font-size: clamp(2.65rem, 5.3vw, 5rem); }

.hero-description {
  max-width: 27rem;
  margin-top: 1.45rem;
  color: #e6eef4;
  font-size: clamp(1.05rem, 1.4vw, 1.23rem);
}

.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.15rem;
  margin-top: 1rem;
  color: var(--muted-on-dark);
  font-size: .9375rem;
  font-weight: 500;
}

.hero-shortcuts a { text-underline-offset: .2em; }
.hero-shortcuts a:hover { color: var(--white); }

.services {
  padding-block: clamp(3.8rem, 8vw, 7.75rem);
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  align-items: end;
  gap: 1.2rem 2rem;
  margin-bottom: clamp(2.1rem, 5vw, 4rem);
}

.section-heading > p {
  max-width: 25rem;
  color: var(--muted-on-light);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
}

.services .eyebrow { color: var(--brand); }
.services h2 { text-wrap: initial; }

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-on-light);
  border-left: 1px solid var(--rule-on-light);
  list-style: none;
}

.service-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 10.1rem;
  padding: clamp(1.25rem, 2.7vw, 2.45rem);
  border-right: 1px solid var(--rule-on-light);
  border-bottom: 1px solid var(--rule-on-light);
}

.service-list h3 {
  margin-bottom: .45rem;
  font-size: clamp(1.23rem, 2.2vw, 1.78rem);
  letter-spacing: -.04em;
  line-height: 1.12;
}

.service-list p { max-width: 34ch; color: var(--muted-on-light); }

.service-list li:has(.service-main:hover) { background: #e2ebf1; }
.service-list .service-note { margin-top: .6rem; }

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  margin-top: auto;
  padding-top: 1.15rem;
  font: 700 .9375rem var(--heading-font);
}

.service-links a { color: var(--brand); text-underline-offset: .2em; }
.service-main::after { position: absolute; inset: 0; content: ""; }
.service-main:focus-visible::after { outline: 2px solid currentColor; outline-offset: -3px; }
.service-book:not(.service-main) { position: relative; z-index: 1; }

.protection { padding-block: clamp(3.8rem, 8vw, 7.75rem); }

.protection-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.protection-layout:not(:has(.protection-photo)) { grid-template-columns: minmax(0, 1fr); }

.protection-media { margin: 0; min-width: 0; }
.protection-media figcaption { margin-top: .65rem; color: var(--muted-on-dark); font-size: .9375rem; }
.protection-media figcaption a { text-underline-offset: .2em; }

.protection-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 39%;
  background-color: var(--graphite);
}

.protection .eyebrow { color: var(--accent); }
.protection h2 { max-width: 11ch; }

.protection-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) {
  max-width: 33rem;
  margin-block: 1.25rem 1.65rem;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
}

.protection-copy > p:not(.eyebrow) { color: var(--muted-on-dark); }

.contact {
  padding-block: clamp(3.5rem, 7.5vw, 7rem);
  background: var(--brand);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 2.6rem clamp(2rem, 7vw, 7rem);
}

.contact-copy h2 { text-wrap: initial; }
.contact-copy .eyebrow { color: var(--accent); }
.contact-details dl { border-top: 1px solid var(--rule-on-dark); }

.contact-details dl > div {
  display: grid;
  grid-template-columns: minmax(5.15rem, 1fr) 2.5fr;
  gap: .45rem .8rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--rule-on-dark);
}

.contact-details dt { font-weight: 500; }
.contact-details address { font-style: normal; }
.contact-details a { text-underline-offset: .15em; }
.contact-details a:hover { text-decoration-thickness: .14em; }

.site-footer { padding-block: 1.2rem; }
.footer-copyright { padding-top: .6rem; color: var(--muted-on-dark); font-size: .8125rem; }

@media (max-width: 980px) {
  .navigation { display: none; }
}

@media (max-width: 850px) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .protection-layout { gap: 2rem; }
  .contact-layout { grid-template-columns: 1.15fr 1fr; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 4.2rem; }

  .section-heading, .protection-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .protection h2 { max-width: 16ch; }
}

@media (max-width: 520px) {
  .header-inner .button-header { display: none; }
}

@media (max-width: 420px) {
  .service-list { grid-template-columns: minmax(0, 1fr); }
  .service-list li { min-height: 0; }
  .protection-copy .button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
