/* Service storefront, request form and order page (shared by index.html, service.html, order.html).
   Colours and type come from the site's own tokens, with fallbacks for the standalone pages. */
:root {
  --ocean: #162a34;
  --ocean-2: #2c5560;
  --foam: #f2f0ea;
  --basalt: #17242a;
  --laurel: #3e6b4e;
  --signal: #c7b28e;
  --line: #d6d3ca;
  --muted: #56666d;
  --danger: #a3261c;
}

.svc-page {
  margin: 0;
  background: var(--foam);
  color: var(--basalt);
  font:
    17px/1.6 "Manrope",
    system-ui,
    sans-serif;
}
.svc-page * {
  box-sizing: border-box;
}
.svc-top {
  background: var(--ocean);
  padding: 18px 0;
}
.svc-top a {
  color: #fff;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 26px;
  font-weight: 600;
  text-decoration: none;
}
.svc-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.svc-main {
  padding: 32px 0 72px;
}
.svc-page h1,
.svc-page h2 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ocean);
  margin: 0 0 0.4em;
}
.svc-page h1 {
  font-size: clamp(32px, 6vw, 46px);
}
.svc-page h2 {
  font-size: 26px;
  margin-top: 28px;
}

/* ---- storefront on the home page ---- */
.intents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.intent {
  font: inherit;
  font-weight: 600;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 6px;
  border: 2px solid var(--ocean);
  background: #fff;
  color: var(--ocean);
  cursor: pointer;
  text-align: left;
}
.intent[aria-pressed="true"] {
  background: var(--ocean);
  color: #fff;
}
.intent:focus-visible,
.svc-btn:focus-visible,
.svc-field input:focus-visible,
.svc-field textarea:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}
.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.svc-card h3 {
  font-size: 24px;
  color: var(--ocean);
  margin: 0 0 6px;
}
.svc-card p {
  flex: 1;
}
.svc-price {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  margin: 4px 0 2px;
}
.svc-price.quote {
  font-size: 24px;
}
.svc-note {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 12px;
}

.svc-btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: 6px;
  border: 2px solid transparent;
  background: var(--signal);
  color: var(--basalt);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.svc-btn:hover {
  background: #d6c4a4;
}
.svc-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.svc-btn.ghost {
  background: transparent;
  border-color: var(--ocean);
  color: var(--ocean);
}
.svc-btn.block {
  display: block;
  width: 100%;
}

/* ---- product page and form ---- */
.svc-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 20px 0;
}
@media (max-width: 640px) {
  .svc-lists {
    grid-template-columns: 1fr;
  }
}
.svc-lists ul {
  margin: 0;
  padding-left: 20px;
}
.svc-disclaimer {
  border-left: 6px solid var(--line);
  padding: 10px 16px;
  color: var(--muted);
  background: #fff;
  border-radius: 0 6px 6px 0;
}
.svc-emergency {
  border-left: 6px solid var(--danger);
  background: #fdecea;
  color: #6b1610;
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
}
.svc-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  margin-top: 28px;
}
.svc-field {
  margin: 0 0 18px;
}
.svc-field label,
.svc-field legend {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0;
}
.svc-field input[type="text"],
.svc-field input[type="url"],
.svc-field input[type="email"],
.svc-field input[type="tel"],
.svc-field input[type="number"],
.svc-field textarea {
  width: 100%;
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--basalt);
}
.svc-field textarea {
  min-height: 110px;
  resize: vertical;
}
.svc-field.invalid input,
.svc-field.invalid textarea {
  border-color: var(--danger);
}
.svc-error {
  color: var(--danger);
  font-size: 15px;
  margin: 4px 0 0;
}
.svc-list-row {
  margin-bottom: 8px;
}
.svc-field fieldset,
fieldset.svc-field {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.svc-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-weight: 400;
}
.svc-check input {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  flex: 0 0 auto;
}
.svc-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}
.svc-slot {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  min-height: 46px;
  cursor: pointer;
  font-weight: 400;
}
.svc-slot:has(input:checked) {
  border-color: var(--ocean);
  box-shadow: 0 0 0 2px rgba(11, 58, 91, 0.2);
}
.svc-alert {
  border-left: 6px solid var(--danger);
  background: #fdecea;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  margin: 0 0 16px;
}
.svc-ok {
  border-left: 6px solid var(--laurel);
  background: #e7f3ea;
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
}
.svc-wait {
  border-left: 6px solid var(--signal);
  background: #fff8e4;
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
}
.svc-next {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp: link in the top bar of the request pages, floating button on phones ---------- */
.svc-top .svc-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.svc-top a.svc-wa {
  font:
    600 14px/1.2 "Manrope",
    system-ui,
    sans-serif;
  letter-spacing: 0.03em;
  border: 1px solid rgba(244, 244, 240, 0.4);
  border-radius: 2px;
  padding: 9px 14px;
}
.wa-float {
  display: none;
}
@media (max-width: 760px) {
  .wa-float {
    display: inline-flex;
    align-items: center;
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 40;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 2px;
    background: var(--signal);
    color: #0e1a22;
    font:
      600 15px/1.2 "Manrope",
      system-ui,
      sans-serif;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(14, 26, 34, 0.32);
  }
  .wa-float:focus-visible {
    outline: 2px solid #86aeb5;
    outline-offset: 3px;
  }
  /* Room under the last block so the button never covers it. */
  .footer,
  .svc-main {
    padding-bottom: 84px;
  }
}
