/*
 * Free account check (/en/contact). Paper "Site · Free check + Contact",
 * artboards "Free account check · desktop" (1440) and "· mobile" (390).
 * Desktop rules first; the mobile board is in the max-width: 767px block.
 */

/* ── Hero + form card ──────────────────────────────────────────────── */
/* Paper: nav row (24 px + 56 px pill) then 96 px. The nav is fixed, so the
   section carries the whole offset. */
.fc-hero { padding-top: 176px; padding-bottom: 96px; }
.fc-hero__inner { display: flex; align-items: flex-start; gap: 80px; }
.fc-hero__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-top: 16px; }
.fc-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 30px + 4.6vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9375; /* 90 / 96 */
}
.fc-hero__lead { max-width: 560px; color: var(--text-2); font-size: 20px; line-height: 30px; }

.fc-get { max-width: 560px; padding-top: 16px; }
.fc-get__title { padding-bottom: 16px; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 28px; }
.fc-get__list li { display: flex; align-items: flex-start; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.fc-get__list li:last-child { border-bottom: 1px solid var(--line); }
.fc-get__arrow { flex-shrink: 0; width: 32px; color: var(--emerald); font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 26px; }
.fc-get__list p { font-size: 17px; line-height: 26px; }
.fc-get__list strong { font-weight: 600; }

.fc-card {
  flex-shrink: 0;
  width: 520px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-tile);
  background: var(--white);
  box-shadow: 0 24px 60px var(--card-line);
  scroll-margin-top: 96px;
}
.fc-card :focus-visible { outline-color: var(--deep-green); }
.fc-form, .fc-book { display: flex; flex-direction: column; gap: 16px; }
.fc-form[hidden], .fc-book[hidden] { display: none; }
.fc-card__head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 4px; }
.fc-card__title { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.01em; line-height: 34px; }
.fc-card__title:focus { outline: none; }
.fc-card__sub { color: var(--muted); font-size: 15px; line-height: 22px; }
.fc-card__small { color: var(--muted); font-size: 14px; line-height: 21px; text-align: center; }

/* Paper form sizes: 14 px labels, 16 px inputs with 15 / 16 px padding */
.fc-form .field__label { font-size: 14px; line-height: 18px; }
.fc-form .input { padding: 14px 16px; font-size: 16px; line-height: 20px; }
.fc-form .field__error:empty { display: none; }
.fc-form__pair { display: flex; gap: 12px; }
.fc-form__pair > .field { flex: 1 1 0; }
.fc-form .choice__opt span { padding: 10px 20px; font-size: 15px; }
.fc-form__submit { gap: 10px; padding: 18px; }
.fc-form__status { color: var(--error); font-size: 14px; line-height: 18px; text-align: center; }
.fc-form__status:empty { display: none; }
.fc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fc-select { position: relative; }
.fc-select .input { appearance: none; padding-right: 44px; cursor: pointer; }
.fc-select .input:invalid { color: var(--placeholder); }
.fc-select option { color: var(--ink); }
.fc-select__chev { position: absolute; top: 50%; right: 18px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }

/* Booking step: the frame, links and heights are in components/booking.css. */
.fc-book__done { display: flex; align-items: center; gap: 8px; color: var(--deep-green); font-size: 14px; font-weight: 600; line-height: 20px; }
.fc-book__done svg { flex-shrink: 0; color: var(--emerald); }

/* ── Reassurance row ───────────────────────────────────────────────── */
.fc-assure { padding-bottom: 96px; }
.fc-assure__row { display: flex; gap: 24px; }
.fc-assure__item { flex: 1 1 0; display: flex; gap: 14px; padding-top: 24px; border-top: 2px solid var(--ink); }
.fc-assure__item > div { display: flex; flex-direction: column; gap: 4px; }
.fc-tick { flex-shrink: 0; color: var(--emerald); }
.fc-assure__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 24px; }
.fc-assure__text { color: var(--muted); font-size: 15px; line-height: 22px; }

/* ── What happens next ─────────────────────────────────────────────── */
.fc-next { padding-block: 112px; }
.fc-next__inner { display: flex; align-items: flex-start; gap: 80px; }
.fc-next__head { flex-shrink: 0; width: 400px; display: flex; flex-direction: column; gap: 16px; }
.fc-next__title { font-family: var(--font-display); font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 56px; }
.fc-next__sub { color: var(--muted); font-size: 17px; line-height: 26px; }
.fc-steps { flex: 1 1 0; min-width: 0; display: flex; gap: 20px; }
.fc-step { flex: 1 1 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius-card); background: var(--paper); }
.fc-step__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fc-step__num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--paper);
  font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 22px;
}
.fc-step__chip { flex-shrink: 0; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--white); color: var(--deep-green); font-size: 13px; font-weight: 600; line-height: 16px; white-space: nowrap; }
.fc-step__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 28px; }
.fc-step__text { color: var(--text-2); font-size: 16px; line-height: 24px; }

/* ── Side doors ────────────────────────────────────────────────────── */
.fc-doors { padding-top: 96px; padding-bottom: 112px; }
.fc-doors__lead { margin-bottom: 24px; color: var(--muted); font-size: 17px; line-height: 24px; }
.fc-doors__row { display: flex; gap: 20px; }
.fc-door {
  flex: 1 1 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--dur-hover) ease, background-color var(--dur-hover) ease;
}
.fc-door__copy { display: flex; flex-direction: column; gap: 4px; }
.fc-door__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 28px; }
.fc-door__text { color: var(--muted); font-size: 15px; line-height: 22px; }
.fc-door__arrow { flex-shrink: 0; color: var(--deep-green); transition: transform var(--dur-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .fc-door:hover { border-color: var(--ink); background: var(--white); }
  .fc-door:hover .fc-door__arrow { transform: translateX(4px); }
}

/* ── Between the boards: stack before the 520 px card squeezes the copy ── */
@media (max-width: 1199px) {
  .fc-hero__inner { flex-direction: column; gap: 48px; }
  .fc-card { width: 100%; max-width: 560px; }
  .fc-next__inner { flex-direction: column; gap: 40px; }
  .fc-next__head { width: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fc-steps { flex-direction: column; }
}

/* ── Mobile (Paper 390 board) ─────────────────────────────────────── */
@media (max-width: 767px) {
  /* nav row 64 px + 40 px */
  .fc-hero { padding-top: 104px; padding-bottom: 40px; }
  .fc-hero__inner { gap: 36px; }
  .fc-hero__copy { gap: 18px; padding-top: 0; }
  .fc-hero__title { font-size: 48px; letter-spacing: -0.035em; line-height: 46px; }
  .fc-hero__lead { font-size: 17px; line-height: 26px; }
  .fc-get { padding-top: 8px; }
  .fc-get__title { font-size: 20px; line-height: 26px; padding-bottom: 12px; }
  .fc-get__list li { padding-block: 14px; }
  .fc-get__list p { font-size: 16px; line-height: 24px; }

  .fc-card { max-width: none; padding: 24px; border-radius: var(--radius-card); }
  .fc-form__pair { flex-direction: column; gap: 16px; }

  .fc-assure { padding-bottom: 48px; }
  .fc-assure__row { flex-direction: column; gap: 20px; }
  .fc-assure__item { gap: 12px; padding-top: 0; border-top: 0; }
  .fc-assure__item:first-child { padding-top: 20px; border-top: 2px solid var(--ink); }
  .fc-assure__item > div { gap: 2px; }
  .fc-tick { width: 22px; height: 22px; }
  .fc-assure__title { font-size: 18px; line-height: 22px; }

  .fc-next { padding-block: 56px; }
  .fc-next__inner { gap: 16px; }
  .fc-next__head { gap: 12px; padding-bottom: 4px; }
  .fc-next__title { font-size: 36px; line-height: 38px; }
  .fc-next__sub { font-size: 16px; line-height: 24px; }
  .fc-steps { flex-direction: column; gap: 12px; }
  .fc-step { padding: 24px; }

  .fc-doors { padding-top: 48px; padding-bottom: 56px; }
  .fc-doors__lead { margin-bottom: 12px; }
  .fc-doors__row { flex-direction: column; gap: 12px; }
  .fc-door { padding: 20px; gap: 12px; }
  .fc-door__title { font-size: 19px; line-height: 24px; }
}
