/* Approved stacked service sheets. Native sticky positioning, no scroll interception. */
.maz-stack {
  --stack-accent: #e8703f;
  --stack-line: rgba(255,255,255,.14);
  --stack-top: calc(14px + var(--offer-panel-height, 0px));
  background:
    radial-gradient(78% 60% at 77% 0%, rgba(226,78,40,.21), transparent 72%),
    radial-gradient(52% 46% at 0% 82%, rgba(226,78,40,.1), transparent 75%),
    linear-gradient(160deg,#22252a,#181a1d 70%);
  color: #fff;
  overflow: clip;
  font-family: var(--font-body);
  padding: clamp(32px,5vw,66px) 0 48px;
}
.maz-stack *, .maz-stack *::before, .maz-stack *::after { box-sizing: border-box; }
.maz-stack__wrap { width: min(100% - 48px,1152px); margin-inline: auto; }
.maz-stack__intro { display:grid; grid-template-columns:minmax(0,1.04fr) minmax(310px,.8fr); gap:clamp(32px,6vw,92px); align-items:end; margin-bottom:28px; }
.maz-stack__eyebrow { display:flex; align-items:center; gap:10px; color:var(--stack-accent); font-size:12px; font-weight:600; letter-spacing:.09em; line-height:1.3; margin:0 0 16px; text-transform:uppercase; }
.maz-stack__eyebrow::before { content:""; width:16px; height:1.5px; flex:0 0 auto; background:currentColor; }
.maz-stack__intro h2 { max-width:690px; color:#fff; font-size:clamp(34px,4.2vw,56px); font-weight:500; letter-spacing:-.04em; line-height:1.04; margin:0; }
.maz-stack__intro h2 em { color:var(--stack-accent); font-style:normal; }
.maz-stack__intro-aside > p { color:#c0c2c6; font-size:15px; line-height:1.62; margin:0; max-width:47ch; }
.maz-stack__intro-aside strong { color:#fff; font-weight:500; }
.maz-stack__index { display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:15px; }
.maz-stack__index a { display:inline-flex; align-items:baseline; gap:6px; color:#c0c2c6; font-size:11px; line-height:1.5; text-decoration:none; transition:color 180ms ease; }
.maz-stack__index a span:first-child { color:var(--stack-accent); font-variant-numeric:tabular-nums; }
.maz-stack__index a:hover { color:#fff; }
.maz-stack a:focus-visible { outline:2px solid #f3946b; outline-offset:4px; border-radius:2px; }
.maz-stack__sheets { display:grid; gap:12px; list-style:none; margin:0; padding:0 0 18px; }
.maz-stack__sheet {
  position:sticky; top:calc(var(--stack-top) + var(--sheet-index) * 39px);
  z-index:calc(5 + var(--sheet-index)); display:grid;
  grid-template-columns:minmax(0,.87fr) minmax(0,1fr); min-height:258px;
  overflow:hidden; border:1px solid var(--stack-line); border-radius:15px;
  background:linear-gradient(115deg,rgba(255,255,255,.035),transparent 40%),#202328;
  box-shadow:0 16px 35px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.045);
  scroll-margin-top:calc(var(--stack-top) + 10px + var(--sheet-index) * 39px);
  transform-origin:center top;
  transition:border-color 280ms ease,box-shadow 280ms ease,background-color 280ms ease;
}
.maz-stack__sheet:target, .maz-stack__sheet:focus-within { border-color:rgba(232,112,63,.72); box-shadow:0 16px 38px rgba(0,0,0,.25),inset 3px 0 0 var(--stack-accent); }
.maz-stack__sheet:focus-within { z-index:20; }
.maz-stack__sheet-head { position:relative; display:flex; flex-direction:column; justify-content:space-between; min-width:0; padding:22px 26px 24px; border-right:1px solid var(--stack-line); }
.maz-stack__number { color:var(--stack-accent); font-size:clamp(32px,4vw,52px); font-weight:500; letter-spacing:-.06em; line-height:.9; font-variant-numeric:tabular-nums; }
.maz-stack__heading { margin-top:28px; }
.maz-stack__service-name { display:block; color:#bfc1c5; font-size:12px; font-weight:500; line-height:1.4; margin-bottom:10px; }
.maz-stack__heading h3 { max-width:390px; color:#fff; font-size:clamp(21px,2.2vw,30px); font-weight:500; letter-spacing:-.035em; line-height:1.12; margin:0; }
.maz-stack__edge { display:none; }
.maz-stack__sheet-body { position:relative; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:27px clamp(23px,4vw,48px); }
.maz-stack__body-rule { width:29px; height:2px; margin-bottom:17px; background:var(--stack-accent); transform-origin:left center; transition:transform 320ms cubic-bezier(.16,1,.3,1); }
.maz-stack__sheet:hover .maz-stack__body-rule, .maz-stack__sheet:target .maz-stack__body-rule { transform:scaleX(1.55); }
.maz-stack__description { max-width:57ch; color:#d0d1d3; font-size:14px; line-height:1.62; margin:0; }
.maz-stack__features { display:flex; flex-wrap:wrap; gap:7px; list-style:none; margin:17px 0 19px; padding:0; }
.maz-stack__features li { border:1px solid rgba(255,255,255,.15); border-radius:5px; color:#dedfe1; font-size:11px; line-height:1.25; padding:6px 9px; }
.maz-stack__service-link { display:inline-flex; align-items:center; gap:9px; min-height:28px; color:#fff; font-size:12px; font-weight:500; text-decoration:none; }
.maz-stack__service-link svg { width:15px; height:15px; flex:0 0 auto; fill:none; stroke:var(--stack-accent); stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; transition:transform 180ms ease; }
.maz-stack__service-link:hover svg, .maz-stack__industry-all:hover span { transform:translateX(3px); }
.maz-stack__industries { display:grid; grid-template-columns:minmax(230px,.75fr) minmax(0,1.25fr); gap:clamp(26px,5vw,74px); border-top:1px solid var(--stack-line); margin-top:26px; padding-top:26px; }
.maz-stack__industry-copy .maz-stack__eyebrow { margin-bottom:12px; }
.maz-stack__industry-copy h3 { color:#fff; font-size:clamp(21px,2.3vw,29px); font-weight:500; letter-spacing:-.035em; line-height:1.12; margin:0 0 11px; }
.maz-stack__industry-copy > p:last-child { color:#bfc1c5; font-size:13px; line-height:1.55; margin:0; max-width:45ch; }
.maz-stack__industry-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; column-gap:20px; }
.maz-stack__industry-links a { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:40px; border-bottom:1px solid var(--stack-line); color:#e6e6e7; font-size:12px; line-height:1.35; text-decoration:none; transition:color 180ms ease; }
.maz-stack__industry-links a:hover { color:#fff; }
.maz-stack__industry-links .maz-stack__industry-all { grid-column:1/-1; justify-content:flex-start; gap:8px; border:0; color:var(--stack-accent); font-weight:500; padding-top:4px; }
.maz-stack__industry-all span { display:inline-block; transition:transform 180ms ease; }
.maz-stack__footer { display:flex; justify-content:space-between; align-items:center; gap:30px; border-top:1px solid var(--stack-line); margin-top:23px; padding-top:20px; }
.maz-stack__footer > p { max-width:58ch; color:#c5c6c9; font-size:13px; line-height:1.55; margin:0; }
.maz-stack__cta { display:flex; flex:0 0 auto; align-items:center; gap:10px; }
.maz-stack__button { display:inline-flex; min-height:43px; align-items:center; justify-content:center; gap:10px; border:1px solid transparent; border-radius:7px; font-size:12px; font-weight:500; line-height:1.2; padding:0 15px; text-decoration:none; transition:background 180ms ease,border-color 180ms ease,transform 180ms ease; }
.maz-stack__button:hover { transform:translateY(-2px); }
.maz-stack__button--primary { background:#b4400f; border-color:rgba(255,255,255,.18); color:#fff; }
.maz-stack__button--primary:hover { background:#9c3a15; }
.maz-stack__button--quiet { border-color:rgba(255,255,255,.24); color:#fff; }
.maz-stack__button--quiet:hover { background:rgba(255,255,255,.07); }
@media (min-width:900px) { .maz-stack__sheet { min-height:250px; } }
@media (max-width:760px) {
  .maz-stack { --stack-top:calc(10px + var(--offer-panel-height, 0px)); }
  .maz-stack__intro { grid-template-columns:1fr; gap:18px; }
  .maz-stack__intro-aside > p { max-width:66ch; }
  .maz-stack__index { max-width:560px; }
  .maz-stack__sheet { top:calc(var(--stack-top) + var(--sheet-index) * 34px); grid-template-columns:minmax(0,.82fr) minmax(0,1fr); min-height:246px; scroll-margin-top:calc(var(--stack-top) + 8px + var(--sheet-index) * 34px); }
  .maz-stack__sheet-head { padding:19px 18px 20px; }
  .maz-stack__sheet-body { padding:21px 20px; }
  .maz-stack__industries { grid-template-columns:1fr; gap:15px; }
  .maz-stack__footer { align-items:flex-start; }
}
@media (max-width:520px) {
  .maz-stack { --stack-top:calc(8px + var(--offer-panel-height, 0px)); padding-top:27px; }
  .maz-stack__wrap { width:calc(100% - 32px); }
  .maz-stack__intro { gap:14px; margin-bottom:20px; }
  .maz-stack__eyebrow { font-size:10px; margin-bottom:12px; }
  .maz-stack__intro h2 { font-size:clamp(33px,9vw,43px); max-width:390px; }
  .maz-stack__intro-aside > p { font-size:13px; line-height:1.55; }
  .maz-stack__index { gap:4px 12px; margin-top:11px; }
  .maz-stack__index a { font-size:10px; }
  .maz-stack__sheets { gap:9px; }
  .maz-stack__sheet { top:calc(var(--stack-top) + var(--sheet-index) * 31px); display:block; min-height:0; border-radius:12px; scroll-margin-top:calc(var(--stack-top) + 4px + var(--sheet-index) * 31px); }
  .maz-stack__sheet-head { min-height:99px; padding:13px 15px 15px; border-right:0; border-bottom:1px solid var(--stack-line); }
  .maz-stack__number { font-size:28px; }
  .maz-stack__heading { margin-top:10px; padding-right:30px; }
  .maz-stack__service-name { font-size:10px; margin-bottom:4px; }
  .maz-stack__heading h3 { max-width:32ch; font-size:clamp(17px,4.7vw,21px); line-height:1.12; }
  .maz-stack__edge { position:absolute; right:14px; top:14px; display:flex; align-items:center; gap:7px; color:#a8aaae; font-size:9px; font-variant-numeric:tabular-nums; }
  .maz-stack__edge-line { width:20px; height:1px; background:var(--stack-accent); }
  .maz-stack__sheet-body { display:block; padding:14px 15px 16px; }
  .maz-stack__body-rule { width:20px; margin-bottom:10px; }
  .maz-stack__description { font-size:12px; line-height:1.5; }
  .maz-stack__features { gap:5px; margin:11px 0 12px; }
  .maz-stack__features li { font-size:9px; padding:5px 7px; }
  .maz-stack__service-link { min-height:25px; font-size:11px; }
  .maz-stack__industries { margin-top:22px; padding-top:21px; }
  .maz-stack__industry-copy h3 { font-size:23px; }
  .maz-stack__industry-links { column-gap:12px; }
  .maz-stack__industry-links a { min-height:42px; font-size:11px; }
  .maz-stack__footer { display:block; margin-top:19px; padding-top:17px; }
  .maz-stack__footer > p { font-size:12px; }
  .maz-stack__cta { display:flex; margin-top:14px; }
  .maz-stack__button { min-height:42px; padding-inline:12px; font-size:11px; }
}
/* Short screens / zoom and reduced-motion retain every service without overlap. */
@media (max-height:650px), (prefers-reduced-motion:reduce) {
  .maz-stack__sheet { position:relative; top:auto; }
}
@media (prefers-reduced-motion:reduce) {
  .maz-stack *, .maz-stack *::before, .maz-stack *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
