/* ── Covenant Communications — Global Stylesheet ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #f0f4ff;
  --navy:    #f7f9ff;
  --ink:     #ffffff;
  --steel:   #e8eef8;
  --mid:     #d0dcf0;
  --accent:  #1a6fff;
  --bright:  #0055dd;
  --ice:     #1a4faa;
  --white:   #0f1d3a;
  --muted:   #4a5f85;
  --grid:    rgba(26,111,255,0.06);
  --border:  rgba(26,111,255,0.15);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

section, header, footer, nav { position: relative; z-index: 1; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
  background: rgba(240,244,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-bar {
  position: static;
  top: auto; left: auto; right: auto;
  z-index: auto;
  display: block;
  height: auto;
  margin-top: 64px;
  padding: 0.9rem 3rem;
  background: var(--navy);
  backdrop-filter: none;
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  max-width: 1200px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs li { display: flex; align-items: center; gap: 0.6rem; }

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover { color: var(--accent); }

.breadcrumbs span[aria-current='page'] { color: var(--white); }

.breadcrumb-sep { color: var(--border); }

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

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

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.65rem;
  opacity: 0.6;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 4px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(26,111,255,0.1);
  list-style: none;
  padding: 0.4rem 0;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover { color: var(--accent); background: rgba(26,111,255,0.04); }

.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 0.4rem 1.1rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover { background: var(--accent); color: #fff !important; }

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--bright); transform: translateY(-1px); }

.btn-ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-ghost:hover { border-color: var(--accent); background: rgba(26,111,255,0.08); }

/* ── SECTION SHARED ── */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.section-label {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h2 em { font-style: normal; color: var(--accent); }

.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 4rem;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

/* ── PAGE HERO (service pages) ── */
.page-hero {
  padding: 9rem 3rem 5rem;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero .hero-eyebrow {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.page-hero .hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.page-hero h1 em { font-style: normal; color: var(--accent); }

.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ── FEATURE LIST ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1px; }

.feature-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: var(--ink);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.feature-item:hover { border-color: var(--border); }

.feature-bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.4rem;
  box-shadow: 0 0 6px rgba(26,111,255,0.4);
}

.feature-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.feature-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── TWO-COLUMN CONTENT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.two-col-wide {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── PRICING CARDS ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.pricing-card {
  background: var(--ink);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  background: var(--steel);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(26,111,255,0.1);
  border: 1px solid rgba(26,111,255,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.pricing-tier {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.pricing-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pricing-price sup { font-size: 1.4rem; vertical-align: super; }
.pricing-price sub { font-size: 1rem; font-weight: 400; color: var(--muted); }

.pricing-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-note {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2rem;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ── SPEC CHIPS ── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.spec-chip {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ice);
  background: rgba(26,111,255,0.06);
  border: 1px solid rgba(26,111,255,0.18);
  padding: 0.6rem 0.8rem;
  border-radius: 2px;
}

.spec-chip strong {
  display: block;
  color: var(--white);
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.78rem;
  color: var(--ice);
}

.contact-detail svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.5; flex-shrink: 0; }

.form-grid { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  background: #f7f9ff;
  border: 1px solid var(--border);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }

.field select option { background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 0.5rem; }

.recaptcha-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.6rem;
  line-height: 1.5;
}

.recaptcha-note a { color: var(--accent); text-decoration: none; }
.recaptcha-note a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--steel);
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-logo span { color: var(--accent); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'Source Code Pro', monospace;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ── INQUIRY BOX ── */
.inquiry-box {
  background: var(--navy);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.inquiry-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.inquiry-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.inquiry-box p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

/* ── USE CASES ── */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 4rem;
}

.use-case-card {
  background: var(--ink);
  padding: 2rem;
}

.use-case-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.use-case-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

.use-case-icon {
  width: 40px;
  height: 40px;
  background: rgba(26,111,255,0.08);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.use-case-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.5; }

/* ── STATS BAR ── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--navy);
  padding: 2.2rem 3rem;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.stats-inner.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stats-inner.cols-3 { grid-template-columns: repeat(3, 1fr); }

.stat { text-align: center; }

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-number span { color: var(--accent); }
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .breadcrumb-bar { padding: 0.9rem 1.5rem; }
  .section-wrap { padding: 4rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .two-col, .two-col-wide, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .pricing-grid, .use-case-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-inner.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}
