/* Mark Maker — Global Pharma Engineering
   Light technical palette, premium industrial aesthetic */

:root {
  /* Brand palette */
  --graphite: #0B1117;
  --graphite-soft: #131C25;
  --navy: #102338;
  --navy-2: #1A3253;
  --pharma: #1D6FE8;
  --pharma-deep: #155BC6;
  --cyan: #20C7E8;
  --cyan-soft: #E6F8FC;
  --white: #F8FAFC;
  --paper: #FFFFFF;
  --metal: #D9E1EA;
  --metal-2: #ECF1F6;
  --metal-3: #F3F6FA;
  --signal: #F5A524;
  --ink: #0B1117;
  --ink-2: #2A3744;
  --ink-3: #5A6878;
  --ink-4: #8A97A6;
  --line: #E3E9F0;
  --line-2: #EEF2F7;

  /* Typography */
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }

model-viewer {
  pointer-events: none !important;
}

model-viewer::part(default-progress-bar) {
  display: none !important;
}

/* 3D Model Viewer Lazy Loading & Progress Loader */
.mv-loader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0%, rgba(240, 244, 248, 0.96) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

.mv-loader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mv-loader--dark {
  background: radial-gradient(circle at center, rgba(16, 35, 56, 0.88) 0%, rgba(11, 17, 23, 0.94) 100%);
}

.mv-loader--light {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0%, rgba(240, 244, 248, 0.96) 100%);
}

.mv-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  max-width: 280px;
  width: 90%;
  user-select: none;
}

.mv-loader__spinner-box {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mv-loader__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 111, 232, 0.2) 0%, rgba(29, 111, 232, 0) 70%);
  animation: mv-pulse 2s ease-in-out infinite;
}

.mv-loader--dark .mv-loader__pulse {
  background: radial-gradient(circle, rgba(32, 199, 232, 0.28) 0%, rgba(32, 199, 232, 0) 70%);
}

.mv-loader__spinner {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #1D6FE8;
  border-right-color: rgba(29, 111, 232, 0.25);
  animation: mv-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.mv-loader--dark .mv-loader__spinner {
  border-top-color: #20C7E8;
  border-right-color: rgba(32, 199, 232, 0.3);
}

.mv-loader__icon {
  position: relative;
  z-index: 2;
  color: #1D6FE8;
  animation: mv-float 2.5s ease-in-out infinite;
}

.mv-loader--dark .mv-loader__icon {
  color: #20C7E8;
}

.mv-loader__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.mv-loader__tag {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1D6FE8;
  background: rgba(29, 111, 232, 0.08);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(29, 111, 232, 0.2);
}

.mv-loader--dark .mv-loader__tag {
  color: #20C7E8;
  background: rgba(32, 199, 232, 0.12);
  border-color: rgba(32, 199, 232, 0.25);
}

.mv-loader__text {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(11, 17, 23, 0.8);
  letter-spacing: -0.01em;
}

.mv-loader--dark .mv-loader__text {
  color: rgba(255, 255, 255, 0.85);
}

.mv-loader__track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(11, 17, 23, 0.08);
  overflow: hidden;
  margin-bottom: 8px;
}

.mv-loader--dark .mv-loader__track {
  background: rgba(255, 255, 255, 0.12);
}

.mv-loader__bar {
  position: relative;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1D6FE8 0%, #20C7E8 100%);
  box-shadow: 0 0 10px rgba(29, 111, 232, 0.35);
  transition: width 0.2s ease-out;
  min-width: 6px;
}

.mv-loader--dark .mv-loader__bar {
  box-shadow: 0 0 10px rgba(32, 199, 232, 0.6);
}

.mv-loader__bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: mv-shimmer 1.5s infinite;
}

.mv-loader__percentage {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  color: rgba(11, 17, 23, 0.55);
  letter-spacing: 0.05em;
}

.mv-loader--dark .mv-loader__percentage {
  color: rgba(255, 255, 255, 0.6);
}

.mv-loader.is-error .mv-loader__spinner,
.mv-loader.is-error .mv-loader__pulse,
.mv-loader.is-error .mv-loader__track,
.mv-loader.is-error .mv-loader__percentage {
  display: none;
}

.mv-loader.is-error .mv-loader__tag {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.3);
  background: rgba(255, 107, 107, 0.1);
}

@keyframes mv-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes mv-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes mv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes mv-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.mono { font-family: var(--font-mono); font-feature-settings: "zero"; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--pharma);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 2px;
}

/* Display headings — tight, technical */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
}
.display-xl { font-size: clamp(48px, 6.4vw, 92px); font-weight: 500; letter-spacing: -0.035em; }
.display-lg { font-size: clamp(40px, 4.8vw, 64px); letter-spacing: -0.03em; }
.display-md { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.025em; line-height: 1.08; }
.display-sm { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }

.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all 180ms cubic-bezier(.2,.7,.3,1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--pharma); }
.btn-pharma {
  background: var(--pharma);
  color: white;
}
.btn-pharma:hover { background: var(--pharma-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark {
  background: rgba(255,255,255,0.06);
  color: white;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.btn-dark:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.btn-dark-solid {
  background: white;
  color: var(--graphite);
}
.btn-dark-solid:hover { background: var(--cyan-soft); }

.btn .arrow {
  width: 16px; height: 16px;
  transition: transform 180ms;
}
.btn:hover .arrow { transform: translateX(2px); }

/* Tag / chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper);
}
.chip.dark {
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.03);
}
.chip.cyan {
  border-color: rgba(32,199,232,0.3);
  color: var(--cyan);
  background: rgba(32,199,232,0.06);
}

/* Section frames */
.section { padding: 120px 0; position: relative; }
.section.dark { background: var(--graphite); color: white; }
.section.dark .display { color: white; }
.section.dark .lede { color: rgba(255,255,255,0.7); }
.section.dark .eyebrow { color: rgba(255,255,255,0.5); }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Blueprint grid background */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
}
.blueprint-grid.dark {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
}

/* Crosshair tick — small + at corners */
.tick { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.tick::before, .tick::after {
  content: ""; position: absolute; background: currentColor; opacity: 0.5;
}
.tick::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.tick::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }

/* Divider with mono label */
.section-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.section-label::before {
  content: ""; width: 6px; height: 6px; background: var(--pharma); border-radius: 50%;
}
.section-label::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.section.dark .section-label { color: rgba(255,255,255,0.5); }
.section.dark .section-label::after { background: rgba(255,255,255,0.1); }

/* Spec table */
.spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec-row .k {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.spec-row .v {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}
.dark .spec-row { border-bottom-color: rgba(255,255,255,0.08); }
.dark .spec-row .k { color: rgba(255,255,255,0.5); }
.dark .spec-row .v { color: white; }

/* Hotspot pulse */
.hotspot-pulse {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(32,199,232,0.5);
  animation: hp-pulse 2.4s infinite cubic-bezier(.4,0,.6,1);
  cursor: pointer;
  display: grid; place-items: center;
}
.hotspot-pulse::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: white;
}
@keyframes hp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(32,199,232,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(32,199,232,0); }
  100% { box-shadow: 0 0 0 0 rgba(32,199,232,0); }
}

/* Soft cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 200ms, transform 200ms;
}
.card:hover { border-color: var(--ink-4); }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs .tab {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  letter-spacing: -0.005em;
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tabs .tab.active {
  color: var(--ink);
  border-bottom-color: var(--pharma);
}
.tabs .tab:hover:not(.active) { color: var(--ink-2); }
.dark .tabs { border-bottom-color: rgba(255,255,255,0.1); }
.dark .tabs .tab { color: rgba(255,255,255,0.5); }
.dark .tabs .tab.active { color: white; border-bottom-color: var(--cyan); }

/* Helpers */
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }
.muted { color: var(--ink-3); }
.center { text-align: center; }

/* Scroll snap horizontal */
.h-snap { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px; padding-bottom: 8px; }
.h-snap > * { scroll-snap-align: start; flex-shrink: 0; }
.h-snap::-webkit-scrollbar { height: 6px; }
.h-snap::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.dark .h-snap::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }

/* Applications section scroll track & cards */
#applications .applications-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
#applications .industry-card {
  position: relative;
  z-index: 1;
}
#applications .industry-card:hover {
  z-index: 10;
}

/* Subtle line draw on enter */
@keyframes line-draw {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

@media (max-width: 900px) {
  .product-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .product-hero-model {
    height: min(72vw, 440px) !important;
    min-height: 300px;
  }
}

/* Responsive Navigation Bar */
.desktop-nav {
  display: flex;
  gap: 4px;
}

.nav-actions-desktop {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 180ms ease;
  z-index: 100000;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 220ms ease, opacity 220ms ease;
  border-radius: 2px;
}

.mobile-menu-toggle.is-active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.dark .mobile-menu-toggle {
  border-color: rgba(255, 255, 255, 0.15);
}

.dark .mobile-menu-toggle span {
  background: white;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none !important;
  }

  .nav-actions-desktop .btn-brochure {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 640px) {
  .nav-actions-desktop .btn-talk {
    display: none !important;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  top: 72px;
  background: var(--paper);
  z-index: 99998;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px 48px;
  box-shadow: 0 20px 40px rgba(11, 17, 23, 0.12);
  border-top: 1px solid var(--line);
  animation: slideDownNav 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.dark {
  background: #0B1117;
  border-top-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-group-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  margin-top: 16px;
}

.dark .mobile-nav-group-title {
  color: rgba(255, 255, 255, 0.5);
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background 150ms ease, color 150ms ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: var(--metal-3);
  color: var(--pharma);
}

.dark .mobile-nav-item {
  color: white;
}

.dark .mobile-nav-item:hover,
.dark .mobile-nav-item.active {
  background: rgba(32, 199, 232, 0.08);
  color: var(--cyan);
}

.mobile-nav-sublist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  margin-bottom: 8px;
  border-left: 2px solid var(--line);
}

.dark .mobile-nav-sublist {
  border-left-color: rgba(255, 255, 255, 0.08);
}

.mobile-nav-subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 6px;
  transition: background 150ms ease, color 150ms ease;
}

.mobile-nav-subitem:hover,
.mobile-nav-subitem.active {
  background: var(--metal-3);
  color: var(--pharma);
}

.dark .mobile-nav-subitem {
  color: rgba(255, 255, 255, 0.75);
}

.dark .mobile-nav-subitem:hover,
.dark .mobile-nav-subitem.active {
  background: rgba(32, 199, 232, 0.08);
  color: var(--cyan);
}

/* ============ FAQ / WHY CHOOSE US COMPONENT ============ */
.faq-section {
  padding: 120px 0;
  position: relative;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pharma);
  background: rgba(29, 111, 232, 0.08);
  border: 1px solid rgba(29, 111, 232, 0.2);
  padding: 5px 16px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 16px;
}

.faq-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pharma);
}

.faq-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.15;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(29, 111, 232, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-item.is-open {
  background: var(--metal-3);
  border-color: rgba(29, 111, 232, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  gap: 16px;
}

.faq-question-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  padding-right: 8px;
}

.faq-toggle-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--pharma);
  background: rgba(29, 111, 232, 0.12);
}

.faq-answer-panel {
  padding: 16px 26px 24px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Footer Newsletter / Stay Updated Subscription
   ========================================================================== */
.footer__newsletter {
  margin-bottom: 56px;
  padding: 36px 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.footer__newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer__newsletter-text {
  flex: 1;
  max-width: 580px;
}

.footer__newsletter-badge {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan, #20C7E8);
  margin-bottom: 8px;
}

.footer__newsletter-title {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.footer__newsletter-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.footer__newsletter-form {
  flex-shrink: 0;
  width: 100%;
  max-width: 440px;
}

.footer__newsletter-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(14, 19, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 4px 5px 4px 14px;
  transition: all 0.2s ease;
}

.footer__newsletter-input-wrap:focus-within {
  border-color: var(--cyan, #20C7E8);
  box-shadow: 0 0 18px rgba(32, 199, 232, 0.22);
}

.footer__newsletter-input-wrap.has-error {
  border-color: #ff5252 !important;
  box-shadow: 0 0 12px rgba(255, 82, 82, 0.25) !important;
}

.footer__newsletter-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  margin-right: 8px;
}

.footer__newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.92rem;
  padding: 10px 4px;
  min-width: 0;
  font-family: inherit;
}

.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.footer__newsletter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #20C7E8 0%, #1D6FE8 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.footer__newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(32, 199, 232, 0.35);
  background: linear-gradient(135deg, #38d6f5 0%, #207cf2 100%);
}

.footer__newsletter-error {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #ff6b6b;
  padding-left: 4px;
}

@media (max-width: 900px) {
  .footer__newsletter {
    padding: 28px 24px;
    margin-bottom: 40px;
  }
  .footer__newsletter-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .footer__newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer__newsletter-input-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 10px;
  }
  .footer__newsletter-icon {
    display: none;
  }
  .footer__newsletter-input {
    padding: 6px 4px;
  }
  .footer__newsletter-btn {
    width: 100%;
    padding: 11px;
  }
}

/* ==========================================================================
   Subscribe Success Modal
   ========================================================================== */
.subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.subscribe-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.subscribe-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.subscribe-modal__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  background: #0f1626;
  border: 1px solid rgba(32, 199, 232, 0.3);
  border-radius: 20px;
  padding: 40px 32px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(32, 199, 232, 0.15);
  text-align: center;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.subscribe-modal.is-open .subscribe-modal__dialog {
  transform: scale(1);
}

.subscribe-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subscribe-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.subscribe-modal__icon-wrap {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(32, 199, 232, 0.1);
  border: 2px solid #20C7E8;
  color: #20C7E8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(32, 199, 232, 0.3);
}

.subscribe-modal__title {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.subscribe-modal__desc {
  margin: 0 0 26px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
}

.subscribe-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #20C7E8 0%, #1D6FE8 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subscribe-modal__btn:hover {
  box-shadow: 0 6px 20px rgba(32, 199, 232, 0.4);
  background: linear-gradient(135deg, #38d6f5 0%, #207cf2 100%);
}



/* ==========================================================================
   Equipment Enquiry Modal (Matches Core Solutions Inquire Modal)
   ========================================================================== */
.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.enquiry-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.enquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 36, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.enquiry-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(10, 18, 36, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.08);
  padding: 34px 34px 30px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.enquiry-modal.is-open .enquiry-modal__dialog {
  transform: translateY(0) scale(1);
}

.enquiry-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  color: #64748b;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.enquiry-modal__close:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
  transform: rotate(90deg);
}

.enquiry-modal__badge {
  display: inline-block;
  font-family: "Plus Jakarta Sans", "Inter Tight", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.2);
  margin-bottom: 8px;
}

.enquiry-modal__title {
  font-family: "Plus Jakarta Sans", "Inter Tight", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.enquiry-modal__subtitle {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 22px;
}

.enquiry-modal__section {
  margin-bottom: 6px;
}

.enquiry-modal__section-title {
  font-family: "Plus Jakarta Sans", "Inter Tight", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0284c7;
  margin: 0 0 12px;
}

.enquiry-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.enquiry-form__field {
  display: flex;
  flex-direction: column;
}

.enquiry-form__field label {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.enquiry-form__field label .required {
  color: #e11d48;
}

.enquiry-form__field label .optional {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.75rem;
}

.enquiry-form__field input,
.enquiry-form__field select,
.enquiry-form__field textarea {
  width: 100%;
  padding: 9px 13px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.enquiry-form__field input:focus,
.enquiry-form__field select:focus,
.enquiry-form__field textarea:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.phone-input-group {
  display: flex;
  gap: 8px;
}

.country-code-input {
  width: 72px !important;
  flex-shrink: 0;
  text-align: center;
  font-weight: 600;
}

.enquiry-modal__divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 20px 0 18px;
}

.enquiry-modal__footer {
  margin-top: 22px;
}

.enquiry-modal__submit-btn {
  width: 100%;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", "Inter Tight", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
}

.enquiry-modal__submit-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
  transform: translateY(-1px);
}

.enquiry-modal__submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.enquiry-modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 10px;
}

.enquiry-modal__success svg {
  margin-bottom: 16px;
  stroke: #0284c7;
}

.enquiry-modal__success h4 {
  font-family: "Plus Jakarta Sans", "Inter Tight", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.enquiry-modal__success p {
  font-size: 0.9rem;
  color: #64748b;
  max-width: 400px;
  line-height: 1.6;
  margin: 0 0 22px;
}

body.modal-open {
  overflow: hidden !important;
}

@media (max-width: 640px) {
  .enquiry-modal__dialog {
    padding: 24px 18px;
  }
  .enquiry-form__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   Responsive overrides for the React-rendered product pages.
   Components in js/*.jsx use inline styles, so these hooks need !important.
   ========================================================================== */
.spec-row { column-gap: 16px; }
.spec-row .v { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 1024px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .footer-brand-col {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }
}

@media (max-width: 900px) {
  .pp-two-col {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 40px !important;
  }
  .pp-specs-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .pp-specs-nav {
    display: flex;
    overflow-x: auto;
    max-height: none !important;
    padding: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }
  .pp-specs-nav::-webkit-scrollbar { display: none; }
  .pp-specs-nav > button {
    flex: 0 0 auto;
    width: auto !important;
    gap: 10px;
    white-space: nowrap;
  }
  .pp-layout-drawing {
    height: min(80vw, 420px) !important;
  }
}

@media (max-width: 768px) {
  #root .section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  .pp-process-detail {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 20px !important;
  }
  .pp-section-head {
    flex-wrap: wrap;
    align-items: flex-start !important;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .pp-breadcrumb {
    flex-wrap: wrap;
    row-gap: 4px;
    margin-bottom: 24px !important;
  }
  .pp-metrics > div {
    padding-right: 10px !important;
    padding-left: 10px;
  }
  .pp-metrics > div:first-child { padding-left: 0; }
  .pp-metrics .display {
    font-size: 19px !important;
  }
  .pp-metrics .mono {
    font-size: 10px !important;
    letter-spacing: 0.06em !important;
  }
  .pp-process-card {
    padding: 20px 16px !important;
  }
  .pp-specs-rows {
    padding: 8px 16px 16px !important;
  }
  .pp-layout-drawing {
    padding: 16px !important;
  }
  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px 20px !important;
  }
  #applications .industry-card {
    flex-basis: min(320px, 82vw) !important;
    width: min(320px, 82vw) !important;
    min-width: 0 !important;
  }
}
