@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #0B3A57;
  --navy-light: #145478;
  --brick: #F07D22;
  --brick-dark: #D9631A;
  --parchment: #F6F8FA;
  --parchment-dark: #EAF0F5;
  --sage: #1483C4;
  --charcoal: #2B333A;
  --charcoal-soft: #5B6670;
  --line: #DCE3E9;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--parchment);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { color: var(--charcoal-soft); }

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Deed-line divider: signature element, a surveyor's plat line */
.deed-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 2.5rem;
}
.deed-line::before {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--brick) 0, var(--brick) 3px, transparent 3px, transparent 8px
  );
}
.deed-line span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 600;
  white-space: nowrap;
}
.deed-line::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--brick) 0, var(--brick) 3px, transparent 3px, transparent 8px
  );
}

/* Header / nav */
header {
  background: var(--navy);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  height: 44px;
  width: auto;
  display: block;
}
.logo {
  font-family: 'Fraunces', serif;
  color: var(--parchment);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.logo span { color: var(--brick); }
.tagline {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--parchment);
  opacity: 0.6;
  margin-top: 2px;
}
nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}
nav a {
  color: var(--parchment);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.88;
  transition: opacity 0.15s;
}
nav a:hover, nav a.active { opacity: 1; }
nav a.active { color: var(--brick); opacity: 1; }

.menu-toggle { display: none; background: none; border: none; color: var(--parchment); font-size: 1.6rem; cursor: pointer; }

.header-phone {
  color: var(--parchment);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  border-left: 1px solid rgba(246,241,231,0.25);
  padding-left: 24px;
  margin-left: 8px;
}
.header-phone:hover { color: var(--brick); }
@media (max-width: 820px) {
  .header-phone { display: none; }
}

/* Hero */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: 1.15rem;
  margin: 1.5rem 0 2.2rem;
  max-width: 560px;
}
.hero-lines {
  position: absolute;
  right: -60px;
  top: 0;
  width: 420px;
  height: 100%;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.15s;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--brick);
  color: var(--white);
}
.btn-primary:hover { background: var(--brick-dark); transform: translateY(-1px); }
.btn-secondary {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--parchment); }

/* Sections */
section { padding: 64px 0; }
.section-alt { background: var(--parchment-dark); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }

.stat {
  text-align: left;
}
.stat .num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  color: var(--brick);
  font-weight: 600;
  line-height: 1;
}
.stat .label {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  margin-top: 6px;
}

/* Footer */
footer {
  background: var(--navy);
  color: var(--parchment);
  padding: 48px 0 28px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer .logo { margin-bottom: 8px; }
footer p, footer a { color: var(--parchment); opacity: 0.75; font-size: 0.9rem; }
footer a:hover { opacity: 1; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(246,241,231,0.15);
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
}

/* Contact form */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}
label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--brick);
}
textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--parchment-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brick);
  font-weight: 600;
}

ul.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
ul.checklist li { padding-left: 26px; position: relative; font-size: 0.95rem; color: var(--charcoal-soft); }
ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  border: 1.5px solid var(--sage);
  border-radius: 50%;
}

nav ul.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 16px 32px 24px;
  gap: 16px;
}

@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  nav ul { display: none; }
  .menu-toggle { display: block; }
  .hero-lines { display: none; }
  header { position: relative; }
}
@media (min-width: 821px) {
  nav ul.open { display: flex; position: static; background: none; padding: 0; flex-direction: row; }
}
