/* ============================================================
   ARTIS RECOVERY — Shared Stylesheet
   Stack: Bebas Neue (display) + DM Sans (body)
   Aesthetic: Industrial Precision / Dark Authority
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0C1219;
  --bg-2:        #111B27;
  --bg-card:     #141E2C;
  --bg-card-2:   #192534;
  --navy:        #152A3E;
  --accent:      #C97D1A;
  --accent-l:    #E8952A;
  --accent-dim:  rgba(201,125,26,.15);
  --border:      #1E2F40;
  --border-l:    #243648;
  --text:        #E8EDF2;
  --text-muted:  #7A8FA3;
  --text-dim:    #4A6070;
  --white:       #FFFFFF;
  --red:         #B83232;

  --font-display: 'Bebas Neue', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:  4px;
  --radius-l: 8px;
  --max-w:   1200px;
  --nav-h:   72px;
  --section-pad: clamp(60px, 8vw, 100px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Noise texture overlay ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

/* ── Container ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ── Typography ────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 128px);
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.label {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-l);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,125,26,.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-l);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-arrow::after {
  content: '→';
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 300;
  transition: transform .2s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(12,18,25,.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 85% 100%, 0 100%);
}
.nav-logo-mark span {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--bg);
  line-height: 1;
}
.nav-wordmark {
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
}
.nav-wordmark small {
  display: block;
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--text-muted);
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta { margin-left: 12px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(12,18,25,.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ── Diagonal divider ──────────────────────────────────── */
.diag-bottom {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.diag-bottom-alt {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--bg-2);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ── Accent line ───────────────────────────────────────── */
.accent-line {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 20px;
}

/* ── Credential badges ─────────────────────────────────── */
.cred-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.cred-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 40px);
  transition: border-color .25s, transform .25s;
}
.card:hover {
  border-color: var(--border-l);
  transform: translateY(-4px);
}
.card-accent {
  border-top: 3px solid var(--accent);
}

/* ── Stats bar ─────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.stat-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Horizontal rule ───────────────────────────────────── */
.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Section ───────────────────────────────────────────── */
section {
  position: relative;
  padding: var(--section-pad) 0;
}
.section-dark { background: var(--bg); }
.section-mid  { background: var(--bg-2); }
.section-card { background: var(--bg-card); }

/* ── Grid helpers ──────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
}

/* ── Utilities ─────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ── Page hero (inner pages) ───────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(201,125,26,.06) 0%, transparent 70%),
    linear-gradient(135deg, rgba(21,42,62,.6) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-dim); }

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col-title {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-contact-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--accent); }

/* ── Scroll reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Form elements ─────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input, .form-select, .form-textarea {
  background: var(--bg);
  border: 1px solid var(--border-l);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,125,26,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A8FA3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option { background: var(--bg-2); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  display: none;
}
.form-alert.success {
  background: rgba(39,174,96,.12);
  border: 1px solid rgba(39,174,96,.3);
  color: #4bc46d;
  display: block;
}
.form-alert.error {
  background: rgba(184,50,50,.12);
  border: 1px solid rgba(184,50,50,.3);
  color: #e05a5a;
  display: block;
}

/* ── Service area strip ─────────────────────────────────── */
.coverage-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.coverage-item {
  flex: 1;
  min-width: 140px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.coverage-item:last-child { border-right: none; }
.coverage-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity .25s;
}
.coverage-item:hover::before { opacity: 1; }
.coverage-state {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.coverage-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
}
@media (max-width: 600px) {
  :root { --section-pad: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .coverage-strip { flex-direction: column; }
  .coverage-item { border-right: none; border-bottom: 1px solid var(--border); }
  .coverage-item:last-child { border-bottom: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Print */
@media print {
  .nav, footer { display: none; }
  body { background: #fff; color: #000; }
}

/* Field hints */
.field-hint {
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-dim);
  margin-top: 5px;
  line-height: 1.5;
}
