:root {
  --bg: #FFFFFF;
  --surface: #F7F8FA;
  --text-primary: #1A2332;
  --text-secondary: #5A6476;
  --accent: #5B7FA6;
  --accent-hover: #4A6E95;
  --border: #DDE1E8;
  --header-bg: #1A2332;
  --header-text: #FFFFFF;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 920px;
  --radius: 6px;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

/* ── HEADER ── */
header {
  background: var(--header-bg);
  color: var(--header-text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.wordmark {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--header-text);
  text-decoration: none;
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  gap: 0.25rem;
}

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

nav a:hover {
  color: var(--header-text);
  background: rgba(255,255,255,0.1);
}

nav a.active {
  color: var(--header-text);
  background: rgba(255,255,255,0.15);
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--header-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── HERO ── */
.hero {
  background-image: linear-gradient(rgba(26,35,50,0.65), rgba(26,35,50,0.65)), url('../images/hero.webp');
  background-size: cover;
  background-position: center;
  background-color: var(--text-primary);
  color: var(--header-text);
  padding: 5rem 1.25rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.88;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── MAIN ── */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--header-text);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* hero CTA row */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-ctas-secondary {
  display: flex;
  justify-content: center;
}

/* ── INTRO SECTION ── */
.intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 0;
  text-align: center;
}

.intro p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.09);
  border-color: var(--accent);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card.card-accent {
  border-color: var(--accent);
  background: #edf2f7;
}

/* ── SECTION HEADINGS ── */
.section-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ── PAGE HERO (non-index pages) ── */
.page-hero {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 3rem 1.25rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.8;
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ── PHOTO STRIP ── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* ── CTA BOX ── */
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cta-box p {
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ── CONTACT ── */
.contact-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.contact-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.09);
  border-color: var(--accent);
}

.contact-card.primary-contact {
  border-color: var(--accent);
  background: #edf2f7;
}

.contact-card .contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.contact-card .contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
}

.contact-card .contact-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* ── NEED HELP BOX ── */
.help-box {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.help-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ── PROSE ── */
.prose {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-top: 1.5rem;
}

.prose + .prose {
  margin-top: 1rem;
}

/* ── DIVIDER ── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ── FOOTER ── */
footer {
  background: var(--header-bg);
  color: rgba(255,255,255,0.55);
  text-align: center;
  font-size: 0.85rem;
  padding: 1.25rem 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-size: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .photo-strip img {
    height: 200px;
  }

  .hero {
    padding: 3.5rem 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .cta-box {
    flex-direction: column;
  }

  .help-box {
    flex-direction: column;
  }

  .cta-row {
    flex-direction: column;
  }
}
