/* GITC – Global Infrastructure and Technology Corporation
   Shared stylesheet */
:root {
  --navy: #0A1A33;
  --navy-2: #12284A;
  --navy-3: #071326;
  --gold: #C9A44C;
  --gold-2: #E2C47A;
  --gold-ink: #8A6D24;
  --steel: #3B4A63;
  --muted: #566176;
  --paper: #F4F6F9;
  --paper-2: #EAEEF4;
  --line: #DCE2EA;
  --white: #FFFFFF;
  --logi: #C9A44C;  --logi-ink: #8A6D24;
  --energy: #23A07A; --energy-ink: #167257;
  --infra: #E0782F;  --infra-ink: #A8521A;
  --comm: #8BA83A;   --comm-ink: #5C7420;
  --trade: #4A84D6;  --trade-ink: #2C5FAB;
  --display: 'Inter Display', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1240px;
  --radius: 14px;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 96px }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: #1C2638; background: var(--white); -webkit-font-smoothing: antialiased; font-optical-sizing: auto }
img, svg { display: block; max-width: 100% }
a { color: var(--navy) }
p { margin: 0; text-wrap: pretty }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); margin: 0; text-wrap: balance; letter-spacing: -0.02em }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 750; line-height: 1.02; letter-spacing: -0.035em }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 720; line-height: 1.08; letter-spacing: -0.03em }
h3 { font-size: 1.2rem; font-weight: 680; line-height: 1.3; letter-spacing: -0.01em }
h4 { font-size: 1rem; font-weight: 680; line-height: 1.35; letter-spacing: 0 }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 200 }
.skip:focus { left: 12px; top: 12px }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 24px; border-radius: 999px; font: 600 0.98rem/1.2 var(--body); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background 0.2s, border-color 0.2s, color 0.2s }
.btn svg { flex-shrink: 0 }
.btn-gold { background: var(--gold); color: var(--navy) }
.btn-gold:hover { background: var(--gold-2) }
.btn-navy { background: var(--navy); color: var(--white) }
.btn-navy:hover { background: var(--navy-2) }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); background: rgba(10,26,51,0.25) }
.btn-ghost:hover { border-color: var(--white) }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent }
.btn-line:hover { background: var(--navy); color: var(--white) }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid var(--gold); padding-bottom: 2px }
.link-arrow:hover { color: var(--gold-ink) }

/* Top bar */
.topbar { background: var(--navy-3); color: #9FADC2; font-size: 0.82rem }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px }
.topbar a { color: #D3DCE8; text-decoration: none }
.topbar a:hover { color: var(--gold) }
.topbar-group { display: flex; gap: 24px; align-items: center }
.topbar svg { display: inline-block; vertical-align: -2px; margin-right: 6px; color: var(--gold) }
@media (max-width: 900px) { .topbar { display: none } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: saturate(1.5) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(10,26,51,0.08) }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy) }
.brand img { width: 42px; height: 42px }
.brand-word { font-family: 'Poppins', var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.14em; line-height: 1; display: block }
.brand-full { display: block; font-size: 0.68rem; font-weight: 500; color: var(--muted); margin-top: 5px; line-height: 1.2; letter-spacing: 0.01em }
.nav { display: flex; align-items: center; gap: 4px }
.nav > a, .nav-drop > button { text-decoration: none; font: 500 0.96rem/1 var(--body); color: var(--steel); padding: 12px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px }
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current="page"], .nav-drop.active > button { color: var(--navy); background: var(--paper) }
.nav > a.btn { margin-left: 10px; padding: 12px 22px; min-height: 46px; color: var(--navy); background: var(--gold) }
.nav > a.btn:hover { background: var(--gold-2) }
.nav-drop { position: relative }
.nav-drop svg.chev { transition: transform 0.2s }
.nav-drop.open svg.chev { transform: rotate(180deg) }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 640px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(10,26,51,0.16); padding: 14px; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px }
.nav-drop.open .mega { display: grid }
.mega a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--navy) }
.mega a:hover { background: var(--paper) }
.mega .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white) }
.mega strong { font-size: 0.98rem; font-weight: 650 }
.mega span.d { font-size: 0.84rem; color: var(--muted); line-height: 1.35 }
.mega a.all { grid-column: 1 / -1; display: flex; justify-content: center; font-weight: 600; font-size: 0.92rem; background: var(--paper); padding: 12px }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; min-width: 46px; min-height: 46px; cursor: pointer; color: var(--navy); border-radius: 12px }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; box-shadow: 0 18px 30px rgba(10,26,51,0.12); max-height: calc(100vh - 76px); overflow-y: auto }
  .nav.open { display: flex }
  .nav > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: 15px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.02rem }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 4px 0 10px; grid-template-columns: minmax(0, 1fr) }
  .nav > a.btn { margin: 16px 0 0; justify-content: center; border-radius: 999px; border-bottom: 0 }
}
@media (max-width: 520px) { .brand-full { display: none } }

/* Hero (home) */
.hero { position: relative; background: #061024; color: #D3DCE8; overflow: hidden; min-height: calc(560px + 34vw); isolation: isolate }
.hero-scene { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1 }
.hero-scene svg { display: block; width: 100%; height: auto }
.hero-inner { padding-top: 64px; position: relative; pointer-events: none }
.hero-inner a, .hero-inner button { pointer-events: auto }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border: 1px solid rgba(255,255,255,0.18); background: rgba(10,26,51,0.55); border-radius: 999px; font-size: 0.88rem; color: #D3DCE8; margin-bottom: 26px }
.eyebrow-pill b { background: var(--gold); color: var(--navy); border-radius: 999px; padding: 3px 10px; font-size: 0.78rem; font-weight: 700 }
.hero h1 { color: var(--white); max-width: 16ch; font-size: clamp(2.4rem, 4.4vw, 3.7rem) }
.hero h1 .gold { color: var(--gold) }
.hero-lead { margin-top: 22px; font-size: 1.12rem; max-width: 34rem; color: #C9D3E1 }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px }
.scene-card { position: absolute; right: 28px; top: 120px; width: 330px; background: rgba(7,19,38,0.82); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 20px 22px; color: #C9D3E1; backdrop-filter: blur(8px); z-index: 2; transition: opacity 0.25s }
.scene-card .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--gold) }
.scene-card .tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); display: inline-block }
.scene-card h3 { color: var(--white); margin: 8px 0 6px; font-size: 1.3rem }
.scene-card p { font-size: 0.92rem; line-height: 1.5 }
.scene-card a { margin-top: 12px; color: var(--gold); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; font-size: 0.92rem }
.scene-card .hint { margin-top: 12px; font-size: 0.8rem; color: #8C9AB0 }
.hotspot { cursor: pointer; outline: none }
.hotspot .ring { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite }
.hotspot:hover .core, .hotspot:focus-visible .core, .hotspot.active .core { fill: var(--white) }
.hotspot:focus-visible .focus { stroke: var(--white) }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9 } 100% { transform: scale(2.4); opacity: 0 } }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 7s linear infinite }
.spin.s2 { animation-duration: 8.5s } .spin.s3 { animation-duration: 6s }
@keyframes spin { to { transform: rotate(360deg) } }
.drive { animation: drive 26s linear infinite }
.drive-back { animation: driveBack 19s linear infinite }
.fly { animation: fly 46s linear infinite }
@keyframes drive { from { transform: translateX(-420px) } to { transform: translateX(1700px) } }
@keyframes driveBack { from { transform: translateX(1640px) } to { transform: translateX(-360px) } }
@keyframes fly { from { transform: translateX(-260px) } to { transform: translateX(1720px) } }
.hook { animation: hook 6s ease-in-out infinite alternate }
@keyframes hook { from { transform: translateY(0) } to { transform: translateY(46px) } }
.dept-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: linear-gradient(180deg, rgba(7,19,38,0) 0%, rgba(7,19,38,0.92) 38%); padding-top: 60px }
.dept-strip ul { list-style: none; margin: 0 auto; padding: 0 28px 26px; max-width: var(--wrap); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px }
.dept-strip a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.14); background: rgba(10,26,51,0.65); text-decoration: none; color: var(--white); font-weight: 600; font-size: 0.95rem; line-height: 1.25; transition: border-color 0.2s, background 0.2s }
.dept-strip a:hover, .dept-strip a.active { border-color: var(--gold); background: rgba(18,40,74,0.9) }
.dept-strip i { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0 }
.dept-strip small { display: block; font-weight: 400; color: #9FADC2; font-size: 0.78rem; margin-top: 2px }
@media (max-width: 1080px) { .scene-card { display: none } .dept-strip ul { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 700px) { .hero { min-height: 0; display: flex; flex-direction: column } .hero-inner { padding-top: 48px; padding-bottom: 8px; order: 1 } .hero-scene { position: relative; order: 2; height: 300px; overflow: hidden } .hero-scene svg { position: absolute; bottom: -70px; left: 50%; width: 900px; max-width: none; transform: translateX(-50%) } .dept-strip { position: relative; order: 3; background: var(--navy-3); padding-top: 16px } .dept-strip ul { grid-template-columns: minmax(0, 1fr) 1fr; padding: 0 20px 20px } }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: #C9D3E1; position: relative; overflow: hidden }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px }
.page-hero.text-only .wrap { grid-template-columns: minmax(0, 1fr); padding-bottom: 64px }
.page-hero.text-only::after { content: ""; position: absolute; right: -80px; top: -60px; width: 460px; height: 460px; background: url("../img/logo-white.svg") no-repeat center / contain; opacity: 0.05; pointer-events: none }
.page-hero.text-only.article-hero::after { display: none }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.9rem) }
.page-hero .lead { margin-top: 20px; font-size: 1.12rem; max-width: 38rem; color: #C9D3E1 }
.page-hero .hero-actions { margin-top: 30px }
.page-hero .art { border-radius: 22px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.25) }
.art img { width: 100%; height: auto }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.86rem; color: #9FADC2; margin-bottom: 22px }
.crumbs a { color: #D3DCE8; text-decoration: none }
.crumbs a:hover { color: var(--gold) }
.dept-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--white); margin-bottom: 18px }
.dept-badge i { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 44px; padding-bottom: 52px } }

/* Sections */
.section { padding: 112px 0 }
.section-tight { padding: 80px 0 }
.bg-paper { background: var(--paper) }
.bg-navy { background: var(--navy); color: #C9D3E1 }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white) }
.head { max-width: 50rem; margin-bottom: 56px }
.head p { margin-top: 18px; color: var(--muted); font-size: 1.1rem }
.bg-navy .head p { color: #AEBBCD }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 56px }
.head-row .head { margin-bottom: 0 }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--gold-ink); margin-bottom: 16px }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold) }
.bg-navy .kicker { color: var(--gold) }
@media (max-width: 700px) { .section { padding: 72px 0 } .section-tight { padding: 56px 0 } .head, .head-row { margin-bottom: 36px } }

/* Department cards (home) */
.dept-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px }
.dept-card { grid-column: span 2; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s }
.dept-card:nth-child(4), .dept-card:nth-child(5) { grid-column: span 3 }
.dept-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(10,26,51,0.12); border-color: transparent }
.dept-card .pic { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy) }
.dept-card:nth-child(4) .pic, .dept-card:nth-child(5) .pic { aspect-ratio: 2 / 1 }
.dept-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s }
.dept-card:hover .pic img { transform: scale(1.04) }
.dept-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.dept-card .label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 650 }
.dept-card .label i { width: 10px; height: 10px; border-radius: 50%; display: inline-block }
.dept-card h3 { font-size: 1.45rem }
.dept-card p { color: var(--muted); font-size: 0.97rem }
.dept-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px }
.dept-card li { font-size: 0.8rem; padding: 4px 11px; border-radius: 999px; background: var(--paper); color: var(--steel) }
.dept-card .more { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 0.95rem; color: var(--navy); display: inline-flex; gap: 6px; align-items: center }
@media (max-width: 1000px) { .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } .dept-card, .dept-card:nth-child(4), .dept-card:nth-child(5) { grid-column: span 1 } .dept-card:nth-child(5) { grid-column: 1 / -1 } .dept-card .pic, .dept-card:nth-child(4) .pic { aspect-ratio: 3 / 2 } }
@media (max-width: 640px) { .dept-grid { grid-template-columns: minmax(0, 1fr) } .dept-card:nth-child(5) .pic { aspect-ratio: 3 / 2 } }

/* Capability band */
.cap-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14) }
.cap-band div { padding: 34px 26px; border-left: 1px solid rgba(255,255,255,0.14) }
.cap-band div:first-child { border-left: 0; padding-left: 0 }
.cap-band strong { display: block; font-family: var(--display); color: var(--white); font-size: 1.7rem; font-weight: 720; letter-spacing: -0.02em; line-height: 1.1 }
.cap-band span { display: block; margin-top: 8px; font-size: 0.94rem; color: #AEBBCD }
@media (max-width: 900px) { .cap-band { grid-template-columns: repeat(2, minmax(0, 1fr)) } .cap-band div { border-left: 0; padding: 24px 12px 24px 0; border-top: 1px solid rgba(255,255,255,0.14) } .cap-band div:nth-child(-n+2) { border-top: 0 } }

/* Fleet teaser */
.fleet-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px }
.fleet-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 6px }
.fleet-item svg { width: 100%; height: 70px; color: var(--navy); margin-bottom: 8px }
.fleet-item strong { font-family: var(--display); font-size: 1.05rem; color: var(--navy) }
.fleet-item span { font-size: 0.86rem; color: var(--muted); line-height: 1.4 }
@media (max-width: 1000px) { .fleet-row { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 560px) { .fleet-row { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center }
.split.rev > :first-child { order: 2 }
.split .art { border-radius: 22px; overflow: hidden }
.split p + p { margin-top: 14px }
.split h2 { margin-bottom: 18px }
.split .text p { color: var(--muted) }
.check { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px }
.check li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.98rem; color: #2A3548 }
.check li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6D24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat }
.bg-navy .check li { color: #D3DCE8 }
.bg-navy .check li::before { background-color: rgba(255,255,255,0.1) }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px } .split.rev > :first-child { order: 0 } }

/* Service grid (department pages) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px }
.svc-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 10px }
.svc-card .ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; color: var(--white); background: var(--navy) }
.svc-card p { color: var(--muted); font-size: 0.96rem }
.svc-card ul { margin: 6px 0 0; padding: 0 0 0 18px; color: var(--steel); font-size: 0.92rem; display: grid; gap: 4px }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: minmax(0, 1fr) } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step }
.steps li { counter-increment: step; position: relative; padding-top: 72px }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); color: var(--navy); font: 700 1.05rem/48px var(--display); text-align: center; background: var(--white) }
.bg-navy .steps li::before { background: var(--navy); color: var(--white) }
.steps li::after { content: ""; position: absolute; top: 26px; left: 64px; right: -16px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); opacity: 0.6 }
.steps li:last-child::after { display: none }
.steps p { margin-top: 8px; color: var(--muted); font-size: 0.96rem }
.bg-navy .steps p { color: #AEBBCD }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 26px } .steps li { padding: 0 0 0 72px; min-height: 52px } .steps li::after { display: none } }

/* Industries / tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.tile { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--white) }
.tile svg { color: var(--gold-ink); margin-bottom: 14px }
.tile p { margin-top: 6px; color: var(--muted); font-size: 0.94rem }
.bg-navy .tile { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12) }
.bg-navy .tile p { color: #AEBBCD }
.bg-navy .tile svg { color: var(--gold) }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) { .tiles { grid-template-columns: minmax(0, 1fr) } }

/* Load planner */
.planner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 24px 60px rgba(10,26,51,0.08) }
.planner-in { padding: 36px; background: var(--paper) }
.planner-in h3 { font-size: 1.4rem; margin-bottom: 6px }
.planner-in > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px }
.field { display: grid; gap: 7px; margin-bottom: 18px }
.field label, .field .lbl { font-weight: 600; font-size: 0.9rem; color: var(--navy) }
.field input[type="number"], .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { font: 400 1rem/1.4 var(--body); color: #1C2638; padding: 13px 15px; border: 1px solid #B9C3D1; border-radius: 12px; background: var(--white); width: 100%; min-height: 50px }
.field textarea { min-height: 130px; resize: vertical }
.range-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; align-items: center }
input[type="range"] { width: 100%; accent-color: var(--navy); min-height: 32px }
.toggle { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; color: var(--steel); cursor: pointer; min-height: 44px }
.toggle input { width: 20px; height: 20px; accent-color: var(--navy) }
.planner-out { padding: 36px; display: flex; flex-direction: column; gap: 18px }
.planner-out .rec-label { font-size: 0.86rem; font-weight: 600; color: var(--gold-ink) }
.planner-out .rec-name { font-family: var(--display); font-size: 2rem; font-weight: 720; letter-spacing: -0.02em; color: var(--navy); line-height: 1.1 }
.planner-out .rec-note { color: var(--muted); font-size: 0.95rem }
.rec-art { background: var(--navy); border-radius: 18px; padding: 22px 22px 14px }
.rec-art svg { width: 100%; height: auto }
.meters { display: grid; gap: 14px }
.meter-top { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--steel); margin-bottom: 6px }
.meter-top b { color: var(--navy) }
.meter { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden }
.meter span { display: block; height: 100%; background: var(--navy); border-radius: 999px; transition: width 0.4s }
.meter span.warn { background: var(--infra) }
.planner-out .small { font-size: 0.82rem; color: var(--muted) }
@media (max-width: 900px) { .planner { grid-template-columns: minmax(0, 1fr) } .planner-in, .planner-out { padding: 26px 22px } }

/* Vehicle table */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white) }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 760px }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top }
thead th { background: var(--navy); color: var(--white); font-weight: 600; font-size: 0.86rem }
tbody th { font-weight: 650; color: var(--navy); white-space: nowrap }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0 }
tbody tr:nth-child(even) { background: #FAFBFC }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums }
.note { margin-top: 12px; font-size: 0.85rem; color: var(--muted) }
@media (max-width: 700px) {
  .table-box { border: 0; overflow: visible; background: none }
  table { min-width: 0 } thead { display: none }
  table, tbody, tr, th, td { display: block }
  tbody tr, tbody tr:nth-child(even) { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; background: var(--white) }
  tbody th { padding: 0 0 8px; border: 0; white-space: normal }
  td, tbody tr:last-child td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 7px 0; border: 0; border-top: 1px solid var(--line); white-space: normal }
  td::before { content: attr(data-label); font-weight: 600; color: var(--navy); font-size: 0.86rem }
}

/* Anatomy diagram */
.anatomy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: center }
.anatomy-art { background: var(--navy); border-radius: 24px; padding: 18px }
.anatomy-art svg { width: 100%; height: auto }
.anatomy .part { cursor: pointer }
.anatomy .part .pin { transition: fill 0.2s }
.anatomy .part:hover .pin, .anatomy .part:focus-visible .pin, .anatomy .part.active .pin { fill: var(--white) }
.anatomy-info { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px }
.anatomy-info .n { font-size: 0.86rem; font-weight: 600; color: var(--gold-ink) }
.anatomy-info h3 { font-size: 1.5rem; margin: 6px 0 10px }
.anatomy-info p { color: var(--muted) }
.anatomy-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px }
.anatomy-list button { font: 500 0.88rem/1 var(--body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--steel); cursor: pointer; min-height: 40px }
.anatomy-list button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy) }
@media (max-width: 900px) { .anatomy { grid-template-columns: minmax(0, 1fr) } }

/* Chips / filters */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px }
.chip { font: 500 0.92rem/1 var(--body); padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--steel); cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 8px }
.chip:hover { border-color: var(--navy) }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy) }
.chip input { width: 18px; height: 18px; accent-color: var(--gold) }

/* Commodity cards */
.com-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
.com-card { border-radius: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px }
.com-card[hidden] { display: none }
.com-card .sw { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px }
.com-card p { color: var(--muted); font-size: 0.92rem }
.com-card .flow { margin-top: auto; padding-top: 8px; font-size: 0.8rem; font-weight: 600; color: var(--comm-ink) }
@media (max-width: 1000px) { .com-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .com-grid { grid-template-columns: minmax(0, 1fr) } }

/* RFQ builder */
.rfq { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; align-items: start }
.rfq-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.rfq-cat { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); cursor: pointer; transition: border-color 0.2s, background 0.2s }
.rfq-cat input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); grid-row: span 2 }
.rfq-cat strong { color: var(--navy); font-size: 0.98rem }
.rfq-cat span { font-size: 0.86rem; color: var(--muted); line-height: 1.45 }
.rfq-cat:has(input:checked) { border-color: var(--navy); background: #F7F9FC; box-shadow: inset 0 0 0 1px var(--navy) }
.rfq-out { position: sticky; top: 110px; background: var(--navy); color: #C9D3E1; border-radius: 22px; padding: 28px }
.rfq-out h3 { color: var(--white) }
.rfq-out ul { margin: 14px 0 20px; padding-left: 18px; font-size: 0.95rem; min-height: 1.6em }
.rfq-out .field label { color: var(--white) }
.rfq-out .empty { color: #8C9AB0; list-style: none; margin-left: -18px }
@media (max-width: 900px) { .rfq { grid-template-columns: minmax(0, 1fr) } .rfq-out { position: static } }
@media (max-width: 560px) { .rfq-cats { grid-template-columns: minmax(0, 1fr) } }

/* Insights */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s }
.post-card[hidden] { display: none }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(10,26,51,0.1) }
.post-card .pic { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden }
.post-card .pic img { width: 100%; height: 100%; object-fit: cover }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1 }
.post-card .meta { font-size: 0.82rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap }
.post-card .meta b { font-weight: 650 }
.post-card h3 { font-size: 1.2rem }
.post-card p { color: var(--muted); font-size: 0.94rem }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 640px) { .post-grid { grid-template-columns: minmax(0, 1fr) } }

/* Article */
.article-hero .wrap { max-width: 900px }
.article { max-width: 760px; margin: 0 auto; padding: 72px 28px 40px; font-size: 1.08rem; line-height: 1.75; color: #24304A }
.article h2 { font-size: 1.8rem; margin: 48px 0 14px }
.article h3 { font-size: 1.25rem; margin: 32px 0 10px }
.article p { margin: 0 0 18px }
.article ul, .article ol { margin: 0 0 20px; padding-left: 24px }
.article li { margin-bottom: 8px }
.article .art { border-radius: 20px; overflow: hidden; margin: 8px 0 34px }
.article blockquote { margin: 28px 0; padding: 20px 26px; border-left: 4px solid var(--gold); background: var(--paper); border-radius: 0 14px 14px 0; font-weight: 500; color: var(--navy) }
.article table { min-width: 0; font-size: 0.95rem; margin: 10px 0 26px; border: 1px solid var(--line) }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0 }
.tags span { font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--steel); font-weight: 500 }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; color: #9FADC2; margin-top: 18px }
@media (max-width: 700px) { .article { padding-top: 48px; font-size: 1.02rem } .article table { display: table } .article table thead { display: table-header-group } .article table tr { display: table-row; border: 0; padding: 0; margin: 0 } .article table th, .article table td { display: table-cell; padding: 10px } .article table td::before { content: none } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start }
.faq-list { border-top: 2px solid var(--navy) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--display); font-weight: 650; color: var(--navy); font-size: 1.08rem; line-height: 1.4 }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(45deg); transition: transform 0.2s }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 44rem }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 28px } }

/* Email desks / contact */
.desks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px }
.desk { border-radius: 20px; padding: 28px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px }
.bg-navy .desk { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14) }
.desk .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 6px }
.desk a.mail { font-weight: 650; font-size: 0.98rem; color: var(--navy); overflow-wrap: break-word; text-decoration-color: var(--gold); text-underline-offset: 4px }
.bg-navy .desk a.mail { color: var(--white) }
.desk p { color: var(--muted); font-size: 0.94rem }
.bg-navy .desk p { color: #AEBBCD }
@media (max-width: 900px) { .desks { grid-template-columns: minmax(0, 1fr) } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 24px 60px rgba(10,26,51,0.06) }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px }
.route { margin: 2px 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: 0.92rem; color: var(--steel) }
.route b { color: var(--navy) }
.form-status { margin-top: 14px; font-size: 0.92rem; color: var(--steel); min-height: 1.4em }
.info-card { background: var(--navy); color: #C9D3E1; border-radius: 22px; padding: 32px }
.info-card h3 { color: var(--white); margin-bottom: 8px }
.info-card dl { margin: 18px 0 0 }
.info-card dt { font-size: 0.82rem; color: var(--gold); font-weight: 600; margin-top: 16px }
.info-card dd { margin: 4px 0 0; color: #D3DCE8 }
.info-card a { color: var(--white) }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr) } .form { padding: 24px 20px } }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--navy); border-radius: 28px; padding: 64px; color: #C9D3E1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(201,164,76,0.12) }
.cta h2 { color: var(--white) }
.cta p { margin-top: 14px; color: #AEBBCD; font-size: 1.08rem }
.cta-mails { position: relative; z-index: 1; display: grid; gap: 10px }
.cta-mails a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; overflow-wrap: break-word; min-width: 0 }
.cta-mails a:hover { border-color: var(--gold) }
.cta-mails small { display: block; color: #9FADC2; font-weight: 400; font-size: 0.8rem }
@media (max-width: 900px) { .cta { grid-template-columns: minmax(0, 1fr); padding: 40px 26px } }

/* About */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px }
.values div { border-top: 2px solid var(--gold); padding-top: 18px }
.values p { margin-top: 8px; color: var(--muted); font-size: 0.95rem }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .values { grid-template-columns: minmax(0, 1fr) } }
.facts { margin: 0; border-top: 2px solid var(--navy) }
.facts div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line) }
.facts dt { font-weight: 600; color: var(--navy); font-size: 0.95rem }
.facts dd { margin: 0; color: var(--steel); font-size: 0.95rem }
@media (max-width: 600px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px } }

/* Footer */
.site-footer { background: var(--navy-3); color: #9FADC2; font-size: 0.93rem; padding: 80px 0 30px }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 40px }
.foot-brand p { margin-top: 18px; max-width: 26rem }
.site-footer .brand { color: var(--white) }
.site-footer .brand-full { color: #9FADC2 }
.site-footer h3 { color: var(--white); font-size: 0.98rem; margin-bottom: 16px; letter-spacing: 0 }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.site-footer li { overflow-wrap: break-word }
.site-footer a { color: #C9D3E1; text-decoration: none }
.site-footer a:hover { color: var(--gold) }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; font-size: 0.85rem }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } .foot-brand { grid-column: 1 / -1 } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr) } }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: var(--white); border: 2px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.25s; box-shadow: 0 10px 24px rgba(0,0,0,0.2) }
.to-top.show { opacity: 1; pointer-events: auto }

/* Long email addresses wrap instead of widening the page */
.head p, .faq p, .cta p, .article p, .note { overflow-wrap: anywhere }
.cta > * { min-width: 0 }
