:root {
  --b2b-surface: rgba(255, 252, 246, 0.92);
  --b2b-surface-strong: rgba(255, 248, 239, 0.98);
  --b2b-line: rgba(16, 35, 61, 0.1);
  --b2b-shadow: 0 24px 60px rgba(16, 35, 61, 0.1);
}

.b2b-promo-page #promo-hero {
  min-height: clamp(420px, 72vh, 640px);
  padding: 7.6rem 0 3.8rem;
  background:
    radial-gradient(circle at top left, rgba(185, 77, 40, 0.26), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.1), transparent 20%),
    linear-gradient(135deg, rgba(14, 33, 50, 0.88), rgba(16, 35, 61, 0.6)),
    url("../img/mk_banner_new.jpg") center/cover no-repeat;
}

.b2b-promo-page #promo-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 1.05rem;
  align-items: stretch;
}

.hero-b2b-panel {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(11, 28, 43, 0.58), rgba(11, 28, 43, 0.4));
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(4, 16, 29, 0.24);
}

.hero-b2b-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.62fr;
  gap: 0.85rem;
  min-height: 100%;
}

.hero-b2b-main-shot,
.hero-b2b-side-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(4, 16, 29, 0.2);
  backdrop-filter: blur(12px);
}

.hero-b2b-main-shot {
  animation: scaleIn 0.9s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-b2b-side-card:first-child {
  animation: scaleIn 0.9s 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-b2b-side-card:last-child {
  animation: scaleIn 0.9s 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-b2b-main-shot::before,
.hero-b2b-side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.28) 28%, transparent 44%);
  transform: translateX(-140%);
  pointer-events: none;
}

.hero-b2b-main-shot:hover::before,
.hero-b2b-side-card:hover::before {
  animation: b2bShineSweep 1.15s ease;
}

.hero-b2b-main-shot img,
.hero-b2b-side-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 0.7rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-b2b-main-shot:hover img,
.hero-b2b-side-card:hover img {
  transform: scale(1.045);
}

.hero-b2b-main-shot {
  min-height: 100%;
}

.hero-b2b-side-shots {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
}

.hero-b2b-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 0.18rem;
  padding: 1rem;
  color: #fff8ef;
  background: linear-gradient(180deg, rgba(11, 28, 43, 0.04), rgba(11, 28, 43, 0.76));
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform: translateY(8px);
}

.hero-b2b-caption strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.hero-b2b-caption span {
  font-size: 0.9rem;
  color: rgba(255, 247, 238, 0.86);
  line-height: 1.45;
}

.hero-b2b-main-shot:hover .hero-b2b-caption {
  transform: translateY(0);
}

.hero-b2b-panel .eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.82rem;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-b2b-panel .eyebrow {
  margin-bottom: 1rem;
  color: #fff5eb;
  background: rgba(185, 77, 40, 0.26);
  border: 1px solid rgba(255, 236, 222, 0.16);
}

.hero-b2b-panel h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.hero-b2b-panel .lead {
  max-width: 690px;
  color: rgba(255, 247, 238, 0.92);
  margin-bottom: 1.3rem;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  color: rgba(255, 248, 239, 0.94);
}

.value-list i {
  margin-top: 0.25rem;
  color: #f6b087;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.section-kicker {
  margin-bottom: 1rem;
  color: var(--secondary-dark);
  background: rgba(185, 77, 40, 0.1);
  border: 1px solid rgba(185, 77, 40, 0.16);
}

.editorial-shell,
.premium-card,
.faq-surface,
.timeline-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--b2b-line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--b2b-surface));
  box-shadow: var(--b2b-shadow);
}

.editorial-shell {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.editorial-shell h2,
.section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--secondary-dark);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.editorial-shell p,
.section-head p,
.faq-copy p,
.timeline-card p,
.why-node p,
.premium-card p,
.use-node p {
  color: var(--muted);
  line-height: 1.72;
}

.readmore-content.is-collapsed {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.42s ease, opacity 0.32s ease;
}

.readmore-content.is-expanded {
  opacity: 1;
  transition: max-height 0.48s ease, opacity 0.34s ease;
}

.readmore-toggle {
  margin-top: 1rem;
  padding: 0.82rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 60, 85, 0.08);
  color: var(--secondary-dark);
  font-weight: 700;
}

@keyframes b2bStaggerFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes b2bShineSweep {
  from {
    transform: translateX(-140%) skewX(-18deg);
  }
  to {
    transform: translateX(220%) skewX(-18deg);
  }
}

.diagram-shell {
  margin-top: 1.8rem;
  padding: 1.3rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 239, 0.92)),
    radial-gradient(circle at top right, rgba(185, 77, 40, 0.1), transparent 26%);
  border: 1px solid var(--b2b-line);
}

.diagram-title {
  margin-bottom: 1rem;
  color: var(--secondary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.staircase-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.stair-node {
  position: relative;
  min-height: 184px;
  padding: 1.25rem;
  border: 1px solid rgba(18, 60, 85, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 241, 233, 0.96));
  box-shadow: 0 18px 36px rgba(16, 35, 61, 0.08);
}

.stair-node::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -12px;
  height: 18px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(16, 35, 61, 0.08), rgba(16, 35, 61, 0.02));
  z-index: -1;
}

.stair-1 {
  margin-top: 108px;
}

.stair-2 {
  margin-top: 72px;
}

.stair-3 {
  margin-top: 36px;
}

.stair-4 {
  margin-top: 0;
}

.stair-4::before {
  display: none;
}

.step-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 0.36rem 0.72rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: rgba(185, 77, 40, 0.14);
  color: #8b3e21;
  font-size: 0.78rem;
  font-weight: 700;
}

.stair-node strong,
.premium-card h3,
.timeline-card h3 {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--secondary-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.26rem;
}

.promo-gallery img,
.card-collage img,
.gallery-main-image,
.gallery-thumb {
  width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  border: 1px solid rgba(18, 60, 85, 0.1);
  background: #ffffff;
}

.promo-gallery img {
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 0.5rem;
}

.promo-visual-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0.8rem;
  border: 1px solid rgba(18, 60, 85, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 241, 233, 0.96));
  box-shadow: 0 14px 30px rgba(16, 35, 61, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.promo-visual-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.8rem;
  color: var(--secondary-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.promo-visual-card figcaption span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(185, 77, 40, 0.12);
  color: #8b3e21;
  font-size: 0.74rem;
}

.section-head {
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.premium-card,
.timeline-card,
.use-node,
.why-node,
.faq-accordion .accordion-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.premium-card::after,
.timeline-card::after,
.use-node::after,
.why-node::after,
.promo-visual-card::after,
.faq-accordion .accordion-item::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -140%;
  width: 38%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.premium-card {
  height: 100%;
  padding: 1.35rem;
}

.premium-card:hover,
.timeline-card:hover,
.use-node:hover,
.why-node:hover,
.promo-visual-card:hover,
.faq-accordion .accordion-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(24, 33, 47, 0.14);
  border-color: rgba(185, 77, 40, 0.18);
}

.premium-card:hover::after,
.timeline-card:hover::after,
.use-node:hover::after,
.why-node:hover::after,
.promo-visual-card:hover::after,
.faq-accordion .accordion-item:hover::after {
  opacity: 1;
  animation: b2bShineSweep 0.65s ease forwards;
}

.premium-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.card-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.7rem;
  margin: 1rem 0;
  align-items: stretch;
}

.card-collage img {
  width: 100%;
  height: 132px;
  padding: 0.4rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.matrix-wrap {
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 220px repeat(3, minmax(180px, 1fr));
  gap: 0.8rem;
  min-width: 860px;
}

.matrix-cell {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(18, 60, 85, 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
}

.matrix-head {
  background: linear-gradient(135deg, var(--secondary-dark), #204d68);
  color: #fff;
  font-weight: 700;
}

.matrix-side {
  background: rgba(185, 77, 40, 0.08);
  color: var(--secondary-dark);
  font-weight: 700;
}

.faq-accordion,
.nested-accordion {
  --bs-accordion-border-color: transparent;
  --bs-accordion-bg: transparent;
  --bs-accordion-btn-focus-border-color: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
}

.faq-accordion .accordion-item,
.nested-accordion .accordion-item {
  margin-bottom: 1rem;
  border: 1px solid var(--b2b-line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 252, 246, 0.78);
  box-shadow: 0 16px 40px rgba(16, 35, 61, 0.08);
}

.faq-accordion .accordion-button,
.nested-accordion .accordion-button {
  padding: 1.15rem 1.25rem;
  background: transparent;
  color: var(--secondary-dark);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.faq-accordion .accordion-button:not(.collapsed),
.nested-accordion .accordion-button:not(.collapsed) {
  background: rgba(18, 60, 85, 0.06);
  color: var(--secondary-dark);
  box-shadow: none;
}

.faq-accordion .accordion-body,
.nested-accordion .accordion-body {
  padding: 1.2rem 1.25rem 1.35rem;
}

.faq-surface {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  padding: 1.2rem;
}

.faq-copy h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--secondary-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
}

.use-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.use-node {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(18, 60, 85, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
}

.use-node .badge {
  margin-bottom: 0.75rem;
  background: rgba(185, 77, 40, 0.12);
  color: #8b3e21;
  border: 1px solid rgba(185, 77, 40, 0.18);
}

.use-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 0.95rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 233, 0.98));
  border: 1px solid rgba(18, 60, 85, 0.1);
  box-shadow: 0 16px 34px rgba(16, 35, 61, 0.08);
}

.use-icon i {
  color: #8b3e21;
  font-size: 2rem;
}

.why-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

.why-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.why-node {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  text-align: center;
  border-radius: 22px;
  border: 1px solid rgba(18, 60, 85, 0.1);
  background: rgba(255, 255, 255, 0.84);
}

.why-node i {
  display: block;
  margin-bottom: 0.65rem;
  color: #8b3e21;
  font-size: 1.2rem;
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card {
  padding: 1.1rem;
}

.timeline-step {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: #8b3e21;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.promo-gallery-modal .modal-content {
  border: 1px solid rgba(18, 60, 85, 0.08);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.98));
}

.gallery-main-image {
  height: min(65vh, 620px);
  padding: 0.75rem;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.gallery-thumb {
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 0.3rem;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.b2b-promo-page .showcase-mosaic .mosaic-tile img {
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  padding: 0.35rem;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(185, 77, 40, 0.44);
}

.reveal.visible .premium-card,
.reveal.visible .promo-visual-card,
.reveal.visible .use-node,
.reveal.visible .why-node,
.reveal.visible .timeline-card,
.reveal.visible .faq-accordion > .accordion-item {
  opacity: 0;
  animation: b2bStaggerFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal.visible .premium-card:nth-child(1),
.reveal.visible .promo-visual-card:nth-child(1),
.reveal.visible .use-node:nth-child(1),
.reveal.visible .why-node:nth-child(1),
.reveal.visible .timeline-card:nth-child(1),
.reveal.visible .faq-accordion > .accordion-item:nth-child(1) { animation-delay: 0.05s; }

.reveal.visible .premium-card:nth-child(2),
.reveal.visible .promo-visual-card:nth-child(2),
.reveal.visible .use-node:nth-child(2),
.reveal.visible .why-node:nth-child(2),
.reveal.visible .timeline-card:nth-child(2),
.reveal.visible .faq-accordion > .accordion-item:nth-child(2) { animation-delay: 0.15s; }

.reveal.visible .premium-card:nth-child(3),
.reveal.visible .promo-visual-card:nth-child(3),
.reveal.visible .use-node:nth-child(3),
.reveal.visible .why-node:nth-child(3),
.reveal.visible .timeline-card:nth-child(3),
.reveal.visible .faq-accordion > .accordion-item:nth-child(3) { animation-delay: 0.25s; }

.reveal.visible .premium-card:nth-child(4),
.reveal.visible .promo-visual-card:nth-child(4),
.reveal.visible .why-node:nth-child(4),
.reveal.visible .timeline-card:nth-child(4),
.reveal.visible .faq-accordion > .accordion-item:nth-child(4) { animation-delay: 0.35s; }

@media (max-width: 991.98px) {
  .staircase-diagram,
  .timeline-grid,
  .faq-surface,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staircase-diagram {
    align-items: stretch;
  }

  .stair-1,
  .stair-2,
  .stair-3,
  .stair-4 {
    margin-top: 0;
  }

  .stair-node::before {
    display: none;
  }

  .use-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .b2b-promo-page #promo-hero {
    padding-top: 6.8rem;
    min-height: auto;
  }

  .b2b-promo-page #promo-hero .container,
  .hero-b2b-mosaic {
    grid-template-columns: 1fr;
  }

  .hero-b2b-side-shots {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .hero-actions,
  .card-actions {
    flex-direction: column;
  }

  .staircase-diagram,
  .timeline-grid,
  .faq-surface,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .stair-2,
  .stair-3,
  .stair-4 {
    margin-top: 0;
  }

  .promo-gallery img {
    aspect-ratio: 4 / 3;
  }

  .card-collage {
    grid-template-columns: 1fr 1fr;
  }

  .card-collage img {
    height: 112px;
  }

  .gallery-main-image {
    height: 44vh;
  }
}
