:root {
  --navy: #0c1e33;
  --blue: #163a6b;
  --blue-600: #1b4a86;
  --accent: #1f5fae;
  --accent-2: #2f74c6;
  --cyan: #0f9d76;      /* eco / new-energy green-teal accent */
  --green: #159a5a;
  --green-600: #0f7e49;
  --ink: #16202e;
  --muted: #58657a;
  --muted-2: #8792a3;
  --line: #e4e9f0;
  --hair: #eef1f6;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 12px;
  --radius-sm: 9px;
  --shadow: 0 6px 20px rgba(12, 30, 51, .06);
  --shadow-lg: 0 18px 44px rgba(12, 30, 51, .12);
  --maxw: 1200px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC", sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-mono: "Inter", system-ui, sans-serif;   /* clean labels, no code font */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  transition: transform .16s ease, box-shadow .2s, background .2s, color .2s; cursor: pointer; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 14px 28px; font-size: 15.5px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(31,95,174,.24); }
.btn--primary:hover { transform: translateY(-1px); background: var(--blue-600); box-shadow: 0 10px 22px rgba(31,95,174,.3); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ============ NAV ============ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; background: rgba(255,255,255,.7);
  backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: .3s; }
.nav.scrolled { background: rgba(255,255,255,.9); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13,33,74,.06); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.12; }
.brand__txt strong { font-family: var(--font-display); color: var(--navy); font-size: 17px; letter-spacing: -.01em; font-weight: 700; }
.brand__accent { color: var(--accent); }
.brand__txt small { color: var(--muted); font-size: 10.5px; font-family: var(--font-mono); letter-spacing: -.01em; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14.5px; color: #2a3550; font-weight: 500; position: relative; padding: 4px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--accent); transition: width .25s; }
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--blue); border-radius: 2px; transition: .3s; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: #06182f url("../images/hero-ocean.jpg") center 42% / cover no-repeat; }
/* Hero background: looping Pacific coastal vista video (Coverr license, coverr-slow-waves-9578) */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Professional dark overlay for text contrast, sits above the video */
.hero__bg { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8,20,36,.92) 0%, rgba(10,28,52,.74) 44%, rgba(13,42,78,.5) 100%); }
.hero__glow { display: none; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(30px)} }
.hero__content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 132px 26px 72px; text-shadow: 0 2px 20px rgba(3,14,28,.35); }
.hero__eyebrow { font-family: var(--font-body); letter-spacing: 2px; font-size: 12px; color: #a9c6ea;
  margin-bottom: 22px; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.hero__eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.hero__title { font-family: var(--font-display); font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
.hero__sub { margin-top: 24px; font-size: clamp(16px, 1.6vw, 19px); opacity: .8; font-weight: 400; max-width: 640px; }
.hero__cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin-top: 54px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12.5px; opacity: .72; font-weight: 500; letter-spacing: .2px; text-transform: uppercase; }
.hero__trust i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }

/* ============ STATS (bento) ============ */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 8px 26px; }
.stat { text-align: center; padding: 34px 16px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: rgba(255,255,255,.12); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(120deg,#fff,#9dc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-family: var(--font-mono); font-size: 11.5px; opacity: .6; letter-spacing: .5px; text-transform: uppercase; }

/* ============ SECTION ============ */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 800px; margin-bottom: 54px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); opacity: .5; }
.section__head h2 { font-size: clamp(30px, 4.6vw, 50px); color: var(--navy); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }
.section__lead { margin-top: 18px; font-size: 17.5px; color: var(--muted); line-height: 1.65; }

/* ============ ABOUT ============ */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.about__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__media img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4/3; }
.about__badge { position: absolute; left: 18px; bottom: 18px; background: rgba(6,13,30,.72); backdrop-filter: blur(6px); color: #fff; padding: 12px 16px; border-radius: 12px; }
.about__badge b { display: block; font-family: var(--font-display); font-size: 15px; }
.about__badge span { font-family: var(--font-mono); font-size: 11px; opacity: .75; letter-spacing: .3px; }
.about__body h2 { font-size: clamp(28px, 4vw, 42px); color: var(--navy); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 16px; }
.about__lead { font-size: 16.5px; color: var(--muted); margin-bottom: 26px; }
.feat-list { list-style: none; margin-bottom: 28px; }
.feat-list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hair); }
.feat-list li:last-child { border-bottom: 1px solid var(--hair); }
.feat-list h4 { color: var(--navy); font-size: 16px; margin-bottom: 2px; }
.feat-list p { font-size: 14px; color: var(--muted); }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat-list .ic { width: 30px; height: 30px; padding: 6px; box-sizing: content-box; background: linear-gradient(140deg,#eaf1ff,#f4f8ff); border: 1px solid #e4ecfb; border-radius: 11px; }

/* ============ PRODUCT CATEGORIES ============ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d5e0f5; }
.cat__img { height: 210px; display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden; }
.cat__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 rgba(12,30,51,.05); }
.cat__img img { position: relative; max-height: 100%; max-width: 92%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(8,20,46,.18)); transition: transform .35s; }
.cat:hover .cat__img img { transform: scale(1.05) rotate(-1deg); }
.cat__img--tim { background: linear-gradient(150deg,#eef4ff,#e0ecff); }
.cat__img--emi { background: linear-gradient(150deg,#eef1f6,#dbe3ee); }
.cat__img--gra { background: linear-gradient(150deg,#eef1f6,#dfe6f0); }
.cat-cta { text-align: center; margin-top: 40px; }
.cat__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.cat__body h3 { font-size: 19px; color: var(--navy); font-weight: 600; }
.cat__desc { font-size: 14px; color: var(--muted); margin: 8px 0 16px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips li { background: var(--bg-alt); border: 1px solid var(--line); padding: 6px 12px; border-radius: 8px; font-weight: 500; font-size: 12.5px; color: #38455c; transition: .18s; }
.chips li:hover { background: #eaf1ff; border-color: #c9dcff; color: var(--blue); transform: translateY(-1px); }

/* ============ NAMING ============ */
.naming { margin-top: 26px; display: grid; grid-template-columns: 350px 1fr; gap: 34px; align-items: center;
  background: linear-gradient(140deg, var(--navy), #0e2a63); color: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden; }
.naming::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 34px 34px; pointer-events: none; }
.naming__left h3 { font-size: 18px; margin-bottom: 16px; }
.naming__sample { font-family: var(--font-mono); font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { font-size: 14px; padding: 3px 11px; border-radius: 7px; color: #fff; font-weight: 700; }
.tag--brand { background: rgba(255,255,255,.16); }
.tag--k { background: var(--accent); }
.tag--s { background: var(--green); }
.naming__legend { list-style: none; }
.naming__legend li { padding: 6px 0; font-size: 14px; opacity: .8; border-bottom: 1px solid rgba(255,255,255,.1); }
.naming__legend b { color: #fff; opacity: 1; font-family: var(--font-mono); }
.code-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 22px; }
.code-grid span { font-family: var(--font-mono); font-size: 12.5px; opacity: .78; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.07); }

/* ============ INDUSTRIES (compact strip) ============ */
.ind-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ind { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 14px; text-align: center; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ind::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.ind:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #d5e0f5; }
.ind:hover::before { transform: scaleX(1); }
.ind .ic { width: 30px; height: 30px; margin: 0 auto; display: block; stroke: var(--accent); }
.ind h4 { margin: 12px 0 0; color: var(--navy); font-size: 14.5px; font-weight: 600; }

/* ============ CAPABILITIES (facilities + testing) ============ */
.cap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.cap__text { position: sticky; top: 100px; }
.cap__label { margin-top: 26px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.std-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.std-chips span { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--blue); background: #fff; border: 1px solid #d7e2f6; padding: 6px 11px; border-radius: 7px; }
.cap__gallery { columns: 2; column-gap: 18px; }
.cap__gallery .mtile { margin-bottom: 18px; }

/* ============ FACILITIES (masonry) ============ */
.masonry { columns: 3; column-gap: 20px; }
.mtile { position: relative; break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.mtile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mtile img { width: 100%; height: auto; display: block; }
.mtile figcaption { position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px; color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 14.5px;
  background: linear-gradient(transparent, rgba(6,13,30,.86)); }

/* ============ EQUIPMENT ============ */
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.equip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 22px; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.equip:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d5e0f5; }
.equip__frame { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(160deg,#f7fafe,#eef3fb); margin-bottom: 15px; display: grid; place-items: center; }
.equip__frame img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s; }
.equip:hover .equip__frame img { transform: scale(1.04); }
.equip h4 { margin: 4px 0 6px; color: var(--navy); font-size: 16px; font-weight: 600; }
.equip__std { color: var(--accent); font-size: 12px; font-weight: 500; font-family: var(--font-mono); letter-spacing: -.02em; }

/* ============ THEORY ============ */
.theory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.theory-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; transition: .2s; }
.theory-card::before { content: ""; position: absolute; left: 26px; top: 0; width: 34px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }
.theory-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.theory-card h4 { color: var(--blue); margin-bottom: 8px; font-size: 16.5px; }
.theory-card p { font-size: 14px; color: var(--muted); }
.std-title { margin: 54px 0 22px; color: var(--navy); font-size: 20px; }
.std-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.std { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; box-shadow: 0 4px 14px rgba(13,33,74,.04); transition: .2s; }
.std:hover { border-color: #c9dcff; transform: translateY(-3px); }
.std b { display: block; color: var(--blue); font-size: 14px; font-family: var(--font-mono); font-weight: 700; }
.std span { font-size: 12px; color: var(--muted); }

/* ============ TP SERIES (gated) ============ */
.tp-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: stretch; }
.tp-feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.tp-feat h4 { color: var(--blue); margin-bottom: 14px; font-size: 18px; }
.tp-feat ul { list-style: none; }
.tp-feat li { padding: 8px 0 8px 26px; position: relative; color: #3a4658; }
.tp-feat li::before { content: "▪"; position: absolute; left: 0; color: var(--accent); font-size: 14px; }
.tp-apps { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--muted); }
.tp-apps b { color: var(--ink); }

/* Locked datasheet */
.datasheet { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 340px; }
.datasheet__preview { filter: blur(6px); opacity: .5; pointer-events: none; user-select: none; padding: 6px; background: #fff; height: 100%; }
.ds-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ds-table th, .ds-table td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.ds-table thead th { background: var(--navy); color: #fff; font-family: var(--font-mono); font-weight: 600; }
.ds-table td:first-child, .ds-table th:first-child { text-align: left; font-weight: 600; }
.ds-table tbody tr:nth-child(even) td { background: #fafcff; }
.datasheet__lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 8px; padding: 30px; background: radial-gradient(120% 120% at 50% 40%, rgba(255,255,255,.82), rgba(246,248,252,.94)); }
.lockicon { font-size: 34px; filter: grayscale(.2); }
.datasheet__lock h4 { color: var(--navy); font-size: 20px; }
.datasheet__lock p { color: var(--muted); font-size: 14px; max-width: 380px; margin-bottom: 8px; }
.datasheet__note { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .5px; margin-top: 6px; }

/* ============ CTA ============ */
.cta { background: linear-gradient(135deg, var(--navy), #0e2a63 55%, var(--accent)); color: #fff; position: relative; overflow: hidden; }
.cta::after { display: none; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 74px 26px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.03em; max-width: 560px; color: #fff; }
.cta p { margin-top: 14px; opacity: .82; max-width: 620px; }

/* ============ FOOTER ============ */
.footer { background: #060d1e; color: #fff; padding-top: 60px; }
.footer__inner { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; padding-bottom: 44px; }
.footer__brand strong { font-family: var(--font-display); font-size: 20px; display: block; margin-bottom: 8px; }
.footer__brand span { display: block; opacity: .68; font-size: 14px; }
.footer__motto { margin-top: 8px; color: #9dc0ff !important; opacity: .9 !important; }
.footer__contact { max-width: 430px; }
.footer__contact p { opacity: .82; margin-bottom: 8px; font-size: 14px; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 12.5px; opacity: .55; font-family: var(--font-mono); }

/* ============ CATALOG PAGE ============ */
.cat-hero { position: relative; color: #fff; padding: 140px 0 64px; overflow: hidden;
  background: linear-gradient(120deg, #0a1a30 0%, #10315c 60%, #163a6b 100%); }
.cat-hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: 40%; height: 3px; background: linear-gradient(90deg, transparent, var(--green)); }
.cat-hero__crumb { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .3px; color: #9fc0ff; opacity: .85; margin-bottom: 18px; }
.cat-hero__crumb a { color: #cfe0ff; }
.cat-hero__crumb a:hover { text-decoration: underline; }
.cat-hero h1 { font-family: var(--font-display); font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -.03em; line-height: 1.05; }
.cat-hero__lead { margin: 18px 0 30px; font-size: 17.5px; opacity: .82; max-width: 720px; }

.catalog { padding: 80px 0 40px; }
.pgroup { margin-bottom: 72px; scroll-margin-top: 90px; }
.pgroup__head { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.pgroup__img { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg,#eef4ff,#e0ecff); display: grid; place-items: center; padding: 20px; }
.pgroup__img img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(8,20,46,.16)); }
.pgroup__head h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--navy); letter-spacing: -.02em; margin: 6px 0 10px; }
.pgroup__head p { color: var(--muted); font-size: 15.5px; max-width: 720px; }

.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #d5e0f5; }
.pcard__top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.pcard__code { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: #fff; letter-spacing: -.03em;
  background: linear-gradient(140deg, var(--accent), var(--blue-600)); box-shadow: 0 8px 18px rgba(47,107,255,.28); }
.pcard__top h3 { font-size: 16.5px; color: var(--navy); font-weight: 600; line-height: 1.2; }
.pcard__series { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); letter-spacing: -.02em; }
.pcard__desc { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.pcard__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pcard__specs li { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--blue); background: var(--bg-alt); border: 1px solid #dde6f4; padding: 5px 9px; border-radius: 7px; }
.pcard__link { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--accent); align-self: flex-start; transition: gap .18s; }
.pcard__link:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .pcards { grid-template-columns: 1fr 1fr; }
  .pgroup__head { grid-template-columns: 140px 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .pcards { grid-template-columns: 1fr; }
  .pgroup__head { grid-template-columns: 1fr; }
  .pgroup__img { width: 120px; }
}

/* ============ QUOTE MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,13,30,.55); backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal__dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(940px, calc(100vw - 36px)); max-height: calc(100vh - 40px); overflow: auto;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); animation: pop .28s cubic-bezier(.2,.8,.25,1); }
@keyframes fade { from{opacity:0} to{opacity:1} }
@keyframes pop { from{opacity:0; transform:translate(-50%,-46%) scale(.97)} to{opacity:1; transform:translate(-50%,-50%) scale(1)} }
.modal__x { position: absolute; top: 14px; right: 16px; z-index: 5; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; transition: .2s; }
.modal__x:hover { background: var(--bg-alt); transform: rotate(90deg); }
.modal__grid { display: grid; grid-template-columns: .82fr 1.18fr; }

.modal__aside { background: linear-gradient(155deg, var(--navy), #0e2a63); color: #fff; padding: 40px 34px; position: relative; overflow: hidden; }
.modal__aside::after { display: none; }
.modal__aside > * { position: relative; }
.modal__aside h3 { font-size: 26px; letter-spacing: -.02em; margin: 8px 0 12px; line-height: 1.12; }
.modal__aside p { font-size: 14px; opacity: .8; }
.modal__perks { list-style: none; margin: 24px 0; display: grid; gap: 12px; }
.modal__perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.modal__perks .ic { width: 18px; height: 18px; stroke: var(--cyan); flex: none; }
.modal__contact { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 13px; opacity: .85; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }

.modal__main { padding: 40px 36px; }
.modal__ctx { background: #eef4ff; border: 1px solid #d3e2ff; color: var(--blue); font-size: 13px; font-weight: 500; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field--req > span::after { content: " *"; color: var(--accent); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .18s, box-shadow .18s; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,107,255,.12); }
.field__err { display: none; font-size: 12px; font-style: normal; color: #d92d20; }
.field.invalid input { border-color: #f2a5a0; }
.field.invalid .field__err { display: block; }
.modal__submit { width: 100%; margin-top: 20px; }
.modal__err { text-align: center; font-size: 13px; color: #c0392b; margin-top: 12px; background: #fdecea; border: 1px solid #f5c6c0; border-radius: 8px; padding: 9px 12px; }
.modal__privacy { text-align: center; font-size: 12px; color: var(--muted-2); margin-top: 12px; }

.modal__success { text-align: center; padding: 40px 10px; }
.modal__check { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: #e9f7ee; display: grid; place-items: center; }
.modal__check .ic { width: 32px; height: 32px; stroke: var(--green); stroke-width: 2.4; }
.modal__success h3 { font-size: 24px; color: var(--navy); margin-bottom: 10px; }
.modal__success p { color: var(--muted); font-size: 15px; max-width: 420px; margin: 0 auto 22px; }
body.modal-open { overflow: hidden; }

@media (max-width: 760px) {
  .modal__grid { grid-template-columns: 1fr; }
  .modal__aside { display: none; }
  .modal__main { padding: 40px 22px 28px; }
  .field-grid { grid-template-columns: 1fr; }
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__glow { animation: none; } .hero__video { display: none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .about, .naming, .tp-feats { grid-template-columns: 1fr; }
  .cat-grid, .ind-grid, .theory-grid, .equip-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .std-cards { grid-template-columns: 1fr 1fr; }
  .naming { text-align: left; }
}
@media (max-width: 720px) {
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff;
    padding: 14px 26px; gap: 2px; border-bottom: 1px solid var(--line); transform: translateY(-160%); transition: transform .3s; box-shadow: var(--shadow); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: flex; }
  .stats__grid { grid-template-columns: 1fr 1fr; padding: 0; }
  .stat + .stat::before { display: none; }
  .cat-grid, .ind-grid, .theory-grid, .equip-grid, .about__cards, .code-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .std-cards { grid-template-columns: 1fr 1fr; }
  .section { padding: 66px 0; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}
