﻿#fullpage .home-gallery {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 48px 20px;
  border-radius: 0;
  background: radial-gradient(circle at 0 100%, rgba(26,155,241,.1), transparent 40%), #f8f5f7;
}
#fullpage .home-gallery:before {
  content: '';
  position: absolute;
  top: -95px;
  right: -95px;
  width: 240px;
  height: 240px;
  border: 30px solid rgba(190,69,121,.06);
  border-radius: 50%;
  pointer-events: none;
}
#fullpage .home-gallery .main-features {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 1200px;
  padding: 0;
}
#fullpage .home-gallery .gallery-heading { padding: 0; margin-bottom: 28px; }
#fullpage .home-gallery .main-gallery__title {
  margin: 0;
  color: #0a3046;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
}
#fullpage .home-gallery .gallery-intro {
  max-width: 540px;
  margin: 14px auto 0;
  color: #687782;
  font-size: 1rem;
  line-height: 1.5;
}
#fullpage .home-gallery .gallery-intro:after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin: 16px auto 0;
  background: #be4579;
  border-radius: 4px;
}
#fullpage .home-gallery .splide { padding-bottom: 58px; }
#fullpage .home-gallery .splide__track { padding-top: 10px; padding-bottom: 22px; }
#fullpage .home-gallery .splide__slide {
  --gallery-color: #be4579;
  margin: 0;
  min-width: 0;
  padding: 9px 9px 0;
  background: #fff;
  border: 1px solid #e6e2e7;
  border-bottom: 4px solid var(--gallery-color);
  border-radius: 18px 18px 28px 8px;
  box-shadow: 0 8px 18px rgba(10,48,70,.1);
  overflow: hidden;
}
#fullpage .home-gallery .splide__slide:nth-child(3n+2) { --gallery-color: #1a9bf1; }
#fullpage .home-gallery .splide__slide:nth-child(3n) { --gallery-color: #ff5722; }
#fullpage .home-gallery .gallery-photo { margin: 0; }
#fullpage .home-gallery .gallery-photo__frame { overflow: hidden; border-radius: 11px; }
#fullpage .home-gallery .splide__slide__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform .4s ease;
}
#fullpage .home-gallery .gallery-photo__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 6px;
  color: #0a3046;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
}
#fullpage .home-gallery .gallery-photo__number {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  background: var(--gallery-color);
  border-radius: 50%;
  color: #fff;
  font-size: .72rem;
}
#fullpage .home-gallery .splide__arrow {
  top: auto;
  bottom: 6px;
  width: 42px;
  height: 42px;
  border: 1px solid #e5ccd8;
  border-radius: 50%;
  background: #fff;
  opacity: 1;
  transform: none;
  box-shadow: 0 4px 10px rgba(10,48,70,.06);
}
#fullpage .home-gallery .splide__arrow--prev { left: calc(50% - 49px); }
#fullpage .home-gallery .splide__arrow--next { right: calc(50% - 49px); }
#fullpage .home-gallery .splide__arrow svg { fill: #be4579; width: 15px; height: 15px; }
#fullpage .home-gallery .splide__arrow:hover { background: #fceef4; }
#fullpage .home-gallery .btnGaleria { padding: 0; margin: 24px 0 0; }
#fullpage .home-gallery .btnGaleria .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 100%;
  padding: 13px 24px;
  border: 0;
  border-radius: 25px;
  background: #be4579;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  white-space: normal;
  box-shadow: 0 6px 16px rgba(190,69,121,.2);
  transition: background .2s, transform .2s;
}
#fullpage .home-gallery .btnGaleria .btn:hover { background: #a83c6b; text-decoration: none; }
#fullpage .home-gallery .btn:focus-visible,
#fullpage .home-gallery .splide__arrow:focus-visible { outline: 3px solid #1a9bf1; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  #fullpage .home-gallery .splide__slide:hover img { transform: scale(1.045); }
  #fullpage .home-gallery .btnGaleria .btn:hover { transform: translateY(-2px); }
}
@media screen and (max-width: 639px) {
  #fullpage .home-gallery { padding: 36px 12px; }
  #fullpage .home-gallery .gallery-heading { padding: 0 8px; }
  #fullpage .home-gallery .gallery-photo__caption { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  #fullpage .home-gallery .splide__slide__img,
  #fullpage .home-gallery .btnGaleria .btn { transition: none; }
  #fullpage .home-gallery .splide__slide:hover img,
  #fullpage .home-gallery .btnGaleria .btn:hover { transform: none; }
}
