@import url("_cform.css");
/* Contact (plan.md): header G (the words and the two quick buttons at the left, the contractor on his call framed at
   the right with the call connecting over the open side), the full form beside what happens next, and the chat for
   anyone who wants the plan now. */

/* ---------- top: header layout G ---------- */
.ph--g { padding-block: var(--space-5) var(--space-6); background: var(--c-paper-alt); }
.ph--g .ph__in { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: var(--space-6); align-items: center; max-width: 1440px; min-height: min(720px, calc(100svh - var(--header-h) - 24px)); }
.ph--g h1 { max-width: 11ch; }
.ph--g .ph__line { color: var(--c-ink-soft); max-width: 36ch; }
.contact__quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-5); }
.contact__quick .btn svg { width: 18px; height: 18px; margin-right: 8px; fill: currentColor; }
.contact__mail { margin-top: var(--space-3); color: var(--c-ink-soft); }
.contact__mail a { font-weight: 600; color: var(--c-brand-text); }
.ph--g .ph__media { aspect-ratio: 4 / 3.1; border-radius: var(--radius-xl); box-shadow: var(--shadow-l); --focus: 30% 30%; }
.ph--g .ph__media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(270deg, color-mix(in srgb, var(--c-night-2) 46%, transparent) 0%, transparent 44%); }
.ph--g .ph__scene { right: 22px; top: 22px; width: min(340px, 48%); }
.ph--g .ph__media > .stop { top: auto; bottom: 14px; right: 14px; }
@media (max-width: 999px) {
  .ph--g .ph__in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ph--g .ph__media { order: -1; }
}
@media (max-width: 599px) {
  .ph--g { padding-top: 0; }
  .ph--g .ph__in { padding-inline: 0; }
  .ph--g .ph__copy { padding-inline: var(--gutter); }
  .ph--g .ph__media { aspect-ratio: auto; height: 560px; border-radius: 0; box-shadow: none; --focus: 26% 20%; }
  .ph--g .ph__media::after { background: linear-gradient(0deg, color-mix(in srgb, var(--c-night-2) 50%, transparent) 0%, transparent 50%); }
  .ph--g .ph__scene { right: auto; left: 50%; top: auto; bottom: 16px; translate: -50% 0; width: min(340px, calc(100% - 24px)); }
  .ph--g .ph__media > .stop { bottom: auto; top: 14px; }
}

/* ---------- form: the full form, and what happens next ---------- */
.contact-form__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--space-6); align-items: start; }
.contact-form__box { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-l); background: var(--c-paper); box-shadow: 0 0 0 1px var(--c-line), var(--shadow-l); }
.contact-form__box h2, .contact-next h2 { font-size: clamp(26px, 2.4vw, 34px); }
.contact-next { padding-top: var(--space-4); }
.contact-next__list { display: grid; gap: var(--space-4); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.contact-next__item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-3); align-items: center; }
.contact-next__item b { display: block; font: 700 18px/1.3 var(--font-ui); }
.contact-next__item span span { display: block; margin-top: 2px; color: var(--c-ink-soft); }
.contact-next__pic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--g-night); }
.contact-next__pic svg { width: 44px; height: 44px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.contact-next__pic .c-fill { fill: color-mix(in srgb, var(--c-paper) 14%, transparent); stroke: var(--c-on-night); }
.contact-next__pic .c-line { stroke: var(--c-on-night); }
.contact-next__pic .c-accent { stroke: var(--c-accent); fill: none; }
.contact-next__pic circle.c-accent { fill: var(--c-accent); stroke: none; }
@media (prefers-reduced-motion: no-preference) {
  .contact-next__pic .c-accent { animation: contact-pulse 2.4s var(--ease-out) infinite; animation-delay: calc(var(--i) * 0.8s); transform-box: fill-box; transform-origin: center; }
}
@keyframes contact-pulse { 0%, 60%, 100% { opacity: 1; } 30% { opacity: 0.35; } }
@media (max-width: 999px) {
  .contact-form__in { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- skip: the chat building the plan, over the owner with his phone ---------- */
.skip__in { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: var(--space-6); align-items: center; }
.skip__copy h2 { font-size: var(--fs-h2); max-width: 13ch; }
.skip__copy .head__line { margin-top: var(--space-3); max-width: 34ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-soft); }
.skip__copy .act { margin-top: var(--space-5); }
.skip__shot { height: 600px; --focus: 60% 30%; }
.skip__shot::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, color-mix(in srgb, var(--c-night-2) 40%, transparent) 0%, transparent 50%); }
.skip__scene { left: 28px; bottom: 24px; width: 300px; height: 520px; }
.skip__shot > .stop { top: 16px; right: 16px; }
@media (max-width: 999px) {
  .skip__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
}
@media (max-width: 599px) {
  .skip__shot { height: 640px; --focus: 70% 20%; }
  .skip__scene { left: 50%; translate: -50% 0; width: min(320px, calc(100% - 24px)); height: 500px; bottom: 16px; }
}
