/* ============================================
   AGS Managed IT Services — Global Styles
   Colors: Navy #0F2649 | Cyan #09C2E9
   ============================================ */

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

:root {
  --navy:         #0F2649;
  --navy-dark:    #071829;
  --navy-mid:     #162e52;
  --navy-light:   #1e3d6b;
  --cyan:         #09C2E9;
  --cyan-light:   #3dd1f0;
  --cyan-dark:    #0799b8;
  --white:        #ffffff;
  --text:         #c8d8ec;
  --text-bright:  #e8f2ff;
  --text-muted:   #7a98bb;
  --border:       rgba(9, 194, 233, 0.18);
  --card-bg:      rgba(15, 38, 73, 0.8);
  --shadow:       0 4px 24px rgba(7, 24, 41, 0.5);
  --shadow-hover: 0 8px 40px rgba(7, 24, 41, 0.7);
  --radius:       10px;
  --radius-lg:    16px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--navy-dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan-light); }

/* --- Typography ----------------------------- */
h1, h2, h3, h4, h5 {
  color: var(--text-bright);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-cyan   { color: var(--cyan); }
.text-muted  { color: var(--text-muted); }
.text-bright { color: var(--text-bright); }

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

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
}

/* --- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy-dark);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: var(--cyan-light);
  border-color: var(--cyan-light);
  color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(9, 194, 233, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-outline:hover {
  background: rgba(9, 194, 233, 0.12);
  color: var(--cyan-light);
  border-color: var(--cyan-light);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* --- Navigation ----------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 24, 41, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter:
    drop-shadow(0 -1px 0 rgba(255,255,255,0.7))
    drop-shadow(1px 0 0 rgba(255,255,255,0.7))
    drop-shadow(0 1px 0 rgba(255,255,255,0.7))
    drop-shadow(-1px 0 0 rgba(255,255,255,0.7));
}

.nav-logo-text {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-logo-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.nav-links a {
  color: var(--text);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-bright);
  background: var(--navy-mid);
}

.nav-links a.nav-cta {
  background: var(--cyan);
  color: var(--navy-dark);
  font-weight: 700;
  margin-left: 0.5rem;
}

.nav-links a.nav-cta:hover {
  background: var(--cyan-light);
  color: var(--navy-dark);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero ----------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0d2240 60%, #091e38 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(9,194,233,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(9,194,233,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Circuit dot pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(9,194,233,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 194, 233, 0.12);
  border: 1px solid rgba(9, 194, 233, 0.35);
  color: var(--cyan);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--cyan);
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero split layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-visual {
  position: relative;
}

/* --- Image Placeholders --------------------- */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(9,194,233,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9,194,233,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

.img-placeholder svg {
  width: 56px;
  height: 56px;
  color: rgba(9,194,233,0.4);
  position: relative;
  z-index: 1;
}

.img-placeholder span {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
  line-height: 1.5;
}

/* --- Cards ---------------------------------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  border-color: rgba(9, 194, 233, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(9, 194, 233, 0.12);
  border: 1px solid rgba(9, 194, 233, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--cyan);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Services Grid -------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Featured card (CMMC) */
.card-featured {
  background: linear-gradient(135deg, rgba(9,194,233,0.12) 0%, rgba(15,38,73,0.9) 60%);
  border-color: rgba(9, 194, 233, 0.45);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.card-featured:hover {
  border-color: rgba(9, 194, 233, 0.7);
}

.card-featured .card-icon {
  width: 64px;
  height: 64px;
  background: rgba(9, 194, 233, 0.18);
  border-color: rgba(9, 194, 233, 0.45);
}

.card-featured .card-icon svg {
  width: 32px;
  height: 32px;
}

.card-featured h3 {
  font-size: 1.6rem;
}

.card-featured-badge {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.compliance-tag {
  background: rgba(9,194,233,0.1);
  border: 1px solid rgba(9,194,233,0.3);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

/* --- Alternating Feature Sections ----------- */
.feature-section {
  background: linear-gradient(180deg, var(--navy-dark) 0%, rgba(13,28,50,0.5) 50%, var(--navy-dark) 100%);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}

.feature-block + .feature-block {
  border-top: 1px solid var(--border);
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-content h2 {
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--cyan);
  border-radius: 50%;
  margin-top: 0.45rem;
}

/* --- Stats / Numbers ------------------------ */
.stats-bar {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* --- Trust Strip ---------------------------- */
.trust-strip {
  background: rgba(22, 46, 82, 0.6);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  overflow: hidden;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.trust-strip-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-logo {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.38;
  transition: opacity 0.2s;
  display: block;
}

.trust-logo:hover { opacity: 0.7; }

img.trust-logo[alt="NinjaOne"],
img.trust-logo[alt="Huntress"] { filter: none; opacity: 0.75; }
img.trust-logo[alt="NinjaOne"]:hover,
img.trust-logo[alt="Huntress"]:hover { opacity: 1; }
img.trust-logo[alt="Huntress"] { height: 26px; }

/* --- Cost / Business Case Grid -------------- */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.cost-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all 0.25s;
}

.cost-card:hover {
  border-color: rgba(9,194,233,0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.cost-card-featured {
  border-color: rgba(9,194,233,0.4);
  background: rgba(9,194,233,0.05);
}

.cost-stat {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.cost-card h4 {
  color: var(--text-bright);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.cost-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* --- Process Steps -------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--cyan);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
}

.step-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* --- CTA Banner ----------------------------- */
.cta-section {
  background: linear-gradient(135deg, rgba(9,194,233,0.1) 0%, var(--navy-mid) 50%, rgba(9,194,233,0.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-section .btn-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Team Grid ------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  text-align: center;
}

.team-card:hover {
  border-color: rgba(9,194,233,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
}

.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(9,194,233,0.5);
  letter-spacing: 0.05em;
}

.team-info {
  padding: 1.25rem;
}

.team-info h4 {
  color: var(--text-bright);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.team-info .title {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Open position card */
.team-card-open {
  border-style: dashed;
  border-color: rgba(9,194,233,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.team-card-open .inner {
  text-align: center;
  padding: 1.5rem;
}

.team-card-open .plus-icon {
  width: 48px;
  height: 48px;
  background: rgba(9,194,233,0.08);
  border: 1px dashed rgba(9,194,233,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(9,194,233,0.4);
  margin: 0 auto 1rem;
}

.team-card-open p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Values --------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.value-card .icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(9,194,233,0.1);
  border: 1px solid rgba(9,194,233,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--cyan);
}

.value-card .icon-wrap svg {
  width: 30px;
  height: 30px;
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* --- Expertise Grid (extends values-grid for 6 cards) */
.expertise-grid {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

/* --- Partner Grid --------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  transition: all 0.25s;
}

.partner-card:hover {
  border-color: rgba(9,194,233,0.45);
  background: rgba(9,194,233,0.06);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.partner-logo-wrap {
  height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 0.875rem;
}

.partner-logo {
  max-height: 34px;
  max-width: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.25s;
}

.partner-card:hover .partner-logo {
  opacity: 1;
}

img.partner-logo[alt="NinjaOne"],
img.partner-logo[alt="Huntress"] { filter: none; opacity: 0.85; }
.partner-card:hover img.partner-logo[alt="NinjaOne"],
.partner-card:hover img.partner-logo[alt="Huntress"] { opacity: 1; }
img.partner-logo[alt="Huntress"] { max-height: 44px; max-width: 44px; }

.partner-name {
  color: var(--text-bright);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.partner-desc {
  color: var(--text-muted);
  font-size: 0.83rem;
}

/* --- Tools Grid ----------------------------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  transition: all 0.3s;
}

.tool-card:hover {
  border-color: rgba(9,194,233,0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.tool-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.tool-card h4 {
  color: var(--text-bright);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.tool-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* --- Partner/Tool Category Label ------------ */
.partner-category-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 2rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* --- Industry Grid -------------------------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
}

.industry-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  transition: all 0.25s;
}

.industry-card:hover {
  border-color: rgba(9,194,233,0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.industry-icon {
  width: 44px;
  height: 44px;
  background: rgba(9,194,233,0.1);
  border: 1px solid rgba(9,194,233,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.industry-icon svg {
  width: 22px;
  height: 22px;
}

.industry-card h4 {
  color: var(--text-bright);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.industry-card p {
  color: var(--text-muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

/* --- Contact Form --------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item .info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(9,194,233,0.1);
  border: 1px solid rgba(9,194,233,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.contact-info-item .info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-item p, .contact-info-item a {
  color: var(--text-bright);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(9,194,233,0.08);
  border: 1px solid rgba(9,194,233,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: all 0.2s;
}

.social-link:hover {
  background: rgba(9,194,233,0.18);
  border-color: rgba(9,194,233,0.5);
  color: var(--cyan-light);
  transform: translateY(-2px);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* Form */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(7,24,41,0.6);
  border: 1px solid rgba(9,194,233,0.2);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--text-bright);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(9,194,233,0.1);
}

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

.form-group select option {
  background: var(--navy-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

/* --- CMMC Page Specific --------------------- */
.cmmc-hero {
  padding: 8rem 0 6rem;
  text-align: center;
}

.cmmc-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.25rem;
}

.cmmc-level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.level-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.level-card.level-featured {
  background: linear-gradient(135deg, rgba(9,194,233,0.14) 0%, var(--card-bg) 70%);
  border-color: rgba(9,194,233,0.5);
  transform: scale(1.03);
}

.level-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.level-card h3 {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.level-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.level-badge {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.domain-item {
  background: rgba(15,38,73,0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text);
}

.domain-item::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--cyan);
  border-radius: 50%;
}

.compliance-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.compliance-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.compliance-card:hover {
  border-color: rgba(9,194,233,0.4);
  transform: translateY(-3px);
}

.compliance-card .framework-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.compliance-card h3 {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.compliance-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- About Hero ----------------------------- */
.page-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0d2240 60%, #091e38 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(9,194,233,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p  { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; }

/* --- Footer --------------------------------- */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.footer-col h5 {
  color: var(--text-bright);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* --- Utility -------------------------------- */
.bg-section {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-mid) 50%, var(--navy-dark) 100%);
}

.divider {
  height: 1px;
  background: var(--border);
}

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

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* --- Responsive ----------------------------- */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .card-featured { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .cmmc-level-grid { grid-template-columns: 1fr; }
  .level-card.level-featured { transform: none; }
  .compliance-overview-grid { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: 1fr; }
  .trust-strip-inner { flex-wrap: wrap; gap: 1.25rem; }
  .trust-strip-label { border-right: none; padding-right: 0; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  /* Mobile nav: position:absolute so backdrop-filter on .navbar doesn't
     trap it. top:100% anchors the dropdown to the bottom of the navbar. */
  .navbar { overflow: visible; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(7, 24, 41, 0.99);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
    gap: 0;
    list-style: none;
  }

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

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(9, 194, 233, 0.07);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--navy-mid);
    border-radius: 0;
  }

  .nav-links a.nav-cta {
    display: block;
    margin: 0.75rem 1.25rem 0;
    width: calc(100% - 2.5rem);
    border-radius: 8px;
    text-align: center;
    border-bottom: none;
  }

  .nav-links a.nav-cta:hover { background: var(--cyan-light); }

  .nav-toggle { display: flex; }

  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .cta-section .btn-actions { flex-direction: column; align-items: center; }
  .cta-section .btn-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .domains-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
}
