.site-header {
  position: relative;
  z-index: 5;
  background: var(--navy);
  color: var(--paper);
}

.header-inner {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding-block: 0.55rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0;
  color: var(--paper);
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: clamp(10rem, 20vw, 13rem);
  height: auto;
}

.menu-toggle {
  display: inline-flex;
  min-width: 3rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.65rem;
  background: transparent;
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 650;
  cursor: pointer;
}

.menu-toggle__icon {
  display: block;
  width: 1.125rem;
  height: 0.875rem;
  flex: none;
  background:
    linear-gradient(var(--blue-pale), var(--blue-pale)) center 0 / 100% 2px no-repeat,
    linear-gradient(var(--blue-pale), var(--blue-pale)) center / 100% 2px no-repeat,
    linear-gradient(var(--blue-pale), var(--blue-pale)) center 100% / 100% 2px no-repeat;
}

.site-nav {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.35rem;
  padding-block: 0.25rem 0.75rem;
}

.site-nav a,
.site-footer nav a,
.footer-bottom a {
  min-height: 2.75rem;
  align-content: center;
  color: inherit;
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-inline: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.25rem;
  left: 0.75rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue-bright);
  content: "";
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a.site-nav__service {
  color: #e7f2ff;
  font-weight: 650;
}

.site-nav__number {
  color: #83b9f4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button--primary {
  background: var(--blue);
  color: var(--paper);
}

.button--primary:hover {
  transform: translateY(-1px);
  background: #0d58b7;
}

.button--whatsapp {
  background: #25d366;
  color: #082415;
}

.button--whatsapp:hover {
  transform: translateY(-1px);
  background: #3ce477;
}

.whatsapp-float {
  position: fixed;
  z-index: 10;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  min-height: 3.5rem;
  gap: 0.65rem;
  padding-inline: 1.1rem;
  border-radius: 999px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.24);
  color: #082415;
  font-size: 0.9rem;
}

.whatsapp-float svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #d8e6f5;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration-color: rgba(216, 230, 245, 0.55);
  text-underline-offset: 0.3em;
}

.text-link:hover {
  color: var(--paper);
}

.privacy-notice {
  border-bottom: 1px solid var(--line);
  background: #eaf3ff;
  color: var(--ink);
}

.privacy-notice__content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-block: 1rem;
}

.privacy-notice__content > div {
  flex: 1 1 20rem;
}

.privacy-notice h2 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.privacy-notice p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.privacy-notice__close {
  min-height: 2.75rem;
  cursor: pointer;
}

.site-footer {
  background: var(--navy-deep);
  color: var(--paper);
  border-top: 1px solid rgba(167, 208, 255, 0.3);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-block: 2.25rem;
}

.brand--footer {
  width: fit-content;
}

.footer-brand > p {
  max-width: 30rem;
  margin: 0.85rem 0 0;
  color: var(--white-muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-footer nav a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-inline: 0.65rem;
  border-radius: 0.5rem;
  color: var(--white-muted);
  transition: background-color 160ms ease, color 160ms ease;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.footer-bottom a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--paper);
}

.footer-heading {
  margin-bottom: 0.65rem;
  color: #a8c9ed;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-footer .footer-social__link {
  min-height: 3rem;
  padding-inline: 0.85rem;
  border: 1px solid rgba(196, 207, 221, 0.24);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 650;
  text-decoration: none;
}

.site-footer .footer-social__link:hover,
.site-footer .footer-social__link:focus-visible {
  border-color: rgba(167, 208, 255, 0.55);
  background: rgba(167, 208, 255, 0.1);
}

.footer-social__link span:last-child {
  color: #83b9f4;
}

.footer-bottom {
  display: flex;
  min-height: 3.75rem;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white-muted);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--white-muted);
  padding-inline: 0.25rem;
  border-radius: 0.25rem;
}

@media (max-width: 759px) {
  .site-footer {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-links nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.5rem;
  }

  .footer-links nav a {
    min-height: 3rem;
    font-size: 0.84rem;
  }

  .footer-social nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (min-width: 960px) {
  .header-inner {
    min-height: 5rem;
    flex-wrap: nowrap;
    padding-block: 0;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1.25rem);
    padding: 0;
  }

  .site-nav a {
    min-height: 2.75rem;
    padding-inline: 0.55rem;
    white-space: nowrap;
  }

  .site-nav a::after {
    right: 0.55rem;
    left: 0.55rem;
  }

  .site-nav__service {
    gap: 0.35rem;
  }

}

@media (min-width: 760px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 2rem;
    padding-block: 3rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer nav {
    grid-column: auto;
  }

  .footer-bottom {
    min-height: 4rem;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.25rem 1rem;
  }
}

@media (min-width: 1000px) {
  .footer-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.8fr) minmax(14rem, 0.8fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .footer-brand {
    grid-column: auto;
  }

  .site-footer nav {
    grid-column: auto;
  }
}
