/* Volas legacy appearance, rebuilt for Joomla 6 / Cassiopeia.
   Main-page layout is scoped to the dedicated installed menu item and wrapper. */
:root{--volas-navy:#18313f;--volas-white:#fff;--volas-accent:#4d5d83;--volas-gold:#e6bd65;--volas-serif:Georgia,"Times New Roman",serif}
body.site .container-header{position:relative;z-index:15;background:var(--volas-navy);background-image:none;color:var(--volas-white)}
body.site .container-header>.grid-child{width:min(84%,1400px);max-width:none;margin:0 auto}
body.site .container-header .navbar-brand{padding:12px 0;margin:0}
body.site .container-header .navbar-brand img{width:clamp(150px,18vw,231px);height:auto;max-height:92px;object-fit:contain;display:block}
body.site .container-header .navbar-brand a,
body.site .container-header .mod-menu a,
body.site .container-header .mod-menu button,
body.site .container-header .navbar-toggler{color:#fff}
body.site .container-header .navbar-toggler{border:1px solid #fff;min-height:44px;min-width:44px}
body.site .container-header .mod-menu a:focus-visible,
body.site .container-header .mod-menu button:focus-visible,
body.site .container-header .navbar-toggler:focus-visible,
.volas-restored-home a:focus-visible{outline:3px solid var(--volas-gold);outline-offset:4px}
body.site .container-footer{background:#171b1e;background-image:none;color:#fff}
body.site .container-footer a{color:inherit}
body.site .container-footer>.grid-child{width:min(92%,1320px);max-width:none;margin:auto;padding:32px 0}
.volas-restored-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;line-height:1.55}
.volas-restored-footer ul{margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 22px;list-style:none}

body.itemid-109:has(.volas-restored-home) .site-grid{display:block}
body.itemid-109:has(.volas-restored-home) .container-component,
body.itemid-109:has(.volas-restored-home) .container-component>main,
body.itemid-109:has(.volas-restored-home) .com-content-article,
body.itemid-109:has(.volas-restored-home) .com-content-article__body{width:100%;max-width:none;margin:0;padding:0;min-width:0}
body.itemid-109:has(.volas-restored-home) .com-content-article>.page-header,
body.itemid-109:has(.volas-restored-home) .container-component>main>.page-header{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0
}
.volas-restored-home{background:#fff;color:#252525;line-height:1.6;overflow-wrap:break-word}
.volas-restored-home img{display:block;max-width:100%}
.volas-restored-home :is(h2,h3){font-family:var(--volas-serif);line-height:1.1}
.volas-restored-hero{position:relative;isolation:isolate;display:grid;place-items:center;min-height:610px;min-height:clamp(610px,88svh,850px);background:var(--volas-navy);color:#fff;text-align:center;overflow:hidden}
.volas-restored-hero__slides{position:absolute;inset:0;display:flex;overflow:auto hidden;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.volas-restored-hero__slides::-webkit-scrollbar{display:none}
.volas-restored-hero__slide{position:relative;flex:0 0 100%;width:100%;height:100%;margin:0;scroll-snap-align:start}
.volas-restored-hero__slide::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#101b2d85,#1121368f)}
.volas-restored-hero__slide img{width:100%;height:100%;object-fit:cover;object-position:center}
.volas-restored-hero__body{position:relative;z-index:2;max-width:min(100%,1000px);padding:130px 28px 90px;pointer-events:none}
.volas-restored-hero__body h2{color:inherit;font-size:clamp(32px,4.7vw,64px);font-weight:400;margin:0 0 23px;text-wrap:balance;text-shadow:0 2px 8px #0007}
.volas-restored-hero__body p{font-size:clamp(16px,1.5vw,20px);max-width:66ch;margin:0 auto 24px;text-shadow:0 2px 6px #0009}
.volas-restored-hero__body a{pointer-events:auto;color:#fff}
.volas-restored-hero__action{display:inline-flex;align-items:center;min-height:44px;padding:8px 24px;border:1px solid currentColor;text-decoration:none;background:#18313f91}
.volas-restored-hero__action:hover{background:var(--volas-navy)}
.volas-restored-hero__controls{position:absolute;z-index:3;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:9px}
.volas-restored-hero__controls a{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #fff;color:#fff;text-decoration:none;background:#18313fb8;border-radius:50%}
.volas-restored-hero__controls a:hover,.volas-restored-hero__controls a:focus-visible{background:#fff;color:var(--volas-navy)}
.volas-restored-services{width:100%;background:#fff}
.volas-restored-service{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:350px}
.volas-restored-service:nth-of-type(even) .volas-restored-service__photo{order:2}
.volas-restored-service__photo{display:block;min-width:0;min-height:350px}
.volas-restored-service__photo img{width:100%;height:100%;max-height:510px;min-height:350px;object-fit:cover}
.volas-restored-service__body{min-width:0;align-self:center;padding:clamp(28px,5.5vw,90px)}
.volas-restored-service__body h3{font-size:clamp(27px,3.25vw,47px);font-weight:400;margin:0 0 22px;color:#111}
.volas-restored-service__body h3 a{color:inherit;text-decoration:none}
.volas-restored-service__body h3 a:hover{text-decoration:underline}
.volas-restored-service__body p{margin:18px 0;color:#333;max-width:60ch}
.volas-restored-service__rule{display:block;width:52px;height:4px;background:var(--volas-accent)}
.volas-restored-service__more,.volas-restored-projects__more,.volas-restored-about a{color:#18313f;text-underline-offset:.22em;font-weight:600}
.volas-restored-projects,.volas-restored-about,.volas-restored-partners{padding:clamp(38px,6vw,78px) max(20px,7vw)}
.volas-restored-projects h2,.volas-restored-about h2,.volas-restored-partners h2{font-size:clamp(32px,4vw,52px);font-weight:400;margin:0 0 26px}
.volas-restored-projects__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(11px,1.7vw,25px);list-style:none;margin:0 0 28px;padding:0}
.volas-restored-projects__grid li{min-width:0}
.volas-restored-projects__grid a{display:block;position:relative;color:#fff;isolation:isolate;background:#18313f;text-decoration:none;overflow:hidden}
.volas-restored-projects__grid a::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(transparent 28%,#000c);pointer-events:none}
.volas-restored-projects__grid a:hover img{filter:brightness(1.14)}
.volas-restored-projects__grid img{width:100%;height:clamp(150px,19vw,285px);object-fit:cover}
.volas-restored-projects__grid span{position:absolute;z-index:2;bottom:0;left:0;right:0;padding:16px;font-weight:700;line-height:1.3;text-shadow:0 1px 3px #000}
.volas-restored-partners{background:#f0f2f3;text-align:center}
.volas-restored-partners ul{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:clamp(14px,2vw,30px);list-style:none;padding:0;margin:0}
.volas-restored-partners img{width:100%;max-width:155px;max-height:95px;object-fit:contain;margin:auto}
.volas-restored-about{max-width:1300px;margin:0 auto;text-align:center}
.volas-restored-about p{max-width:72ch;margin:0 auto 20px}
.volas-restored-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

@media(min-width:992px){
  body.site .container-header{display:flex;align-items:center;justify-content:space-between;padding:0 8%;gap:clamp(24px,4vw,80px);flex-wrap:nowrap}
  body.site .container-header>.grid-child{width:auto;margin:0;padding:0}
  body.site .container-header>.container-nav{flex:1 1 auto;min-width:0;justify-content:flex-end}
  body.site .container-header .mod-menu{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px clamp(16px,2vw,35px)}
  body.site .container-header .mod-menu>li>a,body.site .container-header .mod-menu>li>button{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.035em;color:#fff}
  body.site .container-header .mod-menu ul,body.site .container-header .metismenu.mod-menu .metismenu-item>ul{background:var(--volas-navy);min-width:220px;z-index:25}
  body.site .container-header .mod-menu ul a{color:#fff}
  body.itemid-109:has(.volas-restored-home) .container-header{position:absolute;inset:0 0 auto;padding-top:10px;background:linear-gradient(#142630a5,transparent)}
}
@media(max-width:991px){
  body.site .container-header>.grid-child{width:90%}
  body.site .container-header .navbar-brand img{width:150px;max-height:60px}
  body.site .container-header .container-nav{padding:0 0 10px}
  body.site .container-header .navbar-collapse.show{background:var(--volas-navy);max-height:70dvh;overflow:auto}
  .volas-restored-hero{min-height:560px;min-height:clamp(485px,74svh,680px)}
  .volas-restored-hero__body{padding:70px 24px 90px}
  .volas-restored-projects__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .volas-restored-projects__grid img{height:clamp(150px,26vw,260px)}
  .volas-restored-partners ul{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  .volas-restored-service{grid-template-columns:minmax(0,1fr)}
  .volas-restored-service:nth-of-type(even) .volas-restored-service__photo{order:0}
  .volas-restored-service__photo,.volas-restored-service__photo img{height:clamp(220px,62vw,365px);min-height:0}
  .volas-restored-projects__grid span{padding:12px;font-size:14px}
}
@media(max-width:359px){
  .volas-restored-projects__grid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:no-preference){
  .volas-restored-hero__slides{scroll-behavior:smooth}
}
