/* Nativo Canvas Studio v1.9 — compact mega menu, social polish, SEO/WordPress page migration support */

/* --- Services mega menu: clearly separated from the page, but shorter at 100% browser zoom. --- */
.ncs-mega-menu__surface{
  max-height:min(565px,calc(100dvh - var(--navbar-height,5rem) - 16px))!important;
  border-top:1px solid rgba(99,36,91,.08)!important;
  border-bottom:1px solid rgba(99,36,91,.14)!important;
  background:
    radial-gradient(circle at 12% 0%,rgba(123,45,112,.09),transparent 30%),
    radial-gradient(circle at 88% 100%,rgba(169,92,159,.07),transparent 32%),
    linear-gradient(180deg,#f9f0f8 0%,#fff 24%,#fbf8fb 100%)!important;
  box-shadow:0 24px 54px rgba(51,20,46,.15)!important;
}
.ncs-mega-menu__grid{
  gap:13px!important;
  padding-top:14px!important;
  padding-bottom:16px!important;
}
.ncs-mega-card{
  border-color:rgba(99,36,91,.11)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 7px 20px rgba(57,25,52,.045)!important;
}
.ncs-mega-card:hover{
  border-color:rgba(123,45,112,.28)!important;
  box-shadow:0 15px 30px rgba(71,29,64,.12)!important;
}
.ncs-mega-card__media{
  position:relative;
  height:clamp(112px,9.2vw,148px)!important;
  flex:0 0 auto;
}
.ncs-mega-card__body{
  min-height:91px;
  padding:9px 12px 11px!important;
}
.ncs-mega-card__body h3{font-size:1rem!important}
.ncs-mega-card__body p{margin-top:5px!important;font-size:.75rem!important;line-height:1.28!important}
.ncs-mega-card__arrow{padding-top:7px!important}

/* --- Footer social row: same clean brand-glyph treatment as the Contact page. --- */
.ncs-footer-v15__socials{
  display:flex;
  flex-wrap:wrap;
  gap:10px!important;
  margin-top:14px!important;
}
.ncs-footer-v15__socials a{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:46px!important;
  height:46px!important;
  border:1px solid rgba(123,45,112,.18)!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#8a347e 0%,#6d235f 100%)!important;
  color:#fff!important;
  box-shadow:0 9px 22px rgba(99,36,91,.17)!important;
  text-decoration:none!important;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease!important;
}
.ncs-footer-v15__socials a:hover{
  transform:translateY(-4px) scale(1.035)!important;
  background:#fff!important;
  color:#6b2366!important;
  border-color:rgba(123,45,112,.26)!important;
  box-shadow:0 15px 30px rgba(99,36,91,.18)!important;
}
.ncs-footer-v15__socials svg{
  width:19px!important;
  height:19px!important;
  display:block;
  fill:currentColor!important;
}

/* Contact details use the same tidy circular visual language. */
.ncs-footer-contact-icon{
  width:27px!important;
  height:27px!important;
  flex-basis:27px!important;
  margin-top:-3px!important;
  background:#f4e7f2!important;
  box-shadow:inset 0 0 0 1px rgba(123,45,112,.05);
}
.ncs-footer-contact-icon svg{width:14px!important;height:14px!important}

/* Prevent long email/address strings from ever squeezing footer columns. */
.ncs-footer-v15__touch{min-width:0!important}
.ncs-footer-contact-link{min-width:0!important}
.ncs-footer-contact-link>span:last-child{overflow-wrap:anywhere;word-break:normal}

@media (max-width:1180px) and (min-width:1024px){
  .ncs-mega-card__media{height:120px!important}
  .ncs-mega-card__body{min-height:86px}
}
@media (max-height:800px) and (min-width:1024px){
  .ncs-mega-menu__surface{max-height:500px!important}
  .ncs-mega-card__media{height:108px!important}
  .ncs-mega-card__body{min-height:82px;padding-top:8px!important;padding-bottom:8px!important}
  .ncs-mega-card__body p{-webkit-line-clamp:1!important;line-clamp:1!important}
  .ncs-mega-menu__grid{padding-top:10px!important;padding-bottom:11px!important}
}
@media (max-width:767px){
  .ncs-footer-v15__socials a{width:43px!important;height:43px!important}
}
@media (prefers-reduced-motion:reduce){
  .ncs-footer-v15__socials a{transition:none!important;transform:none!important}
}
