/* OfficeKeeper — navy #002858, teal #00B098 */
:root {
  --navy: #002858;
  --navy-dark: #001a3a;
  --teal: #00B098;
  --teal-dark: #009480;
  --text: #1a2b3c;
  --muted: #5a6a7a;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --border: #e2e8ee;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 40, 88, 0.08);
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-link img {
  height: 48px;
  width: auto;
  max-height: 52px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  color: var(--navy);
  font-weight: 560;
  font-size: 0.98rem;
  text-decoration: none;
}
.site-nav a:hover { color: var(--teal-dark); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  font-weight: 650;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 1rem;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--teal-dark); }
.btn:active { transform: translateY(1px); }
.btn-secondary {
  background: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: #fff !important;
}

/* Hero */
.hero {
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(0,176,152,0.10), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(0,40,88,0.06), transparent 50%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  font-weight: 650;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.hero-card h2 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.15rem;
}
.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-card li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.hero-card li:last-child { border-bottom: none; }
.check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  color: var(--teal);
}

/* Sections */
section {
  padding: 4.25rem 0;
}
section:nth-of-type(even) { background: var(--bg-soft); }

.section-header {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}
.section-header h2 {
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.015em;
}
.section-header p {
  margin: 0;
  color: var(--muted);
}

/* Services cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,176,152,0.12);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.card h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 1.1rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.services-note {
  margin-top: 1.75rem;
  color: var(--muted);
  max-width: 42rem;
}

/* About / Why */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.prose p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 1.08rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.feature-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* Pricing */
.pricing-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.pricing-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
}
.contact-info h2 {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
}
.contact-info p {
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,0.82);
}
.contact-info a {
  color: #7ee8d6;
  font-weight: 600;
}
.contact-meta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.field .req { color: var(--teal-dark); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: #c5d0da;
}

.form-disclaimer {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.form-fallback {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.form-status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--teal-dark);
  min-height: 1.25em;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-brand img {
  height: 36px;
  width: auto;
  /* brighten logo slightly on dark footer via filter not needed - navy on dark is ok if we use white-friendly; keep as-is */
}
.footer-brand .name {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}
.footer-meta {
  text-align: right;
  font-size: 0.95rem;
}
.footer-meta a { color: #7ee8d6; }
.footer-copy {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* Mobile */
@media (max-width: 860px) {
  .hero-grid,
  .cards,
  .two-col,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: inline-block; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .hero { padding: 3rem 0 2.75rem; }
  section { padding: 3.25rem 0; }

  .pricing-box { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }

  .header-inner { position: relative; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .logo-link img { height: 40px; max-height: 44px; }
}

.footer-logo-wrap {
  display: inline-flex;
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
}
.footer-logo-wrap img { height: 40px; width: auto; max-height: 44px; }
.card h3 { margin-bottom: 0; }


/* v2: five service cards + How It Works */
.cards-5 {
  grid-template-columns: repeat(3, 1fr);
}
.cards-5 .card:nth-child(4),
.cards-5 .card:nth-child(5) {
  /* keep same card style */
}
@media (min-width: 861px) {
  .cards-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-5 .card:nth-child(4) {
    grid-column: 1 / 2;
  }
  .cards-5 .card:nth-child(5) {
    grid-column: 2 / 3;
  }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  counter-reset: none;
}
.steps li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(0,176,152,0.14);
  color: var(--teal-dark);
  font-weight: 750;
  font-size: 0.95rem;
}
.steps p {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .cards-5 {
    grid-template-columns: 1fr;
  }
  .cards-5 .card:nth-child(4),
  .cards-5 .card:nth-child(5) {
    grid-column: auto;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}


/* v3 layout refinements */
.eyebrow {
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.hero-card .why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-card .why-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 400;
}
.hero-card .why-list li:last-child { border-bottom: none; }
.hero-card .why-list strong {
  color: var(--navy);
  font-weight: 700;
  display: inline;
}
.hero-card .why-list .check {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.card h3 { margin: 0 0 0.45rem; }
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.services-cta { margin-top: 1.5rem; }

.about-block .prose {
  max-width: 46rem;
}
.about-block .prose p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 1rem;
}
.about-block .prose p:last-child { margin-bottom: 0; }

.steps li {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
}
.steps li div {
  color: var(--text);
  font-weight: 400;
  line-height: 1.45;
}
.steps li strong {
  color: var(--navy);
  display: inline;
  font-weight: 700;
}
.steps p { display: none; }

.footer-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}
.footer-brand .name { margin-top: 0.15rem; }

.contact-info p {
  margin: 0 0 0.85rem;
  color: rgba(255,255,255,0.85);
}

.site-nav a.nav-phone { color: #00B098; font-weight: 700; white-space: nowrap; }

.form-status { margin-top: 12px; padding: 10px 14px; border-radius: 8px; font-size: 0.95rem; }
.form-status.is-success { background: #e6f7f4; color: #00664f; }
.form-status.is-error { background: #fdecec; color: #9b1c1c; }
.hp-field { display: none; }
