/* DevOps consulting page. Loaded after implementation-consulting-services.css,
   whose ics- tokens, buttons, tables and reveal hooks this page reuses. Every
   rule here is scoped with the dvo- prefix. */

/* ---------- hero ---------- */
.dvo-hero {
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(67, 97, 238, 0.14), transparent 70%),
    linear-gradient(180deg, #F3F6FD 0%, #EEF3FB 100%);
}
.dvo-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(67, 97, 238, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(67, 97, 238, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}
.dvo-hero__visual { position: relative; }
.dvo-hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(140deg, #fff, #E9EEFF);
  border: 1px solid rgba(67, 97, 238, 0.16);
  box-shadow: 0 50px 90px -45px rgba(11, 18, 32, 0.55);
}
.dvo-hero__frame img { display: block; width: 100%; height: auto; border-radius: 22px; transform-origin: 60% 50%; }

/* Pipeline status card floating over the hero photo */
.dvo-pipe {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  margin-left: 16px;
  margin-right: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(11, 18, 32, 0.92);
  color: #fff;
  border: 1px solid rgba(143, 176, 255, 0.22);
  box-shadow: 0 30px 60px -30px rgba(5, 11, 31, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (min-width: 640px) {
  .dvo-pipe { position: absolute; left: -36px; bottom: -40px; width: 320px; margin: 0; }
}
.dvo-pipe__head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #8FA0BD; }
.dvo-pipe__head b { color: #fff; font-size: 13px; }
.dvo-pipe__live { display: inline-flex; align-items: center; gap: 6px; color: #34D399; font-weight: 600; }
.dvo-pipe__live i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); }
.dvo-pipe ol { margin-top: 14px; display: grid; gap: 9px; }
.dvo-pipe li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #C6D4EC; }
.dvo-pipe li span:last-child { margin-left: auto; font-size: 11.5px; color: #8FA0BD; font-variant-numeric: tabular-nums; }
.dvo-pipe__dot {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(143, 176, 255, 0.35);
}
.dvo-pipe__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #34D399;
  transform: scale(var(--dvo-done, 1));
}
.dvo-pipe__bar { margin-top: 14px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.dvo-pipe__bar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, #4361EE, #34D399); transform-origin: left center; }

.dvo-hero__chip {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: -14px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ics-line);
  box-shadow: 0 20px 40px -22px rgba(11, 18, 32, 0.4);
  font-size: 12px;
  color: var(--ics-muted);
}
.dvo-hero__chip b { display: block; font-size: 15px; color: var(--ics-ink); }
.dvo-hero__chip svg { width: 30px; height: 30px; padding: 6px; border-radius: 10px; color: #fff; background: var(--ics-blue); }
@media (min-width: 640px) { .dvo-hero__chip { display: flex; } }

/* ---------- what changed in 2026 ---------- */
.dvo-shift {
  --dvo-up: #5EEAD4;
  --dvo-down: #FB7185;
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: #070C17;
  color: #fff;
}
@media (min-width: 1024px) { .dvo-shift { padding: 140px 0 150px; } }
.dvo-shift__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.dvo-shift__glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.35), rgba(67, 97, 238, 0) 65%);
}
.dvo-shift__title {
  margin-top: 22px;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.dvo-shift__fast,
.dvo-shift__shaky { display: inline-block; }
.dvo-shift__fast {
  background: linear-gradient(90deg, #8FB0FF, var(--dvo-up));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dvo-shift__shaky {
  position: relative;
  color: transparent;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
}
.dvo-shift__shaky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 L5 1 L10 6 L15 2 L20 7 L25 1 L30 6 L35 2 L40 5' fill='none' stroke='%23FB7185' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0 / 0.5em 100%;
  transform-origin: left;
  transform: scaleX(var(--dvo-under, 1));
}
.dvo-shift__shaky .dvo-char { display: inline-block; }
.dvo-shift__lead {
  font-size: 16px;
  line-height: 1.85;
  color: #AFC0DE;
}
@media (min-width: 1024px) { .dvo-shift__lead { font-size: 17px; } }

/* chart panel */
.dvo-chart {
  position: relative;
  margin: 0;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.09);
}
@media (min-width: 768px) { .dvo-chart { padding: 32px 36px; } }
.dvo-chart__top { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.dvo-chart__key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #DCE5F5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.dvo-chart__key i { width: 18px; height: 3px; border-radius: 3px; }
.dvo-chart__key.is-up i { background: linear-gradient(90deg, #4361EE, var(--dvo-up)); }
.dvo-chart__key.is-down i { background: linear-gradient(90deg, #FDBA74, #F43F5E); }
.dvo-chart__svg { display: block; width: 100%; height: auto; overflow: visible; }
.dvo-chart__rules line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.dvo-chart__rules line:last-child { stroke-dasharray: 4 6; }
.dvo-chart__line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dvo-chart__line--down { stroke-width: 3; }
.dvo-chart__blips circle { fill: #070C17; stroke: var(--dvo-down); stroke-width: 2.5; }
.dvo-chart__end.is-up { fill: var(--dvo-up); filter: drop-shadow(0 0 10px rgba(94, 234, 212, 0.8)); }
.dvo-chart__end.is-down { fill: #F43F5E; filter: drop-shadow(0 0 10px rgba(244, 63, 94, 0.8)); }
.dvo-chart__years {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #5F6F8E;
}
.dvo-chart__stats {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
@media (min-width: 640px) { .dvo-chart__stats { grid-template-columns: 1fr 1fr; } }
.dvo-stat { padding: 24px 0 0; }
.dvo-stat + .dvo-stat { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
@media (min-width: 640px) {
  .dvo-stat + .dvo-stat { margin-top: 0; padding-left: 28px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.09); }
}
.dvo-stat__num { font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; }
.dvo-stat__num.is-up { color: var(--dvo-up); }
.dvo-stat__num.is-down { color: var(--dvo-down); }
.dvo-stat__num small { font-size: 26px; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.dvo-stat p { margin-top: 12px; max-width: 30ch; font-size: 14px; line-height: 1.6; color: #AFC0DE; }

/* photo + note */
.dvo-shift__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1800 / 1198;
  border-radius: 28px;
  background: #111A2E;
}
.dvo-shift__photo img { width: 100%; height: 112%; object-fit: cover; }
.dvo-shift__note {
  flex: 1;
  padding: 26px 28px;
  border-radius: 28px;
  background: #0E1628;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.dvo-shift__note p { margin-top: 14px; font-size: 15px; line-height: 1.8; color: #C6D4EC; }
.dvo-shift__tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFC9D2;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.3);
}

/* conclusion */
.dvo-shift__quote {
  margin: 88px 0 0;
  padding-top: 48px;
  max-width: 1040px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
@media (min-width: 1024px) { .dvo-shift__quote { margin-top: 120px; } }
.dvo-shift__quote em {
  font-style: normal;
  background: linear-gradient(90deg, #8FB0FF, var(--dvo-up));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dvo-shift__quote .dvo-word { display: inline-block; }
.dvo-shift__quote em .dvo-word {
  background: linear-gradient(90deg, #8FB0FF, var(--dvo-up));
  -webkit-background-clip: text;
  background-clip: text;
}
.dvo-chart__svg circle { transform-box: fill-box; transform-origin: center; }

/* ---------- DORA table ---------- */
.dvo-dora th, .dvo-dora td { padding: 18px 22px; vertical-align: middle; }
.dvo-dora tbody tr { border-top: 1px solid var(--ics-line); transition: background-color 0.25s ease; }
.dvo-dora tbody tr:hover { background: #F7F9FF; }
.dvo-factor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dvo-factor::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dvo-factor--up { color: #2F43B8; background: #E8EDFB; }
.dvo-factor--risk { color: #B45309; background: #FEF3C7; }

/* ---------- service cards ---------- */
.dvo-services { display: grid; gap: 16px; }
@media (min-width: 768px) { .dvo-services { grid-template-columns: 1fr 1fr; } }
.dvo-service {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ics-line);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.dvo-service:hover {
  transform: translateY(-4px);
  border-color: #C9D4FB;
  box-shadow: 0 24px 50px -30px rgba(67, 97, 238, 0.5);
}
.dvo-service__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--ics-blue);
  background: #EEF2FF;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.dvo-service:hover .dvo-service__icon { background: var(--ics-blue); color: #fff; }
.dvo-service__icon svg { width: 22px; height: 22px; }

/* ---------- CI/CD flow ---------- */
.dvo-flow { position: relative; display: grid; gap: 12px; }
@media (min-width: 768px) { .dvo-flow { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.dvo-flow__line {
  position: absolute;
  display: none;
  left: 10%;
  right: 10%;
  top: 27px;
  height: 2px;
  background: rgba(143, 176, 255, 0.2);
}
@media (min-width: 768px) { .dvo-flow__line { display: block; } }
.dvo-flow__line i { position: absolute; inset: 0; background: linear-gradient(90deg, #4361EE, #8FB0FF); transform-origin: left center; }
.dvo-flow__pulse {
  position: absolute;
  top: -5px;
  left: 0;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(67, 97, 238, 0.35), 0 0 22px 4px rgba(143, 176, 255, 0.7);
  opacity: 0;
}
.dvo-flow__step { position: relative; display: flex; gap: 14px; align-items: center; }
@media (min-width: 768px) { .dvo-flow__step { flex-direction: column; text-align: center; gap: 12px; } }
.dvo-flow__node {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #8FB0FF;
  background: #0E1A33;
  border: 1px solid rgba(143, 176, 255, 0.28);
  transition: background-color 0.4s ease, color 0.4s ease;
}
.dvo-flow__node svg { width: 24px; height: 24px; }
.dvo-flow__step.is-on .dvo-flow__node { background: var(--ics-blue); color: #fff; border-color: var(--ics-blue); }
.dvo-flow__step b { display: block; font-size: 14px; color: #fff; }
.dvo-flow__step small { display: block; font-size: 12px; color: #8FA0BD; }

.dvo-cicd > li { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.dvo-cicd > li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

/* ---------- rollout timeline ---------- */
.dvo-roll { position: relative; padding-left: 64px; }
.dvo-roll__track { position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--ics-line); }
.dvo-roll__track i { position: absolute; inset: 0; background: linear-gradient(180deg, #4361EE, #8297F7); transform-origin: top center; }
.dvo-roll > ol > li { position: relative; padding: 4px 0 30px; }
.dvo-roll > ol > li:last-child { padding-bottom: 0; }
.dvo-roll__num {
  position: absolute;
  left: -64px;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--ics-blue);
  background: #fff;
  border: 1px solid #D5DEFF;
  transition: background-color 0.4s ease, color 0.4s ease;
}
.dvo-roll li.is-on .dvo-roll__num { background: var(--ics-blue); color: #fff; border-color: var(--ics-blue); }

/* ---------- tools ---------- */
.dvo-tools > div { border-top: 1px solid var(--ics-line); }
.dvo-tools > div:last-child { border-bottom: 1px solid var(--ics-line); }
.dvo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dvo-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ics-ink);
  background: #fff;
  border: 1px solid var(--ics-line);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.dvo-chip:hover { border-color: var(--ics-blue); color: var(--ics-blue); transform: translateY(-2px); }
.dvo-chip--note { padding-left: 4px; padding-right: 4px; border-color: transparent; background: none; color: var(--ics-muted); font-style: italic; }
.dvo-chip--note:hover { border-color: transparent; color: var(--ics-muted); transform: none; }

/* ---------- why ---------- */
.dvo-why li { border-top: 1px solid var(--ics-line); }
.dvo-why li:last-child { border-bottom: 1px solid var(--ics-line); }

@media (prefers-reduced-motion: reduce) {
  .dvo-service, .dvo-service__icon, .dvo-chip, .dvo-flow__node, .dvo-roll__num { transition: none; }
}
