html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

img {
  vertical-align: middle;
  object-fit: cover;
}

button {
  cursor: pointer;
  font-size: inherit;
  border: none;
  background: transparent;
}

a:focus {
  outline: 0 !important;
  border: 0 !important;
}

:root {
  --steel-blue: rgb(50, 106, 144);
  --transparent-grey: rgba(204, 204, 204, 0.5);
  --icy: rgb(178, 225, 240);
  --pearl: rgb(245, 241, 241);
  --black: rgb(42, 41, 42);
  --transparent-white: rgba(255, 255, 255, 0.8);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: transparent; /* Removes the blue highlight on mobile when you click the button or image */
}

li,
a {
  text-decoration: none;
}

a {
  color: inherit;
}

.link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.btn {
  padding: 10px 12px;
  border: 2px solid #000;
  border-radius: 20px;
  transition: 0.2s background-color;
}

.btn:focus,
.btn:active {
  border: 2px solid #000 !important;
}

.btn:hover {
  color: #fff;
  background-color: #000;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 110%;
}

h2 {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.32px;
  line-height: 110%;
}

h3 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.26px;
  line-height: 100%;
}

h4 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14px;
  line-height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  background-color: var(--pearl);
}

.wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.white-text {
  color: #fff;
}

.white-btn {
  color: #fff;
  border-color: #fff;
}

.white-btn:hover {
  color: var(--steel-blue);
  background-color: #fff;
}

.white-btn:focus,
.white-btn:active {
  border-color: #fff !important;
}

.steel-blue {
  background-color: var(--steel-blue);
}

.dark {
  background-color: var(--black);
}

#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.2s;
}

#header.scrolled {
  background-color: var(--icy);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header__wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.6rem;
}

.header__wrap .btn {
  padding: 8px 10px;
}

.header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header__list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__call-btn {
  text-align: right;
}

.header__call-btn:hover { 
  color: #fff;
}

.header__mobile-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-left: none;
  border-right: none;
  opacity: 0;
  transition: 0.2s;
}

.header__mobile-menu .header__list {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
}

.header__menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

#footer {
  padding: 1.6rem;
}

.footer__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__item {
  flex: 1 1 calc(100% / 4 - 1rem);
}

.footer__title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.return__btn,
.contact__submit,
.about__btn {
  align-self: flex-start;
}

@media screen and (max-width: 900px) {
  html {
    font-size: 14px;
  }

  .footer__item {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media screen and (max-width: 700px) {
  .footer__item {
    flex: 1 1 100%;
  }

  .header__nav,
  .header__call-btn {
    display: none;
  }

  .header__menu-btn {
    display: block;
  }

  .header__mobile-menu.open {
    opacity: 1;
  }
}

@media screen and (max-width: 400px) {
  html {
    font-size: 12px;
  }
}
