/* Shared footer for the home, catalogue and product detail views. */
.nfx-footer {
  --nf-blue: #163958;
  --nf-amber: #ffae59;
  --nf-text: #f7fafc;
  --nf-muted: #c9d9e4;
  --nf-rule: #4b6a82;
  background: var(--nf-blue);
  color: var(--nf-text);
  line-height: 1.5;
}
.nf-shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.nfx-footer :is(h2, h3, p, ul) { margin: 0; }
.nfx-footer a { color: inherit; text-decoration: none; }
.nfx-footer button { font: inherit; cursor: pointer; }
.nfx-footer :is(a, button):focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--nf-blue);
}
.nfx-footer :is([hidden], .nf-toggle) { display: none; }
.nf-mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: 52px 42px;
}
.nf-brand {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.nf-logo { display: block; width: 100%; height: auto; }
.nfx-footer .nf-belief {
  color: white;
  font-family: inherit;
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}
.nfx-footer .nf-intro { margin-top: 12px; color: var(--nf-muted); font-size: 16px; line-height: 1.55; max-width: 54ch; }
.nf-actions { display: grid; justify-items: start; gap: 4px; }
.nfx-footer :is(.nf-primary, .nf-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.nfx-footer .nf-primary {
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 3px;
  color: #19344a;
  background: var(--nf-amber);
}
.nfx-footer .nf-secondary { color: white; }
.nf-primary:hover { background: #ffc282; }
.nfx-footer :is(.nf-secondary, .nf-list a, .nf-top):hover { text-decoration: underline; text-underline-offset: .25em; }
.nf-directory {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.05fr .72fr 1.65fr;
  gap: clamp(20px, 2vw, 32px);
  align-items: start;
  padding: 34px 0 36px;
  border-block: 1px solid var(--nf-rule);
}
.nfx-footer :is(.nf-group, .nf-projects, .nf-news) { min-width: 0; }
.nfx-footer .nf-directory h3 {
  color: white;
  font-family: inherit;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.35;
  font-weight: 600;
}
.nf-list { list-style: none; padding: 0; }
.nfx-footer .nf-group .nf-list { margin-top: 12px; }
.nf-list li { margin: 0; padding: 0; }
.nf-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e1eaf0;
  font-size: 16px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.nfx-footer .nf-news { border-inline-start: 1px solid var(--nf-rule); padding-inline-start: clamp(20px, 2.3vw, 36px); }
.nf-news p { color: var(--nf-muted); font-size: 15px; line-height: 1.6; }
.nfx-footer .nf-news h3 + p { margin-top: 16px; }
.nf-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 0 20px;
}
.nf-note { max-inline-size: 90ch; color: var(--nf-muted); font-size: 13px; line-height: 1.6; }
.nfx-footer .nf-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 0 2px;
  background: transparent;
  color: white;
  border: 0;
  font-size: 14px;
}
@media (max-width: 1150px) {
  .nf-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 36px); }
  .nfx-footer .nf-news { grid-column: span 2; padding: 0; border: 0; }
}
@media (min-width: 701px) and (max-width: 1150px) {
  .nf-signup { max-width: 32rem; }
}
@media (max-width: 1000px) {
  .nf-shell { width: calc(100% - 56px); }
  .nf-mast { padding-block: 40px 32px; }
  .nf-brand { grid-template-columns: 140px 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .nf-mast { display: block; padding-block: 32px 26px; }
  .nf-brand { display: block; }
  .nf-logo { width: 144px; }
  .nf-brand-copy { margin-top: 18px; }
  .nfx-footer .nf-belief { font-size: clamp(25px, 6.1vw, 34px); }
  .nfx-footer .nf-intro { margin-top: 8px; }
  .nfx-footer:lang(en) .nf-intro { font-size: clamp(.875rem, calc(5vw - 2px), 1rem); }
  .nf-intro .nf-reply { display: block; }
  .nf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 20px; }
  .nf-directory { display: block; padding: 0; }
  .nf-group { border-bottom: 1px solid var(--nf-rule); }
  .nf-static { display: none; }
  .nfx-footer .nf-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    padding: 8px 2px 8px 0;
    text-align: start;
    color: white;
    border: 0;
    background: transparent;
  }
  .nf-plus { position: relative; width: 16px; height: 16px; flex: none; }
  .nf-plus::before, .nf-plus::after { position: absolute; content: ""; background: var(--nf-amber); }
  .nf-plus::before { left: 1px; right: 1px; top: 7px; height: 2px; }
  .nf-plus::after { top: 1px; bottom: 1px; left: 7px; width: 2px; }
  .nf-toggle[aria-expanded="true"] .nf-plus::after { display: none; }
  .nfx-footer .nf-group .nf-list { margin: 0; padding: 0 0 12px; }
  .nf-list:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .nf-list a { width: 100%; height: 100%; padding-block: 5px; }
  .nfx-footer .nf-news { padding: 24px 0; }
  .nfx-footer .nf-news h3 + p { margin-top: 9px; }
  .nf-base { flex-wrap: wrap; gap: 4px; justify-content: start; padding: 16px 0; }
  .nf-note { width: 100%; }
}
@media (max-width: 640px) {
  .nf-shell { width: calc(100% - 38px); }
}

/* The company's public contact line and office hours. */
.nf-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 28px;
  padding-block: 16px;
  border-bottom: 1px solid var(--nf-rule);
}
.nf-contact-name, .nf-hours { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.nfx-footer .nf-contact h3 { color: white; font-size: 16px; font-weight: 600; line-height: 1.4; }
.nf-contact .nf-phone, .nf-contact .nf-contact-link {
  display: inline-flex; align-items: center; min-height: 44px;
  gap: 6px; font-weight: 600; text-decoration: none;
}
.nfx-footer .nf-phone { color: var(--nf-amber); font-size: 21px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nf-hours { color: var(--nf-muted); font-size: 14px; line-height: 1.6; }
.nf-hours span { white-space: nowrap; }
.nf-hours span:first-child { color: white; font-weight: 600; }
.nf-contact-link { font-size: 14px; }
.nf-contact a:hover { text-decoration: underline; text-underline-offset: .22em; }
@media (max-width: 700px) {
  .nf-contact { display: grid; gap: 8px; padding: 20px 0 12px; }
  .nf-contact-name { gap: 2px 16px; }
  .nf-hours { gap: 2px 12px; }
  .nf-hours span:first-child { width: 100%; }
  .nf-contact-link { justify-self: start; }
}

.nfx-footer .nf-featured {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  max-width: 340px;
}
.nf-featured img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 40%; }
.nf-featured-copy { display: grid; gap: 5px; }
.nf-featured-desc { color: var(--nf-muted); font-size: 15px; line-height: 1.5; }
.nf-capacity { white-space: nowrap; }
.nf-featured-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: white; font-size: 16px; font-weight: 600; }
.nf-featured:hover .nf-featured-link { text-decoration: underline; text-underline-offset: .24em; }
.nf-sr-only, .nf-signup-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nf-signup { margin: 14px 0 0; }
.nf-signup-row { display: flex; width: 100%; border-radius: 3px; }
.nf-signup-row input {
  flex: 1; min-width: 0; width: 100%; min-height: 48px; padding: 10px 12px;
  color: #19344a; background: white; font: inherit; font-size: 16px;
  border: 1px solid white; border-radius: 3px 0 0 3px;
}
.nf-signup-row input::placeholder { color: #56656c; opacity: 1; }
.nfx-footer .nf-signup-row input:focus-visible { outline: 2px solid #19344a; outline-offset: -4px; }
.nf-signup-row input[aria-invalid="true"] { box-shadow: inset 0 -3px #b34a19; }
.nfx-footer .nf-signup-row button {
  min-width: 62px; min-height: 48px; padding: 8px 14px; margin: 0;
  color: #19344a; background: var(--nf-amber); font-size: 16px; font-weight: 700;
  border: 0; border-radius: 0 3px 3px 0;
}
.nf-signup-row button:hover { background: #ffc282; }
.nf-signup-row button:disabled { cursor: wait; opacity: .78; }
.nfx-footer .nf-signup-status:not(:empty) { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #fff0da; }
.nfx-footer .nf-email-contact { margin-top: 12px; font-size: 14px; overflow-wrap: anywhere; }
.nf-email-contact a { color: white; text-decoration: underline; text-underline-offset: .2em; }
.nf-profiles { margin-top: 12px; }
.nfx-footer .nf-profiles-label { color: var(--nf-text); font-size: 14px; font-weight: 600; }
.nf-profile-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.nfx-footer .nf-social-link { display: inline-grid; place-items: center; width: 44px; height: 44px; color: white; }
.nf-social-link svg { display: block; width: 30px; height: 30px; box-sizing: border-box; padding: 3px; }
.nf-linkedin svg { border-radius: 4px; background: #0A66C2; }
.nf-facebook svg { border-radius: 50%; background: #0866FF; }
.nf-whatsapp svg { border-radius: 50%; background: #25D366; }
.nf-profile-links a:hover svg, .nf-profile-links a:focus-visible svg { outline: 1px solid white; outline-offset: 2px; }
@media (max-width: 700px) {
  .nf-projects { padding: 18px 0; border-bottom: 1px solid var(--nf-rule); }
  .nfx-footer .nf-featured { gap: 10px; margin-top: 12px; max-width: none; }
  .nf-featured img { aspect-ratio: 16 / 9; }
  .nf-featured-copy { gap: 6px; }
}
@media (min-width: 481px) and (max-width: 700px) {
  .nfx-footer .nf-featured { grid-template-columns: 48% minmax(0, 1fr); align-items: center; column-gap: 20px; }
}
