/* ==========================================================================
   Motion Medical — global stylesheet
   Colors: Nordic cyan brand accent (#00A6E0) on white/soft-gray base.
   ========================================================================== */

:root {
  --brand: #00a6e0;                  /* matches the logo SVG exactly */
  --brand-dark: #0078A8;
  --brand-dark-accessible: #0090c4;  /* darker variant for small-size text — WCAG AA-friendlier on white */
  --brand-soft: #E0F4FB;
  --ink: #0A1B2E;
  --muted: #5A6B75;
  --line: #E2EAEF;
  --bg: #FFFFFF;
  --bg-soft: #F4F8FB;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(10, 27, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 27, 46, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 27, 46, 0.14);
  --t: 0.25s cubic-bezier(.2,.7,.2,1);
  --mm-cross-url: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="currentColor" aria-hidden="true"><rect x="40" y="10" width="20" height="80" rx="10" ry="10"/><rect x="10" y="40" width="80" height="20" rx="10" ry="10"/></svg>');
  --mm-cluster-outline-url: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" fill="none" stroke="currentColor" stroke-width="3" aria-hidden="true"><g transform="translate(0,0)"><path d="M40 10 h20 a10 10 0 0 1 10 10 v20 h20 a10 10 0 0 1 10 10 v0 a10 10 0 0 1 -10 10 h-20 v20 a10 10 0 0 1 -10 10 h0 a10 10 0 0 1 -10 -10 v-20 h-20 a10 10 0 0 1 -10 -10 v0 a10 10 0 0 1 10 -10 h20 v-20 a10 10 0 0 1 10 -10 z"/></g><g transform="translate(110,30)"><path d="M40 10 h20 a10 10 0 0 1 10 10 v20 h20 a10 10 0 0 1 10 10 v0 a10 10 0 0 1 -10 10 h-20 v20 a10 10 0 0 1 -10 10 h0 a10 10 0 0 1 -10 -10 v-20 h-20 a10 10 0 0 1 -10 -10 v0 a10 10 0 0 1 10 -10 h20 v-20 a10 10 0 0 1 10 -10 z"/></g><g transform="translate(40,100)"><path d="M40 10 h20 a10 10 0 0 1 10 10 v20 h20 a10 10 0 0 1 10 10 v0 a10 10 0 0 1 -10 10 h-20 v20 a10 10 0 0 1 -10 10 h0 a10 10 0 0 1 -10 -10 v-20 h-20 a10 10 0 0 1 -10 -10 v0 a10 10 0 0 1 10 -10 h20 v-20 a10 10 0 0 1 10 -10 z"/></g><g transform="translate(140,130)"><path d="M40 10 h20 a10 10 0 0 1 10 10 v20 h20 a10 10 0 0 1 10 10 v0 a10 10 0 0 1 -10 10 h-20 v20 a10 10 0 0 1 -10 10 h0 a10 10 0 0 1 -10 -10 v-20 h-20 a10 10 0 0 1 -10 -10 v0 a10 10 0 0 1 10 -10 h20 v-20 a10 10 0 0 1 10 -10 z"/></g></svg>');
  --mm-cluster-solid-url: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" fill="currentColor" aria-hidden="true"><g transform="translate(0,0)"><rect x="40" y="10" width="20" height="80" rx="10" ry="10"/><rect x="10" y="40" width="80" height="20" rx="10" ry="10"/></g><g transform="translate(110,30)"><rect x="40" y="10" width="20" height="80" rx="10" ry="10"/><rect x="10" y="40" width="80" height="20" rx="10" ry="10"/></g><g transform="translate(40,100)"><rect x="40" y="10" width="20" height="80" rx="10" ry="10"/><rect x="10" y="40" width="80" height="20" rx="10" ry="10"/></g><g transform="translate(140,130)"><rect x="40" y="10" width="20" height="80" rx="10" ry="10"/><rect x="10" y="40" width="80" height="20" rx="10" ry="10"/></g></svg>');



}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex; align-items: center;
  line-height: 1;
}
.logo img {
  width: 180px; height: auto;
  display: block;
}
/* Footer brand wordmark — sits directly on the dark teal footer.
   Logo is natively white on transparent, so no filter/background. */
.footer-brand-logo-link {
  display: inline-block;
  line-height: 0;
  margin: 0 0 18px;
}
.footer-brand-logo {
  width: 180px;
  height: auto;
  display: block;
  background: none;
  border: 0;
}
@media (max-width: 640px) {
  .footer-brand-logo { width: 140px; }
}

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-menu > li > a,
.nav-menu > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  background: none; border: 0; cursor: pointer;
  border-radius: 8px;
  transition: background var(--t), color var(--t);
  font-family: inherit;
}
.nav-menu > li > a:hover,
.nav-menu > li > button:hover,
.nav-menu > li.active > a {
  background: var(--bg-soft);
  color: var(--brand);
}
.nav-menu .chevron {
  width: 12px; height: 12px;
  transition: transform var(--t);
}
.has-dropdown[aria-expanded="true"] .chevron { transform: rotate(180deg); }

/* ---------- Products mega-dropdown ---------- */
.products-dropdown {
  position: absolute;
  top: 72px; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1100px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility 0s linear var(--t);
}
.nav-item-products:hover > .products-dropdown,
.nav-item-products:focus-within > .products-dropdown,
.nav-item-products[aria-expanded="true"] > .products-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--t), transform var(--t);
}
/* Invisible hover bridge — scoped to the trigger so hovering the logo
   (or anywhere else in the header) does not open the dropdown. */
.nav-item-products > .has-dropdown { position: relative; }
.nav-item-products > .has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%; left: -40px; right: -40px;
  height: 18px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.dropdown-pillar {
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
}
.pillar-heading {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.dropdown-subfamily { display: flex; flex-direction: column; gap: 2px; }
.subfamily-heading {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-dark-accessible);
  padding: 6px 12px 4px;
}
.products-grid a.product-card {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  transition: background var(--t), transform var(--t);
}
.products-grid a.product-card:hover {
  background: var(--brand-soft);
  transform: translateX(2px);
}
.products-grid .thumb {
  flex: 0 0 40px; width: 40px; height: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.products-grid .thumb img {
  max-width: 88%; max-height: 88%;
  object-fit: contain;
}
.products-grid .info .name {
  font-size: 13px; font-weight: 500; margin: 0;
  line-height: 1.3;
}
/* Mobile: collapse the 3-pillar grid to a single stacked column */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr; gap: 12px; }
  .dropdown-pillar { gap: 8px; }
  .pillar-heading { padding: 8px 0 6px; }
}

.dropdown-footer {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: right;
}
.dropdown-footer a {
  font-size: 14px; font-weight: 600;
  color: var(--brand);
}

/* ---------- Mobile nav ---------- */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px; border-radius: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a,
  .nav-menu > li > button { width: 100%; justify-content: space-between; }
  .products-dropdown {
    position: static; width: 100%; transform: none;
    box-shadow: none; border: 0; padding: 0;
    max-height: 0; overflow: hidden;
    opacity: 1; visibility: visible;
    transition: max-height var(--t);
  }
  .nav-item-products[aria-expanded="true"] .products-dropdown {
    max-height: 800px; padding: 8px 0;
  }
  .nav-item-products > .has-dropdown::after { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px; font-weight: 600;
  border-radius: 8px;
  cursor: pointer; border: 0;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  font-family: inherit;
}
.btn-primary {
  background: var(--brand); color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark); color: #fff;
  box-shadow: var(--shadow-md); transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-ghost:hover { background: var(--brand-soft); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Homepage ---------- */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #F4F8FB 0%, #FFFFFF 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero h1 span { color: var(--brand); }
.hero p.lead {
  font-size: 18px; color: var(--muted); max-width: 540px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4; padding: 30px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-visual img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
}

.section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 48px;
}

.feature-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .icon {
  width: 44px; height: 44px;
  background: var(--brand-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin: 0 0 8px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr; } }

/* ---------- Product grid (full-width listing page) ---------- */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-header h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em; margin: 0 0 10px;
}
.page-header p {
  font-size: 17px; color: var(--muted);
  max-width: 640px; margin: 0 auto;
}

.products-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 60px 0 80px;
}
.product-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.product-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.product-tile .tile-img {
  background: var(--bg-soft);
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.product-tile .tile-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.product-tile .tile-body { padding: 20px 22px 24px; }
.product-tile h3 { font-size: 18px; margin: 0 0 6px; color: var(--ink); }
.product-tile p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.product-tile .tile-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 600; color: var(--brand);
}
@media (max-width: 900px) { .products-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products-list { grid-template-columns: 1fr; } }

/* ---------- Landing page (single product) ---------- */
.product-hero {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center;
  padding: 60px 0;
}
.product-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  aspect-ratio: 5/4;
  display: flex; align-items: center; justify-content: center;
}
.product-visual img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-info .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--brand); text-transform: uppercase;
  margin: 0 0 10px;
}
.product-info h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.product-info .summary {
  font-size: 17px; color: var(--muted);
  margin: 0 0 28px;
}
.spec-table {
  width: 100%; border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.spec-table thead th {
  background: var(--bg-soft);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.spec-table tbody th { font-weight: 600; color: var(--ink); width: 35%; }
@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
}

.detail-section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.detail-section h2 {
  font-size: 28px; letter-spacing: -0.01em;
  margin: 0 0 32px;
}
.feature-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}
.feature-list li {
  padding: 18px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--brand);
}
.feature-list li strong {
  display: block;
  color: var(--ink); margin-bottom: 4px;
  font-size: 15px;
}
.feature-list li span {
  color: var(--muted); font-size: 14px;
}
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }

.cert-row {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.cert-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 100px;
  font-size: 14px; font-weight: 600;
}

.cta-band {
  margin: 80px 0 0;
  padding: 60px 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.cta-band p {
  font-size: 17px; opacity: 0.9;
  max-width: 560px; margin: 0 auto 28px;
}
.cta-band .btn-primary {
  background: #fff; color: var(--brand-dark);
}
.cta-band .btn-primary:hover { background: #fff; color: var(--brand-dark); transform: translateY(-1px); }

/* ========================================================================
   Contact page — sidebar + single-column form
   ======================================================================== */
.contact-section { padding: 60px 0 100px; }

.contact-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 60px;
  align-items: start;
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .contact-section { padding: 40px 0 60px; }
}

/* ----- Sidebar ----- */
.contact-sidebar h2 {
  font-size: 24px; letter-spacing: -0.01em; margin: 0 0 12px;
}
.contact-intro {
  color: var(--muted);
  font-size: 16px; line-height: 1.6;
  margin: 0 0 32px;
  max-width: 34ch;
}
.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-item { margin-bottom: 16px; }
.contact-item.office-block { margin-bottom: 28px; }
.contact-item address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 4px;
}
.contact-item.office-block > div { margin-bottom: 3px; }
.contact-item.office-block > div:last-child { margin-bottom: 0; }
.contact-item .eyebrow {
  display: block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.contact-item a,
.contact-item > div {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.contact-item a { color: var(--brand-dark); }
.contact-item a:hover { color: var(--brand); }

/* ----- Form column ----- */
.contact-form-col { min-width: 0; }
.contact-form-v2 {
  max-width: 520px;
  margin: 0;
}
@media (max-width: 760px) {
  .contact-form-v2 { max-width: 100%; }
}

.form-field {
  display: block;
  margin: 0 0 24px;
  border: 0; padding: 0;                  /* reset for <fieldset> */
  min-width: 0;
}
.form-field label,
.form-field legend {
  display: block;
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  padding: 0;
}
.form-field .req {
  color: var(--muted);
  font-weight: 500;
  margin-left: 3px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  font-size: 16px;                        /* 16px prevents iOS auto-zoom */
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-field textarea {
  min-height: 140px;
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
  field-sizing: content;                  /* auto-expand where supported */
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9BA6B0; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 166, 224, 0.18);
}

/* Error state (applied to wrapper on failed validation) */
.form-field.is-error input,
.form-field.is-error textarea {
  border-color: #D64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.12);
}
.field-error {
  margin: 8px 0 0;
  font-size: 13px;
  color: #B02E2E;
  min-height: 0;
}
.form-field.is-error .field-error { min-height: 1em; }

/* ----- Inquiry-type pills (real radios styled as pills) ----- */
.inquiry-pills { margin: 0 0 24px; }
.inquiry-pills legend { margin: 0 0 8px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  user-select: none;
}
.pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}
.pill span {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 100px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.pill:hover span { background: var(--brand-soft); }
.pill input:checked + span {
  background: var(--brand);
  color: #fff;
}
.pill input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ----- Form-level helpers ----- */
.form-note {
  margin: 4px 0 24px;
  font-size: 13px;
  color: var(--muted);
}
.form-note .req { color: var(--muted); }
.submit-row { margin: 0 0 16px; }
.btn-send {
  min-width: 180px;
}
@media (max-width: 560px) {
  .btn-send { width: 100%; }
}
.btn-send svg {
  margin-left: 4px;
  transition: transform var(--t);
}
.btn-send:hover svg { transform: translateX(3px); }

.form-reassurance {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 48ch;
}

/* ----- Success state ----- */
.contact-success {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  max-width: 520px;
}
.contact-success .success-check {
  color: var(--brand);
  margin: 0 auto 16px;
}
.contact-success h3 {
  font-size: 22px; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.contact-success p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0E6A87;
  color: #CBE5EE;
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 30px;
}
.site-footer h4 {
  color: #fff; font-size: 14px;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #CBE5EE; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-col p { font-size: 14px; opacity: 0.9; max-width: 320px; margin: 10px 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px; font-size: 13px; opacity: 0.8;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-footer .brand-col { grid-column: 1 / -1; }
}

/* ---------- Top utility bar (above sticky header) ---------- */
.top-bar {
  background: var(--ink); color: rgba(255,255,255,0.75);
  font-size: 12px; letter-spacing: 0.02em;
}
.top-bar .container {
  display: flex; align-items: center;
  height: 32px; gap: 16px;
}
.top-bar .sep { color: var(--brand); margin: 0 8px; }
.top-bar .tb-locations { margin-right: auto; }
.top-bar .tb-phone {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color var(--t);
}
.top-bar .tb-phone:hover { color: var(--brand); }
.top-bar .tb-lang {
  display: inline-flex; align-items: center; gap: 6px;
}
.top-bar .tb-lang a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--t);
}
.top-bar .tb-lang a:hover { color: var(--brand); }
.top-bar .tb-lang .current {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.top-bar .tb-lang .sep { color: rgba(255,255,255,0.25); margin: 0 2px; }
@media (max-width: 640px) { .top-bar .hide-sm { display: none; } }

/* ---------- Bridge section (Finnish Connection) ---------- */
.bridge {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bridge-inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px;
}
.bridge .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--brand); text-transform: uppercase;
  margin: 0 0 14px;
}
.bridge h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15; letter-spacing: -0.01em;
  margin: 0;
}
.bridge .body > p:first-child {
  font-size: 19px; color: var(--ink); margin: 0 0 18px;
}
.bridge .body p { color: var(--muted); margin: 0 0 16px; font-size: 16px; }
.bridge-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.bridge-meta .label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.bridge-meta .name {
  font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 2px;
}
.bridge-meta .desc { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .bridge-inner { grid-template-columns: 1fr; gap: 24px; }
  .bridge-meta { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Pillar numbered cards (Helsinki Protocol / Sustainability) ---------- */
.pillar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--t), box-shadow var(--t);
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-card .num {
  font-size: 28px; font-weight: 700; color: var(--brand);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.pillar-card h3 { font-size: 17px; margin: 0 0 8px; color: var(--ink); }
.pillar-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.pillar-card .owner {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px;
}
@media (max-width: 900px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ---------- Split card (Helsinki HQ / Istanbul Hub) ---------- */
.split-card {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.split-card > div { padding: 32px; }
.split-card > div + div { border-left: 1px solid var(--line); background: var(--bg-soft); }
.split-card .eyebrow {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); font-weight: 600;
  margin: 0 0 8px;
}
.split-card h3 {
  font-size: 22px; letter-spacing: -0.01em; margin: 0 0 16px;
}
.split-card ul { list-style: none; padding: 0; margin: 0; }
.split-card li {
  font-size: 14px; color: var(--muted); padding: 6px 0;
  position: relative; padding-left: 18px;
}
.split-card li::before {
  content: "—"; color: var(--brand); position: absolute; left: 0;
}
@media (max-width: 760px) {
  .split-card { grid-template-columns: 1fr; }
  .split-card > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Big stat (Sustainability metrics) ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.stat-card .figure {
  font-size: 44px; font-weight: 700; color: var(--brand);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  margin: 0 0 8px; line-height: 1;
}
.stat-card h3 { font-size: 17px; margin: 0 0 10px; }
.stat-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- Procedure pack card ---------- */
.pack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pack-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.pack-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pack-card .pack-head {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--line);
}
.pack-card .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--brand); text-transform: uppercase;
  margin: 0 0 10px;
}
.pack-card h3 {
  font-size: 26px; letter-spacing: -0.01em; margin: 0 0 12px;
}
.pack-card .pack-head p { color: var(--muted); font-size: 15px; margin: 0; }
.pack-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; padding: 20px 32px;
  background: var(--bg-soft); font-size: 13px;
}
.pack-meta .label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.pack-meta .val { color: var(--ink); font-weight: 600; }
.pack-contents { padding: 0; list-style: none; margin: 0; flex: 1; }
.pack-contents li {
  padding: 16px 32px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
}
.pack-contents li:first-child { border-top: 0; }
.pack-contents .item strong { display: block; color: var(--ink); font-size: 15px; }
.pack-contents .item small { color: var(--muted); font-size: 12px; }
.pack-contents .ref {
  text-align: right;
  font-size: 12px; color: var(--muted);
}
.pack-contents .qty { font-weight: 600; color: var(--ink); }
.pack-cta { padding: 24px 32px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .pack-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Product-family section (grouped products page) ---------- */
.family-block { padding: 60px 0; border-top: 1px solid var(--line); }
.family-block:first-child { border-top: 0; }
.family-head {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline;
  margin-bottom: 32px;
}
.family-head .pillar-num {
  font-size: 42px; font-weight: 700; color: var(--brand);
  letter-spacing: -0.02em; line-height: 1;
}
.family-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.01em; margin: 0 0 6px;
}
.family-head p { color: var(--muted); font-size: 15px; margin: 0; }
.sub-family {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.sub-family h4 {
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 20px;
}
.sub-family .products-list { padding: 0; }

/* ---------- Top quote CTA (RFQ highlight) ---------- */
.quote-highlight {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 40px;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center;
}
.quote-highlight .badge {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; color: var(--brand);
  padding: 6px 12px; background: #fff; border: 1px solid var(--brand);
  border-radius: 100px;
}
.quote-highlight h3 { margin: 0; font-size: 18px; flex: 1 1 300px; }
.quote-highlight p { margin: 0; color: var(--muted); font-size: 14px; flex: 1 1 100%; }

/* ---------- Certificate badges grid ---------- */
.cert-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cert-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.cert-card .eyebrow {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin: 0 0 6px;
}
.cert-card h4 { font-size: 16px; margin: 0 0 8px; color: var(--ink); }
.cert-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }

/* ---------- Inline logo svg (header) ---------- */
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
  letter-spacing: -0.04em;
}

/* ---------- Generic eyebrow (small uppercase brand-accent label) ----------
   Uses the accessibility-tuned brand variant so small-size eyebrow text
   keeps enough contrast against white. Scoped .eyebrow rules elsewhere
   (e.g. .bridge .eyebrow) still win inside their contexts. */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-dark-accessible);
  margin: 0 0 16px;
}
.hero-eyebrow { color: var(--brand-dark-accessible); }

/* ---------- Hero credibility strip (under lead, before CTAs) ---------- */
.hero-credibility {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0 16px;
  margin: 0 0 28px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.hero-credibility .div {
  width: 1px; height: 14px;
  background: var(--line);
  display: inline-block;
}
@media (max-width: 560px) {
  .hero-credibility { gap: 8px 12px; }
  .hero-credibility .div { display: none; }
}

/* ---------- Demoted CTA: text link with download icon ---------- */
.hero-ctas { align-items: center; }
.hero-text-link {
  display: inline-flex; align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 15px; font-weight: 600;
  color: var(--brand-dark);
  background: none; border: 0;
  transition: color var(--t), transform var(--t);
}
.hero-text-link:hover { color: var(--brand); transform: translateX(2px); }
.hero-text-link .icon-download {
  width: 14px; height: 14px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* ---------- Trust strip (between hero and bridge section) ---------- */
.trust-strip {
  background: #F9FBFC;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.trust-strip .trust-eyebrow {
  text-align: center;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.trust-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px 32px;
}
.trust-logo-placeholder {
  width: 160px; height: 60px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #9BA6B0;
  font-size: 13px; letter-spacing: 0.02em;
  background: #fff;
}

/* ---------- Homepage product range — visual 3-card teaser ---------- */
.home-cat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.home-cat {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  color: var(--ink);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.home-cat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
  z-index: 2;
}
.home-cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.home-cat:hover::before { transform: scaleX(1); }

/* Hero product image — the eye-hook */
.home-cat-hero {
  height: 200px;
  background: var(--bg-soft);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: background var(--t);
  flex: 1;
}
.home-cat-hero img {
  max-height: 100%; max-width: 100%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}
.home-cat:hover .home-cat-hero { background: var(--brand-soft); }
.home-cat:hover .home-cat-hero img { transform: scale(1.06); }

/* Footer of the card — name + link */
.home-cat-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.home-cat h3 {
  font-size: 17px; letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.home-cat-link {
  font-size: 13px; font-weight: 600;
  color: var(--brand-dark);
  display: inline-flex; align-items: center;
  white-space: nowrap;
  transition: color var(--t);
}
.home-cat-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform var(--t);
}
.home-cat:hover .home-cat-link { color: var(--brand); }
.home-cat:hover .home-cat-link span { transform: translateX(4px); }

@media (max-width: 900px) {
  .home-cat-hero { height: 150px; }
}
@media (max-width: 760px) {
  .home-cat-row { grid-template-columns: 1fr; gap: 14px; }
  .home-cat-hero { height: 200px; }
}
@media (max-width: 480px) {
  .home-cat-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- Trust strip — country flags ---------- */
.trust-flags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 28px 44px;
}
.trust-flags li {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
}
.trust-flags .flag {
  width: 56px;
  height: auto;
  border-radius: 3px;
  border: 1px solid rgba(10, 27, 46, 0.08);
  display: block;
  box-shadow: 0 2px 6px rgba(10, 27, 46, 0.06);
  transition: transform var(--t), box-shadow var(--t);
}
.trust-flags .flag.flag-square { width: 38px; }
.trust-flags li:hover .flag {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(10, 27, 46, 0.10);
}
.trust-flags span {
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
@media (max-width: 560px) {
  .trust-flags { gap: 20px 28px; }
  .trust-flags .flag { width: 44px; }
  .trust-flags .flag.flag-square { width: 30px; }
  .trust-flags span { font-size: 12px; }
}

/* ---------- WhatsApp floating action button ---------- */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(10, 27, 46, 0.12);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  z-index: 200;
  text-decoration: none;
}
.wa-fab:hover {
  background: #1FB957;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 3px 10px rgba(10, 27, 46, 0.16);
}
.wa-fab .wa-icon {
  width: 30px; height: 30px;
  display: block;
  position: relative;
  z-index: 2;
}
/* Subtle pulse ring to draw the eye without being noisy */
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  z-index: 1;
  animation: wa-pulse 2.6s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.42; }
  80%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
/* Hover tooltip */
.wa-fab .wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--ink);
  color: #fff;
  font-size: 13px; font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
  box-shadow: 0 4px 12px rgba(10, 27, 46, 0.18);
}
.wa-fab .wa-tooltip::after {
  content: "";
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--ink);
}
.wa-fab:hover .wa-tooltip,
.wa-fab:focus-visible .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 640px) {
  .wa-fab { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .wa-fab .wa-icon { width: 26px; height: 26px; }
  .wa-fab .wa-tooltip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab::before { animation: none; }
  .wa-fab:hover { transform: none; }
}

.PARSE_SENTINEL { color: red; }

/* Motion Medical brand identity */

/* Reusable mask classes */
.brand-cross {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
  flex-shrink: 0;
  width: 14px; height: 14px;
}
.brand-cross--xs { width: 10px; height: 10px; }
.brand-cross--sm { width: 12px; height: 12px; }
.brand-cross--md { width: 16px; height: 16px; }
.brand-cross--lg { width: 24px; height: 24px; }
.brand-cross--xl { width: 36px; height: 36px; }

.brand-cluster {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  mask: var(--mm-cluster-outline-url) center / contain no-repeat;
}
.brand-cluster--solid {
  -webkit-mask-image: var(--mm-cluster-solid-url);
  mask-image: var(--mm-cluster-solid-url);
}

/* Section title cross stamp removed — the .brand-divider element above
   each section already provides the cross, so stamping it on the <h2> too
   was duplication. Pillar h2 cross also removed for the same reason. */

/* Page header — bold cluster watermark on the right */
.page-header {
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  width: 320px; height: 320px;
  background-color: var(--brand);
  opacity: 0.10;
  -webkit-mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.page-header > .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .page-header::after {
    width: 240px; height: 240px;
    right: -110px; opacity: 0.08;
  }
}

/* Hero — bold cluster watermark, top-right with bleed */
.hero { position: relative; overflow: hidden; }
.hero > .brand-watermark {
  position: absolute;
  top: -60px;
  right: -100px;
  width: 420px; height: 420px;
  background-color: var(--brand);
  opacity: 0.13;
  -webkit-mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .hero > .brand-watermark {
    width: 280px; height: 280px;
    right: -120px; top: -80px;
    opacity: 0.09;
  }
}

/* Section divider — bigger cross, more presence */
.brand-divider {
  display: flex; align-items: center;
  gap: 24px;
  max-width: 520px;
  margin: 0 auto 64px;
  color: var(--brand);
}
.brand-divider::before,
.brand-divider::after {
  content: ""; flex: 1;
  height: 1px;
  background: var(--line);
}
.brand-divider .brand-cross { width: 30px; height: 30px; }

/* Product cards — permanent corner mark, brighter on hover */
.product-tile,
.home-cat,
.pack-card {
  position: relative;
}
.product-tile::after,
.home-cat::after,
.pack-card::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 18px; height: 18px;
  background-color: var(--brand);
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
  opacity: 0.25;
  transition: opacity var(--t), transform var(--t);
  pointer-events: none;
  z-index: 3;
}
.product-tile:hover::after,
.home-cat:hover::after,
.pack-card:hover::after {
  opacity: 0.7;
  transform: scale(1.12);
}

/* Top bar — brand cyan cross before "Helsinki HQ" */
.tb-locations::before {
  content: "";
  display: inline-block;
  width: 13px; height: 13px;
  background-color: var(--brand);
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
  vertical-align: -2px;
  margin-right: 8px;
}

/* Footer — large bottom-right cluster ornament */
.site-footer { position: relative; overflow: hidden; }
.site-footer::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 460px; height: 460px;
  background-color: #fff;
  opacity: 0.10;
  -webkit-mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.site-footer .container { position: relative; z-index: 1; }

/* CTA band — twin cluster ornaments left + right */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 320px; height: 320px;
  background-color: #fff;
  opacity: 0.10;
  -webkit-mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.cta-band::before { left: -140px; }
.cta-band::after  { right: -140px; }
.cta-band .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .cta-band::before,
  .cta-band::after { width: 220px; height: 220px; opacity: 0.08; }
}

/* Eyebrow text — brand cross prefix everywhere it's used */
.product-info .eyebrow::before,
.pack-card .eyebrow::before,
.bridge .eyebrow::before,
.split-card .eyebrow::before,
.cert-card .eyebrow::before,
.contact-item .eyebrow::before,
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 11px; height: 11px;
  background-color: currentColor;
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
  vertical-align: 0;
  margin-right: 7px;
}

/* Trust strip eyebrow — also gets the cross */
.trust-eyebrow::before {
  content: "";
  display: inline-block;
  width: 11px; height: 11px;
  background-color: var(--brand);
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
  vertical-align: 0;
  margin-right: 7px;
}

/* Bridge meta cells — small cross before each label */
.bridge-meta .label::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  background-color: var(--brand);
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
  vertical-align: 0;
  margin-right: 6px;
}

/* Stat cards (Quality sustainability) — cross next to figure */
.stat-card .figure { display: inline-flex; align-items: center; gap: 12px; }
.stat-card .figure::before {
  content: "";
  display: inline-block;
  width: 22px; height: 22px;
  background-color: var(--brand);
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
  flex-shrink: 0;
  opacity: 0.5;
}

/* Pillar cards (Quality four gates) — corner mark */
.pillar-card { position: relative; }
.pillar-card::before {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 14px; height: 14px;
  background-color: var(--brand);
  opacity: 0.28;
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
  transition: opacity var(--t);
}
.pillar-card:hover::before { opacity: 0.6; }

/* Cert cards (Quality MDR section) — corner mark */
.cert-card { position: relative; }
.cert-card::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 14px; height: 14px;
  background-color: var(--brand);
  opacity: 0.25;
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
}

/* Feature row cards — corner mark */
.feature { position: relative; }
.feature::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 14px; height: 14px;
  background-color: var(--brand);
  opacity: 0.22;
  -webkit-mask: var(--mm-cross-url) center / contain no-repeat;
  mask: var(--mm-cross-url) center / contain no-repeat;
  transition: opacity var(--t);
}
.feature:hover::after { opacity: 0.55; }

/* Product hero (single-product pages) — cluster behind product image */
.product-visual { position: relative; overflow: hidden; }
.product-visual::before {
  content: "";
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  background-color: var(--brand);
  opacity: 0.08;
  -webkit-mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.product-visual > * { position: relative; z-index: 1; }

/* Bridge section — subtle cluster watermark on the left */
.bridge { position: relative; overflow: hidden; }
.bridge::before {
  content: "";
  position: absolute;
  top: 50%; left: -120px;
  transform: translateY(-50%);
  width: 320px; height: 320px;
  background-color: var(--brand);
  opacity: 0.05;
  -webkit-mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.bridge > .container { position: relative; z-index: 1; }

/* Trust strip — small accent ornament */
.trust-strip { position: relative; overflow: hidden; }
.trust-strip::before {
  content: "";
  position: absolute;
  top: -40px; right: -60px;
  width: 200px; height: 200px;
  background-color: var(--brand);
  opacity: 0.04;
  -webkit-mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  mask: var(--mm-cluster-outline-url) center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.trust-strip > .container { position: relative; z-index: 1; }

/* Contact success state — cluster ornament */
.contact-success { position: relative; overflow: hidden; }
.contact-success::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--brand);
  opacity: 0.08;
  -webkit-mask: var(--mm-cluster-outline-url) center / 200px no-repeat;
  mask: var(--mm-cluster-outline-url) center / 200px no-repeat;
  pointer-events: none;
  z-index: 0;
}
.contact-success > * { position: relative; z-index: 1; }

/* 404 page */
.error-page {
  text-align: center;
  padding: 100px 24px 120px;
  position: relative;
}
.error-page .brand-cluster--solid {
  width: 200px; height: 200px;
  color: var(--brand);
  opacity: 0.3;
  margin: 0 auto 40px;
}
.error-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
.error-page p {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
}
.error-page .error-code {
  display: block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-dark-accessible);
  margin-bottom: 8px;
}
