/* /first50 (templates/marketing/first50.html): the flyer's QR code page.
   One narrow column, phone first: headline, offer box, the reservation
   form, then the calculator link, plug and play line and pricing strip.
   Colors come from css/public.css. */
.f50 {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.f50-head h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}

.f50-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

/* The logo is a round badge on a white square; the circle crop drops the
   white corners on the dark bar. */
.f50-partner-logo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.f50-offer {
  border: 2px solid var(--pub-accent);
  border-radius: 18px;
  background: var(--pub-accent-soft);
  padding: 20px 24px;
}

.f50-offer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pub-accent);
}

.f50-offer ul {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
  font-size: 1.0625rem;
}

.f50-limit {
  margin: 12px 0 0;
  font-weight: 700;
}

.f50-form {
  background: var(--pub-surface);
  border: 1px solid var(--pub-border);
  border-radius: 18px;
  padding: 24px;
}

.f50-form h2 {
  margin: 0 0 16px;
  font-size: 1.375rem;
}

.f50-form form {
  display: grid;
  gap: 14px;
}

.f50-field {
  display: grid;
  gap: 6px;
  margin: 0;
  border: 0;
  padding: 0;
}

.f50-field label,
.f50-field legend {
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0;
}

.f50-field input[type="text"],
.f50-field input[type="email"],
.f50-field input[type="number"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--pub-border);
  border-radius: 10px;
  background: var(--pub-bg);
  color: var(--pub-text);
  font: inherit;
}

.f50-field input:focus-visible {
  outline: 3px solid var(--pub-accent-line);
  border-color: var(--pub-accent);
}

.f50-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
  font-weight: 500;
}

.f50-field .errorlist,
.f50-error {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--pub-loss);
  font-size: 0.875rem;
}

.f50-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.f50-btn {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--pub-cyan);
  color: var(--pub-navy);
  font: 700 1.0625rem "Sora", "Inter", sans-serif;
  cursor: pointer;
}

.f50-btn:hover {
  background: #5becee;
}

.f50-note {
  margin: 0;
  color: var(--pub-muted);
  font-size: 0.875rem;
  text-align: center;
}

.f50-thanks h2 {
  margin-bottom: 8px;
}

.f50-thanks p {
  margin: 0;
}

.f50-calc {
  margin: 0;
  text-align: center;
  font-weight: 600;
}

.f50-calc a {
  color: var(--pub-accent);
}

.f50-plug {
  margin: 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--pub-surface-2);
}

.f50-prices {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.f50-prices li {
  padding: 12px 16px;
  border: 1px solid var(--pub-border);
  border-radius: 12px;
  background: var(--pub-surface);
  font-size: 0.9375rem;
}
