/* Shared navigation */
.announcement-bar {
  grid-area: announcement;
  background-color: #1e293b;
  color: white;
  text-align: center;
  padding: 10px 15px;
}

.announcement-bar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: white;
}

.site-nav {
  grid-area: nav;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*padding: 0px 100px;*/
  padding: 0 clamp(20px, 5vw, 100px);
  position: relative;
}
.site-nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}

.site-nav__links {
  display: flex;
  gap: clamp(0.75rem, 2vw, 2rem);
  flex-shrink: 1;
  min-width: 0;
}
.site-nav__links li {
  list-style: none;
  border-bottom: 2px solid transparent;
}
.site-nav__links li:hover {
  border-bottom: 2px solid var(--accent-color);
}
.site-nav__links a {
  color: black;
}
.site-logo {
  width: clamp(160px, 18vw, 250px);
  height: auto;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle i {
  font-size: 28px;
  color: var(--accent-color);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

.quote-button {
  background-color: var(--accent-color);
  border-radius: 20px;
  padding: 10px 20px;
  border: none;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: white;
}

/* Shared footer */
.site-footer {
  grid-area: footer;
  display: flex;
  justify-content: space-between;
  background-color: black;
  color: white;
  align-items: center;
  gap: 25px;
  padding: 30px clamp(20px, 5vw, 100px);
  flex-wrap: nowrap;
}
.site-footer__social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: auto;
  height: auto;
}
.site-footer__social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.site-footer__social-links i {
  font-size: 24px;
  color: white;
}
.site-footer__logo {
  width: 250px;
  height: auto;
}
.site-footer__links {
  display: flex;
  align-items: center;
}
.site-footer__links li {
  list-style: none;
  padding: 10px 20px;
}
.site-footer__links li:hover {
  border-bottom: 2px solid var(--accent-color);
}
.site-footer__links a {
  color: white;
}
.site-nav__links a.current {
  color: var(--accent-color);
  font-weight: 700;
}

.site-footer__links a.current {
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  text-underline-offset: 6px;
}
/* Final call to action */
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 60px 20px;

  background-image:
    linear-gradient(rgba(8, 27, 48, 0.8), rgba(8, 27, 48, 0.8)),
    url("../resources/k-b-axa5jckDcg4-unsplash.jpg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.final-cta__eyebrow {
  color: #8acaff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.final-cta h2 {
  color: white;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 15px;
}

.final-cta h2 span {
  color: #8acaff;
}

.final-cta__description {
  color: white;
  line-height: 1.6;
  margin-bottom: 20px;
}

.final-cta__button {
  display: inline-block;
  background-color: var(--accent-color);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 12px 24px;
  font-weight: 600;
  text-decoration: none;
}
.final-cta__button:focus-visible,
.quote-button:focus-visible {
  outline: 3px solid #8acaff;
  outline-offset: 4px;
}
.quote-button:hover {
  filter: brightness(1.1);
}
@media (max-width: 1200px) {
  .site-footer {
    flex-direction: column;
    justify-content: center;
  }
  .site-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 1050px) {
  .menu-toggle {
    display: flex;
  }
  .site-nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .site-nav__menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    z-index: 10;
    max-width: 100%;
    flex-direction: column;
    background-color: white;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    visibility: hidden;
    padding: 20px;
    gap: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
  .site-nav__menu.is-open {
    transform: scaleY(1);
    visibility: visible;
  }

  .site-footer {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .final-cta {
    padding: 20px;
  }

  .final-cta h2,
  .final-cta__description {
    text-align: center;
  }
}
