/* HASTEC shared header and footer — responsive, dependency-free */
:root {
  --ht-blue: #174a8b;
  --ht-blue-deep: #103866;
  --ht-gold: #e8ad22;
  --ht-green: #0d5037;
  --ht-green-dark: #073b2a;
  --ht-ink: #172536;
  --ht-muted: #637184;
  --ht-line: #e3e9ef;
  --ht-white: #fff;
}
.skip-link{position:absolute;left:-9999px;top:10px;z-index:9999;padding:12px 16px;background:#fff;color:#111;border-radius:8px}
.skip-link:focus{left:10px}
.ht-site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(20,47,74,.09);backdrop-filter:blur(14px)}
.ht-header-inner{max-width:1200px;min-height:86px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.ht-brand{display:inline-flex;align-items:center;gap:11px;min-width:0;text-decoration:none;color:var(--ht-blue-deep)}
.ht-brand img{display:block;width:54px;height:54px;object-fit:contain;flex:0 0 auto}
.ht-brand-copy{display:flex;flex-direction:column;line-height:1.1}
.ht-brand-copy strong{font-size:1.42rem;letter-spacing:.07em;font-weight:850}
.ht-brand-copy small{margin-top:5px;font-size:.58rem;letter-spacing:.12em;font-weight:750}
.ht-primary-nav{display:flex;align-items:center;gap:clamp(15px,2.1vw,29px)}
.ht-primary-nav>a{position:relative;padding:10px 0;color:#344256;text-decoration:none;font-size:.94rem;font-weight:650;white-space:nowrap;transition:color .2s}
.ht-primary-nav>a:hover,.ht-primary-nav>a.is-active{color:var(--ht-blue)}
.ht-primary-nav>a.is-active:after{position:absolute;content:"";left:0;right:0;bottom:2px;height:2px;background:var(--ht-gold);border-radius:2px}
.ht-nav-actions{display:flex;align-items:center;gap:15px;margin-left:2px}
.ht-account-link{color:var(--ht-blue-deep);text-decoration:none;font-size:.9rem;font-weight:700;white-space:nowrap}
.ht-quote-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:0 19px;border-radius:8px;background:var(--ht-blue);color:#fff!important;text-decoration:none;font-size:.9rem;font-weight:750;white-space:nowrap;box-shadow:0 5px 14px rgba(23,74,139,.15);transition:background .2s,transform .2s}
.ht-quote-button:hover{background:var(--ht-blue-deep);transform:translateY(-1px)}
.ht-menu-toggle{display:none;width:44px;height:44px;padding:11px;border:1px solid var(--ht-line);border-radius:9px;background:#fff;cursor:pointer}
.ht-menu-toggle span{display:block;height:2px;margin:5px 0;border-radius:2px;background:var(--ht-blue-deep);transition:transform .2s,opacity .2s}
.ht-menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg)}
.ht-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.ht-menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg)}
.ht-site-footer{margin-top:0;background:var(--ht-green-dark);color:#eaf2ee}
.ht-footer-main{max-width:1200px;margin:0 auto;padding:62px 24px 48px;display:grid;grid-template-columns:1.45fr .8fr .95fr 1.1fr;gap:42px}
.ht-brand-footer{color:#fff}
.ht-brand-footer img{width:52px;height:52px}
.ht-brand-footer .ht-brand-copy strong{color:#fff}
.ht-brand-footer .ht-brand-copy small{color:#d5e4dc}
.ht-footer-brand>p{max-width:320px;margin:21px 0 20px;color:#c4d5cd;font-size:.95rem;line-height:1.8}
.ht-footer-whatsapp{display:inline-flex;align-items:center;gap:9px;color:#fff;text-decoration:none;font-weight:750;font-size:.9rem}
.ht-footer-whatsapp span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#218c55;color:#fff}
.ht-footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.ht-footer-column h2{margin:3px 0 10px;color:#fff;font-size:1rem;font-weight:800}
.ht-footer-column a{color:#c4d5cd;text-decoration:none;font-size:.91rem;line-height:1.55;transition:color .2s}
.ht-footer-column a:hover,.ht-footer-legal a:hover{color:#ffd46c}
.ht-footer-column p{margin:0;color:#c4d5cd;font-size:.91rem;line-height:1.7}
.ht-footer-contact-cta{margin-top:6px!important;color:#ffd46c!important;font-weight:750}
.ht-footer-bottom{max-width:1200px;margin:0 auto;padding:20px 24px 24px;border-top:1px solid rgba(255,255,255,.15);display:flex;justify-content:space-between;align-items:center;gap:18px}
.ht-footer-bottom p{margin:0;color:#b8ccc2;font-size:.82rem;line-height:1.6}
.ht-footer-legal{display:flex;flex-wrap:wrap;gap:20px}
.ht-footer-legal a{color:#b8ccc2;text-decoration:none;font-size:.82rem}
@media(max-width:1050px){
  .ht-header-inner{gap:18px;padding:0 20px}
  .ht-brand img{width:47px;height:47px}
  .ht-brand-copy strong{font-size:1.25rem}
  .ht-primary-nav{gap:16px}
  .ht-primary-nav>a{font-size:.9rem}
  .ht-nav-actions{gap:12px}
  .ht-quote-button{padding:0 14px}
  .ht-footer-main{gap:28px}
}
@media(max-width:900px){
  .ht-header-inner{min-height:74px;padding:0 18px}
  .ht-menu-toggle{display:block;flex:0 0 auto}
  .ht-primary-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:13px 20px 22px;background:#fff;border-bottom:1px solid var(--ht-line);box-shadow:0 18px 28px rgba(13,39,65,.12);align-items:stretch;gap:0;max-height:calc(100vh - 74px);overflow-y:auto}
  .ht-primary-nav.is-open{display:flex;flex-direction:column}
  .ht-primary-nav>a{padding:14px 4px;border-bottom:1px solid #edf1f4;font-size:1rem}
  .ht-primary-nav>a.is-active:after{display:none}
  .ht-nav-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:16px 0 0}
  .ht-account-link{padding:10px 4px}
  .ht-quote-button{min-height:48px}
  .ht-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 28px;padding:46px 22px 38px}
  .ht-footer-brand{grid-column:1/-1}
  .ht-footer-brand>p{max-width:500px}
}
@media(max-width:540px){
  .ht-header-inner{min-height:68px;padding:0 15px}
  .ht-brand{gap:8px}
  .ht-brand img{width:41px;height:41px}
  .ht-brand-copy strong{font-size:1.12rem}
  .ht-brand-copy small{font-size:.49rem;letter-spacing:.09em}
  .ht-menu-toggle{width:42px;height:42px}
  .ht-primary-nav{max-height:calc(100vh - 68px);padding:10px 16px 20px}
  .ht-footer-main{grid-template-columns:1fr 1fr;gap:29px 20px;padding:38px 18px 30px}
  .ht-footer-brand{grid-column:1/-1}
  .ht-footer-column h2{font-size:.94rem}
  .ht-footer-column a,.ht-footer-column p{font-size:.86rem;overflow-wrap:anywhere}
  .ht-footer-bottom{padding:18px;align-items:flex-start;flex-direction:column;gap:10px}
  .ht-footer-legal{gap:14px}
}
@media(prefers-reduced-motion:reduce){.ht-primary-nav>a,.ht-quote-button,.ht-menu-toggle span{transition:none}}
/* Floating WhatsApp button — visible across the website */
.ht-floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 19px;
    border-radius: 50px;
    background: #25D366;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ht-floating-whatsapp svg {
    display: block;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.ht-floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    color: #fff !important;
}

@media (max-width: 600px) {
    .ht-floating-whatsapp {
        right: 15px;
        bottom: 15px;
        padding: 13px;
        width: 54px;
        height: 54px;
        border-radius: 50%;
    }

    .ht-floating-whatsapp span {
        display: none;
    }

    .ht-floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}