/* ==========================================================================
   Base / reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--whe-electric);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--whe-blue);
  color: var(--whe-white);
  border-radius: var(--radius-btn);
  font-weight: var(--fw-semibold);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.45rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition:
    background var(--duration-fast) var(--ease-soft),
    color var(--duration-fast) var(--ease-soft),
    border-color var(--duration-fast) var(--ease-soft),
    transform var(--duration-fast) var(--ease-soft),
    box-shadow var(--duration-fast) var(--ease-soft);
}

/* Lucide icons — https://lucide.dev/ */
.lucide {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  stroke: currentColor;
}

.btn .lucide {
  width: 1.05em;
  height: 1.05em;
}

.btn--primary {
  background: var(--whe-blue);
  color: var(--whe-white);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: var(--whe-blue-hover);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--whe-white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  border-color: var(--whe-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--phone {
  background: var(--whe-ice);
  color: var(--whe-midnight);
  border: 1px solid rgba(8, 126, 245, 0.18);
}

.btn--phone:hover {
  background: #d9f0ff;
}

.btn--nav-primary {
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  background: var(--whe-blue);
  color: var(--whe-white);
  box-shadow: 0 6px 18px rgba(8, 126, 245, 0.28);
}

.btn--nav-primary:hover {
  background: var(--whe-blue-hover);
}

.btn--nav-phone {
  min-height: 44px;
  padding: 0.7rem 1.05rem;
  background: var(--whe-ice);
  color: var(--whe-midnight);
  border: 1px solid rgba(8, 126, 245, 0.15);
  font-variant-numeric: tabular-nums;
}

.btn--nav-phone:hover {
  background: #d9f0ff;
}

/* Utility labels -------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--whe-electric);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* First-slice page shell */
.page-shell {
  padding-bottom: 0;
}
