/* PEMF.clinic — styles
   Premium dark medical-tech. System font stack (no external requests). */

:root {
  --bg: #070b10;
  --bg-alt: #0b1119;
  --surface: #101825;
  --surface-2: #141f30;
  --border: #22304a;
  --text: #e8eef6;
  --muted: #9db0c6;
  --accent: #2fd4c4;
  --accent-ink: #04241f;
  --accent-2: #e8b34b;
  --radius: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark { color: var(--accent); font-size: 1.3rem; }
.brand-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text em { font-style: normal; color: var(--accent); }
.main-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.main-nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #5fe3d5; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 9px 18px; font-size: 0.92rem; }
.btn-large { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(47, 212, 196, 0.14), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(232, 179, 75, 0.08), transparent 60%),
    var(--bg);
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 16ch;
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 34px;
}
.hero-sub strong, .hero-points strong { color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.hero-points li::before {
  content: "▸";
  color: var(--accent);
  margin-right: 10px;
}
.hero-proof {
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  max-width: 62ch;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  max-width: 24ch;
}
.section-lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 68ch;
  margin: 0 0 40px;
}
.section-lede strong { color: var(--text); }
.fine-print {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 28px;
  max-width: 75ch;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.two-col p { color: var(--muted); margin: 0 0 18px; }
.two-col p strong, .two-col li strong { color: var(--text); }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-2);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.callout h3 { margin: 0 0 10px; font-size: 1.2rem; }
.callout p { margin: 0; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.card p strong { color: var(--text); }
.card-proof { text-align: center; }
.card-proof h3 { color: var(--accent); }
.quote-card blockquote { margin: 0 0 14px; }
.quote-card blockquote p { font-size: 1.02rem; }
.placeholder-text { color: #6f8299; font-style: italic; }
.testimonials { margin-top: 56px; }
.testimonials-title { font-size: 1.3rem; margin: 0 0 20px; }

/* ---------- Calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.calc-field { margin-bottom: 30px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.calc-field output {
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 800;
  white-space: nowrap;
}
.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  height: 28px;
  cursor: pointer;
}
.calc-note { color: var(--muted); font-size: 0.92rem; margin: 0; }
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.calc-result {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calc-result-label { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.calc-result-value { font-size: 1.7rem; font-weight: 800; color: var(--accent); line-height: 1.2; }
.calc-result-sub { color: var(--muted); font-size: 0.8rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step {
  display: flex;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.step-num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 4px 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-panel {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
}
.price-big { font-size: 2.6rem; font-weight: 800; margin: 0; line-height: 1.1; }
.price-plus { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.price-sub { color: var(--muted); margin: 6px 0 22px; }
.check-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.two-col h3 { margin: 0 0 14px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 24px;
}
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1.05rem;
}
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { color: var(--muted); margin: 12px 0 4px; }

/* ---------- Qualification form ---------- */
.section-cta { background: var(--bg-alt); }
.qualify {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  max-width: 720px;
}
.qualify-progress {
  height: 6px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.qualify-progress-bar {
  display: block;
  height: 100%;
  width: 16.66%;
  background: var(--accent);
  transition: width 0.3s ease;
}
.qualify-step-label { color: var(--muted); font-size: 0.9rem; margin: 0 0 20px; }
.qualify fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; }
.qualify legend { font-size: 1.25rem; font-weight: 800; margin-bottom: 18px; padding: 0; }
.qualify label { display: grid; gap: 7px; font-weight: 600; font-size: 0.97rem; }
.qualify input[type="text"],
.qualify input[type="email"],
.qualify input[type="tel"],
.qualify select,
.qualify textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  width: 100%;
}
.qualify input:focus,
.qualify select:focus,
.qualify textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(47, 212, 196, 0.4);
}
.checkbox-label {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500 !important;
  color: var(--muted);
}
.checkbox-label input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
.qualify-nav { display: flex; gap: 12px; margin-top: 28px; }
.qualify-error { color: #ff8f8f; font-weight: 600; }
.qualify-done {
  margin-top: 28px;
  border: 1px solid var(--accent-2);
  border-radius: 10px;
  padding: 22px 24px;
  background: rgba(232, 179, 75, 0.07);
}
.qualify-done h3 { margin: 0 0 8px; }
.qualify-done p { color: var(--muted); margin: 0 0 10px; }
.qualify-contact { font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-note { color: var(--muted); margin: 8px 0 0; max-width: 40ch; }
.footer-contact p { margin: 0 0 6px; }
.footer-contact a { color: var(--text); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .card-grid, .card-grid-3, .two-col, .calc { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .calc-results { grid-template-columns: 1fr; }
  .calc, .qualify { padding: 24px 20px; }
  .step { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .header-inner .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .qualify-progress-bar { transition: none; }
}
