/* ---------- Tokens ---------- */
:root {
  --navy: #142236;
  --navy-soft: #1c2f47;
  --steel: #5b6b7d;
  --steel-light: #8b96a3;
  --paper: #f6f5f2;
  --paper-alt: #ecebe6;
  --gold: #a9822f;
  --gold-light: #c9a24c;
  --ink: #1a1a1a;
  --white: #ffffff;
  --line: rgba(20, 34, 54, 0.12);
  --radius: 4px;
  --shadow: 0 12px 30px rgba(20, 34, 54, 0.08);
  --font-head: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-tint { background: var(--paper-alt); }
.section-dark { background: var(--navy); color: #dbe1e8; }
.section-dark h2, .section-dark p { color: #eef1f4; }
.section-dark .eyebrow { color: var(--gold-light); }

.eyebrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0 0 0.6em;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lead { color: var(--steel); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.section-dark .btn-ghost { color: #eef1f4; border-color: rgba(255,255,255,0.25); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 245, 242, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--navy-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 100px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-lead { color: var(--steel); font-size: 1.05rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 44px; }
.hero-stats { display: flex; gap: 40px; margin: 0; }
.hero-stats dt { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); font-weight: 700; }
.hero-stats dd { margin: 0; color: var(--steel); font-size: 0.85rem; }
.hero-visual { color: var(--navy); display: flex; justify-content: center; }
.blueprint-svg { width: 100%; max-width: 380px; height: auto; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.placeholder-img {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--navy) 0%, var(--steel) 100%);
  border-radius: var(--radius);
  position: relative;
}
.placeholder-img::after {
  content: attr(data-label);
  position: absolute;
  bottom: 18px; left: 18px;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-family: var(--font-head);
}
.about-points { padding-left: 20px; color: var(--steel); margin: 0; }
.about-points li { margin-bottom: 6px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  padding: 32px 28px;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-icon { color: var(--navy); margin-bottom: 16px; }
.service-icon svg { width: 40px; height: 40px; }
.service-card p { color: var(--steel); font-size: 0.95rem; margin: 0; }

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.why-list { display: grid; gap: 28px; }
.why-item { padding-left: 20px; border-left: 2px solid var(--line); }
.why-item p { color: var(--steel); margin: 0; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-details { list-style: none; padding: 0; margin: 24px 0 0; color: #cfd6dd; }
.contact-details li { margin-bottom: 8px; }
.contact-details a { color: var(--gold-light); text-decoration: none; }
.contact-form {
  background: var(--navy-soft);
  padding: 32px;
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 0.85rem; color: #cfd6dd; }
.form-row input, .form-row textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 1px;
}
.form-row.has-error input, .form-row.has-error textarea { outline: 1px solid #d97757; }
.error-msg { color: #e2a37e; font-size: 0.8rem; min-height: 1em; }
.form-status { font-size: 0.9rem; min-height: 1em; margin: 0; }
.form-status.success { color: #8fd0a0; }
.form-status.error { color: #e2a37e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b6c0cb; padding: 56px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p:last-child { font-size: 0.9rem; max-width: 30ch; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; color: #b6c0cb; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-legal p { margin: 0 0 6px; font-size: 0.9rem; }
.footer-bottom { padding: 20px 24px; font-size: 0.8rem; color: #8592a0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .hero-visual { order: -1; max-width: 260px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 18px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { flex-wrap: wrap; row-gap: 16px; }
}
