/* Free-review additions on top of the kit CSS: the dialog contact step,
   the thank-you pages and the privacy page. Hand-written; not synced. */

/* The Next.js root layout puts utility classes on <body>; keep the kit's flow. */
.free-review-page { display: block; width: 100%; }

/* Mobile: pin the hamburger to the right edge. The empty .nav after it still
   took a flex gap, so the button sat short of the right. Absolute .nav keeps
   the dropdown, without eating header space. */
@media (max-width: 980px) {
  .header-in { position: relative; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    height: 0;
    flex: none;
    margin: 0;
    overflow: visible;
  }
  .nav-menu {
    top: 0;
  }
}

/* Dialog contact step */
.fr-step-title { font: 400 var(--step-2) / 1.3 var(--font-display); color: var(--text-strong); margin: 0 0 var(--space-4); outline: none; }
.fr-field { margin: 0 0 var(--space-4); }
.fr-field label { display: block; font: 600 0.875rem/1.4 var(--font-body); color: var(--text-strong); margin-bottom: 6px; }
.fr-field input,
.fr-field select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); font: 400 1rem/1.2 var(--font-body); color: var(--text-strong); }
.fr-field input:focus,
.fr-field select:focus { outline: 2px solid var(--action); outline-offset: 1px; }
.fr-consent { margin: var(--space-4) 0; font-size: 0.875rem; line-height: 1.45; align-items: flex-start; }
.fr-consent input { margin-top: 2px; flex: none; }
.fr-privacy { font-size: 0.8125rem; color: var(--text-muted); margin: 0 0 var(--space-4); }
.fr-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.fr-error { font-size: 0.875rem; color: #b42318; margin: 0 0 var(--space-3); }
.fr-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.fr-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you and privacy pages, matching the kit's look */
.fr-page { min-height: 100vh; display: flex; flex-direction: column; background: #fff; color: var(--brand-black); }
.fr-page main { flex: 1; }
.fr-simple { max-width: 720px; margin: 0 auto; padding: clamp(3rem, 8vw, 5.5rem) var(--gutter); }
.fr-simple h1 { font: 400 var(--step-4) / 1.15 var(--font-display); letter-spacing: -0.01em; color: var(--text-strong); margin: 0 0 var(--space-4); }
.fr-simple h2 { font: 400 var(--step-2) / 1.25 var(--font-display); color: var(--text-strong); margin: var(--space-7) 0 var(--space-3); }
.fr-simple p { color: var(--text-muted); line-height: var(--leading-body); margin: 0 0 var(--space-4); }
.fr-simple ul { margin: 0 0 var(--space-4); padding: 0 0 0 1.2em; color: var(--text-muted); line-height: var(--leading-body); }
.fr-simple li { margin-bottom: var(--space-2); }
.fr-simple a { color: var(--brand-santorini); text-decoration: underline; text-underline-offset: 3px; }
.fr-next { list-style: none; padding: 0; margin: var(--space-5) 0; display: grid; gap: var(--space-3); }
.fr-next li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); margin: 0; }
.fr-next li span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand-santorini); font: 600 0.8125rem/1 var(--font-body); }
.fr-next li b { color: var(--text-strong); font-weight: 600; }
.fr-cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: var(--space-6) 0 0; }
.fr-cta-row .btn { text-decoration: none; }
.fr-meta { font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--space-6); }
