/* pages.css — page-specific layouts */

/* ---------- 24h turn-card under home hero ---------- */
.section--turn { padding-top: 0; margin-top: -40px; position: relative; z-index: 2; }
.section--turn .section__inner { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.turn-card {
  background: var(--ink);
  color: #fff;
  padding: 24px 32px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-md);
}
.turn-card__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 3.5rem;
  color: var(--red);
  line-height: 1;
}
.turn-card strong { display: block; font-size: 1rem; font-weight: 700; }
.turn-card small { display: block; color: var(--mute); font-size: .82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* ---------- Inventory section uses image slots inside inv-cards ---------- */
.inv-card .img-slot { margin-bottom: 20px; min-height: 180px; }
.inv-card .img-slot--placeholder { min-height: 180px; }

/* ---------- Enquiry form ---------- */
.section--enquiry { background: var(--paper); }
.enquiry-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  padding: 0 32px;
}
.enquiry-copy h2 { font-size: 2.2rem; }
.enquiry-form {
  background: #fff;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.enquiry-form .field--wide { grid-column: 1 / -1; }
.enquiry-form button { grid-column: 1 / -1; }
.enquiry-form__note { grid-column: 1 / -1; color: var(--mute); font-size: .85rem; margin: 0; }

/* ---------- Order form (full page form) ---------- */
.section--order { background: var(--paper); }
.order-form { display: grid; gap: 24px; max-width: 1100px; margin: 0 auto; }
.order-section {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--line);
  margin: 0;
}
.order-section legend {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0 8px;
  color: var(--ink);
}
.form-grid { display: grid; gap: 16px; }
.form-grid--2 { grid-template-columns: repeat(2, 1fr); }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper);
  margin-bottom: 16px;
  cursor: pointer;
  font-weight: 600;
}
.checkbox-row input { width: 18px; height: 18px; }
.order-submit {
  background: var(--ink);
  color: #fff;
  padding: 28px;
  text-align: center;
}
.order-submit .btn { font-size: 14px; padding: 18px 36px; }
.order-submit__note { color: rgba(255,255,255,.7); font-size: .9rem; margin: 14px 0 0; }

/* ---------- Steps section ---------- */
.section--steps { background: var(--paper); }
.section--inventory { background: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.contact-block {
  background: var(--paper);
  padding: 32px;
  border-left: 4px solid var(--red);
}
.contact-block__label {
  font-family: var(--body);
  font-style: italic;
  font-size: 11px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 8px;
}
.contact-block__big {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 8px;
  text-decoration: none;
}
.contact-block__big--text { font-size: 1.1rem; line-height: 1.4; }
.contact-block__big:hover { color: var(--red); }
.contact-block__sub { color: var(--mute); font-size: .9rem; }

/* ---------- CTA band ---------- */
.section--cta { background: var(--ink); color: #fff; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Thank you & 404 ---------- */
.section--thanks { background: var(--paper); min-height: 60vh; display: grid; place-items: center; }
.thanks-wrap { display: grid; place-items: center; }
.thanks-card {
  background: #fff;
  padding: 56px 40px;
  text-align: center;
  max-width: 600px;
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-md);
}
.thanks-card__check {
  font-family: var(--display);
  font-style: italic;
  font-size: 56px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
}
.thanks-card__check--bad { color: var(--ink); font-size: 64px; }
.thanks-card__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ---------- Legal pages ---------- */
.section--legal { background: #fff; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-meta { color: var(--mute); font-size: .9rem; }
.legal-wrap h2 { margin-top: 32px; font-size: 1.4rem; }
.legal-wrap ul { padding-left: 22px; }

/* ---------- Mobile tweaks ---------- */
@media (max-width: 960px) {
  .enquiry-wrap { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .form-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .turn-card { padding: 18px 22px; gap: 16px; }
  .turn-card__num { font-size: 2.6rem; }
}
@media (max-width: 720px) {
  .form-grid--2, .form-grid--3 { grid-template-columns: 1fr; }
  .order-section { padding: 22px; }
  .enquiry-form { padding: 22px; grid-template-columns: 1fr; }
  .thanks-card { padding: 36px 24px; }
  .section--turn { margin-top: -28px; }
}
/* ---------- FAQ section ---------- */
.section--faq { padding-top: 60px; padding-bottom: 60px; }
.faq-list {
  max-width: 760px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid #E0E0E5;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .15s;
}
.faq-item:hover { border-color: #B0B0B8; }
.faq-item[open] { border-color: #14181F; }
.faq-item__q {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  list-style: none;
  padding-right: 50px;
  user-select: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: #6E6E78;
  transition: transform .2s;
  line-height: 1;
}
.faq-item[open] .faq-item__q::after {
  content: '−';
  color: #14181F;
}
.faq-item__a {
  padding: 0 22px 18px;
  color: #4A5160;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .faq-item__q { padding: 14px 18px; padding-right: 44px; font-size: .95rem; }
  .faq-item__q::after { right: 18px; }
  .faq-item__a { padding: 0 18px 14px; }
}

/* ---- Order form: per-field validation errors ---- */
.field__error {
  color: #c00;
  font-size: 0.85em;
  display: block;
  margin-top: 4px;
}
.field:has(.field__error:not(:empty)) input,
.field:has(.field__error:not(:empty)) select,
.field:has(.field__error:not(:empty)) textarea {
  border-color: #c00 !important;
}
