/* America First Advertising — visual polish layer (Nov 2026).
   Loaded after the Webflow stylesheet. Only spacing, type scale, buttons, cards and form fields.
   Desktop spacing lives inside min-width queries so the original tablet/mobile rules keep working;
   small-screen tweaks are in their own max-width blocks at the bottom. Remove the <link> to roll back. */

:root {
  --afa-blue: #1f6fff;
  --afa-ink: #1d2733;
  --afa-body: #3a4452;
  --afa-muted: #667085;
  --afa-line: #e4e8ee;
  --afa-radius: 10px;
  --afa-section: 96px;
}

/* ---------- Base type ---------- */
body {
  color: var(--afa-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
p { margin-bottom: 16px; }
h1, h2, h3, h4 { text-wrap: balance; }
p, .section-description, .feature-paragraph { text-wrap: pretty; }

/* Headings whose line-height was smaller than the font size */
.section-title { line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 16px; }
.section-title.white { line-height: 1.15; }
.subpage-title { line-height: 1.12; letter-spacing: 0.01em; }
.form-title { line-height: 1.2; }
.form-title.subtitle { line-height: 1.5; margin-top: 8px; }
.bus-card-name, h2.about { line-height: 1.2; }
.cta-title { line-height: 1.3; }
.page-subtitle { font-weight: 400; margin-top: 14px; }

.section-description { color: var(--afa-body); line-height: 1.6; margin-top: 16px; }
.section-description.tab-section, .section-2 .section-description { color: inherit; }
.feature-title { line-height: 1.35; margin-bottom: 12px; }
.feature-paragraph { font-size: 16px; line-height: 1.6; }
.small-section-title { font-size: 13px; letter-spacing: 0.16em; color: var(--afa-muted); }

/* Small grey text that was too light to read */
.small-text { font-size: 13px; line-height: 1.45; color: var(--afa-muted); }
.small-paragraph { font-size: 15px; line-height: 1.55; color: var(--afa-muted); }
.cta-title.subtitle { color: var(--afa-muted); }
.text-column-title { letter-spacing: 0.06em; margin-bottom: 10px; }

/* ---------- Buttons ---------- */
.button, input.button {
  border-radius: 8px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.08em;
  padding: 12px 26px;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.button:hover, input.button:hover {
  box-shadow: 0 8px 20px -6px rgba(16, 60, 150, .45);
  transform: translateY(-1px);
}
.button:active, input.button:active { transform: translateY(0); box-shadow: none; }
.button.outline:hover { background-color: #fff; color: var(--afa-blue); }
.button:focus-visible, input.button:focus-visible, .button-2:focus-visible, .nav-link:focus-visible {
  outline: 3px solid rgba(31, 111, 255, .45);
  outline-offset: 2px;
}
.button.continue-reading { font-size: 11px; line-height: 16px; padding: 8px 16px; }

/* ---------- Cards ---------- */
.event-card.blog-card, .blog-card-wrapper.blog-card {
  border: 1px solid var(--afa-line);
  border-radius: var(--afa-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.event-card.blog-card:hover, .blog-card-wrapper.blog-card:hover {
  border-color: #d5dbe5;
  box-shadow: 0 14px 30px -14px rgba(16, 24, 40, .22);
  transform: translateY(-2px);
}
/* Home news grid: equal-height cards with the button pinned to the bottom */
.collection-item.w-dyn-item { display: flex; }
.event-card.blog-card { display: flex; flex-direction: column; width: 100%; }
.event-card.blog-card .blog-content { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.event-card.blog-card .blog-content .button { margin-top: auto; align-self: flex-start; }
.wrapper-full.border { border-color: transparent; }
.tittle-blog, .blog-tittle { line-height: 1.35; letter-spacing: 0.01em; }
.tittle-blog { margin-top: 0; margin-bottom: 10px; }
.paragraph-12 { font-size: 15px; line-height: 1.55; color: var(--afa-body); margin-bottom: 22px; }
.heading-2.blog { line-height: 1.15; margin-bottom: 36px; }

.card.testimonial { box-shadow: 0 18px 40px -18px rgba(10, 30, 80, .35); }
.paragraph-9.card-testimonial { font-size: 16px; line-height: 1.6; }

/* ---------- Forms ---------- */
.field-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--afa-ink);
  margin-bottom: 6px;
}
.field.rounded, .dark-field, .w-select.field {
  font-size: 16px;
  line-height: 1.4;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--afa-line);
  border-radius: 8px;
  margin-bottom: 16px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
textarea.field.rounded, textarea.dark-field { min-height: 120px; }
.field.rounded:hover, .dark-field:hover { border-color: #cfd6e0; }
.field.rounded:focus, .dark-field:focus, .w-select.field:focus {
  border-color: var(--afa-blue);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(31, 111, 255, .18);
  outline: 0;
}
.field.rounded::placeholder, .dark-field::placeholder { color: #98a2b3; }
.location-contact-heading { line-height: 1.3; margin-top: 26px; margin-bottom: 12px; color: var(--afa-ink); }
.w-checkbox { margin-bottom: 6px; }
.w-checkbox-input { width: 16px; height: 16px; margin-top: 4px; margin-left: -24px; accent-color: var(--afa-blue); }
label.w-checkbox { padding-left: 24px; }
.w-checkbox + .small-text, .small-text { margin-bottom: 12px; }
.white-contact-form { border-radius: 14px; box-shadow: 0 20px 50px -24px rgba(16, 40, 90, .28); }
.success-message { border-radius: var(--afa-radius); }
/* The old Webflow reCAPTCHA box is no longer checked (forms use Turnstile) */
.w-form-formrecaptcha { display: none !important; }

/* ---------- Footer ---------- */
.footer-tittle { letter-spacing: 0.04em; margin-bottom: 6px; }
.footer-nav-link { font-size: 14px; letter-spacing: 0.04em; transition: opacity .15s; }
.footer-nav-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.text-block-10 { font-size: 14px; opacity: .8; }
.scroll-up-button { border-radius: 8px; transition: background-color .2s; }
.scroll-up-button:hover { background-color: rgba(255, 255, 255, .14); }

/* ---------- Misc ---------- */
.overall-video-lightbox, .video-lightbox-image-block { border-radius: var(--afa-radius); overflow: hidden; }
.client-logo { opacity: .8; transition: opacity .2s; }
.client-logo:hover { opacity: 1; }
::selection { background: rgba(31, 111, 255, .22); }

/* ---------- Desktop spacing + type scale ---------- */
@media screen and (min-width: 992px) {
  .section { padding-top: var(--afa-section); padding-bottom: var(--afa-section); }
  .section.tint.logos { padding-top: 72px; padding-bottom: 72px; }
  .section.pricing-section { padding-bottom: var(--afa-section); }
  .section.below-contact-form { padding-top: 10px; padding-bottom: var(--afa-section); }
  .section.below-contact-form.virtual-card { padding-bottom: 20px; }
  .section-8, .section-11 { padding-top: var(--afa-section); padding-bottom: var(--afa-section); }
  .section-9.gray.single { padding-top: var(--afa-section); padding-bottom: var(--afa-section); }
  .service { padding-top: var(--afa-section); padding-bottom: var(--afa-section); }
  .section-2.testimonials { padding-top: 128px; padding-bottom: 128px; }
  .section > .container:first-child:not(.middle):not(.above-image-section) { margin-top: 0; }
  .section-title-wrapper { margin-bottom: 56px; }

  .section-title { font-size: 42px; }
  .section-title.white { font-size: 40px; }
  .overall-hero-title { font-size: 54px; line-height: 1.08; letter-spacing: -0.015em; margin-bottom: 22px; }
  .overall-hero-description { font-size: 20px; line-height: 1.5; opacity: .9; width: 78%; }
  .full-hero-content-block h2 { font-size: 24px; line-height: 1.4; font-weight: 400; margin-top: 18px; }
  .full-hero-content-block .button { margin-top: 26px; padding: 14px 30px; }
  .collection-list.w-dyn-items { gap: 28px; }
  .collection-item.w-dyn-item { margin-bottom: 0; }
}

/* ---------- Tablet / phone ---------- */
@media screen and (max-width: 991px) {
  .section-title { line-height: 1.18; }
  .button, input.button { padding: 11px 22px; }
}
@media screen and (max-width: 767px) {
  .section { padding-top: 48px; padding-bottom: 48px; }
  /* was a fixed 2000px tall, so the form ran over the footer on small tablets */
  .section.below-contact-form { padding-top: 10px; height: auto; }
  .section-title { font-size: 28px; }
  .subpage-title { line-height: 1.15; }
  .event-card.blog-card .blog-content { padding: 22px; }
}
@media screen and (max-width: 479px) {
  .section { padding: 40px 20px 44px; }
  .section.below-contact-form { padding-top: 10px; }
  .section.grey.location-model { padding-left: 12px; padding-right: 12px; }
  .section-title { font-size: 26px; line-height: 1.2; }
  .subpage-title { font-size: 26px; line-height: 1.15; }
  .overall-hero-description { font-size: 16px; line-height: 1.5; }
  .button, input.button { font-size: 12px; line-height: 20px; padding: 11px 20px; }
  .white-contact-form { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .event-card.blog-card, .blog-card-wrapper.blog-card { transition: none; transform: none !important; }
}

/* Contact page: the embedded Copper form was a fixed 500px wide and pushed phones sideways */
.code-embed iframe { max-width: 100%; }
@media screen and (max-width: 767px) {
  .map-and-form-wrapper .w-container, .map-and-form-wrapper .code-embed { max-width: 100%; }
  .code-embed { justify-content: center; }
}
