/* New Trend Safety Co — site styles
   Layout: white sticky header, charcoal hero bands, cool paper sections, red used sparingly as the brand signal. */
:root {
  --ink: #15171b;
  --ink-2: #22252b;
  --ink-3: #2e323a;
  --paper: #f4f5f7;
  --white: #ffffff;
  --line: #dfe2e7;
  --line-dark: #3a3f48;
  --muted: #5a626e;
  --muted-dark: #a9b0bb;
  --red: #cf1f2c;
  --red-dark: #a8141f;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 108;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Eyebrow with the slanted mark taken from the logo's shield */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 8px;
  background: var(--red);
  transform: skewX(-24deg);
}
.on-dark .eyebrow { color: #ff5a64; }
.on-dark .eyebrow::before { background: var(--red); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.on-dark .lead { color: var(--muted-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost { border-color: var(--line-dark); color: var(--white); }
.on-dark .btn-ghost:hover { border-color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* Header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--white);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--ink);
  color: var(--muted-dark);
  font-size: 0.85rem;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 220px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--ink-3);
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav .btn { margin-left: 10px; min-height: 42px; padding: 0 18px; }
.nav .btn:hover { background: var(--red-dark); color: var(--white); }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    box-shadow: 0 16px 30px rgba(21, 23, 27, .08);
  }
  .nav:not(.open) { display: none; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; }
  .brand img { width: 180px; }
}
@media (max-width: 560px) { .topbar-hours { display: none; } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 760px; }
.section-head.split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
}
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* Hero */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 em { font-style: normal; color: #ff4b55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-call { font-size: 0.95rem; color: var(--muted-dark); }
.hero-call strong { color: var(--white); font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.02em; }
.hero .media { aspect-ratio: 5 / 4; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero .media { aspect-ratio: 16 / 10; }
}

/* Page header (inner pages) */
.page-hero { background: var(--ink); color: var(--white); }
.page-hero .wrap { padding-block: clamp(48px, 7vw, 88px); display: grid; gap: 18px; }
.page-hero.with-media .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.page-hero.with-media .media { aspect-ratio: 16 / 11; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero-copy { display: grid; gap: 18px; justify-items: start; }
.crumbs { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted-dark); letter-spacing: 0.06em; }
.crumbs a { color: var(--muted-dark); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
@media (max-width: 900px) { .page-hero.with-media .wrap { grid-template-columns: 1fr; } }

/* Image placeholder. Real <img> sits on top; if the file is missing it removes itself and the pattern shows. */
.media {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(207, 31, 44, .18), rgba(207, 31, 44, 0) 45%),
    repeating-linear-gradient(-24deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #2b2f36, #191b20);
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media .ph-label {
  position: absolute;
  left: 16px; bottom: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  display: flex; gap: 8px; align-items: center;
}
.media .ph-label::before { content: ""; width: 8px; height: 8px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 50%; flex: none; }
.media.light {
  background:
    repeating-linear-gradient(-24deg, rgba(21,23,27,.04) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #e9ebef, #dcdfe5);
}
.media.light .ph-label { color: var(--muted); }
.media.light .ph-label::before { border-color: var(--muted); }

/* Credentials strip */
.creds { background: var(--ink-2); color: var(--muted-dark); border-top: 1px solid var(--line-dark); }
.creds .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; padding-block: 22px; }
.creds-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.creds ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.creds li { color: var(--white); font-family: var(--font-display); font-weight: 700; font-variation-settings: "wdth" 100; letter-spacing: .02em; }
.creds li span { color: var(--muted-dark); font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; margin-left: 6px; }

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 26px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  background: var(--white);
  transition: background-color .2s;
  min-width: 0;
}
.service:hover { background: var(--paper); }
.service .icon { width: 40px; height: 40px; color: var(--red); }
.service p { color: var(--muted); font-size: 0.95rem; }
.service .more { font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-top: 4px; }
.service:hover .more { color: var(--red); }
@media (max-width: 1020px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* Process steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { padding: 28px 28px 0 0; border-top: 2px solid var(--line-dark); position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step::before {
  counter-increment: step;
  content: "Step " counter(step);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff5a64;
}
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--red); }
.step p { color: var(--muted-dark); font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split feature */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split .media { aspect-ratio: 4 / 3; }
.split-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; }
.checks li::before {
  content: "";
  width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks strong { display: block; }
.checks span { color: var(--muted); }
.on-dark .checks span { color: var(--muted-dark); }

/* Detail blocks for service pages */
.detail-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 24px 64px;
  padding-block: 48px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.detail-head { display: grid; gap: 14px; align-content: start; }
.detail-head .icon { width: 44px; height: 44px; color: var(--red); }
.detail-body { display: grid; gap: 20px; min-width: 0; }
.detail-body > p { color: var(--muted); max-width: 64ch; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } }

.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; background: var(--white); }

/* Benefit cards (retainer) */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.benefit { background: var(--paper); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.benefit p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 620px) { .benefits { grid-template-columns: 1fr; } }

/* Retainer band */
.band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.band-copy { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }

/* Courses */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.course {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  min-width: 0;
}
.course p { color: var(--muted); font-size: 0.95rem; }
.course-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.course-meta .dur { color: var(--ink); font-weight: 500; }
.course-meta .dur.tbc { color: var(--muted); font-weight: 400; }
@media (max-width: 1020px) { .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .course-grid { grid-template-columns: 1fr; } }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.9rem; padding: 7px 14px; border-radius: 999px; background: var(--ink-2); color: var(--white); border: 1px solid var(--line-dark); }

/* PPE */
.ppe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ppe-item { display: grid; gap: 14px; align-content: start; min-width: 0; }
.ppe-item .media { aspect-ratio: 4 / 3; }
.ppe-item p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .ppe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .ppe-grid { grid-template-columns: 1fr; } }
.brands { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.brands li { flex: 1 1 180px; text-align: center; padding: 22px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; background: var(--white); }

/* Owner's note */
.promise { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.promise blockquote { margin: 0; font-family: var(--font-display); font-variation-settings: "wdth" 100; font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; letter-spacing: -0.005em; }
.promise cite { display: block; margin-top: 22px; font-style: normal; font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.on-dark .promise cite { color: var(--muted-dark); }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; gap: 24px; } }

/* Vision / mission */
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vm-card { background: var(--white); border-radius: var(--radius); padding: 32px; display: grid; gap: 12px; align-content: start; border-top: 3px solid var(--red); }
.vm-card p { color: var(--muted); }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }

.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sector { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.sector .icon { width: 32px; height: 32px; color: var(--red); }
.sector p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .sectors { grid-template-columns: 1fr; } }

.figure-caption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* CTA band */
.cta { background: var(--red); color: var(--white); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { color: rgba(255,255,255,.85); margin-top: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-white { background: var(--white); color: var(--ink); }
.cta .btn-white:hover { background: var(--ink); color: var(--white); }
.cta .btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.cta .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-card .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--red); display: grid; place-items: center; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card a, .contact-card .value { font-weight: 600; font-size: 1.08rem; text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.contact-card a:hover { color: var(--red); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #c9cdd4;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(207, 31, 44, .15); }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-status { font-size: 0.95rem; padding: 12px 14px; border-radius: var(--radius); background: var(--paper); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 40px; }
.footer-grid h4 { color: var(--white); font-size: 0.8rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--muted-dark); }
.footer-grid a:hover { color: var(--white); }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { width: 230px; }
.footer-brand p { max-width: 38ch; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; font-size: 0.85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Small helpers */
.stack-lg { display: grid; gap: 56px; }
.note { font-size: 0.92rem; color: var(--muted); }
.center-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Touch-ups */
.course-more { background: var(--ink); color: var(--white); border-color: var(--ink); grid-column: span 2; }
.course-more p { color: var(--muted-dark); max-width: 48ch; }
.course-more .course-meta { border-color: var(--line-dark); }
.course-more a { color: var(--white); font-weight: 600; text-decoration: none; }
.course-more a:hover { color: #ff5a64; }
@media (max-width: 600px) { .course-more { grid-column: auto; } }
.hero .media img, .page-hero .media img { filter: saturate(.92) contrast(1.03); }
.hero .media::after, .page-hero .media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: inherit; pointer-events: none; }
.ppe-item .media img { transition: transform .5s ease; }
.ppe-item:hover .media img { transform: scale(1.03); }
.creds li { font-size: 1.02rem; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: #1fa855;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(21, 23, 27, .22), 0 2px 6px rgba(21, 23, 27, .12);
  transition: background-color .2s, box-shadow .2s;
}
.wa-float:hover { background: #178a45; box-shadow: 0 12px 32px rgba(21, 23, 27, .28), 0 2px 6px rgba(21, 23, 27, .14); }
.wa-float:focus-visible { outline: 3px solid #15171b; outline-offset: 3px; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 600px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* keep the button from covering the last line of the footer */
.footer-bottom .wrap { padding-bottom: 88px; }
@media (min-width: 601px) { .footer-bottom .wrap { padding-right: max(230px, env(safe-area-inset-right, 0px)); padding-bottom: 22px; } }
.nav .btn-red, .nav .btn-red:hover { color: var(--white); }

/* Mobile menu: hamburger turns into a close icon, quote button never wraps */
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { transition: transform .25s ease, background-color .2s, top .25s ease; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nav .btn { white-space: nowrap; }
@media (max-width: 1020px) {
  .nav { max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav .btn { justify-content: center; }
}
