/* Case Study 03 — Predictive Analytics (slide-accurate layout) */

.cs03-page {
  background: #fff;
  color: #0f172a;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cs03-page .page-main {
  background: #fff;
}

.cs03-kicker {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00b8f1;
}

/* ── 1. Banner ── */
.cs03-hero {
  position: relative;
  overflow: hidden;
  padding: 3.75rem 0 2.75rem;
  background:
    radial-gradient(ellipse 52% 68% at 92% 28%, rgba(186, 230, 253, 0.42), transparent 64%),
    linear-gradient(180deg, #f4f9ff 0%, #f5f9ff 78%, #ffffff 100%);
}

.cs03-hero__dots {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(34%, 22rem);
  height: 42%;
  background-image: radial-gradient(#94a3b8 1.15px, transparent 1.35px);
  background-size: 13px 13px;
  opacity: 0.45;
  pointer-events: none;
}

.cs03-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .cs03-hero__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.25rem;
    min-height: 28rem;
  }
}

.cs03-hero__copy {
  max-width: 34rem;
}

.cs03-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  color: #64748b;
}

.cs03-hero__crumb a {
  color: #0891b2;
  text-decoration: none;
}

.cs03-hero__crumb a:hover {
  text-decoration: underline;
}

.cs03-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.15rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.cs03-hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  color: #334155;
}

.cs03-hero__meta strong {
  color: #0f172a;
  font-weight: 700;
}

.cs03-hero__meta-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  color: #00b8f1;
  flex-shrink: 0;
}

.cs03-hero__meta-icon .icon-lucide {
  width: 1.15rem;
  height: 1.15rem;
}

.cs03-hero__title {
  margin: 0;
  font-size: clamp(2.35rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.cs03-hero__title span {
  color: #00b8f1;
}

.cs03-hero__rule {
  width: 4.25rem;
  height: 0.38rem;
  margin: 1.15rem 0 1.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #e0f2fe);
}

.cs03-hero__lead {
  margin: 0;
  max-width: 28.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
}

.cs03-hero__art {
  position: relative;
  min-height: 18rem;
}

.cs03-hero__art img {
  display: block;
  width: 100%;
  max-width: 42rem;
  height: auto;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 991.98px) {
  .cs03-hero__art {
    min-height: 14rem;
  }
}

/* ── 2. Water / parking ── */
.cs03-water {
  position: relative;
  padding: 3.25rem 0 3.5rem;
  background: #fff;
}

.cs03-water__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cs03-water__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #0f172a;
}

.cs03-water__title span {
  color: #00b8f1;
}

.cs03-water__lead {
  margin: 0;
  font-size: 0.98rem;
  color: #64748b;
}

.cs03-water__layout {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 1100px) {
  .cs03-water__layout {
    grid-template-columns: minmax(15.5rem, 0.92fr) minmax(0, 1.2fr) minmax(16.5rem, 1.05fr);
    gap: 1.1rem;
  }
}

.cs03-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.35rem;
  box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.18);
}

.cs03-challenges {
  padding: 1.15rem 1.1rem 1.2rem;
}

.cs03-challenges__title {
  margin: 0 0 0.95rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.cs03-challenges__list,
.cs03-insights__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs03-challenges__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cs03-challenges__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1e293b;
}

.cs03-challenges__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: #2563eb;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
}

.cs03-challenges__icon .icon-lucide,
.cs03-challenges__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.cs03-monitor {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 16rem;
}

.cs03-monitor img {
  display: block;
  width: 100%;
  max-width: 46rem;
  height: auto;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}

.cs03-insights {
  padding: 1.15rem 1.15rem 1.2rem;
}

.cs03-insights__list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.cs03-insights__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.cs03-insights__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.15rem;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  color: #2563eb;
  background: #eff6ff;
  line-height: 0;
}

.cs03-insights__icon .icon-lucide,
.cs03-insights__icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.cs03-insights__item strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}

.cs03-insights__item > div > span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

.cs03-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.35rem;
  margin-top: 1.75rem;
  padding: 0.85rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.18);
}

.cs03-flow__step {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.cs03-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: #fff;
}

.cs03-flow__icon .icon-lucide {
  width: 1.1rem;
  height: 1.1rem;
}

.cs03-flow__icon--blue { background: #2563eb; }
.cs03-flow__icon--purple { background: #7c3aed; }
.cs03-flow__icon--cyan { background: #00b8f1; }
.cs03-flow__icon--green { background: #16a34a; }

.cs03-flow__arrow {
  width: 2.4rem;
  height: 0;
  border-top: 2px dotted #94a3b8;
  position: relative;
  flex-shrink: 0;
}

.cs03-flow__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  border: 5px solid transparent;
  border-left-color: #64748b;
}

@media (max-width: 767.98px) {
  .cs03-flow {
    border-radius: 1.25rem;
    justify-content: flex-start;
  }

  .cs03-flow__step {
    white-space: normal;
  }
}

/* ── 3. Impact ── */
.cs03-impact {
  padding: 2.5rem 0 4rem;
  background: #f8fafc;
}

.cs03-impact__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cs03-impact__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #0f172a;
}

.cs03-impact__title span {
  color: #00b8f1;
}

.cs03-impact__lead {
  margin: 0;
  font-size: 0.98rem;
  color: #64748b;
}

.cs03-impact__grid {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}

@media (min-width: 1100px) {
  .cs03-impact__grid {
    grid-template-columns: minmax(16rem, 0.95fr) minmax(0, 1.25fr) minmax(16rem, 0.95fr);
  }
}

.cs03-board {
  padding: 1.15rem 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 12px 32px -20px rgba(15, 23, 42, 0.2);
}

.cs03-board__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.cs03-board__head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.15rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  color: #fff;
  line-height: 0;
}

.cs03-board__head-icon .icon-lucide,
.cs03-board__head-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.cs03-board__head-icon--green { background: #16a34a; }
.cs03-board__head-icon--blue { background: #2563eb; }

.cs03-board__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cs03-board__item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #fff;
}

.cs03-board__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.85rem;
  width: 1.85rem;
  height: 1.85rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  line-height: 0;
}

.cs03-board__icon .icon-lucide,
.cs03-board__icon svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.cs03-board__icon--green {
  color: #16a34a;
  background: #ecfdf3;
}

.cs03-board__icon--blue {
  color: #2563eb;
  background: #eff6ff;
}

.cs03-board__item strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.12rem;
}

.cs03-board__item > div > span {
  display: block;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
}

.cs03-twin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 22rem;
}

.cs03-twin img {
  display: block;
  width: 100%;
  max-width: 40rem;
  height: auto;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}

.cs03-board__caption {
  margin: 0.95rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #64748b;
}

/* ── CTA ── */
.cs03-cta {
  padding: 2.5rem 0 4.5rem;
  background: #fff;
}

.cs03-cta__card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2rem 1.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(6, 182, 212, 0.12), transparent 58%),
    linear-gradient(135deg, #f0f9ff 0%, #ffffff 48%, #eef6ff 100%);
  box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.18);
}

@media (min-width: 768px) {
  .cs03-cta__card {
    padding: 2.5rem 2.75rem;
  }
}

.cs03-cta__glow {
  position: absolute;
  top: -5rem;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  opacity: 0.16;
  filter: blur(48px);
  pointer-events: none;
}

.cs03-cta__copy {
  position: relative;
  z-index: 1;
  max-width: 50rem;
}

.cs03-cta__copy .cs03-kicker {
  margin-bottom: 0.7rem;
}

.cs03-cta__copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0f172a;
}

.cs03-cta__copy h2 span {
  color: #00b8f1;
}

.cs03-cta__copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
}

.cs03-cta .btn-brand {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 0.75rem 1.45rem;
  box-shadow: 0 10px 24px -12px rgba(37, 99, 235, 0.55);
}

.cs03-cta .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(6, 182, 212, 0.5);
}

/* ── Responsive ── */
.cs03-page,
.cs03-page .page-main {
  overflow-x: clip;
}

.cs03-page .container-xl {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.cs03-hero__art img,
.cs03-monitor img,
.cs03-twin img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1099.98px) {
  .cs03-water__layout,
  .cs03-impact__grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .cs03-monitor,
  .cs03-twin {
    order: -1;
    min-height: 0;
  }

  .cs03-monitor img,
  .cs03-twin img {
    max-width: min(100%, 34rem);
  }
}

@media (min-width: 768px) and (max-width: 1099.98px) {
  .cs03-water__layout,
  .cs03-impact__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cs03-monitor,
  .cs03-twin {
    grid-column: 1 / -1;
    order: 0;
  }
}

@media (max-width: 991.98px) {
  .cs03-hero {
    padding: 2.75rem 0 1.75rem;
  }

  .cs03-hero__inner {
    gap: 1.25rem;
  }

  .cs03-hero__copy {
    max-width: none;
  }

  .cs03-hero__title {
    font-size: clamp(1.75rem, 6.5vw, 2.5rem);
  }

  .cs03-hero__lead {
    max-width: none;
    font-size: 0.95rem;
  }

  .cs03-hero__art {
    min-height: 0;
    width: 100%;
  }

  .cs03-hero__art img {
    max-width: min(100%, 28rem);
  }

  .cs03-hero__dots {
    width: min(55%, 16rem);
    height: 36%;
    opacity: 0.3;
  }

  .cs03-water,
  .cs03-impact {
    padding: 2.25rem 0 2.5rem;
  }

  .cs03-water__title,
  .cs03-impact__title {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
  }

  .cs03-water__head,
  .cs03-impact__head {
    flex-direction: column;
    gap: 0.65rem;
  }
}

@media (max-width: 767.98px) {
  .cs03-page .container-xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cs03-hero {
    padding: 2.25rem 0 1.35rem;
  }

  .cs03-hero__meta {
    margin: 1rem 0 1.15rem;
  }

  .cs03-hero__meta li {
    font-size: 0.875rem;
    align-items: flex-start;
  }

  .cs03-hero__rule {
    margin: 0.9rem 0 1rem;
  }

  .cs03-flow {
    flex-direction: column;
    align-items: stretch;
    border-radius: 1.15rem;
    gap: 0.85rem;
    padding: 1rem;
  }

  .cs03-flow__arrow {
    display: none;
  }

  .cs03-flow__step {
    width: 100%;
    white-space: normal;
  }

  .cs03-cta {
    padding: 1.75rem 0 2.75rem;
  }

  .cs03-cta__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
    gap: 1.15rem;
  }

  .cs03-cta .btn-brand {
    width: 100%;
  }

  .cs03-board,
  .cs03-insights,
  .cs03-challenges {
    padding: 1rem;
  }

  .cs03-twin {
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .cs03-hero__title {
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
  }

  .cs03-hero__art img,
  .cs03-monitor img,
  .cs03-twin img {
    max-width: 100%;
  }

  .cs03-board__item {
    padding: 0.65rem 0.7rem;
  }
}
