/* ---------- Design tokens ---------- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f4f1;
  --color-text: #2b2b2b;
  --color-text-muted: #5a5a5a;
  --color-primary: #263a4d;
  --color-primary-dark: #1a2733;
  --color-accent: #96784a;
  --color-border: #e2ddd5;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1100px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--color-text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.placeholder {
  background: #fff3cd;
  padding: 0 0.25rem;
  border-radius: 2px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-primary-dark);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav__brand img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.nav__brand:hover { text-decoration: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: var(--color-text);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nav__links a.is-active,
.nav__links a:hover {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--color-accent);
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { border-top: 1px solid var(--color-border); }
  .nav__links a {
    display: block;
    padding: 1rem 1.5rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-bg-alt);
  padding: 5rem 0;
  text-align: center;
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.hero h1 { max-width: 720px; margin: 0 auto 1.25rem; }

.hero p.lede {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover { background: var(--color-primary-dark); text-decoration: none; }

.btn--secondary {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--secondary:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

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

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
section.alt { background: var(--color-bg-alt); }

.section-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* ---------- Card grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.about-grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
}

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

.card h3 { color: var(--color-primary); }

/* ---------- Services list ---------- */
.service {
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}
.service:last-child { border-bottom: none; }
.service h3 { color: var(--color-primary); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.contact-item dt {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}
.contact-item dd {
  color: var(--color-text-muted);
  overflow-wrap: break-word;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #d8dee4; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: #cfd6dc;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.footer-note {
  font-size: 0.85rem;
  color: #a9b7c2;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-disclosure { color: #fff; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
