/* INSTROFINE footer v2 (1 Nov 2026), loaded after if-footer.css. One grid (4 columns on tablets, 5 from 1024 px) carries the brand block,
   the help block, the link columns and the bottom row, so their left edges line up and the right side is never empty. Tokens only, no hex values. */
.if-ftr2 { --if-logo-w: 220px; --if-ftr2-gap: var(--if-space-5); }
.if-ftr2 .if-container.if-footer { padding-top: var(--if-space-6); padding-bottom: var(--if-space-5); }

/* Top: the brand on the left half, the help block on the right half. */
.if-ftr .e-con.if-ftr2__top { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: var(--if-space-6) var(--if-ftr2-gap) !important; }
.if-ftr .if-ftr2__brand, .if-ftr .if-ftr2__help { display: block !important; }
.if-ftr .if-ftr2__tagline p { margin: var(--if-space-3) 0 0; color: var(--if-text); font: 400 var(--if-fs-lede)/var(--if-lh-lede) var(--if-font-sans); }
.if-ftr .if-ftr2__about p { margin: 4px 0 0; color: var(--if-text-muted); font: 400 var(--if-fs-detail)/var(--if-lh-detail) var(--if-font-sans); }
.if-ftr .if-ftr2__q .elementor-heading-title { margin: 0; color: var(--if-text); font: 600 var(--if-fs-h3)/var(--if-lh-h3) var(--if-font-sans); text-transform: none; letter-spacing: 0; }
.if-ftr .if-ftr2__reply p { margin: 4px 0 0; color: var(--if-text-muted); font: 400 var(--if-fs-detail)/var(--if-lh-detail) var(--if-font-sans); }

/* The two pills, side by side at every width. */
.if-ftr .e-con.if-ftr2__cta { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--if-space-3) !important; margin-top: var(--if-space-4); }
.if-ftr .if-ftr2__btn .elementor-button { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 var(--if-space-5); box-sizing: border-box;
  border: 1px solid var(--if-action-primary-bg); border-radius: var(--if-radius-pill); background: var(--if-action-primary-bg); color: var(--if-action-primary-fg);
  font: 500 var(--if-fs-label)/var(--if-lh-label) var(--if-font-sans); text-decoration: none; box-shadow: none;
  transition: background-color var(--if-dur-fast) var(--if-ease), border-color var(--if-dur-fast) var(--if-ease), color var(--if-dur-fast) var(--if-ease); }
.if-ftr .if-ftr2__btn .elementor-button:hover { background: var(--if-action-primary-bg-hover); border-color: var(--if-action-primary-bg-hover); color: var(--if-action-primary-fg); }
.if-ftr .if-ftr2__btn--mail .elementor-button { background: transparent; border-color: var(--if-action-secondary-border); color: var(--if-action-secondary-fg); }
.if-ftr .if-ftr2__btn--mail .elementor-button:hover { background: var(--if-action-secondary-bg-hover); border-color: var(--if-action-secondary-border); color: var(--if-action-secondary-fg-hover); }
.if-ftr .if-ftr2__btn .elementor-button:focus-visible { outline: var(--if-focus-width) solid var(--if-focus-ring); outline-offset: var(--if-focus-offset); }
.if-ftr .if-ftr2__btn .elementor-button::before { content: ""; flex: none; width: 20px; height: 20px; background: currentColor; }
.if-ftr .if-ftr2__btn--wa .elementor-button::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / 20px 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / 20px 20px no-repeat; }
.if-ftr .if-ftr2__btn--mail .elementor-button::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center / 20px 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center / 20px 20px no-repeat; }

/* Link columns under a plain 1 px line: 2 across on phones, 4 on tablets, 5 from 1024 px. Quiet labels, clear links. */
.if-ftr2 .e-con.if-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--if-space-5) var(--if-ftr2-gap) !important; margin-top: var(--if-space-5); padding-top: var(--if-space-5); border-top: 1px solid var(--if-steel-700); }
.if-ftr2 .if-ftr__head .elementor-heading-title { margin: 0 0 var(--if-space-2); color: var(--if-text-muted); font: 500 var(--if-fs-label-sm)/var(--if-lh-label-sm) var(--if-font-sans); letter-spacing: var(--if-track-caps); text-transform: uppercase; }
.if-ftr2 .if-ftr__links .elementor-icon-list-items { gap: 0; }
.if-ftr2 .if-ftr__links a { align-items: center; min-height: 36px; color: var(--if-text); }

/* Contact us sits straight under the help block: a full-width row on phones and tablets (the email is too wide for a narrow column), its own column from 1024 px. */
.if-ftr2 .if-ftr__col.if-ftr2__contact { grid-column: 1 / -1; order: -1; }
.if-ftr2 .if-ftr2__contact .if-ftr__links .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 0 var(--if-space-5); }

/* Bottom row: on a phone it stacks, keeping clear of the back-to-top button. */
.if-ftr .e-con.if-ftr2__bottom { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: var(--if-space-2) var(--if-ftr2-gap) !important; margin-top: var(--if-space-5); padding-top: var(--if-space-4); border-top: 1px solid var(--if-steel-700); }
.if-ftr .if-ftr2__copy p, .if-ftr .if-ftr2__facts { margin: 0; color: var(--if-text-muted); font: 400 var(--if-fs-detail)/var(--if-lh-detail) var(--if-font-sans); }
.if-ftr .if-ftr2__facts { padding-right: 150px; } /* the floating WhatsApp pill (138 px wide) rests here at the end of the page */
.if-ftr .if-ftr2__facts ul { display: flex; flex-wrap: wrap; gap: 0 var(--if-space-4); margin: 0; padding: 0; list-style: none; }
.if-ftr .if-ftr2__facts li { margin: 0; padding: 0; }

@media (max-width: 359px) { /* too narrow to keep the pill clear from the side: leave room under the last line instead */
  .if-ftr2 .if-container.if-footer { padding-bottom: 80px; }
}
@media (min-width: 768px) {
  .if-ftr2 { --if-logo-w: 240px; }
  .if-ftr2 .if-container.if-footer { padding-top: var(--if-space-7); }
  .if-ftr .e-con.if-ftr2__top, .if-ftr2 .e-con.if-footer__cols, .if-ftr .e-con.if-ftr2__bottom { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .if-ftr .if-ftr2__brand, .if-ftr .if-ftr2__help, .if-ftr .if-ftr2__copy, .if-ftr .if-ftr2__facts { grid-column: span 2; }
  .if-ftr2 .e-con.if-footer__cols { margin-top: var(--if-space-6); padding-top: var(--if-space-6); }
  .if-ftr2 .if-ftr__head .elementor-heading-title { margin-bottom: var(--if-space-3); }
  .if-ftr2 .if-ftr__links a { min-height: 32px; }
}
@media (min-width: 1024px) {
  .if-ftr2 { --if-logo-w: 260px; }
  .if-ftr .e-con.if-ftr2__top, .if-ftr2 .e-con.if-footer__cols, .if-ftr .e-con.if-ftr2__bottom { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .if-ftr .if-ftr2__brand, .if-ftr .if-ftr2__facts { grid-column: span 3; }
  .if-ftr2 .if-ftr__col.if-ftr2__contact { grid-column: auto; order: 0; }
  .if-ftr2 .if-ftr2__contact .if-ftr__links .elementor-icon-list-items { display: grid; gap: 0; }
  .if-ftr .e-con.if-ftr2__cta { grid-template-columns: repeat(2, minmax(0, 200px)); }
}
