/* MVS Distribution — site styles.
   Layout stays on the elements as inline styles (as authored by the design team);
   this sheet carries brand tokens, responsive rules, and interactive states,
   which inline styles cannot express. */

:root {
  --navy: #003C52;
  --red: #E2003C;
  --ink: #3E3A36;
  --stone: #ECEBEA;
  --line: #cfccc9;
  --error: #c40034;
  --maxw: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Verdana, Geneva, "DejaVu Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

* { box-sizing: border-box; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

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

img { max-width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  font-size: 14px;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- Navigation ---------- */

.nav-desktop { display: none; }
.nav-toggle { display: flex; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

.nav-link { color: #fff; border-bottom: 2px solid transparent; }
.nav-link:hover,
.nav-link[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }

.nav-mobile { display: none; }
.nav-mobile.is-open { display: flex; }
.nav-mobile a { color: #fff; }
.nav-mobile a:hover { color: #fff; }

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  font-family: inherit;
  font-weight: bold;
  letter-spacing: 0.04em;
  background: var(--red);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-primary:disabled { opacity: .6; cursor: progress; }

/* In the dark header the primary button inverts instead. */
header .btn-primary:hover { background: #fff; color: var(--navy); }

.btn-secondary {
  font-family: inherit;
  font-weight: bold;
  background: var(--navy);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background .2s ease;
}
.btn-secondary:hover { background: var(--red); color: #fff; }

/* ---------- Section grids ---------- */

.grid-offer { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-offer { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .grid-offer { grid-template-columns: repeat(4, 1fr); } }

.grid-pillars { grid-template-columns: 1fr; }
@media (min-width: 880px) { .grid-pillars { grid-template-columns: repeat(3, 1fr); } }

.offer-card { transition: background .25s ease; }

.logo-tile { transition: border-color .2s ease; }
.logo-tile:hover { border-color: var(--navy); }

.link-arrow { border-bottom: 2px solid var(--red); }
.link-arrow:hover { color: var(--red); }

.footer-link { color: rgba(255, 255, 255, 0.82); }
.footer-link:hover { color: #fff; }

.email-link:hover { color: var(--red); }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Contact form ---------- */

.field {
  font-family: inherit;
  font-size: 15px;
  padding: 15px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-height: 52px;
  width: 100%;
}
.field:focus { border-color: var(--navy); }
.field[aria-invalid="true"] { border-color: var(--error); }

textarea.field { resize: vertical; min-height: auto; }

.field-error { font-size: 12.5px; color: var(--error); }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  border-left: 4px solid var(--red);
  background: #fdf0f3;
  padding: 14px 16px;
  margin: 0 0 24px;
}

[hidden] { display: none !important; }

/* ---------- Policy pages ---------- */

.policy {
  max-width:1360px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(56px, 8vw, 112px);
}
.policy h1 {
  font-weight: bold;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 20px;
}
.policy h2 {
  font-weight: bold;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.25;
  color: var(--navy);
  margin: clamp(38px, 4.5vw, 56px) 0 14px;
  padding-top: 20px;
  border-top: 3px solid var(--stone);
}
.policy h3 {
  font-weight: bold;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--navy);
  margin: 28px 0 10px;
}
.policy p,
.policy li { font-size: 15px; line-height: 1.85; }
.policy ul { padding-left: 22px; }
.policy li { margin-bottom: 10px; }
.policy a { border-bottom: 1px solid var(--red); }

.policy-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  border-left: 4px solid var(--red);
  padding-left: 18px;
}

.policy-meta { font-size: 13px; color: #6b6763; }

.policy-address {
  background: var(--stone);
  border-left: 4px solid var(--navy);
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.9;
  font-style: normal;
}

.table-wrap { overflow-x: auto; margin: 18px 0 8px; }

.policy table {
  border-collapse: collapse;
  width: 100%;
  min-width: 420px;
  font-size: 13.5px;
}
.policy th,
.policy td {
  border: 1px solid var(--stone);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.policy th { background: var(--navy); color: #fff; font-weight: bold; }
.policy tbody tr:nth-child(even) { background: #fafafa; }

.toc { background: var(--stone); padding: 24px 28px; margin: 32px 0 0; }
.toc p { font-weight: bold; font-size: 13px; letter-spacing: 0.04em; color: var(--navy); margin: 0 0 14px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 8px; font-size: 14px; }
