* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f5f5f5;
    color: #222;
    padding: 30px;
}

form {
    max-width: 600px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

form input,
form textarea,
form button {
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
}

form input,
form textarea {
    background: #f0f0f0;
}

form textarea {
    resize: none;
    min-height: 100px;
}

form button {
    background: #222;
    color: white;
    cursor: pointer;
    transition: .3s;
}

form button:hover {
    background: #000;
}

.mainSwiper {
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.mainSwiper .swiper-slide {
    background: white;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.miniSwiper {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.miniSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

small {
    display: block;
    margin-bottom: 8px;
    color: #888;
}

span {
    display: inline-block;
    background: #222;
    color: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #222;
}

.admin-btn {
    display: block;
    width: fit-content;
    margin: 30px auto;
    background: #222;
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
}

/* RESPONSIVE TABLET */
@media (max-width: 900px) {
    body {
        padding: 20px;
    }

    .miniSwiper {
        height: 320px;
    }

    h2 {
        font-size: 24px;
    }
}

/* RESPONSIVE CELULAR */
@media (max-width: 600px) {
    body {
        padding: 12px;
    }

    form {
        padding: 18px;
        border-radius: 16px;
    }

    .mainSwiper .swiper-slide {
        padding: 18px;
        border-radius: 18px;
    }

    /* CONTENEDOR 4:3 */
    .miniSwiper {
        width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
        overflow: hidden;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    /* IMAGENES */
    .miniSwiper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
        line-height: 1.5;
    }

    small,
    span {
        font-size: 13px;
    }

    .admin-btn {
        width: 100%;
        text-align: center;
    }

    .swiper-button-next,
    .swiper-button-prev {
        transform: scale(0.75);
    }
}

/* MOBILE FULLSCREEN STYLE */
@media (max-width: 600px) {

    body {
        padding: 0;
        background: #fff;
    }

    .mainSwiper {
        width: 100vw;
        height: 100vh;
        max-width: none;
    }

    .mainSwiper .swiper-slide {
        width: 100vw !important;
        min-height: 100vh;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .miniSwiper {
        width: 100%;
        height: 45vh;
        border-radius: 0;
        margin-bottom: 0;
    }

    .miniSwiper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    h2,
    p,
    small,
    span {
        margin-left: 20px;
        margin-right: 20px;
    }

    h2 {
        margin-top: 20px;
        font-size: 24px;
    }

    p {
        font-size: 15px;
    }

    .admin-btn {
        width: calc(100% - 40px);
        margin: 20px;
        text-align: center;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: white;
        transform: scale(.8);
    }
}

/* BOTON */
.dark-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    border: none;
    background: #222;
    color: white;
    padding: 12px 14px;
    border-radius: 50%;
    cursor: pointer;
}

/* DARK MODE */
body.dark {
    background: #111;
    color: #eee;
}

body.dark .mainSwiper .swiper-slide,
body.dark form {
    background: #1b1b1b;
    color: white;
    box-shadow: none;
}

body.dark form input,
body.dark form textarea {
    background: #2a2a2a;
    color: white;
}

body.dark p,
body.dark small {
    color: #bbb;
}

body.dark .admin-btn,
body.dark form button,
body.dark span {
    background: white;
    color: #111;
}

body.dark .swiper-button-next,
body.dark .swiper-button-prev {
    color: white;
}