@media (hover: hover) and (pointer: fine) {

    .services-part-left a.hover,
    .services-part-right a.hover {
        color: #009ADA !important;
    }

}

.lottie {
  transform-origin: center center;
  will-change: transform;
}

.location-block-l, .location-block-r { 
  transform: translateX(var(--tx, 0px)); 
  will-change: transform; 
}

.city-line, .address-line, .phone-line {
  transform-origin: center center;
  will-change: transform;
}

/* Tablet portrait */
@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 481px) and (max-width: 768px) and (min-height: 800px) and (orientation: portrait) {
  .tablet-notch-menu {
    margin-top: var(--notch-mt, -30px) !important;
  }

  .tablet-notch-menu .ba-btn-transition {
    transform: scale(var(--notch-scale, 0.45));
    transform-origin: center center;
  }
}

/* Phone landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape) {
  .tablet-notch-menu {
    margin-top: var(--notch-mt, -10px) !important;
  }

  .tablet-notch-menu .ba-btn-transition {
    transform: scale(var(--notch-scale, 0.45));
    transform-origin: center center;
  }
}


@media (max-width: 1440px) {
  .Header .ba-grid-column-wrapper.ba-col-4 {
    width: auto !important;
    flex: 0 0 auto;
  }

  #item-1755693296481 {
    max-width: 360px;
  }
}

@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 481px) and (max-width: 768px) and (min-height: 800px) and (orientation: portrait) {
  #item-1755693296481 {
    width: 100% ;
    max-width: none ;
  }
}

/* Секция — якорь по смыслу: без overflow, чтобы sticky не ломался */
#item-1757416108673 { position: relative; }

/* 1) Схлопываем сам Custom HTML-айтем */
#item-1757846760547.ba-item-custom-html {
  min-height: 0;
  height: 0;
  padding: 0;
  margin: 0;
}

/* 2) На всякий случай снимаем «минималку» с колонки, если там и висит 50px */
#item-1757933513843.ba-grid-column {
  min-height: 0;
}

/* 3) Если и row даёт «подпорку», снимем и там */
#item-1757933513842.ba-row {
  min-height: 0;
}

/* Обёртка дождя: делаем её “слоем” поверх вьюпорта, клики не перехватывает.
   Точные top/height мы проставим из JS по высоте секции. */
#services-pixel-rain-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

#services-canvas-rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}



/* === OUR SERVICES: pixel build + static canvas === */

/* Секция — якорь для абсолютных обёрток (full-bleed) */
.services-section{
  position: relative;
  overflow: visible;
}

/* FULL-BLEED холст «прилёта» (на всю ширину окна, по высоте секции) */
#services-pixel-build-wrap{
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  pointer-events: none;
  z-index: 2; /* ниже локального канваса в колонке */
}
#services-canvas-build{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; pointer-events: none;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: opacity 180ms ease;
}

/* Левая колонка — sticky + изолированный стек (чтобы z-index работал предсказуемо) */
.services-col{
  position: sticky;
  top: 0;
  align-self: flex-start;
  isolation: isolate; /* ключ */
  z-index: 0;
}

/* H2 ниже локального канваса */
.services-title{
  position: relative;
  z-index: 1;
}

.services-title,
.services-title .content-text,
.services-title h2 {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

#item-1757424154515{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: auto;
}
#item-1757424154515 .custom-html{
  position: absolute;
  inset: 0;
}

.tablet-center-logo {
  transform: scale(var(--scale, 1));
  transform-origin: center center;
  will-change: transform;
}

/* Локальный канвас — статичная «собранная» надпись поверх H2 */
#services-canvas{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; pointer-events: none;
  z-index: auto;               /* выше H2 (z=1) и full-bleed (z=2) */
  opacity: 0;                 /* по умолчанию скрыт — покажем из JS */
  transition: opacity 180ms ease;
}

/* временно убираем плавность в момент свитча, чтобы не было "блика" */
.services-section.pixel-build--switching #services-canvas-build,
.services-section.pixel-build--switching #services-canvas {
  transition: none;
}

.services-btn {
  visibility: hidden;   /* по умолчанию спрятана */
  opacity: 0;           /* плавный fade при появлении */
  transition: opacity 250ms ease;
}
.services-btn.is-visible {
  visibility: visible;
  opacity: 1;
}


/* ============================================================
   === BASE GEOMETRY & COMMON SETTINGS ========================
   ============================================================ */
.service-card {
  --screw-url: url("/images/Bavarian/screw.webp");
  position: relative;
  display: block;
}
.service-card .ba-flipbox-wrapper {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.service-card .ba-flipbox-frontside,
.service-card .ba-flipbox-backside {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}
.service-card .ba-flipbox-frontside .ba-col-12,
.service-card .ba-flipbox-backside .ba-col-12,
.service-card .ba-flipbox-frontside .ba-grid-column,
.service-card .ba-flipbox-backside .ba-grid-column,
.service-card .ba-flipbox-frontside .column-wrapper,
.service-card .ba-flipbox-backside .column-wrapper {
  height: 100%;
}
.service-card .ba-flipbox-frontside .ba-overlay,
.service-card .ba-flipbox-backside .ba-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ============================================================
   === CARD WITH 2 SCREWS (side screws, centered vertically) ===
   ============================================================ */
.service-card.card-2screws{
  --screw-size: 60px;
  --hole-size: 30px;
  --screw-offset-front: 16px;
  --screw-offset-back: 26px;
  --spin-deg: -780deg;
  --spin-time: 1000ms;
}
/* Laptop */
@media (max-width: 1440px){
  .service-card.card-2screws{
    --screw-size: 56px;
    --hole-size: 28px;
    --screw-offset-front: 15px;
    --screw-offset-back: 24px;
  }
}
/* Tablet Landscape */
@media (max-width: 1280px){
  .service-card.card-2screws{
    --screw-size: 52px;
    --hole-size: 26px;
    --screw-offset-front: 14px;
    --screw-offset-back: 22px;
  }
}
/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 481px) and (max-width: 768px) and (min-height: 800px) and (orientation: portrait){
  .service-card.card-2screws{
    --screw-size: 52px;
    --hole-size: 26px;
    --screw-offset-front: 14px;
    --screw-offset-back: 22px;
  }
}
/* Phone Landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape){
  .service-card.card-2screws{
    --screw-size: 40px;
    --hole-size: 20px;
    --screw-offset-front: 10px;
    --screw-offset-back: 20px;
  }
}
/* Phone Portrait */
@media (max-width: 480px){
  .service-card.card-2screws{
    --screw-size: 40px;
    --hole-size: 20px;
    --screw-offset-front: 10px;
    --screw-offset-back: 20px;
  }
}

/* FRONT — 2 винта по бокам, по центру */
.service-card.card-2screws .ba-flipbox-frontside .ba-grid-column{
  position: relative;
}
.service-card.card-2screws .ba-flipbox-frontside .ba-grid-column::before,
.service-card.card-2screws .ba-flipbox-frontside .ba-grid-column::after{
  content:"";
  position:absolute;
  width:var(--screw-size); height:var(--screw-size);
  background:var(--screw-url) no-repeat center/contain;
  top:50%; transform:translateY(-50%);
  z-index:3; pointer-events:none;
  transition:transform var(--spin-time) ease, opacity var(--spin-time) ease;
}
.service-card.card-2screws .ba-flipbox-frontside .ba-grid-column::before{left:var(--screw-offset-front);}
.service-card.card-2screws .ba-flipbox-frontside .ba-grid-column::after{right:var(--screw-offset-front);}

/* hover: выкрутить и скрыть */
.service-card.card-2screws:hover .ba-flipbox-frontside .ba-grid-column::before,
.service-card.card-2screws:hover .ba-flipbox-frontside .ba-grid-column::after{
  transform:translateY(-50%) rotate(var(--spin-deg));
  opacity:0;
}

/* BACK — отверстия на тех же местах */
.service-card.card-2screws .ba-flipbox-backside .ba-grid-column{
  position:relative;
  padding-right:calc(var(--screw-offset-back) + var(--hole-size) + 3px)!important;
  padding-left:calc(var(--screw-offset-back) + var(--hole-size) + 3px)!important;
}
.service-card.card-2screws .ba-flipbox-backside .ba-grid-column::before,
.service-card.card-2screws .ba-flipbox-backside .ba-grid-column::after{
  content:"";
  position:absolute;
  width:var(--hole-size); height:var(--hole-size);
  top:50%; transform:translateY(-50%);
  border-radius:50%; z-index:3; pointer-events:none;
  background:
    radial-gradient(closest-side,rgba(255,255,255,0.98)70%,rgba(255,255,255,0)72%),
    radial-gradient(closest-side,rgba(255,255,255,0.35),rgba(255,255,255,0)60%);
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.35));
}
.service-card.card-2screws .ba-flipbox-backside .ba-grid-column::before{left:var(--screw-offset-back);}
.service-card.card-2screws .ba-flipbox-backside .ba-grid-column::after{right:var(--screw-offset-back);}

/* ============================================================
   === CARD WITH 4 SCREWS (по углам) ===========================
   ============================================================ */
.service-card.card-4screws{
  --screw-size: 60px;
  --hole-size: 30px;
  --screw-offset-front: 16px;
  --screw-offset-back: 28px;
  --spin-deg: -780deg;
  --spin-time: 1000ms;
}
/* Laptop */
@media (max-width: 1440px){
  .service-card.card-4screws{
    --screw-size: 56px;
    --hole-size: 28px;
    --screw-offset-front: 15px;
    --screw-offset-back: 24px;
  }
}
/* Tablet Landscape */
@media (max-width: 1280px){
  .service-card.card-4screws{
    --screw-size: 52px;
    --hole-size: 26px;
    --screw-offset-front: 14px;
    --screw-offset-back: 22px;
  }
}
/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 481px) and (max-width: 768px) and (min-height: 800px) and (orientation: portrait){
  .service-card.card-4screws{
    --screw-size: 52px;
    --hole-size: 26px;
    --screw-offset-front: 14px;
    --screw-offset-back: 22px;
  }
}
/* Phone Landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape){
  .service-card.card-4screws{
    --screw-size: 40px;
    --hole-size: 20px;
    --screw-offset-front: 16px;
    --screw-offset-back: 24px;
  }
}
/* Phone Portrait */
@media (max-width: 480px){
  .service-card.card-4screws{
    --screw-size: 40px;
    --hole-size: 20px;
    --screw-offset-front: 16px;
    --screw-offset-back: 24px;
  }
}

/* FRONT — 4 винта (2 верх, 2 низ) */
.service-card.card-4screws .ba-flipbox-frontside .ba-grid-column::before,
.service-card.card-4screws .ba-flipbox-frontside .ba-grid-column::after,
.service-card.card-4screws .ba-flipbox-frontside .ba-overlay::before,
.service-card.card-4screws .ba-flipbox-frontside .ba-overlay::after{
  content:"";
  position:absolute;
  width:var(--screw-size); height:var(--screw-size);
  background:var(--screw-url) no-repeat center/contain;
  pointer-events:none; z-index:5;
  transform-origin:50% 50%;
  transition:transform var(--spin-time) ease, opacity var(--spin-time) ease;
  opacity:1;
}
.service-card.card-4screws .ba-flipbox-frontside .ba-grid-column::before{top:var(--screw-offset-front);left:var(--screw-offset-front);}
.service-card.card-4screws .ba-flipbox-frontside .ba-grid-column::after {top:var(--screw-offset-front);right:var(--screw-offset-front);}
.service-card.card-4screws .ba-flipbox-frontside .ba-overlay::before{bottom:var(--screw-offset-front);left:var(--screw-offset-front);}
.service-card.card-4screws .ba-flipbox-frontside .ba-overlay::after {bottom:var(--screw-offset-front);right:var(--screw-offset-front);}

/* hover — выкрутить и спрятать */
.service-card.card-4screws:hover .ba-flipbox-frontside .ba-grid-column::before,
.service-card.card-4screws:hover .ba-flipbox-frontside .ba-grid-column::after,
.service-card.card-4screws:hover .ba-flipbox-frontside .ba-overlay::before,
.service-card.card-4screws:hover .ba-flipbox-frontside .ba-overlay::after{
  transform:rotate(var(--spin-deg));
  opacity:0;
}

/* BACK — 4 отверстия (2 верх + 2 низ) */
.service-card.card-4screws .ba-flipbox-backside .ba-grid-column::before,
.service-card.card-4screws .ba-flipbox-backside .ba-grid-column::after,
.service-card.card-4screws .ba-flipbox-backside .ba-overlay::before,
.service-card.card-4screws .ba-flipbox-backside .ba-overlay::after{
  content:"";
  position:absolute;
  width:var(--hole-size); height:var(--hole-size);
  pointer-events:none; z-index:5; border-radius:50%;
  background:
    radial-gradient(closest-side,rgba(255,255,255,0.98)70%,rgba(255,255,255,0)72%),
    radial-gradient(closest-side,rgba(255,255,255,0.35),rgba(255,255,255,0)60%);
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.35));
}
.service-card.card-4screws .ba-flipbox-backside .ba-grid-column::before{top:var(--screw-offset-back);left:var(--screw-offset-back);}
.service-card.card-4screws .ba-flipbox-backside .ba-grid-column::after {top:var(--screw-offset-back);right:var(--screw-offset-back);}
.service-card.card-4screws .ba-flipbox-backside .ba-overlay::before{bottom:var(--screw-offset-back);left:var(--screw-offset-back);}
.service-card.card-4screws .ba-flipbox-backside .ba-overlay::after {bottom:var(--screw-offset-back);right:var(--screw-offset-back);}
.service-card.card-4screws .ba-flipbox-backside .ba-grid-column{
  position:relative;
  padding-right:calc(var(--screw-offset-back) + var(--hole-size)*0.75)!important;
  padding-left:calc(var(--screw-offset-back) + var(--hole-size)*0.75)!important;
}




/* ============================================================
   === SERVICE-CARD FRAME (FRONT SIDE ONLY) ===================
   ============================================================ */

.service-card.card-frame{
  /* параметры рамки */
  --frame-inset: 8px;                   /* отступ рамки от края карточки */
  --frame-radius: 45px;                 /* скругление формы */
  --frame-width: 7px;                   /* толщина линии рамки */
  --frame-color: rgba(255,255,255,.92); /* цвет рамки */
  --frame-z: 4;                         /* ниже шурупов (z:5), выше контента */
  isolation: isolate;                   /* корректный стек z-index */
}
/* Laptop */
@media (max-width: 1440px){
  .service-card.card-frame{
    --frame-inset: 7px;
    --frame-width: 6px;
  }
}
/* Tablet Landscape */
@media (max-width: 1280px){
  .service-card.card-frame{
    --frame-inset: 7px;
    --frame-width: 6px;
  }
}
/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 481px) and (max-width: 768px) and (min-height: 800px) and (orientation: portrait){
  .service-card.card-frame{
    --frame-inset: 7px;
    --frame-width: 6px;
  }
}
/* Phone Landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape){
  .service-card.card-frame{
    --frame-inset: 6px;
    --frame-width: 5px;
  }
}
/* Phone Portrait */
@media (max-width: 480px){
  .service-card.card-frame{
    --frame-inset: 6px;
    --frame-width: 5px;
  }
}

/* FRONTSIDE — создаём якорь для рамки */
.service-card.card-frame .ba-flipbox-frontside .ba-grid-column-wrapper{
  position: relative;
  border-radius: var(--frame-radius);
  overflow: hidden; /* чистый край */
}

/* ===== РАМКА (внутренний контур) ===== */
.service-card.card-frame .ba-flipbox-frontside .ba-grid-column-wrapper::before{
  content: "";
  position: absolute;
  inset: var(--frame-inset);
  border: var(--frame-width) solid var(--frame-color);
  border-radius: calc(var(--frame-radius) - 2px);
  z-index: var(--frame-z);
  pointer-events: none;
  /* лёгкий металлический отблеск */
  box-shadow:
    0 0 1px rgba(255,255,255,0.35),
    inset 0 0 5px rgba(255,255,255,0.12);
}

/* ===== ВЕРХНИЙ БЛИК (опционально) ===== */
.service-card.card-frame .ba-flipbox-frontside .ba-grid-column-wrapper::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--frame-radius);
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0) 60%);
  z-index: calc(var(--frame-z) - 1);
  pointer-events: none;
}

/* ===== ОТКЛЮЧАЕМ РАМКУ НА ОБОРОТЕ ===== */
.service-card.card-frame .ba-flipbox-backside .ba-grid-column-wrapper::before,
.service-card.card-frame .ba-flipbox-backside .ba-grid-column-wrapper::after{
  content: none !important;
}

/* ===== ПЕРЕСТРАХОВКА ПРОТИВ "ОРЕОЛА" ===== */
.service-card .ba-flipbox-frontside,
.service-card .ba-flipbox-backside{
  outline: 1px solid rgba(0,0,0,0.001);
  will-change: transform;
  transform: translateZ(0);
}

/* 1) обе стороны — полностью перекрывают карточку, наследуют скругление, ничего не «светят» */
.service-card .ba-flipbox-frontside,
.service-card .ba-flipbox-backside{
  position: absolute;
  inset: 0;
  border-radius: var(--frame-radius, 45px);
  overflow: hidden;                       /* ← важен для чистого края */
  background: transparent !important;     /* ← глушим белый фон темы */
  box-shadow: none !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translateZ(0);
}



/* якорим wrapper и гарантируем порядок слоёв */
.ba-item-image.ba-item.chalk-png .ba-image-wrapper,
.ba-item-image.ba-item.chalk-stroke .ba-image-wrapper { position: relative; }
.ba-item-image.ba-item.chalk-png .ba-image-wrapper > img,
.ba-item-image.ba-item.chalk-stroke .ba-image-wrapper > img { display:block; width:100%; height:auto; position:relative; z-index:1; }
.ba-item-image.ba-item .ba-image-wrapper > canvas.chalk-mask { position:absolute; inset:0; z-index:5; pointer-events:none; }

#item-1762600395078.ba-item-button .ba-btn-transition i {
  display: inline-block;
  transition: transform 0.4s ease;
  transform: translateX(0);
}

/* При наведении — стрелка уезжает вправо */
#item-1762600395078.ba-item-button:hover .ba-btn-transition i {
  transform: translateX(30px);
}

.write-button .ba-btn-transition{
  border-radius: 20px 0 0 20px;
}
.read-button .ba-btn-transition{
  border-radius: 0 20px 20px 0;
}
/* Phone landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape) {
.write-button .ba-btn-transition{
  border-radius: 15px 0 0 15px;
}

.read-button .ba-btn-transition{
  border-radius: 0 15px 15px 0;
}
}

/* Phone Portrait */
@media (max-width: 480px) {
.write-button .ba-btn-transition{
  border-radius: 14px 0 0 14px;
}

.read-button .ba-btn-transition{
  border-radius: 0 14px 14px 0;
}
}

.logo-parent {
  position: relative;
}
.logo-white,
.logo-blue {
  position: absolute;
}
.logo-white { z-index: 1; }
.logo-blue  {
  z-index: 2;
  pointer-events: none;
}
.logo-white img,
.logo-blue img {
  display: block;
  transition: opacity 0.3s ease;
}
.logo-blue  img {
  opacity: 0;
}
.logo-white:hover img {
  opacity: 0;
}
.logo-white:hover + .logo-blue img {
  opacity: 1;
}

.ba-overlay-section-backdrop.lightbox {
  z-index: 999;
}
.ba-overlay-section-backdrop.lightbox .ba-wrapper.ba-overlay-section {
  z-index: 1000;
  position: relative;
}

.ba-item-reviews .ba-review-stars-wrapper:not(.logout-reviews-user) i.active,
.ba-item-reviews .ba-review-stars-wrapper:not(.logout-reviews-user) i.active:after,
.ba-item-reviews .ba-review-stars-wrapper:not(.logout-reviews-user) i.active + i:after,
.ba-item-reviews .ba-review-rate-wrapper .ba-review-stars-wrapper i.active:after {
    color: #009ADA !important;
}
.ba-item-reviews .ba-review-stars-wrapper i.active,
.ba-item-reviews .ba-review-stars-wrapper i.active:after,
.ba-item-reviews .ba-review-stars-wrapper i.active + i:after,
.ba-item-recent-reviews .ba-review-stars-wrapper i.active,
.ba-item-recent-reviews .ba-review-stars-wrapper i.active:after {
    color: #009ADA !important;
}

.ba-item-reviews .ba-review-rate-wrapper .ba-review-stars-wrapper i,
.ba-item-reviews .ba-review-rate-wrapper .ba-review-stars-wrapper i:after {
    color: #ddd !important;
    transition: color .18s ease;
}
.ba-item-reviews .ba-review-stars-wrapper:not(.logout-reviews-user) i.active,
.ba-item-reviews .ba-review-stars-wrapper:not(.logout-reviews-user) i.active:after,
.ba-item-reviews .ba-review-stars-wrapper:not(.logout-reviews-user) i.active + i:after {
    color: #009ADA !important;
}
.ba-item-reviews .ba-review-rate-wrapper .ba-review-stars-wrapper:not(.logout-reviews-user):hover i:after {
    color: #ddd !important;
}
.ba-item-reviews .ba-review-rate-wrapper .ba-review-stars-wrapper.is-hovering i,
.ba-item-reviews .ba-review-rate-wrapper .ba-review-stars-wrapper.is-hovering i:after {
    color: #ddd !important;
}
.ba-item-reviews .ba-review-rate-wrapper .ba-review-stars-wrapper.is-hovering i.is-hovered,
.ba-item-reviews .ba-review-rate-wrapper .ba-review-stars-wrapper.is-hovering i.is-hovered:after {
    color: #009ADA !important;
}

.review-window {
    max-height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 40px;
}
/* Laptop */
@media (max-width: 1440px) {
    .review-window {
        max-height: 550px;
    }
}
/* Tablet Landscape */
@media (max-width: 1280px) {
    .review-window {
        max-height: 65vh;
    }
}
/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 481px) and (max-width: 768px) and (min-height: 800px) and (orientation: portrait) {
    .review-window {
        max-height: 70vh;
    }
}
/* Phone Landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape) {
    .review-window {
        max-height: 65vh;
        border-radius: 30px;
    }
}
/* Phone Portrait */
@media (max-width: 480px) {
    .review-window {
        max-height: 70vh;
        border-radius: 20px;
    }
}

/* Reviews — Phone Landscape: отключаем мобильный перерасчёт comment-user-info */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape) {
  .comment-user-info {
    margin-left: 0 ;
    min-height: 0 ;
    width: auto !important;
  }
}

.comment-user-info .ba-review-stars-wrapper {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -2px;
    white-space: nowrap;
}
.comment-user-info .ba-review-stars-wrapper i {
    margin-right: 0 !important;
}

#item-1777054748739 .ba-image-item-caption,
#item-1777054748739 .ba-caption-overlay {
    pointer-events: none;
}
.footer-credit-text a.hover,
.footer-credit-text a.hover:hover {
    color: #009ADA!important;
}

@media (min-width: 480px) {
    .flip-img {
        transform: scaleX(-1);
    }

    .flip-img .ba-image-item-description {
        transform: scaleX(-1);
    }
}

.quote-author strong {
  font-size: 29px;
    color: #ffffff;
}
.role {
    color: #888;
}

.photo-album {
    transition: transform 0.3s ease;
}

.photo-album:hover {
    transform: rotate(-1deg) scale(1.02);
}

.quote-mark {
    display: block;
    color: #fdfddf;
    font-size: 95px;
    opacity: 0.95;
}


.ba-item-recent-reviews .ba-blog-post {
    overflow: visible;
  margin-bottom: 24px;
}
.ba-item-recent-reviews .ba-blog-post::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 30px;
    background: #c8b396;
    opacity: 0.85;
    pointer-events: none;
}
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+1)::before {
    top: -12px;
    left: 30px;
    transform: rotate(-3deg);
}
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+2)::before {
    top: -12px;
    right: 34px;
    transform: rotate(4deg);
}
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+3)::before {
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
}
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+4)::before {
    top: -10px;
    left: 22px;
    transform: rotate(6deg);
}
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+5)::before {
    top: -10px;
    right: 24px;
    transform: rotate(-5deg);
}
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+6)::before {
    top: -7px;
    left: 42%;
    transform: translateX(-50%) rotate(-2deg);
}
.ba-item-recent-reviews .ba-blog-post {
    transform: rotate(0deg);
}
.ba-item-recent-reviews .ba-blog-post:nth-child(odd) {
    transform: rotate(-0.5deg);
}
.ba-item-recent-reviews .ba-blog-post:nth-child(even) {
    transform: rotate(0.5deg);
}
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+2)::after,
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+5)::after {
    content: "";
    position: absolute;
    bottom: -7px;
    width: 80px;
    height: 28px;
    background: #c8b396;
    opacity: 0.85;
    pointer-events: none;
    z-index: 5;
}
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+2)::after {
    left: 28px;
    transform: rotate(2deg);
}
.ba-item-recent-reviews .ba-blog-post:nth-child(6n+5)::after {
    right: 28px;
    transform: rotate(-3deg);
}
.ba-item-recent-reviews .ba-blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.ba-item-recent-reviews .ba-review-stars-wrapper i {
    color: rgba(27,27,29,0.10);
}
.ba-item-recent-reviews .ba-review-stars-wrapper i.active:after {
    color: #009ADA !important;
}

.review-card .ba-blog-posts-wrapper {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 18px;
  padding-top: 55px;

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0,
        #000 55px,
        #000 calc(100% - 55px),
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0,
        #000 55px,
        #000 calc(100% - 55px),
        transparent 100%
    );
}
/* Laptop */
@media (max-width: 1440px) {
    .review-card .ba-blog-posts-wrapper {
        max-height: 785px;
    }
}
/* Tablet Landscape */
@media (max-width: 1280px) {
    .review-card .ba-blog-posts-wrapper {
        max-height: 620px;
        padding-top: 38px;
        padding-right: 14px;
    }
}
/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 481px) and (max-width: 768px) and (min-height: 800px) and (orientation: portrait) {
    .review-card .ba-blog-posts-wrapper {
        max-height: 540px;
        padding-top: 32px;
        padding-right: 12px;
    }
}
/* Phone Landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape) {
    .review-card .ba-blog-posts-wrapper {
        max-height: 450px;
        padding-top: 36px;
        padding-right: 8px;
    }
}
/* Phone Portrait */
@media (max-width: 480px) {
    .review-card .ba-blog-posts-wrapper {
        max-height: 380px;
        padding-top: 18px;
        padding-right: 4px;
    }
}

.about-rating-clean {
    display: flex;
    align-items: center;
    gap: 10px;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.6s ease;
}

.about-rating-clean.is-loading {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.about-rating-clean.is-ready {
    opacity: 1;
    transform: translateY(0);
}

.about-rating-value {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
}

.about-rating-star {
    font-size: 28px;
    color: #009ADA;   
}

.about-rating-count {
    font-size: 24px;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

/* Phone landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape) {
.about-rating-value {
    font-size: 36px;
}
.about-rating-star {
    font-size: 28px;  
}
 .about-rating-count {
    font-size: 24px;
} 
}

/* Phone Portrait */
@media (max-width: 480px) {
.about-rating-value {
    font-size: 34px;
}
.about-rating-star {
    font-size: 28px;  
}
 .about-rating-count {
    font-size: 24px;
} 
}

html {
    scroll-behavior: smooth;
}
#customer-reviews {
    scroll-margin-top: 150px;
}

.trust-counter-number {
   color: #fff;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
  text-align: center;
  text-shadow: 0 0 10px rgba(0,154,218,0.3);
}
/* Laptop */
@media (max-width: 1440px) {
    .trust-counter-number {
        font-size: 48px;
    }
}
/* Tablet Landscape */
@media (max-width: 1280px) {
    .trust-counter-number {
        font-size: 44px;
    }
}
/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 481px) and (max-width: 768px) and (min-height: 800px) and (orientation: portrait) {
    .trust-counter-number {
        font-size: 38px;
    }
}
/* Phone Landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape) {
    .trust-counter-number {
        font-size: 32px;
        letter-spacing: 0;
    }
}
/* Phone Portrait */
@media (max-width: 480px) {
    .trust-counter-number {
        font-size: 30px;
    }
}

.easter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.easter-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.easter-message {
    font-size: 80px;
    color: #fff;
    text-align: center;
    font-family: 'Inter';
}
/* Laptop */
@media (max-width: 1440px) {
    .easter-message {
        font-size: 68px;
    }
}
/* Tablet Landscape */
@media (max-width: 1280px) {
    .easter-message {
        font-size: 54px;
    }
}

/* Tablet & Phone Portrait */
@media (min-width: 769px) and (max-width: 1024px),
       (min-width: 481px) and (max-width: 768px) and (min-height: 800px) and (orientation: portrait) {
    .easter-message {
        font-size: 60px;
    }
  
    .easter-message .line-1,
    .easter-message .line-2 {
        display: block;
    }

    .easter-message .line-2 {
        margin-top: 0.7em;
    }

}

/* Phone Landscape */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape)  {
    .easter-message {
        font-size: 34px;
    }
}

/* Phone Portrait — Easter phrase каждое слово с новой строки */
@media (max-width: 480px) {
  .easter-message {
    display: flex ;
    flex-direction: column ;
    align-items: center ;
    text-align: center ;
    line-height: 1.2 ;
    font-size: 46px;
  }

  .easter-message .line-1,
  .easter-message .line-2 {
    display: contents ;
  }

  .easter-message .easter-part {
    display: block ;
  }
}

.easter-message .word {
    color: #009ADA;
    transition: all 0.3s ease;
}
.easter-message .word::after {
    content: "|";
    margin-left: 3px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

.brentwood-vintage, .manchester-vintage {
    transition: transform 0.3s ease;
}
.brentwood-vintage:hover {
    transform: rotate(-1deg) scale(1.02);
}
.manchester-vintage:hover {
    transform: rotate(1deg) scale(1.02);
}

.social-login-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.comment-user-info-wrapper {
    display: none;
}

.vintage-map {
  position: relative;
  overflow: hidden;
}

.vintage-map .ba-image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.vintage-map img {
  display: block;
  width: 100%;
  height: auto;
}

.map-magnifier {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 50;
  opacity: 0;

  background-repeat: no-repeat;
  border: 3px solid rgba(78, 62, 47, 0.8);
  box-shadow:
    0 10px 28px rgba(0,0,0,.5),
    inset 0 0 20px rgba(255,255,255,.18);

  transform: translate(-50%, -50%);
  transition: opacity .15s ease;
}


.vintage-map-btn p {
  padding: 5px 22px ;
  line-height: 1 !important;
  background: #a69989;

  border: 1px solid rgba(30, 24, 18, 0.75);
  box-shadow:
    0 5px 12px rgba(0,0,0,.35),
    inset 0 0 18px rgba(80,60,40,.14);

  clip-path: polygon(
    2% 8%, 8% 3%, 18% 6%, 31% 2%,
    45% 5%, 58% 2%, 72% 6%, 89% 3%,
    98% 9%, 96% 28%, 99% 45%,
    96% 62%, 99% 84%, 92% 97%,
    75% 94%, 61% 98%, 46% 95%,
    32% 99%, 16% 95%, 4% 98%,
    1% 82%, 4% 65%, 1% 48%,
    4% 30%
  );

  transition: 
    transform .2s ease,
    background-color .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

.vintage-map-btn p:hover {
  background: #cfc6b7;
  transform: translateY(-2px) rotate(-0.4deg);
  box-shadow:
    0 8px 18px rgba(0,0,0,.45),
    0 0 0 1px rgba(0,154,218,.35),
    inset 0 0 20px rgba(80,60,40,.16);
}

.privacy-intro strong {
  font-weight: 500;
   color: #111111;
   opacity: 0.9;
}


.ba-item-reviews .comment-user-info .comment-user-name {
    font-size: 26px !important;
}
/* Safari font weight fix for reviews */
.ba-item-reviews,
.ba-item-reviews span,
.ba-item-reviews p,
.ba-item-reviews div,
.ba-item-reviews textarea,
.ba-item-reviews select {
  font-family: 'Inter', sans-serif;
  font-weight: 400 !important;
}

.ba-item-reviews .ba-social-login-wrapper > span,
.ba-item-reviews .ba-review-rate-title,
.ba-item-reviews .ba-tooltip,
.ba-item-reviews .ba-guest-login-btn,
.ba-item-reviews .ba-reviews-total-rating,
.ba-item-reviews .comment-user-name,
.ba-item-reviews .ba-comments-total-count,
.ba-item-reviews .ba-submit-cancel,
.ba-item-reviews .ba-leave-review-btn,
.ba-item-reviews .comment-reply-action span,
.ba-item-reviews .was-review-helpful,
.ba-item-reviews .likes-count {
  font-weight: 500 !important;
}

/* Upload Photos text */
.ba-item-reviews .ba-comments-icons-wrapper .ba-comments-attachment-file-wrapper span.ba-comment-attachment-trigger,
.ba-item-reviews .ba-comments-icons-wrapper .ba-comment-attachment-trigger:not(i) {
  font-family: 'Inter', sans-serif;
  font-weight: 500 !important;
}

/* Reply text */
.ba-item-reviews .comment-likes-wrapper .comment-action-wrapper .comment-reply-action > span,
.ba-item-reviews .comment-likes-wrapper .comment-reply-action span:not(.ba-icons) {
  font-family: 'Inter', sans-serif;
  font-weight: 500 !important;
}

.service-card {
    transition:
        opacity .35s ease,
        transform .35s ease,
        filter .35s ease;
}

.service-card.under-title {
    opacity: 0;
    transform: translateY(-12px) scale(.94);
    filter: blur(3px);
    pointer-events: none;
}

.card-pixel {
    position: fixed;
    width: 12px;
    height: 12px;
    background: #000;
    pointer-events: none;
    z-index: 9999;
    animation: cardPixelFly .7s ease-out forwards;
}

@keyframes cardPixelFly {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform:
            translate(var(--px-x), var(--px-y))
            scale(.4);
    }
}

.services-section .ba-desktop-sticky-row-enabled {
    --row-sticky-offset: 140px !important;
}

@media (max-width: 1440px) {
    .services-section .ba-desktop-sticky-row-enabled {
        --row-sticky-offset: 110px !important;
    }
}

@media (max-width: 1280px) {
    .services-section .ba-desktop-sticky-row-enabled {
        --row-sticky-offset: 100px !important;
    }
}

@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape)  {
    .services-section .ba-desktop-sticky-row-enabled {
        --row-sticky-offset: 80px !important;
    }
}

.tablet-landscape-menu#item-1780411579272 {
  height: auto ;
  min-height: 0 !important;
  border-radius: 15px 0 0 15px;
}

@media (max-width: 1280px) {

    #item-1755693296478 .column-wrapper {
        flex-wrap: nowrap ;
    }

}

/* Phone Landscape — уменьшаем высоту overlay menu */
@media (min-width: 481px) and (max-width: 960px) and (max-height: 480px) and (orientation: landscape)  {

  #item-1780780876670 {
    height: 170px;
    min-height: 100px;
  }
}

.phone-icon-right {
  transform: scaleX(-1);
}

.contacts-anchor {
  pointer-events: none;
}

@media (max-width: 480px){
  .about-title-phone .about-word {
    font-size: clamp(50px, 14vw, 60px) ;
  }
}