/* ================================================================
   JACKSON GROUP CONSULTING — Design System
   ================================================================ */

/* --- CSS Variables --- */
:root {
  --black: #070A0D;
  --charcoal: #0D1218;
  --panel: #111820;
  --steel: #1C2A38;
  --blue: #2B7FD4;
  --blue-bright: #4A9FE8;
  --amber: #C9943A;
  --amber-bright: #E8B050;
  --text-primary: #E4EAF0;
  --text-secondary: #7A8FA4;
  --text-muted: #3D4F60;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-bright);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--amber-bright);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mono {
  font-family: 'Share Tech Mono', monospace;
}

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

.section {
  padding: 100px 0;
}

/* --- Section Label --- */
.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  font-weight: 300;
  line-height: 1.7;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(7, 10, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(43, 127, 212, 0.1);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-pill {
  padding: 8px 20px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
}

.nav-pill--forge {
  background: rgba(43, 127, 212, 0.15);
  border: 1px solid var(--blue);
  color: var(--blue-bright);
}

.nav-pill--forge:hover {
  background: rgba(43, 127, 212, 0.3);
  color: var(--blue-bright);
}

.nav-pill--cta {
  background: var(--amber);
  border: 1px solid var(--amber);
  color: var(--black);
}

.nav-pill--cta:hover {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
  color: var(--black);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 10, 13, 0.92) 0%,
    rgba(7, 10, 13, 0.75) 40%,
    rgba(7, 10, 13, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-height);
}

.hero-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero h1 .highlight {
  color: var(--blue-bright);
}

.hero-desc {
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn--amber {
  background: var(--amber);
  color: var(--black);
}

.btn--amber:hover {
  background: var(--amber-bright);
  color: var(--black);
}

.btn--blue {
  background: rgba(43, 127, 212, 0.15);
  border: 1px solid var(--blue);
  color: var(--blue-bright);
}

.btn--blue:hover {
  background: rgba(43, 127, 212, 0.3);
  color: var(--blue-bright);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-secondary);
}

.btn--outline:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

/* ================================================================
   TICKER
   ================================================================ */
.ticker {
  background: var(--steel);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(201, 148, 58, 0.15);
  border-bottom: 1px solid rgba(201, 148, 58, 0.15);
}

.ticker-track {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.ticker-item {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.ticker-item::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

a.service-card {
  color: inherit;
  text-decoration: none;
}

.service-card {
  background: var(--panel);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter 0.3s;
}

.service-card:hover .service-card-img {
  filter: brightness(0.85);
}

.service-card-body {
  padding: 24px;
}

.service-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
  color: var(--text-primary);
}

.service-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

/* ================================================================
   DIVIDER BAND
   ================================================================ */
.divider-band {
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.divider-band--amber {
  background: linear-gradient(135deg, var(--amber) 0%, #A67A28 100%);
}

.divider-band--blue {
  background: linear-gradient(135deg, var(--blue) 0%, #1A5FA0 100%);
}

.divider-band h2 {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--black);
  margin-bottom: 16px;
}

.divider-band p {
  font-size: 16px;
  color: rgba(7, 10, 13, 0.7);
  margin-bottom: 24px;
}

.divider-band .btn {
  background: var(--black);
  color: var(--text-primary);
}

.divider-band .btn:hover {
  background: var(--charcoal);
  color: var(--text-primary);
}

/* ================================================================
   FORGE SECTION
   ================================================================ */
.forge {
  background: var(--charcoal);
}

.forge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.forge-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.forge-feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.forge-feature-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  color: var(--blue);
  background: rgba(43, 127, 212, 0.1);
  border: 1px solid rgba(43, 127, 212, 0.2);
  border-radius: 4px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forge-feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.forge-feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

.forge-visual {
  background: var(--panel);
  border: 1px solid rgba(43, 127, 212, 0.15);
  border-radius: 8px;
  padding: 32px;
  position: relative;
}

.forge-badge {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--blue-bright);
  background: rgba(43, 127, 212, 0.12);
  border: 1px solid rgba(43, 127, 212, 0.25);
  border-radius: 4px;
  padding: 6px 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.forge-visual h3 {
  font-size: 28px;
  color: var(--blue-bright);
  margin-bottom: 16px;
}

.forge-visual p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 24px;
}

.forge-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.forge-stat {
  background: rgba(43, 127, 212, 0.06);
  border: 1px solid rgba(43, 127, 212, 0.1);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}

.forge-stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--blue-bright);
}

.forge-stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ================================================================
   DUMA SECTION
   ================================================================ */
.duma {
  background: var(--black);
}

.duma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.duma-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201, 148, 58, 0.15);
}

.duma-img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.duma-content h3 {
  font-size: 28px;
  color: var(--amber);
  margin-bottom: 16px;
}

.duma-content > p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 32px;
}

.duma-specs {
  background: var(--panel);
  border-radius: 6px;
  overflow: hidden;
}

.duma-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.duma-spec-row:last-child {
  border-bottom: none;
}

.duma-spec-key {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.duma-spec-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.duma-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

a.duma-product {
  text-decoration: none;
  color: inherit;
}

.duma-product {
  background: var(--panel);
  border: 1px solid rgba(201, 148, 58, 0.1);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.2s;
}

.duma-product:hover {
  border-color: var(--amber);
}

.duma-product-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}

.duma-product-type {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  background: var(--charcoal);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.contact-block {
  background: var(--panel);
  border-radius: 6px;
  padding: 32px;
}

.contact-block-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.contact-block-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
}

.contact-block-value a {
  color: var(--text-primary);
}

.contact-block-value a:hover {
  color: var(--blue-bright);
}

.aws-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.aws-pill {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--amber);
  border: 1px solid rgba(201, 148, 58, 0.3);
  border-radius: 4px;
  padding: 8px 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand img {
  max-width: 240px;
  height: auto;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-subsidiaries {
  text-align: center;
}

.footer-subsidiaries h4 {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  font-weight: 400;
}

.footer-subsidiaries p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-copyright {
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ================================================================
   ANIMATIONS (scroll reveal)
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   CONTACT FORM
   ================================================================ */
.form-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  transition: border-color 0.2s;
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--blue);
}

select.form-input {
  appearance: none;
  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='%237A8FA4' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #contact .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 10, 13, 0.97);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(43, 127, 212, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero-desc {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .forge-grid,
  .duma-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-subsidiaries {
    text-align: center;
  }

  .footer-copyright {
    text-align: center;
  }

  .duma-products {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .forge-stats {
    grid-template-columns: 1fr;
  }

  .duma-products {
    grid-template-columns: 1fr;
  }
}
