/* WP Lead Rescue — incident-dispatch visual system */

:root {
  --color-bg: #0b0f14;
  --color-bg-raised: #11161d;
  --color-bg-card: #161c25;
  --color-border: #262e3a;
  --color-text: #e7ecf3;
  --color-text-dim: #9aa7b8;
  --color-text-faint: #66708a;
  --color-amber: #ffb020;
  --color-amber-dim: #7a5a1a;
  --color-red: #ff5a5f;
  --color-green: #35d68a;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --text-hero: clamp(2.4rem, 1.6rem + 3.2vw, 4.2rem);
  --text-h2: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem);
  --text-base: clamp(1rem, 0.94rem + 0.2vw, 1.075rem);

  --space-section: clamp(3.5rem, 2.8rem + 3vw, 7rem);
  --radius-card: 14px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(255, 176, 32, 0.09), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(255, 90, 95, 0.07), transparent 60%);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

a { color: inherit; }

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ---------- Header ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 20, 0.82);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--color-amber), var(--color-red));
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: #10141b;
  font-weight: 800;
  flex-shrink: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-green);
  border: 1px solid rgba(53, 214, 138, 0.35);
  background: rgba(53, 214, 138, 0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.status-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 0 rgba(53,214,138,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53,214,138,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(53,214,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,214,138,0); }
}

nav.links { display: flex; align-items: center; gap: 1.4rem; }
nav.links a {
  text-decoration: none;
  color: var(--color-text-dim);
  font-size: 0.92rem;
  transition: color 0.15s var(--ease-out-expo);
}
nav.links a:hover { color: var(--color-text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out-expo), box-shadow 0.15s var(--ease-out-expo), border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-amber), #ff8a3d);
  color: #14100a;
  box-shadow: 0 6px 20px -6px rgba(255, 176, 32, 0.55);
}
.btn-primary:hover { box-shadow: 0 8px 26px -6px rgba(255, 176, 32, 0.7); }
.btn-secondary {
  background: var(--color-bg-card);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover { border-color: #3a4658; }
.btn-ghost {
  background: transparent;
  color: var(--color-text-dim);
  border-color: var(--color-border);
}
.btn:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 2px;
}
.btn-small { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(3rem, 2.4rem + 3vw, 5.5rem) 0 var(--space-section);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--text-hero);
  line-height: 1.04;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-amber), var(--color-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--color-text-dim);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem);
  max-width: 46ch;
  margin: 0 0 1.8rem;
}

.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }

.hero-trust {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--color-text-faint);
}
.hero-trust strong { color: var(--color-text-dim); }

/* incident ticket card */
.ticket {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  transform: rotate(-1.2deg);
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--color-bg-raised);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-faint);
}
.ticket-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  background: rgba(255, 90, 95, 0.14);
  color: var(--color-red);
  border: 1px solid rgba(255, 90, 95, 0.35);
}
.ticket-body { padding: 1.1rem 1.1rem 1.3rem; }
.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.86rem;
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row .k { color: var(--color-text-faint); font-family: var(--font-mono); font-size: 0.75rem; }
.ticket-row .v { color: var(--color-text); font-weight: 600; text-align: right; }
.ticket-row .v.bad { color: var(--color-red); }
.ticket-row .v.good { color: var(--color-green); }
.ticket-footer {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-faint);
}

/* ---------- Sections ---------- */

section { padding: var(--space-section) 0; border-top: 1px solid var(--color-border); }
section:first-of-type { border-top: none; }

.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head .eyebrow { margin-bottom: 0.7rem; }
h2 { font-size: var(--text-h2); margin: 0 0 0.6rem; letter-spacing: -0.01em; }
.section-head p { color: var(--color-text-dim); margin: 0; }

/* symptom bento */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.symptom {
  grid-column: span 3;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.3rem 1.4rem;
}
.symptom:nth-child(1) { grid-column: span 4; }
.symptom:nth-child(2) { grid-column: span 2; }
.symptom:nth-child(3) { grid-column: span 2; }
.symptom:nth-child(4) { grid-column: span 4; }
.symptom:nth-child(5) { grid-column: span 3; }
.symptom:nth-child(6) { grid-column: span 3; }
@media (max-width: 760px) {
  .symptom-grid { grid-template-columns: 1fr; }
  .symptom, .symptom:nth-child(1), .symptom:nth-child(2), .symptom:nth-child(3),
  .symptom:nth-child(4), .symptom:nth-child(5), .symptom:nth-child(6) { grid-column: span 1; }
}
.symptom .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-red);
  margin-bottom: 0.6rem;
  display: block;
}
.symptom p { margin: 0; color: var(--color-text-dim); font-size: 0.92rem; }
.symptom strong { color: var(--color-text); display: block; margin-bottom: 0.3rem; font-size: 1rem; }

/* process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-amber);
  position: absolute;
  top: 0; left: 0;
  border: 1px solid var(--color-amber-dim);
  border-radius: 7px;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  background: rgba(255,176,32,0.06);
}
.step h3 { font-size: 1.02rem; margin: 0 0 0.4rem; }
.step p { margin: 0; color: var(--color-text-dim); font-size: 0.9rem; }

/* pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: rgba(255, 176, 32, 0.55);
  background: linear-gradient(180deg, rgba(255,176,32,0.06), var(--color-bg-card) 40%);
  box-shadow: 0 20px 50px -25px rgba(255,176,32,0.35);
}
.price-card .badge {
  position: absolute;
  top: -0.7rem;
  left: 1.4rem;
  background: var(--color-amber);
  color: #14100a;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.price-card h3 { margin: 0.3rem 0 0.2rem; font-size: 1.1rem; }
.price-card .price { font-size: 2.1rem; font-weight: 800; margin: 0.4rem 0 0.9rem; letter-spacing: -0.02em; }
.price-card .price span { font-size: 1rem; color: var(--color-text-faint); font-weight: 500; }
.price-card ul { list-style: none; margin: 0 0 1.4rem; padding: 0; flex-grow: 1; }
.price-card li {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--color-text-dim);
  border-bottom: 1px dashed var(--color-border);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before { content: "✓"; color: var(--color-green); flex-shrink: 0; }
.price-card .turnaround {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-faint);
  margin-bottom: 1rem;
}

.guarantee-strip {
  margin-top: 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.1rem 1.4rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  background: var(--color-bg-raised);
  font-size: 0.9rem;
  color: var(--color-text-dim);
}
.guarantee-strip .icon { font-size: 1.4rem; flex-shrink: 0; }

/* proof */
.proof-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-bg-card);
}
@media (max-width: 760px) { .proof-card { grid-template-columns: 1fr; } }
.proof-copy { padding: 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.proof-copy h3 { margin: 0 0 0.6rem; font-size: 1.25rem; }
.proof-copy p { color: var(--color-text-dim); margin: 0 0 1.2rem; }
.proof-code {
  background: #0a0d12;
  padding: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.6;
  color: #9ad8ff;
  overflow-x: auto;
  border-left: 1px solid var(--color-border);
}
.proof-code .c1 { color: var(--color-text-faint); }
.proof-code .c2 { color: var(--color-green); }
.proof-code .c3 { color: var(--color-amber); }

/* payment */
.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 760px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.4rem;
  background: var(--color-bg-card);
}
.pay-card h4 { margin: 0 0 0.6rem; font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem; }
.pay-card p { color: var(--color-text-dim); font-size: 0.86rem; margin: 0.5rem 0 0; }
.addr {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  word-break: break-all;
  color: var(--color-text);
  margin-top: 0.6rem;
}

/* booking form */
.book-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 860px) { .book-panel { grid-template-columns: 1fr; } }
form.lead-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.82rem; color: var(--color-text-dim); }
.field input, .field select, .field textarea {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.92rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--color-amber);
  outline-offset: 1px;
  border-color: transparent;
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.78rem; color: var(--color-text-faint); }
.form-status { font-size: 0.86rem; min-height: 1.2em; }
.form-status.ok { color: var(--color-green); }
.form-status.err { color: var(--color-red); }

.book-aside h3 { margin-top: 0; }
.book-aside p { color: var(--color-text-dim); }
.book-aside ul { padding-left: 1.1rem; color: var(--color-text-dim); font-size: 0.92rem; }

/* footer */
footer {
  border-top: 1px solid var(--color-border);
  padding: 2.2rem 0 3rem;
  color: var(--color-text-faint);
  font-size: 0.82rem;
}
footer .foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
footer address { font-style: normal; line-height: 1.6; }
footer a { color: var(--color-text-dim); text-decoration: none; }
footer a:hover { color: var(--color-text); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
