
:root{--ink:#13232b;--muted:#5d6b72;--line:#dce2e4;--warm:#f4ece3;--mist:#eef3f5;--accent:#bb2f2f;--gold:#b88a2f;--dark:#173d4c;--white:#fff;--container:1340px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"DM Sans",sans-serif;color:var(--ink);background:#fff;line-height:1.55;opacity:0;transition:opacity .45s}body.ready{opacity:1}img{display:block;max-width:100%}a{text-decoration:none;color:inherit}.container{width:min(calc(100% - 64px),var(--container));margin:auto}.progress{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--gold),var(--accent));z-index:1000}.site-header{background:#fff;position:sticky;top:0;z-index:100;border-bottom:1px solid var(--line)}.masthead{min-height:148px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand img{width:430px;max-height:98px;object-fit:contain;object-position:left}.masthead-actions{display:flex;gap:24px;align-items:center;font-size:14px}.contact-button{padding:15px 24px;background:#e8eef0}.nav-row{border-top:1px solid #edf0f1}.nav-inner{min-height:66px;display:flex;justify-content:space-between;align-items:center;gap:30px}.primary-nav,.secondary-nav{display:flex;gap:28px;font-weight:600;font-size:14px}.menu-btn,.mobile-menu{display:none}.hero{position:relative;height:635px;overflow:hidden}.hero-image,.page-hero>img{width:100%;height:100%;object-fit:cover}.hero-shade,.page-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,34,43,.68),rgba(15,34,43,.12))}.hero-content{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff}.hero-content h1,.page-hero h1{font:500 clamp(48px,5vw,78px)/1.03 "Manrope";margin:0 0 24px;letter-spacing:-.035em}.hero-content p{font-size:19px;max-width:650px}.overline{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700}.button{display:inline-flex;align-items:center;gap:18px;padding:15px 24px;border-radius:4px;border:1px solid transparent;margin-top:18px;font-weight:600}.button-light{background:#fff;color:var(--ink)}.button-muted{background:#dbe4e7;color:var(--ink)}.button-dark{background:var(--dark);color:#fff}.intro-links{padding:0 0 58px}.intro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px;border-bottom:1px solid var(--line)}.intro-grid article{padding:50px 0}.intro-grid article:not(:last-child){border-right:1px solid var(--line);padding-right:50px}.intro-grid h2{font-size:24px;font-weight:500}.intro-grid p{color:var(--muted)}.feature-section{padding:80px 0}.warm{background:var(--warm)}.feature-split{display:grid;grid-template-columns:1fr 1fr;gap:110px;align-items:center}.feature-image img{width:100%;height:480px;object-fit:cover;border-radius:10px}.feature-copy h2,.editorial-card h2,.section-title h2,.contact-details h2{font:500 clamp(38px,4vw,58px)/1.08 "Manrope";letter-spacing:-.035em}.feature-copy p,.editorial-card p{font-size:18px;color:var(--muted)}.feature-copy small{display:block;color:var(--muted);margin-top:14px}.editorial-section{padding:85px 0}.editorial-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px}.editorial-image img{height:410px;width:100%;object-fit:cover;border-radius:10px}.editorial-card{background:var(--mist);border-radius:10px;padding:56px;display:flex;flex-direction:column;justify-content:center}.service-preview,.packages,.contact-section,.service-detail{padding:90px 0}.section-title{text-align:center;max-width:800px;margin:0 auto 48px}.section-title p{color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.service-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}.service-card img{width:100%;height:230px;object-fit:cover}.service-card div{padding:22px}.service-card h3{font-size:20px}.service-card p{color:var(--muted);font-size:14px}.service-card a{color:var(--gold);font-weight:600}.cta-strip{background:#f7f8f8;padding:70px 0;border-top:1px solid var(--line)}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:50px}.cta-inner h2{font:500 42px/1.1 Manrope;max-width:850px}.cta-inner p{color:var(--muted)}.page-hero{position:relative;height:500px;overflow:hidden}.page-hero.compact{height:420px}.page-hero-content{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#fff}.page-hero-content p{font-size:18px;max-width:750px}.detail-list{display:grid;gap:70px}.detail-row{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.detail-row.reverse img{order:2}.detail-row img{width:100%;height:430px;object-fit:cover;border-radius:10px}.detail-row h2{font:500 44px/1.1 Manrope}.detail-row p{color:var(--muted);font-size:17px}.notice{padding:18px 0;background:#f7eee0;color:#735b34;font-size:12px}.package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.package-card{padding:30px;border:1px solid var(--line);border-radius:10px;background:#fff;display:flex;flex-direction:column}.package-card.featured{border:2px solid var(--dark);box-shadow:0 20px 45px rgba(23,61,76,.12)}.package-name{font-weight:700;color:var(--accent);text-transform:uppercase;font-size:12px}.package-card h2{font-size:40px}.package-frequency{font-weight:700}.package-card ul{padding-left:20px;flex:1;color:var(--muted)}.package-card li{margin:9px 0}.package-card small{display:block;margin-top:12px;color:var(--muted)}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.contact-details>div{display:grid;padding:16px 0;border-bottom:1px solid var(--line)}.contact-details a,.contact-details span{color:var(--muted)}.contact-details small{display:block;margin-top:25px;color:var(--muted)}.contact-form{padding:36px;background:#f7f8f8}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contact-form label{display:grid;gap:8px;margin-bottom:15px;font-weight:600}.contact-form input,.contact-form select,.contact-form textarea{padding:14px;border:1px solid #cbd4d7;background:#fff}.contact-form small{display:block;color:var(--muted);margin-top:14px}.contact-form p{color:#16805d}.footer{background:#173d4c;color:#eaf1f3;padding:65px 0 22px}.footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:38px}.footer-brand img{width:280px;background:#fff;padding:8px}.footer p{color:#c5d3d8;font-size:13px}.footer h4{color:#fff}.footer a,.footer span{display:block;margin:8px 0;font-size:13px}.footer-brand>a{color:#e5c677}.footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;border-top:1px solid rgba(255,255,255,.18);padding-top:17px;margin-top:35px;font-size:12px}.footer-bottom span:nth-child(2){text-align:center}.footer-bottom span:nth-child(3){text-align:right}.page-transition{position:fixed;inset:0;background:#173d4c;z-index:9999;display:grid;place-items:center;color:#fff;font-size:22px;letter-spacing:.2em;transform:translateY(100%);pointer-events:none}.page-transition.active{animation:transition .85s cubic-bezier(.7,0,.3,1) forwards}@keyframes transition{0%{transform:translateY(100%)}50%{transform:translateY(0)}100%{transform:translateY(-100%)}}.mobile-actions{display:none}.reveal-up,.reveal-left,.reveal-right{opacity:0;transition:.8s}.reveal-up{transform:translateY(30px)}.reveal-left{transform:translateX(-40px)}.reveal-right{transform:translateX(40px)}.in-view{opacity:1;transform:none}
@media(max-width:1050px){.primary-nav,.secondary-nav,.masthead-actions{display:none}.menu-btn{display:block;margin-left:auto;border:0;background:none}.menu-btn span{display:block;width:26px;height:2px;background:var(--ink);margin:6px}.mobile-menu.open{display:grid;padding:16px 24px;gap:12px;border-top:1px solid var(--line)}.masthead{min-height:100px}.brand img{width:300px}.feature-split,.editorial-grid,.contact-grid{grid-template-columns:1fr}.service-grid{grid-template-columns:1fr 1fr}.package-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1.5fr repeat(2,1fr)}}
@media(max-width:720px){.container{width:min(calc(100% - 28px),var(--container))}.masthead{min-height:80px}.brand img{width:220px}.hero{height:560px}.hero-content h1,.page-hero h1{font-size:43px}.intro-grid{grid-template-columns:1fr}.intro-grid article:not(:last-child){border-right:0;border-bottom:1px solid var(--line);padding-right:0}.feature-split{gap:40px}.feature-image img,.detail-row img{height:300px}.service-grid,.package-grid{grid-template-columns:1fr}.editorial-card{padding:30px}.detail-row{grid-template-columns:1fr;gap:30px}.detail-row.reverse img{order:0}.cta-inner{display:grid}.contact-form{padding:22px}.form-row{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{grid-template-columns:1fr;padding-bottom:65px}.footer-bottom span{text-align:left!important}.mobile-actions{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;bottom:0;left:0;right:0;background:#173d4c;color:#fff;z-index:90}.mobile-actions a{text-align:center;padding:13px}.mobile-actions a:nth-child(2){background:#bb2f2f}}

.enhanced-hero{height:590px}.hero-inline-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.text-link-light{color:#fff;border-bottom:1px solid rgba(255,255,255,.7);padding-bottom:4px;font-weight:600}.section-nav{position:sticky;top:215px;z-index:60;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.section-nav-inner{min-height:54px;display:flex;align-items:center;gap:28px;overflow-x:auto;white-space:nowrap;font-size:13px;font-weight:600}.fact-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:28px 0}.fact-row div{padding:18px;background:rgba(255,255,255,.55);border:1px solid rgba(19,35,43,.10)}.fact-row strong{display:block;font:600 30px Manrope;color:var(--dark)}.fact-row span{font-size:12px;color:var(--muted)}.industry-section,.capability-section,.project-section,.technology-section,.process-section,.benefit-section,.faq-section,.residential-service-section,.property-types,.maintenance-section,.emergency-section,.journey-section{padding:90px 0}.mist{background:var(--mist)}.industry-grid,.residential-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.industry-card,.residential-card{border:1px solid var(--line);background:#fff;overflow:hidden}.industry-card img,.residential-card img{width:100%;height:225px;object-fit:cover;transition:transform .5s}.industry-card:hover img,.residential-card:hover img{transform:scale(1.04)}.industry-card div,.residential-card div{padding:22px}.industry-card p,.residential-card p{color:var(--muted);font-size:14px}.capability-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.capability-panel{padding:36px;background:#fff;border:1px solid var(--line)}.panel-index{display:block;color:var(--accent);font-weight:700}.capability-panel h3{font:500 30px Manrope}.capability-panel p,.capability-panel li{color:var(--muted)}.project-grid,.technology-grid,.maintenance-grid,.emergency-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.project-copy h2,.technology-copy h2,.maintenance-copy h2,.emergency-copy h2{font:500 clamp(38px,4vw,56px)/1.08 Manrope}.project-copy p,.technology-copy p,.maintenance-copy p,.emergency-copy p{color:var(--muted)}.project-image img,.technology-image img{width:100%;height:500px;object-fit:cover}.project-service-list{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.project-service-list span{padding:9px 12px;background:var(--mist);font-size:13px}.technology-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.technology-list article{padding:16px;border-top:1px solid var(--line)}.technology-list span{display:block;color:var(--muted);font-size:13px}.process-line,.journey-timeline{display:grid;grid-template-columns:repeat(6,1fr)}.process-line article,.journey-timeline article{padding:25px 18px;border-top:2px solid var(--dark)}.process-line span,.journey-timeline span{color:var(--accent);font-size:12px;font-weight:700}.process-line p,.journey-timeline p{font-size:13px;color:var(--muted)}.benefit-grid,.property-type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.benefit-grid article,.property-type-grid article{padding:26px;border:1px solid var(--line);background:#fff}.benefit-grid p,.property-type-grid p{color:var(--muted);font-size:14px}.faq-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:80px}.faq-intro h2{font:500 48px/1.08 Manrope}.accordion details{border-top:1px solid var(--line);padding:19px 0}.accordion summary{cursor:pointer;font-weight:600}.accordion p{color:var(--muted)}.maintenance-steps article{display:grid;grid-template-columns:48px 1fr;gap:15px;padding:18px 0;border-top:1px solid var(--line)}.maintenance-steps p{color:var(--muted)}.emergency-section{background:#203f49;color:#fff}.emergency-copy p,.emergency-copy small{color:#d8e2e5}.emergency-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.emergency-grid span{padding:18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16)}
@media(max-width:1050px){.section-nav{top:166px}.industry-grid,.residential-service-grid{grid-template-columns:1fr 1fr}.project-grid,.technology-grid,.maintenance-grid,.emergency-layout,.faq-layout{grid-template-columns:1fr}.process-line,.journey-timeline{grid-template-columns:repeat(3,1fr)}.benefit-grid,.property-type-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.enhanced-hero{height:610px}.section-nav{top:80px}.fact-row,.industry-grid,.capability-columns,.residential-service-grid,.property-type-grid,.benefit-grid,.technology-list{grid-template-columns:1fr}.project-image img,.technology-image img{height:320px}.process-line,.journey-timeline{grid-template-columns:1fr}.emergency-grid{grid-template-columns:1fr}}

/* ==========================================================
   V8 COMPACT HEADER SYSTEM
   Keeps V7 visual design; improves viewport visibility only.
   ========================================================== */

:root{
  --header-expanded:146px;
  --header-compact:84px;
  --section-nav-height:40px;
}

/* Main header: compact at rest */
.site-header{
  transition:
    box-shadow .28s ease,
    background-color .28s ease,
    backdrop-filter .28s ease;
}

.masthead{
  min-height:88px;
  transition:min-height .3s ease, padding .3s ease;
}

.brand img{
  width:285px;
  max-height:66px;
  transition:width .3s ease, max-height .3s ease, transform .3s ease;
}

.masthead-actions{
  gap:18px;
  font-size:13px;
  transition:opacity .25s ease, transform .25s ease;
}

.contact-button{
  padding:11px 18px;
  transition:padding .3s ease, background .3s ease;
}

.nav-inner{
  min-height:50px;
  transition:min-height .3s ease;
}

.primary-nav,
.secondary-nav{
  gap:23px;
  font-size:13px;
}

/* Auto-shrink after scroll */
.site-header.is-compact{
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(16px);
  box-shadow:0 8px 28px rgba(19,35,43,.09);
}

.site-header.is-compact .masthead{
  min-height:58px;
}

.site-header.is-compact .brand img{
  width:205px;
  max-height:45px;
}

.site-header.is-compact .masthead-actions{
  opacity:0;
  transform:translateY(-8px);
  pointer-events:none;
  position:absolute;
}

.site-header.is-compact .nav-inner{
  min-height:44px;
}

.site-header.is-compact .primary-nav,
.site-header.is-compact .secondary-nav{
  font-size:12px;
  gap:20px;
}

.site-header.is-compact .contact-button{
  padding:9px 15px;
}

/* B2B/B2C sticky sub-navigation */
.section-nav{
  top:138px;
  min-height:var(--section-nav-height);
  transition:top .3s ease, box-shadow .3s ease;
}

.section-nav-inner{
  min-height:40px;
  gap:22px;
  font-size:12px;
  padding-top:0;
  padding-bottom:0;
}

body.header-compact .section-nav{
  top:102px;
  box-shadow:0 6px 18px rgba(19,35,43,.06);
}

/* Prevent sticky bars from covering anchored sections */
#industries,
#ifm,
#projects,
#technology,
#process,
#faq,
#residential-services,
#suitable-for,
#maintenance-cycle,
#benefits,
#journey{
  scroll-margin-top:155px;
}

body.header-compact #industries,
body.header-compact #ifm,
body.header-compact #projects,
body.header-compact #technology,
body.header-compact #process,
body.header-compact #faq,
body.header-compact #residential-services,
body.header-compact #suitable-for,
body.header-compact #maintenance-cycle,
body.header-compact #benefits,
body.header-compact #journey{
  scroll-margin-top:118px;
}

/* Slightly reduce B2B/B2C hero height so content appears sooner */
.enhanced-hero{
  height:540px;
}

/* Keep typography premium but less oversized */
.enhanced-hero .page-hero-content h1{
  max-width:960px;
  font-size:clamp(44px,4.6vw,68px);
}

.enhanced-hero .page-hero-content p{
  max-width:790px;
}

/* Laptop optimisation */
@media (max-width:1280px){
  .masthead{
    min-height:78px;
  }
  .brand img{
    width:250px;
    max-height:58px;
  }
  .nav-inner{
    min-height:46px;
  }
  .primary-nav,
  .secondary-nav{
    gap:18px;
    font-size:12px;
  }
  .masthead-actions{
    gap:14px;
    font-size:12px;
  }
  .section-nav{
    top:124px;
  }
  body.header-compact .section-nav{
    top:96px;
  }
}

/* Tablet */
@media(max-width:1050px){
  .masthead{
    min-height:72px;
  }
  .brand img{
    width:225px;
    max-height:54px;
  }
  .nav-inner{
    min-height:0;
  }
  .section-nav{
    top:72px;
  }
  body.header-compact .section-nav{
    top:62px;
  }
  .section-nav-inner{
    min-height:38px;
    font-size:11px;
    gap:18px;
  }
  .enhanced-hero{
    height:520px;
  }
}

/* Mobile */
@media(max-width:720px){
  :root{
    --section-nav-height:38px;
  }
  .masthead{
    min-height:66px;
  }
  .brand img{
    width:190px;
    max-height:46px;
  }
  .site-header.is-compact .masthead{
    min-height:58px;
  }
  .site-header.is-compact .brand img{
    width:170px;
    max-height:40px;
  }
  .section-nav{
    top:66px;
  }
  body.header-compact .section-nav{
    top:58px;
  }
  .section-nav-inner{
    min-height:38px;
    gap:17px;
    font-size:11px;
  }
  .enhanced-hero{
    height:560px;
  }
  .enhanced-hero .page-hero-content h1{
    font-size:40px;
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce){
  .site-header,
  .masthead,
  .brand img,
  .masthead-actions,
  .nav-inner,
  .section-nav{
    transition:none !important;
  }
}

/* V9: single-line compact header */
.masthead,.nav-row,.nav-inner,.primary-nav,.secondary-nav,.masthead-actions{display:none!important}

:root{
  --v9-main-header:70px;
  --v9-compact-header:56px;
  --v9-section-nav:34px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(16px);
  transition:box-shadow .25s ease;
}

.compact-header{
  min-height:var(--v9-main-header);
  display:grid;
  grid-template-columns:180px minmax(430px,1fr) auto 42px;
  align-items:center;
  gap:18px;
  transition:min-height .25s ease;
}

.compact-header .brand{
  display:flex;
  align-items:center;
}

.compact-header .brand img{
  width:170px;
  max-height:47px;
  object-fit:contain;
  object-position:left center;
  transition:width .25s ease,max-height .25s ease;
}

.desktop-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  white-space:nowrap;
  font-size:12px;
  font-weight:600;
}

.desktop-nav a{
  position:relative;
  padding:7px 0;
}

.desktop-nav a:after{
  content:"";
  position:absolute;
  left:0;
  bottom:2px;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width .2s ease;
}

.desktop-nav a:hover:after{width:100%}

.header-contact{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:11px;
  white-space:nowrap;
  font-size:11px;
}

.header-contact>a:not(.contact-button){color:var(--muted)}
.header-email{max-width:160px;overflow:hidden;text-overflow:ellipsis}

.compact-header .contact-button{
  margin:0;
  padding:9px 13px;
  line-height:1;
  font-size:11px;
}

.compact-header>.menu-btn{display:none}

.site-header.is-compact{
  box-shadow:0 8px 24px rgba(19,35,43,.09);
}

.site-header.is-compact .compact-header{
  min-height:var(--v9-compact-header);
}

.site-header.is-compact .compact-header .brand img{
  width:142px;
  max-height:38px;
}

.site-header.is-compact .desktop-nav{
  gap:15px;
  font-size:11px;
}

.site-header.is-compact .header-contact{
  font-size:10px;
  gap:8px;
}

.site-header.is-compact .compact-header .contact-button{
  padding:7px 10px;
}

/* Thin sticky B2B/B2C local navigation */
.section-nav{
  top:var(--v9-main-header)!important;
  min-height:var(--v9-section-nav)!important;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--line);
}

.section-nav-inner{
  min-height:var(--v9-section-nav)!important;
  gap:18px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  font-size:10.5px!important;
}

body.header-compact .section-nav{
  top:var(--v9-compact-header)!important;
}

/* Preserve more content in the viewport */
.enhanced-hero{height:490px!important}

#industries,#ifm,#projects,#technology,#process,#faq,
#services,#types,#cycle,#benefits,#journey,
#residential-services,#suitable-for,#maintenance-cycle{
  scroll-margin-top:112px!important;
}

/* Laptop */
@media(max-width:1280px){
  .compact-header{
    grid-template-columns:155px minmax(380px,1fr) auto 36px;
    gap:13px;
  }
  .compact-header .brand img{width:148px;max-height:43px}
  .desktop-nav{gap:13px;font-size:11px}
  .header-contact{gap:8px;font-size:10px}
  .header-email{max-width:130px}
  .compact-header .contact-button{padding:8px 10px}
}

/* Tablet/mobile collapse */
@media(max-width:1050px){
  :root{
    --v9-main-header:62px;
    --v9-compact-header:54px;
  }

  .compact-header{
    grid-template-columns:auto 1fr auto;
    min-height:var(--v9-main-header);
  }

  .compact-header .brand img{
    width:158px;
    max-height:42px;
  }

  .desktop-nav,.header-contact{display:none}

  .compact-header>.menu-btn{
    display:block;
    margin-left:auto;
    border:0;
    background:none;
    padding:8px;
  }

  .compact-header>.menu-btn span{
    display:block;
    width:24px;
    height:2px;
    background:var(--ink);
    margin:5px 0;
  }

  .mobile-menu.open{
    display:grid;
    gap:10px;
    padding:14px 24px 17px;
    border-top:1px solid var(--line);
    background:#fff;
  }

  .section-nav{top:var(--v9-main-header)!important}
  body.header-compact .section-nav{top:var(--v9-compact-header)!important}
}

@media(max-width:720px){
  :root{
    --v9-main-header:56px;
    --v9-compact-header:52px;
    --v9-section-nav:31px;
  }

  .compact-header{min-height:var(--v9-main-header)}
  .compact-header .brand img{width:138px;max-height:36px}
  .site-header.is-compact .compact-header .brand img{width:128px;max-height:33px}
  .section-nav-inner{
    min-height:var(--v9-section-nav)!important;
    gap:15px!important;
    font-size:9.5px!important;
  }
  .enhanced-hero{height:515px!important}
}

/* V10: fully fluid responsive header and logo */
:root{
  --v10-header:clamp(54px,5.15vw,74px);
  --v10-header-small:clamp(50px,4.3vw,60px);
  --v10-logo-h:clamp(28px,3.15vw,46px);
  --v10-logo-w:clamp(118px,12vw,184px);
  --v10-nav-gap:clamp(9px,1.25vw,22px);
  --v10-subnav:clamp(30px,2.55vw,36px);
}

.compact-header{
  min-height:var(--v10-header)!important;
  grid-template-columns:minmax(118px,var(--v10-logo-w)) minmax(0,1fr) auto auto!important;
  gap:clamp(10px,1.35vw,24px)!important;
  padding-top:clamp(4px,.45vw,7px);
  padding-bottom:clamp(4px,.45vw,7px);
}

.compact-header .brand{
  max-width:var(--v10-logo-w);
  min-width:0;
  overflow:hidden;
}

.compact-header .brand img{
  width:auto!important;
  height:var(--v10-logo-h)!important;
  max-width:100%!important;
  max-height:none!important;
  object-fit:contain;
  object-position:left center;
}

.desktop-nav{
  min-width:0;
  overflow:hidden;
  gap:var(--v10-nav-gap)!important;
  font-size:clamp(10px,.82vw,13px)!important;
}

.desktop-nav a{white-space:nowrap;flex:0 0 auto}

.header-contact{
  min-width:0;
  gap:clamp(6px,.8vw,13px)!important;
  font-size:clamp(9px,.72vw,12px)!important;
  white-space:nowrap;
}

.header-phone{
  max-width:clamp(92px,9vw,132px);
  overflow:hidden;
  text-overflow:ellipsis;
}

.header-email{
  max-width:clamp(110px,12vw,180px)!important;
  overflow:hidden;
  text-overflow:ellipsis;
}

.compact-header .contact-button{
  padding:clamp(7px,.72vw,11px) clamp(10px,1vw,16px)!important;
  font-size:clamp(9px,.72vw,12px)!important;
  white-space:nowrap;
}

.site-header.is-compact .compact-header{
  min-height:var(--v10-header-small)!important;
}

.site-header.is-compact .compact-header .brand img{
  width:auto!important;
  height:clamp(25px,2.55vw,38px)!important;
  max-width:100%!important;
}

.site-header.is-compact .desktop-nav{
  gap:clamp(8px,1vw,18px)!important;
  font-size:clamp(9px,.72vw,12px)!important;
}

.section-nav{
  top:var(--v10-header)!important;
  min-height:var(--v10-subnav)!important;
}

.section-nav-inner{
  min-height:var(--v10-subnav)!important;
  gap:clamp(13px,1.45vw,22px)!important;
  font-size:clamp(9px,.7vw,11px)!important;
}

body.header-compact .section-nav{
  top:var(--v10-header-small)!important;
}

#industries,#ifm,#projects,#technology,#process,#faq,
#services,#types,#cycle,#benefits,#journey,
#residential-services,#suitable-for,#maintenance-cycle{
  scroll-margin-top:calc(var(--v10-header) + var(--v10-subnav) + 16px)!important;
}

/* Hide email before the row becomes crowded */
@media(max-width:1180px) and (min-width:981px){
  .header-email{display:none}
  .compact-header{
    grid-template-columns:minmax(125px,160px) minmax(0,1fr) auto auto!important;
  }
  .desktop-nav{gap:clamp(8px,.9vw,14px)!important}
}

/* Hide phone next, while retaining CTA */
@media(max-width:1040px) and (min-width:901px){
  .header-phone{display:none}
  .compact-header{
    grid-template-columns:minmax(118px,150px) minmax(0,1fr) auto auto!important;
  }
}

/* Switch to mobile navigation before wrapping */
@media(max-width:900px){
  :root{
    --v10-header:clamp(56px,8vw,64px);
    --v10-header-small:clamp(52px,7vw,58px);
    --v10-logo-h:clamp(29px,5vw,40px);
    --v10-logo-w:clamp(122px,25vw,166px);
  }

  .compact-header{
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }

  .desktop-nav,.header-contact{display:none!important}
  .compact-header>.menu-btn{
    display:block!important;
    justify-self:end;
    margin:0;
  }
}

@media(max-width:600px){
  :root{
    --v10-header:clamp(52px,14vw,58px);
    --v10-header-small:clamp(49px,13vw,54px);
    --v10-logo-h:clamp(27px,8vw,34px);
    --v10-logo-w:clamp(112px,38vw,145px);
    --v10-subnav:30px;
  }

  .compact-header{padding-top:3px;padding-bottom:3px}
  .section-nav-inner{gap:14px!important;font-size:9px!important}
  .enhanced-hero{height:500px!important}
}

@media(max-width:380px){
  :root{
    --v10-logo-h:26px;
    --v10-logo-w:108px;
  }
}

/* ==========================================================
   V11 FINAL HEADER — LOGO LEFT, NAV CENTRE, CONTACT FAR RIGHT
   ========================================================== */

/* Disable all previous header layout elements */
.compact-header,
.desktop-nav,
.header-contact,
.menu-btn,
.mobile-menu,
.masthead,
.nav-row,
.nav-inner,
.primary-nav,
.secondary-nav,
.masthead-actions{
  display:none !important;
}

:root{
  --final-header-height:clamp(62px,5.2vw,76px);
  --final-header-small:clamp(54px,4.2vw,62px);
  --final-logo-height:clamp(34px,3.25vw,48px);
  --final-subnav-height:34px;
}

.site-header{
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
  width:100% !important;
  background:rgba(255,255,255,.98) !important;
  border-bottom:1px solid var(--line) !important;
  backdrop-filter:blur(16px);
  box-shadow:none;
}

.final-header-row{
  min-height:var(--final-header-height) !important;
  display:grid !important;
  grid-template-columns:
    minmax(145px,190px)
    minmax(0,1fr)
    max-content !important;
  align-items:center !important;
  gap:clamp(20px,2.4vw,42px) !important;
  padding-top:5px !important;
  padding-bottom:5px !important;
  transition:min-height .25s ease;
}

.final-brand{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-width:0 !important;
}

.final-brand img{
  display:block !important;
  width:auto !important;
  height:var(--final-logo-height) !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:left center !important;
}

.final-desktop-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(16px,1.65vw,28px) !important;
  min-width:0 !important;
  white-space:nowrap !important;
  font-size:clamp(12px,.9vw,14px) !important;
  font-weight:600 !important;
}

.final-desktop-nav a{
  position:relative !important;
  flex:0 0 auto !important;
  padding:8px 0 !important;
}

.final-desktop-nav a::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  bottom:2px !important;
  width:0 !important;
  height:2px !important;
  background:var(--accent) !important;
  transition:width .2s ease !important;
}

.final-desktop-nav a:hover::after{
  width:100% !important;
}

.final-contact-cta{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  justify-self:end !important;
  white-space:nowrap !important;
  padding:
    clamp(10px,.9vw,13px)
    clamp(17px,1.35vw,23px) !important;
  background:#e8eef0 !important;
  color:var(--ink) !important;
  font-size:clamp(12px,.82vw,14px) !important;
  font-weight:600 !important;
  line-height:1 !important;
  border-radius:2px !important;
  transition:background .2s ease,transform .2s ease !important;
}

.final-contact-cta:hover{
  background:#dce5e8 !important;
  transform:translateY(-1px);
}

.final-menu-btn,
.final-mobile-menu{
  display:none !important;
}

/* Compact state */
.site-header.is-compact{
  box-shadow:0 7px 22px rgba(19,35,43,.08) !important;
}

.site-header.is-compact .final-header-row{
  min-height:var(--final-header-small) !important;
}

.site-header.is-compact .final-brand img{
  height:clamp(30px,2.7vw,40px) !important;
}

/* Thin B2B/B2C local menu directly below header */
.section-nav{
  top:var(--final-header-height) !important;
  min-height:var(--final-subnav-height) !important;
  z-index:900 !important;
  background:rgba(255,255,255,.98) !important;
  border-bottom:1px solid var(--line) !important;
}

.section-nav-inner{
  min-height:var(--final-subnav-height) !important;
  display:flex !important;
  align-items:center !important;
  gap:clamp(18px,1.65vw,28px) !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  white-space:nowrap !important;
  overflow-x:auto !important;
  font-size:11px !important;
}

body.header-compact .section-nav{
  top:var(--final-header-small) !important;
}

/* Correct anchors for sticky bars */
#industries,#ifm,#projects,#technology,#process,#faq,
#services,#types,#cycle,#benefits,#journey,
#residential-services,#suitable-for,#maintenance-cycle{
  scroll-margin-top:calc(
    var(--final-header-height) +
    var(--final-subnav-height) +
    14px
  ) !important;
}

/* Medium desktop: reduce spacing only; no wrapping */
@media(max-width:1180px){
  .final-header-row{
    grid-template-columns:minmax(132px,165px) minmax(0,1fr) max-content !important;
    gap:18px !important;
  }

  .final-desktop-nav{
    gap:14px !important;
    font-size:12px !important;
  }

  .final-contact-cta{
    padding:10px 15px !important;
    font-size:12px !important;
  }
}

/* Collapse safely before any wrapping */
@media(max-width:980px){
  :root{
    --final-header-height:62px;
    --final-header-small:56px;
    --final-logo-height:40px;
  }

  .final-header-row{
    grid-template-columns:auto minmax(0,1fr) auto !important;
    gap:16px !important;
  }

  .final-desktop-nav,
  .final-contact-cta{
    display:none !important;
  }

  .final-menu-btn{
    display:block !important;
    justify-self:end !important;
    border:0 !important;
    background:transparent !important;
    padding:8px !important;
  }

  .final-menu-btn span{
    display:block !important;
    width:24px !important;
    height:2px !important;
    margin:5px 0 !important;
    background:var(--ink) !important;
  }

  .final-mobile-menu.open{
    display:grid !important;
    gap:10px !important;
    padding:14px 24px 18px !important;
    background:#fff !important;
    border-top:1px solid var(--line) !important;
  }
}

/* Mobile */
@media(max-width:600px){
  :root{
    --final-header-height:56px;
    --final-header-small:52px;
    --final-logo-height:34px;
    --final-subnav-height:31px;
  }

  .final-header-row{
    padding-top:3px !important;
    padding-bottom:3px !important;
  }

  .section-nav-inner{
    gap:15px !important;
    font-size:9.5px !important;
  }
}

@media(prefers-reduced-motion:reduce){
  .final-header-row,
  .final-brand img,
  .final-contact-cta{
    transition:none !important;
  }
}

/* ==========================================================
   V12 BUSINESS READY
   ========================================================== */

/* Slightly larger brand with company name */
.final-header-row{
  grid-template-columns:minmax(230px,290px) minmax(0,1fr) max-content!important;
}
.final-brand{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  overflow:visible!important;
  white-space:nowrap!important;
}
.final-brand img{
  width:auto!important;
  height:clamp(44px,3.6vw,56px)!important;
  max-width:105px!important;
  max-height:none!important;
  flex:0 0 auto!important;
}
.final-brand-name{display:flex!important;flex-direction:column!important;line-height:1!important;color:var(--ink)!important}
.final-brand-name strong{font-family:"Manrope",sans-serif!important;font-size:clamp(15px,1.15vw,19px)!important;font-weight:700!important}
.final-brand-name small{margin-top:5px!important;font-size:clamp(8px,.62vw,10px)!important;font-weight:700!important;letter-spacing:.11em!important;text-transform:uppercase!important;color:var(--muted)!important}

/* AMC price periods */
.package-card h2{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;column-gap:7px!important;row-gap:3px!important}
.price-amount{display:inline-block!important;font:inherit!important;color:inherit!important}
.price-period{display:inline-block!important;font-family:"DM Sans",sans-serif!important;font-size:clamp(12px,.95vw,15px)!important;font-weight:600!important;color:var(--muted)!important;white-space:nowrap!important}

/* Keep homepage hero CTA visible */
.hero .hero-content{top:44%!important;padding-bottom:30px!important}
.hero .hero-content .button{position:relative!important;z-index:4!important;margin-bottom:16px!important}
@media(min-width:901px) and (max-height:900px){.hero .hero-content{top:41%!important}.hero .hero-content h1{margin-bottom:16px!important}}

/* Form production behaviour */
.honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.consent-field{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start!important;gap:9px!important;font-size:13px!important;font-weight:500!important}
.consent-field input{margin-top:3px}
.contact-form button[disabled]{opacity:.62;cursor:wait}
#formStatus.success{color:#16805d}
#formStatus.error{color:#b3261e}

/* Legal pages */
.legal-hero{padding:90px 0 55px;background:var(--warm)}
.legal-hero h1{font:500 clamp(44px,5vw,72px)/1.04 "Manrope";letter-spacing:-.04em;margin:10px 0}
.legal-hero p{color:var(--muted)}
.legal-content{padding:70px 0 100px}
.legal-document{max-width:900px}
.legal-document h2{font:600 26px/1.2 "Manrope";margin-top:42px}
.legal-document p{color:var(--muted);font-size:17px}
.footer-grid{grid-template-columns:1.6fr repeat(5,1fr)!important}

/* Remote-image fallback styling */
img.image-error{object-fit:cover!important;background:#eef3f5!important}

@media(max-width:1180px){
  .final-header-row{grid-template-columns:minmax(195px,235px) minmax(0,1fr) max-content!important}
  .final-brand img{height:46px!important;max-width:90px!important}
  .final-brand-name strong{font-size:14px!important}
}
@media(max-width:980px){
  .final-header-row{grid-template-columns:minmax(0,1fr) auto!important}
  .final-brand img{height:40px!important;max-width:82px!important}
  .final-brand-name strong{font-size:13px!important}
  .final-brand-name small{font-size:7px!important}
  .footer-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:520px){
  .final-brand img{height:34px!important;max-width:68px!important}
  .final-brand-name strong{font-size:11px!important}
  .final-brand-name small{margin-top:3px!important;font-size:6px!important}
  .hero .hero-content{top:43%!important}
}
