@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/josefin-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/josefin-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #1962ab;
  --navy: #012561;
  --contact: #3a4d5c;
  --contact-field: #293945;
  --footer: #6786a1;
  --footer-link: #ffffff;
  --text: #666666;
  --heading: #222222;
  --rule: #e1e1e1;
  --sidebar: 300px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #ffffff;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--heading);
  font-family: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

p {
  margin: 0 0 1.25em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  min-height: 100vh;
  background: #ffffff;
  border-right: 1px solid var(--rule);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 14px;
  border-bottom: 1px solid var(--rule);
}

.language-switcher a {
  display: block;
  line-height: 0;
}

.brand {
  display: block;
  width: 100%;
  padding: 40px;
  border-bottom: 1px solid var(--rule);
}

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

.main-navigation {
  padding: 20px 13%;
}

.main-navigation a {
  display: block;
  padding: 14px 3px;
  color: var(--footer);
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 160ms ease;
}

.main-navigation a:last-child {
  border-bottom: 0;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
  color: var(--blue);
}

.menu-toggle {
  display: none;
}

.site-content {
  position: relative;
  margin-left: var(--sidebar);
  border-left: 1px solid var(--rule);
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ffffff url("../images/oblekCB.jpg") center / cover no-repeat;
}

.hero-copy {
  position: absolute;
  top: 44%;
  left: 62.3%;
  width: 330px;
  color: var(--navy);
}

.hero-copy h1 {
  color: var(--navy);
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(29px, 2.55vw, 40px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-copy p {
  margin-top: 12px;
  color: var(--navy);
  font-size: 16px;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 385px;
  padding: 70px 55px;
  text-align: center;
  background: #f8f8f8;
  border-bottom: 1px solid var(--rule);
}

.intro h2 {
  max-width: 960px;
  font-size: 30px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 292px;
  background: #ffffff;
}

.section-heading h2 {
  font-size: 30px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.service-row {
  display: flex;
  width: 100%;
}

.service-row--reverse {
  flex-direction: row-reverse;
}

.service-image,
.service-copy {
  width: 50%;
}

.service-image {
  aspect-ratio: 845 / 684;
  overflow: hidden;
}

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

.service-copy {
  display: flex;
  align-items: center;
  padding: 50px;
  background: #ffffff;
}

.service-copy h3 {
  margin-bottom: 16px;
  font-size: 30px;
}

.service-copy p {
  margin-bottom: 0;
}

.service-copy ul {
  margin: 17px 0 0;
  padding-left: 19px;
}

.service-copy li {
  padding: 3px 0 3px 4px;
}

.about {
  display: flex;
  align-items: center;
  min-height: 530px;
  padding: 130px 50px;
  background-color: #f9fdff;
  background-image: url("../images/corporate-buildings.jpg");
  background-position: center;
  background-size: cover;
}

.about-copy {
  width: min(520px, 52%);
}

.about-copy h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.about-copy p {
  margin: 0;
}

.contact {
  display: flex;
  min-height: 850px;
  color: #ffffff;
  background: var(--contact);
}

.contact-panel,
.map-panel {
  width: 50%;
  min-height: 850px;
}

.contact-panel {
  padding: 86px 50px 50px;
}

.contact-panel h2 {
  margin-bottom: 55px;
  color: #ffffff;
  font-size: 30px;
  text-align: center;
}

.contact-intro {
  margin-bottom: 24px;
  color: #ffffff;
  font-weight: 600;
}

.contact-form {
  position: relative;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 13px 15px;
  color: #ffffff;
  background: var(--contact-field);
  border: 1px solid var(--contact);
  border-radius: 0;
  outline: none;
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease;
}

.contact-form input {
  height: 45px;
}

.contact-form textarea {
  height: 238px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--footer);
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #243541;
  border-color: #b4cad9;
}

.contact-form button {
  min-width: 142px;
  height: 50px;
  padding: 0 28px;
  color: var(--contact);
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: #b4cad9;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin: 18px 0 0;
  padding: 10px 12px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(255, 255, 255, 0.12);
}

.form-status.is-error {
  color: #ffffff;
  background: #7f3b3b;
}

.map-panel {
  position: relative;
  overflow: hidden;
  background: #edf2f5 url("../images/map-klincova.jpg") center / cover no-repeat;
}

.map-live {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-panel::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: rgba(58, 77, 92, 0.18);
  -webkit-backdrop-filter: grayscale(1) sepia(0.16) hue-rotate(155deg) saturate(0.72) brightness(1.04);
  backdrop-filter: grayscale(1) sepia(0.16) hue-rotate(155deg) saturate(0.72) brightness(1.04);
  pointer-events: none;
  content: "";
}

@supports not ((-webkit-backdrop-filter: grayscale(1)) or (backdrop-filter: grayscale(1))) {
  .map-panel::after {
    background: rgba(58, 77, 92, 0.34);
    mix-blend-mode: multiply;
  }
}

.map-place-link {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
}

.map-pin {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.footer-spacer {
  height: 100px;
  background: #ffffff;
}

.site-footer {
  color: #ffffff;
  background: var(--footer);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px;
  min-height: 345px;
  padding: 74px 50px 55px;
}

.footer-columns h2 {
  margin-bottom: 18px;
  color: #ffffff;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.footer-columns p {
  margin: 0;
}

.footer-columns a {
  color: var(--footer-link);
  text-decoration: none;
}

.footer-columns a:hover,
.footer-columns a:focus-visible {
  text-decoration: underline;
}

.socket {
  min-height: 60px;
  padding: 20px 50px;
  background: var(--contact);
  font-size: 12px;
}

.scroll-top {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: rgba(58, 77, 92, 0.88);
  opacity: 0;
  visibility: hidden;
  text-decoration: none;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 989px) and (min-width: 768px) {
  :root {
    --sidebar: 27vw;
  }

  .brand {
    padding: 30px;
  }

  .service-copy {
    padding: 36px;
  }

  .service-copy h3 {
    font-size: 25px;
  }

  .contact-panel {
    padding-inline: 36px;
  }

  .footer-columns {
    gap: 35px;
    padding-inline: 38px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .site-sidebar {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 110px;
    height: 110px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .language-switcher {
    height: 27px;
    padding-left: 14px;
  }

  .brand {
    width: 82px;
    margin: 0 auto;
    padding: 4px 0 0;
    border: 0;
  }

  .menu-toggle {
    position: absolute;
    z-index: 31;
    top: 46px;
    right: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--footer);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle-line {
    display: block;
    width: 27px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

  .main-navigation {
    display: none;
    position: absolute;
    z-index: 30;
    top: 110px;
    left: 0;
    width: 100%;
    padding: 0 30px 12px;
    background: #ffffff;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 24px rgba(41, 57, 69, 0.12);
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation a {
    padding: 14px 3px;
  }

  .site-content {
    margin-left: 0;
    border-left: 0;
  }

  .hero {
    height: 375px;
    aspect-ratio: auto;
    background-size: cover;
  }

  .hero-copy {
    top: 43%;
    left: 64%;
    width: 300px;
  }

  .hero-copy h1 {
    font-size: 25px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .intro {
    min-height: 420px;
    padding: 70px 30px;
  }

  .intro h2 {
    font-size: 28px;
  }

  .section-heading {
    min-height: 300px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .service-row,
  .service-row--reverse {
    display: flex;
    flex-direction: column;
  }

  .service-image,
  .service-copy {
    width: 100%;
  }

  .service-image {
    aspect-ratio: 845 / 684;
  }

  .service-copy {
    min-height: 250px;
    padding: 46px 40px;
  }

  .service-row:first-child .service-copy {
    min-height: 410px;
  }

  .service-copy h3 {
    font-size: 24px;
  }

  .service-copy p,
  .service-copy ul {
    font-size: 14px;
  }

  .about {
    align-items: flex-end;
    min-height: 640px;
    padding: 90px 40px 95px;
    background-position: center;
  }

  .about-copy {
    width: 100%;
  }

  .about-copy h2 {
    font-size: 27px;
  }

  .contact {
    display: block;
  }

  .contact-panel,
  .map-panel {
    width: 100%;
    min-height: 850px;
  }

  .contact-panel {
    padding: 58px 40px 55px;
  }

  .contact-panel h2 {
    margin-bottom: 50px;
    font-size: 27px;
  }

  .contact-form textarea {
    height: 250px;
  }

  .map-panel {
    height: 850px;
  }

  .footer-spacer {
    height: 100px;
  }

  .footer-columns {
    display: block;
    min-height: 1150px;
    padding: 70px 38px 55px;
  }

  .footer-columns section {
    min-height: 320px;
    margin-bottom: 55px;
  }

  .footer-columns section:last-child {
    margin-bottom: 0;
  }

  .socket {
    min-height: 64px;
    padding: 21px 38px;
  }

  .scroll-top {
    right: 12px;
    bottom: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

