/* assets/css/sections/68a362a1.css assets/css/sections/e49df88c.css assets/css/sections/948e3713.css */

.section-opener__text p:first-child {
margin-top: 0;
}
.section-opener__icon .bar {
  transform-origin: 12px 12px;
  transition: transform 260ms ease, opacity 200ms ease;
}
.section-opener__title-block.opener__clicked .section-opener__icon .bar-v {
  transform: rotate(90deg);
  opacity: 0;
}
  .section-opener__item.faq-item.faq-item_border:has(.opener__clicked) {
    border-color: #003557;
    box-shadow: 0 4px 16px rgba(0, 53, 87, 0.06);
  }


/*  @media screen and (min-width: 480px) and (max-width: 991px) {
    .filters-gallery__cta {
       grid-column: span 2;
    }
  } */

.gallery-section__grid {
  --gap: 28px;

  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.gallery-section__grid > * {
  flex: 0 0 calc((100% - (var(--gap) * 2)) / 3);
  min-width: 0;
}

.gallery-section__grid > .filters-gallery__cta {
  flex-grow: 1;
}

@media (max-width: 767px) {
  .gallery-section__grid > * {
    flex-basis: calc((100% - var(--gap)) / 2);
  }
}

@media (max-width: 479px) {
  .gallery-section__grid > * {
    flex-basis: 100%;
  }
}
  
  .filters-gallery__select {
    position: relative;
  }

  .filters-gallery__select-trigger {
    width: 100%;
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    cursor: pointer;
    text-align: left;
    transition: border-color 160ms;
  }
  .filters-gallery__select-trigger:hover,
  .filters-gallery__select[data-open] .filters-gallery__select-trigger {
    border-color: #003557;
  }

  .filters-gallery__select-arrow {
    flex-shrink: 0;
    color: #6b7480;
    margin-left: auto;
    transition: transform 200ms ease;
  }
  .filters-gallery__select[data-open] .filters-gallery__select-arrow {
    transform: translateY(-50%) rotate(180deg);
  }

  .filters-gallery__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 53, 87, 0.12);
    z-index: 100;
    padding: 6px;
  }
  .filters-gallery__select[data-open] .filters-gallery__dropdown {
    display: block;
  }

  .filters-gallery__option {
    padding: 9px 12px;
    font-size: 14px;
    color: #3a424d;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition:
      background-color 120ms,
      color 120ms;
  }
  .filters-gallery__option:hover {
    background: #003557;
    color: #fff;
  }
  .filters-gallery__option.is-active {
    background: #e6eef3;
    color: #003557;
  }
  .filters-gallery__select--active .filters-gallery__select-trigger {
    background: #003557;
    border-color: #003557;
  }
  .filters-gallery__reset {
    transition:
      background 300ms cubic-bezier(0.22, 0.61, 0.36, 1),
      color 300ms cubic-bezier(0.22, 0.61, 0.36, 1),
      border-color 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .filters-gallery__reset:hover {
    background: #d22528;
    border-color: #d22528;
    color: #fff;
  }
  .filters-gallery__select--active .filters-gallery__select-arrow,
  .filters-gallery__select--active .filters-gallery__select-label,
  .filters-gallery__select--active .filters-gallery__select-value {
    color: #fff;
  }

  .gw-card-zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #003557;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow:
      0 1px 2px rgba(0, 53, 87, 0.06),
      0 1px 3px rgba(0, 53, 87, 0.04);
  }
  .gallery-section__card {
    transition:
      transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1),
      box-shadow 380ms cubic-bezier(0.22, 0.61, 0.36, 1),
      border-color 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
  }
  .gallery-section__card img {
    transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .gallery-section__card:hover img {
    transform: scale(1.06);
  }

  .gallery-section__card:hover .gw-card-zoom {
    opacity: 1;
    transform: translateY(0);
  }
  .gallery-section__card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
      0 22px 44px rgba(15, 32, 51, 0.18),
      0 6px 14px rgba(15, 32, 51, 0.08);
    border-color: transparent;
  }
  body.modal-open {
    overflow: hidden;
  }
  .modal-gallery__browser img {
    display: block;
    width: 100%;
    height: auto;
  }

  .modal-gallery__pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 11px;
    font-weight: 500;
    color: #fff;
  }

  #modal-pills {
    display: flex;
    align-items: flex-start;
    gap: 1px;
    flex-direction: column;
  }

  .modal-gallery__pills-wrap {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
  }

  #modal-browser-img {
    width: 100%;
    height: auto;
  }


  /* === Mockup wrapper === */
.featured-gallery__mockup {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* === Desktop screenshot === */
.featured-gallery__desktop {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 12px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  background: #0c2438;
  margin-left: auto;
}

.featured-gallery__desktop .picture-item {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* === Phone screenshot === */
.featured-gallery__phone {
  position: absolute;
  left: -12px;
  bottom: -28px;
  width: 180px;
  background: #0c1d2d;
  border-radius: 26px;
  padding: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 2;
}

.featured-gallery__phone .picture-item {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
}

/* === Tablet 991px === */
@media (max-width: 991px) {
  .featured-gallery__mockup {
    min-height: 0;
    margin-top: 0;
  }
}

/* === Mobile 767px === */
@media (max-width: 767px) {
  .featured-gallery__mockup {
    min-height: 320px;
    justify-content: center;
    margin-top: 8px;
  }

  .featured-gallery__desktop {
    max-width: 100%;
    margin: 0 auto;
  }

  .featured-gallery__phone {
    width: 130px;
    left: 4px;
    bottom: -18px;
    border-radius: 20px;
    padding: 4px;
  }

  .featured-gallery__phone .picture-item {
    border-radius: 16px;
  }
}

/* === Tiny 479px === */
@media (max-width: 479px) {
  .featured-gallery__phone {
    width: 100px;
    left: 0;
    bottom: -14px;
  }
}
