body {
  background: linear-gradient(180deg, #f7f8fa 0%, #f2f4f7 100%);
}

.methodology-page {
  padding: 124px 72px 112px;
}

.methodology-shell {
  max-width: 1160px;
  margin: 0 auto;
}

.methodology-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  gap: 30px;
  padding: 48px;
  background: linear-gradient(140deg, #0f1620 0%, #172130 62%, #1c293b 100%);
  color: #fff;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.methodology-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 16, 24, 0.9) 0%, rgba(10, 16, 24, 0.78) 34%, rgba(10, 16, 24, 0.48) 64%, rgba(10, 16, 24, 0.74) 100%),
    url('../assets/images/hero-audit.webp') center center / cover no-repeat;
  transform: scale(1.01);
}

.methodology-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.methodology-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 420px;
}

.method-flow {
  position: absolute;
  inset: 2% 2% 2% 0;
}

.method-flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.method-flow-trace {
  fill: none;
  stroke: url(#method-flow-path);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

.method-flow-node-glow {
  fill: url(#method-flow-glow);
  filter: url(#method-flow-soft-glow);
  opacity: 0.7;
}

.method-flow-node-glow-start {
  opacity: 0.74;
}

.method-flow-node-glow-end {
  filter: url(#method-flow-tight-glow);
  opacity: 0.66;
}

.method-flow-node-ring {
  fill: rgba(15, 22, 32, 0.3);
  stroke: rgba(230, 242, 255, 0.6);
  stroke-width: 1;
}

.method-flow-node-ring-start {
  stroke: rgba(236, 246, 255, 0.7);
}

.method-flow-node-ring-end {
  stroke: rgba(238, 247, 255, 0.72);
}

.method-flow-node-core {
  fill: rgba(241, 249, 255, 0.96);
}

.method-flow-text {
  pointer-events: none;
}

.method-flow-label {
  fill: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  paint-order: stroke;
  stroke: rgba(10, 16, 24, 0.18);
  stroke-width: 2.2px;
  stroke-linejoin: round;
}

.method-flow-label-start {
  fill: rgba(255, 255, 255, 0.88);
}

.method-flow-label-end {
  fill: rgba(255, 255, 255, 0.94);
}

.methodology-kicker,
.section-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.methodology-kicker {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  color: #fff;
}

.methodology-hero h1 {
  font: 600 2.6rem/1.08 'Inter', sans-serif;
  margin-bottom: 20px;
  max-width: 12ch;
  letter-spacing: 0;
}

.methodology-hero-copy p:not(.methodology-kicker) {
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.methodology-hero-copy p:last-child {
  margin-bottom: 0;
}

.methodology-section {
  margin-top: 24px;
  padding: 40px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.standards-card h2,
.methodology-cta h2 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
  color: #101826;
  margin: 10px 0 14px;
}

.section-heading p:not(.section-kicker),
.standards-card p:not(.section-kicker),
.methodology-cta-copy p:not(.section-kicker) {
  color: #5d6774;
  font-size: 0.96rem;
  line-height: 1.8;
}

.methodology-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding-top: 18px;
}

.methodology-flow::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(17, 19, 21, 0.08) 0%, rgba(17, 19, 21, 0.16) 18%, rgba(17, 19, 21, 0.14) 82%, rgba(17, 19, 21, 0.06) 100%);
}

.methodology-flow-step {
  position: relative;
  padding-top: 0;
  min-width: 0;
  transition: opacity 0.2s ease;
}

.methodology-flow-step:hover,
.methodology-flow-step:focus-within {
  opacity: 0.84;
}

.methodology-flow-visual {
  position: relative;
  z-index: 1;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.methodology-flow-visual img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.methodology-flow-step h3,
.process-step h3 {
  font-size: 1.08rem;
  line-height: 1.3;
  color: #111315;
  margin-bottom: 14px;
}

.methodology-flow-step h3 {
  text-align: left;
}

.methodology-flow-step p {
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
  color: #5f6772;
  font-size: 0.92rem;
  line-height: 1.8;
}

.methodology-flow-step p + p {
  margin-top: 8px;
}

.methodology-flow-note {
  margin-top: 30px;
  max-width: none;
  color: #5d6774;
  font-size: 0.98rem;
  line-height: 1.75;
  text-align: left;
  align-self: stretch;
}

.process-section {
  overflow: hidden;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 57px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 114, 206, 0.06) 0%, rgba(0, 114, 206, 0.28) 14%, rgba(0, 114, 206, 0.28) 86%, rgba(0, 114, 206, 0.06) 100%);
}

.process-step {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid #dde4eb;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  min-height: 100%;
}

.process-step-visual {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  margin: 0 0 18px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step-visual img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.process-step-head {
  padding-top: 0;
  margin-bottom: 14px;
}

.process-step ul,
.standards-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.standards-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.process-step li,
.standards-list li {
  position: relative;
  padding-left: 16px;
  color: #5d6774;
  font-size: 0.88rem;
  line-height: 1.72;
}

.standards-list li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid rgba(17, 19, 21, 0.08);
  color: #465364;
  font-size: 0.92rem;
  line-height: 1.68;
}

.process-step li + li,
.standards-list li + li {
  margin-top: 10px;
}

.standards-list li + li {
  margin-top: 0;
}

.process-step li::before,
.standards-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #0072CE;
}

.standards-list li::before {
  left: 0;
  top: 1.42em;
  width: 5px;
  height: 5px;
}

.standards-list li:last-child {
  border-bottom: 0;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.standards-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 36px 38px;
  border: 1px solid #dde4eb;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.standards-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #0072CE;
}

.standards-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.standards-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 114, 206, 0.14);
  background: rgba(0, 114, 206, 0.045);
  color: #0072CE;
}

.standards-icon svg {
  width: 25px;
  height: 25px;
}

.standards-card h2 {
  margin-top: 7px;
  margin-bottom: 0;
  font-size: 1.85rem;
  line-height: 1.15;
}

.standards-card > p:not(.section-kicker) {
  max-width: 58ch;
  margin-bottom: 0;
  color: #4e5b6b;
  line-height: 1.82;
}

.standards-card-dark {
  background:
    linear-gradient(180deg, rgba(0, 114, 206, 0.055) 0%, rgba(248, 252, 255, 0.98) 72%),
    #ffffff;
  border-color: rgba(0, 114, 206, 0.2);
}

.standards-card-dark h2,
.standards-card-dark p:not(.section-kicker),
.standards-card-dark li {
  color: #0b1118;
}

.standards-card-dark p:not(.section-kicker) {
  color: #5d6774;
}

.standards-card-dark .standards-icon {
  border-color: rgba(0, 114, 206, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: #0072CE;
}

.standards-card-dark .standards-list li {
  border-color: rgba(0, 114, 206, 0.09);
  background: transparent;
}

.standards-card-dark li::before {
  background: #0072CE;
}

.methodology-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
  padding: 38px 40px;
  background: linear-gradient(140deg, #0f1722 0%, #182435 100%);
  color: #fff;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.methodology-cta h2,
.methodology-cta p:not(.section-kicker) {
  color: #fff;
}

.methodology-cta p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
}

.methodology-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.methodology-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 56px;
  padding: 16px 24px;
  text-decoration: none;
  text-align: center;
  font: 600 0.84rem 'Inter', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.methodology-btn-primary {
  background: #0072CE;
  color: #fff;
  border: 1px solid #0072CE;
  box-shadow: 0 16px 28px rgba(0, 114, 206, 0.2);
}

.methodology-btn-primary:hover,
.methodology-btn-primary:focus-visible {
  background: #0072CE;
  border-color: #0072CE;
  transform: translateY(-2px);
  outline: none;
}

.methodology-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.methodology-btn-secondary:hover,
.methodology-btn-secondary:focus-visible {
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  outline: none;
}

footer {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .methodology-page {
    padding: 112px 40px 108px;
  }

  .methodology-hero,
  .methodology-cta {
    grid-template-columns: 1fr;
  }

  .methodology-hero-visual {
    min-height: 470px;
  }

  .methodology-flow,
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .methodology-flow::before,
  .process-timeline::before {
    display: none;
  }

  .methodology-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .methodology-page {
    padding: 96px 24px 88px;
  }

  .methodology-hero,
  .methodology-section,
  .methodology-cta {
    padding: 28px 22px;
  }

  .standards-grid,
  .methodology-flow,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .methodology-hero h1 {
    font-size: 2.1rem;
  }

  .methodology-hero-visual {
    min-height: 500px;
  }

  .method-flow {
    inset: 0;
  }

  .method-flow-label {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .section-heading h2,
  .standards-card h2,
  .methodology-cta h2 {
    font-size: 1.95rem;
  }

  .standards-card {
    padding: 28px 24px;
  }

  .standards-card h2 {
    font-size: 1.72rem;
  }

  .standards-card-head {
    gap: 14px;
  }

  .standards-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .methodology-hero h1 {
    max-width: none;
    font-size: 2.15rem;
  }

  .methodology-hero-visual {
    min-height: 420px;
  }

  .method-flow-label {
    font-size: 14px;
  }

  .methodology-btn {
    width: 100%;
    min-width: 0;
  }
}
