/* ==========================================================================
   XCTEXPRO — Industrial Protective Fabrics
   Global stylesheet
   Brand: Navy #183653 · Steel #426B8C · Safety Orange #D98A42
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #183653;
  --navy-deep: #12283E;
  --navy-soft: #1F4463;
  --steel: #426B8C;
  --blue-line: #2A4258;

  --orange: #D98A42;
  --orange-dark: #C1762F;

  --ink: #5B6B7A;
  --ink-strong: #2E3D4B;
  --muted: #8A97A5;
  --line: #E4E9EE;
  --bg-soft: #F3F5F7;

  --white: #FFFFFF;

  --container: 1280px;
  --gutter: 40px;
  --radius: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(24, 54, 83, .06);
  --shadow-md: 0 10px 30px rgba(24, 54, 83, .08);
  --shadow-lg: 0 24px 60px rgba(18, 40, 62, .14);

  --font-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

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

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

::selection { background: rgba(217, 138, 66, .22); }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }

.section-head { max-width: 860px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 860px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow--line { display: flex; align-items: center; gap: 12px; }
.eyebrow--line::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(217, 138, 66, .24);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 10px 24px rgba(217, 138, 66, .32);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .72);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); }

.btn-lg { padding: 16px 32px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(24, 54, 83, .06);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; flex: none; }

.logo-word {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--navy);
  line-height: 1;
}
.logo-word b { color: var(--orange); font-weight: 800; }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width .28s var(--ease);
}
.nav-link:hover { color: var(--steel); }
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--orange); font-weight: 600; }

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; left: 0; top: -7px; }
.nav-toggle span::after { content: ""; left: 0; top: 7px; }

.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 96px 0;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.hero--sm { min-height: 420px; padding: 80px 0; }
.hero--md { min-height: 360px; padding: 72px 0; }

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 140% at 15% 0%, #2C5273 0%, #1B3B58 45%, #10243A 100%);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(48deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-48deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 5px);
  opacity: .9;
}

/* real photo support: add <img> into .hero-media and it covers the gradient */
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(9, 24, 39, .94) 0%, rgba(13, 33, 52, .86) 42%, rgba(18, 45, 70, .58) 100%);
}

.hero-inner { position: relative; width: 100%; }
.hero-content { max-width: 880px; }

.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.14;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.015em;
  margin-bottom: 22px;
}

.hero-sub {
  max-width: 720px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.68;
  color: #C9D4DF;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero .eyebrow { color: var(--orange); }
.hero .eyebrow--line::before { background: var(--orange); }

/* ---------- 7. Media / image placeholders ---------- */
.media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(135% 120% at 18% -10%, var(--m1, #33597C) 0%, var(--m2, #1A3B55) 55%, #14293D 100%);
  background-color: #1B3A56;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* tone variation so repeated placeholders don't look identical */
.tone-2 .media, .media.tone-2 { --m1: #3D6684; --m2: #16324A; }
.tone-3 .media, .media.tone-3 { --m1: #2B4C6B; --m2: #0F2334; }
.tone-4 .media, .media.tone-4 { --m1: #46708F; --m2: #1B3D58; }
.tone-5 .media, .media.tone-5 { --m1: #254E6E; --m2: #12293F; }

/* ---------- 8. Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-weave { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease),
              transform .3s var(--ease);
}

.card:hover {
  border-color: #D5DEE7;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card .media { height: 190px; flex: none; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card-body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.card-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.card:hover .link-arrow svg { transform: translateX(3px); }

/* category card (compact) */
.card--cat .media { height: 178px; }
.card--cat .card-body { padding: 20px; gap: 8px; }

/* feature / value card */
.card--flat {
  border: 0;
  background: var(--white);
  padding: 26px 24px;
  gap: 12px;
  border-radius: var(--radius);
}
.card--flat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(217, 138, 66, .1);
  color: var(--orange);
  margin-bottom: 4px;
}
.icon-box svg { width: 22px; height: 22px; }

/* application card */
.card--app .media { height: 210px; }
.card--app .card-body { padding: 24px; }
.card--app .card-body h3 { font-size: 19px; }

/* product card */
.card--product .media { height: 210px; }
.spec-list {
  margin: 2px 0 4px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink);
}
.spec-list li { display: flex; gap: 6px; }
.spec-list li span:first-child { color: var(--muted); min-width: 84px; flex: none; }
.spec-list li span:last-child { color: var(--ink-strong); font-weight: 500; }

/* common specification panel (shared by all products) */
.spec-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 28px;
  margin-bottom: 38px;
  column-count: 2;
  column-gap: 48px;
}
.spec-panel ul { display: contents; }
.spec-panel li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.65;
  break-inside: avoid;
}
.spec-panel li span:first-child { color: var(--muted); min-width: 130px; flex: none; font-weight: 600; }
.spec-panel li span:last-child { color: var(--ink-strong); }

.card-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 14px;
}
.mini-btn { padding: 10px 18px; font-size: 11.5px; }
.text-link {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.text-link:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* construction (weave) card */
.card--weave .media { height: 136px; }
.card--weave .card-body {
  padding: 14px 10px 18px;
  text-align: center;
  align-items: center;
}
.card--weave .card-body h3 { font-size: 14.5px; }
.card--weave .card-body p { font-size: 12.5px; }

/* blog card */
.card--post .media { height: 186px; }
.post-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .01em;
}
.card--post .card-body h3 { font-size: 16.5px; line-height: 1.45; }

/* ---------- 9. Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split--60 { grid-template-columns: 1.05fr .95fr; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
}

.split-body h2 {
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.24;
  margin-bottom: 18px;
}
.split-body p { font-size: 15.5px; line-height: 1.78; }
.split-body p + p { margin-top: 14px; }
.split-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.check-list { display: grid; gap: 12px; margin-top: 6px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--ink-strong);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(217, 138, 66, .14)
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D98A42' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}

/* ---------- 10. Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--white);
  padding: 28px 22px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 11. CTA band ---------- */
.cta-band {
  position: relative;
  padding: 76px 0;
  background: var(--navy);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(66, 107, 140, .55) 0%, transparent 70%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 6px);
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 34px);
  max-width: 820px;
  margin: 0 auto 16px;
}
.cta-band p {
  color: #C9D4DF;
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto 30px;
}

/* ---------- 12. Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #A8BACA;
  padding: 64px 0 0;
  font-size: 13.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-word { color: var(--white); font-size: 19px; }
.footer-brand .logo-mark { width: 32px; height: 32px; }
.footer-brand p {
  margin-top: 18px;
  line-height: 1.85;
  color: #A8BACA;
  max-width: 330px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col li + li { margin-top: 11px; }
.footer-col a, .footer-col address {
  font-style: normal;
  color: #A8BACA;
  line-height: 1.75;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--blue-line);
  font-size: 12.5px;
  color: #7A8B9C;
}
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- 13. Page header (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 92px 0 84px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(110% 130% at 12% 0%, #2C5273 0%, #1B3B58 48%, #10243A 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(48deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 6px),
    linear-gradient(100deg, rgba(9, 24, 39, .6) 0%, rgba(18, 45, 70, .2) 100%);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.18;
  font-weight: 800;
  max-width: 880px;
  letter-spacing: -.015em;
}
.page-hero p {
  margin-top: 20px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
  color: #C9D4DF;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--orange); }

/* ---------- 14. Featured article ---------- */
.featured {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.featured .media { height: 360px; border-radius: var(--radius); }
.featured-body h2 {
  font-size: clamp(23px, 2.4vw, 29px);
  line-height: 1.32;
  margin: 12px 0 16px;
}
.featured-body p { font-size: 15px; line-height: 1.75; }
.featured .post-meta { margin-top: 16px; display: block; }
.featured .btn { margin-top: 24px; }

/* ---------- 15. Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid #D8DFE6;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--steel); color: var(--steel); }
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ---------- 16. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.info-list { margin-top: 32px; display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; }
.info-item .icon-box {
  width: 40px;
  height: 40px;
  flex: none;
  margin: 0;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--steel);
}
.info-item h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-item p, .info-item a {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--navy);
  font-weight: 500;
  word-break: break-word;
}
.info-item a:hover { color: var(--orange); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px 40px;
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 25px; margin-bottom: 8px; }
.form-card > p { font-size: 14px; line-height: 1.7; margin-bottom: 26px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.field label .req { color: var(--orange); }

.field input, .field select, .field textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #D8DFE6;
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
}
.field textarea { height: 120px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA7B4; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(66, 107, 140, .12);
}

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%235B6B7A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  color: #9AA7B4;
}
.field select.has-value { color: var(--navy); }

.file-field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 14px;
  border: 1px dashed #C8D3DE;
  border-radius: 6px;
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.file-field:hover { border-color: var(--steel); background: #EFF3F7; }
.file-field svg { width: 18px; height: 18px; color: var(--steel); flex: none; }
.file-field span { font-size: 13.5px; color: #5B6B7A; }
.file-field input[type="file"] { display: none; }
.file-field.has-file { border-style: solid; border-color: var(--steel); background: #F0F5F9; }
.file-field.has-file span { color: var(--navy); font-weight: 500; }

.form-foot { display: grid; gap: 14px; margin-top: 22px; }
.form-note { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.6;
}
.form-status.is-ok { display: block; background: #EAF5EC; color: #1F6B37; }
.form-status.is-err { display: block; background: #FCEFEF; color: #A63A34; }

/* ---------- 17. Value strip / points ---------- */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
}
.point svg { width: 22px; height: 22px; flex: none; color: var(--orange); }

/* ---------- 18. Article ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  align-items: start;
}

.article-head { max-width: 780px; margin-bottom: 32px; }
.article-head h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  margin-bottom: 18px;
}
.article-head .post-meta { display: block; margin-top: 18px; }

.article-cover {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 44px;
}

.prose { max-width: 780px; }
.prose h2 {
  font-size: clamp(21px, 2.2vw, 26px);
  margin: 44px 0 14px;
  line-height: 1.32;
}
.prose h3 {
  font-size: 18px;
  margin: 30px 0 10px;
}
.prose p {
  font-size: 16px;
  line-height: 1.85;
  color: #4F5F6E;
  margin-bottom: 18px;
}
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li {
  font-size: 15.5px;
  line-height: 1.8;
  color: #4F5F6E;
  margin-bottom: 8px;
}
.prose strong { color: var(--navy); font-weight: 600; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 14px;
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.prose th {
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.prose td { color: #4F5F6E; }

.prose blockquote {
  margin: 26px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--orange);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--navy);
}

.article-aside { position: sticky; top: 104px; display: grid; gap: 20px; }

.aside-box {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.aside-box h4 {
  font-family: var(--font-head);
  font-size: 16px;
  margin-bottom: 10px;
}
.aside-box p { font-size: 13.5px; line-height: 1.7; margin-bottom: 18px; }
.aside-box--navy {
  background: var(--navy);
  border-color: var(--navy);
}
.aside-box--navy h4 { color: var(--white); }
.aside-box--navy p { color: #C9D4DF; }

.share-row { display: flex; gap: 10px; }
.share-row a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--steel);
  transition: all .2s var(--ease);
}
.share-row a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- 19. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-weave { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1.2fr; row-gap: 40px; }
  .contact-grid { grid-template-columns: 360px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 1024px) {
  .nav { gap: 24px; }
  .nav-cta { display: none; }
  .split { gap: 40px; }
  .split-media { height: 320px; }
  .featured { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .featured .media { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; gap: 44px; }
  .article-aside { position: static; }
  .article-cover { height: 320px; }
}

@media (max-width: 880px) {
  .spec-panel { column-count: 1; padding: 8px 20px; }
  .section { padding: 64px 0; }
  .header-inner { height: 72px; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(18, 40, 62, .12);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }

  .nav-link {
    padding: 15px 0;
    font-size: 16px;
    border-bottom: 1px solid #F0F3F6;
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--orange); }

  .nav-cta {
    display: inline-flex;
    margin-top: 20px;
    margin-left: 0;
    justify-content: center;
  }

  .hero { min-height: 0; padding: 72px 0 80px; }
  .hero--sm { padding: 64px 0; }
  .hero-actions .btn { flex: 1 1 auto; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--60 { grid-template-columns: 1fr; gap: 32px; }
  .split-media { height: 280px; }
  .split-body { order: 2; }
  .split-media-wrap { order: 1; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero { padding: 64px 0 56px; }
  .page-hero p { font-size: 15.5px; }
  .form-card { padding: 28px 24px 32px; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-weave { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card .media, .card--app .media, .card--product .media { height: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .section-head { margin-bottom: 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 24px; }
  .cta-band { padding: 56px 0; }
}
