/* Valor Technical Solutions — dark, minimal, orange-accent */

:root {
  --bg: #0a0c10;
  --bg-2: #0f1218;
  --bg-3: #141821;
  --line: #1e2430;
  --line-2: #262d3b;
  --text: #e7ecf3;
  --text-dim: #9aa4b2;
  --text-mute: #6b7280;
  --accent: #ea6b27;
  --accent-soft: #f08a53;
  --accent-glow: rgba(234, 107, 39, 0.18);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --container: 1200px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(234, 107, 39, 0.08), transparent 70%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 16, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 12, 16, 0.85);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  gap: 32px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.site-nav a {
  color: var(--text-dim);
  transition: color .2s ease;
  position: relative;
}
.site-nav a:hover { color: var(--text); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

/* HERO */
.hero {
  position: relative;
  padding: clamp(80px, 14vh, 160px) 0 clamp(80px, 12vh, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
  z-index: -1;
}
.hero-glow {
  position: absolute;
  top: 20%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  z-index: -1;
  filter: blur(20px);
}
.hero-inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
  max-width: 18ch;
  color: var(--text);
}
.accent { color: var(--accent); }

.hero-sub {
  max-width: 62ch;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border-radius: var(--radius);
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #0a0c10;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -8px var(--accent-glow);
}
.btn-ghost {
  color: var(--text);
  border-color: var(--line-2);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* HERO STATS */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  max-width: 900px;
}
.stat {
  padding: 8px 24px 8px 0;
  border-right: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; }
.stat:not(:first-child) { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text);
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
  max-width: 24ch;
}

/* SECTIONS */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  border-top: 1px solid var(--line);
}
.section-alt {
  background: var(--bg-2);
}

.section-head {
  max-width: 780px;
  margin-bottom: 64px;
}
.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
  max-width: 22ch;
}

/* CAPABILITY CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--bg);
  padding: 40px 32px 44px;
  transition: background .25s ease;
  position: relative;
}
.card:hover { background: var(--bg-3); }
.card-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--text);
}
.card-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.about-copy .section-title { margin-bottom: 28px; }
.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 20px;
}
.about-copy p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 58ch;
}
.badges {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badges li {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.02);
}

.about-side {
  display: flex;
  justify-content: center;
}
.mark-plate {
  text-align: center;
}
.mark-plate-inner {
  background: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6);
  max-width: 320px;
}
.mark-img {
  width: 100%;
  height: auto;
  display: block;
}
.mark-caption {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* CONTACT */
.section-contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 65%);
  pointer-events: none;
  filter: blur(30px);
}
.contact-inner { position: relative; max-width: 880px; }
.contact-lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-dim);
  max-width: 58ch;
  margin: 20px 0 48px;
  line-height: 1.6;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-card {
  display: block;
  padding: 24px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: all .2s ease;
}
a.contact-card:hover {
  border-color: var(--accent);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.contact-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.contact-value {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  font-size: 15px;
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 34px;
  width: auto;
  display: block;
  opacity: 0.95;
}
.footer-tag {
  margin: 16px 0 0;
  color: var(--text-mute);
  font-size: 13px;
  max-width: 40ch;
}
.footer-meta {
  text-align: right;
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.6;
}
.footer-small {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 4px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { order: -1; }
  .mark-plate-inner { max-width: 240px; margin: 0 auto; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px 0 !important;
  }
  .stat:last-child { border-bottom: 0; }
  .contact-methods { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 640px) {
  .site-nav { gap: 20px; font-size: 13px; }
  .site-nav a { color: var(--text-dim); }
  .hero { padding: 60px 0 60px; }
  .hero-cta { gap: 12px; }
  .btn { padding: 12px 18px; font-size: 13px; }
  .logo-img { height: 32px; }
}
