/* =====================================================================
   NCIA Services — premium UI system
   Loaded after css/style.css; reuses brand tokens (--ncia-red, --ncia-navy…).
   ===================================================================== */

:root {
    --svc-ink: #33414f;
    --svc-shadow: 0 24px 60px rgba(11, 31, 51, 0.10);
    --svc-shadow-sm: 0 10px 30px rgba(11, 31, 51, 0.07);
}

/* ============================== HERO ============================== */
.svc-hero { position: relative; isolation: isolate; padding: 175px 0 130px; color: #fff; overflow: hidden; }
.svc-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); }
.svc-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(720px 380px at 90% 4%, rgba(225, 37, 27, 0.36), transparent 60%),
        linear-gradient(115deg, rgba(8, 23, 38, 0.96) 0%, rgba(11, 31, 51, 0.88) 46%, rgba(11, 31, 51, 0.5) 100%);
}
.svc-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.42rem 0.95rem; border-radius: 999px; background: rgba(225, 37, 27, 0.18); border: 1px solid rgba(225, 37, 27, 0.45); color: #ffb3ae; font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; }
.svc-eyebrow svg { width: 14px; height: 14px; }
.svc-hero__title { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.08; margin: 1.2rem 0 1.1rem; max-width: 18ch; color: #fff; }
.svc-hero__sub { font-size: 1.15rem; line-height: 1.7; color: rgba(255, 255, 255, 0.86); max-width: 60ch; margin: 0 0 1.9rem; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.svc-hero__highlights { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.1rem; }
.svc-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.92); font-size: 0.85rem; font-weight: 600; }
.svc-pill svg { width: 16px; height: 16px; color: #ff8079; }

/* ============================ SHELL ============================ */
.svc-shell { position: relative; z-index: 2; margin-top: -84px; }
.svc-section { padding: 4.5rem 0; }
.svc-section--muted { background: linear-gradient(180deg, #f4f6f9, #eef1f5); }
.svc-section--navy { position: relative; overflow: hidden; background: linear-gradient(125deg, #081726, var(--ncia-navy) 55%, #12324f); color: #fff; }
.svc-section--navy::after { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 320px at 100% 0%, rgba(225, 37, 27, 0.28), transparent 60%); pointer-events: none; }
.svc-section--navy > .container { position: relative; z-index: 1; }

.svc-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.svc-kicker { display: inline-block; color: var(--ncia-red); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.6rem; }
.svc-section--navy .svc-kicker { color: #ff8079; }
.svc-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--ncia-navy); line-height: 1.18; margin: 0; }
.svc-section--navy .svc-title { color: #fff; }
.svc-lead { color: var(--svc-ink); font-size: 1.08rem; line-height: 1.8; margin: 0.9rem 0 0; }
.svc-section--navy .svc-lead { color: rgba(255, 255, 255, 0.82); }

/* ===================== INTRO SPLIT (problem) ===================== */
.svc-intro { display: grid; grid-template-columns: 5fr 7fr; gap: 2.6rem; align-items: center; }
.svc-intro__copy .svc-title { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }

.svc-panel {
    background: #fff;
    border: 1px solid var(--ncia-line);
    border-radius: 22px;
    box-shadow: var(--svc-shadow);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    animation: svcRise 0.5s ease both;
}
.svc-panel__title { font-size: 1.15rem; font-weight: 800; color: var(--ncia-navy); margin: 0 0 1.3rem; }

.svc-iconlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }
.svc-iconlist li { display: flex; gap: 0.95rem; align-items: flex-start; }
.svc-iconlist__ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(225, 37, 27, 0.12), rgba(225, 37, 27, 0.04)); color: var(--ncia-red); }
.svc-iconlist__ic svg { width: 21px; height: 21px; }
.svc-iconlist strong { display: block; font-size: 1rem; color: var(--ncia-navy); margin-bottom: 0.15rem; }
.svc-iconlist span { color: var(--svc-ink); font-size: 0.95rem; line-height: 1.6; }

/* ===================== APPROACH CARDS ===================== */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.svc-card {
    position: relative; overflow: hidden;
    background: #fff; border: 1px solid var(--ncia-line); border-radius: 20px;
    padding: 2rem 1.7rem 1.8rem;
    box-shadow: var(--svc-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--svc-shadow); border-color: rgba(225, 37, 27, 0.3); }
.svc-card__num { position: absolute; top: 0.6rem; right: 1.1rem; font-size: 3.4rem; font-weight: 900; line-height: 1; color: rgba(11, 31, 51, 0.06); }
.svc-card__ic { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ncia-red), #a61b14); color: #fff; box-shadow: 0 12px 26px rgba(225, 37, 27, 0.3); margin-bottom: 1.1rem; }
.svc-card__ic svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--ncia-navy); margin: 0 0 0.5rem; }
.svc-card p { color: var(--svc-ink); font-size: 0.97rem; line-height: 1.7; margin: 0; }

/* ===================== PROCESS TIMELINE ===================== */
.svc-timeline { display: grid; gap: 1rem; position: relative; }
.svc-tstep {
    display: flex; gap: 1.1rem; align-items: flex-start;
    background: #fff; border: 1px solid var(--ncia-line); border-radius: 16px;
    padding: 1.2rem 1.4rem; box-shadow: var(--svc-shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.svc-tstep:hover { transform: translateX(4px); box-shadow: var(--svc-shadow); }
.svc-tstep__node { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ncia-red), #a61b14); color: #fff; font-weight: 900; box-shadow: 0 10px 22px rgba(225, 37, 27, 0.3); }
.svc-tstep__body h4 { font-size: 1.05rem; font-weight: 800; color: var(--ncia-navy); margin: 0.15rem 0 0.35rem; }
.svc-tstep__body p { color: var(--svc-ink); font-size: 0.96rem; line-height: 1.65; margin: 0; }

/* ===================== METRICS ===================== */
.svc-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.svc-metric { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 1.8rem 1.4rem; text-align: center; backdrop-filter: blur(4px); }
.svc-metric strong { display: block; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; color: #fff; line-height: 1; }
.svc-metric span { display: block; margin-top: 0.6rem; color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; line-height: 1.45; }
/* metrics on light section */
.svc-section:not(.svc-section--navy) .svc-metric { background: #fff; border-color: var(--ncia-line); box-shadow: var(--svc-shadow-sm); }
.svc-section:not(.svc-section--navy) .svc-metric strong { background: linear-gradient(120deg, var(--ncia-red), #a61b14); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.svc-section:not(.svc-section--navy) .svc-metric span { color: var(--ncia-gray); }

/* ===================== CONTRAST LIST (who it's for) ===================== */
.svc-contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.svc-contrast__panel { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; padding: 1.6rem; }
.svc-contrast__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.svc-contrast__panel li { display: flex; gap: 0.85rem; align-items: flex-start; }
.svc-contrast__ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.1); color: #ff8079; }
.svc-contrast__ic svg { width: 20px; height: 20px; }
.svc-contrast__panel strong { display: block; color: #fff; margin-bottom: 0.15rem; }
.svc-contrast__panel span { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; line-height: 1.55; }

/* ===================== FEATURE / PHOTO SPLIT ===================== */
.svc-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.svc-feature__media { border-radius: 22px; min-height: 320px; background-size: cover; background-position: center; box-shadow: var(--svc-shadow); }

/* ============================ CTA ============================ */
.svc-cta { position: relative; overflow: hidden; background: linear-gradient(130deg, #081726, var(--ncia-navy) 55%, #12324f); color: #fff; border-radius: 26px; padding: clamp(2rem, 4vw, 3rem); box-shadow: 0 30px 70px rgba(11, 31, 51, 0.28); }
.svc-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(540px 320px at 100% 0%, rgba(225, 37, 27, 0.4), transparent 60%); pointer-events: none; }
.svc-cta > * { position: relative; z-index: 1; }
.svc-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin: 0 0 0.5rem; }
.svc-cta p { color: rgba(255, 255, 255, 0.86); margin: 0; font-size: 1.05rem; }

/* ============================ REVEAL ============================ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none; } .svc-hero__bg { transform: none; } }

@keyframes svcRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 991.98px) {
    .svc-intro, .svc-contrast, .svc-feature { grid-template-columns: 1fr; }
    .svc-hero { padding: 140px 0 100px; }
    .svc-feature__media { min-height: 240px; }
}
