/* ==========================================================================
   Software Development (child page of the IT Consulting hub) styles
   Uses tokens from css/brand-v1.6.css. Master-brand / cross-platform page,
   so accents stay Navy + Teal — never Indigo or Coral here.
   ========================================================================== */

/* ---- Hero visual: code-editor window (2026-08-17, Track B Cluster A;
   frame+fill fix 2026-08-17) — a literal "custom-built" visual, matching
   this page's own headline (custom software built around your business).
   Syntax-toned bars (indented, varied width/color) inside browser-style
   chrome — distinct chrome content from every other browser-frame visual
   on the site (a chart, here it's code).

   Frame+fill fix: this page already had a genuine border, but at 80%/66%
   centered it left a visible margin around the window instead of matching
   the site's full-bleed frame convention (see it-consulting.css's comment
   for the full writeup) — changed to inset:0 so the window itself IS the
   frame, same as every other Cluster A page after the fix. ---- */

.sdhv-fallback {
    position: absolute;
    inset: 0;
}

.sdhv-editor {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sdhv-editor-bar {
    display: flex;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sdhv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--da-white) 25%, transparent);
}

.sdhv-editor-body {
    flex: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
}

.sdhv-code-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sdhv-code-indent {
    width: 1.4rem;
    flex-shrink: 0;
}

.sdhv-code-token {
    height: 7px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--da-white) 30%, transparent);
    width: 40%;
}

.sdhv-code-token--kw {
    background: var(--accent, var(--da-teal-400));
    width: 20%;
}

.sdhv-code-token--fn {
    width: 32%;
}

.sdhv-code-token--str {
    background: color-mix(in srgb, var(--da-white) 20%, transparent);
    width: 55%;
}

/* ---- Shared section label / title pattern ---- */

/* ---- Overview ---- */

.sd-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

/* ---- Development Approach ---- */

.sd-approach {
    padding: 50px 0 60px;
    background: var(--da-white);
}

.sd-approach-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--da-gray-100);
    border: 1.5px solid rgba(1, 76, 67, 0.3);
    color: var(--da-navy-900);
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sd-approach-chip i {
    color: var(--da-teal-600);
    transition: color 0.25s ease;
}

.sd-approach-chip:hover {
    background: var(--da-teal-600);
    border-color: var(--da-teal-600);
    color: var(--da-white);
    transform: translateY(-2px);
}

.sd-approach-chip:hover i {
    color: var(--da-white);
}

/* ---- Core Technologies ---- */

.sd-tech {
    padding: 60px 0;
    background: var(--da-gray-100);
}

/* ---- Benefits + Consultation CTA ---- */

.sd-benefits {
    padding: 70px 0;
    background: var(--da-white);
}

.sd-consult-text {
    font-size: 0.98rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ---- Related practice areas ---- */

.sd-related {
    padding: 60px 0 70px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.sd-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.sd-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {

    .sd-hero-title {
        font-size: 2.1rem;
    }

    .sd-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .sd-section-title {
        font-size: 1.65rem;
    }

    .sd-consult-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .sd-hero-title {
        font-size: 1.75rem;
    }

    .sd-section-title {
        font-size: 1.5rem;
    }

    .sd-tech-card,
    .sd-related-card {
        padding: 1.75rem;
    }

    .sd-consult-card {
        padding: 2rem 1.5rem;
    }

    .sd-cta-title {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sd-tech-card,
    .sd-related-card,
    .sd-approach-chip,
    .sd-consult-cta,
    .sd-cta-actions a {
        transition: none;
    }

    .sd-tech-card:hover,
    .sd-related-card:hover,
    .sd-approach-chip:hover,
    .sd-consult-cta:hover,
    .sd-cta-actions a:hover {
        transform: none;
    }
}
