/* ---------- service order form ----------
   Loaded only on service detail pages, after core.css. Reuses the site's
   tokens, type and button styles; only the form itself is new. */

.order-sec { border-top: 1px solid var(--muted); }

.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

/* ---------- left column ---------- */
.order-intro h2 { margin: 0 0 14px; }
.order-intro .body-copy { margin-bottom: 22px; }
.order-points { list-style: none; margin: 0; padding: 0; }
.order-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.order-points li::before {
  content: '';
  position: absolute;
  left: 3px; top: .58em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- the form ---------- */
.order-form {
  background: var(--surface-2);
  border: 1px solid var(--muted);
  border-radius: var(--r-block);
  padding: clamp(20px, 3vw, 30px);
}

.order-choice {
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: var(--r-card);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.order-choice__label {
  display: block;
  font: 600 10.5px/1 var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.order-choice__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.order-choice__row strong { font-size: 16px; font-weight: 600; }
.order-choice__row span { font-family: var(--font-display); font-size: 17px; }
.order-choice__hint { margin: 6px 0 0; font-size: 12.5px; color: var(--text-muted); }

.order-field { margin-bottom: 16px; }
.order-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 16px;
}
.order-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.order-field label span[aria-hidden] { color: var(--accent-2); }
.order-opt { font-weight: 400; color: var(--text-muted); font-size: 12px; }

.order-form input[type=text],
.order-form input[type=email],
.order-form input[type=tel],
.order-form textarea {
  width: 100%;
  /* 16px keeps iOS from zooming the page when the field takes focus */
  font: 400 16px/1.5 var(--font-ui);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: var(--r-media);
  padding: 12px 14px;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.order-form textarea { resize: vertical; min-height: 84px; }
.order-form input:focus, .order-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.order-form .is-invalid { border-color: #C0392B; }
.order-form .is-invalid:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .16); }

.order-err {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: #C0392B;
  min-height: 0;
}
.order-err:empty { display: none; }
.order-err--form { margin-top: 12px; }

/* the honeypot must be reachable by a script and invisible to a person */
.order-hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.order-checks { margin: 20px 0 22px; }
.order-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  padding: 7px 0;
}
.order-check + .order-err + .order-check { margin-top: 2px; }
.order-check input {
  flex: none;
  width: 20px; height: 20px;
  margin: 0;
  accent-color: var(--accent-2);
  cursor: pointer;
}

.order-submit { width: 100%; justify-content: center; }
.order-submit.is-busy { opacity: .7; cursor: progress; }
.order-form__note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- confirmation ---------- */
.order-done {
  background: var(--surface-2);
  border: 1px solid var(--muted);
  border-radius: var(--r-block);
  padding: clamp(26px, 4vw, 40px);
  text-align: center;
}
.order-done__tick {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}
.order-done h3 { margin: 0 0 8px; font: 400 24px/1.25 var(--font-display); }
.order-done p { margin: 0 0 20px; color: var(--text-muted); font-size: 15px; }

/* ---------- picked package feedback ---------- */
.tier.is-picked {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

@media (max-width: 900px) {
  .order-card { grid-template-columns: 1fr; }
}
@media (pointer: coarse) {
  /* the whole label is the hit area - 12px of padding around a 22px box
     clears the 44px minimum */
  .order-check { padding: 12px 0; }
  .order-check input { width: 22px; height: 22px; }
}

/* ---------- service hero: two columns ----------
   The copy column only ever fills about half the container, so the right side
   carries the facts a buyer looks for first instead of leaving dead space. */
.sd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.sd-hero__copy { min-width: 0; }

.sd-card {
  position: sticky;
  top: 96px;
  padding: clamp(20px, 2.2vw, 26px);
  border: 1px solid var(--muted);
  border-radius: var(--r-block);
  background: var(--surface-2);
}
.sd-card__label {
  margin: 0 0 14px;
  font: 600 10.5px/1 var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sd-card__price { display: flex; align-items: baseline; gap: 8px; }
.sd-card__from { font-size: 13px; color: var(--text-muted); }
.sd-card__price strong {
  font: 400 clamp(30px, 3.4vw, 40px)/1 var(--font-display);
  letter-spacing: -.02em;
}
.sd-card__note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }

.sd-card__facts {
  margin: 20px 0;
  padding: 16px 0 4px;
  border-top: 1px solid var(--muted);
  display: grid;
  gap: 11px;
}
.sd-card__facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sd-card__facts dt { font-size: 13px; color: var(--text-muted); }
.sd-card__facts dd { margin: 0; font-size: 13.5px; font-weight: 600; }

.sd-card__cta { width: 100%; justify-content: center; }
.sd-card__fine { margin: 10px 0 0; font-size: 11.5px; text-align: center; color: var(--text-muted); }

/* the hero CTA is now duplicated by the card's own button on wide screens */
@media (min-width: 861px) {
  .sd-hero__copy > div:last-child { display: none; }
}
@media (max-width: 860px) {
  .sd-hero__grid { grid-template-columns: 1fr; }
  .sd-card { position: static; }
}

/* ---------- pricing tiers ----------
   Every tier looked identical, so nothing guided the choice. The middle option
   is marked and lifted; the price gets the weight it deserves. */
.tier {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out),
              transform .3s var(--ease-out);
}
.tier .amt {
  font: 400 clamp(30px, 3vw, 38px)/1 var(--font-display);
  letter-spacing: -.02em;
}
.tier > p { flex: 1; }
.tier .btn { margin-top: auto; }

.tier--featured {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink), 0 14px 34px rgba(18, 16, 12, .10);
}
.tier--featured .tier__badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--text-invert);
  font: 600 10px/1 var(--font-ui);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .tier:hover { border-color: var(--ink); transform: translateY(-3px); }
}
