:root {
  --accent: #087fbd;
  --accent-deep: #075f8e;
  --accent-soft: #e8f5fc;
  --ink: #08253e;
  --paper: #f4f7f9;
  --surface: #ffffff;
  --line: #c8d6e0;
  --muted: #526777;
  --focus: #9b3f00;
  --max: 1200px;
  --shadow: 0 14px 32px rgba(8, 55, 88, .09);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 Arial, sans-serif;
  overflow-wrap: anywhere;
}

img,
svg,
video {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

:where(a, button, summary, input, select, textarea) {
  min-height: 44px;
}

:where(a, button, summary, input, select, textarea, [tabindex="0"]):focus-visible {
  outline: 3px solid #9b3f00;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #ffffff;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  min-width: 0;
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 99;
  top: -80px;
  left: 20px;
  padding: 10px 14px;
  border-radius: 0 0 6px 6px;
  background: var(--accent-deep);
  color: #ffffff;
}

.skip:focus {
  top: 0;
}

.utility {
  background: #061827;
  color: #d9e4ec;
  font-size: 13px;
}

.utility .container {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.utility strong {
  color: #ffffff;
}

.utility-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.utility-contact a {
  color: #8fd2f5;
  font-weight: 700;
}

.mixer-family {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.mixer-family-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.mixer-family-grid a {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbfd;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.mixer-family-grid a[aria-current="page"],
.mixer-family-grid a:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.mixer-family-grid img {
  width: 100%;
  height: 64px;
  object-fit: contain;
}

.nav {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}

.nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.05em;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

.button:hover {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
}

.button.secondary {
  background: transparent;
  color: var(--accent-deep);
}

.product-detail-hero {
  padding: 34px 0 68px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fbfe, #eef6fb);
}

.product-detail-title {
  margin: 0;
  padding: 8px 0 38px;
  text-align: center;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.product-detail-grid > *,
.form-layout > *,
.card-grid > * {
  min-width: 0;
}

.product-detail-main {
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-detail-main img {
  width: 100%;
  height: auto;
  max-height: 430px;
  display: block;
  object-fit: contain;
}

.product-detail-thumbs {
  max-width: 100%;
  display: flex;
  gap: 9px;
  margin-top: 12px;
  padding: 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}

.product-detail-thumb {
  width: 72px;
  height: 72px;
  min-width: 72px;
  padding: 3px;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #ffffff;
}

.product-detail-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-detail-thumb[aria-current="false"] {
  border-color: var(--line);
}

.gallery-controls {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.gallery-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}

.product-detail-copy h2,
.section h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.product-detail-copy p {
  margin: 0 0 12px;
  color: var(--muted);
}

.product-detail-specs {
  margin: 22px 0;
  border-top: 1px solid var(--line);
}

.product-detail-specs div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
}

.product-detail-specs dt,
.product-detail-specs dd {
  min-width: 0;
  margin: 0;
}

.product-detail-specs dt {
  font-weight: 700;
}

.product-detail-specs dd {
  color: var(--muted);
}

.product-page-nav {
  position: sticky;
  z-index: 30;
  top: 74px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}

.product-page-nav-links {
  min-height: 58px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  padding-block: 7px;
}

.product-page-nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-page-nav-links a:hover {
  color: var(--accent-deep);
}

.section {
  padding: 84px 0;
  background: #ffffff;
}

.section.alt {
  background: var(--paper);
}

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

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 9px !important;
  color: var(--accent-deep) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.principle-copy {
  max-width: 920px;
  display: grid;
  gap: 14px;
}

.principle-copy p {
  margin: 0;
  color: var(--muted);
}

.principle-visuals,
.workshop-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.workshop-photos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle-visuals figure,
.workshop-photos figure,
.complete-line-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.principle-visuals img,
.workshop-photos img,
.complete-line-visual img,
.detail-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.detail-grid img {
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #f7fbfd;
}

.principle-visuals figcaption,
.workshop-photos figcaption,
.complete-line-visual figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}

.complete-line-visual {
  margin: 28px 0 0;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.workflow-grid {
  margin-top: 28px;
}

.card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(8, 55, 88, .05);
}

.card-index {
  width: 32px;
  height: 32px;
  display: grid;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
}

.card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
  scrollbar-gutter: stable;
}

.spec-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.spec-table caption {
  padding: 14px;
  text-align: left;
  color: var(--muted);
  font-size: 13px;
}

.spec-table th {
  padding: 15px;
  background: var(--ink);
  color: #ffffff;
  text-align: left;
  font-size: 12px;
}

.spec-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  font-family: monospace;
  font-size: 13px;
  white-space: nowrap;
}

.spec-table td:first-child {
  background: #f7fbfd;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.workflow-overview {
  max-width: 900px;
  color: var(--muted);
}

.form-zone {
  background: linear-gradient(125deg, #061827, #104d78);
  color: #ffffff;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: start;
}

.form-copy p {
  color: #d5e1e9;
}

.contact-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li,
.contact-list a {
  color: #d5e1e9;
  font-weight: 700;
}

.contact-list a:hover {
  color: #ffffff;
}

.contact-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.contact-fallback .button.secondary {
  background: transparent;
  color: #8fd2f5;
  border-color: rgba(143, 210, 245, .55);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-grid a {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  text-align: center;
  font-weight: 800;
}

.related-grid a:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.verification-note {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 9px;
  background: rgba(255, 255, 255, .1);
}

.form-card {
  padding: 30px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

.form-card h3 {
  margin: 0;
  font-size: 22px;
}

.form-card > p {
  margin: 7px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafcfd;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-deep);
}

.form-card .button {
  width: 100%;
  margin-top: 14px;
}

.endpoint-status {
  margin: 13px 0 0 !important;
  padding: 11px 13px;
  border-radius: 6px;
  background: #fff3d9;
  color: #654900 !important;
}

.form-privacy {
  font-size: 12px !important;
  text-align: center;
}

.footer {
  padding: 48px 0 82px;
  background: #061827;
  color: #c7d4dd;
}

.footer-row,
.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 15px;
}

.footer h2 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
}

.footer p {
  max-width: 640px;
  margin: 7px 0 0;
}

.footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #8fd2f5;
  font-weight: 700;
}

.mobile-actions {
  display: none;
}

.mobile-actions a {
  min-width: 44px;
}

@media (max-width: 1024px) {
  .product-detail-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    gap: 12px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .product-page-nav {
    position: static;
  }

  .mixer-family-grid,
  .principle-visuals,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .utility .container {
    justify-content: center;
    text-align: center;
  }

  .utility span {
    display: none;
  }

  .nav-row {
    min-height: 64px;
  }

  .nav-links .button.secondary {
    display: none;
  }

  .product-detail-hero {
    padding: 26px 0 48px;
  }

  .product-detail-title {
    padding-bottom: 26px;
    font-size: 31px;
  }

  .product-detail-grid {
    gap: 28px;
  }

  .product-detail-main {
    min-height: 270px;
  }

  .product-page-nav-links {
    gap: 2px 12px;
    padding-block: 9px;
  }

  .section {
    padding: 62px 0;
  }

  .feature-grid,
  .application-grid,
  .detail-grid,
  .workflow-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .product-detail-specs div {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  .form-card {
    padding: 24px 18px;
  }

  .footer-row,
  .footer-grid {
    display: block;
  }

  .mixer-family-grid,
  .principle-visuals,
  .workshop-photos,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .mobile-actions {
    position: fixed;
    z-index: 45;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-top: 1px solid var(--line);
    background: #ffffff;
  }

  .mobile-actions a {
    min-height: 56px;
    display: grid;
    place-items: center;
    background: var(--accent-deep);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-actions a:first-child {
    background: #25d366;
  }
}

@media (max-width: 375px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand {
    font-size: 19px;
  }

  .nav-links .button {
    padding-inline: 12px;
  }

  .product-detail-title {
    font-size: 28px;
  }

  .product-detail-main {
    min-height: 230px;
  }

  .product-detail-specs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .section {
    padding: 52px 0;
  }

  .card,
  .form-card {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.mobile-menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--accent-deep);
  border-radius: 7px;
  background: #ffffff;
  color: var(--accent-deep);
  font-weight: 700;
}

.form-error {
  margin: 13px 0 0 !important;
  padding: 11px 13px;
  border-radius: 6px;
  background: #fde8e8;
  color: #7a1515 !important;
}

@media (max-width: 768px) {
  .js-enabled .nav-row {
    position: relative;
  }

  .js-enabled .mobile-menu-toggle {
    display: inline-flex;
  }

  .js-enabled .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 16px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .js-enabled .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .js-enabled .nav-links.is-open a,
  .js-enabled .nav-links.is-open .button.secondary {
    display: inline-flex;
    justify-content: center;
  }
}

/* Right-side floating contact (match landing pages) */
.floating-sidebar {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.floating-sidebar a:hover {
  transform: translateX(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  color: #fff;
}
.floating-sidebar .fs-wa { background: #25D366; }
.floating-sidebar .fs-email { background: #087fbd; }
.floating-sidebar .fs-tel { background: #2c3e50; }
.floating-sidebar .fs-top { background: #95a5a6; }
@media (max-width: 768px) {
  .floating-sidebar { display: none; }
}
