/* 2 November 2026 (Paul: "1 go"; foco-mobile docs/PLAN-WEBSITE-FORM-2026-11.md): the /contact page with Foco AI's own
   form, the lime "Let's talk" button in the header, and the Call / Enquiry bar on phones. Loaded after the existing
   stylesheets on every page; nothing here changes an existing rule except the header button. */

/* Header "Let's talk": lime with dark green words, no border (Paul: "lime highlighted to match the theme"; "no border"). */
.foco-softened .site-header nav .nav-contact {
  background: var(--lime);
  color: var(--brand);
  border: 0;
  font-weight: 600;
}
.foco-softened .site-header nav .nav-contact:hover {
  text-decoration: none;
  filter: brightness(1.04);
}
/* In the open phone menu the button is only as wide as its words (Paul, 2 Nov: "not a big long lime button"). */
.foco-softened .site-header nav.open .nav-contact {
  align-self: flex-start;
}

/* /contact */
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(280px, 360px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
  padding-block: 40px 64px;
}
.contact-form-column {
  min-width: 0;
  max-width: 680px;
  scroll-margin-top: 16px;
}
.contact-form-host {
  display: block;
  min-height: 360px;
}
.contact-form-host .loading-note {
  border-radius: var(--radius);
}
.contact-runs-on {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-runs-on a {
  color: var(--brand);
  font-weight: 700;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-aside h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin-bottom: 14px;
}
.contact-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: contact-step;
}
.contact-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  counter-increment: contact-step;
}
.contact-steps li::before {
  content: counter(contact-step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.95rem;
}
.contact-steps li span {
  padding-top: 4px;
}
.contact-offer {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.contact-offer strong {
  display: block;
  color: var(--brand);
}
.contact-talk p {
  font-weight: 700;
  color: var(--brand);
}
.contact-talk a {
  display: inline-block;
  margin-top: 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  text-underline-offset: 5px;
}
.contact-about {
  font-size: 0.9rem;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .contact-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}
@media (max-width: 760px) {
  .contact-page {
    padding-block: 20px 40px;
  }
}

/* The demo's closing line (Paul: "yes"). */
.demo-closing {
  padding-block: 8px 48px;
  font-size: 1.05rem;
}
.demo-closing a {
  color: var(--brand);
  font-weight: 700;
  text-underline-offset: 4px;
}

/* Call / Enquiry bar: phones only, hidden while the form is on screen. Two rounded buttons with no strip behind them
   (Paul, 8 Nov 2026: "more like buttons ... without the background, so they are rounded at the edges"); the page shows
   through around them. 48 px tall, 12 px corners like the page's other buttons, clear of the iPhone home bar. */
.call-bar {
  display: none;
}
@media (max-width: 760px) {
  body.has-call-bar {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
  .call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 12px calc(10px + env(safe-area-inset-bottom));
    background: transparent;
    pointer-events: none;
    transition: transform 0.2s ease, visibility 0.2s;
  }
  .call-bar.is-hidden {
    transform: translateY(100%);
    visibility: hidden;
  }
  .call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    pointer-events: auto;
    box-shadow: 0 4px 14px rgba(16, 37, 29, 0.28);
  }
  .call-bar svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .call-bar .call-bar-call {
    background: var(--brand);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
  }
  .call-bar .call-bar-enquiry {
    background: var(--lime);
    color: var(--brand);
    border: 1px solid var(--lime);
  }
  .call-bar a:focus-visible {
    outline-offset: -4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .call-bar {
    transition: none;
  }
}
