/* OnHandHQ — onhandhq.ca
   Brand: navy #002a4e, coral #f7683f, Trebuchet MS */

:root {
  --navy: #002a4e;
  --navy-dark: #001d36;
  --coral: #f7683f;
  --coral-dark: #d94e27;
  --ink: #1c2b36;
  --muted: #54687a;
  --paper: #ffffff;
  --mist: #f2f6f9;
  --line: #dbe4ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 42, 78, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand-logo { height: 64px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:hover { color: var(--coral-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-pill {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 20px;
}
.btn-pill:hover { background: var(--coral); }
.btn-submit { width: 100%; margin-top: 6px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section[id] { scroll-margin-top: 84px; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coral-dark);
  margin-bottom: 10px;
}
.section-intro { max-width: 46em; color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--coral-dark);
  margin-bottom: 14px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--mist), var(--paper));
  padding: 64px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-sub {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--coral-dark);
  margin: 10px 0 18px;
  line-height: 1.3;
}
.hero-note { font-weight: 700; color: var(--navy, #002a4e); margin: 18px 0 0; }
.assurances {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.assurances li {
  padding: 2px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.assurances li::before {
  content: "\2713";
  color: var(--coral);
  font-weight: 800;
}

.brief-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.brief-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.brief-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}
.brief-status {
  color: var(--coral-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brief-quote {
  margin: 0 0 18px;
  font-size: 1.12rem;
  color: var(--navy);
  font-weight: 600;
}
.brief-list { list-style: none; margin: 0 0 16px; padding: 0; }
.brief-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.brief-num { color: var(--coral-dark); font-weight: 700; }
.brief-out {
  margin-left: auto;
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 500;
  text-align: right;
}
.brief-plan-label {
  margin: 14px 0 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cred-role {
  margin: -6px 0 12px;
  font-weight: 700;
  color: var(--coral-dark);
  letter-spacing: 0.04em;
}
.brief-tag { margin: 0; font-weight: 700; color: var(--navy); }

/* ---------- Difference ---------- */
.difference { background: var(--paper); }
.diff-grid {
  max-width: 46rem;
}
.diff-kicker { font-weight: 700; color: var(--navy); }
.cred-panel {
  background: var(--navy);
  color: #eaf1f7;
  border-radius: var(--radius);
  padding: 28px;
}
.cred-big { font-size: 1.35rem; font-weight: 700; color: #fff; }
.cred-panel p { margin-bottom: 0.4em; }

/* ---------- Services ---------- */
.services { background: var(--mist); }
.offers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 34px 0 24px;
}
.offer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.offer-num { color: var(--coral-dark); font-weight: 700; margin-bottom: 6px; }
.offer ul { margin: 0; padding-left: 18px; color: var(--muted); }
.offer li { margin-bottom: 4px; }

.product-note {
  background: var(--navy);
  color: #eaf1f7;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 44px;
}
.product-note h3 { color: #fff; }
.product-note p { margin: 0; max-width: 52em; }

/* ---------- Showcase ---------- */
.showcase h3 { font-size: 1.45rem; }
.showcase-intro { color: var(--muted); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}
.filter-btn {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.is-active { background: var(--coral); border-color: var(--coral); color: #fff; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card.is-hidden { display: none; }
.card-cat {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--coral-dark);
  margin-bottom: 8px;
}
.card h4 { font-size: 1.08rem; margin-bottom: 6px; }
.card p:last-child { margin: 0; color: var(--muted); font-size: 0.96rem; }

.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}
.carousel-btn {
  font-family: inherit;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 1.15rem;
  cursor: pointer;
}
.carousel-btn:hover:not(:disabled) { background: var(--navy); color: #fff; }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-status { margin: 0; color: var(--muted); font-size: 0.95rem; min-width: 170px; text-align: center; }

.live-demos { margin-top: 48px; }
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
.demo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--coral);
  border-radius: var(--radius);
  padding: 24px;
}
.demo-card h4 { font-size: 1.15rem; margin-bottom: 6px; }
.demo-card p:not(.card-cat) { color: var(--muted); font-size: 0.98rem; }
.demo-card .btn { margin-top: 6px; }

/* ---------- Process ---------- */
.capacity-note {
  background: #fff4ef;
  border: 1px solid #fbd9cb;
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  padding: 14px 18px;
  max-width: 52em;
  color: var(--ink);
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.step p:last-child { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Principles ---------- */
.principles { background: var(--mist); }
.expect-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 30px;
  max-width: 760px;
}
.expect-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.expect-list li {
  padding-left: 26px;
  position: relative;
  font-weight: 600;
  color: var(--navy);
}
.expect-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--coral-dark);
  font-weight: 700;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.price-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.price-card h3 { margin-bottom: 4px; }
.price-amount {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
}
.price-amount span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.pricing-note { margin: 22px 0 0; color: var(--muted); }

/* ---------- Handover ---------- */
.flow-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 28px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 36px;
}
.flow-list li { display: flex; gap: 14px; align-items: flex-start; }
.flow-list .step-num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
  margin-bottom: 0;
}
.flow-list h3 { font-size: 1.08rem; margin-bottom: 2px; }
.flow-list p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.flow-line { margin: 24px 0 0; font-weight: 700; color: var(--navy); max-width: 54em; }

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.text-link { color: var(--coral-dark); font-weight: 700; }
.sub-note { color: var(--muted); font-size: 0.95rem; margin-top: 22px; }

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.quote-form h3 { margin-bottom: 16px; }
.quote-form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin: 14px 0 6px;
  font-size: 0.97rem;
}
.quote-form .optional { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}
.quote-form textarea { resize: vertical; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Thanks page ---------- */
.thanks-main { padding: 90px 0; text-align: center; }
.thanks-main p { color: var(--muted); max-width: 34em; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #c8d6e2;
  padding: 44px 0 34px;
}
.footer-inner { text-align: center; }
.footer-logo {
  height: 64px;
  width: auto;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
}
.footer-fine { font-size: 0.88rem; color: #8fa6ba; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .offers { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  section { padding: 52px 0; }
  section[id] { scroll-margin-top: 178px; }
  .hero-grid, .diff-grid, .contact-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { gap: 16px; flex-wrap: wrap; }
  .expect-list { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .offers, .cards, .steps, .price-grid, .demo-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 52px; }
  body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
