/* Shared booking-form styles — used on every landing page that has a form.
   Self-contained (colors hardcoded) so it renders consistently regardless of
   each page's own design tokens. */

.form-card {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 720px;
  /* inline-block so the card follows its section's alignment: it centers inside
     center-aligned booking sections and stays left inside left-aligned ones,
     while its own contents (labels/fields) are always left-aligned. */
  display: inline-block;
  text-align: left;
  vertical-align: top;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .field { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.form-card .field:first-child, .form-card .row .field { margin-top: 0; }
.form-card .row + .field,
.form-card .row + .row,
.form-card .field + .row { margin-top: 16px; }
.form-card .form-section { position: relative; }
.form-card .form-section + .form-section { margin-top: 28px; padding-top: 24px; border-top: 1px dashed rgba(255, 255, 255, 0.14); }
.form-card .form-section__label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); font-weight: 700;
  margin-bottom: 14px;
}
.form-card .form-section--required .form-section__label { color: #ff597a; }
.form-card .form-section__hint {
  color: rgba(255, 255, 255, 0.4); font-weight: 500; letter-spacing: 0.04em; text-transform: none;
}
.form-card .form-section > .row:first-of-type,
.form-card .form-section > .field:first-of-type { margin-top: 0; }
.form-card .form-section > .form-section__label + .row,
.form-card .form-section > .form-section__label + .field { margin-top: 0; }
.form-card label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6); font-weight: 700;
}
.form-card label .opt {
  text-transform: none; letter-spacing: 0;
  font-weight: 500; font-size: 11px; color: rgba(255, 255, 255, 0.38);
  margin-left: 3px;
}
.form-card input, .form-card select, .form-card textarea {
  font-family: inherit; font-size: 16px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.form-card input::placeholder, .form-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: #ff3459;
  background: rgba(0, 0, 0, 0.4);
}
.form-card textarea { resize: vertical; min-height: 96px; }
.form-card .confirm {
  margin-top: 20px;
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
}
.form-card .confirm input {
  appearance: none; -webkit-appearance: none; margin: 0;
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.28); cursor: pointer; position: relative;
  padding: 0; box-sizing: border-box;
  transition: background .15s ease, border-color .15s ease;
}
.form-card .confirm input:checked::after {
  box-sizing: content-box;
}
.form-card .confirm input:checked { background: #ff3459; border-color: #ff3459; }
.form-card .confirm input:checked::after {
  content: ""; position: absolute; left: 8px; top: 4px;
  width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.form-card .confirm input:focus-visible { outline: 2px solid #ff597a; outline-offset: 2px; }
.form-card .confirm__text {
  font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.78);
}
.form-card .confirm__text strong { color: #fff; font-weight: 700; }
.form-card .submit {
  margin-top: 22px; display: flex; flex-direction: column; align-items: center;
  gap: 14px; text-align: center;
}
.form-card .submit button {
  font-family: inherit;
  background: #ff3459; color: #fff;
  border: 0; border-radius: 999px;
  padding: 14px 26px; font-weight: 600; font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 52, 89, 0.32);
  transition: transform .15s ease, background .2s ease;
}
.form-card .submit button:hover { transform: translateY(-1px); background: #ff597a; }
.form-card .submit .meta { color: rgba(255, 255, 255, 0.55); font-size: 13px; }
.form-card .ok {
  display: none; padding: 18px 0; text-align: left;
  color: #fff;
}
.form-card .ok h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.form-card .ok p { margin-top: 8px; color: rgba(255, 255, 255, 0.72); font-size: 16px; }
.form-card.sent form { display: none; }
.form-card.sent .ok { display: block; }

/* End-of-section call-to-action (centered) */
.section-cta { text-align: center; margin-top: 48px; }

/* Wrap testimonial text in quotation marks (cards use a separate .mark badge) */
.quotes .quote p::before { content: "\201C"; }
.quotes .quote p::after { content: "\201D"; }

@media (max-width: 720px) {
  .form-card { padding: 24px; }
  .form-card .row { grid-template-columns: 1fr; }
}

/* ── Floating pill header (applift.co style) — logo + CTA only ────────────
   Shared across every LP. Overrides each page's own `.nav` rules (form.css
   loads after the page stylesheet). Fixed + centered pill that slides/fades
   in on load; the logo mark breathes with a soft glow. */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: min(1100px, calc(100% - 24px));
  background: rgba(12, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  animation: navpill-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes navpill-in {
  from { opacity: 0; transform: translate(-50%, -22px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
/* inner row — ignore each page's container max-width/padding, just flex */
.nav .nav__inner, .nav .nav__row, .nav > .container, .nav > .frame {
  max-width: none; width: 100%; margin: 0;
  padding: 10px 12px 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav .nav__spacer { display: none; }
.nav .nav__links {
  display: flex; align-items: center; gap: 30px;
}
.nav .nav__links a {
  color: rgba(255, 255, 255, 0.6); font-size: 15px; font-weight: 600;
  white-space: nowrap; transition: color .15s ease;
}
.nav .nav__links a:hover { color: #fff; }
@media (max-width: 820px) {
  .nav .nav__links { display: none; }
}
.nav .nav__logo { display: flex; align-items: center; gap: 10px; }
.nav .nav__logo img {
  width: auto; height: 30px;
  animation: navlogo-breathe 4s ease-in-out infinite;
}
.nav .nav__logo span {
  font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: #fff;
}
@keyframes navlogo-breathe {
  0%, 100% { transform: translateY(0) rotate(0deg); filter: drop-shadow(0 0 0 rgba(255, 52, 89, 0)); }
  50%      { transform: translateY(-1.5px) rotate(-5deg); filter: drop-shadow(0 4px 12px rgba(255, 52, 89, 0.55)); }
}
.nav .btn { padding: 11px 20px; }
@media (max-width: 560px) {
  .nav .nav__inner, .nav .nav__row, .nav > .container, .nav > .frame { padding: 8px 10px 8px 18px; }
  .nav .nav__logo span { font-size: 17px; }
  .nav .btn { padding: 10px 16px; font-size: 14px; }
}

/* ── Shared testimonial card (applift.co style) ───────────────────────────
   Used by every LP's testimonials section: brand logo/wordmark on top, a
   large quote wrapped in accent quote-marks, then name + role at the bottom.
   Colors hardcoded so it renders identically regardless of each page's
   design tokens. */
.tgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 44px;
}
.tcard {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #141417, #0b0b0d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 34px 30px 30px;
  overflow: hidden;
}
.tcard::before {
  content: ""; position: absolute; left: -50px; top: -50px;
  width: 260px; height: 220px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 52, 89, 0.10), transparent 70%);
}
.tcard__brand {
  position: relative; display: flex; align-items: center;
  height: 34px; margin-bottom: 28px;
}
.tcard__brand img {
  height: 26px; width: auto; max-width: 160px; object-fit: contain;
  /* full-color webps forced white to sit on the dark card */
  filter: brightness(0) invert(1);
}
.tcard__brand .wordmark {
  font-size: 25px; font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
.tcard__quote {
  position: relative; flex: 1;
  font-size: clamp(19px, 1.5vw, 25px); font-weight: 600; line-height: 1.32;
  letter-spacing: -0.01em; color: #fff;
}
.tcard__quote::before { content: "\201C"; color: #ff3459; font-weight: 700; margin-right: 2px; }
.tcard__quote::after { content: "\201D"; color: #ff3459; font-weight: 700; margin-left: 2px; }
.tcard__who { position: relative; margin-top: 34px; }
.tcard__who strong { display: block; color: #fff; font-weight: 700; font-size: 16px; }
.tcard__who span { color: rgba(255, 255, 255, 0.5); font-size: 15px; }
@media (max-width: 880px) { .tgrid { grid-template-columns: 1fr; } }
