:root {
  --bg: #07111f;
  --surface: #0d1b2d;
  --surface-soft: #13243a;
  --text: #f8fafc;
  --muted: #a9b7c9;
  --line: rgba(255, 255, 255, 0.12);

  --core: #22c7f2;
  --erp: #f4c542;
  --web: #ff715b;
  --prepress: #67d5a5;
  --commerce: #a98df8;

  --max-width: 1180px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 199, 242, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(169, 141, 248, 0.1), transparent 32%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #06101c;
  background: linear-gradient(135deg, var(--core), #8cecff);
  box-shadow: 0 10px 30px rgba(34, 199, 242, 0.24);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.language-switcher {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.language-switcher button {
  border: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: #06101c;
  background: var(--core);
}

.hero {
  padding: 76px 0 54px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--core);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.05rem, 3.4vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.section {
  padding: 64px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.division-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.division-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
}

.division-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--division-color);
  opacity: 0.13;
  filter: blur(4px);
}

.division-card h3 {
  margin: 18px 0 12px;
  font-size: 1.65rem;
}

.division-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.division-label {
  color: var(--division-color);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--division-color);
  font-weight: 800;
}

.site-footer {
  margin-top: 70px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

[data-lang] {
  display: none;
}

html[data-language="en"] [data-lang="en"],
html[data-language="es"] [data-lang="es"] {
  display: revert;
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }

  .division-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 22px, var(--max-width));
  }

  .brand-text {
    display: none;
  }

  .division-card {
    min-height: 250px;
    padding: 24px;
  }
}

/* Corporate organization chart */

.org-chart {
  display: grid;
  justify-items: center;
  width: 100%;
}

.org-tier {
  width: 100%;
}

.org-tier-parent,
.org-tier-core {
  max-width: 680px;
}

.org-tier-parent .division-card,
.org-tier-core .division-card {
  min-height: 0;
  text-align: center;
}

.org-tier-parent .division-card {
  border-color: rgba(34, 199, 242, 0.55);
  background:
    linear-gradient(
      145deg,
      rgba(34, 199, 242, 0.16),
      rgba(255, 255, 255, 0.035)
    );
}

.org-tier-core .division-card {
  border-color: rgba(34, 199, 242, 0.32);
}

.org-tier-parent .division-card p,
.org-tier-core .division-card p {
  margin-right: auto;
  margin-left: auto;
}

.org-tier-parent .card-link,
.org-tier-core .card-link {
  justify-content: center;
}

.org-connector {
  pointer-events: none;
}

.org-connector-vertical {
  width: 2px;
  height: 46px;
  background:
    linear-gradient(
      to bottom,
      rgba(34, 199, 242, 0.85),
      rgba(255, 255, 255, 0.26)
    );
}

.org-connector-branches {
  width: 75%;
  height: 58px;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ) center top / 2px 30px no-repeat,

    linear-gradient(
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ) center 29px / 100% 2px no-repeat,

    linear-gradient(
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ) left bottom / 2px 29px no-repeat,

    linear-gradient(
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ) 33.333% bottom / 2px 29px no-repeat,

    linear-gradient(
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ) 66.667% bottom / 2px 29px no-repeat,

    linear-gradient(
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ) right bottom / 2px 29px no-repeat;
}

.org-tier-divisions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.org-tier-divisions .division-card {
  min-height: 350px;
  padding: 26px;
}

.org-tier-divisions .division-card h3 {
  font-size: 1.4rem;
}

@media (max-width: 1040px) {
  .org-connector-branches {
    display: none;
  }

  .org-tier-divisions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
  }

  .org-tier-divisions .division-card {
    min-height: 290px;
  }
}

@media (max-width: 620px) {
  .org-tier-divisions {
    grid-template-columns: 1fr;
  }

  .org-tier-divisions .division-card {
    min-height: 0;
  }

  .org-connector-vertical {
    height: 32px;
  }
}

/* Homepage connected ecosystem hero */

.hero-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(430px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 6vw, 86px);
  min-height: 610px;
}

.hero-copy-block {
  position: relative;
  z-index: 3;
}

.hero-copy-block h1 {
  max-width: 690px;
}

.hero-copy-block .hero-copy {
  max-width: 660px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 13px 20px;
  border: 1px solid rgba(34, 199, 242, 0.42);
  border-radius: 999px;
  color: var(--text);
  background:
    linear-gradient(
      135deg,
      rgba(34, 199, 242, 0.18),
      rgba(34, 199, 242, 0.06)
    );
  box-shadow:
    0 12px 34px rgba(34, 199, 242, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34, 199, 242, 0.78);
  box-shadow:
    0 18px 42px rgba(34, 199, 242, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 560px);
  min-height: 560px;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at center,
      rgba(34, 199, 242, 0.16) 0,
      rgba(34, 199, 242, 0.06) 28%,
      rgba(7, 17, 31, 0.18) 54%,
      rgba(7, 17, 31, 0) 72%
    );
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -3;
  border-radius: 50%;
  background:
    conic-gradient(
      from 30deg,
      rgba(244, 197, 66, 0.12),
      rgba(255, 113, 91, 0.08),
      rgba(103, 213, 165, 0.12),
      rgba(169, 141, 248, 0.1),
      rgba(34, 199, 242, 0.16),
      rgba(244, 197, 66, 0.12)
    );
  filter: blur(28px);
  opacity: 0.88;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 50%;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );
  background-size: 34px 34px;
  mask-image:
    radial-gradient(
      circle,
      black 22%,
      rgba(0, 0, 0, 0.78) 58%,
      transparent 76%
    );
}

.ecosystem-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 350px;
  height: 350px;
  border-style: dashed;
  animation: tpm-orbit-spin 34s linear infinite;
}

.orbit-two {
  width: 490px;
  height: 490px;
  border-color: rgba(34, 199, 242, 0.16);
  animation: tpm-orbit-spin-reverse 46s linear infinite;
}

@keyframes tpm-orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes tpm-orbit-spin-reverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-orbit {
    animation: none;
  }

  .hero-cta {
    transition: none;
  }
}

.ecosystem-node {
  position: absolute;
  z-index: 3;
  width: 158px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 15px;
  border: 1px solid color-mix(
    in srgb,
    var(--node-color, var(--core)) 55%,
    transparent
  );
  border-radius: 20px;
  text-align: center;
  background:
    linear-gradient(
      145deg,
      color-mix(
        in srgb,
        var(--node-color, var(--core)) 18%,
        rgba(13, 27, 45, 0.96)
      ),
      rgba(8, 19, 34, 0.94)
    );
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 32px color-mix(
      in srgb,
      var(--node-color, var(--core)) 15%,
      transparent
    ),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.ecosystem-node:hover,
.ecosystem-node:focus-visible {
  z-index: 5;
  border-color: var(--node-color, var(--core));
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.42),
    0 0 44px color-mix(
      in srgb,
      var(--node-color, var(--core)) 28%,
      transparent
    ),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ecosystem-node strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.ecosystem-node small {
  max-width: 130px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.node-code {
  display: inline-grid;
  min-width: 42px;
  min-height: 28px;
  place-items: center;
  padding: 5px 8px;
  border-radius: 9px;
  color: #06101c;
  background: var(--node-color, var(--core));
  box-shadow:
    0 8px 22px color-mix(
      in srgb,
      var(--node-color, var(--core)) 28%,
      transparent
    );
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.ecosystem-center {
  --node-color: var(--core);

  top: 50%;
  left: 50%;
  width: 190px;
  min-height: 190px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(140, 236, 255, 0.22),
      rgba(34, 199, 242, 0.12) 34%,
      rgba(9, 24, 42, 0.98) 72%
    );
}

.ecosystem-center:hover {
  transform: translate(-50%, -50%) scale(1.035);
}

.ecosystem-center strong {
  max-width: 140px;
  font-size: 1.05rem;
}

.ecosystem-erp {
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.ecosystem-erp:hover {
  transform: translateX(-50%) translateY(-4px);
}

.ecosystem-web {
  top: 50%;
  left: -1%;
  transform: translateY(-50%);
}

.ecosystem-web:hover {
  transform: translateY(-50%) translateX(4px);
}

.ecosystem-prepress {
  top: 50%;
  right: -1%;
  transform: translateY(-50%);
}

.ecosystem-prepress:hover {
  transform: translateY(-50%) translateX(-4px);
}

.ecosystem-commerce {
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.ecosystem-commerce:hover {
  transform: translateX(-50%) translateY(-4px);
}

.shared-operations-chip {
  position: absolute;
  left: 50%;
  bottom: -19px;
  z-index: 6;
  transform: translateX(-50%);
  padding: 9px 16px;
  border: 1px solid rgba(34, 199, 242, 0.3);
  border-radius: 999px;
  color: var(--core);
  background: rgba(7, 17, 31, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy-block {
    max-width: 780px;
  }

  .hero-visual {
    width: min(100%, 540px);
    min-height: 540px;
  }
}

@media (max-width: 620px) {
  .hero-visual {
    min-height: 450px;
    margin-top: 12px;
  }

  .orbit-one {
    width: 280px;
    height: 280px;
  }

  .orbit-two {
    width: 400px;
    height: 400px;
  }

  .ecosystem-node {
    width: 118px;
    min-height: 72px;
    padding: 10px;
    border-radius: 15px;
  }

  .ecosystem-node strong {
    font-size: 0.72rem;
  }

  .ecosystem-center {
    width: 148px;
    min-height: 148px;
  }

  .ecosystem-center strong {
    font-size: 0.86rem;
  }

  .ecosystem-center small {
    display: none;
  }

  .ecosystem-web {
    left: -2%;
  }

  .ecosystem-prepress {
    right: -2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-node {
    transition: none;
  }
}

/* Division hero layouts */

.division-hero-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(400px, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
  min-height: 520px;
}

.division-visual {
  position: relative;
  width: min(100%, 540px);
  min-height: 430px;
  justify-self: center;
}

/* TPM ERP Platform visual */

.erp-visual {
  display: grid;
  place-items: center;
}

.erp-visual::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(244, 197, 66, 0.2),
      rgba(244, 197, 66, 0.06) 38%,
      transparent 70%
    );
  filter: blur(18px);
}

.erp-window {
  position: relative;
  z-index: 2;
  width: 88%;
  overflow: hidden;
  border: 1px solid rgba(244, 197, 66, 0.34);
  border-radius: 22px;
  background: rgba(9, 20, 35, 0.96);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(244, 197, 66, 0.1);
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
}

.erp-window-header {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.erp-window-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.erp-window-header span:first-child {
  background: var(--web);
}

.erp-window-header span:nth-child(2) {
  background: var(--erp);
}

.erp-window-header span:nth-child(3) {
  background: var(--prepress);
}

.erp-dashboard {
  min-height: 310px;
  display: grid;
  grid-template-columns: 64px 1fr;
}

.erp-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 25px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.erp-sidebar i {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(244, 197, 66, 0.28);
  border-radius: 8px;
  background: rgba(244, 197, 66, 0.08);
}

.erp-content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 22px;
}

.erp-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.erp-stat-row span {
  height: 55px;
  border: 1px solid rgba(244, 197, 66, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(
      145deg,
      rgba(244, 197, 66, 0.13),
      rgba(255, 255, 255, 0.025)
    );
}

.erp-chart {
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 12px;
  padding: 24px 20px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.erp-chart b {
  width: 12%;
  border-radius: 8px 8px 3px 3px;
  background:
    linear-gradient(
      to top,
      rgba(244, 197, 66, 0.34),
      var(--erp)
    );
  box-shadow: 0 0 20px rgba(244, 197, 66, 0.13);
}

.erp-chart b:nth-child(1) { height: 38%; }
.erp-chart b:nth-child(2) { height: 68%; }
.erp-chart b:nth-child(3) { height: 48%; }
.erp-chart b:nth-child(4) { height: 88%; }
.erp-chart b:nth-child(5) { height: 72%; }

.erp-table {
  display: grid;
  gap: 8px;
}

.erp-table span {
  height: 9px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(244, 197, 66, 0.35) 0 28%,
      rgba(255, 255, 255, 0.1) 28% 100%
    );
}

.visual-chip {
  position: absolute;
  z-index: 4;
  padding: 9px 14px;
  border: 1px solid rgba(244, 197, 66, 0.34);
  border-radius: 999px;
  color: var(--erp);
  background: rgba(7, 17, 31, 0.94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  font-size: 0.75rem;
  font-weight: 850;
}

.chip-production {
  top: 7%;
  right: 1%;
}

.chip-inventory {
  bottom: 15%;
  left: 0;
}

.chip-orders {
  right: 5%;
  bottom: 4%;
}

@media (max-width: 960px) {
  .division-hero-layout {
    grid-template-columns: 1fr;
  }

  .division-visual {
    min-height: 400px;
  }
}

@media (max-width: 560px) {
  .division-visual {
    min-height: 330px;
  }

  .erp-window {
    width: 96%;
  }

  .erp-dashboard {
    min-height: 240px;
    grid-template-columns: 46px 1fr;
  }

  .erp-content {
    gap: 12px;
    padding: 14px;
  }

  .visual-chip {
    font-size: 0.67rem;
  }
}

/* ERP hero spacing refinement */

.division-hero {
  padding: 42px 0 30px;
}

.division-hero-layout {
  min-height: 410px;
}

@media (max-width: 960px) {
  .division-hero {
    padding: 48px 0 34px;
  }

  .division-hero-layout {
    min-height: 0;
  }
}

/* TPM Web Services visual */

.web-visual {
  display: grid;
  place-items: center;
}

.web-visual::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255, 113, 91, 0.2),
      rgba(255, 113, 91, 0.06) 40%,
      transparent 72%
    );
  filter: blur(18px);
}

.browser-frame {
  position: relative;
  z-index: 2;
  width: 92%;
  overflow: hidden;
  border: 1px solid rgba(255, 113, 91, 0.34);
  border-radius: 22px;
  background: rgba(9, 20, 35, 0.97);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(255, 113, 91, 0.12);
  transform: perspective(900px) rotateY(5deg) rotateX(2deg);
}

.browser-bar {
  height: 45px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.browser-controls {
  display: flex;
  gap: 7px;
}

.browser-controls span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-controls span:first-child {
  background: var(--web);
}

.browser-controls span:nth-child(2) {
  background: var(--erp);
}

.browser-controls span:nth-child(3) {
  background: var(--prepress);
}

.browser-address {
  max-width: 260px;
  padding: 6px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-canvas {
  position: relative;
  min-height: 320px;
  padding: 23px 70px 23px 23px;
}

.website-preview {
  min-height: 268px;
  overflow: hidden;
  border: 1px solid rgba(255, 113, 91, 0.18);
  border-radius: 15px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 113, 91, 0.07),
      rgba(255, 255, 255, 0.02)
    );
}

.website-nav {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
}

.website-nav b {
  width: 38px;
  height: 9px;
  margin-right: auto;
  border-radius: 999px;
  background: var(--web);
}

.website-nav span {
  width: 27px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.website-hero-preview {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 17px;
  padding: 22px 17px;
}

.website-copy-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.website-copy-lines strong {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.website-copy-lines strong:first-child {
  width: 90%;
}

.website-copy-lines strong:nth-child(2) {
  width: 68%;
}

.website-copy-lines i {
  width: 82%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.website-image-block {
  min-height: 105px;
  border: 1px solid rgba(255, 113, 91, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255, 184, 172, 0.35),
      transparent 25%
    ),
    linear-gradient(
      145deg,
      rgba(255, 113, 91, 0.35),
      rgba(169, 141, 248, 0.16)
    );
}

.website-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 0 17px 18px;
}

.website-card-row span {
  height: 49px;
  border: 1px solid rgba(255, 113, 91, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.mobile-preview {
  position: absolute;
  right: 16px;
  bottom: 17px;
  z-index: 4;
  width: 92px;
  height: 185px;
  padding: 12px 7px 8px;
  border: 2px solid rgba(255, 113, 91, 0.52);
  border-radius: 19px;
  background: #081321;
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(255, 113, 91, 0.16);
}

.mobile-speaker {
  width: 27px;
  height: 4px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.mobile-screen {
  height: 148px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 8px;
  border-radius: 10px;
  background:
    linear-gradient(
      160deg,
      rgba(255, 113, 91, 0.14),
      rgba(255, 255, 255, 0.025)
    );
}

.mobile-screen b {
  width: 72%;
  height: 8px;
  border-radius: 999px;
  background: var(--web);
}

.mobile-screen span {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-screen i {
  flex: 1;
  border-radius: 8px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 113, 91, 0.28),
      rgba(169, 141, 248, 0.12)
    );
}

.web-visual .visual-chip {
  border-color: rgba(255, 113, 91, 0.38);
  color: var(--web);
}

.web-chip-sites {
  top: 7%;
  left: 0;
}

.web-chip-hosting {
  right: 0;
  bottom: 19%;
}

.web-chip-care {
  bottom: 3%;
  left: 10%;
}

@media (max-width: 560px) {
  .browser-frame {
    width: 98%;
  }

  .browser-canvas {
    min-height: 270px;
    padding: 16px 50px 16px 14px;
  }

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

  .website-image-block {
    min-height: 65px;
  }

  .mobile-preview {
    right: 5px;
    width: 75px;
    height: 155px;
  }

  .mobile-screen {
    height: 120px;
  }
}

/* TPM Prepress Studio visual */

.prepress-visual {
  display: grid;
  place-items: center;
}

.prepress-visual::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(103, 213, 165, 0.2),
      rgba(103, 213, 165, 0.06) 40%,
      transparent 72%
    );
  filter: blur(18px);
}

.prepress-workspace {
  position: relative;
  z-index: 2;
  width: 92%;
  overflow: hidden;
  border: 1px solid rgba(103, 213, 165, 0.36);
  border-radius: 22px;
  background: rgba(9, 20, 35, 0.97);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(103, 213, 165, 0.12);
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
}

.prepress-toolbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.prepress-toolbar span {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(103, 213, 165, 0.22);
  border-radius: 7px;
  background: rgba(103, 213, 165, 0.07);
}

.prepress-canvas {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 16px;
  padding: 20px;
}

.artboard {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    rgba(246, 248, 247, 0.96);
  background-size: 22px 22px;
}

.registration-mark {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(7, 17, 31, 0.55);
  border-radius: 50%;
}

.registration-mark::before,
.registration-mark::after {
  content: "";
  position: absolute;
  background: rgba(7, 17, 31, 0.55);
}

.registration-mark::before {
  top: 50%;
  left: -5px;
  width: 26px;
  height: 1px;
}

.registration-mark::after {
  top: -5px;
  left: 50%;
  width: 1px;
  height: 26px;
}

.mark-one {
  top: 14px;
  left: 14px;
}

.mark-two {
  top: 14px;
  right: 14px;
}

.mark-three {
  bottom: 14px;
  left: 14px;
}

.mark-four {
  right: 14px;
  bottom: 14px;
}

.print-shape {
  position: absolute;
  top: 50%;
  left: 48%;
  width: 150px;
  height: 170px;
  transform: translate(-50%, -50%);
}

.ink-layer {
  position: absolute;
  inset: 0;
  border-radius: 42% 42% 28% 28%;
  clip-path:
    polygon(
      24% 0,
      39% 13%,
      61% 13%,
      76% 0,
      100% 19%,
      82% 42%,
      82% 100%,
      18% 100%,
      18% 42%,
      0 19%
    );
  mix-blend-mode: multiply;
  opacity: 0.72;
}

.layer-cyan {
  background: #20c8e8;
  transform: translate(-7px, 1px);
}

.layer-magenta {
  background: #e8478b;
  transform: translate(7px, 2px);
}

.layer-yellow {
  background: #f4d438;
  transform: translate(0, -5px);
}

.layer-key {
  border: 4px solid rgba(12, 18, 24, 0.82);
  background: transparent;
  opacity: 1;
}

.halftone-field {
  position: absolute;
  right: 12%;
  bottom: 12%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-image:
    radial-gradient(
      circle,
      rgba(12, 18, 24, 0.56) 0 2px,
      transparent 2.5px
    );
  background-size: 9px 9px;
  opacity: 0.48;
  mask-image:
    radial-gradient(circle, black, transparent 73%);
}

.separation-panel {
  display: grid;
  align-content: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid rgba(103, 213, 165, 0.15);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.separation-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
}

.separation-row i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07111f;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
}

.separation-row span {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.separation-cyan i {
  background: #20c8e8;
}

.separation-magenta i {
  background: #e8478b;
}

.separation-yellow i {
  background: #f4d438;
}

.separation-key i {
  color: white;
  background: #171d24;
}

.file-stack {
  position: absolute;
  right: 2%;
  bottom: 2%;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.file-stack span {
  min-width: 52px;
  display: grid;
  place-items: center;
  padding: 11px 9px;
  border: 1px solid rgba(103, 213, 165, 0.32);
  border-radius: 10px 10px 5px 5px;
  color: var(--prepress);
  background:
    linear-gradient(
      145deg,
      rgba(103, 213, 165, 0.15),
      rgba(7, 17, 31, 0.96)
    );
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
  font-size: 0.67rem;
  font-weight: 900;
}

.file-stack span:nth-child(1) {
  transform: rotate(-6deg);
}

.file-stack span:nth-child(2) {
  transform: translateY(-8px);
}

.file-stack span:nth-child(3) {
  min-width: 76px;
  transform: rotate(5deg);
}

.prepress-visual .visual-chip {
  border-color: rgba(103, 213, 165, 0.38);
  color: var(--prepress);
}

.prepress-chip-separations {
  top: 5%;
  right: 0;
}

.prepress-chip-vector {
  bottom: 17%;
  left: 0;
}

.prepress-chip-production {
  right: 13%;
  bottom: 0;
}

@media (max-width: 560px) {
  .prepress-workspace {
    width: 98%;
  }

  .prepress-canvas {
    min-height: 270px;
    grid-template-columns: 1fr 82px;
    gap: 10px;
    padding: 14px;
  }

  .print-shape {
    width: 112px;
    height: 128px;
  }

  .separation-panel {
    gap: 9px;
    padding: 9px;
  }

  .separation-row {
    grid-template-columns: 22px 1fr;
    gap: 5px;
  }

  .separation-row i {
    width: 22px;
    height: 22px;
  }

  .file-stack {
    right: 1%;
    bottom: -2%;
  }

  .file-stack span {
    min-width: 42px;
    padding: 8px 6px;
    font-size: 0.56rem;
  }

  .file-stack span:nth-child(3) {
    min-width: 62px;
  }

  .prepress-chip-separations {
    right: 2%;
  }

  .prepress-chip-vector {
    left: 1%;
  }
}

/* Prepress label overlap correction */

.file-stack {
  right: 4%;
  bottom: 10%;
  gap: 6px;
}

.file-stack span:nth-child(1),
.file-stack span:nth-child(2),
.file-stack span:nth-child(3) {
  transform: none;
}

.file-stack span:nth-child(3) {
  min-width: 74px;
}

.prepress-chip-production {
  right: auto;
  left: 50%;
  bottom: -2%;
  transform: translateX(-50%);
}

.prepress-chip-vector {
  left: -1%;
  bottom: 14%;
}

@media (max-width: 560px) {
  .file-stack {
    right: 3%;
    bottom: 9%;
  }

  .prepress-chip-production {
    left: 50%;
    bottom: -3%;
  }
}

/* Online Apparel Ordering visual */

.apparel-visual {
  display: grid;
  place-items: center;
}

.apparel-visual::before {
  content: "";
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(169, 141, 248, 0.22),
      rgba(169, 141, 248, 0.06) 42%,
      transparent 72%
    );
  filter: blur(18px);
}

.apparel-store {
  position: relative;
  z-index: 2;
  width: 94%;
  overflow: hidden;
  border: 1px solid rgba(169, 141, 248, 0.38);
  border-radius: 22px;
  background: rgba(9, 20, 35, 0.97);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(169, 141, 248, 0.13);
  transform: perspective(900px) rotateY(4deg) rotateX(2deg);
}

.store-header {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.store-brand {
  width: 38px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07111f;
  background: var(--commerce);
  font-size: 0.67rem;
  font-weight: 950;
}

.store-search {
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.12) 0 18%,
      rgba(255, 255, 255, 0.035) 18% 100%
    );
}

.store-cart {
  position: relative;
  width: 30px;
  height: 26px;
  border: 1px solid rgba(169, 141, 248, 0.28);
  border-radius: 9px;
  background: rgba(169, 141, 248, 0.08);
}

.store-cart::before {
  content: "";
  position: absolute;
  inset: 7px 6px 6px;
  border: 2px solid var(--commerce);
  border-top: 0;
  border-radius: 3px;
}

.store-cart span {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07111f;
  background: var(--commerce);
  font-size: 0.57rem;
  font-weight: 950;
}

.store-content {
  min-height: 275px;
  display: grid;
  grid-template-columns: 54px 1.05fr 0.9fr;
  gap: 15px;
  padding: 19px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-thumb {
  height: 49px;
  border: 1px solid rgba(169, 141, 248, 0.14);
  border-radius: 10px;
  background:
    radial-gradient(
      circle at center,
      rgba(169, 141, 248, 0.25),
      rgba(255, 255, 255, 0.025) 62%
    );
}

.product-thumb.thumb-active {
  border-color: rgba(169, 141, 248, 0.58);
  box-shadow: 0 0 18px rgba(169, 141, 248, 0.14);
}

.garment-preview {
  position: relative;
  min-height: 226px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 141, 248, 0.17);
  border-radius: 15px;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    rgba(255, 255, 255, 0.018);
  background-size: 23px 23px;
}

.shirt-shape {
  position: relative;
  width: 128px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 38% 38% 25% 25%;
  background:
    linear-gradient(
      145deg,
      rgba(169, 141, 248, 0.75),
      rgba(98, 76, 174, 0.78)
    );
  clip-path:
    polygon(
      23% 0,
      39% 12%,
      61% 12%,
      77% 0,
      100% 19%,
      82% 42%,
      82% 100%,
      18% 100%,
      18% 42%,
      0 19%
    );
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.shirt-print {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.3rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.color-options {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.85);
}

.color-options span {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.color-black {
  background: #15171c;
}

.color-blue {
  background: #3d77b7;
}

.color-sand {
  background: #c9b38c;
}

.color-red {
  background: #b84b55;
}

.product-config {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 16px;
  border: 1px solid rgba(169, 141, 248, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.config-title {
  width: 74%;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.config-line {
  width: 92%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.config-line-short {
  width: 62%;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 5px;
}

.size-grid span {
  display: grid;
  place-items: center;
  min-height: 31px;
  border: 1px solid rgba(169, 141, 248, 0.22);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(169, 141, 248, 0.055);
  font-size: 0.64rem;
  font-weight: 850;
}

.size-grid span:nth-child(2) {
  color: #07111f;
  background: var(--commerce);
}

.quantity-control {
  display: grid;
  grid-template-columns: 29px 1fr 29px;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}

.quantity-control i,
.quantity-control strong {
  min-height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 141, 248, 0.2);
  border-radius: 8px;
  font-size: 0.68rem;
  font-style: normal;
}

.quantity-control i {
  color: var(--commerce);
  background: rgba(169, 141, 248, 0.06);
}

.quantity-control strong {
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.quote-button {
  height: 34px;
  margin-top: auto;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      var(--commerce),
      #795ec9
    );
  box-shadow: 0 12px 24px rgba(169, 141, 248, 0.18);
}

.order-progress {
  display: grid;
  grid-template-columns:
    auto 1fr
    auto 1fr
    auto 1fr
    auto;
  align-items: center;
  gap: 6px;
  padding: 13px 18px 16px;
  border-top: 1px solid var(--line);
}

.progress-step {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 750;
}

.progress-step i {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 141, 248, 0.22);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(169, 141, 248, 0.05);
  font-size: 0.58rem;
  font-style: normal;
}

.progress-step.progress-complete i {
  color: #07111f;
  background: var(--commerce);
}

.progress-line {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.progress-line.progress-active {
  background: var(--commerce);
}

.apparel-visual .visual-chip {
  border-color: rgba(169, 141, 248, 0.4);
  color: var(--commerce);
}

.apparel-chip-catalog {
  top: 5%;
  left: 0;
}

.apparel-chip-artwork {
  right: 0;
  bottom: 18%;
}

.apparel-chip-tracking {
  left: 12%;
  bottom: 0;
}

@media (max-width: 560px) {
  .apparel-store {
    width: 98%;
  }

  .store-content {
    min-height: 240px;
    grid-template-columns: 42px 1fr;
  }

  .product-config {
    grid-column: 1 / -1;
  }

  .order-progress {
    grid-template-columns:
      auto 1fr
      auto 1fr
      auto 1fr
      auto;
    padding-right: 10px;
    padding-left: 10px;
  }

  .progress-step span {
    display: none;
  }

  .shirt-shape {
    width: 105px;
    height: 125px;
  }
}

/* Core Platform & Shared Operations visual */

.shared-visual {
  display: grid;
  place-items: center;
}

.shared-visual::before {
  content: "";
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(34, 199, 242, 0.22),
      rgba(34, 199, 242, 0.06) 43%,
      transparent 73%
    );
  filter: blur(18px);
}

.shared-network {
  position: relative;
  z-index: 2;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(34, 199, 242, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(34, 199, 242, 0.09),
      rgba(7, 17, 31, 0.18) 45%,
      transparent 70%
    );
}

.shared-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.shared-orbit-one {
  width: 270px;
  height: 270px;
  border: 1px dashed rgba(34, 199, 242, 0.25);
}

.shared-orbit-two {
  width: 365px;
  height: 365px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shared-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 148px;
  height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(34, 199, 242, 0.58);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background:
    radial-gradient(
      circle at 34% 28%,
      rgba(140, 236, 255, 0.32),
      rgba(34, 199, 242, 0.15) 38%,
      rgba(8, 21, 37, 0.98) 75%
    );
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.42),
    0 0 45px rgba(34, 199, 242, 0.2);
}

.shared-core > span {
  width: 43px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #07111f;
  background: var(--core);
  font-size: 0.72rem;
  font-weight: 950;
}

.shared-core strong {
  max-width: 110px;
  font-size: 0.9rem;
  line-height: 1.2;
}

.shared-core small {
  color: var(--muted);
  font-size: 0.63rem;
}

.shared-service {
  position: absolute;
  z-index: 4;
  width: 91px;
  min-height: 68px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(34, 199, 242, 0.3);
  border-radius: 15px;
  text-align: center;
  background:
    linear-gradient(
      145deg,
      rgba(34, 199, 242, 0.12),
      rgba(8, 20, 34, 0.96)
    );
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(34, 199, 242, 0.1);
}

.shared-service i {
  min-width: 31px;
  min-height: 27px;
  display: grid;
  place-items: center;
  padding: 4px 6px;
  border-radius: 8px;
  color: #07111f;
  background: var(--core);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 950;
}

.shared-service span {
  color: var(--text);
  font-size: 0.66rem;
  font-weight: 800;
}

.service-identity {
  top: -2%;
  left: 50%;
  transform: translateX(-50%);
}

.service-crm {
  top: 22%;
  right: -4%;
}

.service-storage {
  right: 3%;
  bottom: 9%;
}

.service-security {
  bottom: -2%;
  left: 50%;
  transform: translateX(-50%);
}

.service-backups {
  bottom: 9%;
  left: 3%;
}

.service-analytics {
  top: 22%;
  left: -4%;
}

.shared-connection {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 2px;
  transform-origin: left center;
  background:
    linear-gradient(
      90deg,
      rgba(34, 199, 242, 0.72),
      rgba(34, 199, 242, 0.08)
    );
}

.shared-connection::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--core);
  box-shadow: 0 0 14px rgba(34, 199, 242, 0.65);
}

.connection-top {
  transform: rotate(-90deg);
}

.connection-right-top {
  transform: rotate(-28deg);
}

.connection-right-bottom {
  transform: rotate(28deg);
}

.connection-bottom {
  transform: rotate(90deg);
}

.connection-left-bottom {
  transform: rotate(152deg);
}

.connection-left-top {
  transform: rotate(208deg);
}

.shared-status-panel {
  position: absolute;
  right: 1%;
  bottom: 1%;
  z-index: 6;
  display: grid;
  gap: 7px;
  min-width: 120px;
  padding: 11px 13px;
  border: 1px solid rgba(34, 199, 242, 0.26);
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.94);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.shared-status-panel div {
  display: grid;
  grid-template-columns: 8px 1fr;
  align-items: center;
  gap: 8px;
}

.shared-status-panel span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--prepress);
  box-shadow: 0 0 12px rgba(103, 213, 165, 0.55);
}

.shared-status-panel strong {
  color: var(--muted);
  font-size: 0.66rem;
}

.shared-visual .visual-chip {
  border-color: rgba(34, 199, 242, 0.38);
  color: var(--core);
}

.shared-chip-secure {
  top: 4%;
  right: 0;
}

.shared-chip-connected {
  left: 0;
  bottom: 17%;
}

.shared-chip-monitored {
  left: 50%;
  bottom: -2%;
  transform: translateX(-50%);
}

@media (max-width: 560px) {
  .shared-network {
    width: 330px;
    height: 330px;
  }

  .shared-orbit-one {
    width: 220px;
    height: 220px;
  }

  .shared-orbit-two {
    width: 292px;
    height: 292px;
  }

  .shared-core {
    width: 122px;
    height: 122px;
  }

  .shared-service {
    width: 75px;
    min-height: 58px;
    padding: 6px;
  }

  .shared-service span {
    font-size: 0.57rem;
  }

  .shared-connection {
    width: 92px;
  }

  .shared-status-panel {
    right: 0;
    bottom: 0;
    min-width: 98px;
    padding: 9px 10px;
  }

  .shared-chip-connected {
    left: 1%;
  }
}

/* Shared Operations overlap correction */

.shared-visual {
  width: min(100%, 600px);
  min-height: 470px;
  overflow: visible;
}

.shared-network {
  transform: translateX(-24px);
}

.shared-status-panel {
  right: 0;
  bottom: 7%;
}

.shared-chip-secure {
  top: 3%;
  right: 0;
}

.shared-chip-connected {
  top: 46%;
  bottom: auto;
  left: 0;
  transform: translateY(-50%);
}

.shared-chip-monitored {
  right: auto;
  bottom: 0;
  left: 58%;
  transform: none;
}

@media (max-width: 560px) {
  .shared-visual {
    width: 100%;
    min-height: 430px;
  }

  .shared-network {
    transform: none;
  }

  .shared-status-panel {
    right: 0;
    bottom: 4%;
  }

  .shared-chip-connected {
    top: 48%;
    left: 0;
  }

  .shared-chip-monitored {
    bottom: 0;
    left: 55%;
  }
}

/* Shared Operations final status-panel position */

.shared-status-panel {
  right: -5%;
  bottom: 1%;
}

@media (max-width: 560px) {
  .shared-status-panel {
    right: 0;
    bottom: -2%;
  }
}

/* TPM MASTER STRUCTURE V1 */

/* ==========================================================
   TPM MASTER STRUCTURE V1
   Digital Identity + Digital Invitations
   ========================================================== */

:root {
  --tap: #ffb86a;
  --events: #ff7bc8;
}

.ecosystem-tap {
  top: 42%;
  right: 0;
}

.ecosystem-events {
  right: 9%;
  bottom: 8%;
}

@media (min-width: 621px) {
  .ecosystem-erp {
    top: 8%;
    left: 8%;
  }

  .ecosystem-web {
    top: 8%;
    right: 8%;
  }

  .ecosystem-commerce {
    top: 42%;
    left: 0;
  }

  .ecosystem-prepress {
    left: 9%;
    bottom: 8%;
  }
}

.identity-visual,
.events-visual {
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.identity-visual::before,
.events-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.07), transparent 55%);
}

.identity-phone {
  position: absolute;
  width: 150px;
  height: 275px;
  padding: 26px 18px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.025));
  box-shadow:
    0 24px 60px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.identity-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}

.identity-phone span {
  color: var(--tap);
  font-size: .66rem;
  letter-spacing: .16em;
  font-weight: 800;
}

.identity-phone strong {
  font-size: 1rem;
}

.identity-phone small {
  color: var(--muted);
  font-size: .7rem;
}

.identity-phone-left {
  left: 11%;
  transform: rotate(-7deg);
}

.identity-phone-right {
  right: 11%;
  transform: rotate(7deg);
}

.identity-signal {
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}

.identity-signal i {
  display: block;
  border: 2px solid var(--tap);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.identity-signal i:nth-child(1) {
  width: 14px;
  height: 14px;
}

.identity-signal i:nth-child(2) {
  width: 28px;
  height: 28px;
}

.identity-signal i:nth-child(3) {
  width: 42px;
  height: 42px;
}

.event-phone {
  position: relative;
  z-index: 2;
  width: min(290px, 78%);
  min-height: 355px;
  padding: 34px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.17);
  background:
    radial-gradient(circle at top, rgba(255,123,200,.18), transparent 36%),
    linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
  box-shadow:
    0 28px 70px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.12);
  text-align: center;
}

.event-date {
  display: block;
  color: var(--events);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  margin-bottom: 28px;
}

.event-phone > strong {
  display: block;
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.event-phone > small {
  color: var(--muted);
}

.event-countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 32px 0;
}

.event-countdown i {
  padding: 12px 6px;
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  font-style: normal;
  font-weight: 800;
}

.event-countdown i small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .56rem;
  font-weight: 600;
}

.event-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.event-actions span {
  padding: 9px 4px;
  border-radius: 999px;
  border: 1px solid rgba(255,123,200,.25);
  color: var(--events);
  font-size: .63rem;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .org-tier-divisions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ecosystem-tap {
    top: 41%;
    right: -4%;
  }

  .ecosystem-events {
    right: 3%;
    bottom: 5%;
  }

  .identity-visual,
  .events-visual {
    min-height: 360px;
  }

  .identity-phone {
    width: 120px;
    height: 225px;
  }

  .identity-phone-left {
    left: 5%;
  }

  .identity-phone-right {
    right: 5%;
  }

  .org-tier-divisions {
    grid-template-columns: 1fr;
  }
}


/* TPM CONSISTENT NAVIGATION V1 */

.main-nav a[aria-current="page"] {
  color: var(--core);
  background: rgba(34, 199, 242, 0.08);
  border-color: rgba(34, 199, 242, 0.18);
}

.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}



/* TPM SERVICE MEDIA EXPERIENCE V1 */

.action-showcase-section {
  position: relative;
}

.action-showcase-heading {
  max-width: 780px;
}

.tpm-action-slider {
  position: relative;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(34,199,242,.10), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow:
    0 30px 90px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}

.action-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 32px;
  align-items: center;
  min-height: 420px;
}

.action-slide[hidden] {
  display: none;
}

.action-video-frame,
.service-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.11);
  background: #070d15;
  box-shadow:
    0 22px 60px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.action-video-frame {
  aspect-ratio: 16 / 9;
}

.action-video-frame video,
.service-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #05080e;
}

.action-slide-copy {
  padding: 24px 24px 24px 4px;
}

.action-slide-copy h3 {
  margin: 15px 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.action-slide-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.action-slider-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.action-slider-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.action-slider-button:hover,
.action-slider-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34,199,242,.48);
  background: rgba(34,199,242,.09);
}

.action-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.action-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition:
    width .2s ease,
    background .2s ease;
}

.action-slider-dots button.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--core);
}

.service-media-section {
  position: relative;
}

.service-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-video-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}

.service-video-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: stretch;
  margin-top: 32px;
}

.service-video-card .service-video-frame {
  border: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  box-shadow: none;
}

.service-video-card-featured .service-video-frame {
  aspect-ratio: auto;
  min-height: 390px;
}

.service-video-copy {
  padding: 24px;
}

.service-video-copy h3 {
  margin: 13px 0 12px;
  font-size: 1.35rem;
}

.service-video-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.service-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(5,10,17,.72);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    transform .2s ease,
    background .2s ease,
    opacity .2s ease;
}

.service-video-play:hover,
.service-video-play:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(34,199,242,.20);
}

.service-video-play.is-playing {
  opacity: .22;
}

.service-video-frame:hover .service-video-play.is-playing,
.service-video-play.is-playing:focus-visible {
  opacity: 1;
}

@media (max-width: 900px) {
  .action-slide,
  .service-video-card-featured {
    grid-template-columns: 1fr;
  }

  .action-slide {
    min-height: 0;
  }

  .action-slide-copy {
    padding: 12px 10px 18px;
  }

  .service-video-card-featured .service-video-frame {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 680px) {
  .tpm-action-slider {
    padding: 12px;
    border-radius: 20px;
  }

  .service-video-grid {
    grid-template-columns: 1fr;
  }

  .action-slider-controls {
    margin-top: 8px;
  }

  .service-video-play {
    width: 56px;
    height: 56px;
  }
}



/* TPM VIDEO PLAYBACK FIX V1 */

.action-video-frame video,
.service-video-frame video {
  pointer-events: auto;
}

.action-video-frame video::-webkit-media-controls,
.service-video-frame video::-webkit-media-controls {
  opacity: 1;
}

.action-video-frame video {
  cursor: pointer;
}

.service-video-frame video {
  cursor: pointer;
}


/* =========================================================
   TPM CONTACT + LEADS UI V1
   ========================================================= */

.contact-hero {
  padding-bottom: 36px;
}

.contact-hero .hero-copy {
  max-width: 780px;
}

.contact-section {
  padding-top: 26px;
}

.contact-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
}

.contact-info-card,
.contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    );
  box-shadow: var(--shadow);
}

.contact-info-card {
  position: sticky;
  top: 106px;
  padding: 30px;
}

.contact-info-card h2 {
  margin: 16px 0 26px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.contact-process {
  display: grid;
  gap: 22px;
}

.contact-process-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-process-item > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #06101c;
  background: var(--core);
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-process-item strong {
  display: block;
  margin-bottom: 5px;
}

.contact-process-item p,
.contact-privacy-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

.contact-privacy-note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-privacy-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--core);
}

.contact-form-card {
  padding: clamp(24px, 4vw, 40px);
}

.contact-form-card .section-heading {
  margin-bottom: 28px;
}

.contact-form {
  position: relative;
}

.contact-form-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.contact-field > span {
  font-size: 0.9rem;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--text);
  background:
    rgba(4, 12, 24, 0.72);
  font: inherit;
  font-weight: 500;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-field textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.55;
}

.contact-field select {
  cursor: pointer;
}

.contact-field select option {
  color: var(--text);
  background: var(--surface);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color:
    rgba(34, 199, 242, 0.8);
  box-shadow:
    0 0 0 3px
    rgba(34, 199, 242, 0.12);
  background:
    rgba(8, 20, 36, 0.94);
}

.contact-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}

.contact-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--core);
}

.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.contact-submit {
  min-width: 170px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  color: #06101c;
  background:
    linear-gradient(
      135deg,
      var(--core),
      #8cecff
    );
  box-shadow:
    0 12px 32px
    rgba(34, 199, 242, 0.22);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 16px 38px
    rgba(34, 199, 242, 0.28);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.contact-form-status {
  flex: 1 1 240px;
  min-height: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-form-status.is-success {
  color: var(--prepress);
}

.contact-form-status.is-error {
  color: #ff9c8c;
}

.contact-lead-id {
  display: inline-block;
  margin-left: 4px;
  color: var(--core);
  font-weight: 900;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-field-full {
    grid-column: auto;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 22px;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-form-status {
    flex-basis: 100%;
  }
}

/* =========================================================
   TPM CONTACT DESKTOP COMPACT V1
   Desktop-only scale refinement.
   Tablet/mobile rules remain unchanged.
   ========================================================= */

@media (min-width: 901px) {
  .contact-hero {
    padding-top: 52px;
    padding-bottom: 18px;
  }

  .contact-hero h1 {
    max-width: 760px;
    font-size: clamp(2.35rem, 3vw, 2.75rem);
    line-height: 1.04;
  }

  .contact-hero .hero-copy {
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .contact-section {
    padding-top: 12px;
  }

  .contact-layout {
    max-width: 1080px;
    grid-template-columns:
      minmax(0, 0.78fr)
      minmax(0, 1.22fr);
    gap: 22px;
  }

  .contact-info-card {
    top: 92px;
    padding: 24px;
  }

  .contact-info-card h2 {
    margin: 12px 0 20px;
    font-size: 1.55rem;
  }

  .contact-process {
    gap: 16px;
  }

  .contact-process-item {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .contact-process-item > span {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 0.7rem;
  }

  .contact-process-item strong {
    margin-bottom: 3px;
    font-size: 0.92rem;
  }

  .contact-process-item p,
  .contact-privacy-note p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .contact-privacy-note {
    margin-top: 20px;
    padding-top: 17px;
  }

  .contact-privacy-note strong {
    margin-bottom: 5px;
    font-size: 0.9rem;
  }

  .contact-form-card {
    padding: 28px 30px;
  }

  .contact-form-card .section-heading {
    margin-bottom: 20px;
  }

  .contact-form-card .section-heading h2 {
    font-size: 1.75rem;
    line-height: 1.08;
  }

  .contact-form-card .section-heading p {
    font-size: 0.88rem;
  }

  .contact-form-grid {
    gap: 15px 16px;
  }

  .contact-field {
    gap: 6px;
  }

  .contact-field > span {
    font-size: 0.82rem;
  }

  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    border-radius: 12px;
    padding: 11px 13px;
    font-size: 0.92rem;
  }

  .contact-field textarea {
    height: 110px;
    min-height: 110px;
    line-height: 1.45;
  }

  .contact-consent {
    gap: 10px;
    margin-top: 17px;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .contact-consent input {
    width: 16px;
    height: 16px;
  }

  .contact-submit-row {
    gap: 14px;
    margin-top: 20px;
  }

  .contact-submit {
    min-width: 150px;
    padding: 11px 20px;
    font-size: 0.9rem;
  }

  .contact-form-status {
    min-height: 20px;
    font-size: 0.86rem;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V1
   Mobile navigation + Home ecosystem
   PREVIEW ONLY
   ========================================================== */

.mobile-nav-toggle {
  display: none;
}


/* ----------------------------------------------------------
   TABLET / MOBILE NAVIGATION
   ---------------------------------------------------------- */

@media (max-width: 820px) {

  .site-header {
    overflow: visible;
  }

  .header-inner {
    position: relative;
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    margin-right: auto;
  }

  .brand-text {
    white-space: nowrap;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(34, 199, 242, 0.28);
    border-radius: 14px;
    color: var(--text);
    background:
      linear-gradient(
        145deg,
        rgba(34, 199, 242, 0.12),
        rgba(255, 255, 255, 0.035)
      );
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .site-header.mobile-nav-open
  .mobile-nav-toggle span:nth-child(1) {
    transform:
      translateY(7px)
      rotate(45deg);
  }

  .site-header.mobile-nav-open
  .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.mobile-nav-open
  .mobile-nav-toggle span:nth-child(3) {
    transform:
      translateY(-7px)
      rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    z-index: 50;

    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;

    max-height:
      calc(100vh - 100px);
    padding: 10px;

    overflow-x: hidden;
    overflow-y: auto;

    border:
      1px solid
      rgba(34, 199, 242, 0.20);
    border-radius: 20px;

    color: var(--text);

    background:
      radial-gradient(
        circle at top right,
        rgba(34, 199, 242, 0.11),
        transparent 34%
      ),
      rgba(7, 17, 31, 0.98);

    box-shadow:
      0 28px 80px rgba(0, 0, 0, 0.48),
      inset 0 1px 0
        rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(22px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
      translateY(-8px)
      scale(0.985);

    transform-origin: top center;

    transition:
      opacity 160ms ease,
      transform 160ms ease,
      visibility 160ms ease;
  }

  .site-header.mobile-nav-open
  .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform:
      translateY(0)
      scale(1);
  }

  .main-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 10px 13px;

    border:
      1px solid
      rgba(255, 255, 255, 0.055);

    border-radius: 13px;

    background:
      rgba(255, 255, 255, 0.025);
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    border-color:
      rgba(34, 199, 242, 0.24);

    background:
      rgba(34, 199, 242, 0.08);
  }

  .main-nav a[aria-current="page"] {
    border-color:
      rgba(34, 199, 242, 0.26);

    background:
      rgba(34, 199, 242, 0.11);
  }

  .language-switcher {
    flex: 0 0 auto;
  }
}


/* ----------------------------------------------------------
   PHONE HEADER
   ---------------------------------------------------------- */

@media (max-width: 520px) {

  .header-inner {
    gap: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }

  .language-switcher {
    padding: 3px;
  }

  .language-switcher button {
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .main-nav {
    top: calc(100% + 7px);
    border-radius: 17px;
  }
}


/* ----------------------------------------------------------
   HOME ECOSYSTEM — PHONE-SPECIFIC COMPOSITION
   ---------------------------------------------------------- */

@media (max-width: 620px) {

  .hero-layout {
    gap: 32px;
  }

  .hero-visual {
    width: 100%;
    min-height: 0;
    margin-top: 8px;
    padding: 18px;

    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 12px;

    overflow: visible;

    border:
      1px solid
      rgba(34, 199, 242, 0.14);

    border-radius: 28px;

    background:
      radial-gradient(
        circle at 50% 12%,
        rgba(34, 199, 242, 0.13),
        transparent 37%
      ),
      radial-gradient(
        circle at 12% 82%,
        rgba(169, 141, 248, 0.08),
        transparent 34%
      ),
      rgba(8, 19, 33, 0.34);

    box-shadow:
      inset 0 1px 0
        rgba(255, 255, 255, 0.035),
      0 26px 70px
        rgba(0, 0, 0, 0.20);
  }

  .hero-visual::before,
  .hero-visual::after,
  .hero-visual
  .ecosystem-orbit {
    display: none;
  }

  .hero-visual
  .ecosystem-node {
    position: relative;

    top: auto;
    right: auto;
    bottom: auto;
    left: auto;

    width: 100%;
    min-width: 0;
    min-height: 82px;

    padding: 11px 8px;

    border-radius: 17px;

    transform: none;
  }

  .hero-visual
  .ecosystem-node:hover {
    transform: none;
  }

  .hero-visual
  .ecosystem-node strong {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .hero-visual
  .ecosystem-center {
    grid-column: 1 / -1;

    width: 150px;
    min-height: 150px;
    aspect-ratio: 1;

    justify-self: center;

    margin: 1px 0 5px;

    border-radius: 50%;
  }

  .hero-visual
  .ecosystem-center strong {
    max-width: 118px;
    font-size: 0.86rem;
  }

  .hero-visual
  .shared-operations-chip {
    position: relative;

    left: auto;
    right: auto;
    bottom: auto;

    grid-column: 1 / -1;

    justify-self: center;

    max-width: 100%;
    margin-top: 3px;
    padding: 9px 14px;

    text-align: center;
    white-space: normal;

    transform: none;
  }
}


/* ----------------------------------------------------------
   VERY SMALL PHONES
   ---------------------------------------------------------- */

@media (max-width: 360px) {

  .hero-visual {
    padding: 14px;
    gap: 10px;
  }

  .hero-visual
  .ecosystem-node {
    min-height: 78px;
    padding: 9px 6px;
  }

  .hero-visual
  .ecosystem-node strong {
    font-size: 0.68rem;
  }

  .hero-visual
  .ecosystem-center {
    width: 140px;
    min-height: 140px;
  }
}


/* ----------------------------------------------------------
   ACCESSIBILITY
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .mobile-nav-toggle span,
  .main-nav {
    transition: none;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V2
   Mobile compaction + navigation polish
   PREVIEW ONLY
   ========================================================== */


/* ----------------------------------------------------------
   MOBILE NAV — MORE SOLID + SHORTER
   ---------------------------------------------------------- */

@media (max-width: 820px) {

  .main-nav {
    gap: 4px;
    padding: 8px;

    max-height:
      calc(100vh - 92px);
    max-height:
      calc(100dvh - 92px);

    background:
      radial-gradient(
        circle at top right,
        rgba(34, 199, 242, 0.10),
        transparent 32%
      ),
      #07111f;

    backdrop-filter:
      blur(18px);
  }

  .main-nav a {
    min-height: 42px;
    padding: 8px 12px;
  }
}


/* ----------------------------------------------------------
   LONG MOBILE PAGES
   Keep all content, remove excess vertical space.
   ---------------------------------------------------------- */

@media (max-width: 620px) {

  body.tpm-mobile-compact-page
  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  body.tpm-mobile-compact-page
  .section-heading {
    margin-bottom: 20px;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-grid {
    gap: 12px !important;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-card {
    min-height: 0 !important;
    padding: 16px !important;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-card
  > :first-child {
    margin-top: 0 !important;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-card
  > :last-child {
    margin-bottom: 0 !important;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-card
  h2,
  body.tpm-mobile-compact-page
  .tpm-mobile-dense-card
  h3,
  body.tpm-mobile-compact-page
  .tpm-mobile-dense-card
  h4 {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    line-height: 1.14;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-card
  p {
    margin-top: 7px !important;
    margin-bottom: 0 !important;
    line-height: 1.42;
  }

  body.tpm-mobile-compact-page
  .division-hero {
    padding-bottom: 28px;
  }

  body.tpm-mobile-compact-page
  .division-hero-layout {
    gap: 24px;
  }

  body.tpm-page-web-services
  .service-video-grid,
  body.tpm-page-tap-digital-identity
  .service-video-grid,
  body.tpm-page-digital-invitations
  .service-video-grid {
    gap: 14px !important;
  }
}


/* ----------------------------------------------------------
   SMALLER PHONES — A LITTLE DENSER
   ---------------------------------------------------------- */

@media (max-width: 380px) {

  body.tpm-mobile-compact-page
  .section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-grid {
    gap: 10px !important;
  }

  body.tpm-mobile-compact-page
  .tpm-mobile-dense-card {
    padding: 14px !important;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V3
   Digital Services mobile carousel + expandable cards
   PREVIEW ONLY
   ========================================================== */

.tpm-v3-carousel-controls,
.tpm-v3-card-toggle {
  display: none;
}


@media (max-width: 620px) {

  /* ========================================================
     DIGITAL SERVICES VIDEO CAROUSEL
     ======================================================== */

  body.tpm-page-web-services
  .digital-services-media-stack {
    display: block !important;
  }

  body.tpm-page-web-services
  .tpm-v3-media-slide {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  body.tpm-page-web-services
  .tpm-v3-media-slide.is-v3-current {
    display: grid !important;
    grid-template-columns:
      1fr !important;
  }

  body.tpm-page-web-services
  .tpm-v3-media-slide
  .action-video-frame {
    min-height: 0 !important;
    aspect-ratio:
      16 / 9 !important;
  }

  body.tpm-page-web-services
  .tpm-v3-media-slide
  .action-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.tpm-page-web-services
  .tpm-v3-media-slide
  .action-slide-copy {
    padding:
      14px 12px 16px
      !important;
  }

  body.tpm-page-web-services
  .tpm-v3-media-slide
  .action-slide-copy h3 {
    margin:
      8px 0 6px
      !important;
  }

  body.tpm-page-web-services
  .tpm-v3-media-slide
  .action-slide-copy p {
    margin:
      0 !important;
    line-height: 1.42;
  }

  body.tpm-page-web-services
  .tpm-v3-media-slide
  .card-link {
    margin-top: 9px;
  }


  /* carousel navigation */

  body.tpm-page-web-services
  .tpm-v3-carousel-controls {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 14px;
  }

  body.tpm-page-web-services
  .tpm-v3-carousel-arrow {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    padding: 0;

    border:
      1px solid
      rgba(34, 199, 242, 0.30);

    border-radius: 14px;

    color: var(--text);

    background:
      rgba(34, 199, 242, 0.07);

    font: inherit;
    font-size: 1.55rem;
    line-height: 1;

    cursor: pointer;
  }

  body.tpm-page-web-services
  .tpm-v3-carousel-dots {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;
  }

  body.tpm-page-web-services
  .tpm-v3-carousel-dots button {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background:
      rgba(255, 255, 255, 0.24);

    transition:
      width 160ms ease,
      background 160ms ease;
  }

  body.tpm-page-web-services
  .tpm-v3-carousel-dots
  button.is-active {
    width: 22px;

    background:
      var(--core);
  }


  /* ========================================================
     BUILD + ECOSYSTEM COMPACT CARDS
     ======================================================== */

  body.tpm-page-web-services
  .tpm-v3-compact-section {
    padding-top:
      30px !important;

    padding-bottom:
      30px !important;
  }

  body.tpm-page-web-services
  .tpm-v3-compact-section
  .section-heading {
    margin-bottom:
      16px !important;
  }

  body.tpm-page-web-services
  .tpm-v3-compact-grid {
    display: grid !important;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      ) !important;

    gap:
      10px !important;
  }

  body.tpm-page-web-services
  .tpm-v3-expandable-card {
    min-width: 0;
    min-height: 0 !important;

    padding:
      13px !important;

    align-content: start;
  }

  body.tpm-page-web-services
  .tpm-v3-expandable-card
  .division-label {
    font-size:
      0.56rem;

    line-height:
      1.12;
  }

  body.tpm-page-web-services
  .tpm-v3-expandable-card
  h3 {
    margin:
      7px 0 4px
      !important;

    font-size:
      0.86rem;

    line-height:
      1.16;
  }


  /* hidden description */

  body.tpm-page-web-services
  .tpm-v3-expandable-card
  .tpm-v3-card-detail {
    display: none;
  }


  /* Details button */

  body.tpm-page-web-services
  .tpm-v3-card-toggle {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content:
      space-between;

    gap: 6px;

    margin-top: 8px;

    padding:
      7px 8px;

    border:
      1px solid
      rgba(34, 199, 242, 0.17);

    border-radius:
      10px;

    color:
      var(--core);

    background:
      rgba(34, 199, 242, 0.055);

    font: inherit;

    font-size:
      0.68rem;

    font-weight:
      800;

    cursor:
      pointer;
  }

  body.tpm-page-web-services
  .tpm-v3-card-toggle b {
    font-size:
      1rem;

    line-height:
      1;
  }


  /* Links also collapse until opened */

  body.tpm-page-web-services
  .tpm-v3-expandable-card
  .card-link {
    display: none;
  }


  /* expanded state */

  body.tpm-page-web-services
  .tpm-v3-expandable-card.is-v3-expanded {
    grid-column:
      1 / -1;
  }

  body.tpm-page-web-services
  .tpm-v3-expandable-card.is-v3-expanded
  .tpm-v3-card-detail {
    display: block;

    margin-top:
      9px !important;

    font-size:
      0.78rem;

    line-height:
      1.42;
  }

  body.tpm-page-web-services
  .tpm-v3-expandable-card.is-v3-expanded
  .card-link {
    display:
      inline-flex;

    margin-top:
      9px;
  }
}


/* very narrow phones */

@media (max-width: 340px) {

  body.tpm-page-web-services
  .tpm-v3-compact-grid {
    grid-template-columns:
      1fr !important;
  }

  body.tpm-page-web-services
  .tpm-v3-expandable-card.is-v3-expanded {
    grid-column:
      auto;
  }
}


/* accessibility */

@media (prefers-reduced-motion: reduce) {

  body.tpm-page-web-services
  .tpm-v3-carousel-dots button {
    transition: none;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V3.1 DETAILS HOTFIX
   aria-expanded visual fallback
   PREVIEW ONLY
   ========================================================== */

@media (max-width: 620px) {

  body.tpm-page-web-services
  .tpm-v3-card-toggle {
    position: relative;
    z-index: 5;

    pointer-events:
      auto !important;

    touch-action:
      manipulation;
  }

  body.tpm-page-web-services
  .tpm-v3-card-toggle[aria-expanded="true"]
  ~ .tpm-v3-card-detail {
    display:
      block !important;
  }

  body.tpm-page-web-services
  .tpm-v3-card-toggle[aria-expanded="true"]
  ~ .card-link {
    display:
      inline-flex !important;
  }

  body.tpm-page-web-services
  .tpm-v3-expandable-card:has(
    .tpm-v3-card-toggle[aria-expanded="true"]
  ) {
    grid-column:
      1 / -1;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V4 PREPRESS COMPACTION
   Compact expandable Prepress mobile cards
   PREVIEW ONLY
   ========================================================== */

.tpm-v4-prepress-toggle {
  display: none;
}


@media (max-width: 620px) {

  body.tpm-page-prepress-studio
  .tpm-v4-prepress-section {
    padding-top:
      30px !important;

    padding-bottom:
      30px !important;
  }


  body.tpm-page-prepress-studio
  .tpm-v4-prepress-section
  .section-heading {
    margin-bottom:
      16px !important;
  }


  body.tpm-page-prepress-studio
  .tpm-v4-prepress-grid {
    display: grid !important;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      ) !important;

    gap:
      10px !important;
  }


  body.tpm-page-prepress-studio
  .tpm-v4-prepress-card {
    min-width: 0;

    min-height:
      0 !important;

    padding:
      13px !important;

    align-content:
      start;
  }


  body.tpm-page-prepress-studio
  .tpm-v4-prepress-card
  .division-label {
    font-size:
      0.56rem;

    line-height:
      1.12;
  }


  body.tpm-page-prepress-studio
  .tpm-v4-prepress-card
  h3 {
    margin:
      7px 0 4px
      !important;

    font-size:
      0.84rem;

    line-height:
      1.17;
  }


  /*
   * Description collapsed by default.
   */

  body.tpm-page-prepress-studio
  .tpm-v4-prepress-detail {
    display:
      none;
  }


  /*
   * Details / Detalles control.
   */

  body.tpm-page-prepress-studio
  .tpm-v4-prepress-toggle {
    position: relative;
    z-index: 5;

    width: 100%;

    display: flex;

    align-items: center;
    justify-content:
      space-between;

    gap: 6px;

    margin-top:
      8px;

    padding:
      7px 8px;

    border:
      1px solid
      rgba(255, 122, 203, 0.22);

    border-radius:
      10px;

    color:
      var(--prepress);

    background:
      rgba(255, 122, 203, 0.055);

    font: inherit;

    font-size:
      0.68rem;

    font-weight:
      800;

    cursor:
      pointer;

    pointer-events:
      auto !important;

    touch-action:
      manipulation;
  }


  body.tpm-page-prepress-studio
  .tpm-v4-prepress-toggle b {
    font-size:
      1rem;

    line-height:
      1;
  }


  /*
   * Expanded state.
   */

  body.tpm-page-prepress-studio
  .tpm-v4-prepress-card.is-v4-expanded {
    grid-column:
      1 / -1;
  }


  body.tpm-page-prepress-studio
  .tpm-v4-prepress-card.is-v4-expanded
  .tpm-v4-prepress-detail {
    display:
      block;

    margin-top:
      9px !important;

    font-size:
      0.78rem;

    line-height:
      1.42;
  }


  /*
   * aria fallback.
   */

  body.tpm-page-prepress-studio
  .tpm-v4-prepress-toggle[aria-expanded="true"]
  ~ .tpm-v4-prepress-detail {
    display:
      block !important;
  }


  body.tpm-page-prepress-studio
  .tpm-v4-prepress-card:has(
    .tpm-v4-prepress-toggle[aria-expanded="true"]
  ) {
    grid-column:
      1 / -1;
  }
}


@media (max-width: 340px) {

  body.tpm-page-prepress-studio
  .tpm-v4-prepress-grid {
    grid-template-columns:
      1fr !important;
  }


  body.tpm-page-prepress-studio
  .tpm-v4-prepress-card.is-v4-expanded {
    grid-column:
      auto;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V5 SHARED PLATFORM COMPACTION
   Compact expandable Shared Platform mobile cards
   PREVIEW ONLY
   ========================================================== */

.tpm-v5-shared-toggle {
  display: none;
}


@media (max-width: 620px) {

  body.tpm-page-shared-platform
  .tpm-v5-shared-section {
    padding-top:
      30px !important;

    padding-bottom:
      30px !important;
  }


  body.tpm-page-shared-platform
  .tpm-v5-shared-section
  .section-heading {
    margin-bottom:
      16px !important;
  }


  body.tpm-page-shared-platform
  .tpm-v5-shared-grid {
    display: grid !important;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      ) !important;

    gap:
      10px !important;
  }


  body.tpm-page-shared-platform
  .tpm-v5-shared-card {
    min-width:
      0;

    min-height:
      0 !important;

    padding:
      13px !important;

    align-content:
      start;
  }


  body.tpm-page-shared-platform
  .tpm-v5-shared-card
  .division-label {
    font-size:
      0.56rem;

    line-height:
      1.12;
  }


  body.tpm-page-shared-platform
  .tpm-v5-shared-card
  h3 {
    margin:
      7px 0 4px
      !important;

    font-size:
      0.84rem;

    line-height:
      1.17;
  }


  /*
   * Description collapsed by default.
   */

  body.tpm-page-shared-platform
  .tpm-v5-shared-detail {
    display:
      none;
  }


  /*
   * Details / Detalles button.
   */

  body.tpm-page-shared-platform
  .tpm-v5-shared-toggle {
    position:
      relative;

    z-index:
      5;

    width:
      100%;

    display:
      flex;

    align-items:
      center;

    justify-content:
      space-between;

    gap:
      6px;

    margin-top:
      8px;

    padding:
      7px 8px;

    border:
      1px solid
      rgba(34, 199, 242, 0.20);

    border-radius:
      10px;

    color:
      var(--core);

    background:
      rgba(34, 199, 242, 0.055);

    font:
      inherit;

    font-size:
      0.68rem;

    font-weight:
      800;

    cursor:
      pointer;

    pointer-events:
      auto !important;

    touch-action:
      manipulation;
  }


  body.tpm-page-shared-platform
  .tpm-v5-shared-toggle b {
    font-size:
      1rem;

    line-height:
      1;
  }


  /*
   * Expanded state.
   */

  body.tpm-page-shared-platform
  .tpm-v5-shared-card.is-v5-expanded {
    grid-column:
      1 / -1;
  }


  body.tpm-page-shared-platform
  .tpm-v5-shared-card.is-v5-expanded
  .tpm-v5-shared-detail {
    display:
      block;

    margin-top:
      9px !important;

    font-size:
      0.78rem;

    line-height:
      1.42;
  }


  /*
   * aria-expanded fallback.
   */

  body.tpm-page-shared-platform
  .tpm-v5-shared-toggle[aria-expanded="true"]
  ~ .tpm-v5-shared-detail {
    display:
      block !important;
  }


  body.tpm-page-shared-platform
  .tpm-v5-shared-card:has(
    .tpm-v5-shared-toggle[aria-expanded="true"]
  ) {
    grid-column:
      1 / -1;
  }
}


@media (max-width: 340px) {

  body.tpm-page-shared-platform
  .tpm-v5-shared-grid {
    grid-template-columns:
      1fr !important;
  }


  body.tpm-page-shared-platform
  .tpm-v5-shared-card.is-v5-expanded {
    grid-column:
      auto;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V6 APPAREL ORDERING COMPACTION
   Compact expandable Apparel Ordering mobile cards
   PREVIEW ONLY
   ========================================================== */

.tpm-v6-apparel-toggle {
  display: none;
}


@media (max-width: 620px) {

  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-section {
    padding-top:
      30px !important;

    padding-bottom:
      30px !important;
  }


  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-section
  .section-heading {
    margin-bottom:
      16px !important;
  }


  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-grid {
    display:
      grid !important;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      ) !important;

    gap:
      10px !important;
  }


  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-card {
    min-width:
      0;

    min-height:
      0 !important;

    padding:
      13px !important;

    align-content:
      start;
  }


  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-card
  .division-label {
    font-size:
      0.56rem;

    line-height:
      1.12;
  }


  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-card
  h3 {
    margin:
      7px 0 4px
      !important;

    font-size:
      0.84rem;

    line-height:
      1.17;
  }


  /*
   * Description collapsed by default.
   */

  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-detail {
    display:
      none;
  }


  /*
   * Details / Detalles button.
   */

  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-toggle {
    position:
      relative;

    z-index:
      5;

    width:
      100%;

    display:
      flex;

    align-items:
      center;

    justify-content:
      space-between;

    gap:
      6px;

    margin-top:
      8px;

    padding:
      7px 8px;

    border:
      1px solid
      rgba(255, 255, 255, 0.11);

    border-radius:
      10px;

    color:
      var(--commerce);

    background:
      rgba(255, 255, 255, 0.035);

    font:
      inherit;

    font-size:
      0.68rem;

    font-weight:
      800;

    cursor:
      pointer;

    pointer-events:
      auto !important;

    touch-action:
      manipulation;
  }


  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-toggle b {
    font-size:
      1rem;

    line-height:
      1;
  }


  /*
   * Expanded state.
   */

  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-card.is-v6-expanded {
    grid-column:
      1 / -1;
  }


  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-card.is-v6-expanded
  .tpm-v6-apparel-detail {
    display:
      block;

    margin-top:
      9px !important;

    font-size:
      0.78rem;

    line-height:
      1.42;
  }


  /*
   * aria-expanded fallback.
   */

  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-toggle[aria-expanded="true"]
  ~ .tpm-v6-apparel-detail {
    display:
      block !important;
  }


  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-card:has(
    .tpm-v6-apparel-toggle[aria-expanded="true"]
  ) {
    grid-column:
      1 / -1;
  }
}


@media (max-width: 340px) {

  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-grid {
    grid-template-columns:
      1fr !important;
  }


  body.tpm-page-apparel-ordering
  .tpm-v6-apparel-card.is-v6-expanded {
    grid-column:
      auto;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V7 HOME TABLET ORBIT FIX
   Clean 621px–1040px ecosystem positioning
   PREVIEW ONLY
   ========================================================== */

@media (min-width: 621px) and (max-width: 1040px) {

  /*
   * Keep the approved orbital presentation,
   * but explicitly clear inherited opposite offsets
   * and transforms before applying tablet positions.
   */

  .hero-layout .hero-visual {
    width: min(100%, 540px);
    min-height: 540px;
  }


  .hero-layout .hero-visual
  .ecosystem-node {
    width: 142px;
    min-height: 82px;
    padding: 12px;
  }


  .hero-layout .hero-visual
  .ecosystem-node strong {
    font-size: 0.80rem;
    line-height: 1.2;
  }


  .hero-layout .hero-visual
  .ecosystem-node small {
    max-width: 118px;
    font-size: 0.67rem;
    line-height: 1.28;
  }


  .hero-layout .hero-visual
  .ecosystem-center {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;

    width: 176px;
    min-height: 176px;

    transform:
      translate(-50%, -50%);
  }


  .hero-layout .hero-visual
  .ecosystem-center:hover {
    transform:
      translate(-50%, -50%)
      scale(1.035);
  }


  /*
   * TOP CENTER — ERP
   */

  .hero-layout .hero-visual
  .ecosystem-erp {
    top: 4%;
    right: auto;
    bottom: auto;
    left: 50%;

    transform:
      translateX(-50%);
  }


  .hero-layout .hero-visual
  .ecosystem-erp:hover {
    transform:
      translateX(-50%)
      translateY(-4px);
  }


  /*
   * UPPER LEFT — WEB
   */

  .hero-layout .hero-visual
  .ecosystem-web {
    top: 27%;
    right: auto;
    bottom: auto;
    left: 0;

    transform: none;
  }


  .hero-layout .hero-visual
  .ecosystem-web:hover {
    transform:
      translateX(4px);
  }


  /*
   * UPPER RIGHT — TAP
   */

  .hero-layout .hero-visual
  .ecosystem-tap {
    top: 27%;
    right: 0;
    bottom: auto;
    left: auto;

    transform: none;
  }


  .hero-layout .hero-visual
  .ecosystem-tap:hover {
    transform:
      translateX(-4px);
  }


  /*
   * LOWER LEFT — PREPRESS
   */

  .hero-layout .hero-visual
  .ecosystem-prepress {
    top: auto;
    right: auto;
    bottom: 7%;
    left: 4%;

    transform: none;
  }


  .hero-layout .hero-visual
  .ecosystem-prepress:hover {
    transform:
      translateY(-4px);
  }


  /*
   * LOWER RIGHT — EVENTS
   */

  .hero-layout .hero-visual
  .ecosystem-events {
    top: auto;
    right: 4%;
    bottom: 7%;
    left: auto;

    transform: none;
  }


  .hero-layout .hero-visual
  .ecosystem-events:hover {
    transform:
      translateY(-4px);
  }


  /*
   * BOTTOM CENTER — ORDERING
   */

  .hero-layout .hero-visual
  .ecosystem-commerce {
    top: auto;
    right: auto;
    bottom: 1%;
    left: 50%;

    transform:
      translateX(-50%);
  }


  .hero-layout .hero-visual
  .ecosystem-commerce:hover {
    transform:
      translateX(-50%)
      translateY(-4px);
  }


  /*
   * Keep Shared Operations clear of the lower node.
   */

  .hero-layout .hero-visual
  .shared-operations-chip {
    bottom: -24px;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V7.1 HOME DESKTOP RESET
   Complete inherited position reset for 1041px+
   PREVIEW ONLY
   ========================================================== */

@media (min-width: 1041px) {

  /*
   * ERP — upper left
   */

  .hero-layout .hero-visual
  .ecosystem-erp {
    top: 8%;
    right: auto;
    bottom: auto;
    left: 8%;

    transform: none;
  }

  .hero-layout .hero-visual
  .ecosystem-erp:hover {
    transform:
      translateY(-4px);
  }


  /*
   * WEB — upper right
   */

  .hero-layout .hero-visual
  .ecosystem-web {
    top: 8%;
    right: 8%;
    bottom: auto;
    left: auto;

    transform: none;
  }

  .hero-layout .hero-visual
  .ecosystem-web:hover {
    transform:
      translateY(-4px);
  }


  /*
   * ORDERING — middle left
   */

  .hero-layout .hero-visual
  .ecosystem-commerce {
    top: 42%;
    right: auto;
    bottom: auto;
    left: 0;

    transform: none;
  }

  .hero-layout .hero-visual
  .ecosystem-commerce:hover {
    transform:
      translateX(4px);
  }


  /*
   * TAP — middle right
   */

  .hero-layout .hero-visual
  .ecosystem-tap {
    top: 42%;
    right: 0;
    bottom: auto;
    left: auto;

    transform: none;
  }

  .hero-layout .hero-visual
  .ecosystem-tap:hover {
    transform:
      translateX(-4px);
  }


  /*
   * PREPRESS — lower left
   */

  .hero-layout .hero-visual
  .ecosystem-prepress {
    top: auto;
    right: auto;
    bottom: 8%;
    left: 9%;

    transform: none;
  }

  .hero-layout .hero-visual
  .ecosystem-prepress:hover {
    transform:
      translateY(-4px);
  }


  /*
   * EVENTS — lower right
   */

  .hero-layout .hero-visual
  .ecosystem-events {
    top: auto;
    right: 9%;
    bottom: 8%;
    left: auto;

    transform: none;
  }

  .hero-layout .hero-visual
  .ecosystem-events:hover {
    transform:
      translateY(-4px);
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V8 TAP MOBILE
   Video carousel + compact identity cards
   PREVIEW ONLY
   ========================================================== */

.tpm-v8-tap-carousel-controls,
.tpm-v8-tap-toggle {
  display: none;
}


@media (max-width: 620px) {

  /*
   * --------------------------------------------------------
   * VIDEO SECTION
   * --------------------------------------------------------
   */

  body.tpm-page-tap-digital-identity
  .service-media-section {
    padding-top:
      32px !important;

    padding-bottom:
      32px !important;
  }


  body.tpm-page-tap-digital-identity
  .service-media-section
  .section-heading {
    margin-bottom:
      16px !important;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-video-carousel {
    display:
      block !important;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-video-slide {
    display:
      none !important;

    margin:
      0 !important;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-video-slide.is-v8-active {
    display:
      block !important;
  }


  body.tpm-page-tap-digital-identity
  .service-video-copy {
    padding:
      16px !important;
  }


  body.tpm-page-tap-digital-identity
  .service-video-copy h3 {
    margin:
      7px 0 6px !important;

    font-size:
      1rem;
  }


  body.tpm-page-tap-digital-identity
  .service-video-copy p {
    font-size:
      0.82rem;

    line-height:
      1.45;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-carousel-controls {
    display:
      flex;

    align-items:
      center;

    justify-content:
      center;

    gap:
      14px;

    margin-top:
      14px;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-carousel-arrow {
    width:
      40px;

    height:
      40px;

    display:
      grid;

    place-items:
      center;

    padding:
      0;

    border:
      1px solid
      rgba(255, 184, 106, 0.32);

    border-radius:
      50%;

    color:
      var(--tap);

    background:
      rgba(255, 184, 106, 0.07);

    font-size:
      1.45rem;

    line-height:
      1;

    cursor:
      pointer;

    touch-action:
      manipulation;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-carousel-dots {
    display:
      flex;

    align-items:
      center;

    gap:
      8px;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-carousel-dot {
    width:
      9px;

    height:
      9px;

    padding:
      0;

    border:
      0;

    border-radius:
      50%;

    background:
      rgba(255, 255, 255, 0.24);

    cursor:
      pointer;

    touch-action:
      manipulation;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-carousel-dot.is-v8-active {
    background:
      var(--tap);

    box-shadow:
      0 0 16px
      rgba(255, 184, 106, 0.48);
  }


  /*
   * --------------------------------------------------------
   * CONNECTED IDENTITY CARDS
   * --------------------------------------------------------
   */

  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-identity-section {
    padding-top:
      30px !important;

    padding-bottom:
      30px !important;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-identity-section
  .section-heading {
    margin-bottom:
      16px !important;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-identity-grid {
    display:
      grid !important;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      ) !important;

    gap:
      10px !important;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-card {
    min-width:
      0;

    min-height:
      0 !important;

    padding:
      13px !important;

    align-content:
      start;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-card
  .division-label {
    font-size:
      0.56rem;

    line-height:
      1.12;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-card
  h3 {
    margin:
      7px 0 4px !important;

    font-size:
      0.84rem;

    line-height:
      1.17;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-detail {
    display:
      none;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-toggle {
    position:
      relative;

    z-index:
      5;

    width:
      100%;

    display:
      flex;

    align-items:
      center;

    justify-content:
      space-between;

    gap:
      6px;

    margin-top:
      8px;

    padding:
      7px 8px;

    border:
      1px solid
      rgba(255, 184, 106, 0.24);

    border-radius:
      10px;

    color:
      var(--tap);

    background:
      rgba(255, 184, 106, 0.055);

    font:
      inherit;

    font-size:
      0.68rem;

    font-weight:
      800;

    cursor:
      pointer;

    pointer-events:
      auto !important;

    touch-action:
      manipulation;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-toggle b {
    font-size:
      1rem;

    line-height:
      1;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-card.is-v8-expanded {
    grid-column:
      1 / -1;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-card.is-v8-expanded
  .tpm-v8-tap-detail {
    display:
      block;

    margin-top:
      9px !important;

    font-size:
      0.78rem;

    line-height:
      1.42;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-toggle[aria-expanded="true"]
  ~ .tpm-v8-tap-detail {
    display:
      block !important;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-card:has(
    .tpm-v8-tap-toggle[aria-expanded="true"]
  ) {
    grid-column:
      1 / -1;
  }
}


@media (max-width: 340px) {

  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-identity-grid {
    grid-template-columns:
      1fr !important;
  }


  body.tpm-page-tap-digital-identity
  .tpm-v8-tap-card.is-v8-expanded {
    grid-column:
      auto;
  }
}


/* ==========================================================
   TPM RESPONSIVE PREVIEW V9 DIGITAL INVITATIONS MOBILE
   Featured media compaction + expandable event cards
   PREVIEW ONLY
   ========================================================== */

.tpm-v9-invitations-toggle {
  display: none;
}


@media (max-width: 620px) {

  /*
   * FEATURED VIDEO
   */

  body.tpm-page-digital-invitations
  .service-media-section {
    padding-top:
      32px !important;

    padding-bottom:
      32px !important;
  }


  body.tpm-page-digital-invitations
  .service-media-section
  .section-heading {
    margin-bottom:
      16px !important;
  }


  body.tpm-page-digital-invitations
  .service-video-card-featured {
    margin:
      0 !important;
  }


  body.tpm-page-digital-invitations
  .service-video-copy {
    padding:
      16px !important;
  }


  body.tpm-page-digital-invitations
  .service-video-copy h3 {
    margin:
      7px 0 6px !important;

    font-size:
      1rem;
  }


  body.tpm-page-digital-invitations
  .service-video-copy p {
    font-size:
      0.82rem;

    line-height:
      1.45;
  }


  /*
   * EVENT CAPABILITY CARDS
   */

  body.tpm-page-digital-invitations
  .tpm-v9-invitations-section {
    padding-top:
      30px !important;

    padding-bottom:
      30px !important;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-section
  .section-heading {
    margin-bottom:
      16px !important;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-grid {
    display:
      grid !important;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      ) !important;

    gap:
      10px !important;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-card {
    min-width:
      0;

    min-height:
      0 !important;

    padding:
      13px !important;

    align-content:
      start;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-card
  .division-label {
    font-size:
      0.56rem;

    line-height:
      1.12;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-card
  h3 {
    margin:
      7px 0 4px !important;

    font-size:
      0.84rem;

    line-height:
      1.17;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-detail {
    display:
      none;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-toggle {
    position:
      relative;

    z-index:
      5;

    width:
      100%;

    display:
      flex;

    align-items:
      center;

    justify-content:
      space-between;

    gap:
      6px;

    margin-top:
      8px;

    padding:
      7px 8px;

    border:
      1px solid
      rgba(255, 123, 200, 0.24);

    border-radius:
      10px;

    color:
      var(--events);

    background:
      rgba(255, 123, 200, 0.055);

    font:
      inherit;

    font-size:
      0.68rem;

    font-weight:
      800;

    cursor:
      pointer;

    pointer-events:
      auto !important;

    touch-action:
      manipulation;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-toggle b {
    font-size:
      1rem;

    line-height:
      1;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-card.is-v9-expanded {
    grid-column:
      1 / -1;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-card.is-v9-expanded
  .tpm-v9-invitations-detail {
    display:
      block;

    margin-top:
      9px !important;

    font-size:
      0.78rem;

    line-height:
      1.42;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-toggle[aria-expanded="true"]
  ~ .tpm-v9-invitations-detail {
    display:
      block !important;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-card:has(
    .tpm-v9-invitations-toggle[aria-expanded="true"]
  ) {
    grid-column:
      1 / -1;
  }
}


@media (max-width: 340px) {

  body.tpm-page-digital-invitations
  .tpm-v9-invitations-grid {
    grid-template-columns:
      1fr !important;
  }


  body.tpm-page-digital-invitations
  .tpm-v9-invitations-card.is-v9-expanded {
    grid-column:
      auto;
  }
}
