* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden !important;
    -webkit-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.text-justify {
    text-align: justify;
}

/* HERO */

#loading-overlay {
    position: fixed;
    inset: 0;
    background-image: url("../img/bg-catedral.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #fff;
    transition: opacity 300ms ease, visibility 300ms ease;
}

#loading-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
}

.loading-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.loading-content img {
    width: clamp(72px, 12vw, 128px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
    animation: logoPulse 2.2s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.04);
        opacity: 0.95;
    }
}

.spinner {
    width: 56px;
    height: 56px;
    border: 6px solid rgba(255, 255, 255, 0.25);
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.is-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

body.prevent-scroll {
    overflow: hidden;
}

#app-content {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 250ms ease, visibility 0s linear 250ms;
}

#app-content.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 250ms ease;
}

.slider {
    position: relative;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-convent {
    max-width: 800px;
    height: 450px;
    margin: 0 auto;
    position: relative;
    color: #222;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.slider__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
    width: 100%;
}

.slider-convent .slider__viewport::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: clamp(40px, 10vw, 80px);
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: url("../img/logo_500_blanco.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    opacity: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15));
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 3;
}

.slider__track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
    transform: translateX(0%);
    transition: transform 380ms ease-in-out;
}

.slider__track .slides {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider__track .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider__controls .btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(3px);
    transition: background 160ms, transform 80ms, opacity 160ms;
}

.slider__controls .btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider__controls .btn:active {
    transform: scale(0.98);
}

.slider__controls .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.slider__controls .ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
}

.slider__controls .prev {
    left: 8px;
}

.slider__controls .next {
    right: 8px;
}

.swiper-static-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.slider-convent img {
    width: 100%;
    height: 100%;
}

.slider-convent .fecha {
    position: absolute;
    top: 8px;
    right: 6px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    padding: 6px 10px;
    color: #fff;
    font-size: clamp(0.8rem, 4vw, 0.9rem);
    font-weight: 600;
}

.slider-convent .overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    padding: 10px 20px;
    background: rgba(93, 95, 145, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.slider-convent .overlay h1 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 600;
}

.slider-convent .overlay p {
    font-size: clamp(0.9rem, 4vw, 0.9rem);
    font-weight: 300;
    line-height: 1.3;
}

.slider-convent .overlay button {
    width: 150px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, #2986cc, transparent 40%);
    background-color: #fff;
    color: #2986cc;
    transition: 0.3s;
}

.slider-convent .overlay button i {
    font-size: 16px;
}

.slider-convent .overlay button:hover {
    background-color: color-mix(in srgb, #2986cc, transparent 85%);
    border-color: #2986cc;
}

.slider-convent .overlay img {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 15px;
    width: 90px;
    height: auto;
    object-fit: contain;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: white;
}

.glass-card h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.glass-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.glass-card .logos {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.glass-card .logos img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.glass-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    padding: 2rem;
    max-width: 600px;
}

.glass-container p {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.glass-container .logos {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.glass-container .logos img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.glass-button {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* SECTION */
.banner-brand {
    width: 100%;
    min-height: 10vh;
    font-size: 2.5rem;
    text-align: center;
    white-space: nowrap;
    background-color: #2986cc;
    color: #fff;
    padding: 20px;
}

.banner2 {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100svh;
    background-image: url('../img/mixteca.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.banner2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner2 .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.banner2 .banner-img {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner2 .banner-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 15px;
}

@supports (-webkit-overflow-scrolling: touch) {

    .banner,
    .banner3,
    .banner2 {
        background-attachment: scroll;
    }
}

.banner-header-img {
    width: min(40vw, 150px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

.text-container {
    margin-top: 40px;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    gap: 0.1em;
    flex-wrap: wrap;
    justify-content: center;
    height: 2.5em;
    color: white;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    white-space: pre;
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100svh;
    background-image: url('../img/portada.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.banner3 {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100svh;
    background-image: url('../img/chocholteca.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.banner3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner3 .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.team {
    margin-top: 25px;
    overflow: hidden;
}

.team .team-member {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 5px;
    transition: 0.5s;
    padding: 30px;
    height: 100%;
}

@media (max-width: 468px) {
    .team .team-member {
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
    }
}

.team .team-member .pic {
    width: min(40vw, 150px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
}

.team .team-member .pic img {
    transition: ease-in-out 0.3s;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team .team-member:hover {
    transform: translateY(-10px);
}

.team .team-member .member-info {
    padding-left: 30px;
}

@media (max-width: 468px) {
    .team .team-member .member-info {
        padding: 30px 0 0 0;
        text-align: center;
    }
}

.team .team-member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
}

.team .team-member span {
    display: block;
    font-size: 15px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 500;
}

.team .team-member span::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: color-mix(in srgb, #212529, transparent 85%);
    bottom: 0;
    left: 0;
}

@media (max-width: 468px) {
    .team .team-member span::after {
        left: calc(50% - 25px);
    }
}

.team .team-member p {
    margin: 10px 0 0 0;
    font-size: 14px;
}

.team .team-member button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, #2986cc, transparent 40%);
    color: #2986cc;
    transition: 0.3s;
    background-color: #fff;
    margin-top: 15px;
}

.team .team-member button:hover {
    background-color: color-mix(in srgb, #2986cc, transparent 85%);
    border-color: #2986cc;
}

.page-title {
    color: #212529;
    background-color: #ffffff;
    position: relative;
}

.page-title nav {
    background-color: color-mix(in srgb, #212529, transparent 96%);
    padding: 20px 0;
}

.page-title nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.page-title nav ol li+li {
    padding-left: 10px;
}

.page-title nav ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, #212529, transparent 70%);
}

.page-title nav ol li button {
    background: none;
    border: none;
    outline: none;
    color: #3498DB;
}

.section-title {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
    color: #2d465e;
}

.section-title p {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    text-align: justify;
}

.category-section {
    overflow: hidden;
}

.category-section .card-post {
    background-color: #ffffff;
    border: 1px solid color-mix(in srgb, #212529, transparent 85%);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.category-section .card-post .post-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.category-section .card-post .post-img::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: clamp(40px, 10vw, 80px);
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: url("../img/logo_500_blanco.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    opacity: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15));
    pointer-events: none;
    mix-blend-mode: normal;
    z-index: 3;
}

.category-section .card-post .content {
    padding: 18px;
}

.category-section .card-post .content .meta {
    margin-bottom: 10px;
}

.category-section .card-post .content .meta i {
    color: #2986cc;
    font-size: 16px;
}

.category-section .card-post .content .meta span {
    font-size: 14px;
    color: color-mix(in srgb, #212529, transparent 40%);
}

.category-section .card-post .content .title {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2d465e;
    transition: color 0.3s ease;
}

.category-section .card-post .content .readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, #2986cc, transparent 40%);
    color: #2986cc;
    transition: 0.3s;
    background-color: #fff;
}

.category-section .card-post .content .readmore i {
    font-size: 16px;
}

.category-section .card-post .content .readmore:hover {
    background-color: color-mix(in srgb, #2986cc, transparent 85%);
    border-color: #2986cc;
}

.category-section .card-post:hover {
    border-color: color-mix(in srgb, #2986cc, transparent 25%);
    box-shadow: 0 12px 30px color-mix(in srgb, #212529, transparent 92%);
    transform: translateY(-3px);
}

.category-section .card-post:hover .post-img img {
    transform: scale(1.06);
}

.category-section .card-post:hover .content .title {
    color: #2986cc;
}

.category-section .cat-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1;
    border-radius: 999px;
    background-color: color-mix(in srgb, #2986cc, transparent 85%);
    color: #2986cc;
}

.category-section .cat-badge.inverse {
    background-color: #2986cc;
    color: #ffffff;
}

.category-section .sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-section .sidebar-post {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    border-left: 4px solid #2986cc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-section .sidebar-post:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px color-mix(in srgb, #212529, transparent 92%);
}

.category-section .sidebar-post .post-img {
    flex: 0 0 80px;
}

.category-section .sidebar-post .post-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.category-section .sidebar-post .post-content {
    flex: 1;
}

.category-section .sidebar-post .title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.category-section .sidebar-post .title button {
    background: none;
    border: none;
    outline: none;
    color: #2d465e;
    transition: color 0.3s ease;
    text-decoration: none;
}

.category-section .sidebar-post .title button:hover {
    color: #2986cc;
}

.category-section .sidebar-post .post-meta {
    font-size: 12px;
    color: color-mix(in srgb, #212529, transparent 50%);
}

.category-section .sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-section .sidebar-post {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    border-left: 4px solid #2986cc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-section .sidebar-post:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px color-mix(in srgb, #212529, transparent 92%);
}

.category-section .sidebar-post .post-img {
    flex: 0 0 80px;
}

.category-section .sidebar-post .post-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.category-section .sidebar-post .post-content {
    flex: 1;
}

.category-section .sidebar-post .title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.category-section .sidebar-post .title a {
    color: #2d465e;
    transition: color 0.3s ease;
    text-decoration: none;
}

.category-section .sidebar-post .title a:hover {
    color: #2986cc;
}

.category-section .sidebar-post .post-meta {
    font-size: 12px;
    color: color-mix(in srgb, #212529, transparent 50%);
}

/* GALERIA */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.gallery__item {
    background: #141820;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgb(0 0 0 / 25%);
}

.gallery__item .item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .25s ease, filter .25s ease;
    cursor: pointer;
    pointer-events: auto;
}

.gallery__item:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 16, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

#lightbox.is-open {
    display: flex;
}

#lightbox .lb__stage {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: inline-block;
}

#lightbox .lb__img {
    display: block;
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 60%);
}

#lightbox .lb__wm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    user-select: none;
}

#lightbox .lb__wm img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80px;
    opacity: 1;
    pointer-events: none;
}

#lightbox .lb__wm.is-clean {
    background: transparent;
    padding: 0;
}

#lightbox .lb__wm.is-clean img {
    height: 28px;
    opacity: 1;
}

#lightbox .lb__wm.is-tiled {
    position: absolute;
    inset: 0;
    padding: 0;
    background-repeat: repeat;
    background-position: center;
    background-size: 220px auto;
    opacity: .08;
}

#lightbox .lb__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(20, 24, 32, 0.85);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

#lightbox .lb__prev,
#lightbox .lb__next {
    position: absolute;
    background: rgba(20, 24, 32, 0.75);
    color: #fff;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 28px;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, opacity .2s ease;
}

#lightbox .lb__close:hover,
#lightbox .lb__prev:hover,
#lightbox .lb__next:hover {
    background: rgba(20, 24, 32, 0.95);
    transform: scale(1.05);
}

#lightbox .lb__close {
    top: 16px;
    right: 16px;
}

#lightbox .lb__prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

#lightbox .lb__next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.body-no-scroll {
    overflow: hidden;
}

.open-image {
    cursor: pointer;
    pointer-events: auto;
}

#image-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
}

#image-overlay.active {
    display: flex;
    animation: fadeIn .15s ease-out;
}

#image-overlay .overlay-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pinch-zoom;
}

#image-overlay #overlay-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: clamp(8px, 2vw, 14px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
    background: #111;
    transition: opacity .2s ease;
}

#image-overlay #overlay-img[data-loading="1"] {
    opacity: .5;
}

#image-overlay .close-btn {

    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(4px);
    transition: background .15s ease, transform .08s ease;
}

#image-overlay .close-btn:hover {
    background: rgba(0, 0, 0, .55);
    transform: scale(1.03);
}

#image-overlay .wm-logo {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: min(35vw, 220px);
    max-height: min(35vh, 200px);
    opacity: .22;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
    z-index: 2;
    pointer-events: none;
    user-select: none;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

#modalMapa,
#modalMapaIDIH {
    width: min(92vw, 900px);
    height: min(80vh, 600px);
    padding: 0;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

#modalMapa::backdrop,
#modalMapaIDIH::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.contenedor-mapa {
    width: 100%;
    height: 100%;
    position: relative;
}

.cerrar {
    position: absolute;
    z-index: 2;
    right: 8px;
    top: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px 10px;
}

.cerrar:hover {
    background: #f8fafc;
}

.cerrar:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* CONVENTO */
.hero-convents {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-content: center;
    padding: clamp(1rem, 4vw, 4rem);
    overflow: hidden;
    background: var(--imagen-fondo-convento);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-convents::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    clip-path: polygon(0 0, 40% 0, 70% 100%, 0 100%);
}

.hero-convents .hero_inner {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.hero-convents .hero_inner h1 {
    color: #e8edf2;
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-convents .hero_inner p {
    color: #e8edf2;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.hero-convents .hero_inner img {
    width: 80px;
    height: 90px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-panel::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: clamp(40px, 10vw, 80px);
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: url("../img/logo_500.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    opacity: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15));
    pointer-events: none;
    z-index: 3;
}

.handwriting-text {
    font-family: "Dancing Script", cursive !important;
}

.author-profile {
    margin-top: 50px;
}

.author-profile .author-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.author-profile .author-card .author-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.author-profile .author-card .author-image img {
    width: 250px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
}

.author-profile .author-card .author-info {
    text-align: center;
}

.author-profile .author-card .author-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2d465e;
    font-family: "Montserrat", sans-serif;
}

.author-profile .author-card .author-info .designation {
    color: color-mix(in srgb, #212529, transparent 40%);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.author-profile .author-card .author-info .author-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.author-profile .author-card .author-stats {
    border-top: 1px solid color-mix(in srgb, #212529, transparent 90%);
    border-bottom: 1px solid color-mix(in srgb, #212529, transparent 90%);
    padding: 1rem 0;
}

.author-profile .author-card .author-stats .stat-item {
    text-align: center;
}

.author-profile .author-card .author-stats .stat-item p {
    font-size: 0.85rem;
    margin: 0;
    color: color-mix(in srgb, #212529, transparent 40%);
}

.author-profile .author-content {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.author-profile .author-content .content-header {
    margin-bottom: 1.5rem;
}

.author-profile .author-content .content-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0;
    color: #2d465e;
    font-family: "Montserrat", sans-serif;
}

.author-profile .author-content .content-body p {
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
}

.privacy {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

.privacy h1 {
    margin: 0;
    font-size: 2rem;
}

.privacy-body {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.privacy-body section {
    margin-bottom: 2rem;
}

.privacy-body section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-body section p {
    text-align: justify;
}

.page-wrap-legal {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(16px, 3vw, 40px);
}

.page-wrap-legal .legal-card {
    width: 100%;
    max-width: 920px;
    background: #ffffff;
    border: 1px solid #e6e8eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: clamp(20px, 4vw, 40px);
    position: relative;
    overflow: clip;
    animation: fadeSlideUp 420ms ease-out;
}

.page-wrap-legal .legal-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #6ea8ff, #99c2ff);
}

.page-wrap-legal .legal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.page-wrap-legal .legal-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: radial-gradient(120% 120% at 20% 10%, #6ea8ff, #99c2ff);
    box-shadow: 0 6px 16px rgba(51, 85, 255, 0.25);
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: 0.5px;
}

.page-wrap-legal .legal-title {
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
    font-weight: 600;
    margin: 0;
}

.page-wrap-legal .legal-content {
    color: #1f2328;
    font-size: clamp(0.98rem, 1.6vw, 1.05rem);
}

.page-wrap-legal .legal-content p {
    margin: 0;
    margin-top: 12px;
    color: #5b636a;
}

.page-wrap-legal .page-wrap-legal .hr {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e6e8eb, transparent);
    margin: 18px 0;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-visitas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.card-visitas {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    background: #eaeaea;
    isolation: isolate;
}

.card-visitas img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.card-overlay-visitas {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: end;
    gap: .6rem;
    padding: 1rem 1.1rem 1.2rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, .10) 35%, rgba(0, 0, 0, .85) 100%);
    opacity: 0;
    transform: translateY(8%);
    transition: opacity .35s ease, transform .35s ease;
    z-index: 2;
}

.card-overlay-visitas h3 {
    margin: 0;
    font-size: 1.08rem;
    letter-spacing: .2px;
    line-height: 1.22;
}

.card-overlay-visitas .actions button {
    border: none;
    outline: none;
    justify-self: start;
    margin-top: .25rem;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
    font-weight: 600;
    padding: .5rem .75rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card-overlay-visitas .actions button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.card-overlay-visitas .actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.card-visitas .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-visitas .actions img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: inline-block;
    filter: none;
    margin-left: auto;
}

.card-visitas:hover .card-overlay-visitas,
.card-visitas:focus-within .card-overlay-visitas {
    opacity: 1;
    transform: translateY(0);
}

.card-visitas:hover img,
.card-visitas:focus-within img {
    transform: scale(1.06);
}

@media (hover: none) and (pointer: coarse) {
    .card-visitas .card-overlay-visitas {
        opacity: 1;
        transform: none;
        background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .65) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {

    .card-visitas img,
    .card-visitas .card-overlay-visitas {
        transition: none;
    }
}

.card-visitas-list {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(6px);
    max-width: 560px;
}

.toggle-visitas {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.toggle-visitas input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.toggle-visitas .track {
    width: 54px;
    height: 30px;
    background: #2a2f39;
    border-radius: 999px;
    position: relative;
    transition: background-color .25s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.toggle-visitas .track::after {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, .65);
}

.toggle-visitas .thumb {
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: transform .25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

.toggle-visitas:has(input:checked) .track {
    background: linear-gradient(90deg, #4f46e5, #4338ca);
}

.toggle-visitas:has(input:checked) .thumb {
    transform: translateX(24px);
}

.toggle-visitas:has(input:checked) .track::after {
    color: rgba(255, 255, 255, .9);
}

.toggle-visitas .title {
    font-size: 16px;
    font-weight: 600;
}

.toggle-visitas .info-visitas {
    font-size: 14px;
    line-height: 1.5;
    background: rgba(79, 70, 229, .08);
    border: 1px solid rgba(79, 70, 229, .25);
    padding: 12px 14px;
    border-radius: 10px;
    transition: opacity .2s ease, transform .2s ease, height .2s ease;
}

.card-visitas-list:has(#toggleVisitas:checked) .info-visitas {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */

.footer {
    color: #212529;
    background-color: #f0f1f2;
    font-size: 15px;
    padding: 80px 0 0;
    position: relative;
    border-top: 1px solid color-mix(in srgb, #212529, transparent 90%);
}

.footer .footer-brand {
    text-align: center;
}

.footer .footer-brand a {
    text-decoration: none;
    line-height: 1;
    font-weight: 300;
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    letter-spacing: 0.8px;
    color: #2d465e;
    text-align: center;
}

.footer .footer-brand .tagline {
    color: color-mix(in srgb, #212529, transparent 30%);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    margin: 12px 0 0;
    text-align: center;
}

.footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .social-links a:nth-child(1) {
    background: #415794;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer .social-links a:nth-child(2) {
    background: linear-gradient(to top right, #FCDE30, #E9712A, #D2313B, #AE4198, #7540A1, #5443A8);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer .social-links a:nth-child(3) {
    background: #CD201F;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer .social-links a:nth-child(4) {
    background: #fff;
    color: #000000;
    transform: translateY(-3px);
}

.footer .social-links a i {
    font-size: 16px;
}

.footer .footer-links-grid h5 {
    color: #2d465e;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.5px;
    text-align: center;
}

.footer .footer-links-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer .footer-links-grid ul li {
    margin-bottom: 12px;
}

.footer .footer-links-grid ul li a {
    color: color-mix(in srgb, #212529, transparent 25%);
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 10px;
}

.footer .footer-links-grid ul li a::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    color: #2986cc;
}

.footer .footer-links-grid ul li a:hover {
    color: #2986cc;
    padding-left: 16px;
}

.footer .footer-links-grid ul li a:hover::before {
    opacity: 1;
}

.footer .contenedor-img-footer {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer .contenedor-img-footer img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.footer .footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid color-mix(in srgb, #212529, transparent 90%);
}

.footer .footer-bottom .footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .footer .footer-bottom .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.footer .footer-bottom .footer-bottom-content p {
    margin: 0;
    color: color-mix(in srgb, #212529, transparent 40%);
    font-size: 14px;
    font-weight: 300;
}

.footer .footer-bottom .footer-bottom-content p .sitename {
    color: #2d465e;
    font-weight: 500;
}

.scroll-top {
    height: 55px;
    width: 55px;
    line-height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5b041;
    color: #fff;
    transition: all 0.3s;
    position: fixed;
    right: 2rem;
    bottom: -4rem;
    z-index: 9999;
}

.scroll-top:hover,
.scroll-top:focus {
    color: #fff;
    text-decoration: none;
    background: #f39c12;
}

.scroll-top.visible {
    bottom: 1rem;
}

.contenedor {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

#btn-mas {
    display: none;
}

#btn-mas:checked~.redes a {
    margin-bottom: 10px;
    opacity: 1;
    visibility: visible;
}

#btn-mas:checked~.redes span {
    margin-bottom: 10px;
    opacity: 1;
    visibility: visible;
}

#btn-mas:checked~.icon-principal {
    background: #f39c12;
}

.btn-mas {
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: breathe 2s ease-in-out infinite;
}

.icon-principal {
    display: block;
    text-decoration: none;
    color: #fff;
    height: 55px;
    width: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
    transition: all 500ms ease;
}

.icon-principal {
    cursor: pointer;
    background: #f5b041;
    font-size: 24px;
}

@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(52, 152, 219, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.show-chatbot .chatbot__button span:first-child,
.chatbot__button span:last-child {
    opacity: 0;
}

.show-chatbot .chatbot__button span:last-child {
    opacity: 1;
}

.chatbot {
    position: fixed;
    bottom: 10px;
    left: 120px;
    width: 450px;
    background-color: #f3f7f8;
    border-radius: 15px;
    box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1) 0 32px 64px -48px rgba(0, 0, 0, 0.5);
    transform: scale(0.5);
    transition: transform 0.3s ease;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.chatbot__header {
    position: relative;
    background-color: #f39c12;
    text-align: center;
    padding: 12px 0;
}

.chatbot__header span {
    position: absolute;
    top: 50%;
    right: 20px;
    color: #202020;
    transform: translateY(-50%);
    cursor: pointer;
}

.chatbox__title {
    font-size: 1.2rem;
    color: #f3f7f8;
}

.chatbot__box {
    height: 520px;
    overflow: hidden;
}

.chatbot__box_creditos {
    padding: 10px;
    white-space: normal !important;
}

.form {
    width: 100%;
    max-width: 1020px;
    background-color: #fff;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    display: grid;
}

.social-information {
    color: #555;
    margin: 0.1rem 0;
    text-align: center;
    font-size: 0.95rem;
}

.contact-info {
    padding: 1rem 1rem;
    position: relative;
}

.contact-info:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100px;
    border: 22px solid #f39c12;
    border-radius: 50%;
    bottom: -77px;
    right: 50px;
    opacity: 0.3;
}

.contact-info .social-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.contact-info .social-items>* {
    width: calc(25% - 10px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

@media (max-width: 810px) {
    .banner2 .banner-img {
        width: 100% !important;
        margin-left: 10px !important;
    }

    .text-container {
        font-size: 1rem !important;
    }

    .f-dominicos {
        margin-top: 20px !important;
    }

    .cards-convents {
        height: 300px !important;
    }

    .hero-description {
        position: relative !important;
        left: 0 !important;
    }

    .hero-description p {
        margin-top: 50px !important;
    }

    .hero-date {
        left: 10px !important;
    }

    .hero-btn {
        right: 10px !important;
        padding: 5px 10px !important;
    }

    .hero-btn a {
        color: #fff !important;
        text-decoration: none !important;
    }

    .hero-convents::before {
        clip-path: polygon(0 0, 55% 0, 100% 100%, 0 100%) !important;
    }
}

@media (max-width: 430px) {
    .slider {
        height: 500px !important;
    }

    .slide img {
        height: 300px !important;
        object-fit: fill !important;
    }

    .swiper-static-text {
        width: 100% !important;
    }

    .glass-card {
        background: rgba(46, 134, 193, 0.3) !important;
        width: 90% !important;
        padding: 10px !important;
    }

    .glass-card h1 {
        font-size: 1.5rem !important;
    }

    .glass-card p {
        font-size: 1rem !important;
    }

    .glass-card .logos img {
        width: 60px !important;
        height: 60px !important;
    }

    .banner2 .banner-img img {
        width: 80% !important;
    }

    .text-container {
        font-size: 0.8rem !important;
    }

    .hero-section {
        width: 90% !important;
    }

    .blurb-card {
        max-width: 90% !important;
    }

    .cards-convents {
        height: 450px !important;
    }

    .hero-description p {
        margin-top: 100px !important;
    }

    .hero-convents {
        min-height: 75vh !important;
        padding: 2rem !important;
    }

    .hero-convents::before {
        clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%) !important;
    }

    .hero-convents .hero_inner {
        max-width: 100% !important;
    }

    .hero-convents .hero_inner h1 {
        font-size: clamp(1.2rem, 2.8vw, 2rem) !important;
    }

    .hero-convents .hero_inner p {
        max-width: 90% !important;
    }

    .page-wrap-legal .legal-header {
        gap: 10px;
    }

    .page-wrap-legal .legal-icon {
        width: 32px;
        height: 32px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 10px;
    }

    .slider-convent .overlay img {
        top: auto !important;
        bottom: 0 !important;
        width: 70px !important;
    }

    /* FOOTER */

    .chatbot {
        left: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
    }

    form,
    .contact-info {
        padding: 0.2rem 0.2rem !important;
    }

    .chatbot__box {
        height: 100% !important;
    }

    .chatbot__header span {
        display: inline !important;
    }

    .contact-info:before {
        display: none !important;
    }

    .icon-principal {
        height: 40px !important;
        width: 40px !important;
        line-height: 40px !important;
    }

    .scroll-top {
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        right: 2rem !important;
    }

    .lightbox {
        grid-template-columns: 44px 1fr 44px;
        padding: 12px;
    }
}