/* PAFEX theme overrides. Loaded after the other stylesheets.
   The footer has its own styles in components/SiteFooter.vue. */
/* Site palette (from the logo and the home page mockup):
   green #14532d / ink #123d26, orange #f56600 (hover #d95700), blue #2f63b3.
   The old red and navy tokens are re-pointed here so every page follows. */
:root {
  --pafex-green: #14532d;
  --pafex-orange: #f56600;
  --pafex-orange-hover: #d95700;
  --primary-red: #f56600;
  --dark-blue: #14532d;
  --secondary-blue: #14532d;
  --pafex-red: #f56600;
  --pafex-blue: #14532d;
  --pafex-dark: #123d26;
}

/* Page title bands on inner pages: green instead of red */
.pafex-page-banner { background: linear-gradient(135deg, #14532d 0%, #0e4024 100%) !important; }

/* Headings in the home page's sections use the green ink */
.pafex-page :is(h2, h3).color--black { color: #123d26; }

/* Call-to-action band: dark green, white text */
.pafex-cta-strip { background: var(--pafex-green) !important; }
.pafex-cta-strip h2,
.pafex-cta-strip p,
.pafex-cta-strip .pafex-label { color: #fff !important; }
.pafex-cta-strip p,
.pafex-cta-strip .pafex-label { opacity: 0.85; }

/* Its white button: white with dark green text */
.pafex-cta-strip .pafex-btn-white { background: #fff !important; color: var(--pafex-green) !important; }
.pafex-cta-strip .pafex-btn-white:hover { background: #eef5f1 !important; }

/* Small square icon tiles (Contact, Branches): line icons in orange */
.pafex-feature-icon { color: var(--pafex-orange); }

/* ── Phone layout fixes ─────────────────────────────────────── */
@media (max-width: 768px) {
  /* Services: keep section illustrations small so the text comes first */
  .pafex-svc-illus { max-width: 170px !important; margin: 0 auto !important; }
  .pafex-svc-illus:not([style*="max-width"]) { width: auto !important; max-height: 170px; }

  /* Home: "Important Update" sits low in the corner instead of mid-screen */
  .pafex-update-btn { bottom: 20px !important; left: 12px !important; padding: 9px 14px !important; font-size: 13px !important; }
}

@media (max-width: 640px) {
  /* Pickup: steps wrap into rows; the arrows between them only make sense in one line */
  .pafex-step-arrow { display: none !important; }

  /* Documents: each table row becomes a small card with its own labels */
  .pafex-doc-table, .pafex-doc-table tbody, .pafex-doc-table tr, .pafex-doc-table td { display: block; width: 100%; box-sizing: border-box; }
  .pafex-doc-table thead { display: none; }
  .pafex-doc-table tr { padding: 14px 16px; border-bottom: 1px solid #edf0ee; }
  .pafex-doc-table td { padding: 3px 0 !important; border: 0 !important; }
  .pafex-doc-table td:first-child { font-weight: 700; color: #123d26; font-size: 15px; padding-bottom: 6px !important; }
  .pafex-doc-table td::before { font-family: "Inter", system-ui, sans-serif !important; font-style: normal; }
  .pafex-doc-table td:nth-child(2)::before { content: "Required: "; font-weight: 600; color: #123d26; }
  .pafex-doc-table td:nth-child(3)::before { content: "Optional: "; font-weight: 600; color: #123d26; }
}
