/* ─── Base page tone ─────────────────────────────────────── */
.b2b-page { background: #f6f5f0; color: #23362d; height: auto; min-height: 100%; }
.b2b-page:before { display: none; }
.b2b-page header { position: relative; z-index: 10; }
.b2b-page h1, .b2b-page h2, .b2b-page h3 { color: #20342b; }
.b2b-page h2 {
  font-size: clamp(31px, 3.7vw, 53px);
  line-height: 1.13;
  letter-spacing: -1.5px;
  font-weight: 500;
  margin: 14px 0 30px;
}
.b2b-page h3 { font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -.4px; margin: 16px 0 12px; }
.b2b-page em { font-family: Georgia, serif; font-style: normal; font-weight: 400; color: #8250b3; }
.b2b-eyebrow { font-size: 10px; letter-spacing: 1.8px; font-weight: 600; text-transform: uppercase; color: #4d6559; }

/* ─── Hero: intro copy stacked above the full-width interactive
   demo. Edge-to-edge with a 6%/5% side margin, matching the other
   interactive service pages' hero stages instead of a boxed column. */
.b2b-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 48px 5% 60px 6%;
  background: radial-gradient(ellipse at 80% 20%, #d7e9e7, transparent 60%), linear-gradient(120deg, #d7e1d9, #b0cfd0);
}

.b2b-intro { width: 100%; max-width: 850px; }
.b2b-intro h1 {
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.06;
  letter-spacing: -2.5px;
  font-weight: 500;
  margin: 18px 0 20px;
}
.b2b-lead { font-size: 15px; line-height: 1.7; max-width: 680px; margin: 0 0 12px; color: #445a4e; }
.b2b-copy { font-size: 15px; line-height: 1.7; max-width: 680px; margin: 0 0 22px; color: #445a4e; }

.b2b-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: #8250b3;
  border-radius: 30px;
  padding: 13px 22px;
  color: #fff;
  font: 500 13px/1.5 inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.b2b-button:hover { background: #643494; color: #fff; }
.b2b-button:disabled { opacity: .45; cursor: default; }
.b2b-secondary { background: transparent; color: #294236; border-color: #698276; }
.b2b-secondary:hover { background: #e9f0e9; color: #294236; }

/* ─── Content sections below the hero ───────────────────── */
.b2b-section { max-width: 1140px; padding: 66px 24px; margin: auto; }
.b2b-value { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.b2b-value p:not(.b2b-eyebrow) { line-height: 1.85; font-size: 15px; color: #506055; margin: 0 0 16px; }
.b2b-value > div:nth-child(2) { padding-top: 18px; }
.b2b-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.b2b-formats article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.b2b-formats article:hover { transform: translateY(-3px); border-color: rgba(17,20,15,.14); box-shadow: 0 14px 34px rgba(17,20,15,.14); }
/* Same pulse-on-hover treatment as the .service-icon cards elsewhere on
   the site (iconPulse keyframe comes from the shared styles.css). */
.b2b-format-icon { display: block; width: 150px; height: 129px; aspect-ratio: 256 / 220; margin: 0 auto 14px; object-fit: contain; }
.b2b-formats article:hover .b2b-format-icon {
  animation: iconPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.18));
}
@media (max-width: 768px) {
  .b2b-formats article.in-view .b2b-format-icon {
    animation: iconPulse 1.4s ease-in-out infinite !important;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,.18)) !important;
  }
}
.b2b-number { color: #8250b3; font-size: 11px; letter-spacing: 1px; }
.b2b-formats p, .b2b-process p, .b2b-faq p { font-size: 14px; line-height: 1.8; color: #566159; }
.b2b-use { font-style: italic; }
.b2b-band { background: #e5e9e1; }
.b2b-textlink { color: #6e3f9b; text-underline-offset: 5px; font-size: 13px; }
.b2b-process { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.b2b-process li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 22px;
  box-shadow: var(--shadow);
  counter-increment: step;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.b2b-process li:hover { transform: translateY(-3px); border-color: rgba(17,20,15,.14); box-shadow: 0 14px 34px rgba(17,20,15,.14); }
.b2b-process li:before { content: '0' counter(step); color: #8250b3; font-size: 12px; }
.b2b-process h3 { font-size: 18px; }
.b2b-faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.b2b-faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.b2b-faq summary { font-size: 15px; cursor: pointer; padding-right: 16px; }
.b2b-cta { text-align: center; padding-top: 46px; padding-bottom: 80px; }
.b2b-cta h2 { font-size: clamp(36px, 4vw, 54px); }
.b2b-cta > p:not(.b2b-eyebrow) { max-width: 520px; margin: 0 auto 25px; color: #526357; font-size: 15px; line-height: 1.8; }
.b2b-page footer { margin-top: 0; }
.b2b-skip { position: absolute; top: -80px; left: 10px; z-index: 100; background: #fff; padding: 12px; }
.b2b-skip:focus { top: 8px; }
.b2b-page :focus-visible { outline: 3px solid #8250b3; outline-offset: 4px; }
.b2b-page [hidden] { display: none !important; }

/* ─── AR overlay (shared top/bottom bars; the sawmill demo's own
   .zippy-ar-overlay in zippy.css positions the fixed container). ── */
.b2b-ar-top { display: flex; justify-content: space-between; align-items: flex-start; padding: max(18px, env(safe-area-inset-top)) 18px 0; gap: 16px; }
.b2b-ar-top p { background: #16291fdd; border-radius: 12px; padding: 12px; margin: 0; max-width: 75%; }
.b2b-ar-top button { pointer-events: auto; border: 0; border-radius: 50%; background: #16291fdd; color: #fff; width: 44px; height: 44px; font-size: 28px; cursor: pointer; }
.b2b-ar-bottom { position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); left: 16px; right: 16px; padding: 15px; background: #16291fee; border-radius: 18px; display: flex; flex-wrap: wrap; gap: 10px; pointer-events: auto; }
.b2b-ar-bottom label { display: flex; align-items: center; gap: 14px; width: 100%; font-size: 12px; }
.b2b-ar-bottom input { flex: 1; accent-color: #b696d6; }
.b2b-ar-bottom .b2b-secondary { color: #fff; border-color: #a3b5a7; }
.b2b-ar-bottom .b2b-secondary:hover { color: #20342b; }
.b2b-ar-active { overflow: hidden; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .b2b-value { gap: 30px; }
  .b2b-process { grid-template-columns: repeat(2, 1fr); }
  .b2b-formats { gap: 20px; }
}
@media (max-width: 700px) {
  .b2b-hero { padding: 30px 20px; gap: 26px; }
  .b2b-intro h1 { letter-spacing: -1.5px; }
  .b2b-lead, .b2b-copy { font-size: 13px; max-width: 100%; line-height: 1.6; }
  .b2b-copy { margin-bottom: 16px; }
  .b2b-section { padding: 44px 22px; }
  .b2b-value, .b2b-faq { grid-template-columns: 1fr; gap: 10px; }
  .b2b-value > div:nth-child(2) { padding-top: 0; }
  .b2b-formats { grid-template-columns: 1fr; gap: 20px; }
  .b2b-formats p { margin: 10px 0; }
  .b2b-process { gap: 18px; }
  .b2b-page h2 { margin-bottom: 20px; }
  .b2b-cta { padding-bottom: 50px; }
  .b2b-page .container { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
