/* ==========================================================================
   Jinan Texin Steel — Industrial Steel Chimneys
   main.css v1.0
   Palette: steel grey #2F3A45 / deep navy #0F2A44 / safety orange #E86A24
   ========================================================================== */

:root {
  --steel: #2F3A45;
  --navy: #0F2A44;
  --navy-deep: #0A1C2E;
  --orange: #E86A24;
  --orange-dark: #C9551A;
  --white: #FFFFFF;
  --bg: #F5F7F9;
  --line: #E2E8EE;
  --text: #1C2733;
  --text-muted: #5C6B7A;
  --radius: 4px;
  --maxw: 1240px;
  --gutter: 24px;
  --font-en: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

html[lang="zh-Hans"] body { font-family: var(--font-zh); font-size: 16px; }

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }

h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--bg { background: var(--bg); }
.section--dark { background: var(--navy); color: #E9EEF4; }
.section--dark h2 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--text-muted); font-size: 1.06rem; margin-bottom: 0; }
.section--dark .section-head p { color: #A9BACE; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .12s, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }

.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--line { border-color: var(--line); color: var(--steel); background: #fff; }
.btn--line:hover { border-color: var(--steel); }

.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1EB855; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--orange); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 18px rgba(15,42,68,.09); border-color: var(--line); }

.nav {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}

.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.06rem; color: var(--steel); letter-spacing: -.02em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 3px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-size: .92rem; font-weight: 800; letter-spacing: -.04em;
}
.logo small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); line-height: 1; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-links a {
  padding: 9px 13px; font-size: .93rem; font-weight: 500; color: var(--steel);
  border-radius: var(--radius); transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--bg); color: var(--navy); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang { display: flex; align-items: center; gap: 1px; font-size: .86rem; font-weight: 600; }
.lang a { padding: 6px 9px; border-radius: 3px; color: var(--text-muted); }
.lang a:hover { color: var(--steel); background: var(--bg); }
.lang a[aria-current="true"] { color: var(--navy); background: var(--bg); }
.lang span { color: var(--line); }

.nav-wa { padding: 10px 18px; font-size: .88rem; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--steel); margin: 4px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  padding: 140px 0 90px;
  background: linear-gradient(160deg, #16222E 0%, var(--navy) 55%, #0A1C2E 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(232,106,36,.14), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 860px; }

.hero h1 { color: #fff; margin-bottom: 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--orange); }

.hero-sub {
  font-size: 1.13rem; line-height: 1.7; color: #B9C9DA;
  max-width: 680px; margin-bottom: 36px;
}
.hero-sub strong { color: #fff; font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.trust-bar {
  display: flex; flex-wrap: wrap; gap: 40px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14);
}
.trust-item { display: flex; flex-direction: column; gap: 3px; }
.trust-item b { font-size: 1.5rem; font-weight: 700; color: var(--orange); letter-spacing: -.02em; line-height: 1; }
.trust-item span { font-size: .84rem; color: #93A7BC; letter-spacing: .02em; }

/* ---------- Placeholder component ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, #EDF1F5 0 10px, #E6ECF2 10px 20px);
  border: 2px dashed #B9C6D4;
  border-radius: var(--radius);
  display: grid; place-items: center;
  padding: 28px 22px;
  text-align: center;
  color: #6B7F94;
  min-height: 180px;
}
.ph-code {
  position: absolute; top: 9px; left: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  color: var(--orange-dark);
  background: rgba(255,255,255,.86);
  padding: 2px 7px; border-radius: 3px;
}
.ph-meta {
  position: absolute; bottom: 9px; right: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem; color: #8A9BAB;
  background: rgba(255,255,255,.86);
  padding: 2px 7px; border-radius: 3px;
}
.ph-desc { font-size: .87rem; line-height: 1.5; max-width: 320px; }
.ph-desc b { display: block; font-size: .94rem; color: #40566B; margin-bottom: 3px; }

/* ---------- Product lines ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.prod-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.prod-card:hover { border-color: #C6D3DF; box-shadow: 0 12px 32px rgba(15,42,68,.10); transform: translateY(-3px); }

.prod-card .ph { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 220px; }

/* product card photo frame: fixed 4:3 so tall originals cannot stretch the card */
.prod-card > img {
  width: 100%; aspect-ratio: 2 / 3; height: auto;
  object-fit: cover; object-position: center 42%;
  border-bottom: 1px solid var(--line);
}
@supports not (aspect-ratio: 1) {
  .prod-card > img { height: 420px; }
}

.prod-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { margin-bottom: 10px; }
.prod-body p { font-size: .96rem; color: var(--text-muted); flex: 1; }

.prod-specs {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px;
  font-size: .8rem; font-weight: 600; color: var(--navy);
}
.prod-specs span { background: var(--bg); padding: 5px 11px; border-radius: 3px; }

.prod-link { font-size: .93rem; font-weight: 600; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.prod-link::after { content: '→'; transition: transform .18s; }
.prod-card:hover .prod-link::after { transform: translateX(4px); }

/* ---------- Spec strip ---------- */
.spec-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin-top: 40px;
}
.spec-strip div { background: #fff; padding: 26px 24px; text-align: center; }
.spec-strip b { display: block; font-size: 1.55rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.spec-strip span { font-size: .85rem; color: var(--text-muted); }

/* ---------- Factory ---------- */
.factory { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.factory .ph { min-height: 420px; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 26px 0 28px; }
.stat-row div { background: #fff; padding: 20px 22px; }
.stat-row b { display: block; font-size: 1.7rem; font-weight: 700; color: var(--orange); letter-spacing: -.02em; line-height: 1.1; }
.stat-row span { font-size: .83rem; color: var(--text-muted); }

.eq-list { list-style: none; padding: 0; margin: 0 0 28px; font-size: .94rem; }
.eq-list li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); position: relative; color: var(--text-muted); }
.eq-list li:last-child { border-bottom: 0; }
.eq-list li::before { content: ''; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; background: var(--orange); border-radius: 1px; }
.eq-list li b { color: var(--text); font-weight: 600; }

/* ---------- Corrosion ---------- */
.corr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.corr-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: background .2s, border-color .2s, transform .2s;
}
.corr-card:hover { background: rgba(255,255,255,.1); border-color: rgba(232,106,36,.55); transform: translateY(-2px); }
.corr-card h3 { font-size: 1.02rem; color: #fff; margin-bottom: 9px; }
.corr-card p { font-size: .87rem; color: #A9BACE; margin: 0; line-height: 1.55; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.proj-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.proj-card:hover { box-shadow: 0 12px 32px rgba(15,42,68,.10); transform: translateY(-3px); }
.proj-card .ph { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 210px; }

/* capability card photo frame: uniform 16:9 so the three tiles line up */
.proj-card > img {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  object-fit: cover; object-position: center;
  border-bottom: 1px solid var(--line);
}
@supports not (aspect-ratio: 1) {
  .proj-card > img { height: 200px; }
}
.proj-body { padding: 22px 24px 24px; }
.proj-body h3 { font-size: 1.05rem; margin-bottom: 12px; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 7px; font-size: .79rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.proj-meta span { background: var(--bg); padding: 4px 10px; border-radius: 3px; }
.proj-body p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ---------- Capability ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap-card { padding: 30px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, transform .2s; }
.cap-card:hover { border-color: #C6D3DF; transform: translateY(-2px); }
.cap-icon { width: 48px; height: 48px; border-radius: 3px; background: var(--bg); display: grid; place-items: center; margin-bottom: 18px; font-size: 1.35rem; }
.cap-card h3 { font-size: 1rem; margin-bottom: 8px; }
.cap-card p { font-size: .89rem; color: var(--text-muted); margin: 0; }

/* ---------- Also fabricating strip ---------- */
.also {
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px;
  padding: 32px 36px;
  background: var(--bg); border-left: 4px solid var(--orange); border-radius: var(--radius);
}
.also h3 { margin: 0; font-size: 1.05rem; }
.also p { margin: 0; font-size: .93rem; color: var(--text-muted); flex: 1; min-width: 240px; }

/* ---------- Quote CTA ---------- */
.cta-band { background: linear-gradient(150deg, var(--navy) 0%, #0A1C2E 100%); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.cta-inner h2 { color: #fff; margin-bottom: 14px; }
.cta-inner p { color: #A9BACE; margin-bottom: 0; }

.cta-actions { display: flex; flex-direction: column; gap: 13px; }
.cta-actions .btn { justify-content: center; }

.req-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.req-list li { font-size: .9rem; color: #A9BACE; padding-left: 20px; position: relative; }
.req-list li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #0A141D; color: #93A7BC; padding: 68px 0 0; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot-grid h4, .foot-grid .foot-h { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a:hover { color: #fff; }
.foot-tagline { margin: 18px 0 0; max-width: 280px; line-height: 1.6; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; font-size: .84rem; color: #6B7F94;
}

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border-radius: 3px;
  background: rgba(255,255,255,.07); display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: #B9C9DA;
  transition: background .18s, color .18s;
}
.social a:hover { background: var(--orange); color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(37,211,102,.42);
  transition: transform .18s, box-shadow .18s;
}
.fab-wa:hover { transform: scale(1.07); box-shadow: 0 8px 28px rgba(37,211,102,.55); }
.fab-wa svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .prod-grid, .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .corr-grid, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .factory { grid-template-columns: 1fr; gap: 36px; }
  .footer .foot-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-wa { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px; gap: 2px; margin: 0;
    box-shadow: 0 12px 24px rgba(15,42,68,.1);
  }
  .nav-links.is-open a { padding: 13px 14px; font-size: 1rem; }
  .burger { display: block; }
  .section { padding: 64px 0; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero { min-height: auto; padding: 120px 0 72px; }
  .trust-bar { gap: 26px; }
}

@media (max-width: 640px) {
  .prod-grid, .proj-grid, .corr-grid, .cap-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .req-list { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .also { padding: 26px 22px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Domestic reference cards ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ref-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.ref-card:hover { box-shadow: 0 12px 32px rgba(15,42,68,.10); transform: translateY(-3px); }
.ref-card__media { margin: 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.ref-card__media img { display: block; width: 100%; height: 230px; object-fit: cover; }
.ref-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ref-card__type { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange, #C2410C); margin-bottom: 10px; }
.ref-card__body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.ref-card__body > p { font-size: .9rem; color: var(--text-muted); margin: 0 0 16px; }
.ref-spec { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ref-spec > div { background: var(--bg); border-radius: 3px; padding: 7px 11px; }
.ref-spec dt { font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.ref-spec dd { margin: 2px 0 0; font-size: .88rem; font-weight: 600; color: var(--navy); }
.ref-spec dd.ref-tbd { color: #94A3B8; font-weight: 500; font-style: italic; }
.ref-list { list-style: none; padding: 0; margin: 0; font-size: .86rem; color: var(--text-muted); }
.ref-list li { padding: 5px 0 5px 14px; position: relative; }
.ref-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange, #C2410C); }
.ref-list b { color: var(--navy); }
.ref-card--pending { border-style: dashed; background: #FCFDFE; }
.ref-card--pending .ref-card__body { justify-content: center; min-height: 230px; }
.ref-card--pending .ref-card__type { color: #94A3B8; }
@media (max-width: 1024px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .ref-grid { grid-template-columns: 1fr; } }

/* ---------- Reference: project strip, photo pair, envelope ---------- */
.ref-proj { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 32px; }
.ref-proj > div { border-left: 3px solid var(--orange, #C2410C); background: var(--bg); padding: 14px 16px; border-radius: 0 3px 3px 0; }
.ref-proj dt { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.ref-proj dd { margin: 0; font-size: .92rem; color: var(--navy); font-weight: 600; line-height: 1.45; }

.ref-grid--two { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
.ref-photo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ref-photo img { display: block; width: 100%; height: 320px; object-fit: cover; }
.ref-photo figcaption { padding: 14px 18px; font-size: .82rem; color: var(--text-muted); border-top: 1px solid var(--line); }

.ref-envelope { margin-top: 40px; background: var(--navy, #0F2A44); color: #fff; border-radius: var(--radius); padding: 34px 36px; }
.ref-envelope h3 { color: #fff; font-size: 1.15rem; margin: 0 0 22px; }
.ref-envelope__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 0 20px; }
.ref-envelope__grid dt { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 6px; }
.ref-envelope__grid dd { margin: 0; font-size: 1.18rem; font-weight: 700; color: #fff; }
.ref-envelope .form-note { color: rgba(255,255,255,.72); margin: 0; }
@media (max-width: 1024px) {
  .ref-proj { grid-template-columns: 1fr; }
  .ref-envelope__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ref-grid--two { grid-template-columns: 1fr; }
  .ref-envelope { padding: 26px 22px; }
  .ref-envelope__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   v2 — multi-page additions
   ========================================================================== */

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 62vh;
  padding: 140px 0 64px;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.page-hero--compact { min-height: auto; padding: 150px 0 56px; }
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
.page-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,28,46,.92) 0%, rgba(10,28,46,.72) 45%, rgba(10,28,46,.88) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 20ch; margin-bottom: 18px; text-wrap: balance; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero__sub { color: #B9C9DA; font-size: 1.08rem; max-width: 760px; margin-bottom: 0; }
.page-hero__sub strong { color: #fff; }
.page-hero .hero-cta { margin: 30px 0 0; }

/* ---------- Hero trust bar ---------- */
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px;
  font-size: .84rem; color: #CBD8E6; letter-spacing: .02em;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent, #E86A24); flex: 0 0 auto;
}

/* ---------- Breadcrumbs ---------- */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .82rem; color: #93A7BC; margin-bottom: 22px;
}
.crumb a { color: #B9C9DA; }
.crumb a:hover { color: #fff; text-decoration: underline; }
.crumb .sep { opacity: .45; }
.crumb [aria-current] { color: #fff; }

/* ---------- Section variants ---------- */
.section--tight-top { padding-top: 40px; }
.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 820px; }
.lead strong { color: var(--text); }

/* ---------- Spec table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec {
  width: 100%; border-collapse: collapse; font-size: .91rem; background: #fff; min-width: 620px;
}
table.spec th, table.spec td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th {
  background: var(--navy); color: #fff; font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 600; white-space: nowrap;
}
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:nth-child(even) { background: #FAFBFC; }
table.spec td b { color: var(--navy); }
.section--dark table.spec, .section--dark .table-wrap { background: transparent; }
.section--dark table.spec th, .section--dark table.spec td { border-color: rgba(255,255,255,.14); color: #C9D6E3; }
.section--dark table.spec tbody tr:nth-child(even) { background: rgba(255,255,255,.04); }
.section--dark table.spec td b { color: #fff; }
.section--dark table.spec thead th { background: rgba(255,255,255,.1); }

/* ---------- Anchor blocks ---------- */
.anchor-block { padding-top: 20px; scroll-margin-top: 100px; }
.anchor-block + .anchor-block { margin-top: 64px; }
.anchor-block h2 { scroll-margin-top: 100px; }
.anchor-tag {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-dark); background: rgba(232,106,36,.1);
  padding: 3px 9px; border-radius: 3px; margin-bottom: 12px;
}

/* ---------- Split media block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split__media img { width: 100%; height: auto; border-radius: var(--radius); }
.split__media figcaption { font-size: .8rem; color: var(--text-muted); margin-top: 10px; }

/* ---------- Check list ---------- */
.check-list { list-style: none; padding: 0; margin: 22px 0; font-size: .96rem; }
.check-list li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); color: var(--text-muted); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 7px; color: var(--orange); font-weight: 800; }
.check-list li b { color: var(--text); }

/* ---------- Warn box ---------- */
.warn {
  border-left: 4px solid #C9352B; background: #FDF3F2; padding: 20px 24px;
  border-radius: var(--radius); font-size: .93rem; color: #6B3A36;
}
.warn b { color: #A32920; }
.warn h4 { margin: 0 0 6px; font-size: .95rem; color: #A32920; }
.section--dark .warn { background: rgba(201,53,43,.14); border-color: #E86A6A; color: #F2C9C6; }
.section--dark .warn h4, .section--dark .warn b { color: #FF9E96; }

/* ---------- Process flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.flow__step { background: #fff; padding: 26px 22px; position: relative; }
.flow__n {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem;
  font-weight: 700; color: var(--orange); letter-spacing: .1em; display: block; margin-bottom: 10px;
}
.flow__step h3 { font-size: .98rem; margin-bottom: 8px; }
.flow__step p { font-size: .87rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ---------- Stat / number cards ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.num-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.num-card b { display: block; font-size: 1.85rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.num-card b small { font-size: .95rem; color: var(--text-muted); font-weight: 600; }
.num-card span { font-size: .85rem; color: var(--text-muted); display: block; margin-top: 6px; }
.num-card--orange b { color: var(--orange); }
.num-card--tbd b { color: #A9B4BF; }

/* ---------- Type cards ---------- */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.type-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.type-card img { width: 100%; height: 220px; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.type-card__body { padding: 24px 26px 26px; }
.type-card__body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.type-card__body .tagline { font-size: .84rem; color: var(--orange); font-weight: 600; margin-bottom: 12px; display: block; }
.type-card__body p { font-size: .93rem; color: var(--text-muted); margin-bottom: 14px; }
.type-card__specs { display: flex; flex-wrap: wrap; gap: 7px; font-size: .78rem; font-weight: 600; color: var(--navy); }
.type-card__specs span { background: var(--bg); padding: 4px 10px; border-radius: 3px; }

/* ---------- Related cards ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel-card {
  display: flex; flex-direction: column; gap: 9px; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px 30px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.rel-card:hover { border-color: #C6D3DF; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15,42,68,.08); }
.rel-card b { font-size: 1rem; color: var(--navy); line-height: 1.35; }
.rel-card span { font-size: .89rem; color: var(--text-muted); line-height: 1.55; }
.rel-card i { position: absolute; right: 22px; bottom: 16px; color: var(--orange); font-style: normal; font-size: 1rem; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; color: var(--steel); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: .95rem; color: var(--text);
  border: 1px solid #D3DDE7; border-radius: var(--radius); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,42,68,.09);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--text-muted); margin-top: 5px; }
.form-note { font-size: .8rem; color: var(--text-muted); margin-top: 16px; }

/* ---------- Form: next-steps block ---------- */
.form-next {
  list-style: none; margin: 22px 0 0; padding: 18px 20px;
  background: rgba(15,42,68,.04); border-left: 3px solid var(--accent, #E86A24);
  border-radius: 4px;
}
.form-next li {
  font-size: .86rem; color: var(--text-muted); line-height: 1.6;
  padding-left: 0; margin-bottom: 9px;
}
.form-next li:last-child { margin-bottom: 0; }
.form-next li b { color: var(--brand-dark, #0F2A44); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.contact-card h3 { font-size: .95rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 12px; }
.contact-card a, .contact-card p { font-size: 1.02rem; font-weight: 600; color: var(--navy); display: block; word-break: break-word; }
.contact-card a:hover { color: var(--orange); }
.contact-card .sub { font-size: .85rem; font-weight: 400; color: var(--text-muted); margin-top: 8px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 4/3; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Pricing-note / badge row ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge {
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  padding: 8px 14px; border-radius: 3px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff;
}
.badge--light { background: var(--bg); border-color: var(--line); color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1rem;
  position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 16px;
  font-size: 1.4rem; font-weight: 400; color: var(--orange); line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 40px 20px 0; color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .rel-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .page-hero { min-height: auto; padding: 118px 0 52px; }
  .page-hero--compact { padding: 118px 0 48px; }
  .nav-links a.is-active { background: var(--bg); }
}
@media (max-width: 640px) {
  .type-grid, .rel-grid, .contact-grid, .flow, .nums, .form-grid, .gallery, .gallery--2 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.85rem; }
}

/* v2: active nav state */
.nav-links a.is-active { color: var(--navy); background: var(--bg); font-weight: 600; }
img { max-width: 100%; }

/* v2 helper: trailing action under a section */
.sec-foot { margin-top: 40px; margin-bottom: 0; }
.section-head p a { color: var(--orange-dark); text-decoration: underline; }
.also h3 { font-size: 1.1rem; }
.also p { color: var(--text-muted); font-size: .96rem; max-width: 780px; margin: 8px 0 18px; }
.split h2 { margin-bottom: 14px; }
.split .lead { margin-bottom: 8px; }
.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; }

/* ---------- v3 additions: quote page, legal, gallery, faq, contact ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.rel-card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px; display: block; }
.rel-card__more { font-size: .84rem; font-weight: 700; color: var(--navy); margin-top: auto; padding-top: 14px; display: block; }
a.rel-card:hover .rel-card__more { color: var(--orange); }

.quote-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: start; }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field .req { color: var(--orange); }
.field input, .field textarea {
  font: inherit; font-size: .95rem; color: var(--text); background: #fff;
  border: 1px solid #D6DEE6; border-radius: 4px; padding: 11px 13px; width: 100%;
  transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,42,68,.09); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--text-muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form .btn { margin-top: 24px; }
.quote-side { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.quote-side h3 { font-size: 1.05rem; margin-bottom: 10px; }
.quote-side .btn { width: 100%; text-align: center; margin-bottom: 10px; }
@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
}

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 1rem;
  list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font-size: 1.3rem;
  color: var(--orange); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; font-size: .94rem; color: var(--text-muted); }

.legal { max-width: 820px; }
.legal h2 { font-size: 1.15rem; margin: 34px 0 10px; }
.legal p, .legal li { font-size: .95rem; color: var(--text-muted); line-height: 1.7; }
.legal ul { margin: 10px 0 0; padding-left: 22px; }
.legal li { margin-bottom: 6px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.contact-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-muted); margin-bottom: 8px; }
.contact-card a { font-size: 1.02rem; font-weight: 700; color: var(--navy); word-break: break-word; }
.contact-card a:hover { color: var(--orange); }
.contact-card .sub { font-size: .82rem; color: var(--text-muted); margin: 6px 0 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* quote form status / fallback panel */
.form-status{display:none;margin-top:18px;padding:20px 22px;border-radius:10px;
  background:#FFF6F0;border:1px solid #F3C9AE;color:#0F2A44;font-size:.95rem;line-height:1.55}
.form-status b{display:block;font-size:1.02rem;margin-bottom:6px;color:#B04A12}
.form-status p{margin:0 0 14px;color:#4A5C6E}
.form-status__acts{display:flex;flex-wrap:wrap;gap:10px}
.form-status__acts .btn{flex:0 0 auto}
