/* ============================================================================
   Token of Trust — industries (solutions) page-local styles
   ----------------------------------------------------------------------------
   Tokens, reset, layout, typography, header/nav, footer, buttons, .kicker,
   .reassurance and the reveal animation live in the shared theme
   (tot-navy.css, v1.1). This file holds ONLY industries-page compositions: the
   centred hero, the industry card grid, the CTA band and the nav active pill.
   Consumes the shared token layer (no :root re-declare); primary CTAs route
   through --color-cta. Do not minify — one rule per line, keep the headers.
   ========================================================================== */

/* Hero (centred) --------------------------------------------------- */
.hero { text-align: center; padding: 72px 0 0; }
.hero h1 { margin: 16px auto; max-width: 20ch; }
.hero .lede { max-width: 58ch; margin: 0 auto; }
.hero .cta-row { justify-content: center; margin-top: 28px; }

/* CTA variants over the shared .btn base -------------------------- */
.btn-ent { background: var(--color-cta); color: #fff; box-shadow: 0 7px 20px rgba(21, 122, 74, .28); }
.btn-ent:hover { background: var(--color-cta-hover); }

/* Industry card grid ---------------------------------------------- */
.ind-section { padding-top: var(--s5); }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.ind-card {
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); border-top: 3px solid var(--teal);
  transition: transform .2s, box-shadow .2s;
}
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ind-card h3 { font-size: 1.12rem; letter-spacing: -.01em; color: var(--navy); margin-bottom: 10px; }
.ind-card p { font-size: .92rem; color: var(--muted); }

/* CTA band (over shared alt-bg + .ent-band) ----------------------- */
.alt-bg { background: #fff; border-block: 1px solid var(--line); }
.ent-band { padding: 64px 40px; text-align: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-radius: 26px; color: #fff; }
.ent-band .kicker { color: #7fe3b8; }
.ent-band h2 { color: #fff; }
.ent-band p { max-width: 52ch; margin: 0 auto; color: #b8c8de; }
.cta-center { justify-content: center; margin-top: 24px; }
.ent-band .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.ent-band .btn-line:hover { border-color: #fff; }

/* Nav active pill + footer note ----------------------------------- */
nav.primary a.active { color: var(--teal-ink); background: #eaf5f2; padding: 6px 16px; border-radius: 999px; font-weight: 700; }
.foot-note { font-size: .88rem; margin-top: 12px; max-width: 34ch; color: var(--muted); }

/* Responsive ------------------------------------------------------ */
@media (max-width: 920px) {
  .ind-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ind-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

/* Dark theme — literal light surfaces + decorative tints */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    .ind-card, .alt-bg { background: var(--card); }
    nav.primary a.active { background: rgba(43, 179, 166, .16); color: var(--teal-ink); }
    .ind-card h3 { color: var(--ink); }
  }
}
:root[data-theme="dark"] .ind-card,
:root[data-theme="dark"] .alt-bg { background: var(--card); }
:root[data-theme="dark"] nav.primary a.active { background: rgba(43, 179, 166, .16); color: var(--teal-ink); }
:root[data-theme="dark"] .ind-card h3 { color: var(--ink); }
