/* ==============================
   Section: pillars-deep
   ============================== */
#pillars-deep {
  height: 300vh;
  position: relative;
  background: var(--daatlers-canvas);
}
/* ── Shared report-card tokens ── */
#pillars-deep .pd-panel h3 {
  font-family: var(--font-main); font-weight: 900;
  font-size: clamp(1.6rem,3vw,2.4rem); line-height: 1.15;
  margin: 0 0 1rem;
}
#pillars-deep .pd-panel p {
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(27,28,25,0.7); margin: 0 0 1.25rem;
}
.pd-report, #pdInData { background: #fff; }
.pd-rpt-header {
  padding: .95rem 1.3rem; border-bottom: 2px solid rgba(27,28,25,0.08);
  display: flex; align-items: center; gap: .6rem;
}
.pd-rpt-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.7rem; height: 1.7rem; background: var(--daatlers-blue); border-radius: 5px;
}
.pd-rpt-title { font-family: var(--font-main); font-weight: 900; font-size: .95rem; color: #1B1C19; }
.pd-rpt-updated { margin-left: auto; font-family: var(--font-main); font-size: .6rem; color: rgba(27,28,25,0.35); }
.pd-src-row {
  padding: .35rem 1.3rem; display: flex; align-items: center; gap: .5rem;
  border-bottom: 1.5px solid rgba(27,28,25,0.06);
}
.pd-src-label {
  font-family: var(--font-main); font-size: .52rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(27,28,25,0.3);
}
.pd-src-badge {
  font-family: var(--font-main); font-size: .55rem; font-weight: 700;
  background: rgba(34,152,253,0.1); color: var(--daatlers-blue);
  padding: .15rem .4rem; border-radius: 4px;
}
.pd-kpi-row { display: flex; gap: 0; border-bottom: 1.5px solid rgba(27,28,25,0.06); }
.pd-kpi-cell { flex: 1; padding: .9rem 1rem; position: relative; overflow: hidden; }
.pd-kpi-cell + .pd-kpi-cell { border-left: 1.5px solid rgba(27,28,25,0.06); }
.pd-kpi-label {
  font-family: var(--font-main); font-size: .55rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(27,28,25,0.35); margin-bottom: .25rem;
}
.pd-kpi-val { font-family: var(--font-main); font-weight: 900; font-size: 1.5rem; color: #1B1C19; }
.pd-chart-wrap { padding: 1rem 1.3rem .8rem; border-bottom: 1.5px solid rgba(27,28,25,0.06); }
.pd-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.pd-bar { flex: 1; background: rgba(34,152,253,0.15); border-radius: 3px 3px 0 0; }
.pd-bar-current { background: var(--daatlers-blue); }
.pd-chart-labels { display: flex; gap: 8px; margin-top: .3rem; }
.pd-chart-lbl {
  flex: 1; font-family: var(--font-main); font-size: .48rem;
  color: rgba(27,28,25,0.3); text-align: center;
}
.pd-chart-lbl-current { color: var(--daatlers-blue); font-weight: 700; }
/* ── Layout ── */
#pillars-deep .pd-sticky {
  position: sticky;
  top: var(--nav-h, 56px);
  height: calc(100vh - var(--nav-h, 56px));
  height: calc(100svh - var(--nav-h, 56px));
  display: flex;
  align-items: stretch;
  justify-content: center;
  contain: layout style;
}
#pillars-deep .pd-sticky > .container {
  display: flex;
  align-items: stretch;
  position: relative;
  width: 100%;
  min-height: 0;
}
#pillars-deep .pd-text-col {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  align-items: center;
  padding: 0 clamp(2rem, 4vw, 4rem);
}
#pillars-deep .pd-text-inner {
  position: relative;
  width: 100%;
  display: grid;
  align-self: stretch;
}
#pillars-deep .pd-panel {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
#pillars-deep .pd-panel.pd-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#pillars-deep .pd-visual-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  min-width: 0;
  min-height: 0;
}

/* ── Scene + report card ── */
#pillars-deep .pd-scene {
  position: relative;
  width: clamp(420px, 44vw, 560px);
  max-width: 95%;
  display: flex;
  flex-direction: column;
  transform-origin: center center;
  opacity: 0;
  transform: translateY(-160px);
}
@media (min-width: 992px) {
  #pillars-deep .pd-sticky > .container {
    max-width: 92rem;
    gap: clamp(1.25rem, 2.5vw, 3rem);
  }
  #pillars-deep .pd-text-col {
    flex: 0 0 40%;
    max-width: 40%;
  }
  #pillars-deep .pd-panel p {
    max-width: 35rem;
  }
  #pillars-deep .pd-scene {
    width: clamp(500px, 40vw, 720px);
  }
  #pdProgressWrap {
    width: clamp(150px, 14vw, 220px);
  }
}
@media (min-width: 1440px) {
  #pillars-deep .pd-panel h3 {
    font-size: clamp(2rem, 2.6vw, 3rem);
    margin-bottom: 1.1rem;
  }
  #pillars-deep .pd-panel p {
    font-size: 1.14rem;
    line-height: 1.75;
  }
}
#pillars-deep .pd-report {
  padding: 0;
  overflow: visible;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-bottom-left-radius 0.18s, border-bottom-right-radius 0.18s;
}

/* ── Lego block: second card that snaps onto the report from below ── */
#pdInData {
  opacity: 0;
  transform: translateY(32px);
  will-change: transform, opacity, margin-top;
  border-top: 2.5px dashed rgba(34,152,253,0.4);
  transition: border-top 0.15s, border-radius 0.18s;
}

/* Snap bounce: incoming card thuds onto the report */
@keyframes pdSnapBounce {
  0%   { transform: translateY(0) scaleY(1); }
  22%  { transform: translateY(-5px) scaleY(0.966); }
  52%  { transform: translateY(1px) scaleY(1.018); }
  100% { transform: translateY(0) scaleY(1); }
}
#pillars-deep .pd-snap-go {
  animation: pdSnapBounce 0.42s cubic-bezier(0.22,1,0.36,1) forwards;
}
/* On snap: the two cards merge into one seamless card */
#pdCardStack {
  display: flex;
  flex-direction: column;
}
#pillars-deep.pd-snapped #pdCardStack {
  box-shadow: 8px 8px 0px 0px rgba(27,28,25,0.1);
  border-radius: 4px 12px 12px 4px;
}
#pillars-deep.pd-snapped #pdReport {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
  box-shadow: none !important;
  position: relative;
  z-index: 2;
}
#pillars-deep.pd-snapped #pdInData {
  border-top: none !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 4px !important;
  border-bottom-right-radius: 12px !important;
  box-shadow: none !important;
  margin-top: -3px !important;
  position: relative;
  z-index: 1;
}

/* ── Scroll progress bar ── */
#pdProgressWrap {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(120px, 18vw, 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
}
@media (max-height: 650px) and (min-width: 992px) {
  #pillars-deep .pd-text-col {
    padding: 0 clamp(1.25rem, 2.5vw, 2rem);
  }
  #pdProgressWrap {
    bottom: .75rem;
  }
  #pillars-deep.pd-stage-4b .pd-text-col,
  #pillars-deep.pd-stage-4b .pd-visual-col {
    align-items: flex-start;
    padding-top: .35rem;
    padding-bottom: .35rem;
  }
  #pillars-deep.pd-stage-4b #pdPhase4Left .pd-s4-grid {
    gap: .6rem;
  }
  #pillars-deep.pd-stage-4b #pdPhase4Left .pd-s4-card-wrap > div {
    padding: .95rem 1rem !important;
  }
  #pillars-deep.pd-stage-4b #pdPhase4Left .pd-s4-card-wrap p {
    font-size: .82rem !important;
    line-height: 1.35 !important;
    margin-bottom: .45rem !important;
  }
  #pillars-deep.pd-stage-4b #pdPhase4Left .pd-s4-card-wrap > div > div:first-child {
    margin-bottom: .55rem !important;
  }
  #pillars-deep.pd-stage-4b #pdPhase4Left .pd-s4-card-wrap > div > div:first-child > span:first-child {
    width: 1.8rem !important;
    height: 1.8rem !important;
    font-size: .72rem !important;
  }
  #pillars-deep.pd-stage-4b #pdPhase4Left .pd-s4-card-wrap > div > div:first-child > span:last-child {
    font-size: .98rem !important;
  }
  #pillars-deep.pd-stage-4b #pdPhase4Left .pd-s4-strip {
    margin-top: .5rem;
  }
  #pillars-deep.pd-stage-4b #pdS4Strip > div {
    padding-left: .8rem !important;
    padding-right: .8rem !important;
  }
  #pillars-deep.pd-stage-4b .pd-teams-bubble {
    display: none;
  }
  /* Compact text panels for short viewports (stages 1-3) */
  #pillars-deep .pd-panel h3 {
    font-size: clamp(1.15rem, 2.2vw, 1.6rem) !important;
    margin: 0 0 .5rem !important;
  }
  #pillars-deep .pd-panel p {
    font-size: .88rem !important;
    line-height: 1.45 !important;
    margin: 0 0 .75rem !important;
  }
  #pillars-deep .pd-step-label {
    font-size: .5rem !important;
    margin-bottom: .4rem !important;
  }
  /* Smaller scene for very short screens */
  #pillars-deep .pd-scene {
    width: clamp(320px, 38vw, 480px) !important;
  }
}
#pdProgressTrack {
  width: 100%;
  height: 3px;
  background: rgba(27,28,25,0.1);
  border-radius: 99px;
  overflow: hidden;
}
#pdProgressFill {
  height: 100%;
  width: 0%;
  background: var(--daatlers-blue);
  border-radius: 99px;
  transition: width 0.08s linear;
}
/* Scroll hint: always visible */
#pdScrollHint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  pointer-events: none;
}
#pdScrollHint span {
  font-family: var(--font-main);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(27,28,25,0.35);
}
#pdScrollHint svg {
  animation: pdScrollBounce 1.2s ease-in-out infinite;
}
@keyframes pdScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* ── KPI cell scan (scroll-driven) ── */
.pd-kpi-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(34,152,253,0.2) 50%, transparent 100%);
  transform: translateX(-110%);
  pointer-events: none;
  z-index: 5;
}

/* ── Cartoon impact burst lines at dock junction ── */
#pillars-deep .pd-impact-burst {
  position: relative;
  height: 0;
  overflow: visible;
  z-index: 5;
  pointer-events: none;
}
#pillars-deep .pd-iline {
  position: absolute;
  height: 2.5px;
  background: var(--daatlers-blue);
  border-radius: 2px;
  opacity: 0;
  transform: rotate(var(--angle, 0deg)) scaleX(0);
}
#pillars-deep .pd-il { transform-origin: right center; right: calc(100% + 5px); }
#pillars-deep .pd-ir { transform-origin: left center; left: calc(100% + 5px); }

#pillars-deep .pd-impact-burst.pd-burst .pd-iline {
  animation: pdBurstLine 0.5s ease-out forwards;
}
#pillars-deep .pd-impact-burst.pd-burst .pd-iline:nth-child(1),
#pillars-deep .pd-impact-burst.pd-burst .pd-iline:nth-child(4) { animation-delay: .03s; }
#pillars-deep .pd-impact-burst.pd-burst .pd-iline:nth-child(3),
#pillars-deep .pd-impact-burst.pd-burst .pd-iline:nth-child(6) { animation-delay: .07s; }

@keyframes pdBurstLine {
  0%   { opacity: 0; transform: rotate(var(--angle, 0deg)) scaleX(0); }
  18%  { opacity: 1; transform: rotate(var(--angle, 0deg)) scaleX(1); }
  55%  { opacity: 0.6; transform: rotate(var(--angle, 0deg)) scaleX(1.15); }
  100% { opacity: 0; transform: rotate(var(--angle, 0deg)) scaleX(1.4); }
}

/* ── Notification toast (stage 3, slides up) ── */
#pillars-deep .pd-teams-bubble {
  width: 50%;
  align-self: flex-end;
  opacity: 0;
  transform: translateY(24px);
  z-index: 10;
  pointer-events: none;
  margin-top: .5rem;
}
.pd-toast-inner {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  background: #fff;
  border: 1.5px solid rgba(27,28,25,0.1);
  border-left: 3px solid #ef4444;
  border-radius: 8px;
  padding: .45rem .6rem;
  box-shadow: 0 2px 12px rgba(27,28,25,0.08);
  position: relative;
}
.pd-toast-inner::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1.5px solid rgba(27,28,25,0.1);
  border-bottom: 1.5px solid rgba(27,28,25,0.1);
  transform: rotate(45deg);
  box-shadow: 2px 2px 4px rgba(27,28,25,0.04);
}
.pd-toast-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(239,68,68,0.08);
  border-radius: 50%;
  margin-top: .1rem;
}
.pd-toast-body {
  flex: 1; min-width: 0;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: .7rem;
  color: #1B1C19;
  line-height: 1.3;
}
.pd-toast-time {
  font-weight: 800;
  font-size: .5rem;
  color: rgba(27,28,25,0.4);
  margin-right: .3rem;
}

/* ── KPI margin turns red only after the scan marks the value ── */
#pillars-deep .pd-kpi-alert-val { color: #16a34a; transition: color 0.4s ease; }
#pillars-deep.pd-marked .pd-kpi-alert-val { color: #ef4444 !important; }
#pillars-deep .pd-kpi-alert-warn {
  opacity: 0; transition: opacity 0.6s ease; display: inline-flex;
  margin-left: .2rem; vertical-align: middle;
}
/* Info icon appears only after the scan flash marks the value */
#pillars-deep.pd-marked .pd-kpi-alert-warn { opacity: 1; }

/* ── Bad-value highlight ring: appears before notification bubble ── */
@keyframes pdHighlightPop {
  0%   { box-shadow: 0 0 0 0px rgba(239,68,68,0); }
  40%  { box-shadow: 0 0 0 5px rgba(239,68,68,0.35); }
  100% { box-shadow: 0 0 0 3px rgba(239,68,68,0.2); }
}
@keyframes pdValueShake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-3px); }
  40%     { transform: translateX(3px); }
  60%     { transform: translateX(-2px); }
  80%     { transform: translateX(2px); }
}
#pillars-deep .pd-highlight-go .pd-kpi-alert-val {
  animation: pdValueShake 0.38s ease forwards;
}
/* Red scan-line overlay that sweeps across the KPI cell to "mark" it */
#pdMarginCell {
  position: relative;
  overflow: hidden;
}
#pdMarginCell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(239,68,68,0.18) 50%, transparent 100%);
  transform: translateX(-110%);
  pointer-events: none;
  transition: transform 0s;
}
#pillars-deep.pd-marking #pdMarginCell::after {
  transform: translateX(110%);
  transition: transform 0.55s ease;
}

/* ── Progress dots ── */
#pillars-deep .pd-progress {
  position: absolute;
  left: clamp(.8rem, 1.5vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 2;
}
#pillars-deep .pd-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(34,152,253,0.25);
  background: transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
#pillars-deep .pd-dot.active {
  border-color: var(--daatlers-blue);
  background: var(--daatlers-blue);
  transform: scale(1.3);
}
#pillars-deep .pd-dot-line { width: 2px; height: 28px; background: rgba(34,152,253,0.12); }
#pillars-deep .pd-step-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--daatlers-blue);
  margin-bottom: .75rem;
}

/* ── Mobile: static stacked layout ── */
@media (max-width: 991.98px) {
  #pillars-deep {
    height: auto;
    padding: 2.5rem 0 2rem;
  }
  #pillars-deep .pd-sticky {
    position: static;
    height: auto;
    display: block;
    contain: none;
  }
  #pillars-deep .pd-sticky > .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0 1.25rem;
  }
  /* Hide the animated visual column entirely */
  #pillars-deep .pd-visual-col { display: none !important; }
  #pillars-deep .pd-progress { display: none !important; }
  #pdProgressWrap { display: none !important; }
  /* ── Static report clone (built by JS) ── */
  .pd-mob-report {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .pd-mob-report.pd-mob-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* ── Text column: stacked vertically ── */
  #pillars-deep .pd-text-col {
    flex: none;
    max-width: 100%;
    padding: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  #pillars-deep .pd-text-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  #pillars-deep .pd-panel {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: auto;
    position: static;
    grid-row: auto;
    grid-column: auto;
  }
  #pillars-deep .pd-panel.pd-mob-visible {
    opacity: 1;
    transform: translateY(0);
  }
  #pillars-deep .pd-step-label { margin-bottom: 0.3rem; font-size: .6rem; }
  #pillars-deep .pd-panel h3 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 0.4rem; }
  #pillars-deep .pd-panel p {
    font-size: 0.95rem; line-height: 1.5; margin: 0;
    display: block;
    line-clamp: unset;
    -webkit-line-clamp: unset;
  }
  /* Keep stage 4 heading aligned with the other panel titles on smaller screens */
  #pillars-deep .pd-panel h3.pd-s4-panel-heading {
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0 0 0.4rem;
    max-width: none;
    white-space: normal;
  }
  /* ── Phase 4 process cards: 1 per row ── */
  #pdPhase4Left {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    margin-top: .5rem;
  }
  #pdPhase4Left .pd-s4-grid {
    grid-template-columns: 1fr !important;
    gap: .8rem;
  }
  #pdPhase4Left .pd-s4-card-wrap {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  #pdPhase4Left .pd-s4-card-wrap.pd-mob-visible {
    opacity: 1 !important;
    transform: none !important;
  }
  #pdPhase4Left .pd-s4-card-wrap p {
    font-size: .95rem !important;
    line-height: 1.5 !important;
    margin-bottom: .4rem !important;
  }
  #pdPhase4Left .pd-s4-card-wrap > div {
    padding: 1.2rem 1.3rem !important;
  }
  #pdPhase4Left .pd-s4-strip { margin-top: .8rem; }
  #pdS4Strip {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  #pdS4Strip.pd-mob-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Portrait desktop (e.g. iPad Pro 1024x1366): use stacked layout ── */
@media (min-width: 992px) and (orientation: portrait) {
  #pillars-deep {
    height: auto !important;
    padding: 3rem 0 2.5rem;
  }
  #pillars-deep .pd-sticky {
    position: static;
    height: auto;
    display: block;
    contain: none;
  }
  #pillars-deep .pd-sticky > .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
  }
  #pillars-deep .pd-visual-col { display: none !important; }
  #pillars-deep .pd-progress { display: none !important; }
  #pdProgressWrap { display: none !important; }
  .pd-mob-report {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .pd-mob-report.pd-mob-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .pd-mob-report .svc-report { max-width: 400px; }
  #pillars-deep .pd-text-col {
    flex: none;
    max-width: 100%;
    padding: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  #pillars-deep .pd-text-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
  }
  #pillars-deep .pd-panel {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: auto;
    position: static;
    grid-row: auto;
    grid-column: auto;
  }
  #pillars-deep .pd-panel.pd-mob-visible {
    opacity: 1;
    transform: translateY(0);
  }
  #pillars-deep .pd-step-label { font-size: .8rem !important; margin-bottom: .5rem !important; }
  #pillars-deep .pd-panel h3 { font-size: 1.75rem !important; line-height: 1.2 !important; margin: 0 0 .6rem !important; }
  #pillars-deep .pd-panel p { font-size: 1.1rem !important; line-height: 1.55 !important; }
  #pillars-deep .pd-panel h3.pd-s4-panel-heading {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    margin: 0 0 .6rem !important;
    max-width: none !important;
    white-space: normal !important;
  }
  #pdPhase4Left {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    margin-top: .5rem;
  }
  #pdPhase4Left .pd-s4-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem;
  }
  #pdPhase4Left .pd-s4-card-wrap {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  #pdPhase4Left .pd-s4-card-wrap.pd-mob-visible {
    opacity: 1 !important;
    transform: none !important;
  }
  #pdPhase4Left .pd-s4-card-wrap p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
  #pdPhase4Left .pd-s4-card-wrap > div {
    padding: 1.4rem 1.5rem !important;
  }
  #pdPhase4Left .pd-s4-strip { margin-top: .8rem; }
  #pdS4Strip {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  #pdS4Strip.pd-mob-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Tablet: bigger text, 2-col process grid ── */
@media (min-width: 768px) and (max-width: 991.98px) {
  #pillars-deep { padding: 3rem 0 2.5rem; }
  #pillars-deep .pd-sticky > .container { padding: 0 2rem; }
  .pd-mob-report .svc-report { max-width: 400px; }
  #pillars-deep .pd-text-inner { gap: 2.5rem; }
  #pillars-deep .pd-step-label { font-size: .8rem !important; margin-bottom: .5rem !important; }
  #pillars-deep .pd-panel h3 { font-size: 1.75rem !important; line-height: 1.2 !important; margin: 0 0 .6rem !important; }
  #pillars-deep .pd-panel h3.pd-s4-panel-heading {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    margin: 0 0 .6rem !important;
    max-width: none !important;
    white-space: normal !important;
  }
  #pillars-deep .pd-panel p { font-size: 1.1rem !important; line-height: 1.55 !important; }
  #pdPhase4Left .pd-s4-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem;
  }
  #pdPhase4Left .pd-s4-card-wrap p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
  #pdPhase4Left .pd-s4-card-wrap > div {
    padding: 1.4rem 1.5rem !important;
  }
}

/* ── Stage 4: two sub-phases ── */
/* 4a: text panel "A jak to probíhá?" in normal two-column layout */
/* 4b: cards take over the left column, column widens */
#pdPhase4Left {
  display: none;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
#pdPhase4Left .pd-s4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.pd-s4-card-wrap { opacity: 0; }

/* ── Phase 4 panel heading ── */
@media (min-width: 992px) and (orientation: landscape) {
  #pillars-deep .pd-panel h3.pd-s4-panel-heading {
    font-family: var(--font-main);
    font-weight: 900;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    color: #1B1C19;
    line-height: 1.02;
    letter-spacing: -.03em;
    margin: 0;
    max-width: 10ch;
    white-space: normal;
  }
}

/* ── Phase 4 process cards ── */
.pd-s4-card-inner {
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
}
#pdS4C1 .pd-s4-card-inner { transform: rotate(-1.2deg); }
#pdS4C2 .pd-s4-card-inner { transform: rotate(.8deg); }
#pdS4C3 .pd-s4-card-inner { transform: rotate(-.6deg); }
#pdS4C4 .pd-s4-card-inner { transform: rotate(1deg); background: #FFD20C; }

.pd-s4-card-hd {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .7rem;
}
.pd-s4-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--daatlers-blue);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: .8rem;
  border-radius: 5px;
  flex-shrink: 0;
}
#pdS4C4 .pd-s4-step-num { background: #1B1C19; color: #FFD20C; }
.pd-s4-card-title {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.1rem;
  color: #1B1C19;
  line-height: 1.1;
}
.pd-s4-card-body {
  font-family: var(--font-body);
  font-size: .92rem;
  color: rgba(27,28,25,.6);
  line-height: 1.5;
  margin: 0 0 .6rem;
  flex: 1;
}
#pdS4C4 .pd-s4-card-body { color: rgba(27,28,25,.7); }
.pd-s4-footlabel {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: .52rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(27,28,25,.3);
}
#pdS4C4 .pd-s4-footlabel { color: rgba(27,28,25,.4); }

/* ── Blue stats strip ── */
#pdS4Strip {
  background: var(--daatlers-blue);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  overflow: hidden;
  opacity: 0;
}
.pd-s4-cell-head {
  padding: .65rem 1.1rem .15rem;
  font-family: var(--font-main);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.pd-s4-cell-val {
  padding: .15rem 1.1rem .65rem;
  font-family: var(--font-main);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.pd-s4-cell-val-big { font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: -.03em; }
.pd-s4-cell-val-sm  { font-size: clamp(.8rem, 1.8vw, 1rem); line-height: 1.2; }
.pd-s4-cell-br { border-right: 1.5px solid rgba(255,255,255,.15); }

/* ── ERP badge (starts hidden, JS animates opacity/transform) ── */
.pd-erp-badge {
  background: rgba(22,163,74,.12);
  color: #16a34a;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .4s ease, transform .4s ease;
}

/* ── Chart section label spacing ── */
.pd-chart-wrap .pd-kpi-label { margin-bottom: .6rem; }

/* ── Lego block: wider padding on its KPI cells ── */
#pdInData .pd-kpi-cell { padding: .8rem 1rem; }

#pdPhase4Left .pd-s4-strip {
  margin-top: .8rem;
  flex-shrink: 0;
}
/* Widen text-col only when cards show */
#pillars-deep.pd-stage-4b .pd-text-col {
  flex: 0 0 55%;
  max-width: 55%;
  transition: flex .4s ease, max-width .4s ease;
}
#pillars-deep.pd-stage-4b .pd-visual-col {
  transition: flex .4s ease;
}
/* Hide dots in stage 4 */
#pillars-deep.pd-stage-4 .pd-progress {
  opacity: 0;
  transition: opacity .3s ease;
}
#pillars-deep:not(.pd-stage-4) .pd-progress {
  transition: opacity .3s ease;
}

/* ── Tall portrait desktops (iPad Pro portrait and similar) ── */
@media (min-width: 992px) and (max-width: 1199.98px) and (min-height: 1000px) {
  #pillars-deep .pd-text-col {
    align-items: flex-start;
    padding-top: 8vh;
  }
  #pillars-deep .pd-text-inner {
    align-self: auto;
  }
  #pillars-deep .pd-panel {
    align-self: start;
  }
  #pillars-deep .pd-visual-col {
    align-items: flex-start;
    padding-top: 6vh;
  }
  #pillars-deep .pd-scene {
    transform-origin: center top;
  }
  #pillars-deep {
    height: 250vh;
  }
}

/* ==============================
   Section: stories
   ============================== */
#stories {
  background: #0d0e0b;
  padding: 5.5rem 0 6rem;
  overflow: visible;
  position: relative;
  z-index: 4;
}
#stories .stories-shell {
  max-width: 72rem;
  margin: 0 auto;
}
#stories .stories-heading {
  text-align: center;
  margin-bottom: 2.4rem;
}
#stories .stories-title {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #FAF9F4;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}
#stories .case-study-list {
  display: grid;
  gap: 1.4rem;
}
#stories .case-study-card {
  --case-shadow: #FFD20C;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(14rem, .72fr);
  align-items: start;
  gap: 1.3rem;
  background: #FAF9F4;
  padding: 1.55rem 1.55rem 1.45rem;
  box-shadow: 10px 10px 0 0 var(--case-shadow);
}
#stories .case-study-card[data-tone="blue"] {
  --case-shadow: var(--daatlers-blue);
}
#stories .case-study-card[data-tone="yellow"] {
  --case-shadow: #FFD20C;
}
#stories .case-study-card[data-tone="dark"] {
  --case-shadow: #1B1C19;
}
#stories .case-study-main {
  min-width: 0;
  display: grid;
  gap: .95rem;
}
#stories .case-study-head {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  align-items: start;
  margin-bottom: .2rem;
}
#stories .case-study-category {
  display: block;
  font-family: var(--font-main);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(27,28,25,0.42);
  margin: 0 0 .45rem;
}
#stories .case-study-title {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #1B1C19;
  margin: 0;
}
#stories .case-study-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem;
}
#stories .case-study-block {
  background: #fff;
  padding: 1rem 1rem 1.05rem;
  min-height: 100%;
}
#stories .case-study-block:nth-child(1) {
  transform: rotate(-0.7deg);
}
#stories .case-study-block:nth-child(2) {
  transform: rotate(0.55deg);
}
#stories .case-study-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .35rem .7rem;
  background: var(--daatlers-blue);
  border-radius: 7px;
  font-family: var(--font-main);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .55rem;
}
#stories .case-study-block p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(27,28,25,0.72);
  margin: 0;
}
#stories .case-study-block.result-block .case-study-label {
  background: #1B1C19;
  color: #FFD20C;
}
#stories .case-study-result {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(27,28,25,0.72);
  margin: 0;
}
#stories .case-study-aside {
  background: #FFD20C;
  padding: 1rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .95rem;
  align-self: center;
  justify-self: center;
  width: min(100%, 24rem);
  transform: rotate(0.55deg);
}
#stories .case-study-card[data-tone="blue"] .case-study-aside {
  background: var(--daatlers-blue);
  transform: rotate(0.55deg);
}
#stories .case-study-card[data-tone="blue"] .case-study-aside .case-study-label {
  background: #FFD20C;
  color: #1B1C19;
}
#stories .case-study-card[data-tone="blue"] .case-study-aside .case-study-result {
  color: rgba(250,249,244,0.94);
}
#stories .case-study-card[data-tone="blue"] .case-study-aside .case-study-tag {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.16);
  color: #FAF9F4;
}
#stories .case-study-card[data-tone="dark"] .case-study-aside {
  background: #1B1C19;
  transform: rotate(0.55deg);
}
#stories .case-study-card[data-tone="dark"] .case-study-aside .case-study-label {
  background: #FFD20C;
  color: #1B1C19;
}
#stories .case-study-card[data-tone="dark"] .case-study-aside .case-study-result {
  color: rgba(250,249,244,0.94);
}
#stories .case-study-card[data-tone="dark"] .case-study-aside .case-study-tag {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  color: #FAF9F4;
}
#stories .case-study-aside-copy {
  display: grid;
  gap: .2rem;
}
#stories .case-study-aside .case-study-label {
  background: #1B1C19;
  color: #FFD20C;
}
#stories .case-study-aside .case-study-result {
  color: rgba(27,28,25,0.84);
}
#stories .case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
#stories .case-study-tag {
  display: inline-flex;
  align-items: center;
  padding: .4rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(27,28,25,0.14);
  background: rgba(27,28,25,0.04);
  font-family: var(--font-main);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(27,28,25,0.82);
}
#stories .case-study-aside .case-study-tag {
  background: rgba(255,255,255,0.38);
}
@media (max-width: 991.98px) {
  #stories {
    padding: 4.5rem 0 5rem;
  }
  #stories .case-study-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.35rem;
  }
  #stories .case-study-block {
    transform: none !important;
  }
  #stories .case-study-aside {
    width: 100%;
    justify-self: stretch;
    transform: none;
  }
}
@media (max-width: 767.98px) {
  #stories .case-study-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  #stories .case-study-block p {
    font-size: .98rem;
    line-height: 1.62;
  }
  #stories .case-study-result {
    font-size: 1rem;
  }
}

/* ==============================
   Section: offers
   ============================== */
#offers {
  background: #f5f4ef;
  padding: 5.4rem 0 5.8rem;
  position: relative;
}
#offers .offers-shell {
  max-width: 82rem;
  margin: 0 auto;
}
#offers .offers-heading {
  max-width: 54rem;
  margin: 0 auto 2.65rem;
  text-align: center;
}
#offers .offers-title {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.8vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: #1B1C19;
  margin: 0;
}
#offers .offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
#offers .offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 23.5rem;
  padding: 1.65rem 1.65rem 1.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
#offers .offer-card:hover {
  text-decoration: none;
}
#offers .offer-card:focus-visible {
  outline: 3px solid #1B1C19;
  outline-offset: 4px;
}
#offers .offer-card[data-tone="cream"] {
  background: #FAF9F4;
}
#offers .offer-card[data-tone="blue"] {
  background: var(--daatlers-blue);
}
#offers .offer-card[data-tone="dark"] {
  background: #1B1C19;
}
#offers .offer-card[data-tone="yellow"] {
  background: #FFD20C;
}
#offers .offer-card[data-tilt="left"] {
  transform: rotate(-0.7deg);
}
#offers .offer-card[data-tilt="right"] {
  transform: rotate(0.7deg);
}
#offers .offer-top {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .8rem;
}
#offers .offer-title-row {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
#offers .offer-title-icon {
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  margin-top: .2rem;
  object-fit: contain;
}
#offers .offer-title-icon-badge {
  width: 2.7rem;
  height: 2.7rem;
  flex-shrink: 0;
  margin-top: .05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: .45rem;
}
#offers .offer-title-icon-badge .offer-title-icon {
  width: 1.9rem;
  height: 1.9rem;
  margin-top: 0;
}
#offers .offer-title {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(1.7rem, 2.9vw, 2.65rem);
  line-height: 1.03;
  letter-spacing: -.03em;
  margin: 0;
}
#offers .offer-card[data-tone="blue"] .offer-title,
#offers .offer-card[data-tone="dark"] .offer-title {
  color: #fff;
}
#offers .offer-card[data-tone="cream"] .offer-title,
#offers .offer-card[data-tone="yellow"] .offer-title {
  color: #1B1C19;
}
#offers .offer-tease {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.66;
}
#offers .offer-card[data-tone="blue"] .offer-tease,
#offers .offer-card[data-tone="dark"] .offer-tease {
  color: rgba(255,255,255,0.82);
}
#offers .offer-card[data-tone="cream"] .offer-tease,
#offers .offer-card[data-tone="yellow"] .offer-tease {
  color: rgba(27,28,25,0.74);
}
#offers .offer-bridge {
  position: relative;
  z-index: 1;
  margin: -.15rem 0 0;
  font-family: var(--font-main);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.48;
}
#offers .offer-card[data-tone="blue"] .offer-bridge,
#offers .offer-card[data-tone="dark"] .offer-bridge {
  color: rgba(255,255,255,0.92);
}
#offers .offer-card[data-tone="cream"] .offer-bridge,
#offers .offer-card[data-tone="yellow"] .offer-bridge {
  color: rgba(27,28,25,0.9);
}
#offers .offer-audience {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .7rem;
  margin-top: auto;
}
#offers .offer-audience-quote {
  margin: -.05rem 0 0;
  font-family: var(--font-body);
  font-size: .93rem;
  line-height: 1.5;
}
#offers .offer-card[data-tone="blue"] .offer-audience-quote,
#offers .offer-card[data-tone="dark"] .offer-audience-quote {
  color: rgba(255,255,255,0.82);
}
#offers .offer-card[data-tone="cream"] .offer-audience-quote,
#offers .offer-card[data-tone="yellow"] .offer-audience-quote {
  color: rgba(27,28,25,0.76);
}
#offers .offer-audience-title {
  font-family: var(--font-main);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#offers .offer-card[data-tone="blue"] .offer-audience-title,
#offers .offer-card[data-tone="dark"] .offer-audience-title {
  color: rgba(255,255,255,0.6);
}
#offers .offer-card[data-tone="cream"] .offer-audience-title,
#offers .offer-card[data-tone="yellow"] .offer-audience-title {
  color: rgba(27,28,25,0.42);
}
#offers .offer-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
#offers .offer-role {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
}
#offers .offer-card[data-tone="cream"] .offer-role,
#offers .offer-card[data-tone="yellow"] .offer-role {
  background: rgba(27,28,25,0.08);
  border: 1px solid rgba(27,28,25,0.12);
  color: rgba(27,28,25,0.88);
}
#offers .offer-card[data-tone="blue"] .offer-role,
#offers .offer-card[data-tone="dark"] .offer-role {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
}
#offers .offer-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .9rem;
  margin-top: .15rem;
  padding-top: 1rem;
  border-top: 1.5px solid rgba(27,28,25,0.12);
}
#offers .offer-card[data-tone="blue"] .offer-footer,
#offers .offer-card[data-tone="dark"] .offer-footer {
  border-top-color: rgba(255,255,255,0.14);
}
#offers .offer-jump {
  font-family: var(--font-main);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex-shrink: 0;
  display: inline-block;
  padding: .55rem 1.1rem;
  border: 3px solid #1B1C19;
  border-radius: 4px 10px 6px 8px;
  background: var(--daatlers-yellow);
  color: #1B1C19;
  box-shadow: 4px 4px 0 0 #1B1C19;
  transition: transform .15s ease, box-shadow .15s ease;
}
#offers .offer-card:hover .offer-jump {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 0 #1B1C19;
}
#offers .offer-card[data-tone="blue"] .offer-jump,
#offers .offer-card[data-tone="dark"] .offer-jump {
  color: #1B1C19;
  background: var(--daatlers-yellow);
}
#offers .offer-card[data-tone="cream"] .offer-jump,
#offers .offer-card[data-tone="yellow"] .offer-jump {
  color: #fff;
  background: #1B1C19;
  box-shadow: 4px 4px 0 0 var(--daatlers-blue);
}
#offers .offer-card[data-tone="yellow"]:hover .offer-jump,
#offers .offer-card[data-tone="cream"]:hover .offer-jump {
  box-shadow: 2px 2px 0 0 var(--daatlers-blue);
}
@media (max-width: 991.98px) {
  #offers {
    padding: 4.5rem 0 4.75rem;
  }
  #offers .offers-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #offers .offer-card {
    min-height: 0;
    transform: none !important;
  }
}
@media (max-width: 767.98px) {
  #offers .offers-heading {
    margin-bottom: 2rem;
  }
  #offers .offer-card {
    padding: 1.35rem 1.25rem 1.25rem;
  }
  #offers .offer-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==============================
   Section: services
   ============================== */
#services { background: #f5f4ef; }
#services .svc-section-title {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #1B1C19;
  line-height: 1.1;
  margin: 0;
}
#services .svc-section-title .svc-accent { color: #FFD20C; }
#services .svc-card-inner {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 2.5px solid #000;
  border-radius: 12px;
  overflow: hidden;
  min-height: 34rem;
}
#services .svc-card-cream { background: #FAF9F4; }
#services .svc-card-blue  { background: #2298FD; }
#services .svc-tool-icon  { width: 36px; height: 36px; flex-shrink: 0; }
#services .svc-card-h3 {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.3rem;
  margin: 0;
}
#services .svc-card-cream .svc-card-h3 { color: #1B1C19; }
#services .svc-card-blue .svc-card-h3  { color: #fff; }
#services .svc-card-intro { font-size: 1rem; }
#services .svc-card-cream .svc-card-intro { color: rgba(27,28,25,.72); }
#services .svc-card-blue .svc-card-intro  { color: rgba(255,255,255,.82); }
#services .svc-spec-label {
  display: block;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
#services .svc-card-cream .svc-spec-label { color: rgba(27,28,25,.42); margin-bottom: .5rem; }
#services .svc-card-blue .svc-spec-label  { color: rgba(255,255,255,.48); margin-bottom: .4rem; }
#services .svc-spec-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
  line-height: 1.75;
  font-size: .95rem;
}
#services .svc-card-cream .svc-spec-list { color: rgba(27,28,25,.82); }
#services .svc-card-blue .svc-spec-list  { color: rgba(255,255,255,.85); }
#services .svc-card-foot {
  border-top: 2.5px solid #000;
  padding: .875rem 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
#services .svc-card-cream .svc-card-foot { background: #FAF9F4; }
#services .svc-card-blue .svc-card-foot  { background: #fff; }
#services .svc-icon-list  { min-width: 0; }
#services .svc-rest-label {
  height: 26px;
  display: block;
  margin: 0 auto 2px;
  font-family: var(--font-main);
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: #1B1C19;
  line-height: 26px;
  white-space: nowrap;
}
#services .svc-more-label {
  font-size: .72rem;
  font-family: var(--font-main);
  font-weight: 700;
  color: rgba(27,28,25,.35);
  white-space: nowrap;
  margin-left: auto;
}

/* ==============================
   Section: contact/footer
   ============================== */
/* Reserve space for async-injected sections to reduce CLS */
#contact { min-height: 44rem; }
#footer-holder { min-height: 12rem; }
@media (max-width: 991.98px) {
  #contact { min-height: 56rem; }
}
