/* ==========================================================================
   Gliese Manufacturing Pte Ltd — Global Stylesheet
   Direction: professional manufacturing corporation. Navy authority bands,
   steel linework, engineered-orange datum accents, clean white product space.
   Type: Barlow Condensed / Barlow (transit-signage lineage) + IBM Plex Mono
   reserved for real data (part codes, spec labels, title block).
   ========================================================================== */

@font-face {
  font-family: 'BankGothic Md BT';
  src: url('../assets/fonts/bank%20gothic%20medium%20bt.woff') format('woff'),
       url('../assets/fonts/Bank%20Gothic%20Medium.woff') format('woff');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Navy scale — authority bands, footer, dark cards */
  --g-950: #081726;
  --g-900: #0E2740;
  --g-800: #17334F;
  --g-700: #2A4C6E;

  /* Paper */
  --paper:   #F3F6F8;
  --paper-2: #E8EDF2;
  --white:   #FFFFFF;

  /* Text */
  --ink:   #16212E;
  --muted: #55697E;

  /* Lines */
  --line:      #D9E1E8;
  --line-dark: rgba(125, 156, 189, 0.24);

  /* Engineered orange — the marker, not the field */
  --amber:      #E2711D;   /* rules, fills, callouts */
  --amber-deep: #A94E0D;   /* small orange text on light (AA) */
  --amber-lift: #F59A48;   /* small orange text on navy */

  /* Steel blue — linework + secondary text */
  --draft:     #7D9CBD;    /* on navy */
  --draft-ink: #2F5680;    /* on light */
  --steel:     #3E6491;    /* drawing linework */

  --radius: 2px;           /* machined-and-deburred, not rounded */
  --wrap: 1200px;
  --shadow:    0 12px 30px rgba(14, 39, 64, 0.08);
  --shadow-lg: 0 20px 46px rgba(14, 39, 64, 0.14);

  --font-body:    'Barlow', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow', 'Arial Narrow', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Consolas', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.8rem); }
h3, h4 {
  font-family: var(--font-body);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 .5em;
}
h3 { font-size: 1.16rem; }
p  { margin: 0 0 1rem; color: var(--muted); }
a  { color: var(--draft-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--white { background: var(--white); }
.section--soft  { background: var(--paper); }
.section--dark  { background: var(--g-900); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(233, 239, 245, .74); }
.section__head { max-width: 760px; margin: 0 0 54px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Eyebrow — datum rule + label (a datum is the reference line every
   engineering drawing measures from; here it marks where a section starts) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: .73rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--draft-ink);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: ""; flex: 0 0 auto;
  width: 30px; height: 2px; background: var(--amber);
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--draft); }
.lead { font-size: 1.14rem; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

/* primary — engineered orange, near-black text (AA, and the register of
   real hazard/accessibility markings on a bus) */
.btn--amber { background: var(--amber); color: #1A1206; }
.btn--amber:hover { background: #F5822A; }

/* secondary on light — navy outline */
.btn--ghost { background: transparent; color: var(--g-900); border-color: #B9C6D2; }
.btn--ghost:hover { background: var(--paper); border-color: var(--g-900); }

/* secondary on navy */
.section--dark .btn--ghost, .cta-band .btn--ghost, .err .btn--ghost, .page-hero .btn--ghost {
  color: var(--white); border-color: rgba(190, 210, 230, .45); background: transparent;
}
.section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover,
.err .btn--ghost:hover, .page-hero .btn--ghost:hover {
  background: rgba(190, 210, 230, .12); border-color: rgba(190, 210, 230, .8);
}

.btn--dark { background: var(--g-900); color: var(--white); }
.btn--dark:hover { background: var(--g-800); }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-top: 3px solid var(--amber);          /* brand datum */
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--g-800); }
.brand:hover { text-decoration: none; }
.brand img { height: 64px; width: auto; display: block; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.36rem; line-height: 1;
  letter-spacing: .1em; color: var(--g-900); text-transform: uppercase;
  white-space: nowrap;
}
.brand__name span {
  display: block; margin-top: 3px;
  font-family: var(--font-mono); font-size: .55rem; font-weight: 500;
  letter-spacing: .3em; color: var(--draft-ink);
}

/* Header wordmark: BankGothic Md BT, single row (footer lockup keeps the
   two-line Barlow/mono treatment above and is untouched) */
.site-header .brand__name {
  font-family: 'BankGothic Md BT', var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: .04em;
  display: flex;
  align-items: baseline;
}
.site-header .brand__name span {
  display: inline;
  margin-top: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.site-header .brand__name span::before { content: "\00a0"; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 16px;
  font-size: .86rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: #40525F;
}
.nav__links a:hover { color: var(--g-900); text-decoration: none; }
.nav__links a.active { color: var(--g-900); box-shadow: inset 0 -3px 0 var(--amber); }
.nav__cta { margin-left: 16px; }
.nav__cta .btn { padding: 12px 22px; font-size: .82rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--g-900); margin: 5px 0; transition: .3s; }

/* Nav dropdown — Services reveals its four categories on hover/focus -------- */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle::after { content: "\25BE"; margin-left: 5px; font-size: .68em; opacity: .55; position: relative; top: -1px; }
.nav__dropdown-menu {
  list-style: none; margin: 0; padding: 8px 0; min-width: 200px;
  position: absolute; top: 100%; left: 0; z-index: 70;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .16s ease, transform .16s ease;
}
.nav__dropdown-menu a {
  display: block; padding: 10px 18px;
  font-size: .84rem; font-weight: 600; letter-spacing: .04em; text-transform: none;
  color: #40525F;
}
.nav__dropdown-menu a:hover { background: var(--paper); color: var(--g-900); text-decoration: none; }

/* Hero — clean product space; the drawing carries the weight ---------------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero__inner { padding: 82px 0 44px; max-width: 800px; }
.hero h1 { color: var(--g-900); max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--steel); }
.hero p { color: var(--muted); font-size: 1.18rem; max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }

/* Signature: the elevation, drawn on real graph paper with a title block ---- */
.drawing { position: relative; z-index: 1; margin: 22px auto 0; padding-bottom: 58px; }
.drawing__sheet {
  position: relative;
  border: 1px solid var(--line);
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(62, 100, 145, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 100, 145, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  box-shadow: var(--shadow);
}
.drawing__sheet svg { display: block; width: 100%; height: auto; }
.titleblock {
  display: flex; flex-wrap: wrap;
  background: var(--g-900); color: var(--draft);
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .13em;
  text-transform: uppercase;
}
.titleblock > div { padding: 10px 16px; border-right: 1px solid rgba(125, 156, 189, .2); }
.titleblock > div:last-child { border-right: 0; margin-left: auto; }
.titleblock b { color: var(--white); font-weight: 500; }

/* Approval stamp — a controlled-document mark, the way a real engineering
   office signs off a released drawing. The one bold flourish on the sheet. */
.stamp {
  position: absolute; z-index: 2;
  right: 22px; bottom: 22px;
  width: 118px; height: 118px;
  display: grid; place-items: center; text-align: center;
  border: 2px solid var(--amber-deep); border-radius: 50%;
  transform: rotate(-8deg);
  color: var(--amber-deep);
  opacity: .82;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.stamp::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid var(--amber-deep); border-radius: 50%;
}
.stamp__l1 {
  font-family: var(--font-mono); font-weight: 700;
  font-size: .56rem; letter-spacing: .17em;
}
.stamp__l2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; letter-spacing: .02em; line-height: 1.05; margin: 5px 0;
}
.stamp__l3 {
  font-family: var(--font-mono); font-weight: 600;
  font-size: .56rem; letter-spacing: .17em;
}

/* line-draw: the sheet draws itself once, then holds */
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s ease forwards; }
.draw--2 { animation-delay: .4s; }
.draw--3 { animation-delay: .8s; }
.drawing text { opacity: 0; animation: fadein .7s ease 1.35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

/* Data plate — nameplate strip, navy against the light hero ----------------- */
.plate { margin-top: -46px; position: relative; z-index: 2; }
.plate .frame { border: 0; background: var(--g-900); box-shadow: var(--shadow-lg); }
.plate .frame__in { background: transparent; display: grid; grid-template-columns: repeat(4, 1fr); }
.plate__cell { padding: 28px 30px; border-right: 1px solid rgba(125, 156, 189, .18); }
.plate__cell:last-child { border-right: 0; }
.plate__key {
  font-family: var(--font-mono); font-size: .63rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--draft); margin-bottom: 8px;
}
.plate__val {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  line-height: 1.1; color: var(--white);
}
.plate__val small {
  display: block; margin-top: 5px;
  font-family: var(--font-body); font-weight: 400; font-size: .82rem;
  letter-spacing: 0; color: rgba(233, 239, 245, .6);
}

/* Panels — plain bordered boxes (the .frame/.frame__in pair is kept so the
   markup is unchanged; the frame is now the border, not a chamfer wrapper) */
.frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.frame > .frame__in { height: 100%; border-radius: inherit; }
.frame--accent { border-top: 3px solid var(--amber); }
.frame--dark { background: var(--g-800); border-color: var(--line-dark); }
.frame--dark h3, .frame--dark h4 { color: var(--white); }
.frame--dark p { color: rgba(233, 239, 245, .74); }

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

.cap { display: block; text-decoration: none; }
.cap:hover { text-decoration: none; }
.cap .frame { height: 100%; }
.cap:hover .frame { border-color: var(--amber); box-shadow: var(--shadow); transform: translateY(-4px); }
.cap .frame__in { padding: 32px 30px 28px; display: flex; flex-direction: column; }
.cap__code {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; color: var(--amber-deep); margin-bottom: 20px;
}
.cap__icon { color: var(--steel); margin-bottom: 18px; }
.cap__icon svg { width: 46px; height: 46px; }
.cap h3 { margin-bottom: 8px; font-size: 1.24rem; }
.cap p { font-size: .97rem; margin-bottom: 18px; }
.cap__list { list-style: none; margin: 0 0 24px; padding: 0; }
.cap__list li {
  font-size: .9rem; color: var(--muted);
  padding: 8px 0 8px 20px; border-top: 1px solid var(--line); position: relative;
}
.cap__list li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 8px; height: 2px; background: var(--amber);
}
.cap__go {
  margin-top: auto; font-size: .84rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--draft-ink);
}
.cap:hover .cap__go { color: var(--amber-deep); }

/* Split / feature ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.04fr .96fr; gap: 58px; align-items: start; }
.split__media .frame { background: var(--g-800); border-color: var(--line-dark); }
.split__media .frame__in { padding: 34px; }
.split__media svg { display: block; width: 100%; height: auto; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { position: relative; padding: 9px 0 9px 32px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 16px; height: 16px; border-radius: 1px; background: var(--amber);
}
.check-list li::after {
  content: ""; position: absolute; left: 4px; top: 20px; width: 8px; height: 5px;
  border-left: 2px solid #1A1206; border-bottom: 2px solid #1A1206;
  transform: rotate(-45deg);
}
.section--dark .check-list li { color: rgba(233, 239, 245, .86); }

/* Assembly stations — a real sequence, so it is numbered -------------------- */
.section--seam { border-top: 1px solid rgba(125, 156, 189, .14); }
.stations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.station { position: relative; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.station__no {
  display: block; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; color: var(--amber-lift);
}
.station h3 { color: var(--white); font-size: 1.1rem; }
.station p { font-size: .93rem; margin: 0; }

/* Above the 4-up breakpoint, draw the sequence as one continuous process
   line with a node per station — the same drafting language as the hero
   elevation's dimension lines, and true to this being a real, ordered flow. */
@media (min-width: 1021px) {
  .stations { position: relative; padding-top: 30px; }
  .stations::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-dark); }
  .station { padding-top: 0; border-top: 0; }
  .station::before {
    content: ""; position: absolute; top: -30px; left: 0; margin-left: -4px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--g-900); border: 2px solid var(--amber-lift);
  }
}

/* CTA band ----------------------------------------------------------------- */
.cta-band .frame { background: var(--g-900); border: 0; }
.cta-band .frame__in { text-align: center; padding: 64px 40px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(233, 239, 245, .74); max-width: 58ch; margin: 0 auto 30px; }

/* Page hero (inner pages) — navy band, brand datum -------------------------- */
.page-hero { position: relative; background: var(--g-900); color: var(--paper); }
.page-hero__inner { padding: 68px 0 72px; max-width: 800px; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(233, 239, 245, .76); font-size: 1.14rem; margin: 0; }
.crumb {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--draft); margin-bottom: 20px;
}
.crumb a { color: var(--draft); }
.crumb a:hover { color: var(--white); }
.crumb b { color: var(--amber-lift); font-weight: 500; }

/* Services ----------------------------------------------------------------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.jump a {
  font-family: var(--font-mono); font-size: .73rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper); padding: 11px 18px; border-radius: var(--radius);
  border: 1px solid rgba(125, 156, 189, .38);
}
.jump a:hover { text-decoration: none; background: rgba(125, 156, 189, .14); border-color: var(--draft); }
.jump a b { color: var(--amber-lift); font-weight: 600; }

/* jump nav on a light section (inside a tab panel, not the navy hero) */
.jump--onlight { margin: 0 0 40px; }
.jump--onlight a { color: var(--g-900); border-color: #C6D2DD; }
.jump--onlight a:hover { background: var(--paper); border-color: var(--g-900); }
.jump--onlight a b { color: var(--amber-deep); }

/* Service tabs --------------------------------------------------------------
   Bus Systems vs. Fabrications — two distinct catalogues sharing one page. */
.svc-tabs { display: flex; gap: 28px; margin: 0 0 44px; border-bottom: 1px solid var(--line); }
.svc-tab {
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 4px 2px 16px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.svc-tab:hover { color: var(--g-900); }
.svc-tab.active { color: var(--g-900); border-bottom-color: var(--amber); }
.svc-panel[hidden] { display: none; }

.svc-cat { scroll-margin-top: 110px; }
.svc-cat + .svc-cat { margin-top: 88px; }
.svc-cat__head {
  display: flex; align-items: center; gap: 18px; margin-bottom: 14px;
  padding-bottom: 16px; border-bottom: 2px solid var(--g-900);
}
.svc-cat__head h2 { margin: 0; }
.svc-cat__code {
  flex: 0 0 auto;
  font-family: var(--font-mono); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; color: var(--white); background: var(--g-900);
  padding: 7px 13px; border-radius: var(--radius);
}
.svc-cat > p { max-width: 78ch; }
.acc { margin-top: 28px; display: grid; gap: 12px; }
.acc__item { border-radius: var(--radius); }
.acc__item.open { border-color: var(--g-700); box-shadow: var(--shadow); }
.acc__head {
  display: flex; align-items: center; gap: 20px; width: 100%;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 22px 26px; font-family: inherit;
}
.acc__idx {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; color: var(--amber-deep); flex: 0 0 auto; min-width: 54px;
}
.acc__title { font-weight: 600; font-size: 1.12rem; color: var(--ink); flex: 1; }
.acc__item.open .acc__title { color: var(--g-900); }
.acc__sign { flex: 0 0 auto; position: relative; width: 16px; height: 16px; }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; background: var(--draft-ink); transition: transform .25s ease;
}
.acc__sign::before { left: 0; top: 7px; width: 16px; height: 2px; }
.acc__sign::after { left: 7px; top: 0; width: 2px; height: 16px; }
.acc__item.open .acc__sign::after { transform: scaleY(0); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc__body-in { padding: 2px 26px 28px 100px; }
.acc__body-in > p { max-width: 74ch; }
.spec-list { list-style: none; margin: 0 0 22px; padding: 0; max-width: 74ch; }
.spec-list li {
  font-size: .94rem; color: var(--muted);
  padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative;
}
.spec-list li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 9px; height: 2px; background: var(--amber);
}
.datasheet {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .84rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--g-900); background: var(--paper);
  border: 1px solid #C6D2DD; border-radius: var(--radius);
  padding: 12px 20px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.datasheet:hover { text-decoration: none; background: var(--g-900); border-color: var(--g-900); color: var(--white); }
.datasheet svg { width: 15px; height: 15px; }

/* Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item__icon {
  flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--g-900); color: var(--amber-lift); border-radius: var(--radius);
}
.info-item__icon svg { width: 21px; height: 21px; }
.info-item h4 {
  margin: 0 0 3px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--draft-ink);
}
.info-item p, .info-item a { margin: 0; color: var(--ink); font-size: .98rem; }

.form-panel .frame__in { padding: 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field--full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.field label .req { color: var(--amber-deep); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px;
  border: 1px solid #C6D2DD; border-radius: var(--radius); background: var(--white);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--g-800); box-shadow: 0 0 0 3px rgba(23, 51, 79, .1);
}
.field input.invalid, .field textarea.invalid { border-color: #C4453A; }
.field textarea { resize: vertical; min-height: 140px; }
.form-note {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin: 4px 0 22px;
}
.form-status { font-size: .93rem; margin: 16px 0 0; min-height: 1.4em; }

/* Footer ------------------------------------------------------------------- */
.site-footer {
  background: var(--g-950); color: rgba(233, 239, 245, .66);
  padding: 72px 0 30px; border-top: 3px solid var(--amber);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 44px; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 16px; }
.footer-brand .brand__name {
  color: var(--white); font-size: 1.16rem;
  font-family: 'BankGothic Md BT', var(--font-display);
  font-weight: 500; letter-spacing: .04em;
  display: flex; align-items: baseline;
}
.footer-brand .brand__name span {
  color: var(--white);
  display: inline; margin-top: 0;
  font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit;
}
.footer-brand .brand__name span::before { content: "\00a0"; }
.footer-brand p { color: rgba(233, 239, 245, .5); max-width: 340px; font-size: .93rem; margin-top: 16px; }
.site-footer h4 {
  color: var(--draft); font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; margin: 6px 0 18px;
}
.site-footer a { color: rgba(233, 239, 245, .66); }
.site-footer a:hover { color: var(--white); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid rgba(125, 156, 189, .18); margin-top: 50px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .82rem; letter-spacing: .04em; color: rgba(233, 239, 245, .5);
}

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

/* Toast -------------------------------------------------------------------- */
.toast {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  background: var(--g-900); color: var(--paper);
  font-size: .88rem; padding: 15px 20px; max-width: 340px;
  border-left: 3px solid var(--amber); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px); transition: .3s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }

/* Chatbot — Terra ---------------------------------------------------------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--g-900); color: var(--white); border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: .85rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 15px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform .18s ease, background .18s ease;
}
.chat-fab:hover { transform: translateY(-2px); background: var(--g-800); }
.chat-fab svg { width: 18px; height: 18px; color: var(--amber-lift); }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 110;
  width: min(392px, calc(100vw - 32px));
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 50px rgba(8, 23, 38, .3);
}
.chat-panel[hidden] { display: none; }
.chat-head {
  background: var(--g-900); color: var(--white);
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
  border-bottom: 2px solid var(--amber);
}
.chat-head__logo {
  flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
}
.chat-head__logo img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.chat-head__meta { flex: 1; min-width: 0; }
.chat-head__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; }
.chat-head__sub {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--draft);
}
.chat-head__sub::before { content: "●"; color: #47B26B; margin-right: 6px; font-size: .58rem; }
.chat-head button {
  flex: 0 0 auto; background: none; border: 0; cursor: pointer; color: var(--draft);
  padding: 6px; display: grid; place-items: center; border-radius: var(--radius);
}
.chat-head button:hover { color: var(--white); }
.chat-head button svg { width: 19px; height: 19px; }
.chat-head__voice.is-off { color: rgba(125, 156, 189, .4); }

.chat-log {
  height: 348px; overflow-y: auto; padding: 18px 16px 8px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg { max-width: 86%; padding: 12px 15px; font-size: .93rem; line-height: 1.55; border-radius: var(--radius); }
.chat-msg--bot {
  align-self: flex-start; background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-left: 3px solid var(--amber);
}
.chat-msg--user { align-self: flex-end; background: var(--g-800); color: var(--paper); }
.chat-msg a { color: var(--draft-ink); font-weight: 600; }
.chat-msg--bot .chat-link {
  display: inline-block; margin-top: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.chat-msg__play {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; margin-left: 8px; vertical-align: -5px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  color: var(--draft-ink); cursor: pointer; padding: 0;
}
.chat-msg__play:hover { background: var(--amber); border-color: var(--amber); color: #1A1206; }
.chat-msg__play svg { width: 11px; height: 11px; }
.chat-wa {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  background: #1FAF57; color: #fff !important; text-decoration: none;
  font-size: .8rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: 11px 16px; border-radius: var(--radius);
}
.chat-wa:hover { background: #17984A; text-decoration: none; }
.chat-wa svg { width: 15px; height: 15px; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 12px; background: var(--paper); }
.chat-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-body); font-size: .8rem; font-weight: 500;
  color: var(--draft-ink); padding: 8px 13px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chat-chip:hover { background: var(--g-900); border-color: var(--g-900); color: var(--white); }
.chat-chip--wa { color: #17984A; border-color: #BFE3CC; }

.chat-form { display: flex; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input {
  flex: 1; border: 0; padding: 15px 16px; font-family: var(--font-body);
  font-size: .96rem; color: var(--ink); background: transparent; min-width: 0;
}
.chat-form input:focus { outline: none; }
.chat-form button {
  border: 0; background: var(--g-900); color: var(--amber-lift); cursor: pointer;
  padding: 0 20px; display: grid; place-items: center;
}
.chat-form button:hover { background: var(--g-700); }
.chat-form button svg { width: 18px; height: 18px; }
.chat-form .chat-mic { background: var(--white); color: var(--muted); padding: 0 12px; }
.chat-form .chat-mic:hover { background: var(--paper); color: var(--g-900); }
.chat-form .chat-mic.rec { color: #C4453A; animation: micpulse 1s ease infinite; }
@keyframes micpulse { 50% { opacity: .4; } }

.chat-typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.chat-typing i { width: 6px; height: 6px; border-radius: 1px; background: var(--muted); animation: blink 1.1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .18s; }
.chat-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 70%, 100% { opacity: .25; } 35% { opacity: 1; } }

/* 404 ---------------------------------------------------------------------- */
.err { min-height: 62vh; display: grid; place-items: center; text-align: center; background: var(--g-900); color: var(--paper); }
.err__code {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .28em;
  color: var(--amber-lift); text-transform: uppercase;
}
.err h1 { color: var(--white); margin: 14px 0 10px; }
.err p { color: rgba(233, 239, 245, .72); }
.err .hero__actions { justify-content: center; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1020px) {
  .plate .frame__in { grid-template-columns: 1fr 1fr; }
  .plate__cell:nth-child(2) { border-right: 0; }
  .plate__cell:nth-child(n+3) { border-top: 1px solid rgba(125, 156, 189, .18); }
  .grid--3 { grid-template-columns: 1fr; }
  .stations { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .section { padding: 64px 0; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 80px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px; box-shadow: var(--shadow);
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 6px; }
  .nav__links a.active { box-shadow: inset 3px 0 0 var(--amber); padding-left: 14px; }
  .nav__cta { margin: 12px 0 0; }
  .nav__dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    margin: 2px 0 8px 14px; padding: 0; background: none; min-width: 0;
  }
  .nav__dropdown-menu a { padding: 10px 6px 10px 16px; font-size: .82rem; }
  .svc-tabs { gap: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .svc-tab { white-space: nowrap; }
  .hero__inner { padding: 58px 0 32px; }
  .stamp { width: 82px; height: 82px; right: 14px; bottom: 14px; }
  .stamp__l1, .stamp__l3 { font-size: .48rem; }
  .stamp__l2 { font-size: .78rem; }
  .plate { margin-top: -30px; }
  .plate .frame__in { grid-template-columns: 1fr; }
  .plate__cell { border-right: 0; }
  .plate__cell:nth-child(n+2) { border-top: 1px solid rgba(125, 156, 189, .18); }
  .grid--2 { grid-template-columns: 1fr; }
  .svc-cat__head { flex-wrap: wrap; gap: 12px; }
  .acc__body-in { padding-left: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stations { grid-template-columns: 1fr; }
  .cta-band .frame__in { padding: 44px 24px; }
  .chat-panel { right: 16px; bottom: 16px; }
  .chat-log { height: 300px; }
}
@media (max-width: 420px) {
  .brand { gap: 9px; }
  .brand img { height: 42px; }
  .brand__name { font-size: 1.1rem; letter-spacing: .06em; }
  /* Header wordmark reverts to the stacked two-line lockup here — the
     single-line BankGothic row has no room left beside the logo and
     menu toggle at this width and was overrunning the toggle button. */
  .site-header .brand__name {
    display: flex; flex-direction: column; align-items: flex-start;
    font-size: .82rem; line-height: 1.25; letter-spacing: .03em;
  }
  .site-header .brand__name span {
    display: block; margin-top: 0;
    font-size: .6rem; letter-spacing: .12em; color: var(--draft-ink);
  }
  .site-header .brand__name span::before { content: ""; }
  .chat-fab span { display: none; }
}

/* Reduced motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .draw { animation: none; stroke-dashoffset: 0; }
  .drawing text { animation: none; opacity: 1; }
  .btn, .cap, .cap .frame, .chat-fab, .frame { transition: none; }
  .btn:hover, .cap:hover .frame, .chat-fab:hover { transform: none; }
  .chat-form .chat-mic.rec { animation: none; }
}
