/* =========================================
   JFB LLC — Computer Systems Design & Integration
   Dark Theme | Teal / Coral / Indigo Palette
   ========================================= */

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

:root {
  --bg-deep: #05080f;
  --bg-body: #080d1a;
  --bg-surface: #0c1324;
  --bg-card: #101a30;
  --bg-card-hover: #162040;
  --bg-elevated: #1c2850;
  --text-primary: #e6edf5;
  --text-secondary: #8892b0;
  --text-muted: #5a6480;
  --accent-teal: #2dd4bf;
  --accent-coral: #f43f5e;
  --accent-indigo: #818cf8;
  --accent-green: #34d399;
  --accent-orange: #fb923c;
  --accent-pink: #e879f9;
  --border: #1a2640;
  --border-light: #283458;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal), #0d9488);
  color: #05080f;
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 212, 191, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Accent Gradient ---------- */
.accent-gradient {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Shared ---------- */
.section {
  padding: 100px 0;
  position: relative;
}
.section-alt { background: var(--bg-deep); }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-head p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #05080f;
}
.logo-type {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.logo-type small {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}
.header-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-teal);
  transition: var(--transition);
  border-radius: 2px;
}
.header-nav a:not(.btn):hover,
.header-nav a:not(.btn).active { color: var(--text-primary); }
.header-nav a:not(.btn):hover::after,
.header-nav a:not(.btn).active::after { width: 100%; }

.header-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(45,212,191,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,191,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-orbs { position: absolute; inset: 0; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.orb-1 {
  width: 400px; height: 400px;
  background: var(--accent-teal);
  top: -120px; right: -80px;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-2 {
  width: 300px; height: 300px;
  background: var(--accent-indigo);
  bottom: -100px; left: -60px;
  animation: orbFloat 25s ease-in-out infinite reverse;
}
.orb-3 {
  width: 200px; height: 200px;
  background: var(--accent-coral);
  top: 40%; left: 20%;
  animation: orbFloat 18s ease-in-out infinite 5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.05); }
  66% { transform: translate(-20px,40px) scale(0.95); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45,212,191,0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(45,212,191,0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 32px;
}
.trust-item { display: flex; flex-wrap: wrap; gap: 2px; align-items: baseline; }
.trust-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-suf { font-size: 1rem; font-weight: 600; color: var(--accent-teal); }
.trust-lbl {
  display: block;
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- Dashboard Panel ---------- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dash-panel {
  width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dash-dots span:nth-child(1) { background: var(--accent-coral); }
.dash-dots span:nth-child(2) { background: var(--accent-orange); }
.dash-dots span:nth-child(3) { background: var(--accent-green); }
.dash-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.dash-body { padding: 16px 18px; }
.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dash-row:last-child { border-bottom: none; }
.dash-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.dash-value {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.dash-value.green { color: var(--accent-green); }
.dash-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(45,212,191,0.05);
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--accent-teal);
}
.dash-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulseDot 2s ease-in-out infinite;
}

/* ---------- Offerings ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}
.offer-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.offer-icon {
  color: var(--icon-clr, var(--accent-teal));
  margin-bottom: 16px;
}
.offer-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.offer-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Differentiator ---------- */
.diff-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.diff-content .section-tag { margin-bottom: 16px; }
.diff-content h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.diff-content > p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.diff-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.diff-check {
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.diff-list li strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.diff-list li p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}
.stat-suf {
  font-size: 1.2rem;
  color: var(--accent-teal);
  margin-left: 2px;
}
.stat-lbl {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- CTA Block ---------- */
.cta-block {
  padding: 80px 0;
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta-inner p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0;
  max-width: 300px;
  line-height: 1.7;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-contact a:hover { color: var(--accent-teal); }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--accent-teal); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bot-links { display: flex; gap: 20px; }
.footer-bot-links a:hover { color: var(--accent-teal); }

/* ---------- Back to Top ---------- */
.btt {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.btt.visible { opacity: 1; transform: translateY(0); }
.btt:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-3px);
}

/* ---------- Page Header ---------- */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Services Detail Page ---------- */
.svc-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.svc-intro h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.svc-intro p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.svc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.svc-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.svc-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}
.svc-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.svc-list { display: flex; flex-direction: column; gap: 16px; }
.svc-item {
  display: grid;
  grid-template-columns: 56px 1fr 80px;
  gap: 20px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: var(--transition);
}
.svc-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateX(4px);
}
.svc-item-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
}
.svc-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.svc-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.svc-item-arrow {
  font-size: 0.75rem;
  color: var(--accent-teal);
  text-align: right;
  opacity: 0;
  transition: var(--transition);
}
.svc-item:hover .svc-item-arrow { opacity: 1; }

/* ---------- About Page ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.about-split h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-split p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-principle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.about-principle h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.about-principle p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.about-tags span {
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.about-tags span:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* ---------- Contact Page ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.1);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row select { cursor: pointer; color: var(--text-secondary); }
.form-row select option { background: var(--bg-deep); }

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-meta h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-meta > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-card-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
}
.contact-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.contact-card a:hover { color: var(--accent-teal); }

/* ---------- Legal ---------- */
.legal-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 12px;
}
.legal-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--accent-teal);
}
.legal-body p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.legal-body ul, .legal-body ol {
  margin: 12px 0 20px;
  padding-left: 24px;
  color: var(--text-secondary);
}
.legal-body li { margin-bottom: 8px; line-height: 1.7; }
.legal-body strong { color: var(--text-primary); }
.legal-body a { color: var(--accent-teal); }
.legal-body a:hover { text-decoration: underline; }
.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* ---------- 404 ---------- */
.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 40px 24px;
}
.page-404 h1 {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-indigo), var(--accent-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.page-404 h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-404 p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .svc-intro { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 1.8rem; }
  .hero h1 { font-size: 2.2rem; }
  .offer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .about-principles { grid-template-columns: 1fr; }
  .svc-stats { grid-template-columns: 1fr; }
  .svc-item { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .svc-item-icon { margin: 0 auto; }
  .svc-item-arrow { text-align: center; opacity: 1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-header h1 { font-size: 2rem; }
  .diff-content h2 { font-size: 1.8rem; }
  .hero-trust { gap: 20px; }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-body);
    flex-direction: column;
    padding: 80px 28px 28px;
    transition: var(--transition);
    border-left: 1px solid var(--border);
    align-items: flex-start;
    gap: 20px;
  }
  .header-nav.open { right: 0; }
  .header-toggle { display: flex; }
  .header-nav .btn-sm { display: none; }
}
