/* ---------- Fonts ---------- */
@font-face {
  font-family: "Winder";
  src:
    url("../assets/fonts/Winder.woff2") format("woff2"),
    url("../assets/fonts/Winder.woff") format("woff"),
    url("../assets/fonts/Winder.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Root Variables ---------- */
:root {
  /* Brand colors */
  --color-bg: #003E40;
  --color-primary: #006050;
  --color-secondary: #05342D;
  --color-text: #FFFFFF;
  --color-cta: #E16A11;

  /* Accent colors */
  --color-accent-green: #339551;
  --color-accent-blue: #10B6DB;
  --color-accent-pink: #A0114F;

  /* Overlays */
  --overlay-primary: linear-gradient(
    180deg,
    #15633b8e 0%,
    #003E40 72%
  );

  --overlay-secondary: linear-gradient(
    180deg,
       #33955077 3%,
    #003e40f6 100%
  );

  /* Typography */
  --font-heading: 'Winder', serif;
  --font-body: 'Satoshi', Arial, sans-serif;

  /* Layout */
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 28px;
  --border-radius-pill: 50px;

  /* Buttons */
  --btn-height: 56px;
  --btn-padding-x: 28px;

  /* Effects */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.16);
}

:root {
  --site-padding: 250px;
}

.container,
.site-container,
.section-container {
  width: 100%;
  max-width: 100%;
  padding-inline: var(--site-padding);
  margin-inline: auto;
}

@media (max-width: 1400px) {
  :root {
    --site-padding: 100px;
  }
}

@media (max-width: 1024px) {
  :root {
    --site-padding: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --site-padding: 20px;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  background-color: var(--color-bg);
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- z-index ---------- */

.site-banner {
  position: relative;
  z-index: 50;
}

.site-header {
  position: relative;
  z-index: 40;
}

.hero-section {
  position: relative;
  z-index: 1;
  min-height: 760px;
  overflow: hidden;
  margin-top: -120px;
  padding-top: 120px;
}


/* ---------- Site scrollbar ---------- */

html {
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

.custom-scrollbar {
  position: fixed;
  top: 50%;
  right: 24px;
  width: 6px;
  height: 240px;
  transform: translateY(-50%);
  border-radius: 999px;
  background-color: #3C645D;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
}

.custom-scrollbar__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  border-radius: 999px;
  background-color: #06352E;
}

.custom-scrollbar {
  pointer-events: auto;
  cursor: pointer;
}

.custom-scrollbar__thumb {
  cursor: grab;
}

.custom-scrollbar__thumb:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  .custom-scrollbar {
    right: 12px;
    height: 200px;
    width: 5px;
  }
}

/* ---------- Site banner ---------- */

.site-banner {
  width: 100%;
  background-color: var(--color-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-banner__inner {
  width: 100%;
  max-width: 100%;
  padding-inline: var(--site-padding);
  margin-inline: auto;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-banner__left,
.site-banner__right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
}

.site-banner__left span,
.site-banner__right span,
.site-banner__right i {
  color: #ffffff;
}

.site-banner__right i {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .site-banner__inner {
    min-height: 44px;
    justify-content: center;
  }

  .site-banner__left {
    display: none;
  }

  .site-banner__right {
    font-size: 0.875rem;
    text-align: center;
  }
}


/* ---------- Site header ---------- */

.site-header {
  width: 100%;
  padding-top: 24px;
  position: relative;
  z-index: 30;
}

.site-header__inner {
  min-height: 84px;
  background-color: #ffffff;
  border-radius: 999px;
  padding: 10px 12px 10px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 40px;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  justify-self: start;
}

.site-header__logo img {
  width: 230px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 52px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  position: relative;
  list-style: none;
}

.site-nav__link,
.site-nav__link:link,
.site-nav__link:visited {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-secondary);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity var(--transition-fast);
}

.site-nav__link:hover {
  opacity: 0.75;
}

.site-header__cta,
.site-header__cta:link,
.site-header__cta:visited {
  min-height: 56px;
  padding-inline: 28px;
  border-radius: 999px;
  background-color: var(--color-cta);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.site-header__cta:hover {
  background-color: #9A470A;
  color: #ffffff;
}

.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background-color: #ffffff;
  border-radius: 0 0 20px 20px;
  padding: 22px 20px 18px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast);
}

.site-nav__item:hover .site-nav__dropdown,
.site-nav__item:focus-within .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav__dropdown li {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__dropdown a,
.site-nav__dropdown a:link,
.site-nav__dropdown a:visited {
  display: block;
  width: 100%;
  text-decoration: none;
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
  transition: opacity var(--transition-fast);
}

.site-nav__dropdown a:hover {
  opacity: 0.75;
}

.site-header__burger {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.18);
}

.mobile-menu__panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  padding-block: 20px 36px;
  display: flex;
  flex-direction: column;
}

.mobile-menu__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 56px;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 999px;
}

.mobile-menu__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mobile-nav__list {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav__item {
  width: 100%;
  text-align: center;
  list-style: none;
}

.mobile-nav__link,
.mobile-nav__link:link,
.mobile-nav__link:visited {
  width: 100%;
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.1;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.mobile-nav__dropdown {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mobile-nav__item--open .mobile-nav__dropdown {
  display: flex;
}

.mobile-nav__dropdown li {
  list-style: none;
}

.mobile-nav__dropdown a,
.mobile-nav__dropdown a:link,
.mobile-nav__dropdown a:visited {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-secondary);
  line-height: 1.3;
  text-decoration: none;
}

.mobile-menu__cta-wrap {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.mobile-menu__cta,
.mobile-menu__cta:link,
.mobile-menu__cta:visited {
  min-height: 54px;
  padding-inline: 24px;
  border-radius: 999px;
  background-color: var(--color-cta);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .site-header__inner {
    column-gap: 28px;
    padding: 10px 12px 10px 22px;
  }

  .site-header__logo img {
    width: 200px;
  }

  .site-nav__list {
    gap: 42px;
  }

  .site-nav__link,
  .site-nav__link:link,
  .site-nav__link:visited {
    font-size: 1.05rem;
  }

  .site-header__cta,
  .site-header__cta:link,
  .site-header__cta:visited {
    min-height: 52px;
    padding-inline: 24px;
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 0;
  }

  .site-header__inner {
    min-height: auto;
    padding: 20px 0 0;
    background: transparent;
    border-radius: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 20px;
  }

  .site-nav,
  .site-header__cta {
    display: none !important;
  }

  .site-header__logo img {
    width: 155px;
    filter: brightness(0) invert(1);
  }

  .site-header__burger {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    position: relative;
    align-items: center;
    justify-content: center;
    justify-self: end;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
  }

  .site-header__burger span {
    position: absolute;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 999px;
    transform: translateX(-50%);
  }

  .site-header__burger span:nth-child(1) {
    top: 13px;
  }

  .site-header__burger span:nth-child(2) {
    top: 21px;
  }

  .site-header__burger span:nth-child(3) {
    top: 29px;
  }
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    padding-top: 16px;
  }

  .site-header__logo img {
    width: 145px;
  }

  .site-header__burger {
    width: 40px;
    height: 40px;
  }

  .site-header__burger span {
    width: 28px;
  }

  .site-header__burger span:nth-child(1) {
    top: 12px;
  }

  .site-header__burger span:nth-child(2) {
    top: 20px;
  }

  .site-header__burger span:nth-child(3) {
    top: 28px;
  }

  .mobile-nav__link,
  .mobile-nav__link:link,
  .mobile-nav__link:visited {
    font-size: 1.625rem;
  }
}

/* ---------- Site Hero ---------- */

.hero-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  margin-top: -120px;
  padding-top: 120px;
  z-index: 1;
}

.hero-section__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-section__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 2%;
}

.hero-section__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--overlay-secondary);
  pointer-events: none;
}

.hero-section__content {
  position: relative;
  z-index: 2;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 24px;
  padding-bottom: 15px;
}

.hero-section__title {
  margin: 0;
  max-width: 8ch;
  padding-bottom: 20px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.6vw, 4.9rem);
  font-weight: 400;
  line-height: 0.92;
  text-align: center;
  text-wrap: balance;
}

.hero-section__text {
  max-width: 34ch;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}


.hero-section__button {
  margin-top: 28px;
  min-height: 58px;
  padding: 0 32px;
  border-radius: 999px;
  background-color: var(--color-cta);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.hero-section__button:hover {
  transform: translateY(-2px);
  background-color: #9A470A;
  color: #ffffff;
}

.hero-section__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-section__wave img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-section {
    min-height: 620px;
    margin-top: -88px;
    padding-top: 88px;
  }

  .hero-section__content {
    min-height: 620px;
  }

  .hero-section__title {
    font-size: clamp(2.45rem, 7vw, 3.5rem);
  }

  .hero-section__media img {
    object-position: center 10%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 540px;
    margin-top: -82px;
    padding-top: 82px;
  }

  .hero-section__content {
    min-height: 540px;
    padding-inline: 20px;
    padding-bottom: 0;
  }

  .hero-section__title {
    max-width: 9ch;
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    padding-bottom: 16px;
  }

  .hero-section__text {
    max-width: 28ch;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-section__button {
    min-height: 54px;
    padding: 0 26px;
    font-size: 0.95rem;
    margin-top: 20px;
  }

  .hero-section__media img {
    object-position: center 14%;
  }
}

/* ---------- Site footer ---------- */

.site-footer {
  position: relative;
  margin-top: 120px;
  background-color: var(--color-primary);
  color: #ffffff;
  overflow: hidden;
}

.site-footer__wave {
  width: 100%;
  line-height: 0;
}

.site-footer__wave img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1.15fr 0.95fr;
  gap: 56px;
  padding-block: 56px 64px;
}

.site-footer__brand,
.site-footer__column,
.site-footer__social {
  display: flex;
  flex-direction: column;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer__logo {
  width: 210px;
  height: auto;
  display: block;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.site-footer__tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  max-width: none;
  margin: 0;
  text-align: center;
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 22px;
}

.site-footer__text,
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__text p,
.site-footer__links a,
.site-footer__cvr {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: #ffffff;
  text-decoration: none;
  margin: 0;
}

.site-footer__links a {
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__column .site-footer__links a:not([href^="tel"]):not([href^="mailto"]) {
  text-decoration: none;
}

.site-footer__column .site-footer__links a:not([href^="tel"]):not([href^="mailto"]):hover,
.site-footer__links a:hover {
  opacity: 0.8;
}

.site-footer__text + .site-footer__links {
  margin-top: 20px;
}

.site-footer__cvr {
  margin-top: 26px;
}

.site-footer__social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.site-footer__social-link {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.site-footer__social-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.site-footer__social-link i {
  font-size: 1.6rem;
  color: #ffffff;
}

.site-footer__social-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.site-footer__smiley-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__smiley-wrap .site-footer__heading {
  margin-bottom: 0;
}

.site-footer__smiley-link {
  display: inline-flex;
  width: fit-content;
}

.site-footer__smiley {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.site-footer__bottom {
  padding: 18px var(--site-padding);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 1200px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px 40px;
  }

  .site-footer__social {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 80px;
  }

  .site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-block: 40px 48px;
    text-align: center;
  }

  .site-footer__brand,
  .site-footer__contact,
  .site-footer__links,
  .site-footer__legal,
  .site-footer__social {
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__smiley img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-inline: auto;
}

  .site-footer__logo {
    width: 180px;
  }

  .site-footer__heading {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .site-footer__social {
    gap: 16px;
  }

  .site-footer__social-links {
    justify-content: center;
    margin-bottom: 24px;
  }

  .site-footer__links-list,
  .site-footer__legal-list,
  .site-footer__contact-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
