/* ============================================================
   Yes Diadem Incorporated — YesDiadem
   Main stylesheet — LIGHT engineering theme
   Sapphire #1E3F8F · Mist #A8BCDC · Warm sand #E6DCCB
   Cream #F8F7F4 · Ink #1A1F2E
   ============================================================ */

:root {
  --cream: #F8F7F4;
  --ink: #1A1F2E;
  --sapphire: #1E3F8F;
  --mist: #A8BCDC;
  --sand: #E6DCCB;
  --grid: #E9EDF3;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1A1F2E;
  background-color: #F8F7F4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #1E3F8F;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 16px 30px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #1E3F8F;
  color: #FFFFFF;
  border-color: #1E3F8F;
}

.btn-primary:hover {
  background-color: #16306B;
  border-color: #16306B;
}

.btn-outline {
  background-color: transparent;
  color: #1E3F8F;
  border-color: #1E3F8F;
}

.btn-outline:hover {
  background-color: #1E3F8F;
  color: #FFFFFF;
}

.btn-white {
  background-color: #FFFFFF;
  color: #1E3F8F;
  border-color: #FFFFFF;
}

.btn-white:hover {
  background-color: #E6DCCB;
  border-color: #E6DCCB;
}

/* ---------------- Eyebrow chip ---------------- */

.eyebrow-chip {
  display: inline-block;
  background-color: #1E3F8F;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 2px;
}

/* ---------------- Section headers ---------------- */

.section-head {
  max-width: 860px;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1E3F8F;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1A1F2E;
  margin-bottom: 18px;
}

.section-head p {
  font-size: 17px;
  color: #1A1F2E;
}

/* ============================================================
   ENGINEERING DIMENSION NAV (.dimension-nav)
   ============================================================ */

.dimension-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: #F8F7F4;
  border-bottom: 3px solid #1E3F8F;
}

.dimension-nav .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.dimension-nav .brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.dimension-nav .brand-block:hover {
  text-decoration: none;
}

.dimension-nav .brand-mark {
  width: 40px;
  height: 40px;
  background-color: #1E3F8F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dimension-nav .crown-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dimension-nav .crown-tris {
  display: flex;
  align-items: flex-end;
  gap: 1px;
}

.dimension-nav .crown-tris span {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid #FFFFFF;
}

.dimension-nav .crown-tris span.crown-mid {
  border-bottom-width: 11px;
}

.dimension-nav .crown-base {
  width: 27px;
  height: 3px;
  background-color: #FFFFFF;
  margin-top: 2px;
}

.dimension-nav .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.dimension-nav .brand-word {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.22em;
  color: #1A1F2E;
}

.dimension-nav .brand-caption {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #1E3F8F;
  margin-top: 4px;
}

.dimension-nav .dimension-links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-right: auto;
  margin-left: 40px;
}

.dimension-nav .nav-link {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1A1F2E;
  padding: 8px 2px 14px;
}

.dimension-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4px;
  width: 2px;
  height: 10px;
  background-color: #1E3F8F;
}

.dimension-nav .nav-link:hover {
  text-decoration: none;
  color: #1E3F8F;
}

.dimension-nav .nav-link.is-active {
  color: #1E3F8F;
}

.dimension-nav .nav-link.is-active::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -1px;
  height: 4px;
  background-color: #1E3F8F;
}

.dimension-nav .nav-cta {
  flex-shrink: 0;
  background-color: #1E3F8F;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.dimension-nav .nav-cta:hover {
  background-color: #16306B;
  text-decoration: none;
}

.dimension-nav .dimension-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 2px solid #1E3F8F;
  border-radius: 2px;
  cursor: pointer;
}

.dimension-nav .dimension-toggle span {
  display: block;
  height: 3px;
  background-color: #1E3F8F;
}

.dimension-nav .dimension-drop {
  display: none;
}

/* ============================================================
   TOPOLOGY HERO (.topology-hero)
   ============================================================ */

.topology-hero {
  background-color: #F8F7F4;
  background-image:
    linear-gradient(#E9EDF3 1px, transparent 1px),
    linear-gradient(90deg, #E9EDF3 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: -1px -1px;
}

.topology-hero .hero-inner {
  padding-top: 72px;
  padding-bottom: 16px;
  max-width: 1200px;
}

.topology-hero .hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #1A1F2E;
  max-width: 900px;
  margin: 26px 0 24px;
}

.topology-hero .hero-sub {
  font-size: 19px;
  line-height: 1.7;
  color: #1A1F2E;
  max-width: 720px;
  margin-bottom: 34px;
}

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

.topology-hero .topology-diagram {
  max-width: 1200px;
  padding-top: 46px;
  padding-bottom: 56px;
}

.topo-row {
  display: flex;
  align-items: stretch;
}

.topo-node {
  flex: 1 1 0;
  background-color: #FFFFFF;
  border: 1px solid #1E3F8F;
  box-shadow: 0 4px 14px #E9EDF3;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.topo-glyph {
  width: 14px;
  height: 14px;
  background-color: #1E3F8F;
}

.topo-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A1F2E;
}

.topo-edge {
  flex: 0 1 4%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
}

.topo-edge::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background-color: #1E3F8F;
}

.topo-diamond {
  position: relative;
  width: 11px;
  height: 11px;
  background-color: #1E3F8F;
  transform: rotate(45deg);
  z-index: 1;
}

.topo-caption {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #1A1F2E;
  text-align: center;
}

/* ============================================================
   INTEGRATION FLOW (.integration-flow)
   ============================================================ */

.integration-flow {
  background-color: #F8F7F4;
  padding: 88px 0 72px;
}

.flow-row {
  display: flex;
  align-items: stretch;
  margin-top: 8px;
}

.flow-node {
  flex: 1 1 0;
  background-color: #E6DCCB;
  padding: 26px 20px;
  border-radius: 2px;
}

.flow-num {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #1E3F8F;
  margin-bottom: 12px;
}

.flow-node h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1A1F2E;
  margin-bottom: 8px;
}

.flow-node p {
  font-size: 14px;
  color: #1A1F2E;
}

.flow-edge {
  flex: 0 1 3.5%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
}

.flow-edge::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background-color: #1E3F8F;
}

.flow-diamond {
  position: relative;
  width: 9px;
  height: 9px;
  background-color: #1E3F8F;
  transform: rotate(45deg);
  z-index: 1;
}

.flow-outro {
  max-width: 820px;
  margin-top: 40px;
  font-size: 17px;
  color: #1A1F2E;
}

/* ============================================================
   CAPABILITY MATRIX (.capability-matrix)
   ============================================================ */

.capability-matrix {
  background-color: #A8BCDC;
  padding: 88px 0 80px;
}

.capability-matrix .section-eyebrow {
  color: #1E3F8F;
}

.capability-matrix .section-head h2 {
  color: #1A1F2E;
}

.capability-matrix .section-head p {
  color: #1A1F2E;
}

.matrix-block {
  background-color: #F8F7F4;
  border: 1px solid #1E3F8F;
  box-shadow: 0 6px 18px #8FA6CE;
  padding: 8px 8px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 240px repeat(5, 1fr);
  align-items: center;
  border-bottom: 1px solid #D8D3C6;
}

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

.matrix-label {
  padding: 18px 16px;
  font-weight: 800;
  font-size: 15px;
  color: #1A1F2E;
  background-color: #E6DCCB;
  border-right: 1px solid #D8D3C6;
  min-height: 96px;
  display: flex;
  align-items: center;
}

.matrix-cell {
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  min-height: 96px;
  justify-content: center;
}

.cell-square {
  width: 16px;
  height: 16px;
  background-color: #1E3F8F;
}

.cell-square.outline {
  background-color: transparent;
  border: 2px solid #1E3F8F;
  width: 12px;
  height: 12px;
}

.cell-cap {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #1A1F2E;
  max-width: 120px;
}

.matrix-outro {
  max-width: 820px;
  margin-top: 40px;
  font-size: 17px;
  color: #1A1F2E;
}

/* ============================================================
   METRICS CONSOLE (.metrics-console)
   ============================================================ */

.metrics-console {
  background-color: #1A1F2E;
  padding: 88px 0 84px;
}

.metrics-console .section-eyebrow {
  color: #A8BCDC;
}

.metrics-console .section-head h2 {
  color: #F8F7F4;
}

.metrics-console .section-head p {
  color: #E6DCCB;
}

.console-row {
  display: flex;
  align-items: stretch;
  border-top: 1px solid #3A4157;
  border-bottom: 1px solid #3A4157;
}

.console-metric {
  flex: 1 1 0;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.console-metric + .console-metric {
  border-left: 1px solid #3A4157;
}

.console-glyph {
  width: 14px;
  height: 14px;
  background-color: #1E3F8F;
}

.console-num {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #F8F7F4;
}

.console-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A8BCDC;
}

/* ============================================================
   COMPLIANCE CHECKLIST (.compliance-checklist)
   ============================================================ */

.compliance-checklist {
  background-color: #F8F7F4;
  padding: 88px 0 80px;
}

.checklist {
  list-style: none;
  max-width: 1000px;
}

.checklist-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid #D8D3C6;
}

.checklist-row:last-of-type {
  border-bottom: none;
}

.check-square {
  width: 22px;
  height: 22px;
  background-color: #1E3F8F;
  margin-top: 3px;
  flex-shrink: 0;
  position: relative;
}

.check-square::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 11px;
  height: 6px;
  border-left: 3px solid #FFFFFF;
  border-bottom: 3px solid #FFFFFF;
  transform: rotate(-45deg);
}

.check-text h3 {
  font-size: 19px;
  font-weight: 800;
  color: #1A1F2E;
  margin-bottom: 6px;
}

.check-text p {
  font-size: 16px;
  color: #1A1F2E;
}

.checklist-outro {
  max-width: 820px;
  margin-top: 40px;
  font-size: 17px;
  color: #1A1F2E;
}

/* ============================================================
   CTA BAND (.cta-band)
   ============================================================ */

.cta-band {
  background-color: #1E3F8F;
  padding: 84px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.cta-band p {
  font-size: 18px;
  color: #E6DCCB;
  max-width: 640px;
  margin: 0 auto 34px;
}

/* ============================================================
   STATUS BAR FOOTER (.statusbar-footer)
   ============================================================ */

.statusbar-footer {
  background-color: #F8F7F4;
  border-top: 3px solid #1E3F8F;
  padding: 44px 0 34px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A1F2E;
}

.footer-links a:hover {
  color: #1E3F8F;
}

.footer-contact {
  font-size: 14px;
  color: #1A1F2E;
}

.footer-hairline {
  border: none;
  border-top: 1px solid #D8D3C6;
  margin: 30px 0 20px;
}

.footer-legal {
  text-align: center;
  font-size: 13px;
  color: #1A1F2E;
}

.footer-legal a {
  color: #1E3F8F;
  font-weight: 600;
}

/* ============================================================
   SECONDARY PAGES (services / contact)
   ============================================================ */

.page-hero {
  background-color: #F8F7F4;
  background-image:
    linear-gradient(#E9EDF3 1px, transparent 1px),
    linear-gradient(90deg, #E9EDF3 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: -1px -1px;
  padding: 64px 0 56px;
}

.page-hero .page-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1E3F8F;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #1A1F2E;
  max-width: 860px;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 18px;
  line-height: 1.7;
  color: #1A1F2E;
  max-width: 760px;
}

/* Service sections */

.service-sections {
  background-color: #F8F7F4;
  padding: 72px 0 24px;
}

.service-block {
  display: flex;
  gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid #D8D3C6;
}

.service-block:last-child {
  border-bottom: none;
}

.service-index {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background-color: #1E3F8F;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-body h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1A1F2E;
  margin-bottom: 12px;
}

.service-body p {
  font-size: 16px;
  color: #1A1F2E;
  margin-bottom: 12px;
}

.service-body p:last-child {
  margin-bottom: 0;
}

.service-body .service-tag {
  display: inline-block;
  background-color: #E6DCCB;
  color: #1A1F2E;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin: 0 8px 8px 0;
}

/* Process overview */

.process-overview {
  background-color: #A8BCDC;
  padding: 80px 0;
}

.process-overview .section-head p {
  color: #1A1F2E;
}

.process-overview .flow-node {
  background-color: #E6DCCB;
}

/* Contact page */

.contact-wrap {
  background-color: #F8F7F4;
  padding: 72px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background-color: #FFFFFF;
  border: 1px solid #1E3F8F;
  padding: 34px;
}

.contact-form h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1A1F2E;
  margin-bottom: 8px;
}

.contact-form .form-note {
  font-size: 14px;
  color: #1A1F2E;
  margin-bottom: 26px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1A1F2E;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #9AA3B8;
  background-color: #F8F7F4;
  color: #1A1F2E;
  font-size: 16px;
  font-family: inherit;
  padding: 12px 14px;
  border-radius: 2px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #1E3F8F;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #1E3F8F;
  min-height: 20px;
}

.info-panel {
  background-color: #E6DCCB;
  padding: 30px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.info-panel h3 {
  font-size: 18px;
  font-weight: 800;
  color: #1A1F2E;
  margin-bottom: 6px;
}

.info-panel p {
  font-size: 15px;
  color: #1A1F2E;
  margin-bottom: 6px;
}

.info-panel p:last-child {
  margin-bottom: 0;
}

.hours-list {
  list-style: none;
  margin-top: 10px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  color: #1A1F2E;
  padding: 6px 0;
  border-bottom: 1px solid #D8D3C6;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .hours-day {
  font-weight: 700;
}

/* FAQ accordion (contact page) */

.faq-block {
  margin-top: 56px;
}

.faq-block h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1A1F2E;
  margin-bottom: 24px;
}

.faq-item {
  border: 1px solid #1E3F8F;
  background-color: #FFFFFF;
  margin-bottom: 14px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: #1E3F8F;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: #1E3F8F;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  content: "\2212";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 320px;
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 15px;
  color: #1A1F2E;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.js-reveal {
  opacity: 0;
  transform: translateY(20px);
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-up.js-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .dimension-nav .dimension-links {
    gap: 22px;
    margin-left: 20px;
  }

  .matrix-row {
    grid-template-columns: 180px repeat(5, 1fr);
  }

  .topology-hero .hero-title {
    font-size: 44px;
  }

  .console-num {
    font-size: 36px;
  }
}

@media (max-width: 860px) {
  .dimension-nav .dimension-links,
  .dimension-nav .nav-cta {
    display: none;
  }

  .dimension-nav .dimension-toggle {
    display: flex;
  }

  .dimension-nav.open .dimension-drop {
    display: block;
    background-color: #F8F7F4;
    border-top: 1px solid #E9EDF3;
  }

  .dimension-drop {
    display: none;
  }

  .dimension-drop .drop-links {
    display: flex;
    flex-direction: column;
    padding: 12px 24px 22px;
    gap: 4px;
  }

  .dimension-drop .drop-links a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1A1F2E;
    padding: 12px 0;
    border-bottom: 1px solid #E9EDF3;
  }

  .dimension-drop .drop-links a:hover {
    color: #1E3F8F;
    text-decoration: none;
  }

  .dimension-drop .drop-cta {
    display: block;
    text-align: center;
    background-color: #1E3F8F;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 0;
    margin: 10px 24px 22px;
  }

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

@media (max-width: 720px) {
  .topology-hero .hero-title {
    font-size: 36px;
  }

  .topology-hero .hero-sub {
    font-size: 17px;
  }

  .topo-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .topo-node {
    flex: 1 1 44%;
  }

  .topo-edge {
    display: none;
  }

  .flow-row {
    flex-direction: column;
    gap: 12px;
  }

  .flow-edge {
    height: 24px;
    flex: none;
    min-width: 0;
  }

  .flow-edge::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
  }

  .flow-diamond {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .matrix-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .matrix-label {
    grid-column: 1 / -1;
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid #D8D3C6;
  }

  .matrix-cell {
    min-height: 84px;
  }

  .console-row {
    flex-direction: column;
  }

  .console-metric {
    padding: 26px 10px;
  }

  .console-metric + .console-metric {
    border-left: none;
    border-top: 1px solid #3A4157;
  }

  .console-num {
    font-size: 34px;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  .service-block {
    flex-direction: column;
    gap: 18px;
  }

  .page-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .topology-hero .hero-inner {
    padding-top: 48px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .topology-hero .hero-title {
    font-size: 32px;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
}
