/* =============================================
   SERVICES MENU + CONTACT FORM (Oct 2026 revamp)
   Used by services-v2.html and contact-v2.html
   ============================================= */

/* ----- Shared buttons ----- */
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.6rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid #222;
  background: #222;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.svc-btn:hover {
  background: #fff;
  color: #222;
}

.svc-btn--outline {
  background: #fff;
  color: #222;
}

.svc-btn--outline:hover {
  background: #222;
  color: #fff;
}

.svc-btn--light {
  background: #fff;
  color: #222;
  border-color: #fff;
}

.svc-btn--light:hover {
  background: #d4a874;
  border-color: #d4a874;
  color: #222;
}

.svc-btn:focus-visible,
.svc-toggle:focus-visible,
.svc-check input:focus-visible,
.ct-chip button:focus-visible,
.ct-form input:focus-visible,
.ct-form textarea:focus-visible {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}


/* ----- Intro ----- */
.svc-intro {
  padding: 4.5rem 0 3.5rem;
}

.svc-intro p {
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1.1rem;
}

.svc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}


/* ----- Menu of three questions ----- */
.svc-menu {
  background: #f3f5f8;
  padding: 4.5rem 0 0;
  scroll-margin-top: 72px;
}

.svc-menu-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.svc-menu-head p {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 4.5rem;
}

.svc-col {
  background: #fff;
  border: 1px solid #d4a874;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(122, 140, 168, 0.12), 0 10px 28px rgba(122, 140, 168, 0.16);
  padding: 1.75rem 1.5rem 0.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.svc-col:hover,
.svc-col:focus-within {
  border-color: #b98a55;
  box-shadow: 0 1px 2px rgba(122, 140, 168, 0.14), 0 14px 34px rgba(122, 140, 168, 0.28);
}

.svc-col-head {
  min-height: 9.75rem;
}

.svc-num {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8a6a3e;
}

.svc-col h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #3f5070;
  margin: 0.2rem 0 0.4rem;
}

.svc-col-head p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.55;
}

.svc-check-head {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-bottom: 0.4rem;
}

.svc-check-head span,
.svc-check {
  width: 76px;
  flex: none;
  text-align: center;
}

.svc-check-head span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

.svc-items > li {
  border-top: 1px solid #ececec;
  margin: 0 -0.6rem;
  padding: 0 0.6rem;
  transition: background 0.15s;
}

.svc-items > li.is-checked {
  background: #faf4ec;
}

.svc-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.svc-toggle {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  text-align: left;
  cursor: pointer;
}

.svc-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid #222;
  border-radius: 50%;
}

.svc-icon::before,
.svc-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: #222;
  transform: translate(-50%, -50%);
}

.svc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.15s;
}

.svc-toggle[aria-expanded="true"] .svc-icon {
  background: #222;
}

.svc-toggle[aria-expanded="true"] .svc-icon::before {
  background: #fff;
}

.svc-toggle[aria-expanded="true"] .svc-icon::after {
  opacity: 0;
}

.svc-check {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.svc-check input {
  width: 20px;
  height: 20px;
  accent-color: #4f6383;
  cursor: pointer;
}

.svc-detail {
  padding: 0 0 1.25rem 2.1rem;
}

.js .svc-detail[hidden] {
  display: none;
}

.svc-detail p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.svc-tags li {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: #f0f0f0;
  color: #333;
  border-radius: 999px;
}

.svc-callout {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  background: #f2f4f8;
  border: 1px solid #d9dfe9;
}

.svc-callout strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f6383;
  margin-bottom: 0.25rem;
}

.svc-callout p {
  font-size: 0.92rem;
  color: #333;
}


/* ----- Sticky bar ----- */
.svc-bar {
  position: sticky;
  bottom: 0;
  z-index: 50;
  background: #3f5070;
  color: #fff;
  border-top: 2px solid #d4a874;
  box-shadow: 0 -4px 16px rgba(63, 80, 112, 0.25);
}

.svc-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.svc-bar p {
  font-size: 0.95rem;
  color: #e6ebf2;
}


/* ----- How we engage (kept from previous page) ----- */
.svc-engage {
  padding: 4.5rem 0;
}

.svc-engage h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.svc-engage p {
  color: #444;
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 1rem;
}

.svc-engage a {
  text-decoration: underline;
}


/* =============================================
   CONTACT FORM
   ============================================= */

.ct-topics {
  background: #f6f6f6;
  padding: 1.25rem 1.25rem 1rem;
  margin: 1.5rem 0 2rem;
}

.ct-topics h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ct-group + .ct-group {
  margin-top: 0.75rem;
}

.ct-group-name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.35rem;
}

.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ct-chip {
  display: inline-flex;
  align-items: center;
  padding-left: 0.75rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
}

.ct-chip button {
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  font-size: 1.1rem;
  line-height: 1;
  color: #555;
  cursor: pointer;
  border-radius: 50%;
}

.ct-edit {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0066cc;
  text-decoration: underline;
}

.ct-browse {
  margin: 1.5rem 0 2rem;
  color: #555;
}

.ct-browse a {
  color: #0066cc;
  text-decoration: underline;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ct-field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.ct-field label span {
  font-weight: 400;
  color: #666;
}

.ct-form input[type="text"],
.ct-form input[type="email"],
.ct-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: #222;
  background: #fff;
  border: 1.5px solid #999;
  border-radius: 0;
}

.ct-form textarea {
  resize: vertical;
}

.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ct-form .svc-btn {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.ct-form .svc-btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.ct-status {
  font-size: 0.95rem;
  line-height: 1.6;
}

.ct-status.is-error {
  color: #a32020;
}

.ct-status a {
  color: #0066cc;
  text-decoration: underline;
}

.ct-thanks {
  padding: 1.5rem;
  background: #f6f6f6;
}

.ct-thanks h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ct-thanks p {
  color: #444;
}


@media (max-width: 768px) {
  .svc-col-head {
    min-height: 0;
  }

  .svc-intro {
    padding: 3rem 0 2.5rem;
  }
}
