/* DeepField — stratified infographics design */
:root {
  --basalt: #37474F;
  --teal: #00695C;
  --lava: #78909C;
  --fog: #ECEFF1;
  --text: #263238;
  --white: #FFFFFF;
  --teal-light: #00897B;
  --shadow: rgba(38, 50, 56, 0.12);
  --font-head: 'Zilla Slab', Georgia, serif;
  --font-body: 'PT Sans', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--fog);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-light); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  color: var(--basalt);
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.site-header {
  background: var(--basalt);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--teal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  position: relative;
}

.logo-mark span {
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  border-radius: 1px;
}

.logo-mark span:nth-child(1) { top: 0; background: #4DB6AC; opacity: 0.5; }
.logo-mark span:nth-child(2) { top: 10px; background: #26A69A; opacity: 0.7; }
.logo-mark span:nth-child(3) { top: 20px; background: var(--teal); }
.logo-mark span:nth-child(4) { top: 30px; background: #004D40; }

.logo-text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em; }
.logo-tag { font-size: 0.65rem; color: var(--lava); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav ul { display: flex; list-style: none; gap: 0.25rem; flex-wrap: wrap; }
.main-nav a {
  color: var(--fog);
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  border-radius: 3px;
  transition: background 0.2s;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.1); color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

/* ── Hero layered DL ── */
.hero {
  position: relative;
  background: var(--basalt);
  color: var(--white);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-layer {
  position: absolute;
  left: -5%;
  right: -5%;
  height: 18%;
  opacity: 0.15;
  transform: skewY(-3deg);
}

.hero-layer:nth-child(1) { top: 5%; background: #4DB6AC; }
.hero-layer:nth-child(2) { top: 22%; background: #26A69A; opacity: 0.2; }
.hero-layer:nth-child(3) { top: 39%; background: var(--teal); opacity: 0.25; }
.hero-layer:nth-child(4) { top: 56%; background: #004D40; opacity: 0.3; }
.hero-layer:nth-child(5) { top: 73%; background: #00251A; opacity: 0.35; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-lead { font-size: 1.15rem; color: var(--lava); margin-bottom: 1.75rem; max-width: 520px; }

.hero-tagline {
  font-family: var(--font-head);
  font-style: italic;
  color: #80CBC4;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-light); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--lava); }
.btn-outline:hover { border-color: var(--white); color: var(--white); }

.hero-visual { position: relative; }

.hero-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.stack-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1rem 1.25rem;
  margin-bottom: -12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(4px);
  transition: transform 0.3s;
}

.stack-item:nth-child(1) { transform: translateX(0); z-index: 5; border-left: 4px solid #4DB6AC; }
.stack-item:nth-child(2) { transform: translateX(12px); z-index: 4; border-left: 4px solid #26A69A; }
.stack-item:nth-child(3) { transform: translateX(24px); z-index: 3; border-left: 4px solid var(--teal); }
.stack-item:nth-child(4) { transform: translateX(36px); z-index: 2; border-left: 4px solid #004D40; }
.stack-item:nth-child(5) { transform: translateX(48px); z-index: 1; border-left: 4px solid #00251A; }

.stack-depth {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #80CBC4;
  min-width: 36px;
}

.stack-label { font-size: 0.85rem; color: var(--fog); }
.stack-label strong { display: block; color: var(--white); font-size: 0.95rem; }

/* ── Sections ── */
section { padding: 4.5rem 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--basalt); color: var(--fog); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
.section-header p { color: var(--lava); font-size: 1.05rem; }
.section-dark .section-header p { color: var(--lava); }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* ── Facts + Layer Diagram ── */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.fact-card {
  background: var(--white);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-top: 4px solid var(--teal);
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
}

.fact-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lava), transparent);
  opacity: 0.4;
}

.fact-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.fact-unit { font-size: 1rem; color: var(--lava); }
.fact-desc { font-size: 0.85rem; margin-top: 0.5rem; color: var(--text); }

.layer-diagram {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.layer-diagram img {
  border-radius: 4px;
  box-shadow: 0 8px 30px var(--shadow);
  border: 1px solid rgba(55,71,79,0.1);
}

.layer-list { list-style: none; }

.layer-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--lava);
}

.layer-num {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}

.layer-info h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.layer-info p { font-size: 0.88rem; color: var(--lava); }

/* ── Solutions Grid ── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.solution-card {
  background: var(--fog);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.25s;
  border-left: 5px solid var(--teal);
}

.solution-card:hover { transform: translateY(-4px); }

.solution-card img { width: 100%; height: 200px; object-fit: cover; }

.solution-body { padding: 1.5rem; }

.solution-ref {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.solution-body h3 { font-size: 1.15rem; margin-bottom: 0.65rem; }
.solution-body p { font-size: 0.9rem; color: var(--lava); margin-bottom: 1rem; }

.solution-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.solution-tags span {
  font-size: 0.72rem;
  background: var(--white);
  color: var(--basalt);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  border: 1px solid rgba(55,71,79,0.12);
}

/* ── AI Lexicon ── */
.lexicon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.lexicon-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.35rem;
  border-radius: 4px;
  position: relative;
}

.lexicon-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #4DB6AC);
}

.lexicon-term {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: #80CBC4;
  margin-bottom: 0.5rem;
}

.lexicon-def { font-size: 0.88rem; color: var(--lava); line-height: 1.55; }

/* ── Services Tiers ── */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tier-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
  display: flex;
  flex-direction: column;
}

.tier-header {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--fog);
}

.tier-header.enterprise { background: var(--basalt); color: var(--white); }
.tier-header.enterprise h3 { color: var(--white); }
.tier-header.smb { background: var(--teal); color: var(--white); }
.tier-header.smb h3 { color: var(--white); }
.tier-header.edu { background: var(--lava); color: var(--white); }
.tier-header.edu h3 { color: var(--white); }

.tier-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.tier-header h3 { font-size: 1.2rem; }

.tier-body { padding: 1.5rem; flex: 1; }
.tier-body ul { list-style: none; }
.tier-body li {
  padding: 0.55rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--fog);
  padding-left: 1.25rem;
  position: relative;
}
.tier-body li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.75rem;
}

.tier-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--fog); }

/* ── Pipeline Infographic ── */
.pipeline-wrap {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px var(--shadow);
}

.pipeline-visual { margin-bottom: 2rem; }
.pipeline-visual img { width: 100%; border-radius: 4px; }

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  position: relative;
}

.pipeline-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--lava));
  z-index: 0;
}

.pipe-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.pipe-dot {
  width: 44px;
  height: 44px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px var(--shadow);
}

.pipe-step h4 { font-size: 0.82rem; margin-bottom: 0.25rem; }
.pipe-step p { font-size: 0.75rem; color: var(--lava); }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--teal);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.92rem;
  font-style: italic;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--lava); }

/* ── CTA Teal ── */
.cta-teal {
  background: linear-gradient(135deg, var(--teal) 0%, #004D40 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-teal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-teal h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; position: relative; }
.cta-teal p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-teal .btn { background: var(--white); color: var(--teal); border-color: var(--white); position: relative; }
.cta-teal .btn:hover { background: var(--fog); }

/* ── Partners ── */
.partners-text {
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(55,71,79,0.1);
}

.partners-text p { font-size: 0.88rem; color: var(--lava); max-width: 800px; margin: 0 auto; line-height: 1.7; }
.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1.5rem;
  opacity: 0.6;
}

.partner-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--basalt);
  letter-spacing: 0.05em;
}

/* ── Footer ── */
.site-footer {
  background: #263238;
  color: var(--lava);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p { font-size: 0.88rem; margin-top: 0.75rem; line-height: 1.6; }
.footer-brand .logo-text { color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { color: var(--lava); font-size: 0.88rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ── Inner Pages ── */
.page-hero {
  background: var(--basalt);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #4DB6AC, var(--teal));
}

.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 0.5rem; }
.page-hero p { color: var(--lava); font-size: 1.05rem; }

.breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 1rem;
  color: var(--lava);
}
.breadcrumb a { color: #80CBC4; }

.content-block { padding: 3.5rem 0; }
.content-block h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.content-block h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
.content-block p { margin-bottom: 1rem; }
.content-block ul, .content-block ol { margin: 0 0 1rem 1.5rem; }
.content-block li { margin-bottom: 0.4rem; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

.service-detail-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  border-top: 4px solid var(--teal);
}

.service-detail-card img { width: 100%; height: 220px; object-fit: cover; }
.service-detail-card .card-body { padding: 1.75rem; }

.ref-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: var(--fog);
  color: var(--teal);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info { background: var(--basalt); color: var(--fog); padding: 2.5rem; border-radius: 4px; }
.contact-info h3 { color: var(--white); margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.contact-item strong { display: block; color: var(--white); margin-bottom: 0.15rem; }

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 24px var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--basalt); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--lava);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--fog);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-check { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; }
.form-check input { margin-top: 0.25rem; }

.legal-content {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 20px var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-content h2:first-child { margin-top: 0; }

html { scroll-behavior: smooth; }

.slide-up, .fade-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}
html.js .slide-up, html.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
}
html.js .slide-up.visible, html.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1.5rem;
  background: var(--basalt);
  color: #ECEFF1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 3px solid var(--teal);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner a { color: #80CBC4; }
.form-error { display: block; color: #c62828; font-size: 0.85rem; margin-top: 0.25rem; }
.contact-form input.invalid, .contact-form select.invalid { border-color: #c62828; }
#form-success { display: none; padding: 2rem; background: #fff; border-radius: 8px; border-bottom: 3px solid var(--basalt); margin-top: 1rem; }
#form-success.visible { display: block; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.45rem 1rem;
  border: 2px solid var(--teal);
  background: #fff;
  color: var(--basalt);
  font-family: 'PT Sans', sans-serif;
  cursor: pointer;
  border-radius: 4px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--teal);
  color: #fff;
}
.solution-price {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(55, 71, 79, 0.15);
  color: var(--basalt);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-tagline { border-left: none; padding-left: 0; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .layer-diagram { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .lexicon-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: 1fr; }
  .pipeline-steps { grid-template-columns: repeat(3, 1fr); }
  .pipeline-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--basalt);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .facts-grid { grid-template-columns: 1fr; }
  .lexicon-grid { grid-template-columns: 1fr; }
  .pipeline-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
