/*
 * Plumbing 4 London — Modern Contact Page (/contact/)
 * Scoped 100% under .p4l-ct so Site Header (#625) and Footer (#624) remain untouched.
 */

.p4l-ct {
  --ct-navy-deep: var(--p4l-navy-deep, #0b1220);
  --ct-navy: var(--p4l-navy, #0f1a2e);
  --ct-navy-raised: var(--p4l-navy-raised, #16233b);
  --ct-accent: var(--p4l-accent, #de2627);
  --ct-accent-hover: var(--p4l-accent-hover, #b81c1d);
  --ct-accent-tint: var(--p4l-accent-tint, #fef2f2);
  --ct-bg: var(--p4l-bg, #f5f7fa);
  --ct-white: var(--p4l-white, #ffffff);
  --ct-ink: var(--p4l-ink, #111827);
  --ct-secondary: var(--p4l-secondary, #4b5565);
  --ct-muted: var(--p4l-muted, #6b7487);
  --ct-border: var(--p4l-border, rgba(17, 24, 39, 0.09));
  --ct-border-strong: var(--p4l-border-strong, rgba(17, 24, 39, 0.16));
  --ct-gold: #f59e0b;
  --ct-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ct-font-head: var(--p4l-font-head, 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  --ct-font-body: var(--p4l-font-body, 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);

  font-family: var(--ct-font-body);
  color: var(--ct-ink);
  background: var(--ct-white);
  overflow-x: clip;
}

.p4l-ct *,
.p4l-ct *::before,
.p4l-ct *::after {
  box-sizing: border-box;
}

.p4l-ct-num {
  font-variant-numeric: tabular-nums;
}

.p4l-ct-star {
  display: inline;
  color: var(--ct-gold);
}

.p4l-ct-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.p4l-ct-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.p4l-ct-wrap {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding-inline: clamp(18px, 3vw, 36px);
}

.p4l-ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ct-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: var(--ct-accent);
  margin-bottom: 12px;
}

.p4l-ct-eyebrow--dark {
  color: #fca5a5;
}

.p4l-ct-eyebrow--center {
  justify-content: center;
}

.p4l-ct-eyebrow__bar {
  width: 24px;
  height: 2px;
  background: var(--ct-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* S1: COMPACT DEEP NAVY HERO */
.p4l-ct-hero {
  position: relative;
  background: var(--ct-navy-deep);
  color: #ffffff;
  overflow: hidden;
  padding: clamp(36px, 4.4vw, 52px) 0 clamp(34px, 4vw, 46px);
}

.p4l-ct-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p4l-ct-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.42;
}

.p4l-ct-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b1220 0%, rgba(11, 18, 32, 0.95) 44%, rgba(11, 18, 32, 0.58) 76%, rgba(11, 18, 32, 0.34) 100%);
}

.p4l-ct-hero__inner {
  position: relative;
  z-index: 1;
}

.p4l-ct-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 18px;
}

.p4l-ct-crumb a,
.p4l-ct-crumb a:visited {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none;
}

.p4l-ct-crumb a:hover {
  color: #ffffff !important;
}

.p4l-ct-crumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
}

.p4l-ct-hero__copy {
  max-width: 680px;
}

.p4l-ct-hero__title {
  font-family: var(--ct-font-head);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.028em;
  color: #ffffff !important;
  margin: 0 0 14px;
}

.p4l-ct-hero__lead {
  font-size: clamp(15.5px, 1.4vw, 17px);
  color: rgba(238, 240, 245, 0.85);
  margin: 0 0 28px;
  max-width: 590px;
  line-height: 1.56;
}

.p4l-ct-proof-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(15, 26, 46, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.p4l-ct-proof-cell {
  padding: 16px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.p4l-ct-proof-cell:last-child {
  border-right: none;
}

.p4l-ct-proof-cell strong {
  display: block;
  font-family: var(--ct-font-head);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.p4l-ct-proof-cell > span {
  display: block;
  font-size: 12.5px;
  color: rgba(238, 240, 245, 0.68);
}

/* S2: MAIN SPLIT CONTACT & SMART FORM SECTION */
.p4l-ct-main {
  background: var(--ct-bg);
  padding: clamp(36px, 4.4vw, 56px) 0 clamp(44px, 5vw, 62px);
}

.p4l-ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* MODERN 3-STEP FORM CARD */
.p4l-ct-form-card {
  background: var(--ct-white);
  border: 1px solid var(--ct-border);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 8px 30px rgba(11, 18, 32, 0.04);
  scroll-margin-top: 96px;
}

body.admin-bar .p4l-ct-form-card {
  scroll-margin-top: 128px;
}

@media (max-width: 782px) {
  body.admin-bar .p4l-ct-form-card {
    scroll-margin-top: 140px;
  }
}

@media (max-width: 600px) {
  body.admin-bar .p4l-ct-form-card {
    scroll-margin-top: 92px;
  }
}

.p4l-ct-form-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ct-border);
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.p4l-ct-form-card__title {
  font-family: var(--ct-font-head);
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ct-ink);
}

.p4l-ct-form-card__sub {
  font-size: 14.5px;
  color: var(--ct-secondary);
  margin: 0;
}

.p4l-ct-reply-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.p4l-ct-reply-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

/* STEP FIELDSETS */
.p4l-ct-step {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}

.p4l-ct-step:last-of-type {
  margin-bottom: 0;
}

.p4l-ct-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  margin: 0 0 13px;
  flex-wrap: wrap;
}

.p4l-ct-step__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
}

.p4l-ct-step__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ct-navy);
  color: #ffffff;
  font-family: var(--ct-font-head);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p4l-ct-step__title {
  font-family: var(--ct-font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ct-ink);
}

.p4l-ct-step__hint {
  font-size: 12.5px;
  color: var(--ct-muted);
  font-weight: 500;
}

.p4l-ct-req {
  color: var(--ct-accent);
}

.p4l-ct-opt {
  color: var(--ct-muted);
  font-weight: 400;
}

/* STEP 1: URGENCY CARDS */
.p4l-ct-urgency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.p4l-ct-urg-card {
  position: relative;
  border: 1.5px solid var(--ct-border-strong);
  border-radius: 12px;
  padding: 13px 15px;
  background: var(--ct-white);
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  transition: border-color 150ms var(--ct-ease), background-color 150ms var(--ct-ease);
}

.p4l-ct-urg-card:hover {
  border-color: var(--ct-navy);
}

.p4l-ct-urg-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.p4l-ct-urg-card:focus-within {
  outline: none;
}

.p4l-ct-urg-card:has(input:focus-visible) {
  outline: 2px solid var(--ct-accent);
  outline-offset: 1px;
}

.p4l-ct-urg-card.is-selected {
  border-color: var(--ct-accent);
  background: var(--ct-accent-tint);
}

.p4l-ct-urg-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  margin-top: 2px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.p4l-ct-urg-card.is-selected .p4l-ct-urg-radio {
  border-color: var(--ct-accent);
}

.p4l-ct-urg-card.is-selected .p4l-ct-urg-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ct-accent);
}

.p4l-ct-urg-card strong {
  display: block;
  font-family: var(--ct-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ct-ink);
  line-height: 1.25;
}

.p4l-ct-urg-card.is-selected strong {
  color: #991b1b;
}

.p4l-ct-urg-card small {
  display: block;
  font-size: 12.5px;
  color: var(--ct-muted);
  margin-top: 2px;
}

.p4l-ct-emg-strip {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 13px;
  color: #7c2d12;
}

.p4l-ct-emg-strip a,
.p4l-ct-emg-strip a:visited {
  color: #991b1b !important;
  font-weight: 700;
  text-decoration: underline;
}

/* STEP 2: DYNAMIC CATEGORY TABS + 2-COLUMN SERVICE TILES */
.p4l-ct-cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #f1f4f8;
  padding: 5px;
  border-radius: 11px;
  margin-bottom: 14px;
}

.p4l-ct-cat-tab {
  flex: 1 1 auto;
  min-width: 112px;
  border: 0;
  background: transparent;
  font-family: var(--ct-font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ct-secondary);
  padding: 9px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 150ms var(--ct-ease), color 150ms var(--ct-ease), box-shadow 150ms var(--ct-ease);
}

.p4l-ct-cat-tab:hover {
  color: var(--ct-navy-deep);
}

.p4l-ct-cat-cnt {
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(17, 24, 39, 0.08);
  color: var(--ct-secondary);
  padding: 1px 7px;
  border-radius: 999px;
}

.p4l-ct-cat-tab.is-active {
  background: var(--ct-white);
  color: var(--ct-navy-deep);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(11, 18, 32, 0.08);
}

.p4l-ct-cat-tab.is-active .p4l-ct-cat-cnt {
  background: var(--ct-navy);
  color: #ffffff;
}

.p4l-ct-selected-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid var(--ct-border);
  border-radius: 10px;
}

.p4l-ct-selected-bar__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ct-muted);
}

.p4l-ct-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p4l-ct-sel-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ct-navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}

.p4l-ct-sel-chip:hover {
  background: var(--ct-accent);
}

.p4l-ct-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.p4l-ct-svc-grid.is-scrollable {
  max-height: 186px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 4px 10px 6px 4px;
  margin: -4px -4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 26, 46, 0.28) rgba(15, 26, 46, 0.05);
}

.p4l-ct-svc-grid.is-scrollable::-webkit-scrollbar {
  width: 6px;
}

.p4l-ct-svc-grid.is-scrollable::-webkit-scrollbar-track {
  background: rgba(15, 26, 46, 0.05);
  border-radius: 999px;
}

.p4l-ct-svc-grid.is-scrollable::-webkit-scrollbar-thumb {
  background: rgba(15, 26, 46, 0.26);
  border-radius: 999px;
}

.p4l-ct-svc-grid.is-scrollable::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 26, 46, 0.44);
}

.p4l-ct-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ct-muted);
  transition: opacity 160ms var(--ct-ease);
}

.p4l-ct-scroll-hint.is-at-end {
  opacity: 0.45;
}

.p4l-ct-svc-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--ct-border-strong);
  border-radius: 10px;
  background: var(--ct-white);
  font-size: 14px;
  font-weight: 500;
  color: var(--ct-ink);
  cursor: pointer;
  transition: border-color 140ms var(--ct-ease), background-color 140ms var(--ct-ease);
}

.p4l-ct-svc-tile:hover {
  border-color: var(--ct-navy);
}

.p4l-ct-svc-tile input,
.p4l-ct-other-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.p4l-ct-svc-tile:focus-within,
.p4l-ct-other-row:focus-within {
  outline: none;
}

.p4l-ct-svc-tile:has(input:focus-visible),
.p4l-ct-other-row:has(input:focus-visible) {
  box-shadow: 0 0 0 2px rgba(222, 38, 39, 0.30);
}

.p4l-ct-svc-tile__left,
.p4l-ct-other-row__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.p4l-ct-svc-name {
  line-height: 1.3;
}

.p4l-ct-svc-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: transparent;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 140ms var(--ct-ease), border-color 140ms var(--ct-ease);
}

.p4l-ct-svc-tile.is-selected,
.p4l-ct-other-row.is-selected {
  border-color: var(--ct-accent);
  background: var(--ct-accent-tint);
  color: #991b1b;
  font-weight: 600;
}

.p4l-ct-svc-tile.is-selected .p4l-ct-svc-check,
.p4l-ct-other-row.is-selected .p4l-ct-svc-check {
  background: var(--ct-accent);
  border-color: var(--ct-accent);
  color: #ffffff;
}

.p4l-ct-svc-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.p4l-ct-svc-tag--red {
  background: #fee2e2;
  color: #b91c1c;
}

.p4l-ct-svc-tag--navy {
  background: #e8edf5;
  color: var(--ct-navy);
}

.p4l-ct-other-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 11px 14px;
  background: #f8fafc;
  border: 1.5px dashed rgba(17, 24, 39, 0.20);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ct-ink);
  cursor: pointer;
  transition: border-color 140ms var(--ct-ease), background-color 140ms var(--ct-ease);
}

.p4l-ct-other-row:hover {
  border-color: var(--ct-navy);
}

.p4l-ct-sync-note {
  font-size: 12px;
  font-weight: 500;
  color: var(--ct-muted);
}

/* STEP 3: INPUTS, EXTRAS & SUBMIT */
.p4l-ct-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-bottom: 14px;
}

.p4l-ct-field {
  display: flex;
  flex-direction: column;
}

.p4l-ct-field--full {
  margin-bottom: 14px;
}

.p4l-ct-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ct-ink);
  margin-bottom: 6px;
}

.p4l-ct-field input[type="text"],
.p4l-ct-field input[type="tel"],
.p4l-ct-field input[type="email"],
.p4l-ct-field textarea {
  width: 100%;
  border: 1.5px solid var(--ct-border-strong);
  border-radius: 9px;
  background: var(--ct-white);
  font-family: var(--ct-font-body);
  font-size: 15px;
  color: var(--ct-ink);
  transition: border-color 150ms var(--ct-ease), box-shadow 150ms var(--ct-ease);
}

.p4l-ct-field input[type="text"],
.p4l-ct-field input[type="tel"],
.p4l-ct-field input[type="email"] {
  height: 45px;
  padding: 0 14px;
}

.p4l-ct-field textarea {
  padding: 12px 14px;
  resize: vertical;
  min-height: 82px;
  line-height: 1.5;
}

.p4l-ct-field input:focus,
.p4l-ct-field textarea:focus {
  outline: none;
  border-color: var(--ct-navy);
  box-shadow: 0 0 0 3px rgba(15, 26, 46, 0.10);
}

.p4l-ct-field.has-error input,
.p4l-ct-field.has-error textarea {
  border-color: var(--ct-accent);
  background: #fffafa;
}

.p4l-ct-field-err {
  margin: 5px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ct-accent);
}

.p4l-ct-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.p4l-ct-prop-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.p4l-ct-prop-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ct-secondary);
  margin-right: 4px;
}

.p4l-ct-prop-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 7px;
  border: 1px solid var(--ct-border-strong);
  color: var(--ct-secondary);
  background: var(--ct-white);
  cursor: pointer;
  transition: background-color 140ms var(--ct-ease), border-color 140ms var(--ct-ease), color 140ms var(--ct-ease);
}

.p4l-ct-prop-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.p4l-ct-prop-pill.is-active {
  background: var(--ct-navy);
  border-color: var(--ct-navy);
  color: #ffffff;
}

.p4l-ct-attach-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ct-navy);
  background: #f1f5f9;
  border: 1px solid var(--ct-border-strong);
  padding: 8px 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 140ms var(--ct-ease), border-color 140ms var(--ct-ease);
}

.p4l-ct-attach-btn:hover {
  background: #e2e8f0;
  border-color: var(--ct-navy);
}

.p4l-ct-photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.p4l-ct-photo-item {
  position: relative;
  width: 78px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ct-border-strong);
  background: var(--ct-bg);
}

.p4l-ct-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p4l-ct-photo-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0;
  background: rgba(11, 18, 32, 0.82);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.p4l-ct-consent-wrap {
  margin-bottom: 18px;
}

.p4l-ct-consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ct-secondary);
  cursor: pointer;
  line-height: 1.45;
}

.p4l-ct-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.p4l-ct-consent-box {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 140ms var(--ct-ease), border-color 140ms var(--ct-ease);
}

.p4l-ct-consent input:checked + .p4l-ct-consent-box {
  background: var(--ct-navy);
  border-color: var(--ct-navy);
  color: #ffffff;
}

.p4l-ct-consent a {
  color: var(--ct-navy);
  font-weight: 600;
  text-decoration: underline;
}

.p4l-ct-form-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--ct-accent-tint);
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 13.5px;
  font-weight: 600;
}

.p4l-ct-submit-btn {
  width: 100%;
  min-height: 52px;
  padding: 13px clamp(14px, 3vw, 22px);
  border: 0;
  border-radius: 10px;
  background: var(--ct-accent);
  color: #ffffff;
  font-family: var(--ct-font-head);
  font-size: clamp(13.5px, 3.7vw, 16px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 150ms var(--ct-ease), transform 120ms var(--ct-ease), opacity 150ms var(--ct-ease);
}

.p4l-ct-submit-btn__text,
.p4l-ct-submit-btn__icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.p4l-ct-submit-btn:hover {
  background: var(--ct-accent-hover);
}

.p4l-ct-submit-btn:active {
  transform: scale(0.99);
}

.p4l-ct-submit-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.p4l-ct-reassure {
  text-align: center;
  font-size: 12.5px;
  color: var(--ct-muted);
  margin: 11px 0 0;
}

/* SUCCESS PANEL */
.p4l-ct-success {
  text-align: center;
  padding: 34px 20px 26px;
}

.p4l-ct-success__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.p4l-ct-success__title {
  font-family: var(--ct-font-head);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ct-ink);
}

.p4l-ct-success__msg {
  font-size: 15px;
  color: var(--ct-secondary);
  max-width: 480px;
  margin: 0 auto 16px;
  line-height: 1.55;
}

.p4l-ct-success__ref {
  display: inline-block;
  background: var(--ct-bg);
  border: 1px solid var(--ct-border-strong);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13.5px;
  color: var(--ct-ink);
  margin-bottom: 22px;
}

.p4l-ct-success__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.p4l-ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 9px;
  font-family: var(--ct-font-head);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.p4l-ct-btn--red,
.p4l-ct-btn--red:visited {
  background: var(--ct-accent);
  color: #ffffff !important;
}

.p4l-ct-btn--red:hover {
  background: var(--ct-accent-hover);
}

.p4l-ct-btn--ghost {
  background: var(--ct-white);
  border-color: var(--ct-border-strong);
  color: var(--ct-ink);
}

/* RIGHT STICKY RAIL */
.p4l-ct-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 24px;
}

.p4l-ct-dispatch {
  background: var(--ct-navy);
  color: #ffffff;
  border-radius: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.p4l-ct-dispatch__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ct-font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fca5a5;
  margin-bottom: 10px;
}

.p4l-ct-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ct-accent);
}

.p4l-ct-dispatch__phone,
.p4l-ct-dispatch__phone:visited {
  display: block;
  font-family: var(--ct-font-head);
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  line-height: 1.1;
  text-decoration: none;
  margin-bottom: 16px;
}

.p4l-ct-dispatch__btn,
.p4l-ct-dispatch__btn:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  background: var(--ct-accent);
  color: #ffffff !important;
  border-radius: 9px;
  font-family: var(--ct-font-head);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 20px;
}

.p4l-ct-dispatch__btn:hover {
  background: var(--ct-accent-hover);
}

.p4l-ct-dispatch__list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(238, 240, 245, 0.86);
}

.p4l-ct-dispatch__item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.p4l-ct-dispatch__item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #fca5a5;
}

.p4l-ct-dispatch__item strong {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(238, 240, 245, 0.56);
  font-weight: 600;
}

.p4l-ct-dispatch__item a,
.p4l-ct-dispatch__item a:visited {
  color: #ffffff !important;
  text-decoration: none;
}

.p4l-ct-dispatch__item a:hover {
  text-decoration: underline;
}

.p4l-ct-eng-card {
  background: var(--ct-white);
  border: 1px solid var(--ct-border);
  border-radius: 16px;
  padding: 22px;
}

.p4l-ct-eng-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.p4l-ct-eng-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--ct-bg);
  flex-shrink: 0;
}

.p4l-ct-eng-name {
  font-family: var(--ct-font-head);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px;
}

.p4l-ct-eng-name a,
.p4l-ct-eng-name a:visited {
  color: var(--ct-ink) !important;
  text-decoration: none;
}

.p4l-ct-eng-name a:hover {
  color: var(--ct-accent) !important;
}

.p4l-ct-eng-role {
  font-size: 12.5px;
  color: var(--ct-secondary);
  margin: 0;
}

.p4l-ct-eng-copy {
  font-size: 13.5px;
  color: var(--ct-secondary);
  margin: 0 0 14px;
  line-height: 1.5;
}

.p4l-ct-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.p4l-ct-trust-badge,
.p4l-ct-trust-badge:visited {
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 12px;
  text-decoration: none;
  display: block;
}

.p4l-ct-trust-badge:hover {
  border-color: var(--ct-navy);
}

.p4l-ct-trust-badge strong {
  display: block;
  font-family: var(--ct-font-head);
  font-size: 13px;
  color: var(--ct-ink);
}

.p4l-ct-trust-badge > span {
  color: var(--ct-muted);
}

.p4l-ct-gas-alert {
  background: var(--ct-accent-tint);
  border: 1px solid #fecaca;
  border-left: 4px solid var(--ct-accent);
  border-radius: 12px;
  padding: 15px 17px;
  font-size: 13.5px;
  color: #7f1d1d;
  line-height: 1.48;
}

.p4l-ct-gas-alert strong,
.p4l-ct-gas-alert a,
.p4l-ct-gas-alert a:visited {
  color: #991b1b !important;
  font-weight: 700;
}

.p4l-ct-faq-card {
  background: var(--ct-white);
  border: 1px solid var(--ct-border);
  border-radius: 16px;
  padding: 20px 22px;
}

.p4l-ct-faq-card h3 {
  font-family: var(--ct-font-head);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ct-ink);
}

.p4l-ct-faq-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.p4l-ct-faq-item {
  padding-top: 10px;
  border-top: 1px solid var(--ct-border);
}

.p4l-ct-faq-item:first-child {
  padding-top: 0;
  border-top: none;
}

.p4l-ct-faq-item strong {
  display: block;
  font-size: 13.2px;
  font-weight: 700;
  color: var(--ct-ink);
  margin-bottom: 2px;
}

.p4l-ct-faq-item span {
  display: block;
  font-size: 12.6px;
  color: var(--ct-secondary);
  line-height: 1.45;
}

/* S3: GOOGLE BUSINESS PROFILE & EMBEDDED GOOGLE MAPS */
.p4l-ct-gm {
  background: var(--ct-white);
  padding: clamp(44px, 5vw, 64px) 0;
  border-top: 1px solid var(--ct-border);
}

.p4l-ct-gm__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.p4l-ct-gm__title {
  font-family: var(--ct-font-head);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ct-ink);
}

.p4l-ct-gm__sub {
  font-size: 14.5px;
  color: var(--ct-secondary);
  max-width: 460px;
  margin: 0;
  text-align: right;
}

.p4l-ct-gm-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.48fr);
  border: 1px solid var(--ct-border-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--ct-white);
  box-shadow: 0 10px 32px rgba(11, 18, 32, 0.05);
}

.p4l-ct-gm-info {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border-right: 1px solid var(--ct-border);
}

.p4l-ct-gbp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.p4l-ct-gbp-g {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p4l-ct-gbp-brand h3 {
  font-family: var(--ct-font-head);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--ct-ink);
}

.p4l-ct-gbp-rating {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ct-ink);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.p4l-ct-gbp-muted {
  color: var(--ct-muted);
  font-weight: 400;
}

.p4l-ct-gbp-meta {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.8px;
  color: var(--ct-secondary);
  padding-block: 14px;
  margin-top: 12px;
  border-top: 1px solid var(--ct-border);
  border-bottom: 1px solid var(--ct-border);
}

.p4l-ct-gbp-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.p4l-ct-gbp-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ct-accent);
}

.p4l-ct-areas {
  margin-top: 14px;
}

.p4l-ct-areas__label {
  font-family: var(--ct-font-head);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ct-muted);
  margin-bottom: 8px;
}

.p4l-ct-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p4l-ct-area-chip,
.p4l-ct-area-chip:visited {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ct-ink) !important;
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.p4l-ct-area-chip:hover {
  border-color: var(--ct-navy);
}

.p4l-ct-area-chip--more,
.p4l-ct-area-chip--more:visited {
  background: var(--ct-navy);
  color: #ffffff !important;
  border-color: var(--ct-navy);
  font-weight: 600;
}

.p4l-ct-gm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.p4l-ct-gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--ct-font-head);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.p4l-ct-gm-btn--primary,
.p4l-ct-gm-btn--primary:visited {
  background: var(--ct-navy);
  color: #ffffff !important;
}

.p4l-ct-gm-btn--primary:hover {
  background: var(--ct-navy-deep);
}

.p4l-ct-gm-btn--sec,
.p4l-ct-gm-btn--sec:visited {
  background: var(--ct-white);
  color: var(--ct-ink) !important;
  border: 1.5px solid var(--ct-border-strong);
}

.p4l-ct-gm-btn--sec:hover {
  border-color: var(--ct-navy);
}

.p4l-ct-gm-map {
  position: relative;
  min-height: 450px;
  background: #e8ecf2;
}

.p4l-ct-gm-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* S4: WHAT HAPPENS NEXT */
.p4l-ct-next {
  background: var(--ct-bg);
  padding: clamp(40px, 4.5vw, 56px) 0 clamp(46px, 5vw, 64px);
  border-top: 1px solid var(--ct-border);
}

.p4l-ct-next__head {
  text-align: center;
  margin-bottom: 26px;
}

.p4l-ct-next__title {
  font-family: var(--ct-font-head);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ct-ink);
}

.p4l-ct-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.p4l-ct-next-card {
  background: var(--ct-white);
  border: 1px solid var(--ct-border);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.p4l-ct-next-num {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ct-accent-tint);
  color: var(--ct-accent);
  font-family: var(--ct-font-head);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p4l-ct-next-card h3 {
  font-family: var(--ct-font-head);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--ct-ink);
}

.p4l-ct-next-card p {
  font-size: 13.5px;
  color: var(--ct-secondary);
  margin: 0;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .p4l-ct-grid {
    grid-template-columns: 1fr;
  }
  .p4l-ct-rail {
    position: static;
  }
  .p4l-ct-gm-shell {
    grid-template-columns: 1fr;
  }
  .p4l-ct-gm-info {
    border-right: none;
    border-bottom: 1px solid var(--ct-border);
  }
  .p4l-ct-gm__sub {
    text-align: left;
  }
  .p4l-ct-gm-map {
    min-height: 380px;
  }
  .p4l-ct-next-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .p4l-ct-form-card {
    padding: 22px 18px;
  }
  .p4l-ct-submit-btn {
    font-size: clamp(13px, 3.6vw, 15px);
    padding-inline: 14px;
    gap: 7px;
  }
  .p4l-ct-proof-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p4l-ct-proof-cell:nth-child(2n) {
    border-right: none;
  }
  .p4l-ct-proof-cell:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }
  .p4l-ct-urgency-grid,
  .p4l-ct-svc-grid,
  .p4l-ct-field-grid,
  .p4l-ct-gm-actions {
    grid-template-columns: 1fr;
  }
  .p4l-ct-svc-grid.is-scrollable {
    max-height: 368px;
  }
  .p4l-ct-gm-info {
    padding: 22px 18px;
  }
  .p4l-ct-gm-map {
    min-height: 320px;
  }
}
