/* ========================================
   SVO.LP — Brutal Military Design System
   Single-file CSS for all 6 pages
   ======================================== */

:root {
  /* Military palette */
  --bg-0: #0a0e0a;
  --bg-1: #121712;
  --bg-2: #1a201c;
  --bg-3: #232a25;
  --line: #2c3530;
  --line-2: #3d4842;

  /* Accents */
  --olive: #6b7548;
  --olive-d: #4a5232;
  --olive-l: #8a9560;
  --steel: #4a5a5e;
  --red: #c8323c;
  --red-l: #e84754;
  --red-d: #8a1f27;
  --white: #f0f0e8;
  --off: #d8d8cc;
  --mute: #8a9088;
  --dim: #5a625c;

  /* Type */
  --font-head: 'Oswald', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Sizes */
  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --rad: 0px;
  --rad-sm: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--off); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--red-l); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

h1 { font-size: clamp(40px, 7vw, 88px); }
h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 24px; }
h3 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 16px; }

p { margin-bottom: 16px; }

/* ===== Layout ===== */

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 140px 0; }

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-lg { padding: 80px 0; }
}

/* ===== Navigation ===== */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--red);
  display: inline-block;
  position: relative;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--red);
  cursor: pointer;
  transition: all 0.15s;
}

.nav-cta:hover {
  background: var(--red-l);
  color: var(--white);
  border-color: var(--red-l);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--off);
  padding: 8px 12px;
  font-family: var(--font-mono);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-1);
    padding: 24px var(--pad);
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--bg-0);
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) contrast(1.1) saturate(0.8);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 14, 10, 0.7) 0%,
    rgba(10, 14, 10, 0.5) 40%,
    rgba(10, 14, 10, 0.95) 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107, 117, 72, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 117, 72, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-l);
  margin-bottom: 24px;
  padding: 6px 12px;
  border: 1px solid var(--red-d);
  background: rgba(200, 50, 60, 0.08);
}

.hero h1 {
  margin-bottom: 28px;
  max-width: 980px;
}

.hero h1 .accent {
  color: var(--red);
  display: inline-block;
}

.hero h1 .strike {
  position: relative;
  display: inline-block;
}

.hero h1 .strike::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  top: 50%;
  height: 4px;
  background: var(--red);
  transform: rotate(-1deg);
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 680px;
  color: var(--off);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 60px 0 50px;
  max-width: 920px;
}

@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

.hero-stat {
  background: rgba(18, 23, 18, 0.85);
  padding: 24px 18px;
  text-align: left;
}

.hero-stat .num {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat .num .unit {
  color: var(--red-l);
  font-size: 0.7em;
}

.hero-stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-l);
  border-color: var(--red-l);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red-l);
}

.btn-arrow::after {
  content: '→';
  font-family: var(--font-body);
  font-weight: 400;
  transition: transform 0.15s;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ===== Section Headers ===== */

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-l);
  margin-bottom: 18px;
}

.section-head {
  margin-bottom: 60px;
  max-width: 800px;
}

.section-head h2 {
  margin-bottom: 20px;
}

.section-head p {
  font-size: 17px;
  color: var(--mute);
  max-width: 700px;
}

/* ===== Services (3 cards) ===== */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg-1);
  padding: 40px 32px;
  position: relative;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 540px;
}

.service-card:hover {
  background: var(--bg-2);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red-l);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--white);
}

.service-card .platform {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--olive-l);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.service-card p {
  color: var(--off);
  font-size: 15px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.service-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 14px;
  color: var(--off);
  border-bottom: 1px dashed var(--line);
}

.service-features li:last-child { border-bottom: none; }

.service-features li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--red);
  font-weight: 700;
  font-family: var(--font-mono);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-l);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  transition: gap 0.2s;
}

.service-link:hover { gap: 14px; color: var(--red-l); }

/* ===== Two-col with image ===== */

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

.two-col.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.two-col.reverse .col-img { order: -1; }

@media (max-width: 900px) {
  .two-col.reverse .col-img { order: 0; }
}

.col-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.col-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 60px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
  z-index: 2;
}

.col-img::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--red);
  border-right: 2px solid var(--red);
  z-index: 2;
}

.check-list {
  list-style: none;
  margin: 28px 0;
}

.check-list li {
  padding: 14px 0 14px 36px;
  position: relative;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
}

/* ===== Page Hero (sub-pages) ===== */

.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 60px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) contrast(1.1) saturate(0.85);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-0) 0%, rgba(10, 14, 10, 0.5) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 18px;
}

.breadcrumbs a { color: var(--mute); }
.breadcrumbs a:hover { color: var(--red-l); }
.breadcrumbs .sep { color: var(--dim); margin: 0 8px; }

.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  max-width: 900px;
  margin-bottom: 18px;
}

.page-hero .lead {
  font-size: 18px;
  max-width: 720px;
  color: var(--off);
}

/* ===== FAQ ===== */

.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq-q {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--red);
  transition: transform 0.2s;
  font-weight: 400;
}

.faq-item[open] .faq-q::after {
  content: '−';
}

.faq-a {
  padding-top: 18px;
  color: var(--off);
  max-width: 800px;
}

/* ===== CTA block ===== */

.cta-block {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-d) 100%);
}

.cta-block-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(0.5) contrast(1.1);
}

.cta-block-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .cta-block-inner { grid-template-columns: 1fr; gap: 30px; }
  .cta-block { padding: 40px 28px; }
}

.cta-block h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 16px;
  color: var(--off);
  max-width: 560px;
}

/* ===== Form ===== */

.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 32px;
}

.form h3 {
  font-size: 20px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea { min-height: 80px; resize: vertical; }

.form-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  padding: 16px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 10px;
}

.form-submit:hover { background: var(--red-l); border-color: var(--red-l); }

.form-note {
  font-size: 12px;
  color: var(--mute);
  margin-top: 12px;
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== Steps (numbered) ===== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: var(--bg-1);
  padding: 32px 24px;
}

.step .num {
  font-family: var(--font-head);
  font-size: 56px;
  color: var(--red);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.step h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--white);
}

.step p {
  font-size: 14px;
  color: var(--mute);
  margin: 0;
}

/* ===== Stats counter ===== */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 700px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}

.stat-cell {
  background: var(--bg-1);
  padding: 40px 24px;
  text-align: center;
}

.stat-cell .big {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--red);
  font-weight: 700;
  line-height: 1;
}

.stat-cell .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 8px;
}

/* ===== Blog grid ===== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.blog-card .img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85) contrast(1.05);
}

.blog-card .body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-l);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--white);
}

.blog-card p {
  color: var(--mute);
  font-size: 14px;
  flex-grow: 1;
}

.blog-card .read-more {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-l);
  margin-top: 16px;
  font-weight: 600;
}

/* ===== Footer ===== */

.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 80px 0 30px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 18px;
  color: var(--white);
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 6px 0;
  font-size: 14px;
}

.footer-col a { color: var(--mute); }
.footer-col a:hover { color: var(--red-l); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.disclaimer {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 20px 24px;
  font-size: 12px;
  color: var(--mute);
  line-height: 1.6;
  margin: 40px 0;
}

.disclaimer strong { color: var(--off); }

/* ===== Reveal animations ===== */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Misc ===== */

.mono { font-family: var(--font-mono); letter-spacing: 0.05em; }
.text-red { color: var(--red-l); }
.text-white { color: var(--white); }
.text-mute { color: var(--mute); }

.divider {
  height: 1px;
  background: var(--line);
  margin: 60px 0;
}

.bg-alt { background: var(--bg-1); }
