/* Helprite Group — V6 layout adjustments (content unchanged).
   A wider editorial canvas, calmer type scale and thoughtfully placed soft section fills. */
:root{
  --container: 1580px;
  --section-alt: #f5f8fc;
  --utility-surface: #edf2f8;
}

/* Wider content without sacrificing a consistent comfortable page gutter. */
.w{width:min(100%,var(--container));max-width:var(--container);padding-inline:clamp(20px,3.1vw,52px)}

/* Compact, organised corporate information bar. */
header.top .util{
  background:var(--utility-surface);
  border-bottom:1px solid #dbe4ee;
  color:#435b79;
}
header.top .util .w{
  min-height:40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  column-gap:22px;
  row-gap:6px;
  padding-block:8px;
}
header.top .util .utility-left,
header.top .util .utility-right{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  column-gap:22px;
  row-gap:6px;
  min-width:0;
}
header.top .util .utility-right{margin-left:auto;justify-content:flex-end}
header.top .util .utility-left>* ,
header.top .util .utility-right>*{
  display:inline-flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
  text-decoration:none;
  color:#425b7b;
}
header.top .util .utility-right>a:hover{color:#173d77;text-decoration:underline}
header.top .util .material-icon{color:#315d95;flex-shrink:0}

/* Site-wide titles: internal-page title and subtitle no longer dominate the page. */
.s h1{
  font-size:clamp(2.65rem,4.15vw,4.35rem);
  max-width:25ch;
  letter-spacing:-.057em;
  line-height:1.14;
  margin-bottom:19px;
}
section.s .w>h1+h2{
  font-size:clamp(1.22rem,1.75vw,1.62rem);
  line-height:1.45;
  letter-spacing:-.03em;
  margin:12px 0 21px;
  max-width:46ch;
}
.s h2{font-size:clamp(1.85rem,2.75vw,2.72rem);letter-spacing:-.045em;line-height:1.22}
.s h3{letter-spacing:-.035em}
/* Keep the signature homepage hero distinct, but better balanced with inner-page headings. */
.hero-atelier h1{font-size:clamp(3.3rem,5.25vw,5.45rem)}

/* Alternate only a small, curated selection of sections. Never flood the entire site. */
section.s.section-soft{background:var(--section-alt)!important;border-top-color:#e7edf4}
section.s.section-soft .panel{background:#fff}

@media(max-width:1080px){
  header.top .util .w{column-gap:16px}
  header.top .util .utility-left,header.top .util .utility-right{column-gap:13px}
  .w{padding-inline:clamp(20px,3.2vw,40px)}
}
@media(max-width:850px){
  header.top .util .w{justify-content:flex-start}
  header.top .util .utility-left{flex:1 1 auto}
  header.top .util .utility-right{margin-left:0;flex:1 1 auto;justify-content:flex-start}
}
@media(max-width:750px){
  header.top .util .w{justify-content:flex-start;gap:6px 16px}
  header.top .util .utility-left{width:100%;justify-content:space-between}
  header.top .util .utility-right{width:100%;justify-content:space-between}
  header.top .util .utility-left>*{display:inline-flex!important}
  .s h1{font-size:clamp(2.5rem,6.7vw,3.45rem)}
  section.s .w>h1+h2{font-size:clamp(1.17rem,3vw,1.38rem)}
  .s h2{font-size:clamp(1.85rem,4.7vw,2.32rem)}
  .hero-atelier h1{font-size:clamp(3.1rem,7.4vw,4.1rem)}
}
@media(max-width:520px){
  header.top .util .w{row-gap:3px;padding-block:7px}
  header.top .util .utility-left{gap:9px}
  header.top .util .utility-right{justify-content:flex-end}
  header.top .util .utility-right>a[href^="mailto:"]{display:none}
  header.top .util .utility-left>*{font-size:.66rem}
  header.top .util .utility-right>a{font-size:.66rem}
  header.top .util .material-icon{width:12px;height:12px}
  .w{padding-inline:20px}
  .s h1{font-size:clamp(2.24rem,8.25vw,2.9rem);letter-spacing:-.045em}
  section.s .w>h1+h2{font-size:1.16rem}
  .s h2{font-size:clamp(1.72rem,6.25vw,2.15rem)}
  .hero-atelier h1{font-size:clamp(2.65rem,10vw,3.7rem)}
}


/* Helprite Group — V8 refinements
   Better navigation presence, stronger social presentation and cleaner brand backgrounds. */
:root{
  --section-alt:#f2f6fb;
}

/* Desktop navigation: larger, easier-to-read menu. */
header.top .bar{gap:24px}
header.top nav ul{gap:16px}
header.top nav li a{
  font-size:.94rem;
  font-weight:700;
  letter-spacing:-.01em;
  padding:13px 0;
}
header.top nav li a::after{bottom:-14px}

/* Utility and footer social links */
.social-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.social-link{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;
  border:1px solid #c8d4e3;background:#fff;color:#234f88;
  transition:transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  text-decoration:none;
}
.social-link svg{width:16px;height:16px;fill:currentColor}
.social-link:hover{transform:translateY(-2px);background:#1f4f88;border-color:#1f4f88;color:#fff}
header.top .util .social-links{margin-left:2px}
header.top .util .social-link{width:30px;height:30px;background:transparent}
header.top .util .social-link svg{width:14px;height:14px}

/* Brands page background and grouping */
section.s.section-soft{background:var(--section-alt)!important}
.dir{gap:28px}
.section-soft .dir .sector{
  background:#fff!important;
  border:1px solid #e1e8f1!important;
  border-radius:8px;
  padding:30px 28px 26px;
  box-shadow:0 16px 34px -30px rgba(16,42,77,.28);
}
.section-soft .dir .sector>p.sub{margin-bottom:22px}
.brand-card,.care-feature{border-radius:6px}
.brand-card .lt{border-radius:4px}
.care .card{border-radius:6px}
.care .lt{border-radius:4px}

/* Form placeholders */
input::placeholder, textarea::placeholder{color:#8694a9;opacity:1}

/* Footer social area */
.footer-social-wrap{margin-top:24px}
.footer-social-wrap .social-links{margin-top:10px}
.footer-social-wrap .social-link{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.2);color:#dbe8f8}
.footer-social-wrap .social-link:hover{background:#fff;color:#173f74;border-color:#fff}

@media(max-width:1240px){
  header.top nav li a{font-size:.88rem}
}
@media(max-width:1080px){
  header.top .util .social-links{width:100%;justify-content:flex-end}
}
@media(max-width:980px){
  header.top nav li a{font-size:1.06rem;padding:18px 4px}
}
@media(max-width:850px){
  header.top .util .social-links{justify-content:flex-start}
}
@media(max-width:750px){
  .section-soft .dir .sector{padding:24px 22px 20px}
}
@media(max-width:640px){
  header.top .util .social-links{display:none}
  .footer-social-wrap{margin-top:20px}
}


/* V9 — user-requested footer, highlighted careers route, mobile drawer and action alignment. */
/* Desktop footer: social icons belong beneath Policies in the right column. */
footer .g > div:last-child .footer-social-wrap{margin-top:25px;padding-top:19px;border-top:1px solid rgba(255,255,255,.16)}
footer .g > div:last-child .footer-social-wrap h2{margin:0 0 13px}
footer .g > div:last-child .footer-social-wrap .social-links{margin-top:0;gap:12px}

/* The fifth 'I'm here to' choice uses a distinct, tasteful background. */
[data-p="home"] .route a:last-child{
  background:#e3edf9!important;
  border-color:#a9c5e5!important;
}
[data-p="home"] .route a:last-child:hover,
[data-p="home"] .route a:last-child:focus-visible{background:#d9e8fa!important;border-color:#6797cd!important}
[data-p="home"] .route a:last-child .route-icon{background:#c9ddf3;color:#154d89}
[data-p="home"] .route a:last-child::before{background:#2d65a9}

.drawer-details{display:none}
/* CSS-styled responsive toggle: slimmer staggered bars smoothly transform into an X. */
header.top .menu{min-width:47px;min-height:46px;align-items:center;justify-content:center;padding:10px!important;border-radius:8px!important}
.menu-glyph{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;width:23px;height:20px}
.menu-glyph > span{display:block;width:23px;height:2px;border-radius:2px;background:#173a6b;transition:width .2s ease, transform .23s ease,opacity .18s ease;transform-origin:center}
.menu-glyph > span:nth-child(2){width:16px}
.menu-glyph > span:nth-child(3){width:19px}
header.top .menu:hover .menu-glyph > span:nth-child(2){width:23px}
header.top .menu[aria-expanded="true"] .menu-glyph{align-items:center}
header.top .menu[aria-expanded="true"] .menu-glyph > span:nth-child(1){transform:translateY(7px) rotate(45deg)}
header.top .menu[aria-expanded="true"] .menu-glyph > span:nth-child(2){opacity:0}
header.top .menu[aria-expanded="true"] .menu-glyph > span:nth-child(3){width:23px;transform:translateY(-7px) rotate(-45deg)}

@media(max-width:980px){
 /* All information previously in the thin top strip now appears within the drawer. */
 header.top .util{display:none!important}
 header.top nav{padding:83px 25px 28px!important}
 header.top nav ul{margin-bottom:0}
 header.top nav .portal-mobile{margin-top:16px}
 header.top nav .drawer-details{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;
  margin-top:27px;padding:24px 4px 5px;border-top:1px solid #e1e8f1;
 }
 .drawer-details-title{font-size:.71rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#617694}
 .drawer-details .drawer-detail{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:.85rem;color:#405774;line-height:1.4;text-decoration:none;max-width:100%;overflow-wrap:anywhere;white-space:normal}
 .drawer-details a.drawer-detail:hover{color:#1b4f8a}
 .drawer-details .material-icon{height:17px;width:17px;fill:currentColor;color:#2f629b;flex:none}
 .drawer-socials{display:flex;justify-content:center;align-items:center;gap:11px;margin-top:5px}
 .drawer-socials a{display:grid;place-items:center;width:37px;height:37px;border:1px solid #d4e0ee;border-radius:50%;color:#234c83;background:#f4f7fb;padding:0}
 .drawer-socials a:hover{background:#173a6b;color:#fff}
 .drawer-socials svg{width:16px;height:16px;fill:currentColor}
}
@media(max-width:750px){
 /* Center buttons AND secondary text links, while leaving surrounding content intact. */
 [data-p] .row{justify-content:center!important}
 [data-p] .row .lnk{justify-content:center;text-align:center}
 [data-p] .row .btn{text-align:center;justify-content:center}
 [data-p] .hero-actions{display:flex;align-items:center;justify-content:center;gap:18px}
 [data-p] .hero-actions .hero-secondary{align-self:center!important;text-align:center}
 [data-p] .hero-actions .hero-primary{justify-content:center}
 [data-p] section.s > .w > a.btn{display:flex;width:max-content;max-width:100%;margin-left:auto;margin-right:auto;text-align:center}
 [data-p] form .btn{justify-self:center!important}
}
@media(max-width:520px){
 [data-p] .hero-actions{width:100%;flex-direction:column;align-items:center!important}
 [data-p] .hero-actions .hero-primary{width:100%}
 [data-p] .hero-actions .hero-secondary{align-self:center!important}
}
@media(prefers-reduced-motion:reduce){.menu-glyph>span{transition:none}}
