/* ==========================================================================
   Cloud Solutions (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: cloud over connected infrastructure (2026-08-17, Track
   B Cluster A; frame+fill fix 2026-08-17) — a literal infrastructure
   diagram: one cloud shape above 4 server-rack blocks, each connected
   upward by a stub line, matching this page's own subtitle (cloud
   infrastructure that removes the complexity of managing your own
   servers).

   Frame+fill fix: added an enclosing .cshv-frame (matching the site's
   established hero-visual convention — see it-consulting.css's comment
   for the full writeup); the cloud icon and 3-server row were both narrow
   centered elements leaving the left/right thirds of the box empty —
   widened the server row to 4 servers spread with a wider gap, spanning
   most of the frame's width instead of clustering at center. ---- */

.cshv-fallback {
    position: absolute;
    inset: 0;
}

.cshv-frame {
    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);
}

.cshv-cloud {
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.6rem;
    color: var(--accent, var(--da-teal-400));
}

.cshv-servers {
    position: absolute;
    bottom: 16%;
    left: 12%;
    right: 12%;
    display: flex;
    justify-content: space-between;
}

.cshv-server {
    position: relative;
    width: 42px;
    height: 58px;
    border-radius: 6px;
    background: var(--da-navy-700);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.cshv-server::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 1px;
    height: 26px;
    background: color-mix(in srgb, var(--da-white) 25%, transparent);
    transform: translateX(-50%);
}

/* ---- Shared section label / title pattern ---- */

/* ---- Overview ---- */

.cs-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

.cs-intro-text {
    font-size: 1.1rem;
    color: var(--da-gray-500);
    line-height: 1.8;
    width: 100%;
    max-width: 860px;
    margin-bottom: 0;
}

/* ---- Core Services ---- */

.cs-services {
    padding: 60px 0;
    background: var(--da-gray-100);
}

/* ---- Benefits + Consultation CTA ---- */

.cs-benefits {
    padding: 70px 0;
    background: var(--da-white);
}

.cs-consult-text {
    font-size: 0.98rem;
    color: var(--da-gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ---- Related practice areas ---- */

.cs-related {
    padding: 60px 0 70px;
    background: var(--da-gray-100);
}

/* ---- Closing CTA band ---- */

.cs-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.cs-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {

    .cs-hero-title {
        font-size: 2.1rem;
    }

    .cs-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .cs-section-title {
        font-size: 1.65rem;
    }

    .cs-consult-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .cs-hero-title {
        font-size: 1.75rem;
    }

    .cs-section-title {
        font-size: 1.5rem;
    }

    .cs-service-card,
    .cs-related-card {
        padding: 1.75rem;
    }

    .cs-consult-card {
        padding: 2rem 1.5rem;
    }

    .cs-cta-title {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-service-card,
    .cs-related-card,
    .cs-consult-cta,
    .cs-cta-actions a {
        transition: none;
    }

    .cs-service-card:hover,
    .cs-related-card:hover,
    .cs-consult-cta:hover,
    .cs-cta-actions a:hover {
        transform: none;
    }
}
