/* SOLUTIONS: three GTM layers as white cards with a sky-blue header band and an animated step track. Light sky.
   Red is kept to the "points" (ticks, step dots) and the buttons. */
.layers { margin-top: clamp(36px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.layer { display: grid; grid-template-rows: auto 1fr; background: #FFFFFF; border-radius: 16px; overflow: hidden;
  box-shadow: 0 28px 56px -32px rgba(26,110,159,.55), 0 0 0 1px rgba(26,110,159,.10) inset; transition: transform .25s, box-shadow .25s; }
.layer:hover { transform: translateY(-4px); box-shadow: 0 36px 70px -34px rgba(26,110,159,.7), 0 0 0 1px rgba(26,110,159,.10) inset; }

/* Sky-blue header band (same as the case study cards) */
.layer-band { display: flex; align-items: center; gap: 10px; background: var(--sky); color: #FFFFFF; padding: 14px 22px;
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.band-dot { width: 7px; height: 7px; border-radius: 50%; background: #FFFFFF; }
@media (prefers-reduced-motion: no-preference) { .band-dot { animation: blink 1.4s ease-in-out infinite; } }

.layer-body { display: flex; flex-direction: column; gap: 16px; padding: 22px clamp(18px, 2vw, 26px) 26px; }
.layer-top { display: flex; justify-content: space-between; align-items: center; }
.layer-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--sky); color: #FFFFFF; display: grid; place-items: center;
  box-shadow: 0 12px 24px -12px rgba(26,110,159,.8); transform: rotate(-4deg); }
.layer-ic svg { width: 26px; height: 26px; transform: rotate(4deg); }
.layer-num { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #141B24; display: grid; place-items: center; font: 400 18px/1 var(--display); color: #141B24; }
.layer h3 { font: 700 clamp(26px, 2.4vw, 32px)/1.1 "Poppins", system-ui, sans-serif; letter-spacing: -.02em; color: #141B24; }
.layer-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px;
  background: #FFFFFF; border: 1.5px solid rgba(26,110,159,.35); font: 600 13.5px/1.2 var(--body); color: #141B24; }
.layer-pill svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #E4F3FC; color: #1A6E9F; flex: none; }
.layer-desc { font: 400 15.5px/1.65 "Poppins", system-ui, sans-serif; color: #3E4955; }

/* Animated step track: dots fill sky blue one by one, like a GIF (driven by solutions-demo.js) */
.track { list-style: none; margin: 6px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.track::before, .track::after { content: ""; position: absolute; top: 10px; left: 10%; height: 2px; border-radius: 2px; }
.track::before { right: 10%; background: rgba(26,110,159,.18); }
.track::after { width: calc(80% * var(--p, 0)); background: var(--sky); transition: width .6s cubic-bezier(.4,0,.2,1); }
.track li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 9px; text-align: center; font: 500 11px/1.2 var(--mono); color: #55636E; }
.track li::before { content: ""; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; background: #FFFFFF; border: 2px solid rgba(26,110,159,.35); transition: all .35s; }
.track li.done::before { background: var(--sky); border-color: var(--sky); box-shadow: inset 0 0 0 4px #FFFFFF; }
.track li.now { color: #141B24; font-weight: 700; }
.track li.now::before { background: var(--sky); border-color: var(--sky); box-shadow: 0 0 0 6px rgba(44,153,214,.22); }

/* Checklist with red ticks */
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 32px; font: 500 15px/1.5 "Poppins", system-ui, sans-serif; color: #141B24; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--scarlet)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }

.layer-close { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(26,110,159,.18); font: 600 16px/1.45 "Poppins", system-ui, sans-serif; color: #141B24; }
.layer-btn { align-self: flex-start; }

/* CTA under the cards */
.sol-cta { flex-direction: column; align-items: center; gap: 14px; }
.sol-cta p { font: 600 clamp(18px, 1.6vw, 21px)/1.3 "Poppins", system-ui, sans-serif; color: #141B24; }

@media (max-width: 1080px) { .layers { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* Compact cards (no icon tile, number or closing line): fit the section on one screen.
   Ticks are sky blue; red stays on the step track and the button. */
.layer-band { padding: 12px 20px; }
.layer-body { gap: 12px; padding: 18px clamp(16px, 1.8vw, 22px) 22px; }
.layer h3 { font-size: clamp(22px, 2vw, 26px); }
.layer-desc { font-size: 14.5px; line-height: 1.6; }
.track { margin: 4px 0 0; }
.checks { gap: 8px; margin-top: 2px; }
.checks li { font-size: 14px; line-height: 1.45; padding-left: 28px; }
.checks li::before { width: 18px; height: 18px; top: 1px; background-color: var(--sky); background-size: 11px; }
.layer-btn { margin-top: auto; padding: 13px 18px; font-size: 15px; }
.layers { margin-top: clamp(28px, 3.5vw, 44px); }
