/* src/styles/components/enquiry.css */
/* Shared Peacock enquiry dialogs. Loaded only on pages using data-enquiry. */
.pc-modal-open {
  overflow: hidden;
}
.pc-enquiry {
  --pc-ink: #11283b;
  --pc-muted: #586974;
  --pc-line: #dce2eb;
  --pc-accent: #d9b968;
  width: min(730px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--pc-ink);
  box-shadow: 0 28px 100px #06152855;
  overflow: auto;
  overscroll-behavior: contain;
}
.pc-enquiry::backdrop {
  background: #081523c9;
  backdrop-filter: blur(3px);
}
.pc-enquiry * {
  box-sizing: border-box;
}
.pc-enquiry [hidden] {
  display: none !important;
}
.pc-enquiry :focus-visible {
  outline: 3px solid #d9b968;
  outline-offset: 3px;
}
.pc-dialog-head {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 25px 32px 20px;
  background: #fff;
  border-bottom: 1px solid var(--pc-line);
}
.pc-dialog-brand {margin-bottom:14px;line-height:0}
.pc-dialog-brand img {display:block;width:58px;height:auto;max-width:100%;object-fit:contain}

.pc-enquiry h2.pc-dialog-title {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0;
  padding-right: 35px;
  color: var(--pc-ink);
}
.pc-dialog-close {
  position: absolute;
  right: 22px;
  top: 22px;
  border: 1px solid var(--pc-line);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #f7f9fc;
  color: var(--pc-ink);
  font-size: 22px;
  line-height: 1;
}
.pc-enquiry p.pc-dialog-intro {
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0 0;
  color: var(--pc-muted);
  max-width: 58ch;
}
.pc-mode-switch {
  border: 0;
  background: none;
  padding: 0;
  color: #346b92;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  margin-top: 9px;
}
.pc-steps {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.pc-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8a919e;
}
.pc-steps li span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid #d8deea;
  font-size: 10px;
  font-weight: 700;
}
.pc-steps li[aria-current="step"] {
  color: var(--pc-ink);
  font-weight: 700;
}
.pc-steps li[aria-current="step"] span {
  background: var(--pc-ink);
  color: #fff;
  border-color: var(--pc-ink);
}
.pc-form {
  margin: 0;
}
.pc-form-step {
  border: 0;
  margin: 0;
  padding: 25px 32px 12px;
  min-width: 0;
}
.pc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.pc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.pc-field-wide {
  grid-column: 1/-1;
}
.pc-field > label {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 750;
  color: #29314b;
}
.pc-field > label span {
  font-weight: 500;
  color: #788092;
}
.pc-field input,
.pc-field textarea,
.pc-field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  max-width: 100%;
  border: 1px solid #ccd4df;
  border-radius: 5px;
  background: #fff;
  color: var(--pc-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  padding: 11px 12px;
  outline-offset: 2px;
}
.pc-field textarea {
  resize: vertical;
  min-height: 96px;
}
.pc-field select {
  padding-right: 25px;
}
.pc-field input:focus,
.pc-field select:focus,
.pc-field textarea:focus {
  border-color: #477ba8;
}
.pc-field input::placeholder,
.pc-field textarea::placeholder {
  color: #81889a;
  font-size: 13px;
}
.pc-help {
  font-size: 11px;
  color: #727b8c;
  line-height: 1.6;
  margin: 0 !important;
}
.pc-price-note {
  background: #f3f6fa;
  padding: 10px 12px;
  border-left: 2px solid #f2b45f;
  color: #4b596e;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 !important;
}
.pc-permission {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #526076;
  line-height: 1.6;
  grid-column: 1/-1;
}
.pc-permission input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--pc-ink);
  flex-shrink: 0;
}
.pc-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 32px 25px;
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 2;
  border-top: 1px solid #edf0f5;
  margin-top: 14px;
}
.pc-form-back {
  background: none;
  border: 0;
  border-bottom: 1px solid #8993a4;
  padding: 5px 0;
  color: #526076;
  font-size: 13px;
}


.pc-footer-note {
  font-size: 11px;
  line-height: 1.5;
  color: #778091;
  max-width: 210px;
  margin: 0 !important;
}
.pc-enquiry .pc-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #bfcada;
  border-radius: 5px;
  background: white;
  color: var(--pc-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  padding: 10px 18px;
}
.pc-review {
  padding: 27px 32px 30px;
}
.pc-review > p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 15px !important;
}
.pc-review .pc-review-notice {
  background: #fff5e5;
  border: 1px solid #f0d6ac;
  padding: 12px 15px;
  border-radius: 5px;
  color: #5f4e38;
  font-size: 13px;
  line-height: 1.7;
}
.pc-request-text {
  background: #f5f7fb;
  border: 1px solid #dce3ed;
  padding: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font:
    12px/1.8 Manrope,
    Arial,
    sans-serif;
  border-radius: 5px;
  max-height: 260px;
  overflow: auto;
  color: #37435a;
  margin: 18px 0;
}
.pc-review-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pc-review-status {
  font-size: 12px !important;
  color: #526076;
  margin-top: 12px !important;
  min-height: 0;
}
.pc-review-edit {
  display: block;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #526076;
  font-size: 12px;
  padding: 8px 0;
  margin-top: 15px;
}
@media (max-width: 600px) {
  .pc-enquiry {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 9px;
  }
  .pc-dialog-head {
    padding: 20px 20px 17px;
  }
  .pc-enquiry h2.pc-dialog-title {
    font-size: 26px;
  }
  .pc-dialog-close {
    right: 15px;
    top: 18px;
    width: 32px;
    height: 32px;
  }
  .pc-dialog-brand {
    font-size: 9px;
    max-width: 80%;
  }
  .pc-dialog-intro {
    font-size: 12px !important;
  }
  .pc-form-step {
    padding: 21px 20px 10px;
  }
  .pc-fields {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pc-field input,
  .pc-field select,
  .pc-field textarea {
    font-size: 16px;
    min-height: 48px;
  }
  .pc-field > label {
    font-size: 14px;
  }
  .pc-form-footer {
    padding: 17px 20px 20px;
    gap: 12px;
  }
  .pc-footer-note {
    font-size: 10px;
    max-width: 130px;
  }

  .pc-steps {
    gap: 18px;
    margin-top: 16px;
  }
  .pc-steps li {
    font-size: 11px;
  }
  .pc-review {
    padding: 21px 20px;
  }
  .pc-review-actions {
    align-items: stretch;
  }
  .pc-request-text {
    font-size: 11px;
  }
  .pc-enquiry .pc-secondary {
    font-size: 12px;
    padding: 10px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pc-enquiry {
    scroll-behavior: auto;
  }
}
/* Current CTA styling. Keep the original enquiry bundle unchanged for Home. */
.pc-enquiry {
  --pc-ink: #11283b;
  --pc-muted: #5c6a76;
  --pc-line: #d9dedf;
  --pc-accent: #d9b968;
  border-radius: 22px;
  background: #f5f3ed;
  font-family: Manrope, Arial, sans-serif;
}
.pc-dialog-head {
  background: #11283b;
  border-bottom: 0;
  padding: 27px 32px 23px;
}
.pc-dialog-brand {
  color: #d9b968;
  font-size: 10px;
  letter-spacing: 0.13em;
}
.pc-enquiry h2.pc-dialog-title {
  color: #f5f3ed;
  font-size: 34px;
  letter-spacing: -0.045em;
}
.pc-dialog-close {
  background: transparent;
  color: #f5f3ed;
  border-color: #ffffff35;
  width: 37px;
  height: 37px;
}
.pc-enquiry p.pc-dialog-intro {
  color: #e2e7e9;
  font-size: 13px;
  line-height: 1.7;
}
.pc-mode-switch {
  color: #d9b968;
  font-size: 12px;
  text-underline-offset: 4px;
}
.pc-steps li {
  color: #ccd4d8;
}
.pc-steps li b {
  font-weight: inherit;
}
.pc-steps li[aria-current="step"] {
  color: white;
}
.pc-steps li span {
  border-color: #ffffff55;
}
.pc-steps li[aria-current="step"] span {
  background: #d9b968;
  color: #11283b;
  border-color: #d9b968;
}
.pc-form-footer {
  background: #f5f3ed;
  border-color: #d9dedf;
}
.pc-field input,
.pc-field select,
.pc-field textarea {
  border-color: #cbd2d5;
  border-radius: 8px;
  background: #fff;
  min-height: 48px;
  font-size: 16px;
}
.pc-field > label {
  font-size: 13px;
  color: #11283b;
}
.pc-help {
  font-size: 11px;
  color: #5c6a76;
}


.pc-enquiry .pc-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}
.pc-review-edit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.pc-enquiry .pc-secondary {
  border-radius: 50px;
  background: transparent;
  border-color: #c3ccd1;
}
.pc-review .pc-review-notice {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #5c6a76;
}
.pc-request-text {
  background: #fff;
  border-color: #d9dedf;
  border-radius: 10px;
  font-size: 12px;
  max-height: 290px;
}
.pc-review-status.pc-error {
  color: #a32924;
  font-weight: 650;
  padding: 12px 14px;
  background: #fff0ec;
  border-radius: 8px;
}
.pc-call-plan {
  padding: 19px 20px 16px;
  border: 1px solid #d5dce0;
  border-radius: 12px;
  background: #eaf0f2;
}
.pc-call-kicker {
  margin: 0 0 15px !important;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #11283b;
}
.pc-call-plan > .pc-help {
  margin-top: 12px !important;
}
.pc-call-mode .pc-call-plan {
  grid-row: 1;
}
.pc-success {
  padding: 30px 32px 35px;
}
.pc-success-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #d9b968;
  color: #11283b;
  border-radius: 50%;
  font-size: 26px;
  margin-bottom: 20px;
}
.pc-success-copy {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
  color: #11283b;
  max-width: 52ch;
}
.pc-success-reference {
  font-size: 12px;
  line-height: 1.7;
  color: #5c6a76;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .pc-enquiry {
    border-radius: 16px;
  }
  .pc-dialog-head {
    padding: 22px 20px 20px;
  }
  .pc-enquiry h2.pc-dialog-title {
    font-size: 29px;
  }
  .pc-field input,
  .pc-field select,
  .pc-field textarea {
    font-size: 16px;
  }
  .pc-field > label {
    font-size: 13px;
  }
  .pc-call-plan {
    padding: 17px 15px;
  }
  .pc-call-plan .pc-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .pc-success {
    padding: 24px 20px 28px;
  }
  .pc-success-copy {
    font-size: 15px;
  }
}
/* Case-study button rules must not override the shared dialog controls. */
.pc-enquiry .pc-dialog-head {
  color: #f5f3ed;
}
.pc-enquiry .pc-dialog-close {
  color: #f5f3ed;
}
.pc-enquiry .pc-mode-switch {
  color: #d9b968;
}
.pc-enquiry .pc-form-back,
.pc-enquiry .pc-review-edit {
  color: #526076;
}

/* Shared compact styling for project briefs and call requests. */
.pc-compact-mode .pc-dialog-head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  padding: 20px 24px 18px;
}
.pc-compact-mode .pc-dialog-brand {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}
.pc-compact-mode .pc-dialog-brand img {
  width: 32px;
}
.pc-compact-mode h2.pc-dialog-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding-right: 40px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -0.035em;
}
.pc-compact-mode p.pc-dialog-intro {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.pc-compact-mode .pc-mode-switch {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0;
  font-size: 14px;
}
.pc-compact-mode .pc-steps {
  grid-column: 1 / -1;
  gap: 20px;
  margin: 8px 0 0;
}
.pc-compact-mode .pc-steps li {
  font-size: 14px;
}
.pc-compact-mode .pc-form-step {
  padding: 20px 24px 12px;
}
.pc-compact-mode .pc-fields {
  gap: 18px 20px;
}
.pc-compact-mode .pc-field {
  gap: 8px;
}
.pc-compact-mode .pc-field > label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.pc-compact-mode .pc-field > label span {
  font-weight: 400;
  white-space: nowrap;
}
.pc-compact-mode .pc-field input,
.pc-compact-mode .pc-field select,
.pc-compact-mode .pc-field textarea {
  min-height: 48px;
  font-size: 16px;
  line-height: 1.5;
}
.pc-compact-mode .pc-field input::placeholder,
.pc-compact-mode .pc-field textarea::placeholder {
  font-size: 14px;
}
.pc-compact-mode .pc-help {
  font-size: 14px;
  line-height: 1.5;
}
.pc-compact-mode .pc-call-plan {
  padding: 16px;
}
.pc-compact-mode .pc-call-kicker {
  display: none;
}
.pc-compact-mode .pc-form-footer {
  margin-top: 8px;
  padding: 16px 24px 20px;
}
.pc-compact-mode .pc-next {
  margin-left: auto;
}
.pc-compact-mode .pc-primary,
.pc-compact-mode .pc-secondary,
.pc-compact-mode .pc-form-back,
.pc-compact-mode .pc-review-edit {
  font-size: 14px;
}
.pc-compact-mode .pc-review {
  padding: 20px 24px 24px;
}
.pc-compact-mode .pc-request-text {
  font-size: 14px;
}
@media (max-width: 600px) {
  .pc-compact-mode .pc-dialog-head {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 18px 20px 16px;
  }
  .pc-compact-mode .pc-dialog-brand img {
    width: 28px;
  }
  .pc-compact-mode .pc-dialog-close {
    top: 18px;
    right: 18px;
  }
  .pc-compact-mode h2.pc-dialog-title {
    font-size: 26px;
  }
  .pc-compact-mode .pc-form-step {
    padding: 18px 20px 10px;
  }
  .pc-compact-mode .pc-fields {
    gap: 18px;
  }
  .pc-compact-mode .pc-form-footer {
    padding: 16px 20px 20px;
  }
}

.pc-compact-mode .pc-price-note {
  font-size: 14px;
  line-height: 1.5;
}

/* src/styles/components/cta.css */
/* Shared actions. Home reuses Services' primary and About's secondary styles. */
.pc-button,
.pc-footer .pc-button,
.si-page .si-button,
.pc-enquiry .pc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 54px;
  max-width: 100%;
  padding: 11px 11px 11px 24px;
  border: 1px solid var(--pc-cta-gold, var(--gd-gold, #d9b968));
  border-radius: 45px;
  background: var(--pc-cta-gold, var(--gd-gold, #d9b968));
  color: var(--pc-cta-ink, var(--gd-navy, #11283b));
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--pc-type-control, calc(13px + 2pt));
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.25s, background 0.25s;
}
.pc-button > span:last-child,
.pc-footer .pc-button > span:last-child,
.si-page .si-button > span,
.pc-enquiry .pc-primary > span:last-child {
  display: grid;
  flex: none;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #11283b30;
  border-radius: 50%;
}
.pc-button svg,
.pc-footer .pc-button svg,
.si-page .si-button svg,
.pc-enquiry .pc-primary svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pc-button:hover,
.pc-footer .pc-button:hover,
.si-page .si-button:hover,
.pc-enquiry .pc-primary:hover {
  background: #e8cc83;
  color: var(--pc-cta-ink, var(--gd-navy, #11283b));
  transform: translateY(-2px);
}
.pc-text-link,
.ab-page .ab-text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 0 11px;
  border: 0;
  color: var(--pc-cta-ink, var(--ab-navy, #11283b));
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--pc-type-control, calc(13px + 2pt));
  font-weight: 650;
  line-height: 1.6;
  text-decoration: none;
}
.pc-text-link::after,
.ab-page .ab-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.3s;
}
.pc-text-link > svg,
.ab-page .ab-text-link svg {
  display: block;
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}
.pc-text-link:hover::after,
.ab-page .ab-text-link:hover::after {
  transform: scaleX(1);
}
.pc-text-link:hover > svg,
.ab-page .ab-text-link:hover svg {
  transform: translateX(4px);
}
.pc-text-link.pc-text-link--light,
.ab-page .ab-link-light {
  color: var(--pc-cta-paper, var(--ab-paper, #f7f4ed));
}
.pc-button:focus-visible,
.pc-enquiry .pc-primary:focus-visible,
.pc-text-link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
}
.pc-button:focus-visible,
.pc-footer .pc-button:focus-visible {
  color: var(--pc-cta-ink, var(--gd-navy, #11283b));
}
.pc-footer .pc-button:focus-visible {
  outline: 3px solid var(--pc-cta-paper, #f7f4ed);
  outline-offset: 6px;
}
.pc-cta-options {
  display: flex;
  align-items: center;
  justify-content: inherit;
  flex-wrap: wrap;
  gap: 14px 16px;
}
.pc-call-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  transition: gap 0.2s ease;
}
.pc-call-link:hover {
  gap: 19px;
}
.pc-call-link::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  background: linear-gradient(
    -45deg,
    transparent 45%,
    currentColor 46%,
    currentColor 54%,
    transparent 55%
  );
  transform: translateY(1px);
  flex: none;
}
.pc-call-link:focus-visible {
  outline: 3px solid #d9b968;
  outline-offset: 6px;
}
.pc-booking-note {
  font-size: 12px;
  line-height: 1.65;
  color: inherit;
  opacity: 0.75;
  margin: 10px 0 0;
  max-width: 45ch;
}
.pc-hp,
.pc-form-trap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 600px) {
  .pc-cta-options {
    gap: 12px 16px;
  }
  .pc-call-link {
    font-size: 14px;
  }
}
@media (max-width: 980px) {
  .pc-button,
  .pc-footer .pc-button,
  .si-page .si-button,
.pc-enquiry .pc-primary {
    gap: 20px;
    min-height: 54px;
  }
}
@media (max-width: 700px) {
  .pc-button,
  .pc-footer .pc-button,
  .si-page .si-button,
.pc-enquiry .pc-primary {
    gap: 23px;
    min-height: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pc-call-link,
  .pc-button,
  .pc-footer .pc-button,
  .si-page .si-button,
  .pc-enquiry .pc-primary,
  .pc-text-link::after,
  .pc-text-link > svg,
  .ab-page .ab-text-link::after,
  .ab-page .ab-text-link svg {
    transition: none;
  }
  .pc-button:hover,
  .pc-footer .pc-button:hover,
  .si-page .si-button:hover,
  .pc-enquiry .pc-primary:hover,
  .pc-text-link:hover > svg,
  .ab-page .ab-text-link:hover svg {
    transform: none;
  }
}
