/* VIPRA premium layer — loads after style.css; delete this file + premium.js to revert */
:root{--ease:cubic-bezier(.22,.8,.24,1);--navy-deep:#071a3d;--glow:0 30px 80px rgba(11,40,95,.16)}
::selection{background:var(--gold);color:#fff}
html{scroll-padding-top:92px}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3{letter-spacing:-.02em}
body.page-in{animation:pageIn .6s ease both}
body.page-out{opacity:0;transition:opacity .22s ease}
@keyframes pageIn{from{opacity:0}to{opacity:1}}

/* Buttons */
.btn{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(135deg,var(--teal2),var(--teal) 60%,#0a5f64);transition:transform .35s var(--ease),box-shadow .35s var(--ease),background .3s}
.btn:hover{background:linear-gradient(135deg,var(--teal2),var(--teal) 60%,#0a5f64);transform:translateY(-3px);box-shadow:0 16px 34px rgba(14,116,121,.3)}
.btn:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-120%);transition:transform .8s var(--ease)}
.btn:hover:after{transform:translateX(120%)}
.btn.secondary:hover{background:#fff;color:var(--teal)}
.cta-band .btn:hover{background:#fff;color:var(--navy)}
.btn span{transition:transform .35s var(--ease)}.btn:hover span{transform:translateX(5px)}

/* Hero */
.hero{padding:108px 0 92px}
.hero:before,.hero:after{content:'';position:absolute;border-radius:50%;pointer-events:none;animation:drift 16s ease-in-out infinite alternate}
.hero:before{width:620px;height:620px;right:-180px;top:-230px;background:radial-gradient(circle,rgba(201,154,32,.16),transparent 65%)}
.hero:after{width:560px;height:560px;left:-220px;bottom:-280px;background:radial-gradient(circle,rgba(14,116,121,.13),transparent 65%);animation-delay:-6s}
.hero>.container{position:relative;z-index:1}
@keyframes drift{to{transform:translate(-40px,30px) scale(1.1)}}
.hero h1{font-size:clamp(44px,5.6vw,72px);letter-spacing:-.035em;line-height:1.06}
.hero-image-wrap{border-radius:32px;box-shadow:var(--glow);transition:transform .9s var(--ease),box-shadow .9s var(--ease)}
.hero-image{transition:transform 1.6s var(--ease)}
.hero-image-wrap:hover .hero-image{transform:scale(1.05)}
.page-hero{position:relative;overflow:hidden}
.page-hero:after{content:'';position:absolute;right:-120px;top:-170px;width:420px;height:420px;border-radius:50%;border:1px solid rgba(14,116,121,.14);box-shadow:0 0 0 60px rgba(14,116,121,.035),0 0 0 120px rgba(201,154,32,.04);pointer-events:none}
.page-hero>.container{position:relative;z-index:1}
.eyebrow:after{transition:width .6s var(--ease)}
.section-head:hover .eyebrow:after,.content:hover .eyebrow:after{width:72px}

/* Sections & cards */
.section{padding:104px 0}
.section.soft{background:linear-gradient(180deg,#f4f8f9,#edf4f5)}
.service-card,.feature-card{position:relative;overflow:hidden}
.service-card:before,.feature-card:before{content:'';position:absolute;left:0;top:0;width:100%;height:3px;background:linear-gradient(90deg,var(--teal),var(--gold));transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ease)}
.service-card:hover:before,.feature-card:hover:before{transform:scaleX(1)}
.service-card,.feature-card,.premium-service-card,.work-project-card,.insight-card,.solution-feature,.vm-card,.approach-step{transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .4s}
.service-card:hover,.feature-card:hover,.premium-service-card:hover,.work-project-card:hover,.insight-card:hover,.solution-feature:hover,.vm-card:hover,.approach-step:hover{transform:translateY(-8px);box-shadow:0 30px 70px rgba(11,40,95,.13);border-color:rgba(14,116,121,.28)}
.service-icon{transition:transform .5s var(--ease),background .4s,color .4s}
.service-card:hover .service-icon,.feature-card:hover .service-icon{transform:translateY(-3px) rotate(-6deg) scale(1.06);background:linear-gradient(135deg,var(--teal),var(--teal2));color:#fff}
.insight-card{overflow:hidden}
.work-project-image img,.insight-card img{transition:transform 1.2s var(--ease)}
.work-project-card:hover .work-project-image img,.insight-card:hover img{transform:scale(1.06)}
.text-link,.insight-read,.solution-link,.service-card-link{transition:letter-spacing .35s var(--ease),color .3s}
.text-link:hover{letter-spacing:.4px;color:var(--navy)}

/* CTA band */
.cta-band{position:relative;overflow:hidden;padding:60px;background:linear-gradient(120deg,var(--navy-deep),var(--navy) 45%,#0E7479);box-shadow:var(--glow)}
.cta-band:before{content:'';position:absolute;right:-90px;top:-130px;width:380px;height:380px;border-radius:50%;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 50px rgba(255,255,255,.04),0 0 0 100px rgba(201,154,32,.07);pointer-events:none}
.cta-band>*{position:relative}
.form-card,.contact-form-card{box-shadow:var(--glow)}

/* Scroll reveal (class removed by premium.js after it plays) */
html.js .reveal{opacity:0;transform:translateY(30px);transition:opacity .9s var(--ease),transform .9s var(--ease);transition-delay:var(--d,0ms)}
html.js .reveal.in{opacity:1;transform:none}

@media(max-width:760px){.section{padding:72px 0}.hero{padding:64px 0 52px}.cta-band{padding:34px}.service-card:hover,.feature-card:hover,.premium-service-card:hover,.work-project-card:hover,.insight-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){html.js .reveal{opacity:1;transform:none;transition:none}.hero:before,.hero:after{animation:none}body.page-in{animation:none}}


/* Header: always pinned to the top */
#site-header{position:sticky;top:0;z-index:60}

/* Footer: compact, tidy layout (colours unchanged) */
.site-footer{padding-top:44px;padding-bottom:16px}
.site-footer .footer-grid{display:grid;grid-template-columns:1.25fr 1.2fr 1fr 1.25fr;gap:24px 44px;align-items:start;padding:0}
.site-footer .footer-grid>div:last-child{grid-column:auto}
.site-footer .footer-brand .brand-logo{width:150px;height:58px}
.site-footer .footer-about{margin:10px 0 0;font-size:13.5px;line-height:1.6;max-width:270px}
.site-footer h4{margin:4px 0 14px;font-size:14px;letter-spacing:.3px}
.site-footer .footer-links{gap:8px;font-size:13.5px;line-height:1.5}
.site-footer .footer-grid>div:nth-child(2) .footer-links{grid-template-columns:1fr 1fr;gap:8px 24px}
.site-footer .footer-links .social-icons{margin-top:8px}
.site-footer .footer-links span{line-height:1.6}
.site-footer .footer-links span+span{margin-top:6px}
.site-footer .footer-bottom{margin-top:30px;padding-top:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px}
.site-footer .legal-links{display:flex;gap:18px}
@media(max-width:980px){.site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:28px 32px}.site-footer .footer-grid>div:first-child{grid-column:1/-1}.site-footer .footer-about{max-width:420px}}
@media(max-width:560px){.site-footer .footer-grid{grid-template-columns:1fr}.site-footer .footer-grid>div:nth-child(2) .footer-links{grid-template-columns:1fr 1fr}.site-footer .footer-bottom{flex-direction:column;align-items:flex-start}}


/* Desktop hero text/image separation refinement */
@media (min-width: 1201px) {
  .hero-grid > .fade-up {
    width: 42%;
    max-width: 560px;
    padding-right: 18px;
  }
  .hero-image-wrap {
    width: 63vw;
  }
}

/* VIPRA homepage hero: clearer wallpaper with a lighter text-safe overlay */
.hero{
  background-image:linear-gradient(90deg,rgba(248,251,252,.58) 0%,rgba(248,251,252,.38) 27%,rgba(248,251,252,.16) 46%,rgba(248,251,252,.025) 66%,rgba(248,251,252,0) 100%),url("assets/vipra-hero-wallpaper.webp") !important;
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
@media(max-width:900px){
  .hero{
    background-image:linear-gradient(90deg,rgba(248,251,252,.72) 0%,rgba(248,251,252,.54) 42%,rgba(248,251,252,.22) 72%,rgba(248,251,252,.08) 100%),url("assets/vipra-hero-wallpaper.webp") !important;
  }
}
@media(max-width:520px){
  .hero{
    background-image:linear-gradient(90deg,rgba(248,251,252,.78) 0%,rgba(248,251,252,.58) 55%,rgba(248,251,252,.30) 100%),url("assets/vipra-hero-wallpaper.webp") !important;
  }
}


/* VIPRA mobile refinement – consistent spacing, readable scale and footer hierarchy */
@media (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { font-size: 15px; }
  .container, .site-header .container, .hero-grid {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
  }
  .nav-wrap { height: 66px !important; }
  .brand, .brand-logo { width: 104px !important; }
  .brand-logo { height: 48px !important; }
  .nav-links { top: 66px !important; }

  /* Home hero: remove accumulated mobile padding and align copy close to header. */
  .hero {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  .hero-grid {
    display: block !important;
    min-height: 0 !important;
    padding: 26px 0 0 !important;
    margin: 0 auto !important;
  }
  .hero-grid > .fade-up {
    width: 100% !important;
    max-width: none !important;
    padding: 0 0 22px !important;
  }
  .hero .eyebrow { font-size: 11px; letter-spacing: 1.6px; }
  .hero h1 { font-size: clamp(32px, 8.2vw, 38px) !important; line-height: 1.08; letter-spacing: -1.3px !important; margin: 16px 0 16px !important; }
  .hero-copy { font-size: 15.5px !important; line-height: 1.55; margin-bottom: 20px !important; }
  .button-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) !important;
    gap: 9px !important;
    width: 100%;
  }
  .button-row .btn {
    width: 100%; min-width: 0; min-height: 48px !important;
    padding: 11px 9px !important; font-size: 14px !important;
    line-height: 1.2; white-space: nowrap; gap: 5px;
  }
  .hero-note { margin-top: 16px !important; font-size: 11px !important; letter-spacing: 1.2px !important; }
  .hero-image-wrap { display: none !important; }

  /* Harmonise top and section spacing across all public pages. */
  .page-hero, .contact-hero, .insights-hero, .article-hero,
  .solutions-hero, .work-hero, .services-hero {
    padding-top: 30px !important;
    padding-bottom: 34px !important;
  }
  .breadcrumb { margin-bottom: 18px !important; }
  .page-hero h1, .contact-hero h1, .insights-hero h1,
  .solutions-hero-copy h1, .work-hero-copy h1, .services-hero-copy h1,
  .article-title { font-size: clamp(30px, 8vw, 36px) !important; line-height: 1.12 !important; letter-spacing: -1.1px !important; }
  .page-hero p, .contact-hero p, .insights-hero p,
  .solutions-hero-copy > p, .work-hero-copy > p, .services-hero-copy > p { font-size: 15.5px !important; line-height: 1.65; }
  .section { padding: 48px 0 !important; }
  .section-head { margin-bottom: 26px !important; }
  .section-head h2, .content h2 { font-size: clamp(27px, 7vw, 32px) !important; line-height: 1.16; }
  .section-head p, .content p { font-size: 15px; line-height: 1.65; }
  .cards, .split, .two-col { gap: 18px !important; }
  .service-card, .feature-card, .project-card { padding: 21px !important; }
  .contact-main-section, .contact-enquiry-section { padding-top: 42px !important; padding-bottom: 44px !important; }
  .solutions-hero-grid, .work-hero-grid { min-height: 0 !important; gap: 20px !important; }

  /* Keep footer titles visible and consistently separated from their links. */
  .site-footer { position: relative; background: #f7f8f6 !important; color: #596973 !important; }
  .site-footer .footer-grid { grid-template-columns: 1fr !important; gap: 22px !important; padding: 24px 0 18px !important; }
  .site-footer .footer-grid > div { grid-column: auto !important; min-width: 0; }
  .site-footer h4 {
    display: block !important; visibility: visible !important; opacity: 1 !important;
    color: #0B285F !important; font: 800 15px/1.35 Manrope, sans-serif !important;
    margin: 0 0 10px !important; padding: 0 !important;
  }
  .site-footer .footer-links { display: grid !important; gap: 8px !important; }
  .site-footer .footer-grid > div:nth-child(2) .footer-links { grid-template-columns: 1fr 1fr !important; gap: 8px 14px !important; }
  .site-footer .footer-about { font-size: 14px !important; }
  .site-footer .footer-bottom { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; padding: 12px 0 8px !important; }
  .site-footer .legal-links { flex-wrap: wrap; gap: 12px !important; }
}
@media (max-width: 380px) {
  .button-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) !important; }
  .button-row .btn { font-size: 12.5px !important; padding-inline: 6px !important; }
  .hero h1 { font-size: 31px !important; }
  .nav-wrap { grid-template-columns: 96px minmax(0,1fr) auto auto !important; gap: 5px !important; }
  .brand, .brand-logo { width: 94px !important; }
  .social-icons { gap: 4px !important; }
  .social-icons a { width: 27px !important; height: 27px !important; }
}


/* Footer contact details: clear icon + text alignment */
.site-footer .footer-contact-item{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  text-decoration:none;
}
.site-footer .footer-contact-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 22px;
  width:22px;
  height:22px;
  color:var(--teal, #087f83);
  font-size:17px;
  line-height:1;
}
@media(max-width:560px){
  .site-footer .footer-contact-item{width:100%;overflow-wrap:anywhere}
}


/* Footer hierarchy: retain Explore title and show Quick Links beneath it */
.site-footer .footer-subheading{
  display:block;
  margin:0 0 12px;
  padding:0;
  color:#0B285F;
  font:700 14px/1.35 Manrope,sans-serif;
}


/* Refined footer heading hierarchy */
.site-footer h4{
  font-size:18px;
  line-height:1.3;
  font-weight:700;
  margin-bottom:14px;
}
.site-footer .footer-subheading{
  font-size:14px;
  line-height:1.35;
  font-weight:600;
  margin:0 0 12px;
  color:#536273;
}


/* Footer navigation: two independent columns with their own headings */
.site-footer .footer-navigation-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:start;
}
.site-footer .footer-navigation-column h4{
  margin:4px 0 14px;
  color:#0B285F;
  font-size:18px;
  line-height:1.3;
  font-weight:700;
}
.site-footer .footer-navigation-column .footer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
}
@media(max-width:560px){
  .site-footer .footer-navigation-columns{grid-template-columns:1fr 1fr;gap:14px}
  .site-footer .footer-navigation-column h4{font-size:15px}
}


/* VIPRA SITE-WIDE LAYOUT — full-width sections with premium, consistent gutters */
@media (min-width: 761px) {
  .container,
  main .container,
  .site-header .container,
  #site-header .container,
  .hero-grid {
    width: calc(100% - 112px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .section,
  .page-hero,
  .contact-hero,
  .insights-hero,
  .article-hero,
  .solutions-hero,
  .work-hero,
  .services-hero,
  .cta-band,
  .site-footer {
    width: 100%;
  }
  .section > .container,
  .page-hero > .container,
  .contact-hero > .container,
  .insights-hero > .container,
  .article-hero > .container,
  .solutions-hero > .container,
  .work-hero > .container,
  .services-hero > .container,
  .site-footer > .container {
    width: calc(100% - 112px) !important;
    max-width: none !important;
  }
  /* Keep long-form copy comfortable to read on very wide monitors. */
  .content p,
  .section-head p,
  .page-hero p,
  .contact-hero p,
  .insights-hero p,
  .article-hero p,
  .services-hero-copy > p,
  .solutions-hero-copy > p,
  .work-hero-copy > p {
    max-width: 820px;
  }
  /* Let card and feature grids use the additional available page width. */
  .cards,
  .service-grid,
  .services-grid,
  .features-grid,
  .solutions-grid,
  .work-grid,
  .insights-grid,
  .projects-grid {
    width: 100%;
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  .container,
  main .container,
  .site-header .container,
  #site-header .container,
  .section > .container,
  .page-hero > .container,
  .contact-hero > .container,
  .insights-hero > .container,
  .article-hero > .container,
  .solutions-hero > .container,
  .work-hero > .container,
  .services-hero > .container,
  .site-footer > .container {
    width: calc(100% - 72px) !important;
  }
}

@media (max-width: 760px) {
  .container,
  main .container,
  .site-header .container,
  #site-header .container,
  .section > .container,
  .page-hero > .container,
  .contact-hero > .container,
  .insights-hero > .container,
  .article-hero > .container,
  .solutions-hero > .container,
  .work-hero > .container,
  .services-hero > .container,
  .site-footer > .container {
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Homepage hero: show only the existing full-width background image.
   Hide the separate inset/laptop image panel at every screen size. */
.hero .hero-image-wrap,
.hero-image-wrap {
  display: none !important;
}


/* VIPRA HERO — full-screen-width wallpaper, matching the supplied reference */
.hero{
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  min-height:clamp(560px, 34vw, 700px) !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  overflow:hidden !important;
  background-image:
    linear-gradient(90deg,
      rgba(248,251,252,.34) 0%,
      rgba(248,251,252,.20) 22%,
      rgba(248,251,252,.08) 38%,
      rgba(248,251,252,0) 55%),
    url("assets/vipra-hero-wallpaper.webp") !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
.hero-grid{
  width:100% !important;
  max-width:none !important;
  min-height:inherit !important;
  margin:0 !important;
  padding:0 26px !important;
  display:flex !important;
  align-items:center !important;
}
.hero-grid>.fade-up{
  width:min(390px, 32vw) !important;
  max-width:390px !important;
  padding:0 !important;
  position:relative !important;
  z-index:3 !important;
}
.hero h1{
  font-size:clamp(40px, 2.55vw, 54px) !important;
  line-height:1.04 !important;
  margin:16px 0 14px !important;
  letter-spacing:-.035em !important;
}
.hero-copy{
  max-width:390px !important;
  font-size:clamp(14px, .72vw, 16px) !important;
  line-height:1.48 !important;
  margin-bottom:20px !important;
}
.hero .eyebrow{font-size:10px !important;letter-spacing:1.4px !important}
.hero .button-row{display:flex !important;flex-wrap:wrap !important;gap:10px !important}
.hero .button-row .btn{min-height:44px !important;padding:11px 16px !important}
.hero .hero-note{margin-top:16px !important;font-size:10px !important;letter-spacing:1.3px !important}

/* The background wallpaper is the only hero image. */
.hero .hero-image-wrap,
.hero-image-wrap{display:none !important}

@media(max-width:900px){
  .hero{
    width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    min-height:620px !important;
    align-items:flex-start !important;
    background-position:center center !important;
    background-image:
      linear-gradient(180deg,
        rgba(248,251,252,.82) 0%,
        rgba(248,251,252,.68) 38%,
        rgba(248,251,252,.25) 72%,
        rgba(248,251,252,.08) 100%),
      url("assets/vipra-hero-wallpaper.webp") !important;
  }
  .hero-grid{
    width:100% !important;
    min-height:620px !important;
    padding:42px 22px 30px !important;
    display:block !important;
  }
  .hero-grid>.fade-up{width:100% !important;max-width:560px !important}
  .hero h1{font-size:clamp(38px,7vw,52px) !important}
  .hero-copy{font-size:16px !important;max-width:560px !important}
}
@media(max-width:520px){
  .hero{
    min-height:650px !important;
    background-position:58% center !important;
  }
  .hero-grid{min-height:650px !important;padding:34px 20px 26px !important}
  .hero-grid>.fade-up{max-width:100% !important}
  .hero h1{font-size:clamp(36px,9.5vw,44px) !important}
  .hero-copy{font-size:15px !important;line-height:1.5 !important}
}


/* VIPRA viewport alignment fix — prevent 100vw scrollbar overflow */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
.hero {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* FINAL MOBILE FOOTER FIX — scoped to the actual footer DOM in app.js.
   Keep navigation columns separate from the Contact and Visit Us link lists. */
@media (max-width: 760px) {
  .site-footer .footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 26px !important;
    align-items: start !important;
  }

  .site-footer .footer-grid > .footer-navigation-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .site-footer .footer-navigation-column {
    display: block !important;
    min-width: 0 !important;
  }

  .site-footer .footer-navigation-column .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  /* Contact links remain one-per-line; do not apply the navigation grid here. */
  .site-footer .footer-grid > div:nth-child(3) > .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Social links are a single horizontal row inside Contact. */
  .site-footer .footer-grid > div:nth-child(3) .footer-links > .social-icons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
  }

  .site-footer .footer-grid > div:nth-child(3) .footer-links > .social-icons > a {
    display: inline-flex !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .site-footer .footer-grid > div:nth-child(3) .footer-links > .social-icons svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
  }

  .site-footer .footer-contact-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-footer .footer-grid > div:last-child > .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .site-footer .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}

@media (max-width: 380px) {
  .site-footer .footer-grid > .footer-navigation-columns {
    column-gap: 12px !important;
  }
  .site-footer .footer-grid > div:nth-child(3) .footer-links > .social-icons > a {
    flex-basis: 38px !important;
    width: 38px !important;
    height: 38px !important;
  }
}


/* VIPRA hero refinement — plain wallpaper with an 80–85% white text-safe fade.
   Appended after existing hero rules to override earlier experimental gradients. */
.hero {
  background-image: linear-gradient(90deg,
    rgba(255,255,255,.90) 0%,
    rgba(255,255,255,.90) 25%,
    rgba(255,255,255,.76) 40%,
    rgba(255,255,255,.42) 58%,
    rgba(255,255,255,0) 73%),
    url("assets/vipra-hero-wallpaper.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.hero-grid {
  padding-left: 55px !important;
  padding-right: 30px !important;
}
.hero-grid > .fade-up {
  width: min(500px, 42vw) !important;
  max-width: 500px !important;
}
.hero h1 {
  color: #102f67 !important;
}
.hero h1 span {
  color: #087f83 !important;
}
.hero-copy {
  max-width: 500px !important;
  color: #26384d !important;
  text-shadow: none !important;
}
.hero .eyebrow {
  color: #173b70 !important;
}
@media (max-width: 900px) {
  .hero {
    background-image: linear-gradient(180deg,
      rgba(255,255,255,.90) 0%,
      rgba(255,255,255,.88) 40%,
      rgba(255,255,255,.60) 66%,
      rgba(255,255,255,.22) 100%),
      url("assets/vipra-hero-wallpaper.webp") !important;
    background-position: center center !important;
  }
  .hero-grid {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .hero-grid > .fade-up {
    width: 100% !important;
    max-width: 560px !important;
  }
  .hero-copy {
    max-width: 560px !important;
  }
}
@media (max-width: 520px) {
  .hero {
    background-image: linear-gradient(180deg,
      rgba(255,255,255,.90) 0%,
      rgba(255,255,255,.88) 42%,
      rgba(255,255,255,.62) 70%,
      rgba(255,255,255,.24) 100%),
      url("assets/vipra-hero-wallpaper.webp") !important;
  }
  .hero-grid {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* Site-wide accessible back-to-top control. */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 10000;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(255,255,255,.72); border-radius: 50%;
  background: #087f83; color: #fff; box-shadow: 0 8px 24px rgba(8,55,61,.22);
  cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(9px);
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease, visibility .2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: #06696d; }
.back-to-top:focus-visible { outline: 3px solid #d7a94b; outline-offset: 3px; }
.back-to-top svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .back-to-top { right: 17px; bottom: 18px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }

/* --- Mobile hero spacing (merged from mobile-hero-spacing.css) --- */
@media (max-width: 760px) {
  .hero {
    min-height: 0 !important;
    height: auto !important;
    align-items: flex-start !important;
  }

  .hero-grid {
    min-height: 0 !important;
    height: auto !important;
    padding: 54px 22px 66px !important;
    display: block !important;
  }

  .hero-grid > .fade-up {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .hero .eyebrow {
    margin: 0 0 30px !important;
    line-height: 1.65 !important;
  }

  .hero h1 {
    margin: 0 0 30px !important;
    font-size: clamp(37px, 9.2vw, 45px) !important;
    line-height: 1.12 !important;
    letter-spacing: -1.25px !important;
  }

  .hero-copy {
    max-width: 100% !important;
    margin: 0 0 42px !important;
    font-size: 16.5px !important;
    line-height: 1.72 !important;
  }

  .hero .button-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .hero .button-row .btn {
    width: 100% !important;
    min-height: 68px !important;
    padding: 17px 18px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .hero .hero-note {
    margin-top: 26px !important;
  }
}

@media (max-width: 380px) {
  .hero-grid {
    padding: 48px 20px 58px !important;
  }
  .hero .eyebrow {
    margin-bottom: 26px !important;
  }
  .hero h1 {
    font-size: 36px !important;
    margin-bottom: 26px !important;
  }
  .hero-copy {
    font-size: 16px !important;
    line-height: 1.68 !important;
    margin-bottom: 36px !important;
  }
  .hero .button-row {
    gap: 16px !important;
  }
}

/* --- Mobile hardening: preserve pinch zoom while preventing sideways overflow --- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: pan-x pan-y pinch-zoom; }
body { touch-action: pan-x pan-y pinch-zoom; }
img, video, svg, iframe { max-width: 100%; }
img { height: auto; }
a, button, .btn, .menu-toggle, input, select, textarea, label { touch-action: manipulation; }
@media (max-width: 760px) {
  html, body { overflow-x: clip; }
  .field input, .field select, .field textarea, input, select, textarea { font-size: 16px; } /* stops iOS auto-zoom on focus */
  h1, h2, h3, p, li, a { overflow-wrap: anywhere; }
  .cards, .split, .two-col, .form-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

/* Header always visible while scrolling (desktop + mobile) */
#site-header { position: sticky; top: 0; z-index: 60; }


/* Approved single hero composition: real HTML copy on the left, one office visual on the right. */
.hero {
  background: #f3f8fa !important;
  background-image: none !important;
  overflow: hidden !important;
}
.hero::before,
.hero::after {
  content: none !important;
  display: none !important;
}
.hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr) !important;
  align-items: center !important;
  gap: clamp(24px, 3vw, 54px) !important;
}
.hero-grid > .fade-up {
  display: block !important;
  width: auto !important;
  max-width: 620px !important;
  min-width: 0 !important;
  padding-right: 0 !important;
}
.hero .hero-image-wrap {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: clamp(350px, 39vw, 590px) !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  background: #eaf3f5 !important;
  box-shadow: 0 16px 48px rgba(12, 49, 75, .12) !important;
}
.hero .hero-image {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .hero .hero-image-wrap {
    height: auto !important;
    aspect-ratio: 1.5 / 1;
  }
}

/* Home hero: full-width container, square image edge-to-edge on the right (no border radius). */
.hero .hero-grid {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-block: 0 !important;
  padding-left: max(22px, calc((100vw - var(--max, 1180px)) / 2)) !important;
  padding-right: 0 !important;
  gap: clamp(24px, 3vw, 54px) !important;
}
.hero .hero-image-wrap {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}
.hero .hero-image { border-radius: 0 !important; }
@media (max-width: 900px) {
  .hero .hero-grid { padding-left: 0 !important; padding-top: 34px !important; }
  .hero .hero-grid > .fade-up { padding-left: 22px !important; padding-right: 22px !important; }
}

/* Home hero: text on the right, image on the left; 50px space to the left of the text. */
@media (min-width: 901px) {
  .hero .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) !important;
    padding-left: 0 !important;
    padding-right: max(22px, calc((100vw - var(--max, 1180px)) / 2)) !important;
  }
  .hero .hero-grid > .fade-up { order: 2; padding-left: 50px !important; }
  .hero .hero-image-wrap { order: 1; }
}

/* Services dropdown */
.nav-dd{position:relative;display:flex;align-items:center}
.nav-caret{font-size:10px;margin-left:2px;opacity:.7}
.nav-dd-menu{position:absolute;top:100%;left:50%;transform:translate(-50%,8px);min-width:290px;padding:10px;background:#fff;border:1px solid #e5edf0;border-radius:16px;box-shadow:0 24px 60px rgba(11,40,95,.18);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;z-index:80;display:flex;flex-direction:column}
.nav-dd::before{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.nav-dd:hover .nav-dd-menu,.nav-dd:focus-within .nav-dd-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
.nav-dd-menu a{display:block;padding:10px 14px !important;border-radius:10px;font-size:14px !important;font-weight:600;white-space:nowrap;color:#0B285F}
.nav-dd-menu a:after{content:none !important}
.nav-dd-menu a:hover,.nav-dd-menu a.active{background:#eef6f7;color:#0E7479}
.nav-dd-menu .nav-dd-all{margin-top:6px;border-top:1px solid #e5edf0;border-radius:0 0 10px 10px;color:#0E7479;font-weight:800}
@media(max-width:900px){
  .nav-dd{display:block}
  .nav-dd-menu{position:static;transform:none;opacity:1;visibility:visible;min-width:0;box-shadow:none;border:0;padding:0 0 6px 14px;border-left:2px solid #e5edf0;border-radius:0;margin:0 0 6px 4px}
  .nav-dd:hover .nav-dd-menu,.nav-dd:focus-within .nav-dd-menu{transform:none}
  .nav-dd::before{display:none}
  .nav-dd-menu a{padding:8px 10px !important;font-size:14px !important}
}

/* Back to top */
.back-to-top{position:fixed;right:22px;bottom:22px;width:48px;height:48px;border:0;border-radius:50%;background:linear-gradient(135deg,#0E7479,#0B285F);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 30px rgba(11,40,95,.35);opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .25s,transform .25s,visibility .25s,box-shadow .25s;z-index:70}
.back-to-top.show{opacity:1;visibility:visible;transform:none}
.back-to-top:hover{box-shadow:0 16px 38px rgba(11,40,95,.45);transform:translateY(-3px)}
.back-to-top:focus-visible{outline:3px solid #C99A20;outline-offset:3px}
@media(max-width:760px){.back-to-top{right:14px;bottom:14px;width:44px;height:44px}}
