/* ============================================================================
   devops-pages.css — shared styles for the /services/devops/ practice hub,
   service pages, DevOps-industry pages and workflow pages (single-site
   consolidation, batches 6-10). Same visual language as css/iot-pages.css and
   css/industry-pages.css (gold #f1b621 accent, navy #1a1a2e) so the DevOps
   section reads as one site. Self-contained; loaded with style.css + bootstrap.
   ========================================================================== */

.dv-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.dv-reveal.is-visible { opacity: 1; transform: none; }
.dv-reveal.d1 { transition-delay: .08s; }
.dv-reveal.d2 { transition-delay: .16s; }
.dv-reveal.d3 { transition-delay: .24s; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.dv-hero { position: relative; background-size: cover; background-position: center; color: #fff; padding: 96px 0 84px; }
.dv-hero-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(13,15,26,.94) 0%, rgba(26,26,46,.85) 55%, rgba(26,26,46,.6) 100%); }
.dv-hero-content { position: relative; z-index: 2; }
.dv-hero .dv-breadcrumb { font-size: .78rem; color: rgba(255,255,255,.62); margin-bottom: 1rem; }
.dv-hero .dv-breadcrumb a { color: #f1b621; text-decoration: none; }
.dv-hero .dv-breadcrumb a:hover { text-decoration: underline; }
.dv-hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.12; margin-bottom: 1rem; }
.dv-hero h1 span { color: #f1b621; }
.dv-hero p.lead { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 660px; line-height: 1.65; margin-bottom: 1.75rem; }

.dv-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f1b621; margin-bottom: .85rem; }
.dv-section-title { font-size: 1.8rem; font-weight: 800; color: #1a1a2e; line-height: 1.2; margin-bottom: .6rem; }
.dv-section-subtitle { font-size: 1rem; color: #666; line-height: 1.65; max-width: 700px; }
.text-center .dv-section-subtitle { margin: 0 auto; }

.btn-dv-primary { display: inline-block; background: #f1b621; color: #1a1a2e; font-weight: 700; padding: .85rem 2.25rem; border-radius: 4px; text-decoration: none; transition: all .25s; border: 2px solid #f1b621; }
.btn-dv-primary:hover { background: #d89f12; border-color: #d89f12; color: #1a1a2e; text-decoration: none; }
.btn-dv-ghost { display: inline-block; background: transparent; color: #1a1a2e; font-weight: 700; padding: .85rem 2.25rem; border-radius: 4px; border: 2px solid #1a1a2e; text-decoration: none; transition: all .25s; }
.btn-dv-ghost:hover { background: #1a1a2e; color: #f1b621; text-decoration: none; }
.btn-dv-dark { display: inline-block; background: #1a1a2e; color: #f1b621; font-weight: 700; padding: .85rem 2.25rem; border-radius: 4px; text-decoration: none; transition: all .25s; border: 2px solid #1a1a2e; }
.btn-dv-dark:hover { background: #12121f; color: #f1b621; text-decoration: none; }

/* ── Section rhythm ─────────────────────────────────────────────────────── */
.dv-section { padding: 78px 0; background: #fff; }
.dv-section--soft { background: #f8f9fa; }
.dv-section--navy { background: #1a1a2e; }
.dv-section--navy .dv-section-title { color: #fff; }
.dv-section--navy .dv-section-subtitle { color: rgba(255,255,255,.66); }

/* ── Prose ──────────────────────────────────────────────────────────────── */
.dv-prose { max-width: 780px; }
.dv-prose p { font-size: .96rem; color: #444; line-height: 1.8; margin-bottom: 1.1rem; }

/* ── Cards (linkable + static feature) ──────────────────────────────────── */
.dv-card { display: block; background: #f8f9fa; border-radius: 10px; padding: 1.7rem 1.55rem; border-top: 3px solid #f1b621; height: 100%; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
a.dv-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.09); background: #fff; text-decoration: none; }
.dv-section--soft .dv-card { background: #fff; }
.dv-card .dv-card-icon { width: 48px; height: 48px; background: rgba(241,182,33,.14); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: .95rem; }
.dv-card .dv-card-icon i { color: #f1b621; font-size: 1.3rem; }
.dv-card h3 { font-size: 1.08rem; font-weight: 700; color: #1a1a2e; margin-bottom: .5rem; }
.dv-card p { font-size: .85rem; color: #555; line-height: 1.6; margin: 0 0 .8rem; }
.dv-card .dv-card-link { color: #f1b621; font-weight: 700; font-size: .83rem; }
/* Navy card variant for dark sections */
.dv-section--navy .dv-card { background: #232338; border-top-color: #f1b621; }
.dv-section--navy .dv-card h3 { color: #fff; }
.dv-section--navy .dv-card p { color: rgba(255,255,255,.66); }

/* ── Numbered pipeline (commit -> monitor) ──────────────────────────────── */
.dv-pipeline { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.25rem; }
.dv-stage { position: relative; flex: 1 1 150px; max-width: 210px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: 10px; padding: 1.5rem 1rem 1.2rem; text-align: center; }
.dv-section:not(.dv-section--navy) .dv-stage { background: #f8f9fa; border-color: #e9ecef; }
.dv-stage .dv-stage-num { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: #f1b621; color: #1a1a2e; font-weight: 800; font-size: .82rem; display: flex; align-items: center; justify-content: center; }
.dv-stage .dv-stage-icon { color: #f1b621; font-size: 1.5rem; margin-bottom: .6rem; }
.dv-stage h4 { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; color: inherit; }
.dv-section--navy .dv-stage h4 { color: #fff; }
.dv-section:not(.dv-section--navy) .dv-stage h4 { color: #1a1a2e; }
.dv-stage p { font-size: .76rem; line-height: 1.5; margin: 0; color: #888; }
.dv-section--navy .dv-stage p { color: rgba(255,255,255,.62); }

/* ── Step list (numbered how-it-works) ──────────────────────────────────── */
.dv-steps { max-width: 820px; }
.dv-step { display: flex; gap: 1.1rem; margin-bottom: 1.4rem; }
.dv-step-num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: #1a1a2e; color: #f1b621; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.dv-step h4 { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: .25rem; }
.dv-step p { font-size: .88rem; color: #555; line-height: 1.6; margin: 0; }

/* ── Tech badges + outcome pills ────────────────────────────────────────── */
.dv-badge { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid #e9ecef; border-radius: 30px; padding: .4rem 1rem; font-size: .82rem; font-weight: 600; color: #333; margin: 0 .5rem .6rem 0; }
.dv-badge i { color: #f1b621; }
.dv-pill { display: inline-block; background: rgba(241,182,33,.16); color: #8a6a06; font-weight: 700; font-size: .74rem; padding: .18rem .6rem; border-radius: 4px; margin-right: .5rem; }

/* ── Honest capability band (replaces the legacy fabricated stat band) ──── */
.dv-band { padding: 52px 0; background: #1a1a2e; }
.dv-band .row > div { text-align: center; padding: .5rem 1rem; }
.dv-band .dv-band-head { color: #f1b621; font-weight: 800; font-size: 1.05rem; margin-bottom: .3rem; }
.dv-band .dv-band-num { color: #f1b621; font-weight: 800; font-size: 2.1rem; line-height: 1.1; margin-bottom: .35rem; }
.dv-band .dv-band-sub { color: rgba(255,255,255,.62); font-size: .82rem; line-height: 1.5; margin: 0; }

/* ── Dual CTA ───────────────────────────────────────────────────────────── */
.dv-dual-cta { padding: 72px 0; background: #f1b621; text-align: center; }
.dv-dual-cta h2 { font-size: 2rem; font-weight: 700; color: #1a1a2e; margin-bottom: .75rem; }
.dv-dual-cta p { font-size: 1.05rem; color: rgba(26,26,46,.78); max-width: 580px; margin: 0 auto 2rem; line-height: 1.7; }
.dv-dual-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 767px) {
    .dv-hero { padding: 64px 0 56px; }
    .dv-hero h1 { font-size: 1.95rem; }
    .dv-section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .dv-reveal { opacity: 1; transform: none; transition: none; }
}
