/* A. R. & Co. — landing page */

:root {
  --navy: #0e2a47;
  --navy-2: #16365a;
  --gold: #b48a3c;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --line: #e5e7eb;
  --max: 1100px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
a:hover { color: var(--gold); }

h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: 2.4rem; font-weight: 700; }
h2 { font-size: 1.7rem; font-weight: 700; margin-top: 0; }
h3 { font-size: 1.15rem; font-weight: 600; }

p  { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.narrow    { max-width: 760px; }
.centered  { text-align: center; }
.muted     { color: var(--muted); }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark { font-weight: 700; color: var(--navy); font-size: 1.15rem; letter-spacing: 0.02em; }
.brand-sub  { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; }

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}
.nav a:hover { color: var(--gold); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; letter-spacing: 0.04em; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.15s ease;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: #9a7530; color: #fff; }

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

/* Services grid */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.card h3 { margin-bottom: 0.5rem; }
.card p  { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Form */
.contact-form { margin-top: 1.5rem; }
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14, 42, 71, 0.12);
}
.contact-form textarea { resize: vertical; }
.captcha input { max-width: 120px; }

/* Honeypot — hide visually and from assistive tech */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Alerts */
.alert {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
}
.alert-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.alert-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
  h1 { font-size: 1.9rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .nav a { margin-left: 1rem; font-size: 0.9rem; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
}
