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

:root {
  --bg:         #ffffff;
  --bg-soft:    #f7f7f5;
  --border:     #e2e0db;
  --text:       #1a1a18;
  --text-muted: #6b6860;
  --gold:       #9a7420;
  --gold-light: #b8922a;
  --blue:       #2d5a7a;
  --nav-blue:   #1a3a6e;
  --white:      #ffffff;
  --max-wide:   1000px;
  --max-prose:  720px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }

/* ── Header (logo only) ──────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 2.5rem 1.4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;          /* anchors the partner badge */
}

.site-logo {
  display: block;
}

/* ── Header logo ─────────────────────────────────────────── */
.header-logo {
  height: 126px;
  width: auto;
  display: block;
}

/* ── Nav bar ─────────────────────────────────────────────── */
.nav-bar {
  display: flex;
  flex-wrap: wrap;        /* let the links wrap instead of overflowing the viewport */
  justify-content: center;
  align-items: stretch;
  background: var(--nav-blue);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-bar a {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  transition: background 0.18s ease, color 0.18s ease;
  display: block;
}

.nav-bar a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.nav-bar a:active {
  color: #ffd700;
  background: rgba(255, 255, 255, 0.08);
}

.nav-bar a.active {
  color: #ffd700;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-wide);
  margin: 4rem auto 5rem;
  padding: 0 2.5rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.0;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--text);
  max-width: 780px;
  margin: 0 auto 2.8rem;
  line-height: 1.55;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #ffffff;
  padding: 0.85rem 2.4rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.18s ease;
  border-radius: 1px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2.4rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.18s, border-color 0.18s;
  border-radius: 1px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Section label ───────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
}

/* ── Divider section ─────────────────────────────────────── */
.content-section {
  max-width: var(--max-prose);
  margin: 0 auto 5rem;
  padding: 4rem 2.5rem 0;
  border-top: 1px solid var(--border);
}

.content-section p { margin-bottom: 1.4rem; }

/* ── Feature cards ───────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-wide);
  margin: 0 auto 5rem;
  padding: 4rem 2.5rem 0;
  border-top: 1px solid var(--border);
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
}

.card-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  max-width: var(--max-wide);
  margin: 5rem auto 0;
  padding: 0 2.5rem 3rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.page-hero .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* ── Contact form ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  max-width: var(--max-wide);
  margin: 4rem auto 5rem;
  padding: 0 2.5rem;
}

.contact-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-info p, .contact-info a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.4rem;
  display: block;
}

.contact-info a:hover { color: var(--gold); }

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  border-radius: 1px;
  outline: none;
  transition: border-color 0.18s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { height: 140px; resize: vertical; }

/* ── Return policy ───────────────────────────────────────── */
.policy-body {
  max-width: var(--max-prose);
  margin: 4rem auto 5rem;
  padding: 0 2.5rem;
}

.policy-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 0.8rem;
}

.policy-body p, .policy-body li {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.policy-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: var(--bg-soft);
}

.site-footer a:hover { color: var(--gold); }

/* ── Hero image ──────────────────────────────────────────── */
.hero-image-wrap {
  text-align: center;
  padding: 3rem 2.5rem 0;
}

.hero-image {
  max-width: 100%;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: inline-block;
  border-radius: 2px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .site-header { padding: 1.4rem 1.5rem 1rem; }
  .header-logo { height: 80px; }
  .nav-bar a { padding: 0.8rem 0.75rem; font-size: 0.68rem; letter-spacing: 0.12em; }
  .hero { margin-top: 2.5rem; }
  .cards { padding-top: 3rem; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ── Header partner badge (all pages with a header) ───────── */
/* Absolute so the logo stays optically centred. */
.header-badge {
  position: absolute;
  left: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  height: 182px;
  width: auto;
  display: block;
}

/* The badge is now taller than the 126px logo, so the header has to grow to
   contain it while it sits in the corner (border-box: 182 + 51.2 padding). */
@media (min-width: 981px) {
  .site-header { min-height: 234px; }
}

/* The logo renders 470px wide and the badge occupies 40..226, so the logo
   only clears it once the content box reaches ~954px. Media queries count the
   scrollbar gutter but layout does not, hence 980 rather than 954. */
@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header .site-logo { flex: 0 0 100%; }
  .site-header .header-logo { margin: 0 auto; }

  .header-badge {
    position: static;
    transform: none;
    height: 106px;
    margin: 0.75rem auto 0 0;   /* left-aligned, matching the corner above */
  }
}
