:root {
  color-scheme: light;
  --ink: #101d32;
  --muted: #526078;
  --blue: #234fc8;
  --blue-deep: #163a9e;
  --line: #dce4f0;
  --paper: #fff;
  --wash: #f5f7fc;
  --pale: #edf2ff;
  --focus: #345ce8;
  --shadow: 0 18px 42px rgba(20, 39, 89, .09);
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
html:has(.drawer[open]) { overflow: hidden; }
body { margin: 0; min-width: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.container { width: min(calc(100% - 64px), 1200px); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 12px auto auto 12px;
  transform: translateY(-180%);
  color: white;
  background: var(--blue);
  padding: 10px 16px;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.wordmark {
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  align-items: center;
  width: 48px;
  height: 46px;
  border-radius: 12px;
  background: #112c65;
  color: white;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -.06em;
}
.wordmark span { font-size: .76em; color: #aac3ff; margin-inline: 1px; }
.brand-copy { display: grid; line-height: 1.25; gap: 3px; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.02em; }
.brand-copy small { font-size: .75rem; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.nav-links a { color: var(--muted); font-size: .94rem; font-weight: 650; text-decoration: none; transition: color .16s; }
.nav-links a:hover { color: var(--blue); }
.quote-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 8px 15px;
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 650;
  font-size: .9rem;
  transition: background .18s, border-color .18s;
}
.quote-button:hover { background: var(--wash); border-color: #b6c6e7; }
.quote-count { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 5px; border-radius: 7px; background: var(--pale); color: var(--blue-deep); font-size: .82rem; }

.hero {
  isolation: isolate;
  background: radial-gradient(ellipse at 88% 7%, #e9efff 0%, transparent 55%), #f7f9fe;
  padding-block: clamp(46px, 6vw, 83px);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.035fr; align-items: center; gap: clamp(30px, 5.3vw, 75px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-deep);
  font-size: .85rem;
  font-weight: 730;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.eyebrow span { background: var(--blue); width: 20px; height: 2px; }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 5.22vw, 5.1rem);
  font-weight: 730;
  line-height: 1.035;
  letter-spacing: -.072em;
}
.hero h1 span { display: block; color: var(--blue); }
.hero-description { max-width: 48ch; margin-top: 24px; font-size: clamp(1rem, 1.5vw, 1.16rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button, .btn-add, .btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
}
.button { padding: 12px 18px; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover:not(:disabled) { background: var(--blue-deep); box-shadow: 0 4px 16px rgba(35, 79, 200, .22); }
.button-outline { background: rgba(255, 255, 255, .74); border-color: #cbd8ef; color: var(--ink); }
.button-outline:hover { border-color: #8ba7e3; background: #fff; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); margin-top: 29px; font-size: .875rem; font-weight: 550; }
.hero-note span + span { position: relative; }
.hero-note span + span::before { position: absolute; content: ""; width: 3px; height: 3px; border-radius: 50%; left: -12px; top: calc(50% - 1px); background: #8193b4; }

.hero-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.29;
  border-radius: 25px;
  background: #0a2045;
  box-shadow: 0 23px 42px -21px rgba(13, 35, 91, .6);
}
.hero-media::after { position: absolute; inset: 60% 0 0; content: ""; background: linear-gradient(transparent, rgba(5, 15, 33, .72)); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.3,1); }
.hero-media figcaption { position: absolute; z-index: 1; right: 18px; bottom: 16px; color: #dce6fa; font-size: .8rem; }
@media (hover: hover) {
  .hero-media:hover img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .45s cubic-bezier(.2,.75,.3,1) both; }
  .hero-media { animation: enter .55s .08s cubic-bezier(.2,.75,.3,1) both; }
  @keyframes enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.families { border-block: 1px solid var(--line); background: var(--paper); }
.family-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.family-link {
  min-height: 102px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px clamp(10px, 1.45vw, 23px);
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background .18s, color .18s;
}
.family-link:first-child { border-left: 1px solid var(--line); }
.family-link:hover { color: var(--blue-deep); background: var(--wash); }
.family-link strong, .family-link small { display: block; }
.family-link strong { font-size: .94rem; letter-spacing: -.018em; line-height: 1.25; }
.family-link small { font-size: .8rem; line-height: 1.35; color: var(--muted); margin-top: 4px; }
.family-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  background: var(--pale);
  color: var(--blue);
  border-radius: 11px;
}

.section { padding-block: clamp(60px, 7vw, 100px); }
.section h2 { font-size: clamp(2.05rem, 4vw, 3.25rem); line-height: 1.08; font-weight: 720; letter-spacing: -.055em; }
.catalog { background: var(--wash); }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.catalog-heading p, .section-heading p { margin-top: 9px; color: var(--muted); }
.catalog-search { flex: 0 1 355px; }
label { display: block; color: var(--ink); font-size: .9rem; font-weight: 650; margin-bottom: 6px; }
label span { color: var(--muted); font-weight: 500; }
.search-field { position: relative; }
.search-field::before, .search-field::after { content: ""; position: absolute; pointer-events: none; }
.search-field::before { top: 16px; left: 15px; width: 13px; height: 13px; border: 1.7px solid #53658a; border-radius: 50%; }
.search-field::after { top: 29px; left: 25px; width: 7px; height: 1.7px; border-radius: 2px; background: #53658a; transform: rotate(44deg); }
input, textarea {
  width: 100%;
  min-height: 46px;
  background: white;
  color: var(--ink);
  border: 1px solid #c6d3e6;
  border-radius: 10px;
  padding: 10px 12px;
}
input::placeholder { color: #596882; }
input[type="search"] { padding-inline-start: 40px; min-height: 49px; }
textarea { display: block; resize: vertical; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tab-btn {
  min-height: 39px;
  border: 1px solid #d6e0f0;
  background: var(--paper);
  color: var(--muted);
  border-radius: 9px;
  padding: 7px 12px;
  font-size: .875rem;
  font-weight: 650;
  transition: background .18s, color .18s, border-color .18s;
}
.tab-btn:hover { border-color: #91a9df; color: var(--blue-deep); }
.tab-btn.active { background: var(--pale); color: var(--blue-deep); border-color: #a5b9ed; }
.catalog-summary { display: flex; align-items: center; gap: 12px; min-height: 50px; color: var(--muted); font-size: .875rem; }
.text-button { color: var(--blue-deep); background: none; border: 0; border-radius: 5px; min-height: 36px; text-decoration: underline; text-underline-offset: 3px; padding: 0 4px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.p-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
@media (hover: hover) {
  .p-card:hover { border-color: #bbcced; box-shadow: var(--shadow); transform: translateY(-3px); }
}
.p-card:focus-within { border-color: #91a9df; }
.p-media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 140px;
  color: #23488c;
  background:
    radial-gradient(ellipse at 50% 49%, #f9fbff 7%, transparent 77%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(67, 104, 167, .08) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(67, 104, 167, .08) 23px 24px),
    #e9effd;
  border-bottom: 1px solid var(--line);
}
.p-media--membrane { background-color: #e7f2f8; color: #1e627c; }
.p-media--tubing, .p-media--fitting, .p-media--cutter { background-color: #eeeafb; color: #51477e; }
.p-media--solvent { background-color: #e4f2f1; color: #236467; }
.p-media--photo {
  min-height: 140px;
  padding: 8px 12px;
  background: #fff;
}
.p-media--photo img { display: block; max-height: 120px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.p-media-note {
  position: absolute;
  bottom: 5px;
  left: 7px;
  color: #32425b;
  background: #eef2f8;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .75rem;
  line-height: 1.25;
}
.p-symbol { position: relative; display: block; width: 20px; height: 20px; }
.p-media .p-symbol { scale: 2.3; }
.p-symbol::before, .p-symbol::after { position: absolute; display: block; content: ""; box-sizing: border-box; }
.symbol--syringe .p-symbol::before { inset: 6px 4px; border: 1.6px solid; border-radius: 3px; background: rgba(255,255,255,.6); }
.symbol--syringe .p-symbol::after { left: 1px; right: 1px; top: 7px; height: 6px; border-inline: 3px solid; }
.symbol--membrane .p-symbol::before { inset: 4px 2px 6px; border: 1.6px solid; border-radius: 50%; background: rgba(255,255,255,.6); z-index: 1; }
.symbol--membrane .p-symbol::after { inset: 6px 2px 4px; border: 1.6px solid; border-radius: 50%; }
.symbol--tubing .p-symbol::before { inset: 2px; border: 1.6px solid; border-radius: 50%; }
.symbol--tubing .p-symbol::after { inset: 5px; border: 1.6px solid; border-radius: 50%; border-right-color: transparent; transform: rotate(-37deg); }
.symbol--fitting .p-symbol::before { inset: 6px 1px; border: 1.6px solid; border-radius: 2px; }
.symbol--fitting .p-symbol::after { inset: 5px 6px; background: #f9fbff; border: 1.6px solid; border-radius: 2px; }
.symbol--cutter .p-symbol::before { inset: 4px 2px; border: 1.6px solid; border-radius: 4px; rotate: -25deg; }
.symbol--cutter .p-symbol::after { width: 1.6px; height: 9px; top: 5px; left: 9px; background: currentColor; rotate: 28deg; }
.symbol--solvent .p-symbol::before { inset: 2px 6px 10px; border: 1.6px solid; border-radius: 2px; }
.symbol--solvent .p-symbol::after { inset: 9px 3px 2px; border: 1.6px solid; border-radius: 50% 50% 4px 4px; }
.p-body { padding: 17px; display: flex; flex-direction: column; flex: 1; }
.p-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; margin-bottom: 8px; font-size: .78rem; }
.p-cat { color: var(--blue-deep); font-weight: 680; }
.p-sku, .q-sku { font-family: ui-monospace, Consolas, monospace; color: var(--muted); letter-spacing: -.025em; }
.p-name { font-size: 1.08rem; font-weight: 710; line-height: 1.28; letter-spacing: -.02em; }
.p-specs { margin-top: 6px; margin-bottom: 16px; color: var(--muted); font-size: .88rem; }
.p-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); }
.btn-add, .btn-mail { min-height: 42px; padding: 8px 12px; font-size: .875rem; }
.btn-add { flex: 1; background: var(--pale); color: var(--blue-deep); }
.btn-add:hover { background: var(--blue); color: white; }
.btn-mail { color: var(--ink); background: white; border-color: var(--line); }
.btn-mail:hover { color: var(--blue-deep); border-color: #9ab0e1; }
.catalog-empty { grid-column: 1 / -1; text-align: center; padding: 42px 18px; color: var(--muted); background: var(--paper); border: 1px dashed #bccbe4; border-radius: 15px; }
.catalog-empty a, .catalog noscript a { color: var(--blue-deep); text-underline-offset: 3px; }

.order { border-block: 1px solid var(--line); }
.steps { margin: 25px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { border: 1px solid var(--line); border-radius: 16px; background: var(--wash); padding: 22px; }
.step-number { display: grid; place-items: center; background: var(--pale); color: var(--blue-deep); width: 33px; height: 33px; border-radius: 8px; font-weight: 700; margin-bottom: 13px; }
.steps h3 { font-size: 1.13rem; letter-spacing: -.018em; }
.steps p { color: var(--muted); margin-top: 5px; }

.contact-section { background: #112342; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.18fr; align-items: start; gap: clamp(25px, 6vw, 94px); }
.about-copy > p { color: #c9d6ed; margin-top: 15px; max-width: 44ch; }
.about-copy h3 { margin-top: 26px; font-size: 1.15rem; }
address { display: grid; gap: 12px; color: #dbe5f7; margin-top: 8px; font-style: normal; }
address dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; }
address dt { font-weight: 700; }
address a { text-underline-offset: 3px; }
.form-card { border: 1px solid #dbe5f8; background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(19px, 3vw, 34px); }
.form-card h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
.form-card > p { margin-top: 8px; color: var(--muted); }
.form-card a { color: var(--blue-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.request-items { margin-top: 17px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--wash); }
.request-items-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; font-size: .9rem; }
.request-items > p { color: var(--muted); font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0, 1fr)); gap: 13px; margin-block: 20px 15px; }
.form-wide { grid-column: 1 / -1; }
.form-status:not(:empty) { margin-top: 12px; font-size: .93rem; font-weight: 600; color: var(--muted); }
.form-status[data-state="success"] { color: #176045; }
.form-status[data-state="error"] { color: #9b2b24; }
.form-provider { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.site-footer { padding-block: 24px; background: #0b1930; color: #d1daec; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px 20px; }
.footer-inner a { text-underline-offset: 3px; text-decoration-color: #8296bd; }
.footer-inner a:hover { color: white; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  padding: 0;
  width: min(100%, 450px);
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  border: 0;
  background: white;
  color: var(--ink);
  box-shadow: -14px 0 55px rgba(11,25,54,.2);
}
.drawer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: drawer-open .24s ease; }
.drawer::backdrop { background: rgba(9, 23, 48, .51); }
@keyframes drawer-open { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 19px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; letter-spacing: -.035em; }
.close-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; font-size: 1.45rem; color: var(--ink); background: white; }
.close-button:hover { background: var(--wash); }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; padding: 17px; }
.drawer-empty { color: var(--muted); padding: 16px 4px; }
.drawer-foot { padding: 15px 18px max(15px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--wash); }
.drawer-foot .button { width: 100%; }
.q-item { display: flex; justify-content: space-between; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; padding: 10px; }
.q-info { display: grid; gap: 3px; font-size: .92rem; }
.q-sku { font-size: .78rem; }
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 36px; height: 39px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue-deep); background: var(--pale); font-weight: 750; }
.qty-btn:hover { background: #dce7ff; }
.q-quantity { font-variant-numeric: tabular-nums; min-width: 16px; text-align: center; }

@media (max-width: 980px) {
  .hero h1 { font-size: clamp(2.75rem, 6.1vw, 4rem); }
  .hero-grid { gap: 28px; }
  .family-link { padding-inline: 10px; gap: 9px; }
  .family-icon { width: 35px; height: 35px; flex-basis: 35px; }
}
@media (max-width: 810px) {
  .container { width: calc(100% - 40px); }
  .nav-inner { gap: 12px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .875rem; }
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-link { min-height: 75px; padding-inline: 13px; }
  .family-link:nth-child(3) { border-left: 1px solid var(--line); }
  .family-link:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 645px) {
  html { scroll-padding-top: 120px; }
  .nav-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding-block: 10px 7px; }
  .quote-button { grid-column: 2; grid-row: 1; justify-self: end; }
  .nav-links { grid-column: 1 / -1; justify-content: space-between; }
  .nav-links a { min-height: 34px; display: flex; align-items: center; }
  .hero { padding-block: 36px 28px; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 24px; }
  .hero h1 { font-size: clamp(2.65rem, 8.7vw, 4rem); }
  .hero-description { margin-top: 15px; }
  .hero-actions { margin-top: 20px; gap: 8px; }
  .hero-note { margin-top: 17px; }
  .hero-media { max-height: 360px; border-radius: 17px; }
  .catalog-heading { align-items: stretch; flex-direction: column; gap: 14px; }
  .catalog-search { flex: auto; }
  .section { padding-block: 47px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 435px) {
  .container { width: calc(100% - 32px); }
  .brand { gap: 7px; }
  .wordmark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: .91rem; }
  .brand-copy small { font-size: .7rem; }
  .quote-button { gap: 4px; font-size: .82rem; padding-inline: 8px 6px; }
  .hero h1 { font-size: clamp(2.4rem, 9.5vw, 3rem); }
  .hero-actions .button { font-size: .9rem; padding-inline: 13px; }
  .families .container { width: 100%; }
  .family-link { min-height: 78px; padding-inline: 10px; }
  .family-link strong { font-size: .86rem; }
  .family-link small { font-size: .75rem; }
  .product-grid, .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
