/* ============================================================
   Solutions pages (overview + detail) — full redesign, built on
   the same component language as Home/About (reveal, media-
   placeholder, parallax-photo-band hero, numbered indices,
   overlapping stat strip, no gradients, no icons).
   ============================================================ */

/* ---- Hero: parallax photo band (same technique as the About hero) ---- */
.solutions-hero {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 52vh;
    display: flex;
    align-items: center;
    background: var(--color-navy);
    padding: 140px 0 72px;
}
.solutions-hero-bg {
    position: absolute;
    inset: -160px 0;
    z-index: 0;
}
.solutions-hero-bg .media-placeholder {
    width: 100%; height: 100%; border-radius: 0; border: none;
    animation: solutions-hero-bg-zoom 26s ease-in-out infinite alternate;
}
.solutions-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 60, 137, 0.78); /* flat navy tint, not a gradient */
}
@keyframes solutions-hero-bg-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
    .solutions-hero-bg .media-placeholder { animation: none; }
}
.solutions-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.solutions-hero-inner .tag { background: rgba(255,255,255,0.14); color: var(--color-white); margin-bottom: 18px; display: inline-block; }
.solutions-hero-inner .tag::after { background: var(--color-gold); }
.solutions-hero-inner h1 { color: var(--color-white); font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.14; margin-bottom: 18px; }
.solutions-hero-inner .lead { max-width: 640px; font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,0.85); margin: 0; }

/* Back link on the detail hero */
.back-link {
    display: inline-block;
    color: rgba(255,255,255,0.7);
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 18px;
    transition: color 0.2s ease, transform 0.2s ease;
}
.back-link:hover { color: var(--color-white); text-decoration: none; transform: translateX(-3px); }
.solutions-hero-detail .lead { margin-bottom: 0; }

/* ---- Overlapping stat strip (overview hero only) — same "negative
   spacing" bridge Home/About use; .stat-chip lives in global.css. ---- */
.solutions-hero-stats {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

/* ---- Solution area list: numbered index cards (.index-card/.index-num
   base lives in global.css) ---- */
.solutions-list { gap: 24px; }
.solution-list-card {
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.solution-list-tag { margin-bottom: 12px; width: fit-content; }
.solution-list-card h3 { margin-bottom: 8px; }
.solution-list-card p { color: var(--color-text-muted); margin-bottom: 14px; flex: 1; }

/* ---- Detail page: photo + copy split (same technique as the home
   Spotlight section) ---- */
.solution-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.solution-detail-media { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.solution-detail-media .media-placeholder { aspect-ratio: 4/3; }
.solution-detail-index { font-size: 2.6rem; margin-bottom: 14px; }
.solution-detail-copy p { font-size: 1.05rem; color: var(--color-text-muted); margin-bottom: 28px; max-width: 480px; }

/* ---- Other solutions: compact numbered mini-cards ---- */
.other-solutions-grid { gap: 20px; }
.solution-mini-card {
    text-align: center;
    padding: 28px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.solution-mini-card .index-num { margin: 0 auto 10px; }
.solution-mini-card h4 { margin: 0; font-size: 1rem; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .solutions-hero { flex-direction: column; align-items: flex-start; padding-bottom: 24px; }
    .solutions-hero-stats { grid-template-columns: repeat(2, 1fr); position: static; transform: none; margin-top: 32px; }
    .solutions-hero + .pt-overlap { padding-top: 64px; }
    .solution-detail-inner { grid-template-columns: 1fr; gap: 32px; }
    .other-solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .solutions-hero { padding: 120px 0 40px; min-height: auto; }
    .solutions-hero-stats { grid-template-columns: 1fr; }
    .solutions-list { grid-template-columns: 1fr; }
    .other-solutions-grid { grid-template-columns: 1fr; }
}