:root {
  --navy: #0f3d5c;
  --navy-deep: #0a2a40;
  --teal: #2f8f9d;
  --sand: #f6f3ec;
  --ink: #1d2630;
  --muted: #5b6b78;
  --line: #e3e0d6;
  --white: #ffffff;
  --radius: 14px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; color: var(--navy-deep); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-deep); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--teal); font-size: 1.2rem; }
.brand-name { font-family: "Fraunces", serif; font-size: 1.15rem; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--navy); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; border: 1px solid var(--navy); cursor: pointer;
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { background: var(--navy-deep); text-decoration: none; color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--sand) 0%, #eef4f3 100%);
  padding: 96px 0 104px;
}
.hero-inner { max-width: 760px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: 0.78rem;
  font-weight: 600; color: var(--teal); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; margin-bottom: 20px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--sand); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 600; margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin-bottom: 36px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(15,61,92,.08); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* Focal service: full-width, accented */
.card-feature {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: var(--navy-deep);
}
.card-feature h3 { color: #fff; font-size: 1.4rem; }
.card-feature p { color: #d6e4ec; font-size: 1.02rem; max-width: 640px; }
.card-feature::before {
  content: "Primary Service";
  display: inline-block; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .1em;
  font-size: 0.72rem; font-weight: 600; color: var(--sand);
  background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 999px;
}

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about p + p { margin-top: 16px; }
.about p { color: var(--muted); }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #fff; background: var(--teal); width: 20px; height: 20px;
  border-radius: 50%; font-size: 0.75rem; display: grid; place-items: center;
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact > div p { color: var(--muted); margin-top: 12px; }
.fine { font-size: 0.85rem; color: var(--muted); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-deep); margin-bottom: 6px; }
.field input, .field textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 9px; background: #fcfbf8; color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 3px rgba(47,143,157,.15);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form button { width: 100%; margin-top: 6px; }
.form-note { margin-top: 14px; font-size: 0.9rem; min-height: 1.2em; }
.form-note.ok { color: #1f7a4d; }
.form-note.err { color: #b3402f; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #cdd9e1; padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.9rem; }
.site-footer .fine { color: #9fb2bf; }

@media (max-width: 760px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .about, .contact { grid-template-columns: 1fr; gap: 28px; }
  .row { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 56px 0; }
}
