/* ===== Site footer =====
   Navy block: brand + quote button, Pages, Products, Contact. Darker base bar
   with copyright, legal links and the specifications notice. */
.sf {
  --sf-blue: #01579b;
  --sf-cyan: #01c4fc;
  --sf-navy: #16163f;
  --sf-deep: #0e0e2c;
  --sf-rule: rgba(255,255,255,.14);
  --sf-soft: rgba(255,255,255,.78);
  --sf-wrap: 1350px; /* same as the page content container */
  background: var(--sf-navy); color: #fff; border-top: 4px solid var(--sf-blue);
  font-family: Montserrat, system-ui, sans-serif;
}
.sf *, .sf *::before, .sf *::after { box-sizing: border-box; }
.sf h2, .sf p, .sf ul { margin: 0; padding: 0; }
.sf ul { list-style: none; }
.sf a { color: inherit; text-decoration: none; }
.sf a:focus-visible { outline: 2px solid var(--sf-cyan); outline-offset: 3px; }

.sf-main { max-width: var(--sf-wrap); margin-inline: auto; padding: 72px 10px 64px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; }

.sf-logo img { display: block; width: 210px; height: auto; }
.sf .sf-about { max-width: 26em; margin-top: 26px; font-size: 16px; line-height: 1.7; color: var(--sf-soft); text-wrap: pretty; }
.sf .sf-quote { display: inline-flex; align-items: center; gap: 16px; min-height: 56px; margin-top: 28px; padding: 10px 26px; background: var(--sf-blue); color: #fff; font-size: 16px; font-weight: 700; transition: background .2s; }
.sf .sf-quote:hover, .sf .sf-quote:focus-visible { background: #fff; color: var(--sf-blue); }
.sf .sf-quote svg { width: 1em; height: 1em; font-size: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.sf .sf-quote:hover svg { transform: translateX(4px); }

.sf .sf-col h2 { font-family: "Open Sans", system-ui, sans-serif; font-size: 19px; font-weight: 700; line-height: 1.2; color: #fff; }
.sf .sf-col h2::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 14px; background: var(--sf-cyan); }
.sf-links { margin-top: 22px !important; }
.sf-links li + li { margin-top: 2px; }
.sf .sf-links a { display: inline-block; padding: 5px 0; font-size: 16px; line-height: 1.4; color: var(--sf-soft); background: linear-gradient(var(--sf-cyan), var(--sf-cyan)) left bottom 3px / 0 2px no-repeat; transition: color .2s, background-size .25s; }
.sf .sf-links a:hover, .sf .sf-links a:focus-visible { color: #fff; background-size: 100% 2px; }

.sf-phones { margin-top: 22px !important; }
.sf-phones li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--sf-rule); font-size: 16px; line-height: 1.4; }
.sf-phones li:first-child { padding-top: 0; }
.sf-phones span { color: var(--sf-soft); }
.sf .sf-phones a { font-weight: 600; color: #fff; white-space: nowrap; transition: color .2s; }
.sf .sf-phones a:hover, .sf .sf-email:hover { color: var(--sf-cyan); }
.sf .sf-email { display: inline-block; margin-top: 18px; font-size: 18px; font-weight: 700; color: #fff; border-bottom: 2px solid var(--sf-cyan); padding-bottom: 2px; transition: color .2s; }

.sf-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px !important; }
.sf .sf-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); color: #fff; transition: background .2s, border-color .2s, color .2s; }
.sf .sf-social a:hover, .sf .sf-social a:focus-visible { background: #fff; border-color: #fff; color: var(--sf-navy); }
.sf-social svg { width: 19px; height: 19px; fill: currentColor; }

/* Base bar */
.sf-base { background: var(--sf-deep); }
.sf-base-in { max-width: var(--sf-wrap); margin-inline: auto; padding: 24px 10px 26px; display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; align-items: center; }
.sf .sf-copy { font-size: 15px; font-weight: 600; color: #fff; }
.sf-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 28px; }
.sf .sf-legal a { font-size: 15px; color: var(--sf-soft); transition: color .2s; }
.sf .sf-legal a:hover, .sf .sf-legal a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--sf-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sf .sf-notice { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--sf-rule); font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.62); }

@media (max-width: 1240px) {
  .sf-main { gap: 36px; padding-block: 60px 52px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.3fr); }
  .sf .sf-links a, .sf-phones li { font-size: 15px; }
}

@media (max-width: 1000px) {
  .sf-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; }
  .sf-brand, .sf-contact { grid-column: 1 / -1; }
  .sf-contact { max-width: 460px; }
  .sf-base-in { grid-template-columns: 1fr; }
  .sf-legal { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .sf-main { padding-block: 48px 44px; gap: 40px 24px; }
  .sf-logo img { width: 180px; }
  .sf .sf-quote { width: 100%; justify-content: space-between; }
  .sf-legal { gap: 8px 22px; }
  .sf-base-in { padding-bottom: 64px; } /* clears the floating trust badge */
}

/* Phones: a little more room at the screen edges */
@media (max-width: 767px) {
  .sf-main, .sf-base-in { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .sf * { transition: none !important; }
}
