/* HuoVision — v10 industrial-classic: navy #12305A, accent #C8A24A, serif headings, tables over cards */

:root {
  --navy: #12305A;
  --navy-deep: #0E2547;
  --accent: #C8A24A;
  --page: #F7F8FA;
  --white: #FFFFFF;
  --ink: #1B2430;
  --muted: #56606E;
  --hairline: #D8DDE5;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--page);
}

a { color: inherit; text-decoration: none; }
svg { display: inline-block; vertical-align: middle; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Navigation: 72px navy bar, gold rule beneath ---------- */

.nav { background: var(--navy); border-bottom: 3px solid var(--accent); }

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--white); flex: none; }
.brand-name { font-family: var(--serif); font-size: 20px; letter-spacing: 0.02em; white-space: nowrap; }

.nav-left { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-left a {
  color: var(--white);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-left a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 7px;
}
.chev { width: 10px; height: 10px; opacity: 0.85; }

.nav-right { display: flex; align-items: center; gap: 22px; list-style: none; margin-left: auto; }
.nav-right a { color: #C9D2DE; font-size: 14px; white-space: nowrap; }
.nav-right a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

/* ---------- Hero: light grey band, centred, serif h1 ---------- */

.hero {
  background: var(--page);
  padding: 104px 0 96px;
  text-align: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy);
  max-width: 860px;
  margin: 0 auto 24px;
}

.hero .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 38px;
}

.btn-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-size: 16px;
  padding: 13px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: #EDF1F6; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section--white {
  background: var(--white);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-head { margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.rule { width: 44px; height: 3px; background: var(--accent); margin-top: 14px; }

/* ---------- Four business lines: white cards, 3px gold top bar ---------- */

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--accent);
  border-radius: 2px;
  padding: 26px 24px 24px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}
.card .kicker {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.card p { font-size: 16px; color: var(--muted); }

/* ---------- Why on-device: three columns, vertical hairlines ---------- */

.trio { display: grid; grid-template-columns: repeat(3, 1fr); }
.trio > div { padding: 0 32px; }
.trio > div:first-child { padding-left: 0; }
.trio > div:last-child { padding-right: 0; }
.trio > div + div { border-left: 1px solid var(--hairline); }

.trio h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 12px;
}
.trio .h3sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.trio p { font-size: 16px; color: var(--muted); }

/* ---------- Products: bordered table, navy header, zebra ---------- */

.table-wrap {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow-x: auto;
}

table { width: 100%; min-width: 820px; border-collapse: collapse; }

thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  padding: 15px 20px;
  white-space: nowrap;
}

tbody td {
  padding: 18px 20px;
  border-top: 1px solid var(--hairline);
  font-size: 16px;
  vertical-align: top;
}
tbody tr:nth-child(even) { background: var(--page); }

td.label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
td.name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
td.line { color: var(--muted); }

/* ---------- Customers: two columns, serif lead-in ---------- */

.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 48px; }

.case { border-top: 1px solid var(--hairline); padding-top: 20px; }
.case h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.case p { font-size: 16px; color: var(--muted); }
.case strong { color: var(--ink); font-weight: 600; }

/* ---------- Resources: bordered list rows with PDF glyph ---------- */

.wp-list {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 2px;
}

.wp { display: flex; gap: 20px; padding: 22px 24px; align-items: flex-start; }
.wp + .wp { border-top: 1px solid var(--hairline); }
.wp:hover { background: #FBFCFD; }

.wp .glyph { flex: none; margin-top: 4px; }
.wp h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.35; }
.wp h3 a { color: var(--navy); }
.wp h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}
.wp p { font-size: 16px; color: var(--muted); margin-top: 5px; }

/* ---------- Closing CTA: navy band, outlined white button ---------- */

.cta {
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
  padding: 88px 0;
  text-align: center;
}
.cta h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta p {
  font-size: 17px;
  color: #C9D2DE;
  max-width: 660px;
  margin: 0 auto 32px;
}
.btn-outline {
  display: inline-block;
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 16px;
  padding: 13px 34px;
  border-radius: 2px;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Footer: navy, four link columns, legal row ---------- */

.footer { background: var(--navy); color: var(--white); }

.foot-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding: 56px 0 40px;
}

.foot-brand { display: flex; align-items: center; gap: 10px; }

.foot-col ul { list-style: none; display: grid; gap: 10px; align-content: start; }
.foot-col a { color: #C9D2DE; font-size: 15px; }
.foot-col a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.legal ul { list-style: none; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.legal a, .legal li { color: #A9B4C4; font-size: 13px; }
.legal a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.lang { position: relative; }
.lang summary {
  list-style: none;
  cursor: pointer;
  color: #A9B4C4;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--white); }
.lang-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  min-width: 150px;
  padding: 6px 0;
}
.lang-panel a { display: block; padding: 8px 16px; font-size: 13px; color: #C9D2DE; }
.lang-panel a:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }

.copyright { color: #A9B4C4; font-size: 13px; padding: 10px 0 28px; }

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .nav-left .collapse-m { display: none; }
  .nav-left { gap: 20px; }
}

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-left { display: none; }
  .trio { grid-template-columns: 1fr; }
  .trio > div { padding: 26px 0; }
  .trio > div:first-child { padding-top: 0; }
  .trio > div + div { border-left: 0; border-top: 1px solid var(--hairline); }
}

@media (max-width: 800px) {
  .cases { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
}

@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-grid { padding-top: 44px; }
}

@media (max-width: 560px) {
  .nav-inner { gap: 14px; }
  .brand-name { font-size: 18px; }
  .nav-right { gap: 14px; }
  .nav-right a { font-size: 13px; }
  .wp { gap: 14px; padding: 18px; }
  .legal { align-items: flex-start; flex-direction: column; }
  .lang-panel { right: auto; left: 0; }
}
