/* Shared DE/RU site shell. */
.rib-shell-header{
  position:relative;
  z-index:100;
  background:#fff;
  border-bottom:1px solid var(--rib-line);
}
.rib-shell-inner,
.rib-shell-footer-grid,
.rib-shell-copy{
  width:min(var(--rib-max),calc(100% - (2 * var(--rib-gutter))));
  margin-left:auto;
  margin-right:auto;
}
.rib-shell-inner{
  min-height:var(--rib-header-height);
  display:flex;
  align-items:center;
  gap:22px;
}
.rib-shell-logo{display:flex;align-items:center;flex:0 0 auto}
.rib-shell-logo img{display:block;width:158px;max-height:50px;object-fit:contain}
.rib-shell-nav{display:flex;align-items:center;gap:18px;margin-left:auto}
.rib-shell-nav>a,
.rib-shell-services>summary{
  color:var(--rib-ink)!important;
  font-size:14px;
  line-height:1.2;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.rib-shell-nav>a:hover,
.rib-shell-nav>a:focus,
.rib-shell-services>summary:hover,
.rib-shell-services>summary:focus{color:var(--rib-accent-dark)!important}
.rib-shell-services{position:relative}
.rib-shell-services>summary{list-style:none;cursor:pointer;padding:12px 0}
.rib-shell-services>summary::-webkit-details-marker{display:none}
.rib-shell-services>summary::after{content:"⌄";margin-left:6px;font-size:12px}
.rib-shell-dropdown{
  position:absolute;
  top:calc(100% + 8px);
  left:-16px;
  z-index:120;
  min-width:250px;
  padding:8px 0;
  background:#fff;
  border:1px solid var(--rib-line);
  box-shadow:0 16px 36px rgba(0,0,0,.12);
}
.rib-shell-dropdown a{
  display:block;
  padding:11px 16px;
  color:var(--rib-ink)!important;
  font-size:14px;
  line-height:1.3;
  font-weight:650;
  text-decoration:none;
}
.rib-shell-dropdown a:hover,.rib-shell-dropdown a:focus{background:var(--rib-soft)}
.rib-lang-switch{font-weight:800!important}
.rib-shell-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 15px;
  background:var(--rib-action);
  color:#fff!important;
  font-size:13px;
  line-height:1.2;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
.rib-shell-cta:hover,.rib-shell-cta:focus{background:var(--rib-action-hover);color:#fff!important}
.rib-shell-mobile-menu{display:none;position:relative;margin-left:auto}
.rib-shell-mobile-menu>summary{
  list-style:none;
  width:46px;
  height:46px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  cursor:pointer;
}
.rib-shell-mobile-menu>summary::-webkit-details-marker{display:none}
.rib-shell-mobile-menu>summary span{width:24px;height:2px;background:var(--rib-ink);transition:.18s ease}
.rib-shell-mobile-menu[open]>summary span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.rib-shell-mobile-menu[open]>summary span:nth-child(2){opacity:0}
.rib-shell-mobile-menu[open]>summary span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.rib-shell-mobile-panel{
  position:absolute;
  top:52px;
  right:0;
  z-index:130;
  width:min(360px,calc(100vw - (2 * var(--rib-gutter))));
  max-height:calc(100vh - 90px);
  overflow:auto;
  background:#fff;
  border:1px solid var(--rib-line);
  box-shadow:0 18px 40px rgba(0,0,0,.14);
  padding:6px 0;
}
.rib-shell-mobile-panel a{
  display:block;
  padding:12px 18px;
  border-bottom:1px solid #eee;
  color:var(--rib-ink)!important;
  font-size:16px;
  line-height:1.3;
  font-weight:700;
  text-decoration:none;
}
.rib-shell-mobile-panel a:last-child{border-bottom:0}
.rib-shell-mobile-panel a:hover,.rib-shell-mobile-panel a:focus{background:var(--rib-soft)}
.rib-shell-header :focus-visible,.rib-shell-footer :focus-visible,.rib-mobile-actions :focus-visible{
  outline:3px solid #111;
  outline-offset:3px;
}
.rib-shell-footer{background:var(--rib-footer-bg);color:#fff;padding:52px 0 20px}
.rib-shell-footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr .8fr;gap:44px}
.rib-shell-footer img{display:block;width:142px;margin:0 0 14px}
.rib-shell-footer p{max-width:320px;margin:0;color:#bdbdbd;font-size:14px;line-height:1.55}
.rib-shell-footer b{display:block;margin-bottom:12px;font-size:14px}
.rib-shell-footer a{display:block;margin:7px 0;color:#d0d0d0!important;font-size:14px;line-height:1.4;text-decoration:none}
.rib-shell-footer a:hover,.rib-shell-footer a:focus{color:#fff!important;text-decoration:underline}
.rib-shell-copy{margin-top:34px;padding-top:16px;border-top:1px solid #343434;color:#929292;font-size:12px}

@media(max-width:1024px){
  .rib-shell-inner{min-height:72px}
  .rib-shell-logo img{width:132px;max-height:44px}
  .rib-shell-nav,.rib-shell-cta{display:none}
  .rib-shell-mobile-menu{display:block}
}
@media(max-width:900px){
  .rib-shell-footer-grid{grid-template-columns:1fr 1fr;gap:34px 48px}
}
@media(max-width:600px){
  .rib-shell-footer{padding:38px 0 18px}
  .rib-shell-footer-grid{grid-template-columns:1fr;gap:26px}
  .rib-shell-copy{margin-top:26px}
  .rib-shell-footer img{width:122px}
}

/* Shared quick-contact component. */
.rib-mobile-actions{display:none}
@media(max-width:767px){
  .rib-mobile-actions{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    width:100%;
    min-height:58px;
    background:var(--rib-action);
    border-top:1px solid rgba(255,255,255,.22);
    border-bottom:1px solid rgba(0,0,0,.08);
  }
  .rib-mobile-actions a{
    min-height:58px;
    display:flex;
    flex-direction:column;
    gap:3px;
    align-items:center;
    justify-content:center;
    color:#fff!important;
    border-right:1px solid rgba(255,255,255,.22);
    font-size:11px;
    line-height:1.1;
    font-weight:700;
    text-align:center;
  }
  .rib-mobile-actions a:last-child{border-right:0}
  .rib-mobile-actions span{
    display:block;
    color:#fff!important;
    white-space:nowrap;
  }
}

/* Contact form component. */
.page-id-174 .elementor-174,
.page-id-1277 .elementor-1277{
  max-width:860px;
  margin:0 auto;
}
.page-id-174 .wpcf7-form,
.page-id-1277 .wpcf7-form{
  width:100%;
  max-width:100%;
}
.page-id-174 .wpcf7 input[type="text"],
.page-id-174 .wpcf7 input[type="email"],
.page-id-174 .wpcf7 input[type="file"],
.page-id-174 .wpcf7 textarea,
.page-id-1277 .wpcf7 input[type="text"],
.page-id-1277 .wpcf7 input[type="email"],
.page-id-1277 .wpcf7 input[type="file"],
.page-id-1277 .wpcf7 textarea{
  box-sizing:border-box;
  max-width:100%!important;
}
.page-id-174 .wpcf7 input[type="submit"],
.page-id-1277 .wpcf7 input[type="submit"]{
  background:var(--rib-action)!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-weight:700!important;
}
.page-id-174 .wpcf7 input[type="file"]::file-selector-button,
.page-id-1277 .wpcf7 input[type="file"]::file-selector-button{
  min-height:44px;
  padding:9px 14px;
  margin-right:10px;
  border:1px solid #b9bec5;
  background:#fff;
  color:#222;
  border-radius:2px;
}

@media(max-width:767px){
  .page-id-174 .elementor-section,
  .page-id-1277 .elementor-section{background:#fff!important}
  .page-id-174 .elementor-174,
  .page-id-1277 .elementor-1277{
    padding:28px var(--rib-gutter) 44px!important;
  }
  .page-id-174 .wpcf7-form p,
  .page-id-1277 .wpcf7-form p{
    margin:0 0 18px!important;
    font-size:16px!important;
    line-height:1.45!important;
  }
  .page-id-174 .wpcf7 input[type="text"],
  .page-id-174 .wpcf7 input[type="email"],
  .page-id-1277 .wpcf7 input[type="text"],
  .page-id-1277 .wpcf7 input[type="email"]{
    display:block;
    width:100%!important;
    height:48px!important;
    padding:8px 10px!important;
    font-size:16px!important;
  }
  .page-id-174 .wpcf7 textarea,
  .page-id-1277 .wpcf7 textarea{
    display:block;
    width:100%!important;
    height:140px!important;
    min-height:140px!important;
    padding:10px!important;
    font-size:16px!important;
    resize:vertical;
  }
  .page-id-174 .wpcf7 input[type="file"],
  .page-id-1277 .wpcf7 input[type="file"]{
    display:block;
    width:100%!important;
    font-size:14px!important;
  }
  .page-id-174 .wpcf7 input[type="submit"],
  .page-id-1277 .wpcf7 input[type="submit"]{
    min-width:140px;
    padding:12px 22px!important;
    font-size:17px!important;
  }
}

/* One vector icon system for quick-contact buttons on every page. */
@media(max-width:767px){
  .rib-mobile-actions svg{display:none!important}
  .rib-mobile-actions a::before{
    content:"";
    display:block;
    width:23px;
    height:23px;
    flex:0 0 23px;
    margin:0 0 4px;
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
  }
  .rib-mobile-actions .rib-action-phone::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.69 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.28-1.28a2 2 0 0 1 2.11-.45c.9.33 1.84.56 2.8.69A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  }
  .rib-mobile-actions .rib-action-whatsapp::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8z'/%3E%3Cpath d='M9.3 8.7c.3 2.1 1.9 3.8 4 4.3'/%3E%3C/svg%3E");
  }
  .rib-mobile-actions .rib-action-map::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
  }
  .rib-mobile-actions .rib-action-mail::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='1'/%3E%3Cpath d='m3.5 6 8.5 7 8.5-7'/%3E%3C/svg%3E");
  }
}

/* 2026-10-01 — align quick-contact breakpoint with the mobile/tablet header. */
@media(min-width:768px) and (max-width:1024px){
  .rib-mobile-actions{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    width:100%;
    min-height:58px;
    background:var(--rib-action);
    border-top:1px solid rgba(255,255,255,.22);
    border-bottom:1px solid rgba(0,0,0,.08);
  }
  .rib-mobile-actions a{
    min-height:58px;
    display:flex;
    flex-direction:column;
    gap:3px;
    align-items:center;
    justify-content:center;
    color:#fff!important;
    border-right:1px solid rgba(255,255,255,.22);
    font-size:11px;
    line-height:1.1;
    font-weight:700;
    text-align:center;
  }
  .rib-mobile-actions a:last-child{border-right:0}
  .rib-mobile-actions span{display:block;color:#fff!important;white-space:nowrap}
  .rib-mobile-actions a::before{
    content:"";
    display:block;
    width:23px;
    height:23px;
    flex:0 0 23px;
    margin:0 0 4px;
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
  }
  .rib-mobile-actions .rib-action-phone::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.69 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.28-1.28a2 2 0 0 1 2.11-.45c.9.33 1.84.56 2.8.69A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  }
  .rib-mobile-actions .rib-action-whatsapp::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8z'/%3E%3Cpath d='M9.3 8.7c.3 2.1 1.9 3.8 4 4.3'/%3E%3C/svg%3E");
  }
  .rib-mobile-actions .rib-action-map::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
  }
  .rib-mobile-actions .rib-action-mail::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='1'/%3E%3Cpath d='m3.5 6 8.5 7 8.5-7'/%3E%3C/svg%3E");
  }
}
