.proof-section .partner-grid {
  display: block;
}

.proof-section h2 {
  max-width: 820px;
}

.proof-section p {
  max-width: 930px;
}

.proof-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.proof-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 22, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 20, 22, 0.1);
}

.proof-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 96 / 62;
  object-fit: cover;
}

.proof-shot figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
  color: #111416;
  font-size: 0.95rem;
  line-height: 1.4;
}

.proof-shot figcaption strong {
  font-size: 1rem;
}

.proof-shot figcaption span {
  color: #5e646c;
}

.industry-page .hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.91) 0%, rgba(255, 255, 255, 0.78) 34%, rgba(255, 255, 255, 0.42) 68%, rgba(255, 255, 255, 0.5) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(247, 247, 247, 0.78) 100%),
    var(--industry-hero-image, url("/assets/generated/office-it-service.webp?v=20260615-1")) center / cover no-repeat;
}

.industry-page .brand-product {
  white-space: normal;
}

.industry-page .hero-copy h1 {
  max-width: 680px;
  font-size: 3rem;
  line-height: 1.06;
}

.industry-page .proof-shot.branch-shot img {
  aspect-ratio: 1672 / 941;
}

.industry-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.industry-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 6px;
  color: var(--ink-soft);
  background: rgba(215, 25, 32, 0.06);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.industry-nav a:hover {
  color: var(--teal-dark);
  border-color: var(--line-strong);
  background: rgba(215, 25, 32, 0.1);
}

.branch-story-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.branch-story-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-bottom: 30px;
}

.branch-story-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-radius: 6px;
  color: var(--teal-dark);
  background: rgba(215, 25, 32, 0.07);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
}

.branch-story-head h2 {
  max-width: 860px;
  margin: 0 0 16px;
  font-size: 2.375rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.branch-story-head p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.75;
}

.branch-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.branch-story-scenes {
  display: grid;
  grid-template-rows: minmax(0, 1.28fr) minmax(210px, 0.72fr);
  gap: 14px;
  min-height: 620px;
}

.branch-story-scene {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f0f1f2;
  box-shadow: var(--shadow-soft);
}

.branch-story-scene:first-child {
  box-shadow: var(--shadow);
}

.branch-story-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-story-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 20, 22, 0.02), rgba(17, 20, 22, 0.34));
}

.branch-story-provider::after {
  background: linear-gradient(90deg, rgba(17, 20, 22, 0.58), rgba(17, 20, 22, 0.08));
}

.branch-story-scene figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 6px;
  max-width: 460px;
  color: #ffffff;
}

.branch-story-provider figcaption {
  left: 18px;
  bottom: 18px;
}

.branch-story-scene figcaption span {
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.branch-story-scene figcaption strong {
  font-size: clamp(1.18rem, 2.1vw, 2rem);
  line-height: 1.1;
}

.branch-story-provider figcaption strong {
  font-size: 1.14rem;
  line-height: 1.16;
}

.branch-story-message-flow {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  display: grid;
  gap: 10px;
  width: min(390px, calc(100% - 48px));
  pointer-events: none;
}

.branch-story-bubble {
  min-width: 0;
  max-width: 86%;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 14px 34px rgba(17, 20, 22, 0.2);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

.branch-story-bubble.customer {
  justify-self: start;
}

.branch-story-bubble.tanja {
  justify-self: end;
  border-color: rgba(215, 25, 32, 0.28);
  color: #ffffff;
  background: rgba(215, 25, 32, 0.94);
}

.branch-story-bubble span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.branch-story-bubble.tanja span {
  color: rgba(255, 255, 255, 0.78);
}

.branch-story-bubble p {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.38;
}

.branch-story-bubble.tanja p {
  color: #ffffff;
}

.branch-story.is-running .branch-story-bubble:nth-child(1),
.branch-story-section.is-running .branch-story-bubble:nth-child(1) {
  animation: branchBubbleIn 0.42s ease 0.8s forwards;
}

.branch-story-section.is-running .branch-story-bubble:nth-child(2) {
  animation: branchBubbleIn 0.42s ease 2.2s forwards;
}

.branch-story-section.is-running .branch-story-bubble:nth-child(3) {
  animation: branchBubbleIn 0.42s ease 3.8s forwards;
}

.branch-story-section.is-running .branch-story-bubble:nth-child(4) {
  animation: branchBubbleIn 0.42s ease 5.4s forwards;
}

.branch-story-console {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.branch-story-agent {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.branch-story-agent img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: cover;
}

.branch-story-agent span,
.branch-story-crm-head span,
.branch-story-note span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.branch-story-agent strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.16;
}

.branch-story-recorder,
.branch-story-crm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.branch-story-recorder {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.branch-story-recorder strong {
  color: var(--ink);
}

.branch-story-wave {
  height: 68px;
  margin: 0;
}

.branch-story-crm {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.branch-story-crm-head {
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.branch-story-crm-head strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.branch-story-crm-head small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: rgba(215, 25, 32, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.branch-story-fields {
  display: grid;
  gap: 8px;
  margin: 0;
}

.branch-story-fields div {
  display: grid;
  grid-template-columns: minmax(88px, 0.72fr) minmax(0, 1.28fr);
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #ffffff;
}

.branch-story-fields dt {
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 850;
}

.branch-story-fields dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.branch-story-note {
  display: grid;
  gap: 6px;
  padding: 11px;
  border: 1px solid rgba(215, 25, 32, 0.14);
  border-radius: 6px;
  background: rgba(215, 25, 32, 0.05);
}

.branch-story-note p {
  min-height: 3.9em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.42;
}

.branch-story-value.is-typing::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.14em;
  background: var(--teal);
  animation: branchCursorBlink 0.8s steps(1) infinite;
}

@keyframes branchBubbleIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes branchCursorBlink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .hero,
  .section-pad {
    max-width: 100vw;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

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

  .nav a:nth-child(4) {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-copy,
  .hero-actions,
  .hero-proof,
  .hero-product {
    width: calc(100% - 28px);
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy h1,
  .hero-copy p,
  .direct-contact,
  .product-shell,
  .proof-visual-grid {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(1.66rem, 7.2vw, 1.88rem);
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .industry-page .hero-copy h1 {
    font-size: clamp(1.66rem, 7.2vw, 1.88rem);
    line-height: 1.12;
  }

  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
  }

  .btn {
    min-height: 50px;
    width: auto;
    max-width: 100%;
    padding-right: 14px;
    padding-left: 14px;
    white-space: normal;
    text-align: center;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    width: 100%;
  }

  .product-shell {
    overflow: hidden;
    padding: 10px;
  }

  .call-panel {
    padding: 12px;
  }

  .caller-row {
    align-items: flex-start;
  }

  .caller-row > div {
    min-width: 0;
  }

  .caller-row strong,
  .caller-row span {
    overflow-wrap: anywhere;
  }

  .transcript p {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .task-list {
    grid-template-columns: 1fr;
  }

  .handoff-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .handoff-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-align: center;
    font-size: 0.72rem;
  }

  .transcript p,
  .task-list strong,
  .handoff-row span,
  .dashboard-stats span,
  .dashboard-stats strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .proof-visual-grid {
    grid-template-columns: 1fr;
  }

  .branch-story-head,
  .branch-story-grid {
    grid-template-columns: 1fr;
  }

  .branch-story-head {
    gap: 14px;
  }

  .branch-story-scenes {
    grid-template-rows: minmax(410px, 1fr) minmax(240px, 0.65fr);
    min-height: 0;
  }

  .branch-story-message-flow {
    top: 14px;
    right: 14px;
    width: min(330px, calc(100% - 28px));
    gap: 8px;
  }

  .branch-story-bubble {
    padding: 9px 10px;
  }

  .branch-story-bubble p {
    font-size: 0.78rem;
  }

  .branch-story-scene figcaption,
  .branch-story-provider figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .branch-story-console {
    padding: 12px;
  }

  .branch-story-fields div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .trust-strip span {
    font-size: 0.78rem;
  }

  .service-popup-tags {
    flex-wrap: wrap;
    overflow: visible;
  }

  .service-popup-tags span {
    flex: 0 1 auto;
    white-space: normal;
  }

  .tanja-section .section-head h2 {
    font-size: clamp(1.98rem, 8.4vw, 2.22rem);
    line-height: 1.1;
    text-wrap: balance;
  }

  .tanja-section .section-head p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .tanja-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .proof-shot figcaption {
    padding: 13px 14px 15px;
  }

  .industry-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-nav a {
    justify-content: center;
    text-align: center;
  }
}
