/* =========================================================
   ARGUS FOOTER
   Navy "request a schedule" CTA strip + four-column footer
   + copyright bar. Tokens come from style.css :root.
========================================================= */

/* ---------------------------------------------------------
   1. CTA STRIP (navy, sits directly above the footer)
--------------------------------------------------------- */
.argus-cta-strip {
  background: var(--argus-navy);
  color: #fff;
  padding: 3.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}
/* Soft decorative wash, echoing the reference design's wave/dot motif.
   Purely presentational - no image dependency. */
.argus-cta-strip::before {
  content: "";
  position: absolute;
  top: -60px; left: -40px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(62,89,246,.28), transparent 65%);
  pointer-events: none;
}
.argus-cta-strip__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.argus-cta-strip__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  line-height: 1.25;
}
.argus-cta-strip__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.argus-hotline {
  display: inline-flex; align-items: center; gap: .8rem;
  background: var(--argus-navy-soft);
  border-radius: var(--argus-radius-pill);
  padding: .7rem 1.5rem .7rem .9rem;
  text-decoration: none;
}
.argus-hotline__icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
/* style.css colours bare <span>/<small> slate; force light on the dark strip. */
.argus-hotline__text { display: flex; flex-direction: column; line-height: 1.25; }
.argus-hotline__text small { font-size: .72rem; color: #C3CAE4; }
.argus-hotline__text strong { font-size: 1.05rem; color: #fff; }

.argus-cta-strip__btn { text-decoration: none; }
.argus-cta-strip__btn .argus-ico { width: 1.05rem; height: 1.05rem; }

@media (max-width: 860px) {
  .argus-cta-strip__inner { flex-direction: column; align-items: flex-start; }
  .argus-cta-strip__title br { display: none; }
}

/* ---------------------------------------------------------
   2. FOOTER BODY
--------------------------------------------------------- */
.argus-footer { background: #fff; }
.argus-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.25fr 1.35fr;
  gap: 3rem;
}

/* Five columns once "Locations We Serve" has something to show. The modifier
   has the SAME specificity as .argus-footer__inner, so the existing 1050px and
   620px rules below still win at those widths purely by source order - which is
   why this block and its 1200px query must stay ABOVE them. */
.argus-footer__inner--5 {
  /* Floors, not just ratios: each track has to be wide enough for its own
     longest unbreakable string. Without them "Locations We Serve" wrapped
     to two lines at 1240px and support@arguscg.com broke mid-word. */
  grid-template-columns:
    minmax(200px, 1.15fr)   /* brand + logo            */
    minmax(135px, .75fr)    /* Menu                    */
    minmax(215px, 1.18fr)   /* Products & Services     */
    minmax(195px, 1.05fr)   /* Locations We Serve      */
    minmax(240px, 1.3fr);   /* Visit Us (NAP + email)  */
  gap: 2rem;
}
@media (max-width: 1200px) {
  .argus-footer__inner--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1050px) { .argus-footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 620px)  { .argus-footer__inner { grid-template-columns: 1fr; } }

.argus-footer__logo { display: inline-block; line-height: 0; margin-bottom: 1.25rem; }
.argus-footer__logo img { width: 190px; height: auto; }

.argus-footer__blurb {
  color: var(--argus-slate);
  font-size: .95rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.argus-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .85rem; }
.argus-footer__contact a {
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--argus-navy); font-weight: 600; text-decoration: none;
}
.argus-footer__contact a span { color: var(--argus-navy); }
.argus-footer__contact a:hover,
.argus-footer__contact a:hover span { color: var(--argus-blue); }
.argus-footer__contact .argus-ico { color: var(--argus-blue); width: 1.15rem; height: 1.15rem; }

/* Section headings with the short accent rule from the design. */
.argus-footer__heading {
  font-size: 1.18rem;
  color: var(--argus-navy);
  margin: 0 0 1.6rem;
  position: relative;
  padding-bottom: .75rem;
}
.argus-footer__heading::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 38px; height: 3px; border-radius: 2px;
  background: var(--argus-blue);
}

.argus-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.argus-footer__links a {
  color: var(--argus-slate);
  font-size: .96rem;
  text-decoration: none;
  transition: color .15s ease, padding-left .15s ease;
}
.argus-footer__links a:hover { color: var(--argus-blue); padding-left: 4px; }

/* --- office NAP (replaced the footer newsletter signup) ---
   The newsletter was removed on the owner's instruction. Its Contact Form 7
   email input carried size="40", which set a 367px min-content width on this
   column and put the whole page into horizontal scroll at 320-390px. Nothing
   here has an intrinsic minimum, so the column now shrinks properly. */
.argus-footer__nap { margin-bottom: 1.6rem; gap: 1rem; }

/* The street address wraps to two lines, so the icon has to sit against the
   first line instead of centring itself against the whole block. */
.argus-footer__nap a { align-items: flex-start; line-height: 1.6; }
.argus-footer__nap .argus-ico { flex: 0 0 1.15rem; margin-top: .2rem; }

/* Never let the address or the support mailbox set a min-content width the
   viewport cannot honour - the same trap that overflowed the About page. */
.argus-footer__nap span { min-width: 0; overflow-wrap: anywhere; }
/* --- social --- */
/* ARGUS_SOCIAL_LINKS_V1 - five 42px chips plus gaps is ~254px, which fits the
   footer column at 1200px but not at every step down to it. Wrapping to a
   second row is the correct failure mode; pushing the column wider is not. */
.argus-footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.argus-footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: #F1F3FA;
  color: var(--argus-navy);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.argus-footer__social a:hover { background: var(--argus-blue); color: #fff; }
.argus-footer__social .argus-ico { width: 1.1rem; height: 1.1rem; }

/* ---------------------------------------------------------
   3. COPYRIGHT BAR
--------------------------------------------------------- */
.argus-footer__bar {
  border-top: 1px solid #E7EAF4;
  padding: 1.5rem;
}
.argus-footer__bar p {
  margin: 0;
  text-align: center;
  font-size: .9rem;
  color: var(--argus-slate);
}

/* ---------------------------------------------------------
   4. GP SUPPORT PLEDGE BADGE  ([argus_pledge])
--------------------------------------------------------- */
.argus-pledge--center { display: flex; justify-content: center; }
.argus-pledge--left   { display: flex; justify-content: flex-start; }

/* Seal - client-supplied raster badge (see argus-blocks.php).
   It is a landscape ellipse, roughly 1.21:1, and carries far more type than a
   circular seal would, including a small "modernize on your timeline" line - so
   it needs about twice the display width the old vector seal used or that line
   stops being readable. The artwork has its own ring and flat styling, so no
   drop shadow. */
.argus-pledge--seal img {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 900px) { .argus-pledge--seal img { width: 320px; } }
@media (max-width: 600px) { .argus-pledge--seal img { width: 270px; } }

/* Horizontal lockup - reads well beside body copy */
.argus-pledge--bar > .argus-pledge__mark,
.argus-pledge--bar { align-items: center; }
.argus-pledge--bar {
  display: inline-flex;
  gap: 1rem;
  background: var(--argus-navy);
  color: #fff;
  border-radius: var(--argus-radius-pill, 999px);
  padding: .85rem 1.6rem .85rem 1.15rem;
  border: 1px solid rgba(234, 180, 61, .45);
}
.argus-pledge--bar.argus-pledge--center { display: inline-flex; }
.argus-pledge__mark { color: #fff; line-height: 0; flex: 0 0 auto; }
.argus-pledge__mark svg { width: 34px; height: 29px; }
.argus-pledge__text { display: flex; flex-direction: column; line-height: 1.3; }
/* style.css colours bare <small>/<strong> slate - force light on navy. */
.argus-pledge__text small {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: #EAB43D; font-weight: 700;
}
.argus-pledge__text strong { font-size: 1.02rem; color: #fff; font-weight: 700; }

/* Wrapper used on the homepage to sit the seal beside the pledge copy */
.argus-pledge-block {
  display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center;
  max-width: 900px; margin: 0 auto;
}
.argus-pledge-block h2 { margin-top: 0; }
.argus-pledge-block p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .argus-pledge-block { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
  .argus-pledge-block .argus-pledge { justify-content: center; }
}

/* ---------------------------------------------------------
   5. BACK TO TOP (GeneratePress)
--------------------------------------------------------- */
.generate-back-to-top {
  background: var(--argus-blue);
  color: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  line-height: 44px;
  box-shadow: 0 8px 22px rgba(14, 26, 73, .22);
}
.generate-back-to-top:hover,
.generate-back-to-top:focus { background: var(--argus-blue-hover); color: #fff; }

/* Service-area line under the locations links. */
.argus-footer__note {
  color: var(--argus-slate);
  font-size: .85rem;
  line-height: 1.7;
  margin: 1.1rem 0 0;
}
