/* Next Path Law, PLLC — one-pager */
:root {
  --navy: #0B1F3A;
  --navy-soft: #153356;
  --accent: #00A3FF;
  --accent-dark: #0088D6;
  --accent-soft: rgba(0, 163, 255, 0.1);
  --bg: #F7FAFC;
  --bg-white: #FFFFFF;
  --text: #0B1F3A;
  --muted: #4A5D73;
  --border: #E2E8F0;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(11, 31, 58, 0.06);
  --shadow-hover: 0 12px 36px rgba(11, 31, 58, 0.1);
  --max: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-link img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav a:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--accent-dark); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(0, 163, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(0, 163, 255, 0.06), transparent 50%),
    var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 163, 255, 0.14), transparent 65%),
    #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: min(100%, 420px);
  height: auto;
}



.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2.2rem, 4.5vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero-tagline {
  margin: 0 0 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  font-weight: 500;
}

.hero-tagline span {
  color: var(--accent);
  font-weight: 600;
}

.hero-body {
  max-width: 40rem;
  color: var(--muted);
  margin: 0 0 1.15rem;
}

.hero-body + .hero-body { margin-bottom: 2rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 163, 255, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--navy);
}

.lead {
  font-size: 1.15rem;
  color: var(--navy-soft);
  max-width: 40rem;
  margin: 0 0 1.25rem;
  font-weight: 500;
}

p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.about-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.about-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-card li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.about-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.disclaimer-box {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-white);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Services */
#services { background: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.services-intro {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 163, 255, 0.35);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.97rem;
}

/* How we work */
#how {
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 1.75rem;
}

.step {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

.how-note {
  max-width: 40rem;
  color: var(--muted);
}

/* Contact */
#contact {
  background: var(--navy);
  color: #fff;
}

#contact .section-label { color: var(--accent); }
#contact h2 { color: #fff; }
#contact p { color: rgba(255, 255, 255, 0.78); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 0.5rem;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1.15rem;
}

.contact-list .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.contact-list a,
.contact-list span.value {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-list a:hover { color: var(--accent); }

.contact-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #fff;
}

.contact-panel p {
  margin-bottom: 1.25rem;
}

.contact-panel .btn-primary { width: 100%; margin-bottom: 0.75rem; }
.contact-panel .btn-secondary {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.contact-panel .btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 163, 255, 0.1);
}

.fmh-link {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.fmh-link a {
  color: var(--accent);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #071525;
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 0 2rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(1.05);
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.footer-brand span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover { color: var(--accent); }

.footer-disclaimers p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

.footer-disclaimers a { color: rgba(255, 255, 255, 0.7); }
.footer-disclaimers a:hover { color: var(--accent); }

.footer-copy {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 860px) {
  .about-grid,
  .contact-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .menu-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child { border-bottom: none; }

  .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .header-inner { position: relative; }

  .hero { padding: 3rem 0 2.75rem; }
  section { padding: 3.25rem 0; }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-link img { height: 48px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { display: none; }
}
