/* V92: one consistent header across IT/EN/ES, desktop and mobile. */
@media(min-width:1101px){
 .ag-header .ag-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:clamp(12px,2vw,32px)!important;max-width:none!important;min-height:128px!important;padding:10px clamp(14px,2vw,34px)!important;align-items:center!important}
 .ag-header .ag-nav{grid-column:1!important;grid-row:1!important;display:flex!important;justify-content:flex-start!important;align-content:center!important;flex-wrap:wrap!important;gap:8px 13px!important;min-width:0!important}
 .ag-header .ag-brand{grid-column:2!important;grid-row:1!important;justify-self:center!important;min-width:0!important;flex-shrink:0!important}
 .ag-header .ag-brand img{width:clamp(85px,8vw,120px)!important;height:88px!important}
 .ag-header .ag-brand-text strong{font-size:clamp(22px,2vw,31px)!important}
 .ag-header .ag-brand-text small{font-size:10px!important;letter-spacing:3px!important}
 .ag-header .ag-header-topbar{grid-column:3!important;grid-row:1!important;position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:100%!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;gap:8px!important;margin:0!important;padding:0!important}
 .ag-header .ag-header-topbar>.ag-header-contacts{position:static!important;display:flex!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:5px 12px!important;margin:0!important}
 .ag-header .ag-header-topbar>.ag-language-switch{position:static!important;display:flex!important;justify-content:flex-end!important;margin:0!important}
 .ag-header .ag-nav>a{font-family:Montserrat,Arial,sans-serif!important;font-size:clamp(10px,.82vw,13px)!important;letter-spacing:.035em!important;text-transform:uppercase!important;font-weight:600!important;white-space:nowrap!important}
 .ag-header .ag-menu-toggle{display:none!important}
 body.ag-home,body:has(> .ag-header){padding-top:128px!important}html{scroll-padding-top:138px!important}
}
@media(min-width:781px) and (max-width:1100px){
 .ag-header .ag-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;min-height:110px!important;padding:8px 14px!important;gap:10px!important}
 .ag-header .ag-nav{grid-column:1!important;grid-row:1!important;display:flex!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:6px 9px!important}
 .ag-header .ag-brand{grid-column:2!important;grid-row:1!important;justify-self:center!important}
 .ag-header .ag-brand img{width:75px!important;height:72px!important}
 .ag-header .ag-brand-text strong{font-size:21px!important}.ag-header .ag-brand-text small{font-size:9px!important;letter-spacing:2px!important}
 .ag-header .ag-header-topbar{grid-column:3!important;grid-row:1!important;position:static!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:6px!important;margin:0!important;padding:0!important;width:auto!important}
 .ag-header .ag-header-topbar>.ag-header-contacts,.ag-header .ag-header-topbar>.ag-language-switch{position:static!important;margin:0!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:5px!important}
 .ag-header .ag-nav>a{font-family:Montserrat,Arial,sans-serif!important;font-size:10px!important;text-transform:uppercase!important;font-weight:600!important;white-space:nowrap!important}
 body.ag-home,body:has(> .ag-header){padding-top:110px!important}html{scroll-padding-top:120px!important}
}
@media(max-width:780px){
 .ag-header .ag-header-inner{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;grid-template-rows:auto auto!important;min-height:0!important;padding:8px 12px!important;gap:4px!important;align-items:center!important}
 .ag-header .ag-menu-toggle{grid-column:1!important;grid-row:1!important;display:block!important;justify-self:start!important;margin:0!important;z-index:2!important}
 .ag-header .ag-brand{grid-column:2!important;grid-row:1!important;justify-self:center!important;gap:5px!important;min-width:0!important}
 .ag-header .ag-brand img{width:58px!important;height:55px!important}.ag-header .ag-brand-text strong{font-size:clamp(16px,4vw,23px)!important}.ag-header .ag-brand-text small{font-size:8px!important;letter-spacing:1.5px!important}
 .ag-header .ag-header-topbar{grid-column:1 / -1!important;grid-row:2!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:5px 8px!important}
 .ag-header .ag-header-topbar>.ag-language-switch,.ag-header .ag-header-topbar>.ag-header-contacts{position:static!important;inset:auto!important;margin:0!important;transform:none!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px 8px!important}
 .ag-header .ag-header-contacts a{font-size:11px!important}
 .ag-header .ag-nav{grid-column:1 / -1!important;grid-row:3!important;position:static!important;display:none!important;width:100%!important;padding:6px 0 10px!important;max-height:55vh!important;overflow-y:auto!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}
 .ag-header .ag-nav.open,.ag-header:has(.ag-menu-toggle[aria-expanded="true"]) .ag-nav{display:flex!important}
 .ag-header .ag-nav>a{font-family:Montserrat,Arial,sans-serif!important;text-transform:uppercase!important;font-weight:600!important;font-size:13px!important;padding:9px 8px!important}
 body.ag-home,body:has(> .ag-header){padding-top:112px!important}html{scroll-padding-top:122px!important}
}
/* Homepage: image on the left, text on the right for both highlight cards. */
.ag-home .ag-home-highlights .ag-home-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(16px,2.5vw,34px)!important}
.ag-home .ag-home-highlights .ag-home-columns>article{display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,1fr)!important;grid-template-rows:auto auto 1fr auto!important;column-gap:18px!important;align-items:start!important;min-width:0!important}
.ag-home .ag-home-highlights .ag-home-columns>article>img{grid-column:1!important;grid-row:1 / 5!important;width:100%!important;height:100%!important;min-height:155px!important;max-height:260px!important;object-fit:cover!important}
.ag-home .ag-home-highlights .ag-home-columns>article>h2,.ag-home .ag-home-highlights .ag-home-columns>article>p,.ag-home .ag-home-highlights .ag-home-columns>article>a{grid-column:2!important;margin-top:0!important;min-width:0!important}
@media(max-width:850px){.ag-home .ag-home-highlights .ag-home-columns{grid-template-columns:1fr!important}}
@media(max-width:420px){.ag-home .ag-home-highlights .ag-home-columns>article{grid-template-columns:40% minmax(0,1fr)!important;column-gap:12px!important}.ag-home .ag-home-highlights .ag-home-columns>article>img{min-height:130px!important}.ag-home .ag-home-highlights .ag-home-columns>article>h2{font-size:18px!important}.ag-home .ag-home-highlights .ag-home-columns>article>p{font-size:13px!important}}

/* V94: symmetric three-part header, left languages and right telephones */
.ag-services-extra-links{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:20px auto 36px;padding:0 16px}
.ag-services-extra-links a{display:inline-flex;padding:11px 20px;border:1px solid #b68b70;border-radius:9px;color:#743e2c;background:white;text-decoration:none;font-weight:700;box-shadow:0 2px 7px rgba(60,40,30,.08)}
.ag-services-extra-links a:hover{background:#f6eee8}
.ag-header .ag-nav-v94 .ag-nav-links{display:flex;gap:clamp(10px,1.2vw,24px);align-items:center;flex-wrap:nowrap}
.ag-header .ag-nav-v94 .ag-nav-links>a{font-family:Montserrat,Arial,sans-serif!important;text-transform:uppercase!important;font-weight:600!important;white-space:nowrap!important;font-size:clamp(10px,.85vw,13px)!important}
.ag-header .ag-nav-v94 .ag-nav-left,.ag-header .ag-nav-v94 .ag-nav-right{display:flex;flex-direction:column;gap:12px;min-width:0}
.ag-header .ag-nav-v94 .ag-nav-left{align-items:flex-start}
.ag-header .ag-nav-v94 .ag-nav-right{align-items:flex-end}
.ag-header .ag-nav-v94 .ag-language-switch{position:static!important;inset:auto!important;transform:none!important;margin:0!important;display:flex!important;justify-content:flex-start!important}
.ag-header .ag-nav-v94 .ag-header-contacts{position:static!important;inset:auto!important;transform:none!important;margin:0!important;display:flex!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:6px 12px!important}
@media(min-width:781px){
 .ag-header .ag-header-inner{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}
 .ag-header .ag-nav-v94{grid-column:1 / -1!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;width:100%!important;pointer-events:none!important}
 .ag-header .ag-nav-v94>.ag-nav-left{grid-column:1!important;pointer-events:auto!important}
 .ag-header .ag-nav-v94>.ag-nav-right{grid-column:3!important;pointer-events:auto!important}
 .ag-header .ag-brand{grid-column:2!important;grid-row:1!important;z-index:2!important}
}
@media(max-width:1100px) and (min-width:781px){
 .ag-header .ag-nav-v94 .ag-nav-links{gap:7px!important}
 .ag-header .ag-nav-v94 .ag-nav-links>a{font-size:9px!important}
 .ag-header .ag-nav-v94 .ag-header-contacts a{font-size:10px!important}
}
@media(max-width:780px){
 .ag-header .ag-nav-v94{grid-column:1 / -1!important;grid-row:3!important;display:none!important;position:static!important;width:100%!important;max-height:65vh!important;overflow-y:auto!important;flex-direction:column!important;gap:12px!important;padding:12px 6px!important}
 .ag-header .ag-nav-v94.open,.ag-header:has(.ag-menu-toggle[aria-expanded="true"]) .ag-nav-v94{display:flex!important}
 .ag-header .ag-nav-v94 .ag-nav-left,.ag-header .ag-nav-v94 .ag-nav-right{align-items:stretch!important;width:100%!important}
 .ag-header .ag-nav-v94 .ag-nav-links{flex-direction:column!important;align-items:stretch!important;gap:0!important}
 .ag-header .ag-nav-v94 .ag-nav-links>a{padding:9px 8px!important;font-size:13px!important}
 .ag-header .ag-nav-v94 .ag-language-switch{justify-content:flex-start!important;padding:6px 8px!important}
 .ag-header .ag-nav-v94 .ag-header-contacts{justify-content:flex-start!important;padding:6px 8px!important}
 .ag-header .ag-header-inner{grid-template-rows:auto auto!important}
 body.ag-home,body:has(> .ag-header){padding-top:95px!important}
}
