@font-face {
  font-family: "Poppins";
  src: url("../../assets/global/fonts/poppins.regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../../assets/global/fonts/poppins.medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../../assets/global/fonts/poppins.semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../../assets/global/fonts/poppins.bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../../assets/global/fonts/poppins.extrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --fdv-navy-nav: #001130;
  --fdv-navy-text: #04142e;
  --fdv-line: #3a3e57;
  --fdv-orange: #fd6300;
  --fdv-orange-light: #fd8946;
  --fdv-cream: #fbf7ef;
  --fdv-white: #ffffff;
  --fdv-muted: #4e5569;
  --fdv-soft-border: rgba(4, 20, 46, 0.12);
  --fdv-shadow: 0 24px 54px rgba(4, 20, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1000px;
  background: var(--fdv-cream);
  color: var(--fdv-navy-text);
  font-family: "Poppins", Arial, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.mobile-placeholder {
  display: none;
}

.site-shell {
  min-height: 100vh;
  background: var(--fdv-cream);
}

.site-header {
  width: 100%;
  background: var(--fdv-navy-nav);
  box-shadow: 0 8px 22px rgba(4, 20, 46, 0.22);
}

.site-nav {
  width: min(1608px, calc(100% - 64px));
  height: 132px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  background: var(--fdv-navy-nav);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 0;
  border-radius: 0 0 38px 38px;
}

.site-logo {
  order: 1;
  flex: 0 0 auto;
  width: 226px;
  height: 78px;
  margin-left: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav-links {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-left: auto;
}

.site-nav-link {
  position: relative;
  padding: 10px 0 20px;
  color: var(--fdv-white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.site-nav-link::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--fdv-orange);
  content: "";
  transform: translateX(-50%);
  transition: width 160ms ease;
}

.site-nav-link-active::after,
.site-nav-link:hover::after {
  width: 58px;
}

.site-menu-toggle {
  display: none;
}

.site-nav-cta {
  order: 3;
  flex: 0 0 auto;
  min-width: 310px;
  height: 74px;
  margin-right: 28px;
  padding: 0 40px 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 13px;
  background: var(--fdv-orange);
  color: var(--fdv-white);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(253, 99, 0, 0.22);
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.site-nav-cta img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-nav-cta:hover {
  background: #ff741d;
  box-shadow: 0 18px 34px rgba(253, 99, 0, 0.3);
  transform: translateY(-1px);
}

.back-to-top {
  position: fixed;
  right: 34px;
  bottom: 34px;
  z-index: 30;
  width: 62px;
  height: 62px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: var(--fdv-orange);
  color: var(--fdv-white);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 18px 34px rgba(253, 99, 0, 0.28);
  transform: translateY(14px);
  transition:
    opacity 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.back-to-top span {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.back-to-top-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #e95800;
  box-shadow: 0 24px 44px rgba(253, 99, 0, 0.36);
  transform: translateY(-3px);
}

@media (max-width: 999px) {
  body {
    min-width: 0;
  }

  .site-shell {
    display: none;
  }

  .mobile-placeholder {
    min-height: 100vh;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--fdv-cream);
    color: var(--fdv-navy-text);
    text-align: center;
  }

  .mobile-placeholder p {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.5;
  }
}

@media (min-width: 1000px) and (max-width: 1500px) {
  .site-nav {
    width: min(1320px, calc(100% - 36px));
    height: 112px;
    gap: 18px;
    border-radius: 0 0 30px 30px;
  }

  .site-nav-links {
    gap: clamp(14px, 1.65vw, 28px);
  }

  .site-logo {
    width: clamp(150px, 13.4vw, 195px);
    height: clamp(54px, 4.8vw, 69px);
    margin-left: 16px;
  }

  .site-nav-link {
    padding-bottom: 16px;
    font-size: clamp(13px, 1.08vw, 16px);
  }

  .site-nav-cta {
    min-width: clamp(198px, 18vw, 266px);
    height: 60px;
    margin-right: 16px;
    padding: 0 18px;
    gap: 10px;
    font-size: clamp(13px, 1.08vw, 16px);
  }

  .site-nav-cta img {
    width: 25px;
    height: 25px;
  }

  .back-to-top {
    right: 24px;
    bottom: 24px;
    width: 54px;
    height: 54px;
  }

  .back-to-top span {
    font-size: 28px;
  }
}

@media (min-width: 1000px) and (max-width: 1179px) {
  .site-nav {
    width: min(980px, calc(100% - 28px));
    height: 98px;
    gap: 12px;
    border-radius: 0 0 24px 24px;
  }

  .site-logo {
    width: 142px;
    height: 50px;
    margin-left: 10px;
  }

  .site-nav-links {
    gap: 12px;
  }

  .site-nav-link {
    font-size: 12.5px;
  }

  .site-nav-cta {
    min-width: 182px;
    height: 52px;
    margin-right: 10px;
    padding: 0 14px;
    font-size: 12.5px;
  }

  .site-nav-cta img {
    width: 22px;
    height: 22px;
  }
}
