/* JT Web Co. — plain CSS, mobile-first, no external requests */

:root {
  --navy: #0f2942;
  --navy-deep: #0a1f33;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --ink: #16202e;
  --muted: #4a5763;
  --line: #e2e6ea;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --ok: #12703a;
  --err: #b3261e;
  --radius: 10px;
  --wrap: 640px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 84px; /* room for the sticky call bar on phones */
}

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

h1, h2, h3 { line-height: 1.25; color: var(--navy); }

a { color: var(--blue-dark); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 40px 0 44px;
}
.hero .brand {
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #9db8d6;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: 1.85rem;
  color: #fff;
}
.hero .lede {
  margin: 0 0 26px;
  font-size: 1.1rem;
  color: #dbe6f2;
}
.hero .lede strong { color: #fff; }

/* ---------- Buttons ---------- */
.cta-row { display: flex; flex-direction: column; gap: 12px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:active { background: var(--blue-dark); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

/* ---------- Sections ---------- */
.section { padding: 40px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { margin: 0 0 18px; font-size: 1.4rem; }
.section p { margin: 0 0 14px; color: var(--muted); }
.section p:last-child { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.step-n {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin: 3px 0 4px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-lead { color: var(--muted); }
#contact-form { margin-top: 22px; }
#contact-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--ink);
}
#contact-form input,
#contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
}
#contact-form input:focus,
#contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
#contact-form textarea { resize: vertical; }
#contact-form .btn { width: 100%; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#form-status { margin: 14px 0 0; font-weight: 600; }
#form-status.ok { color: var(--ok); }
#form-status.err { color: var(--err); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #c9d6e4;
  padding: 32px 0 40px;
  font-size: 0.95rem;
}
.footer p { margin: 0 0 6px; }
.footer a { color: #fff; }
.footer-brand { font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; }
.footer .fine { margin-top: 12px; color: #8aa0b6; }

/* ---------- Sticky call bar (phones only) ---------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
}
.callbar:active { background: var(--blue-dark); }

/* ---------- Larger screens ---------- */
@media (min-width: 700px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }

  .hero { padding: 72px 0 76px; }
  .hero h1 { font-size: 2.5rem; }
  .hero .lede { font-size: 1.2rem; max-width: 34em; }
  .cta-row { flex-direction: row; }
  .btn { min-width: 220px; }

  .section { padding: 64px 0; }
  .section h2 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
