/* PTF Footer 4 Columns — standalone, scoped to .ptf4-footer */
.ptf4-footer{box-sizing:border-box;position:relative;clear:both;width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:0;background:var(--ptf4-bg,#fffaf6);border-top:1px solid #e8e4e0;color:#102e62;font-family:inherit;overflow:hidden}
.ptf4-footer *{box-sizing:border-box}
.ptf4-footer .ptf4-inner{width:calc(100% - 48px);max-width:1440px;margin:0 auto;padding:42px 0 14px}
.ptf4-footer .ptf4-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.95fr) minmax(0,.95fr) minmax(0,1.1fr);gap:clamp(25px,3.7vw,64px);align-items:start}
.ptf4-footer .ptf4-column{min-width:0}
.ptf4-footer .ptf4-logo-link{display:inline-flex;margin:0 0 14px;max-width:100%}
.ptf4-footer .ptf4-logo{display:block;max-width:100%;width:auto;height:auto;max-height:92px;object-fit:contain}
.ptf4-footer h2,.ptf4-footer h3,.ptf4-footer p{margin-top:0}
.ptf4-footer .ptf4-company{font-size:clamp(14px,1.02vw,17px);font-weight:800;line-height:1.5;margin:0 0 12px;color:#0d2e63;letter-spacing:0}
.ptf4-footer .ptf4-about h3{font-size:13px;font-weight:800;color:#12396f;margin:0 0 9px}
.ptf4-footer .ptf4-heading{font-size:clamp(13px,1vw,16px);line-height:1.35;letter-spacing:.01em;font-weight:850;color:#112f65;text-transform:uppercase;margin:7px 0 16px}
.ptf4-footer .ptf4-contacts,.ptf4-footer .ptf4-links{margin:0;padding:0;list-style:none}
.ptf4-footer .ptf4-contacts li{display:flex;align-items:flex-start;gap:8px;margin:0 0 8px;font-size:clamp(12px,.83vw,14px);line-height:1.5;color:#283d5c}
.ptf4-footer .ptf4-contacts .ptf4-icon{flex:0 0 16px;width:16px;height:16px;margin-top:2px;color:#ff810b}
.ptf4-footer .ptf4-links li{font-size:clamp(12px,.85vw,14px);line-height:1.5;margin:0 0 8px}
.ptf4-footer a{color:inherit;text-decoration:none!important}
.ptf4-footer a:hover{color:#ee7000!important}
.ptf4-footer .ptf4-badges{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:13px 0 0}
.ptf4-footer .ptf4-badges img{max-width:125px;max-height:55px;width:auto;height:auto;object-fit:contain}
.ptf4-footer .ptf4-social-list{display:flex;flex-direction:column;gap:13px}
.ptf4-footer .ptf4-social-item{display:block;max-width:100%;text-decoration:none!important;color:#12376d}
.ptf4-footer .ptf4-social-label{display:flex;align-items:center;gap:7px;font-size:clamp(12px,.85vw,14px);font-weight:650;line-height:1.35;margin-bottom:6px}
.ptf4-footer .ptf4-social-label svg{flex:0 0 17px;width:17px;height:17px;color:#f57000}
.ptf4-footer .ptf4-social-preview{display:block;width:100%;max-width:260px;max-height:112px;height:auto;object-fit:cover;object-position:top;border-radius:7px;border:1px solid #e3e7ed;background:#fff;box-shadow:0 2px 5px rgba(20,45,80,.07)}
.ptf4-footer .ptf4-copyright{text-align:center;color:#355277;font-size:clamp(11px,.83vw,13px);font-weight:500;padding:18px 0 0;margin:18px 0 0;border-top:1px solid rgba(21,53,100,.08)}
@media(max-width:1199px){.ptf4-footer .ptf4-inner{width:calc(100% - 28px)}.ptf4-footer .ptf4-columns{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:26px}.ptf4-footer .ptf4-social{grid-column:1/-1}.ptf4-footer .ptf4-social-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ptf4-footer .ptf4-social-preview{max-width:260px}}
@media(max-width:767px){.ptf4-footer .ptf4-inner{width:calc(100% - 22px);padding:30px 0 15px}.ptf4-footer .ptf4-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 20px}.ptf4-footer .ptf4-about{grid-column:1/-1}.ptf4-footer .ptf4-logo{max-height:78px}.ptf4-footer .ptf4-heading{margin:4px 0 13px}.ptf4-footer .ptf4-social{grid-column:1/-1}.ptf4-footer .ptf4-social-list{grid-template-columns:repeat(2,minmax(0,1fr))}.ptf4-footer .ptf4-company{font-size:15px}.ptf4-footer .ptf4-links li,.ptf4-footer .ptf4-contacts li{font-size:13px}.ptf4-footer .ptf4-copyright{font-size:11px;line-height:1.5}}
@media(max-width:380px){.ptf4-footer .ptf4-columns{column-gap:13px}.ptf4-footer .ptf4-heading{font-size:12px}.ptf4-footer .ptf4-links li{font-size:12px}}


/* v1.0.3 — Flatsome applies bottom padding to its page content wrapper.
   On the homepage using [ptf_homepage], this creates a blank band after the
   final full-bleed consultation section and before the custom footer. Remove
   only that wrapper spacing; do not change footer spacing on other pages. */
@supports selector(body:has(.ptfh-home)) {
  body:has(.ptfh-home) #main,
  body:has(.ptfh-home) #main .page-wrapper,
  body:has(.ptfh-home) #main > .page-wrapper,
  body:has(.ptfh-home) #content,
  body:has(.ptfh-home) #content > .page-wrapper {
    padding-bottom:0 !important;
    margin-bottom:0 !important;
  }
  body:has(.ptfh-home) .ptfh-home {
    padding-bottom:0 !important;
    margin-bottom:0 !important;
  }
  body:has(.ptfh-home) .ptf4-footer {
    margin-top:0 !important;
  }
}

/* v1.0.5 — Close the remaining 12px gap on the homepage.
   Total compensation is 28px (16px from v1.0.4 + 12px).
   Only applies where the PTF Homepage shortcode is present. */
@supports selector(body:has(.ptfh-home)) {
  body:has(.ptfh-home) #main,
  body:has(.ptfh-home) #main > .page-wrapper,
  body:has(.ptfh-home) .page-wrapper,
  body:has(.ptfh-home) #content,
  body:has(.ptfh-home) .ptfh-home {
    margin-bottom:0 !important;
    padding-bottom:0 !important;
  }
  body:has(.ptfh-home) .ptf4-footer {
    position:relative;
    z-index:1;
    margin-top:-28px !important;
  }
}

/* v1.0.7 - Tablet 768-1199px: keep four footer columns on one row. */
@media (min-width:768px) and (max-width:1199px) {
  .ptf4-footer .ptf4-inner {
    width:calc(100% - 28px);
    max-width:1440px;
  }
  .ptf4-footer .ptf4-columns {
    grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,.9fr) minmax(0,1fr);
    column-gap:clamp(12px,1.8vw,24px);
    row-gap:0;
  }
  .ptf4-footer .ptf4-social {
    grid-column:auto;
  }
  .ptf4-footer .ptf4-social-list {
    display:flex;
    flex-direction:column;
    gap:12px;
  }
  .ptf4-footer .ptf4-social-preview {
    width:100%;
    max-width:100%;
    height:auto;
  }
  .ptf4-footer .ptf4-heading {
    font-size:clamp(12px,1.1vw,15px);
    overflow-wrap:anywhere;
  }
  .ptf4-footer .ptf4-contacts li,
  .ptf4-footer .ptf4-links li,
  .ptf4-footer .ptf4-social-label {
    font-size:12px;
    overflow-wrap:anywhere;
  }
}

/* v1.0.8 — Footer background remains full viewport width; inner content
   aligns to the 1440px header container. Grid, columns and all other
   footer presentation rules are unchanged. */

/* Short company description, between company name and contacts. */
.ptf4-footer .ptf4-company-description {margin:-3px 0 15px;color:#40536e;font-size:clamp(12px,.83vw,14px);font-weight:400;line-height:1.6;overflow-wrap:anywhere;}
@media(max-width:767px){.ptf4-footer .ptf4-company-description{font-size:13px;margin-bottom:12px;}}

/* v1.2.0: More social channels, consistent labels and no false links. */
.ptf4-footer .ptf4-social-unlinked{cursor:default}
.ptf4-footer .ptf4-social-label{margin-bottom:0}
.ptf4-footer .ptf4-social-preview{margin-top:6px}
