:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  line-height: 1.625;
  --orange: #f26122;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
p {
  margin: 0 0 1em;
}
.container {
  width: min(1170px, 100% - 30px);
  margin-inline: auto;
}
.button {
  display: inline-block;
  padding: 0.75em 2em;
  margin: 1em 0;
  border: 1px solid var(--orange);
  border-bottom: 2px solid #bb5224;
  border-radius: 2px;
  background: var(--orange);
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: none;
}
.button:hover {
  background: #bb5224;
  border-color: #bb5224;
  text-decoration: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 15px;
}
.brand {
  flex: 0 1 360px;
}
.brand img {
  width: 100%;
}
.carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  overflow: hidden;
  background: #3f417f;
}
.slide {
  grid-area: 1 / 1;
  min-width: 0;
  position: relative;
}
/* Keep inactive slides in the grid to reserve the tallest slide's height. */
.slide[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}
.slide.is-leaving {
  z-index: 1;
}
.slide > img {
  width: 100%;
  opacity: 0.8;
}
.carousel-caption {
  position: absolute;
  top: 30%;
  left: 16.667%;
  width: 66.666%;
  text-align: center;
  color: white;
  text-shadow: 0 0 1px black;
}
.carousel-caption h2 {
  margin: 20px 0 10px;
  font-size: 6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.8;
}
.carousel-caption p {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 10px;
}
.carousel-controls {
  grid-area: 1 / 1;
  z-index: 2;
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.slide-selector {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid transparent;
  background: transparent;
  border-radius: 50%;
  padding: 0;
}
.slide-selector[aria-pressed="true"] {
  border-color: white;
}
.slide-selector span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: white;
}
.rotation-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #fff8;
  border-radius: 99px;
  background: #0008;
  color: white;
  padding: 0;
}

.intro {
  max-width: 975px;
  padding-block: 48px;
  text-align: center;
}
.intro h1 {
  margin: 20px 0 10px;
  color: var(--orange);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
}
.intro p {
  color: #818285;
  font-size: 1.4rem;
  line-height: 1.5;
}
.intro strong {
  font-size: 20px;
}
hr {
  width: 80px;
  height: 3px;
  margin: 20px auto;
  border: 0;
  background: #eaeaea;
}
h2 {
  color: var(--orange);
}
.map {
  border-block: 2px solid var(--orange);
}
.map img {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
footer {
  padding-block: 16px;
  background: #212121;
  color: #cfd0d1;
  font-size: 13px;
}
.footer-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-social {
  text-align: center;
  margin-block: 16px;
  color: var(--orange);
}
.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.linkedin-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  vertical-align: middle;
}
.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #92999c;
  font-size: 11px;
}
.copyright p {
  margin: 0;
}
.copyright p:last-child {
  text-align: right;
}

@media (max-width: 1199px) {
  .container {
    max-width: 970px;
  }
  .brand {
    flex-basis: 290px;
  }
  .carousel-caption {
    top: 15%;
  }
  .carousel-caption h2 {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 750px;
  }
  .brand {
    flex-basis: 200px;
  }
  .brand img {
    max-width: 200px;
    margin-inline: auto;
  }
  .intro {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  .carousel {
    background: #f7f7f7;
  }
  .slide > img {
    opacity: 1;
  }
  .carousel-caption {
    position: static;
    width: 100%;
    padding: 16px;
    color: #707174;
    text-shadow: none;
  }
  .carousel-caption h2,
  .intro h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  .carousel-caption p,
  .intro p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  .carousel-controls {
    grid-area: 2 / 1;
    position: static;
    padding-bottom: 12px;
  }
  .slide-selector[aria-pressed="true"] {
    border-color: #818285;
  }
  .slide-selector span {
    background: #818285;
  }
  .rotation-toggle {
    background: #666;
  }
  .intro {
    padding-block: 16px;
  }
  .copyright {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .copyright p:last-child {
    text-align: center;
  }
}
