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 {
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  margin: 0;
}

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

body {
  line-height: 1;
  background-color: #fefef4;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --font-base-mobile: 2.54vw;

  --font-base-desktop: calc(10 / 14.4 * 1vw);

  --header-height: 8rem;
}

html {
  font-size: var(--font-base-mobile);
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: calc(5rem + var(--header-height));
}

*,
*:before,
*:after {
  box-sizing: inherit;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
  html {
    font-size: var(--font-base-desktop);
  }
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #021859;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
  font-family: "Montserrat", sans-serif;
}

h2 {
  font-size: 4.8rem;
  font-weight: 700;
  color: #021859;
  margin-bottom: 4rem;
  line-height: 1.1;
}

h3 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #021859;
  line-height: 1.2;
}

h4,
h5,
h6 {
  font-size: 2rem;
  font-weight: 700;
  color: #021859;
  line-height: 1.2;
}

p {
  color: #545454;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul,
ol {
  margin-left: 4.2rem;
  margin-bottom: 2.4rem;
  color: #021859;
}

button:focus-visible,
a:focus-visible {
  outline: 0.125rem solid #4a90e2;
  outline-offset: 2px;
}

.container {
  width: 100%;
  margin: 0 auto;
}

/* === HEADER STYLES === */
header.site-header,
footer.site-footer {
  margin: 1.6rem 4rem;
}
.site-header,
.site-footer {
  background-color: #221f1f;
  height: var(--header-height, 10rem);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0.5rem;
  z-index: 100;
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.1);
  border-radius: 100rem;
  max-height: 6.4rem;
}

.header__container,
.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0.8rem 0.8rem 0.8rem 4rem;
}

.header__logo {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 100%;
}
.header__logo img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

.header__nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.header__menu {
  display: flex;
  list-style: none;
  margin: 0;
  gap: 2.5rem;
}

.header__menu a {
  color: #fefef4;
  font-size: 1.6rem;
  font-weight: 500;
}

.header__menu a:hover {
  color: #fff;
}

.header__btn,
.footer__btn {
  background-color: #fefef4;
  color: #221f1f;
  padding: 0.4rem 0.4rem 0.4rem 2.4rem;
  border-radius: 5rem;
  font-size: 1.6rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.header__btn:hover,
.footer__btn:hover {
  background-color: #f0f0f0;
}

.header__btn svg,
.footer__btn svg {
  width: 4rem;
  height: 4rem;
  transition: rotate 0.3s;
}
.header__btn:hover svg,
.footer__btn:hover svg {
  rotate: 38deg;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 2.4rem;
  height: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 36rem;
  height: 100vh;
  background-color: #fefef4;
  z-index: 999;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.mobile-menu__logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #221f1f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.mobile-menu__list li {
  border-bottom: 0.1rem solid rgba(34, 31, 31, 0.1);
}

.mobile-menu__list a {
  display: block;
  padding: 1.85rem 0;
  font-size: 1.6rem;
  font-weight: 500;
  color: #221f1f;
  transition: color 0.3s;
}

.mobile-menu__list a:hover {
  color: #021859;
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: auto;
  padding-top: 3.2rem;
}

.mobile-menu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.6rem 2.4rem;
  border-radius: 5rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
}

.mobile-menu__btn--primary {
  background-color: #221f1f;
  color: #fefef4;
}

.mobile-menu__btn--primary:hover {
  background-color: #021859;
}

.mobile-menu__btn--secondary {
  background-color: transparent;
  color: #221f1f;
  border: 0.15rem solid #221f1f;
}

.mobile-menu__btn--secondary:hover {
  background-color: #221f1f;
  color: #fefef4;
}

.mobile-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu__overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1023px) {
  header.site-header,
  footer.site-footer {
    margin: 0.5rem 1.5rem;
    max-height: 4.8rem;
  }
  .header__burger {
    display: flex;
    order: -1;
    margin: auto;
    width: 100%;
    height: 100%;
    justify-content: center;
  }

  .header__burger svg {
    width: 2.4rem;
    height: 2.4rem;
  }

  .mobile-menu__header .header__logo {
    align-items: center;
    font-size: 1.5rem;
  }

  .header__nav,
  .header__btn {
    display: none;
  }

  .header__container {
    padding: 0.8rem 2.4rem;
    position: relative;
  }

  .header__logo img {
    height: 100%;
    max-height: 2.4rem;
    max-width: 18.4rem;
    width: 100%;
  }

  .header__btn {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
  }
  a.footer__btn.btn-primary {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu__overlay,
  .header__burger {
    display: none !important;
  }
}
