/* gooi.io — /opvragen (stukken opvragen bij je cliënt), "Avondgracht" style.
   Loaded after style.css + site.css + pages.css. Page-specific only. */

/* ---------- Hero ---------- */

.op-hero h1 { max-width: 22ch; }
.op-hero .pg-lede { max-width: 60ch; }
.op-hero .pg-lede strong { color: #fff; font-weight: 600; }

.op-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.32rem 0.85rem 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #eaf0fb;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-shadow: none;
}
.op-pill-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd27a;
  box-shadow: 0 0 0 3px rgba(255, 210, 122, 0.22);
}

.op-hero-note {
  margin-top: 1rem;
  max-width: 60ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e2e8f5;
}

/* ---------- Sections ---------- */

.op-sec + .op-sec { margin-top: clamp(3.5rem, 9vh, 5.5rem); }
.op-sec { scroll-margin-top: 1.5rem; }

.op-head { max-width: 64ch; }
.op-head h2,
.op-trust h2,
.op-form-card h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.op-head p {
  margin-top: 0.7rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- Problem cards (2x2) ---------- */

.op-cards {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.op-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.op-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--delft-soft);
  color: var(--delft);
}
.op-ic svg { width: 24px; height: 24px; display: block; }
.op-card h3 {
  margin-top: 1rem;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.op-card p {
  margin-top: 0.5rem;
  line-height: 1.65;
  color: #26354f;
}

/* ---------- Steps ---------- */

.op-steps {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  position: relative;
}
.op-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.5rem;
}
.op-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--delft);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--delft-soft);
}
/* thin connector from one step to the next (desktop) */
.op-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(1.4rem + 19px);
  left: calc(1.4rem + 38px + 12px);
  right: -1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--delft-soft), #c9daf7);
  border-radius: 2px;
}
.op-step h3 { margin-top: 1rem; font-size: 1.08rem; line-height: 1.3; }
.op-step p { margin-top: 0.45rem; line-height: 1.6; color: #26354f; }

/* ---------- Trust panel (dark) ---------- */

.op-trust {
  padding: clamp(1.6rem, 4.5vw, 3rem);
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
}
.op-trust h2 { color: #fff; max-width: 30ch; }
.op-trust-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2.5rem;
}
.op-trust-item {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.op-trust-item h3 {
  color: #fff;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.op-trust-item h3::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #ffd27a;
}
.op-trust-item p {
  margin-top: 0.45rem;
  line-height: 1.6;
  color: #c5d0e2;
}

/* ---------- FAQ ---------- */

.op-faq { margin-top: 1.5rem; max-width: 820px; }
.op-faq summary { font-size: 1.02rem; }

/* ---------- Sign-up form ---------- */

.op-form-card {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: clamp(1.4rem, 4vw, 2.5rem);
}
.op-form-intro {
  margin-top: 0.6rem;
  max-width: 60ch;
  line-height: 1.6;
  color: var(--ink-2);
}
.op-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
}
.op-full { grid-column: 1 / -1; }

/* opvragen.js sets className to '', 'ok' or 'err' (it replaces the class list) */
#op-form-status:empty { display: none; }
#op-form-status {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: 12px;
}
#op-form-status.ok { padding: 0.8rem 1rem; background: #e3f4ec; color: #14613f; }
#op-form-status.err { padding: 0.8rem 1rem; background: #fbe9e1; color: #9a3412; }

.op-submit-row { display: grid; gap: 0.75rem; justify-items: center; }
.op-form-note {
  max-width: 52ch;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .op-steps { grid-template-columns: 1fr; }
  .op-step:not(:last-child)::after {
    top: auto;
    bottom: -1.1rem;
    left: calc(1.4rem + 18px);
    right: auto;
    width: 2px;
    height: 1.1rem;
    background: #c9daf7;
  }
}
@media (max-width: 680px) {
  .op-cards, .op-trust-grid { grid-template-columns: 1fr; }
  .op-form { grid-template-columns: 1fr; }
  .op-trust-grid { gap: 1.3rem; }
  .op-pill { font-size: 0.82rem; line-height: 1.35; border-radius: 14px; align-items: flex-start; }
  .op-pill-dot { margin-top: 0.3rem; }
  .op-hero h1 { font-size: 1.95rem; }
}
