/* =========================================================================
   LocalBuddy — Advertise with us (advertiserform.php)
   The page had no CSS left (its rules were only in stylebackup.css).
   Same look as the app: green #0b6b34, Plus Jakarta Sans, soft cards.
   ========================================================================= */
.ar-registration-section {
  --ar-green: #0b6b34;
  --ar-green-2: #10843f;
  --ar-soft: #eef8f1;
  --ar-yellow: #f8c51c;
  --ar-ink: #101828;
  --ar-text: #475467;
  --ar-muted: #667085;
  --ar-line: #eaecf0;
  --ar-input: #d0d5dd;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f5f8f6;
  padding: 0 0 56px;
}
.ar-registration-section *, .ar-registration-section *::before, .ar-registration-section *::after { box-sizing: border-box; }

/* hero = title bar */
.ar-container { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.ar-form-title {
  margin: 0 -16px;
  padding: 44px 20px 70px;
  text-align: center;
  font-weight: 800;
  font-size: clamp(26px, 5.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  background:
    radial-gradient(420px 260px at 92% 0%, rgba(248, 197, 28, .3), transparent 70%),
    linear-gradient(135deg, var(--ar-green), var(--ar-green-2));
}
.ar-form-title::after {
  content: "Reach local customers on LocalBuddy. Tell us about your business and we will get back to you with options.";
  display: block;
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .9);
}
@media (min-width: 900px) {
  .ar-form-title { margin: 0 calc(50% - 50vw); padding: 64px 24px 96px; }
}

.ar-form-card {
  position: relative;
  margin-top: -44px;
  background: #fff;
  border: 1px solid var(--ar-line);
  border-radius: 22px;
  padding: 8px 18px 22px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, .08);
}

.ar-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ar-line);
  font-weight: 800;
  font-size: 18px;
  color: var(--ar-ink);
}
.ar-section-header::before { content: ""; width: 6px; height: 20px; border-radius: 3px; background: var(--ar-green); }

.ar-form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.ar-form-group { display: flex; flex-direction: column; min-width: 0; }
.ar-form-group.full-width { grid-column: 1 / -1; }
.ar-label { margin-bottom: 6px; font-weight: 700; font-size: 14px; color: var(--ar-ink); }
.ar-required { color: #d92d20; }
.ar-input, .ar-select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--ar-input);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ar-ink);
  transition: border-color .15s, box-shadow .15s;
}
.ar-select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.ar-input::placeholder { color: #98a2b3; }
.ar-input:focus, .ar-select:focus { outline: none; border-color: var(--ar-green); box-shadow: 0 0 0 4px rgba(11, 107, 52, .12); }
.ar-help-text { margin-top: 5px; font-size: 12.5px; color: var(--ar-muted); }

.ar-currency-group { display: flex; align-items: stretch; }
.ar-currency-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1.5px solid var(--ar-input);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: var(--ar-soft);
  font-weight: 800;
  color: var(--ar-green);
}
.ar-currency-group .ar-input { border-radius: 0 12px 12px 0; }

.ar-submit-section { margin-top: 22px; }
.ar-submit-btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ar-green), var(--ar-green-2));
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 107, 52, .25);
}
.ar-submit-btn:hover { filter: brightness(1.06); }
.ar-submit-note { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--ar-muted); }

@media (min-width: 640px) {
  .ar-form-grid { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .ar-form-card { padding: 10px 30px 30px; }
  .ar-submit-section { display: flex; flex-direction: column; align-items: center; }
  .ar-submit-btn { max-width: 340px; }
}

/* inside the mobile app */
.lb-in-app .ar-form-title { padding-top: 30px; }

/* ENHANCEMENT (2026-11-28): photo hero (LocalBuddy-Advertise-Background.webp), dark text on the light
   left side of the photo; on phones the text sits on a soft white fade so it stays readable. */
.ar-form-title {
  color: #0d3b1f;
  text-align: left;
  padding: 40px 20px 84px;
  min-height: 300px;
  background:
    linear-gradient(90deg, rgba(246, 251, 243, .97) 0%, rgba(246, 251, 243, .9) 46%, rgba(246, 251, 243, 0) 72%),
    url("../images/LocalBuddy-Advertise-Background.webp") 78% center / cover no-repeat,
    #f3faf0;
}
.ar-form-title::before {
  content: "Advertise with us";
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #0b6b34;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ar-form-title::after { margin: 12px 0 0; max-width: 520px; color: #344054; }
@media (max-width: 639px) {
  .ar-form-title { max-width: none; font-size: 27px; }
  .ar-form-title::after { max-width: 62%; font-size: 14px; }
}
@media (min-width: 900px) {
  .ar-form-title { padding: 72px max(24px, calc(50vw - 440px)) 118px; min-height: 380px; font-size: 42px; }
}/* keep the text on the light left side, label on its own line */
.ar-form-title::before { display: table; }
.ar-form-title { padding-right: 44%; }
@media (max-width: 639px) {
  .ar-form-title { font-size: 25px; padding-right: 40%; background-position: 0 0, 72% center, 0 0; }
  .ar-form-title::after { max-width: none; }
}
@media (min-width: 900px) {
  .ar-form-title { padding-right: calc(max(24px, 50vw - 440px) + 400px); }
}