/* Beck Media - small additions to Tailwind */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background: #14202E;
  color: #fff;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid #E07A3F;
  outline-offset: 2px;
}

#main:focus { outline: none; }

.focus-ring:focus-visible {
  outline: 3px solid #A84B17;
  outline-offset: 3px;
}
.focus-ring-light:focus-visible {
  outline: 3px solid #E07A3F;
  outline-offset: 3px;
}

.nav-link {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.15s ease;
}
.nav-link:hover { color: #A84B17; }

.hero-glow {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(224, 122, 63, 0.22), transparent 60%),
    radial-gradient(40rem 30rem at -10% 110%, rgba(31, 58, 95, 0.9), transparent 70%),
    linear-gradient(160deg, #14202E 0%, #1F3A5F 100%);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A84B17;
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #D9E2EE;
  border-radius: 1rem;
  background: #fff;
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  box-shadow: 0 12px 30px -12px rgba(20, 32, 46, 0.18);
  transform: translateY(-2px);
}
@media (min-width: 640px) {
  .service-card { padding: 2rem; }
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #FBE7DB;
  color: #A84B17;
}
.service-icon svg { width: 1.75rem; height: 1.75rem; }

.tick {
  position: relative;
  padding-left: 1.5rem;
}
.tick::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid #1F3A5F;
  border-bottom: 2px solid #1F3A5F;
  transform: rotate(-45deg);
}

.step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #1F3A5F;
  color: #fff;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}

/* Legal modals */
.legal-modal {
  width: min(44rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: #fff;
  color: #14202E;
  box-shadow: 0 25px 60px -15px rgba(20, 32, 46, 0.45);
}
.legal-modal::backdrop {
  background: rgba(20, 32, 46, 0.65);
}
.legal-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
}
.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #D9E2EE;
}
.legal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  color: #1F3A5F;
}
.legal-close:hover { background: #EEF2F7; }
.legal-body {
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1.75rem;
  line-height: 1.65;
  color: #4F5B6B;
}
.legal-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1F3A5F;
}
body.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .service-card:hover { transform: none; }
}
