/* PPESDBINS — site styles */
:root {
  --ink: #0b1a30;
  --ink-2: #13284a;
  --text: #2b3a52;
  --muted: #5d6b82;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --blue: #1565e0;
  --blue-dark: #0e4fb5;
  --blue-tint: #e8f0fd;
  --yellow: #ffb400;
  --yellow-dark: #e09c00;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 26, 48, .06), 0 8px 24px rgba(11, 26, 48, .07);
  --shadow-lg: 0 2px 4px rgba(11, 26, 48, .06), 0 20px 48px rgba(11, 26, 48, .14);
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Archivo", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #c9d4e6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--yellow); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--yellow); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 180, 0, .35); }
.btn--primary:hover { background: var(--yellow-dark); color: var(--ink); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.topbar { background: var(--ink); color: #c9d4e6; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar span { white-space: nowrap; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .97rem;
  padding: 10px 14px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: 10px; padding: 12px 22px; }
.nav .btn:hover { background: var(--yellow-dark); color: var(--ink); }
.menu-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .topbar .hide-sm { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; border-radius: 999px; border-bottom: 0; }
  .brand img { height: 44px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(21, 101, 224, .45), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(255, 180, 0, .14), transparent 60%),
    var(--ink);
  color: #c9d4e6;
  padding: clamp(64px, 9vw, 120px) 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { color: #b5c3da; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-visual { position: relative; }
.hero-visual .plate {
  background: #fff; border-radius: 24px; padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  transform: rotate(-2deg);
}
.hero-visual .badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--yellow); color: var(--ink);
  border-radius: 14px; padding: 14px 18px;
  font-weight: 800; font-family: var(--font-head); line-height: 1.2;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
}
.hero-visual .badge svg { width: 30px; height: 30px; }
.hero-visual .badge small { display: block; font-weight: 600; font-family: var(--font); font-size: .78rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats div { font-size: .9rem; }
.hero-stats strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 8px auto 0; }
  .hero-visual .badge { left: 0; }
}

/* Page header (inner pages) */
.page-hero {
  background:
    radial-gradient(800px 360px at 90% 0%, rgba(21, 101, 224, .5), transparent 60%),
    var(--ink);
  color: #b5c3da; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: #8ea0bf; }
.crumbs a { color: #c9d4e6; }
.crumbs a:hover { color: var(--yellow); }

/* Industries strip */
.strip { background: var(--blue); color: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; padding-top: 22px; padding-bottom: 22px; }
.strip p { margin: 0; font-weight: 700; font-family: var(--font-head); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.strip li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfd9e8; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue); margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.icon--yellow { background: #fff4d6; color: #b37a00; }

.features { grid-template-columns: repeat(6, 1fr); }
.features .card { grid-column: span 2; }
.features .card:nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .features .card, .features .card:nth-child(4) { grid-column: auto; }
  .features .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}
.media {
  background: #fff; border-radius: 24px; padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.section--dark .media { border-color: transparent; }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist strong { color: var(--ink); }
.section--dark .checklist strong { color: #fff; }

/* Key points (Non-ESD) */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.point { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.point h3 { font-size: 1.02rem; margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.point p { margin: 0; font-size: .94rem; color: var(--muted); }
@media (max-width: 620px) { .points { grid-template-columns: 1fr; } }

.callout {
  margin-top: 28px; display: flex; gap: 16px; align-items: flex-start;
  background: #fff8e6; border: 1px solid #ffe3a3; border-left: 5px solid var(--yellow);
  border-radius: 12px; padding: 18px 20px; color: #5a4200; font-size: .97rem;
}
.callout svg { flex: none; width: 24px; height: 24px; color: #b37a00; margin-top: 2px; }
.callout p { margin: 0; }

/* Compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .97rem; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--font-head); font-size: 1rem; }
.compare thead th:nth-child(2) { background: var(--blue); }
.compare tbody th { color: var(--ink); font-weight: 700; width: 24%; background: var(--bg-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.table-scroll .compare { min-width: 620px; }

/* Applications */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.app {
  display: flex; gap: 14px; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 18px;
  color: #fff; font-weight: 600;
}
.app .icon { margin: 0; width: 44px; height: 44px; background: rgba(255, 180, 0, .15); color: var(--yellow); flex: none; }
.app .icon svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .apps { grid-template-columns: 1fr; } }

/* Products */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; font-family: inherit;
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.product {
  display: flex; flex-direction: column; overflow: hidden; padding: 0;
}
.product .thumb { background: linear-gradient(180deg, #fff, var(--bg-soft)); padding: 18px; border-bottom: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; }
.product .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.product:hover .thumb img { transform: scale(1.04); }
.product .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); padding: 4px 10px; border-radius: 999px; }
.product h3 { margin: 0; }
.product p { margin: 0; color: var(--muted); font-size: .94rem; flex: 1; }
.product .btn { margin-top: 8px; padding: 12px 18px; font-size: .92rem; }
.product[hidden] { display: none; }

/* Accessories diagram */
.diagram { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.diagram img { width: 100%; aspect-ratio: 1080 / 900; object-fit: cover; object-position: top; }

/* About */
.prose p { font-size: 1.06rem; }
.vm { position: relative; overflow: hidden; }
.vm::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--yellow); }
.vm--blue::before { background: var(--blue); }
.vm h3 { font-size: 1.5rem; }
.vm p { font-size: 1.05rem; color: var(--text); }

/* Contact */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; }
.contact-card .icon { margin: 0; flex: none; }
.contact-card h3 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-family: var(--font); }
.contact-card p, .contact-card a { margin: 0; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.contact-card a:hover { color: var(--blue); }

.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid #cfd8e6; border-radius: 10px; padding: 12px 14px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 101, 224, .15); }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }

.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); display: block; }

/* CTA band */
.cta {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 180, 0, .25), transparent 60%),
    linear-gradient(135deg, var(--blue), #0b3f99);
  color: #dce7fb; border-radius: 24px;
  padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.1rem; max-width: 620px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--ink); color: #9fb0cc; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #c9d4e6; }
.footer a:hover { color: var(--yellow); }
.footer .logo { background: #fff; border-radius: 12px; padding: 8px 12px; display: inline-block; margin-bottom: 18px; }
.footer .logo img { height: 44px; width: auto; mix-blend-mode: multiply; }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating call button (mobile) */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  display: none; place-items: center; box-shadow: var(--shadow-lg);
}
.fab svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .fab { display: grid; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .product .thumb img { transition: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
