html {
  scroll-padding-top: 88px;
}

:focus-visible {
  outline: 3px solid var(--gold2);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  padding: 8px 12px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: transparent;
  color: var(--gold2);
  font: inherit;
  cursor: pointer;
}

.btn-wa,
.footer-wa,
.nav-wa {
  color: var(--ink) !important;
}

.btn-wa svg,
.footer-wa svg,
.nav-wa svg {
  fill: var(--ink) !important;
}

.footer-copy,
.footer-tagline {
  color: rgba(247, 240, 232, 0.72);
}

.float-wa {
  bottom: max(20px, env(safe-area-inset-bottom));
  animation: none;
}

@media (max-width: 720px) {
  nav {
    padding-inline: 16px;
  }

  .nav-brand {
    font-size: 14px;
    letter-spacing: 0.025em;
  }

  .nav-toggle:not([hidden]) {
    display: block;
  }

  nav .nav-links {
    position: absolute;
    top: 64px;
    inset-inline: 0;
    display: none;
    gap: 4px;
    padding: 16px 24px 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--gold);
  }

  nav .nav-links.is-open,
  html:not(.js) nav .nav-links {
    display: grid;
  }

  html:not(.js) nav {
    position: relative;
    height: auto;
    min-height: 64px;
    flex-direction: column;
    padding-block: 16px;
  }

  html:not(.js) nav .nav-links {
    position: static;
    width: 100%;
    border-bottom: 0;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: 100svh;
    padding-top: 112px;
  }

  .hero-cta-group {
    width: 100%;
    max-width: 360px;
  }

  .hero-cta-group a {
    width: 100%;
    justify-content: center;
  }

  .contact-card .btn-tel {
    padding-inline: 12px;
    font-size: 14px;
  }

  footer {
    padding-bottom: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
