/* Contact page — styles for sections not covered by landing.css.
   Reuses existing tokens (--pc-*) and mirrors About/homepage patterns. */

.pc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ---- Responsive / mobile header (match the WordPress page) -------------
   Hide the desktop nav + "Get Free demo" + profile on small screens; show
   the hamburger with a clean right gutter. */
.pc-contact-page {
  overflow-x: hidden;
}
@media (max-width: 980px) {
  .pc-contact-page .pc-desktop-nav,
  .pc-contact-page .pc-header-demo,
  .pc-contact-page .pc-header-profile {
    display: none !important;
  }
  .pc-contact-page .pc-menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
  }
  .pc-contact-page .pc-header-shell {
    width: min(calc(100% - 40px), 1572px);
    height: 72px;
  }
  .pc-contact-page .pc-mobile-nav {
    width: min(calc(100% - 40px), 1572px);
  }
  .pc-contact-page .pc-site-header.is-open .pc-mobile-nav {
    display: flex;
  }
}

/* ---- Hero (light treatment, matching the Figma) ------------------------
   Base .pc-hero is near-black; the light-hero styling lives only under
   .pc-about-page, so on this page it renders dark. Replicate the light look. */
.pc-contact-hero {
  min-height: clamp(560px, 82vh, 780px);
  background: #fff;
  align-items: center;
  padding: 118px 0 64px;
}
.pc-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(217, 47, 36, .05), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fff 78%, #fafafa 100%);
  pointer-events: none;
  z-index: 0;
}
.pc-contact-hero .pc-hero-bg,
.pc-contact-hero .pc-hero-overlay,
.pc-contact-hero .pc-particle-canvas {
  display: none !important;
}
.pc-contact-hero .pc-hero-lines {
  z-index: 1;
  opacity: .7;
}
.pc-contact-hero .pc-guide-line {
  background: rgba(0, 0, 0, .05);
}
.pc-contact-hero .pc-guide-left,
.pc-contact-hero .pc-guide-right {
  background: rgba(0, 0, 0, .03);
}
.pc-contact-hero .pc-hero-tick {
  color: rgba(0, 0, 0, .28);
}
.pc-contact-hero .pc-hero-inner {
  z-index: 3;
}
.pc-contact-hero .pc-hero-copy {
  color: #1f1f1f;
}
.pc-contact-hero .pc-hero-copy h1 {
  color: #202020;
  font-size: clamp(34px, 4vw, 56px);
  overflow-wrap: normal;
  word-break: keep-all;
}
@media (max-width: 720px) {
  .pc-contact-hero .pc-hero-copy h1 {
    font-size: clamp(27px, 7.4vw, 40px);
  }
}
.pc-contact-hero .pc-hero-text {
  color: #4e4e4e;
}
.pc-contact-hero .pc-btn-dark > span:first-child {
  background: #111;
  color: #fff;
}
.pc-contact-hero .pc-btn-ghost-dark {
  color: rgba(17, 17, 17, .72);
}
/* Keep "Get A Free Demo" dark (and visible) on hover over the white hero. */
.pc-contact-hero .pc-btn-ghost-dark.pc-demo-cta,
.pc-contact-hero .pc-btn-ghost-dark.pc-demo-cta:hover,
.pc-contact-hero .pc-btn-ghost-dark.pc-demo-cta:focus-visible {
  --pc-demo-color: #242222;
  color: #242222;
}
/* Clean hero image: no white border, no drop shadow, no tinted frame. */
.pc-contact-hero .pc-about-hero-visual {
  border: 0;
  box-shadow: none;
  background: none;
}
.pc-contact-hero .pc-about-hero-visual::before,
.pc-contact-hero .pc-about-hero-visual::after {
  display: none;
}

/* ---- How Can We Help ---------------------------------------------------- */
.pc-contact-help-grid {
  align-items: start;
}
/* The global `.pc-copy-col h2` forces an 84px display size, which overflows
   this column and breaks the word mid-way. This heading is a step smaller. */
.pc-contact-help .pc-copy-col h2 {
  width: auto;
  max-width: 100%;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: keep-all;
}
.pc-help-lead {
  margin: 14px 0 0;
  font-family: var(--pc-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(17, 17, 17, .55);
}
.pc-help-list {
  margin-top: 22px;
  border-top: 1px solid var(--pc-line);
}
.pc-help-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--pc-line);
  color: #111;
  transition: transform .22s var(--pc-ease), background .22s var(--pc-ease);
}
.pc-help-list a:hover {
  transform: translateX(6px);
}
.pc-help-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(217, 47, 36, .1);
  color: var(--pc-red);
}
.pc-help-icon svg,
.pc-help-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.pc-help-list a span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: #1a1a1a;
}
.pc-help-list a em {
  font-style: normal;
  color: rgba(17, 17, 17, .4);
  font-size: 17px;
  transition: transform .22s var(--pc-ease), color .22s var(--pc-ease);
}
.pc-help-list a:hover em {
  transform: translateX(4px);
  color: var(--pc-red);
}
.pc-contact-help-visual {
  align-self: end;
}

/* ---- Common Reasons (FAQ accordion) ------------------------------------- */
.pc-faq-section {
  padding: clamp(24px, 5vw, 60px) 0 clamp(78px, 11vw, 150px);
  background: var(--pc-soft);
  overflow: hidden;
}
.pc-faq-grid {
  align-items: start;
}
.pc-faq-copy {
  align-self: start;
}
/* `.pc-faq-copy h2` is not in landing.css's display-heading list, so give it
   the same big treatment as the other section headings. */
.pc-faq-copy h2 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 800;
  color: #111;
  text-wrap: balance;
}
.pc-faq-copy .pc-eyebrow {
  margin-bottom: 18px;
}
.pc-faq-copy .pc-actions-dark {
  margin-top: 30px;
}
.pc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pc-faq-item {
  border: 1px solid var(--pc-line);
  background: #fff;
  transition: border-color .22s var(--pc-ease), box-shadow .22s var(--pc-ease);
}
.pc-faq-item[open] {
  border-color: rgba(217, 47, 36, .35);
  box-shadow: 0 14px 40px rgba(12, 10, 8, .07);
}
.pc-faq-item summary {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: #111;
}
.pc-faq-item summary::-webkit-details-marker {
  display: none;
}
.pc-faq-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--pc-red);
}
.pc-faq-icon svg {
  width: 20px;
  height: 20px;
}
.pc-faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pc-red);
}
.pc-faq-toggle::before,
.pc-faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: opacity .2s var(--pc-ease), transform .2s var(--pc-ease);
}
.pc-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.pc-faq-item[open] .pc-faq-toggle::after {
  opacity: 0;
}
.pc-faq-body {
  padding: 0 20px 20px 58px;
  color: rgba(17, 17, 17, .6);
  font-size: 14px;
  line-height: 1.62;
}
.pc-faq-body p {
  margin: 0;
  max-width: 52ch;
}

/* ---- Contact quote form (extends .pc-quote-form) ------------------------ */
.pc-contact-quote .pc-quote-grid {
  align-items: start;
}
.pc-contact-socials {
  display: inline-flex !important;
  gap: 16px !important;
  margin: 26px 0 4px;
}
.pc-contact-socials a {
  color: #111 !important;
}
.pc-contact-socials a:hover {
  color: var(--pc-red) !important;
}
.pc-contact-quote .pc-support-number {
  margin-top: 10px;
}
.pc-contact-form > label + label,
.pc-contact-form > .pc-form-row + label {
  margin-top: 12px;
}

.pc-contact-form .pc-form-row label {
  margin-top: 0;
}
.pc-contact-form .pc-form-row input {
  min-width: 0;
}
.pc-select-field select {
  width: 100%;
  border: 1px solid #dedbd5;
  background: #fff;
  color: #111;
  padding: 14px 40px 14px 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.25 1.4 6 6.15l4.75-4.75' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  transition: border-color .22s var(--pc-ease), box-shadow .22s var(--pc-ease);
}
.pc-select-field select:focus {
  border-color: var(--pc-red);
  box-shadow: 0 0 0 3px rgba(217, 47, 36, .09);
}
.pc-select-field select:invalid,
.pc-select-field select option[value=""] {
  color: rgba(17, 17, 17, .42);
}

/* Visible field labels on the contact form (override base visually-hidden span) */
.pc-contact-form label > span {
  position: static;
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #242222;
}
.pc-contact-form .pc-form-row label > span {
  margin-bottom: 7px;
}

@media (max-width: 980px) {
  .pc-contact-help-visual,
  .pc-faq-copy {
    position: static;
  }
  .pc-faq-copy .pc-actions-dark {
    margin-bottom: 8px;
  }
}
@media (max-width: 720px) {
  .pc-help-list a {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 12px;
  }
  .pc-help-list a span {
    font-size: 14px;
  }
}
