/* Carrusel de accesos (pagina de menu con vista "accesos"). Basado en Sellos del colegio. */
.sp-acc { padding: 64px 0 72px; overflow: hidden; }
@media (min-width: 1200px) { .sp-acc .container { max-width: min(1480px, calc(100% - 80px)); } }
.sp-acc-head { text-align: center; margin-bottom: 26px; }
.sp-acc-head p { color: #6a6a6a; margin: 14px 0 0; }
.sp-acc-wrap { position: relative; padding: 0 60px; }
.sp-acc-swiper { overflow: hidden; padding: 34px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.sp-acc-swiper .swiper-slide { width: 290px; height: 370px !important; display: flex; align-items: center; justify-content: center; opacity: .6; transition: opacity .45s ease; }
.sp-acc-swiper .swiper-slide .sp-acc-card { height: 82%; width: 88%; transition: width .45s ease, height .45s ease; }
.sp-acc-swiper .swiper-slide-prev, .sp-acc-swiper .swiper-slide-next { opacity: .9; }
.sp-acc-swiper .swiper-slide-prev .sp-acc-card, .sp-acc-swiper .swiper-slide-next .sp-acc-card { height: 90%; width: 94%; }
.sp-acc-swiper .swiper-slide-active { opacity: 1; z-index: 2; }
.sp-acc-swiper .swiper-slide-active .sp-acc-card { height: 100%; width: 100%; }
.sp-acc-card { position: relative; display: block; perspective: 1200px; cursor: pointer; }
.sp-acc-card:focus-visible { outline: 3px solid #2060B0; outline-offset: 6px; border-radius: 18px; }
.sp-acc-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sp-acc-card.is-flipped .sp-acc-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .sp-acc-card:hover .sp-acc-inner { transform: rotateY(180deg); } }
.sp-acc-face { position: absolute; inset: 0; display: flex; overflow: hidden; border-radius: 18px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.sp-acc-front { align-items: flex-end; background: #123a6b; box-shadow: 0 14px 34px rgba(16, 35, 65, .12); }
.sp-acc-front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-acc-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 58, 107, 0) 35%, rgba(18, 58, 107, .92) 100%); }
.swiper-slide-active .sp-acc-front { box-shadow: 0 22px 50px rgba(16, 35, 65, .22); }
.sp-acc-cap { position: relative; z-index: 2; display: block; padding: 20px; color: #fff; }
.sp-acc-icon { width: 40px; height: 40px; border-radius: 12px; background: #E8A030; color: #1b1300; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 10px; }
.sp-acc-cap b { display: block; font-size: 21px; line-height: 1.2; color: #fff; }
.sp-acc-cap small { display: block; font-size: 13px; color: rgba(255, 255, 255, .85); margin-top: 2px; }
.sp-acc-back { transform: rotateY(180deg); flex-direction: column; justify-content: center; gap: 14px; padding: 26px 24px; background: #123a6b; color: #fff; box-shadow: 0 22px 50px rgba(16, 35, 65, .2); }
.sp-acc-back-title { font-size: 19px; font-weight: 700; color: #fff; }
.sp-acc-text { display: block; max-height: 60%; overflow: auto; font-size: 14px; line-height: 1.55; color: #dbe6f6; }
.sp-acc-text p { margin: 0 0 6px; color: #dbe6f6; }
.sp-acc-text ul { list-style: none; margin: 0; padding: 0; }
.sp-acc-text li { position: relative; padding: 3px 0 3px 18px; color: #dbe6f6; }
.sp-acc-text li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #E8A030; }
.sp-acc-warn { font-size: 12px; color: #ffd58a; }
.sp-acc-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 40px; padding: 8px 18px; border-radius: 999px; background: #E8A030; color: #1b1300 !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.sp-acc-link:hover { background: #f2b24a; }
.sp-acc-nav { position: absolute; top: 50%; z-index: 5; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid #2060B0; border-radius: 50%; background: #fff; color: #2060B0; box-shadow: 0 6px 16px rgba(0, 0, 0, .1); transform: translateY(-50%); transition: background .2s, color .2s; }
.sp-acc-nav:hover { background: #2060B0; color: #fff; }
.sp-acc-prev { left: 0; } .sp-acc-next { right: 0; }
.sp-acc-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.sp-acc-pagination .swiper-pagination-bullet { width: 9px; height: 9px; margin: 0 !important; border-radius: 999px; background: #c7d0dc; opacity: 1; transition: width .3s, background .3s; }
.sp-acc-pagination .swiper-pagination-bullet-active { width: 26px; background: #E8A030; }
@media (max-width: 575.98px) {
    .sp-acc { padding: 44px 0 52px; }
    .sp-acc-wrap { padding: 0; }
    .sp-acc-nav { display: none; }
    .sp-acc-swiper .swiper-slide { width: 240px; height: 320px !important; }
}
@media (prefers-reduced-motion: reduce) { .sp-acc-inner, .sp-acc-swiper .swiper-slide { transition: none; } }
