:root {
  --site-color-01: #0a7700;
  --site-color-01-hover: #033f1a;
  --site-color-02: #63002b;
  --site-color-02-hover: #360017;
  --site-color-03: #fbe1b0;
  --site-color-03-hover: #c4ac80;
}

/* ==================================================
   GLOBAL
================================================== */

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background-color: #1e1e1e;
  font-family: "Roboto", sans-serif;
}

body::after {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  z-index: -1;

  content: url(../img/icons/color-logo-linkedin.png)
    url(../img/icons/color-logo-youtube.png);
}

.wrapper-main {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

h1 {
  font-family: "Roboto", sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  text-transform: uppercase;
}

h3 {
  font-family: "Roboto", sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  text-transform: uppercase;
}

p {
  font-family: "Roboto", sans-serif;
  font-size: 1.6rem;
  line-height: 1.75;
  color: #ffffff;
}

sup {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.9rem;
  vertical-align: super;
}

a {
  font-family: "Roboto", sans-serif;
  font-size: 1.45rem;
  line-height: 1.75;
  color: #ffffff;

  cursor: pointer;
  text-decoration: none;
}

button {
  font-family: "Roboto", sans-serif;
}

iframe {
  border: none;
}

/* ==================================================
   MAIN HEADER
================================================== */

.header-main {
  position: fixed;
  top: 16px;
  left: 50%;

  width: min(1480px, calc(100% - 32px));
  height: 76px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  padding: 0 18px 0 22px;

  background: rgba(255, 255, 255, 0.98);

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);

  transform: translateX(-50%);

  z-index: 1000;
}

/* ==================================================
   LOGO
================================================== */

.header-logo {
  display: flex;
  align-items: center;

  height: 100%;
}

.header-logo img {
  display: block;

  width: auto;
  height: 62px;
}

/* ==================================================
   DESKTOP NAVIGATION
================================================== */

.header-main-nav {
  display: flex;
  justify-content: flex-start;

  height: 100%;

  margin-left: 45px;
}

.desktop-nav {
  display: flex;
  align-items: center;

  height: 100%;

  gap: 6px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.nav-item {
  position: relative;

  display: flex;
  align-items: center;

  height: 100%;
}

.nav-link {
  position: relative;

  display: flex;
  align-items: center;

  height: 100%;

  gap: 7px;

  padding: 0 17px;

  border: 0;
  background: transparent;

  color: #222222;

  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;

  white-space: nowrap;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav-link::after {
  content: "";

  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 17px;

  height: 3px;

  background-color: var(--site-color-01);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-dropdown:hover > .nav-link,
.nav-dropdown:focus-within > .nav-link {
  color: var(--site-color-01);
}

.nav-link:hover::after,
.nav-link-active::after,
.nav-dropdown:hover > .nav-link::after,
.nav-dropdown:focus-within > .nav-link::after {
  transform: scaleX(1);
}

.nav-link-active {
  color: var(--site-color-01);
}

/* ==================================================
   NAV CHEVRON
================================================== */

.nav-chevron {
  width: 7px;
  height: 7px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform: rotate(45deg) translateY(-2px);

  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

/* ==================================================
   DROPDOWN BASE
================================================== */

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;

  visibility: hidden;
  opacity: 0;

  pointer-events: none;

  transform: translate(-50%, 12px);

  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;

  z-index: 1100;
}

.nav-dropdown:hover > .nav-dropdown-panel,
.nav-dropdown:focus-within > .nav-dropdown-panel {
  visibility: visible;
  opacity: 1;

  pointer-events: auto;

  transform: translate(-50%, 0);
}

.nav-dropdown-panel::before {
  content: "";

  position: absolute;
  top: -18px;
  left: 0;

  width: 100%;
  height: 20px;
}

/* ==================================================
   PRESSUREPAVE® FEATURE DROPDOWN
================================================== */

.pressurepave-menu {
  width: min(760px, calc(100vw - 60px));

  display: grid;
  grid-template-columns: 0.85fr 1.35fr;

  overflow: hidden;

  background-color: #ffffff;

  border: 1px solid #dddddd;
  border-radius: 16px;

  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.2);
}

.pressurepave-menu-header {
  padding: 38px 34px;

  background: linear-gradient(145deg, #122013 0%, #071208 100%);
}

.nav-menu-eyebrow {
  margin: 0 0 9px;

  color: var(--site-color-01);

  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.3;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pressurepave-menu-header .nav-menu-eyebrow {
  color: #8fd97d;
}

.pressurepave-menu-header h2 {
  margin: 0 0 16px;

  color: #ffffff;

  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.08;

  text-transform: none;
}

.pressurepave-menu-header > p:last-child {
  margin: 0;

  color: #d0d5d0;

  font-size: 1.45rem;
  line-height: 1.65;
}

.pressurepave-menu-links {
  padding: 16px;
}

.nav-feature-link {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;

  gap: 13px;

  padding: 14px;

  border-radius: 10px;

  color: #222222;

  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}

.nav-feature-link:hover {
  background-color: #f1f5f0;
  transform: translateX(3px);
}

.nav-menu-number {
  color: var(--site-color-01);

  font-size: 1.2rem;
  font-weight: 900;
}

.nav-menu-copy {
  display: flex;
  flex-direction: column;

  gap: 3px;
}

.nav-menu-copy strong {
  color: #1b1b1b;

  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
}

.nav-menu-copy small {
  color: #727272;

  font-size: 1.2rem;
  line-height: 1.35;
}

.nav-menu-arrow {
  color: var(--site-color-01);

  font-size: 1.8rem;

  transition: transform 0.18s ease;
}

.nav-feature-link:hover .nav-menu-arrow {
  transform: translateX(3px);
}

/* ==================================================
   STANDARD DROPDOWNS
================================================== */

.nav-dropdown-standard {
  width: 340px;

  padding: 18px;

  background-color: #ffffff;

  border: 1px solid #dddddd;
  border-radius: 14px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.nav-dropdown-standard .nav-menu-eyebrow {
  padding: 7px 10px 12px;

  border-bottom: 1px solid #e7e7e7;
}

.nav-dropdown-standard > a {
  display: block;

  padding: 13px 10px;

  border-radius: 8px;

  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}

.nav-dropdown-standard > a:hover {
  background-color: #f1f5f0;
  transform: translateX(3px);
}

.nav-dropdown-standard strong {
  display: block;

  margin-bottom: 3px;

  color: #1d1d1d;

  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
}

.nav-dropdown-standard span {
  display: block;

  color: #777777;

  font-size: 1.2rem;
  line-height: 1.45;
}

/* ==================================================
   CONTACT CTA
================================================== */

.nav-contact {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;

  margin-left: 10px;
  padding: 0 19px;

  background-color: var(--site-color-01);

  border-radius: 7px;

  color: #ffffff;

  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;

  white-space: nowrap;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-contact:hover {
  background-color: var(--site-color-01-hover);

  transform: translateY(-1px);

  box-shadow: 0 7px 18px rgba(10, 119, 0, 0.22);
}

/* ==================================================
   HEADER SOCIAL ICONS
================================================== */

.header-main-sm {
  display: flex;
  align-items: center;

  gap: 13px;

  height: 100%;
}

.header-main-sm > a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-main-sm-li,
.header-main-sm-yt {
  width: 27px;
  height: 27px;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.75;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.header-main-sm-li {
  background-image: url(../img/logo-linkedin.svg);
}

.header-main-sm-yt {
  background-image: url(../img/logo-youtube.svg);
}

.header-main-sm-li:hover {
  background-image: url(../img/icons/color-logo-linkedin.png);

  opacity: 1;
  transform: translateY(-1px);
}

.header-main-sm-yt:hover {
  background-image: url(../img/icons/color-logo-youtube.png);

  opacity: 1;
  transform: translateY(-1px);
}

/* ==================================================
   MOBILE MENU DEFAULT STATE
================================================== */

.burger-menu,
.burger-menu-btn {
  display: none;
}

/* ==================================================
   FOOTER
================================================== */

.footer-main {
  width: 100%;
  height: fit-content;

  padding: 60px 0 20px;

  background-color: #111111;
}

.footer-main-flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-getintouch {
  padding: 10px 20px;
  margin: 40px 0 60px;

  border: 2px solid var(--site-color-01);

  font-weight: 600;

  transition: all ease-in-out 200ms;
}

.footer-getintouch:hover {
  border-color: var(--site-color-01-hover);
  color: var(--site-color-01-hover);
}

.footer-logo {
  width: 10vh;
  height: 10vh;

  margin-top: 4.5rem;
  margin-right: 4.5rem;

  border-radius: 10px;

  object-fit: cover;
}

.footer-sitemap {
  flex-basis: 100%;

  display: flex;

  column-gap: 2rem;

  list-style: none;
}

.footer-sitemap a {
  line-height: 3rem;
}

.footer-sitemap a:hover {
  opacity: 0.5;
}

.footer-sitemap ul:nth-child(2) {
  border-left: 4px solid var(--site-color-01);
  padding-left: 2rem;
}

.footer-sitemap ul:nth-child(2),
.footer-sitemap ul:nth-child(3) {
  flex-basis: 200px;
}

.footer-sitemap > p {
  flex-basis: 340px;

  text-transform: uppercase;
}

.footer-sitemap ul:last-child {
  flex-grow: 1;
}

.footer-sitemap ul:last-child p {
  text-align: right;
}

.copyright {
  margin-top: 75px;

  font-size: 10px;
}

.copyright a {
  margin-left: 15px;

  font-size: 10px;
}

.copyright a:hover {
  opacity: 0.2;
}

/* ==================================================
   FOOTER SOCIAL ICONS
================================================== */

.footer-main-sm {
  width: 100%;

  display: flex;
  justify-content: flex-end;
  align-items: center;

  gap: 12px;

  padding-top: 5px;
  padding-right: 10px;
}

.footer-main-sm-li {
  width: 40px;
  height: 40px;

  background-image: url(../img/icons/color-logo-linkedin.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.footer-main-sm-yt {
  width: 40px;
  height: 40px;

  background-image: url(../img/icons/color-logo-youtube.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.footer-main-sm-li:hover {
  background-image: url(../img/logo-linkedin.svg);
}

.footer-main-sm-yt:hover {
  background-image: url(../img/logo-youtube.svg);
}

/* ==================================================
   GLOBAL YOUTUBE PREVIEW
================================================== */

.youtube-preview {
  position: relative;

  width: 100%;
  height: 100%;

  cursor: pointer;
  overflow: hidden;
}

.youtube-preview-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.youtube-preview-play {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 76px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ff0033;

  border-radius: 14px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

  transform: translate(-50%, -50%);

  z-index: 5;
  pointer-events: none;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.youtube-preview-play-icon {
  width: 0;
  height: 0;

  margin-left: 4px;

  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #ffffff;
}

.youtube-preview:hover .youtube-preview-image {
  transform: scale(1.025);
  filter: brightness(0.82);
}

.youtube-preview:hover .youtube-preview-play {
  transform: translate(-50%, -50%) scale(1.08);

  background: #ff0033;
}

.youtube-video iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}

/* ==================================================
   TABLET / MOBILE NAVIGATION
================================================== */

@media only screen and (max-width: 1180px) {
  .header-main {
    top: 12px;

    width: calc(100% - 24px);
    height: 68px;

    padding: 0 14px 0 18px;
  }

  .header-logo img {
    height: 54px;
  }

  .header-main-nav {
    display: none;
  }

  .header-main-sm {
    margin-left: auto;
  }

  .burger-menu-btn {
    display: block;

    width: 42px;
    height: 42px;

    margin-left: 4px;

    border: 0;

    background-color: transparent;
    background-image: url(../img/icons/menu-outline.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;

    cursor: pointer;
  }

  .burger-menu {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100dvh;

    padding: 100px 20px 40px;

    overflow-y: auto;

    background: linear-gradient(145deg, #071408 0%, #102112 100%);

    z-index: 999;
  }

  .mobile-nav-inner {
    width: min(700px, 100%);
    margin: 0 auto;
  }

  .mobile-nav-link,
  .mobile-nav-dropdown > summary {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 4px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.13);

    color: #ffffff;

    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .mobile-nav-dropdown > summary {
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav-dropdown > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-arrow {
    width: 10px;
    height: 10px;

    margin-right: 7px;

    border-right: 2px solid #8fd97d;
    border-bottom: 2px solid #8fd97d;

    transform: rotate(45deg);

    transition: transform 0.2s ease;
  }

  .mobile-nav-dropdown[open] .mobile-nav-arrow {
    transform: rotate(225deg);
  }

  .mobile-nav-submenu {
    padding: 7px 0 15px 15px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .mobile-nav-submenu a {
    display: block;

    padding: 13px 15px;

    border-left: 2px solid rgba(143, 217, 125, 0.35);

    color: #ffffff;
  }

  .mobile-nav-submenu a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .mobile-nav-submenu strong {
    display: block;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 1.55rem;
    font-weight: 700;
  }

  .mobile-nav-submenu span {
    display: block;

    color: #bfc8bf;

    font-size: 1.25rem;
    line-height: 1.45;
  }

  .mobile-nav-contact {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 28px;
    padding: 17px 20px;

    background-color: var(--site-color-01);

    border-radius: 8px;

    color: #ffffff;

    font-size: 1.7rem;
    font-weight: 800;

    transition: background-color 0.2s ease;
  }

  .mobile-nav-contact:hover {
    background-color: var(--site-color-01-hover);
  }

  /* FOOTER */

  .footer-logo {
    width: 130px;
    height: 130px;

    margin: 0 0 30px;
  }

  .sitemap-logo {
    width: 100%;

    display: flex;
    justify-content: center;
  }

  .footer-sitemap {
    flex-wrap: wrap;
    justify-content: center;

    gap: 30px 50px;
  }

  .footer-sitemap ul:nth-child(2),
  .footer-sitemap ul:nth-child(3),
  .footer-sitemap > p,
  .footer-sitemap ul:last-child {
    flex-basis: calc(50% - 30px);
  }

  .footer-sitemap ul:nth-child(2) {
    border-left: none;
    padding-left: 0;
  }

  .footer-sitemap ul:last-child p {
    text-align: left;
  }

  .footer-main-sm {
    justify-content: center;

    padding-top: 30px;
    padding-right: 0;
  }

  .copyright {
    width: 100%;

    margin-top: 45px;

    text-align: center;
  }
}

/* ==================================================
   PHONE
================================================== */

@media only screen and (max-width: 600px) {
  .wrapper-main {
    width: calc(100% - 32px);
  }

  .header-main {
    top: 10px;

    width: calc(100% - 20px);
    height: 62px;

    padding: 0 10px 0 14px;

    border-radius: 10px;
  }

  .header-logo img {
    height: 48px;
  }

  .header-main-sm {
    gap: 8px;
  }

  .header-main-sm-li,
  .header-main-sm-yt {
    width: 24px;
    height: 24px;
  }

  .burger-menu-btn {
    width: 38px;
    height: 38px;

    margin-left: 1px;

    background-size: 28px;
  }

  .burger-menu {
    padding: 88px 18px 30px;
  }

  .mobile-nav-link,
  .mobile-nav-dropdown > summary {
    padding: 17px 3px;

    font-size: 1.9rem;
  }

  .mobile-nav-submenu {
    padding-left: 8px;
  }

  .mobile-nav-submenu a {
    padding: 12px 12px;
  }

  .mobile-nav-submenu strong {
    font-size: 1.45rem;
  }

  .mobile-nav-submenu span {
    font-size: 1.2rem;
  }

  .mobile-nav-contact {
    margin-top: 22px;
  }

  /* FOOTER */

  .footer-main {
    padding: 50px 0 20px;
  }

  .footer-getintouch {
    margin: 0 0 40px;
  }

  .footer-logo {
    width: 110px;
    height: 110px;
  }

  .footer-sitemap {
    display: flex;
    flex-direction: column;

    gap: 25px;

    text-align: center;
  }

  .footer-sitemap ul:nth-child(2),
  .footer-sitemap ul:nth-child(3),
  .footer-sitemap > p,
  .footer-sitemap ul:last-child {
    flex-basis: 100%;
  }

  .footer-sitemap ul:last-child p,
  .footer-sitemap > p {
    text-align: center;
  }

  .footer-main-sm {
    justify-content: center;
  }

  .copyright {
    margin-top: 35px;
  }

  .copyright p {
    font-size: 1.1rem;
  }

  .copyright a {
    display: inline-block;

    margin: 6px 6px 0;

    font-size: 1.1rem;
  }
}
