/* ===== Pill nav ===== */
.site-nav {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-pill--logo {
  padding: 0 16px;
  min-width: 96px;
}

.nav-pill--logo img {
  height: 18px;
  width: auto;
}

.nav-pill--dark {
  background: rgba(10, 10, 10, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: #0a0a0a;
}

.btn--dark {
  background: #0a0a0a;
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.9375rem;
}

/* ===== Dark shell sections ===== */
.shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--text-inverse);
  background: #111;
}

.shell--hero {
  min-height: min(92vh, 920px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 12px;
}

.shell__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(0.85);
  transform: scale(1.08);
}

.shell__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.shell__content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 760px);
  padding: 100px 0 72px;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  margin: 12px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  padding: 72px 24px 40px;
  text-align: center;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.webp") center / cover no-repeat;
  filter: blur(8px) brightness(0.35);
  transform: scale(1.1);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  margin: 0 auto;
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  margin: 28px 0 12px;
}

.site-footer .footer-lead {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
  margin: 56px auto 40px;
  max-width: 720px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.9;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}

.footer-meta a:hover {
  color: #fff;
}

/* ===== Phone CTA card ===== */
.phone-cta {
  position: relative;
  margin: 12px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0e0e0e;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
}

.phone-cta__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.phone-cta__copy p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 28rem;
}

.phone-cta__device {
  justify-self: center;
  width: min(100%, 280px);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #111;
}

.phone-cta__device img {
  width: 100%;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .phone-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .phone-cta__copy p {
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .site-nav {
    top: 12px;
    gap: 6px;
  }

  .nav-pill {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.875rem;
  }

  .nav-pill--logo {
    min-width: 84px;
  }

  .shell--hero {
    margin: 8px;
    min-height: 78vh;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer,
  .phone-cta {
    margin: 8px;
  }
}
