/* ==========================================================================
   Terry Retail Ventures — corporate stylesheet
   Palette sampled directly from the TRV logo artwork:
     navy #00264a   teal #0d5f6d   gold #ab8026
   Single stylesheet, no build step, no framework.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* brand */
  --navy-900: #001b34;
  --navy-800: #00264a;
  --navy-700: #063a63;
  --navy-600: #0d4c7a;
  --teal-700: #0a4c58;
  --teal-600: #0d5f6d;
  --teal-500: #11798b;
  --teal-050: #edf5f6;
  --gold-600: #8e6a1f;
  --gold-500: #ab8026;
  --gold-400: #c79b3a;
  --gold-050: #f8f2e4;

  /* neutrals */
  --ink: #0f1922;
  --slate-700: #3c4a56;
  --slate-600: #55636f;
  --slate-400: #8d99a4;
  --slate-200: #e2e8ed;
  --slate-100: #eef2f5;
  --surface: #ffffff;
  --surface-alt: #f6f8fa;

  /* type */
  --font-display: 'Archivo', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  /* shape + motion */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-xs: 0 1px 2px rgba(0, 27, 52, 0.06);
  --shadow-sm: 0 4px 16px rgba(0, 27, 52, 0.07);
  --shadow-md: 0 14px 38px rgba(0, 27, 52, 0.13);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 160ms var(--ease);
  --t: 260ms var(--ease);

  --container: 1200px;
  --gutter: 24px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0 0 0.55em;
  font-weight: 700;
}

h1 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
h3 { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); font-weight: 600; letter-spacing: -0.005em; }
h4 { font-size: 0.95rem; font-weight: 600; }

p { margin: 0 0 1.1em; color: var(--slate-700); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--teal-500); }

strong { color: var(--navy-800); font-weight: 600; }

/* long email addresses must never force a page to scroll sideways */
a[href^="mailto:"] { overflow-wrap: anywhere; }

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

hr {
  border: 0;
  border-top: 1px solid var(--slate-200);
  margin: 2.5rem 0;
}

::selection { background: var(--teal-050); color: var(--navy-800); }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold-400);
  color: var(--navy-900);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--navy-900); }

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 860px; }

.section { padding: clamp(56px, 3.5rem + 3vw, 104px) 0; }
.section--tight { padding: clamp(44px, 3rem + 2vw, 76px) 0; }
.section--flush { padding-top: 0; }
.section--alt { background: var(--surface-alt); }
.section--line { border-top: 1px solid var(--slate-200); }

.on-dark {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.82);
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: rgba(255, 255, 255, 0.78); }
.on-dark strong { color: #fff; }
.on-dark a { color: var(--gold-400); }
.on-dark a:hover { color: #fff; }

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.on-dark .eyebrow,
.hero .eyebrow,
.page-header .eyebrow,
.cta-band .eyebrow { color: var(--gold-400); }

.lead {
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
  color: var(--slate-600);
  max-width: 62ch;
}
.on-dark .lead { color: rgba(255, 255, 255, 0.8); }

.section-head { max-width: 68ch; margin-bottom: clamp(34px, 2rem + 1.5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head > h2 { margin-bottom: 0.45em; }

.grid { display: grid; gap: clamp(18px, 1rem + 1vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 2rem + 3vw, 72px);
  align-items: center;
}
.split--top { align-items: start; }

.stack > * + * { margin-top: 18px; }
.text-center { text-align: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast),
              box-shadow var(--t-fast);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-xs);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--teal-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: transparent;
  border-color: var(--slate-200);
  color: var(--navy-800);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background: var(--surface-alt);
  transform: translateY(-2px);
}

.on-dark .btn--primary,
.hero .btn--primary,
.page-header .btn--primary,
.cta-band .btn--primary {
  background: var(--gold-400);
  color: var(--navy-900);
  box-shadow: none;
}
.on-dark .btn--primary:hover, .on-dark .btn--primary:focus-visible,
.hero .btn--primary:hover, .hero .btn--primary:focus-visible,
.page-header .btn--primary:hover, .page-header .btn--primary:focus-visible,
.cta-band .btn--primary:hover, .cta-band .btn--primary:focus-visible {
  background: #ddb055;
  color: var(--navy-900);
}

.on-dark .btn--ghost,
.hero .btn--ghost,
.page-header .btn--ghost,
.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}
.on-dark .btn--ghost:hover, .on-dark .btn--ghost:focus-visible,
.hero .btn--ghost:hover, .hero .btn--ghost:focus-visible,
.page-header .btn--ghost:hover, .page-header .btn--ghost:focus-visible,
.cta-band .btn--ghost:hover, .cta-band .btn--ghost:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- 5. Header + navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.is-stuck {
  box-shadow: 0 6px 26px rgba(0, 12, 24, 0.28);
  border-bottom-color: rgba(171, 128, 38, 0.35);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-block: 12px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 232px; max-width: 58vw; }
.brand:focus-visible { outline-offset: 6px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav-toggle:hover { border-color: rgba(255, 255, 255, 0.6); }
.nav-toggle span {
  display: block;
  position: relative;
  width: 20px;
  height: 1.8px;
  background: #fff;
  transition: transform var(--t), background var(--t);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.8px;
  background: #fff;
  transition: transform var(--t), top var(--t);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.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 {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav a:hover { color: #fff; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }

.nav .nav-cta {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--gold-400);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  background: #ddb055;
  color: var(--navy-900);
  transform: translateY(-1px);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(13, 95, 109, 0.42), transparent 62%),
    linear-gradient(158deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: clamp(64px, 4rem + 5vw, 132px) 0 clamp(60px, 3.5rem + 4vw, 116px);
}
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -32%;
  width: min(560px, 60%);
  aspect-ratio: 2.75 / 1;
  background: url("../images/trv-mark-reversed.png") center/contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lead { color: rgba(255, 255, 255, 0.82); margin-top: 4px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
  padding-left: 0;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.74);
}
.hero-facts svg { width: 16px; height: 16px; color: var(--gold-400); flex: none; }

/* ---------- 7. Page header (inner pages) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 380px at 8% 0%, rgba(13, 95, 109, 0.34), transparent 60%),
    linear-gradient(152deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: clamp(48px, 3rem + 3vw, 92px) 0 clamp(44px, 3rem + 2.5vw, 76px);
}
.page-header h1 { color: #fff; margin-bottom: 0.35em; }
.page-header .lead { color: rgba(255, 255, 255, 0.8); }

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { padding: 0 6px; opacity: 0.5; }

/* ---------- 8. Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: clamp(24px, 1.4rem + 1vw, 32px);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card > :last-child { margin-bottom: 0; }
.card--hover:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 95, 109, 0.35);
  box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; background: var(--surface-alt); border-color: transparent; }
.card--outline { background: transparent; box-shadow: none; }
.card h3 { margin-bottom: 0.5em; }
.card p { font-size: 0.95rem; }

.on-dark .card {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.on-dark .card--hover:hover {
  border-color: rgba(199, 155, 58, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: var(--teal-050);
  color: var(--teal-600);
  border: 1px solid rgba(13, 95, 109, 0.14);
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge--gold { background: var(--gold-050); color: var(--gold-600); border-color: rgba(171, 128, 38, 0.2); }
.on-dark .icon-badge {
  background: rgba(199, 155, 58, 0.13);
  border-color: rgba(199, 155, 58, 0.3);
  color: var(--gold-400);
}

/* numbered card */
.card--step { padding-top: 30px; }
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.on-dark .step-index { background: var(--gold-400); color: var(--navy-900); }

/* ---------- 9. Lists ---------- */
.list-check, .list-plain, .list-cross {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.list-check li, .list-cross li, .list-plain li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--slate-700);
  font-size: 0.96rem;
}
.on-dark .list-check li,
.on-dark .list-cross li,
.on-dark .list-plain li { color: rgba(255, 255, 255, 0.78); }
.list-check svg, .list-cross svg { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.list-check svg { color: var(--teal-600); }
.on-dark .list-check svg { color: var(--gold-400); }
.list-cross svg { color: var(--slate-400); }
.list-check li strong, .list-cross li strong { display: block; }

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.spec-list li {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--slate-200);
  font-size: 0.95rem;
  color: var(--slate-700);
}
.spec-list li:last-child { border-bottom: 1px solid var(--slate-200); }
.spec-list dt, .spec-list .spec-key {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.92rem;
}

/* ---------- 10. Contact + info blocks ---------- */
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.info-list .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--teal-050);
  color: var(--teal-600);
  border: 1px solid rgba(13, 95, 109, 0.14);
}
.info-list .info-icon svg { width: 20px; height: 20px; }
.info-list .info-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate-600);
  margin-bottom: 2px;
}
.info-list .info-value { color: var(--navy-800); font-weight: 500; overflow-wrap: anywhere; }
.info-list .info-note { display: block; font-size: 0.86rem; color: var(--slate-600); font-weight: 400; margin-top: 2px; }

/* ---------- 11. Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 1.4rem + 1.6vw, 40px);
  box-shadow: var(--shadow-md);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field--full { grid-column: 1 / -1; }

label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.req { color: var(--teal-600); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
input::placeholder, textarea::placeholder { color: var(--slate-400); }
input:hover, select:hover, textarea:hover { border-color: #c8d2da; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(17, 121, 139, 0.16);
}
textarea { min-height: 132px; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355636f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 10px; }
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--slate-700);
  margin: 0;
  cursor: pointer;
}
.checkbox input { width: 17px; height: 17px; accent-color: var(--teal-600); margin: 0; flex: none; }

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.82rem;
  color: #b3261e;
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #b3261e; }
.field.has-error .field-error { display: block; }

.form-note { margin-top: 10px; font-size: 0.84rem; color: var(--slate-600); }
.form-note a { font-weight: 500; }

.form-status {
  display: none;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--teal-050);
  border: 1px solid rgba(13, 95, 109, 0.3);
  color: var(--navy-800);
  font-size: 0.92rem;
}
.form-status.is-visible { display: block; }

/* honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- 12. Callout / CTA band ---------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(30px, 2rem + 2vw, 52px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(13, 95, 109, 0.5), transparent 65%),
    linear-gradient(120deg, var(--navy-800), var(--navy-900));
  color: #fff;
}
.cta-band > div:first-child { flex: 1 1 400px; min-width: 0; }
.cta-band h2 { color: #fff; margin-bottom: 0.35em; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 52ch; margin: 0; }
.cta-band .btn-row { margin-top: 0; flex: 0 0 auto; }

.notice {
  border-left: 3px solid var(--gold-500);
  background: var(--surface-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  font-size: 0.94rem;
  color: var(--slate-700);
}
.notice > :last-child { margin-bottom: 0; }

/* ---------- 13. Legal pages ---------- */
.legal { max-width: 78ch; }
.legal p, .legal li { overflow-wrap: break-word; }
.legal h2 {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: 1px solid var(--slate-200);
}
.legal > h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal ul { padding-left: 1.2em; color: var(--slate-700); }
.legal li { margin-bottom: 0.5em; }
.legal-meta {
  font-size: 0.86rem;
  color: var(--slate-600);
  padding-bottom: 1.8em;
  margin-bottom: 2em;
  border-bottom: 1px solid var(--slate-200);
}

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.68);
  padding: clamp(48px, 3rem + 2vw, 76px) 0 30px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.25fr);
  gap: clamp(28px, 2rem + 1vw, 48px);
  padding-bottom: 40px;
}
.footer-brand img { width: 224px; margin-bottom: 20px; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; max-width: 38ch; }
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col li { overflow-wrap: anywhere; min-width: 0; }
.footer-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 1px;
}
.footer-col .footer-contact a { font-size: 0.9rem; }
.footer-col a, .footer-col span { color: rgba(255, 255, 255, 0.66); }
.footer-col a:hover { color: var(--gold-400); }

.footer-legal {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal p { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; max-width: 88ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 15. Error page ---------- */
.error-block { min-height: 52vh; display: flex; align-items: center; }

/* ---------- 16. Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .brand img { width: 208px; }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split .split-media { order: 2; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(199, 155, 58, 0.3);
    box-shadow: 0 18px 40px rgba(0, 12, 24, 0.4);
    padding: 8px var(--gutter) 22px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height var(--t), visibility 0s linear 260ms;
  }
  .nav.is-open {
    max-height: 460px;
    visibility: visible;
    transition: max-height var(--t), visibility 0s;
  }
  .nav li { width: 100%; }
  .nav a {
    display: block;
    width: 100%;
    padding: 15px 2px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold-400); }
  .nav li:last-child a { border-bottom: 0; }
  .nav .nav-cta {
    margin-top: 16px;
    text-align: center;
    padding: 14px 22px;
    font-size: 0.95rem;
  }
}

@media (max-width: 780px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .nav-bar { min-height: 68px; }
  .form-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .spec-list li { grid-template-columns: 1fr; gap: 4px; }
  .hero-facts { gap: 12px 20px; }
  .cta-band .btn-row .btn { width: 100%; }
}

@media (max-width: 1023px) {
  .footer-col ul { gap: 4px; }
  .footer-col a { display: inline-block; padding: 7px 0; }
  .footer-col li > span { display: inline-block; padding: 7px 0; }
  .footer-bottom a { display: inline-block; padding: 6px 0; }
  .breadcrumb a { display: inline-block; padding: 5px 0; }
  .checkbox { min-height: 40px; }
  .checkbox input { width: 19px; height: 19px; }
  .info-list .info-value a { display: inline-block; padding: 4px 0; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .brand img { width: 192px; }
  .info-list li { grid-template-columns: 38px 1fr; gap: 13px; }
  .info-list .info-icon { width: 38px; height: 38px; }
}

@media print {
  .site-header, .site-footer, .btn-row, .skip-link { display: none; }
  body { color: #000; }
}

/* two-line checklist rows: bold label, supporting detail underneath */
.list-check li strong, .list-cross li strong { display: block; margin-bottom: 1px; }
.list-detail { display: block; color: var(--slate-600); font-size: 0.92rem; }
.on-dark .list-detail { color: rgba(255, 255, 255, 0.66); }
