/* Shared header, social links, textual action and footer. One owner per component. */
.site-header,.site-footer { font-family:var(--viiv-font-reference); }
.site-header { position:sticky; top:0; z-index:100; height:var(--viiv-header-height); background:#fff; }
body.admin-bar .site-header { top:32px; }
.site-header__inner { position:relative; display:flex; align-items:end; width:var(--viiv-reference-content); height:100%; gap:0; padding-bottom:clamp(20px,1.787vw,34px); }
.site-brand { position:absolute; left:0; top:50%; width:clamp(118px,9.511vw,181px); transform:translateY(-50%); }
.site-brand a { display:block; }
.site-brand img { width:100%; height:auto; object-fit:contain; }
.site-header__socials { position:absolute; right:0; top:clamp(15px,2.102vw,40px); }
.viiv-socials { display:grid; grid-template-columns:repeat(4,1fr); width:206px; aspect-ratio:206/45; }
.viiv-socials--blue { width:206px; }
.viiv-socials--white { width:clamp(264px,17.972vw,342px); aspect-ratio:342/67; margin-inline:auto; }
.viiv-socials__link { display:block; min-height:44px; transition:transform 180ms ease; }
.viiv-socials__link span { display:block; height:100%; background-image:url('../images/brand/social-blue.png'); background-size:400% 100%; background-repeat:no-repeat; transition:filter 180ms ease,opacity 180ms ease; }
.viiv-socials--white .viiv-socials__link span { background-image:url('../images/brand/social-white.png'); }
.viiv-socials__link--facebook span { background-position:0 0; }
.viiv-socials__link--instagram span { background-position:33.3333% 0; }
.viiv-socials__link--youtube span { background-position:66.6667% 0; }
.viiv-socials__link--linkedin span { background-position:100% 0; }
.viiv-socials__link:hover { transform:translateY(-3px); }
.viiv-socials--blue .viiv-socials__link:hover span { filter:brightness(.7); }
.viiv-socials--white .viiv-socials__link:hover span { opacity:.7; }
.viiv-socials__link:focus-visible { outline:var(--viiv-reference-focus); outline-offset:3px; border-radius:50%; }

/* The header keeps the original sprite silhouette; only its ink changes. */
@supports ((mask-image:url('')) or (-webkit-mask-image:url(''))) {
 .site-header__socials .viiv-socials__link { color:#7c7b7b; }
 .site-header__socials .viiv-socials__link span {
  background-image:none; background-color:currentColor; filter:none;
  -webkit-mask-image:url('../images/brand/social-blue.png'); mask-image:url('../images/brand/social-blue.png');
  -webkit-mask-size:400% 100%; mask-size:400% 100%;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  transition:background-color 180ms cubic-bezier(.22,1,.36,1);
 }
 .site-header__socials .viiv-socials__link--facebook span { -webkit-mask-position:0 0; mask-position:0 0; }
 .site-header__socials .viiv-socials__link--instagram span { -webkit-mask-position:33.3333% 0; mask-position:33.3333% 0; }
 .site-header__socials .viiv-socials__link--youtube span { -webkit-mask-position:66.6667% 0; mask-position:66.6667% 0; }
 .site-header__socials .viiv-socials__link--linkedin span { -webkit-mask-position:100% 0; mask-position:100% 0; }
 .site-header__socials .viiv-socials__link:is(:hover,:focus-visible) { color:var(--viiv-reference-blue); }
 .site-header__socials .viiv-socials__link:is(:hover,:focus-visible) span { filter:none; }
}

.primary-navigation { width:77%; min-width:0; margin-left:auto; }
.primary-navigation__list { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0; margin:0; list-style:none; }
.primary-navigation__list > li { position:relative; display:flex; align-items:center; }
.primary-navigation a { display:flex; align-items:center; min-height:24px; color:var(--viiv-reference-menu-ink); font:300 clamp(12px,.949vw,18.056px)/24px var(--viiv-font-reference); letter-spacing:0; text-decoration:none; text-transform:uppercase; white-space:nowrap; }
.primary-navigation__list > li > a { padding:0; }
.primary-navigation a:hover,.primary-navigation a:focus-visible { color:var(--viiv-reference-blue); }
.primary-navigation a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.primary-navigation .sub-menu { display:none; position:absolute; top:100%; left:-18px; width:260px; padding:12px 18px; margin:0; list-style:none; background:#fff; border-radius:20px; box-shadow:0 5px 16px #0002; }
.primary-navigation .sub-menu a { min-height:44px; font-size:15px; white-space:normal; text-transform:none; }
.primary-navigation li:not([data-submenu-dismissed]):hover > .sub-menu,.primary-navigation li:not([data-submenu-dismissed]):focus-within > .sub-menu,.primary-navigation li[data-submenu-open] > .sub-menu { display:block; }
.submenu-toggle { display:none; border:0; background:transparent; color:var(--viiv-reference-menu-ink); cursor:pointer; }
.menu-toggle { display:none; }
.viiv-text-link { display:inline-block; margin:0; padding:0; color:var(--viiv-reference-copy); font:300 var(--viiv-reference-link)/1.2 var(--viiv-font-reference); letter-spacing:0; text-transform:uppercase; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; border:0; }
.viiv-text-link:hover { color:var(--viiv-reference-blue); }
.viiv-text-link:focus-visible { outline:var(--viiv-reference-focus); outline-offset:5px; }
/* Opt-in reference typography and actions retain the host section's composition. */
.site-main .viiv-reference-heading { color:inherit; font:700 var(--viiv-reference-title)/1.2 var(--viiv-font-reference); letter-spacing:0; }
.viiv-text-link--inverse { display:inline-flex; align-items:center; min-height:var(--viiv-touch-target); color:var(--viiv-reference-white); }
.viiv-text-link--inverse:hover { color:var(--viiv-reference-white); text-decoration-thickness:2px; }
.viiv-text-link--inverse:focus-visible { outline:3px solid var(--viiv-reference-white); outline-offset:5px; }
.site-main .viiv-text-link--contextual { display:inline-flex; align-items:center; gap:.25em; min-height:var(--viiv-touch-target); color:var(--viiv-text-link-color,var(--viiv-reference-copy)); font-weight:300; text-transform:none; }
.site-main .viiv-text-link--contextual:hover { color:var(--viiv-text-link-color,var(--viiv-reference-copy)); text-decoration-thickness:2px; }
.site-main .viiv-reference-button { min-height:var(--viiv-control-height); color:var(--viiv-reference-button-color,var(--viiv-reference-white)); background:var(--viiv-reference-button-background,var(--viiv-ink)); border-radius:var(--viiv-reference-action-radius); font:700 16px/1.2 var(--viiv-font-reference); letter-spacing:0; }
.site-main .viiv-reference-button:hover { background:var(--viiv-reference-button-hover-background,var(--viiv-reference-black)); }
.site-main .viiv-reference-button:focus-visible { outline:var(--viiv-reference-button-focus,var(--viiv-reference-focus)); outline-offset:5px; }
.site-footer { padding:0; background:#000; color:#fff; }
.reference-footer-menu { border-top:var(--viiv-reference-divider) solid #fff; background:var(--viiv-reference-menu); color:#fff; min-height:calc(clamp(280px,20.18vw,384px) + var(--viiv-reference-divider)); padding-block:clamp(65px,5.55vw,106px); }
.reference-footer-menu__grid { width:min(73.2%,1393px); display:grid; grid-template-columns:230fr 272fr 220fr 270fr 246fr 155fr; gap:0; }
.reference-footer-menu__group { min-width:0; }
.reference-footer-menu__group h2 { margin:0 0 30px; font:700 clamp(14px,1.042vw,19.826px)/1.2 var(--viiv-font-reference); text-transform:uppercase; }
.reference-footer-menu__group a { display:block; text-decoration:none; }
.reference-footer-menu__group > a { color:var(--viiv-reference-menu-child); font:300 clamp(12px,.7813vw,14.869px)/1.2 var(--viiv-font-reference); margin-bottom:clamp(6px,.4368vw,8.31281px); }
.reference-footer-menu__group > a:last-child { margin-bottom:0; }
.reference-footer-menu__group:last-child > a { width:160px; max-width:none; }
.reference-footer-menu__group a:hover,.reference-footer-menu__group a:focus-visible { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.reference-footer-menu__group a:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.reference-footer-contact { display:flex; flex-direction:column; align-items:center; min-height:clamp(740px,50.97vw,970px); padding:clamp(80px,5.68vw,108px) 24px clamp(80px,6.3vw,120px); text-align:center; }
.reference-footer-contact__logo { display:block; width:clamp(225px,15.607vw,297px); }
.reference-footer-contact__phones { display:flex; justify-content:center; gap:clamp(70px,5.7vw,109px); margin-top:clamp(50px,3.89vw,74px); }
.reference-footer-contact__phones a { display:flex; gap:17px; align-items:center; color:#fff; text-decoration:none; text-align:left; transition:opacity 180ms ease; }
.reference-footer-contact__phones a:hover { opacity:.7; }
.reference-footer-contact__phones a:focus-visible { outline:3px solid #fff; outline-offset:8px; }
.reference-footer-contact__phones img { width:clamp(48px,3.889vw,74px); }
.reference-footer-contact__phones small { display:block; font:700 clamp(17px,1.241vw,23.611px)/1.2 var(--viiv-font-reference); }
.reference-footer-contact__phones strong { display:block; font-weight:900; line-height:1.2; white-space:nowrap; }
.reference-footer-contact__ddd { font-size:clamp(18px,1.168vw,22.222px); vertical-align:.27855em; }
.reference-footer-contact__number { font-size:clamp(28px,2.044vw,38.889px); }
.reference-footer-contact__addresses { margin-top:38px; font:300 clamp(15px,1.022vw,19.444px)/1.2 var(--viiv-font-reference); }
.reference-footer-contact__addresses p { margin:0 0 clamp(5px,.3317vw,6.31195px); }
.reference-footer-contact__addresses p:last-child { margin-bottom:0; }
.reference-footer-contact__addresses strong { font-weight:500; }
.reference-footer-contact__social { margin-top:clamp(38px,3.3vw,63px); }
.reference-footer-contact__social p { margin:0 0 26px; font:700 clamp(18px,1.46vw,27.778px)/1.2 var(--viiv-font-reference); }
.reference-footer-contact__legal { margin-top:61px; }
.reference-footer-contact__legal a { position:relative; display:inline-block; color:#fff; font:700 clamp(17px,1.168vw,22.222px)/1.2 var(--viiv-font-reference); text-decoration:none; }
.reference-footer-contact__legal a::before { content:""; position:absolute; inset:-9px -8px; min-height:44px; }
.reference-footer-contact__legal a:hover,.reference-footer-contact__legal a:focus-visible { text-decoration:underline; text-underline-offset:4px; }
.reference-footer-contact__legal p { display:grid; row-gap:clamp(5px,.3317vw,6.31195px); margin:6.31195px 0 0; font:300 clamp(14px,.876vw,16.667px)/1.2 var(--viiv-font-reference); }
.reference-footer-contact__year { font-weight:500; }
/* Home stays reachable through every scroll surface; dialog top-layer behaviour is unchanged. */
body:has(.home-page) { overflow-x:visible; }
body:has(.home-page) .whatsapp-contact { z-index:120; }
@media(max-width:1100px) {
 .site-header__inner { width:calc(100% - 48px); padding:0; align-items:center; }
 .site-header__socials { right:70px; top:30px; }
 .menu-toggle { display:grid; place-content:center; gap:5px; margin-left:auto; padding:10px; width:44px; height:44px; border:0; background:transparent; cursor:pointer; }
 .menu-toggle > span:not(.screen-reader-text) { display:block; width:24px; height:2px; background:var(--viiv-reference-blue); }
 .primary-navigation { display:none; position:absolute; top:100%; left:-24px; width:calc(100% + 48px); padding:20px 24px; background:#fff; box-shadow:0 8px 12px #0002; max-height:calc(100svh - var(--viiv-header-height)); overflow-y:auto; }
 .primary-navigation[data-open] { display:block; }
 .primary-navigation__list { display:block; }
 .primary-navigation__list > li { display:flex; flex-wrap:wrap; border-bottom:1px solid #eee; }
 .primary-navigation__list > li > a { flex:1; font-size:16px; min-height:48px; }
 .submenu-toggle { display:block; width:44px; height:44px; }
 .primary-navigation .sub-menu { position:static; width:100%; box-shadow:none; padding:0 16px 12px; border-radius:12px; }
 .primary-navigation li:hover > .sub-menu,.primary-navigation li:focus-within > .sub-menu { display:none; }
 .primary-navigation li[data-submenu-open] > .sub-menu { display:block; }
 .reference-footer-menu__grid { width:calc(100% - 64px); grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; }
}
@media(max-width:767px) {
 body.admin-bar .site-header { top:0; }
 .site-brand { width:110px; }
 .site-header__socials { display:none; }
 .reference-footer-menu { min-height:0; padding:32px 24px; }
 .reference-footer-menu__grid { width:100%; grid-template-columns:1fr; gap:20px; }
 .reference-footer-menu__group { padding-bottom:16px; border-bottom:1px solid #ffffff40; }
 .reference-footer-menu__group:last-child { padding-bottom:0; border:0; }
 .reference-footer-menu__group h2 { margin:0 0 4px; font-size:18px; }
 .reference-footer-menu__group h2 a,.reference-footer-menu__group > a { display:flex; align-items:center; min-height:44px; }
 .reference-footer-menu__group > a { padding:6px 0; font-size:16px; margin-bottom:0; }
 .reference-footer-menu__group:last-child > a { width:auto; max-width:100%; }
 .reference-footer-contact { min-height:0; padding:44px 24px calc(var(--viiv-floating-size) + var(--viiv-floating-inset) + 16px); }
 .reference-footer-contact__logo { width:180px; }
 .reference-footer-contact__phones { flex-direction:column; margin:32px auto 0; gap:24px; }
 .reference-footer-contact__phones a { justify-content:center; }
 .reference-footer-contact__phones img { width:48px; }
 .reference-footer-contact__addresses { text-align:left; margin-top:32px; }
 .reference-footer-contact__addresses p { margin:0 0 16px; }
 .reference-footer-contact__social { margin-top:28px; }
 .reference-footer-contact__social p { font-size:18px; line-height:1.5; }
 .reference-footer-contact__legal { margin-top:28px; }
}
@media(prefers-reduced-motion:reduce) { .viiv-socials__link { transition:none; } }

/* PSD paragraph composer: word range80–133%, last line natural and centred. */

[data-viiv-compose] {
  text-align: justify;
  text-align-last: center;
  hyphens: none;
}
[data-viiv-compose] > [data-viiv-compose-line] {
  display: block;
  white-space: nowrap;
  text-align: left;
  text-align-last: left;
  word-spacing: var(--viiv-paragraph-word-spacing, 0px);
}
[data-viiv-compose] > [data-viiv-compose-line="last"] {
  text-align: center;
  text-align-last: center;
  word-spacing: 0px;
}


/* Opt-in fitted statements retain their measured word spacing and centred alignment. */
[data-viiv-compose] > [data-viiv-compose-line="fit"] {
  text-align: center;
  text-align-last: center;
}

/* S02: shared chrome scales only beyond the approved 1920px range. */
@media (min-width:1921px) {
 :root { --viiv-header-height:8.986vw; }
 .site-header__inner { width:82.5%; padding-bottom:1.787vw; }
 .site-brand { width:9.511vw; }
 .site-header__socials { top:2.102vw; }
 .site-header__socials .viiv-socials { width:10.825vw; }
 .primary-navigation__list { gap:.631vw; }
 .primary-navigation a { font-size:.949vw; line-height:1.3333; }
 .primary-navigation .sub-menu { left:-.946vw; width:13.663vw; padding:.631vw .946vw; border-radius:1.051vw; }
 .primary-navigation .sub-menu a { min-height:2.312vw; font-size:.78823vw; }
 .reference-footer-menu { min-height:calc(20.18vw + var(--viiv-reference-divider)); padding-block:5.55vw; }
 .reference-footer-menu__grid { width:73.2%; }
 .reference-footer-menu__group h2 { margin-bottom:1.57646vw; font-size:1.042vw; }
 .reference-footer-menu__group > a { font-size:.7813vw; margin-bottom:.4368vw; }
 .reference-footer-menu__group:last-child > a { width:8.40778vw; }
 .reference-footer-contact { min-height:50.97vw; padding-block:5.68vw 6.3vw; }
 .reference-footer-contact__logo { width:15.607vw; }
 .reference-footer-contact__phones { gap:5.7vw; margin-top:3.89vw; }
 .reference-footer-contact__phones a { gap:.89333vw; }
 .reference-footer-contact__phones img { width:3.889vw; }
 .reference-footer-contact__phones small { font-size:1.241vw; }
 .reference-footer-contact__ddd { font-size:1.168vw; }
 .reference-footer-contact__number { font-size:2.044vw; }
 .reference-footer-contact__addresses { margin-top:1.99685vw; font-size:1.022vw; }
 .reference-footer-contact__addresses p { margin-bottom:.3317vw; }
 .reference-footer-contact__social { margin-top:3.3vw; }
 .reference-footer-contact__social p { margin-bottom:1.36626vw; font-size:1.46vw; }
 .reference-footer-contact .viiv-socials--white { width:17.972vw; }
 .reference-footer-contact__legal { margin-top:3.20546vw; }
 .reference-footer-contact__legal a { font-size:1.168vw; }
 .reference-footer-contact__legal p { row-gap:.3317vw; margin-top:.3317vw; font-size:.876vw; }
}
