/* Ad landing pages. Uses home.css tokens, buttons, form, offer, before/after, FAQ and dock. */

/* header: logo, 24/7 line, one action; no menu (one goal per page) */
.fn-hdr .hdr-actions { margin-left: auto; }
.fn-tel { font-size: 14px; }

/* hero: the offer on the left, the request form on the right, both above the fold */
.fn-hero { padding: calc(var(--hdr-h) + clamp(16px, 3vh, 40px)) 0 clamp(64px, 7vw, 104px); background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); }
.fn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
  grid-template-areas: 'copy form' 'more form';
  grid-template-rows: auto 1fr;
  gap: 0 clamp(32px, 5vw, 80px);
  align-items: start;
}
.fn-copy { grid-area: copy; }
.fn-more { grid-area: more; }
.fn-form { grid-area: form; position: sticky; top: calc(var(--hdr-h) + 4px); }
.fn-h {
  margin: 0;
  font: 400 clamp(30px, 3.6vw, 58px)/1.05 var(--f-display);
  text-transform: uppercase;
  color: #3a4042;
  text-wrap: balance;
}
.fn-h em { display: block; font-style: normal; color: var(--red); }
.fn-copy .lead { max-width: 58ch; margin-top: 18px; }

.fn-urgent { display: flex; align-items: flex-start; gap: 12px; max-width: 60ch; margin: 26px 0 0; padding: 14px 18px; border-radius: 20px; background: rgba(230, 58, 67, 0.07); box-shadow: inset 0 0 0 1px rgba(230, 58, 67, 0.22); font-size: 15px; line-height: 1.55; }
.fn-urgent .ic { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; }
.fn-free { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.fn-free li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; }
.fn-free b { color: var(--red-text); }
.fn-free .ic { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: var(--ink); fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fn-call { margin-top: 26px; }
.btn .ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.fn-photo { position: relative; margin: 34px 0 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2); }
.fn-photo img, .fn-steps-photo img { width: 100%; height: 100%; object-fit: cover; }
.fn-photo figcaption, .fn-steps-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 13px; border-radius: 999px; background: rgba(17, 21, 21, 0.6); color: rgba(255, 255, 255, 0.9); font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }

/* the form card in the hero */
.fn-form .form-card { box-shadow: 0 24px 70px rgba(23, 30, 30, 0.14), 0 0 0 1px rgba(23, 30, 30, 0.06); }
.fs-title { margin: 0 0 12px; font: 400 clamp(20px, 1.7vw, 24px)/1.15 var(--f-display); }

/* offer: tighter top on this page */
.fn-hero + .offer { padding-top: 0; }

/* proof + process */
.fn-proof { padding-top: 0; }
.fn-proof .ba { aspect-ratio: 16 / 9; }
.fn-steps { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 112px); }
.fn-steps-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.fn-stage-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.fn-stage-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fn-stage-list li > span { padding-top: 3px; font: 500 12.5px/1 var(--f-mono); color: var(--red-text); }
.fn-stage-list h3 { font: 600 17px/1.3 var(--f-sans); }
.fn-stage-list p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* FAQ */
.fn-faq { padding-top: 0; }
.fn-faq .faq-side .link-arrow { margin-top: 22px; }

/* last call to action */
.fn-final { padding-bottom: clamp(64px, 7vw, 104px); }
.fn-final-card { display: grid; justify-items: center; gap: 0; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); border-radius: var(--r-xl); background: var(--ink); color: #fff; text-align: center; }
.fn-final-card .h2 { max-width: 24ch; }
.fn-final-card > p { max-width: 56ch; margin-top: 18px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.fn-final-card .offer-ctas { justify-content: center; }

/* footer */
.fn-foot { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.fn-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.fn-foot p { margin: 0; }
.fn-foot a { color: var(--ink); }

@media (max-width: 1000px) {
  .fn-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'form' 'more'; grid-template-rows: none; }
  .fn-form { position: static; margin-top: 26px; }
  .fn-more { margin-top: 8px; }
  .fn-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  /* the 24/7 number stays visible in the header: it is the most valuable action */
  .fn-hdr .hdr-tel { display: flex; }
}
@media (max-width: 760px) {
  .fn-hdr .hdr-tel .live-dot + span { font-size: 12.5px; }
  .fn-h { font-size: clamp(27px, 8vw, 38px); }
  .fn-copy .lead { margin-top: 12px; font-size: 16px; }
  .fn-form .form-card { padding: 22px 18px; border-radius: var(--r-lg); }
  .fn-proof .ba { aspect-ratio: 4 / 3; }
  .fn-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .fn-meta, .fn-states { display: none; }
}
@media (max-width: 360px) {
  .fn-hdr .brand-wm { display: none; }
}
