/* ---------------- Title ---------------- */

#title {
    font-family: Helvetica, Geneva, sans-serif;
    /* Any font would work, but SansSerif looks better */
}

#title:focus {
    outline: none;
}

#title span {
    vertical-align: middle;
    line-height: 1.5em;
    font-size: 4vw;
    /* 8% del ancho de la ventana */
    text-shadow: -0.06em 0 rgba(255, 0, 0, 0.8), 0.06em 0 rgba(0, 255, 255, 0.8);
    /* This creates the 3D effect, pretty easy, eh? */
    letter-spacing: 0.08em;
    /* make sure the letters don't overlap */
}

/* En pantallas pequeñas (por debajo de 768px), agrandamos el texto */

@media screen and (max-width: 768px) {
    #title span {
        font-size: 6vw;
        /* más grande en móviles */
    }
}

.slide-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 16rem;
    border: 4px solid #FE5433;
    border-radius: 0.5rem;
    background-color: #e5e7eb;
    overflow: hidden;
    cursor: pointer;
}

.plus-sign {
    font-size: 2rem;
    color: #9ca3af;
    z-index: 10;
}

.preview-image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
    z-index: 5;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.delete-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #fe553397;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 16px;
    cursor: pointer;
    z-index: 20;
}

.swiper-button-prev,
.swiper-button-next {
    color: #FE5433 !important;
    /* color base naranja */
    text-shadow:
        0 0 8px #FF7D66,
        0 0 15px #FE5433,
        0 0 25px #E64628,
        0 0 35px #C03A1F;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #FF7D66 !important;
    /* tono más claro al hover */
    text-shadow:
        0 0 12px #FFA28F,
        0 0 25px #FF7D66,
        0 0 35px #FE5433,
        0 0 50px #E64628;
    transform: scale(1.15);
}

.card-slider {
    position: relative;
    width: 100%;
    height: 300px;
    margin: auto;
    perspective: 1000px;
}

.card-slider input {
    display: none;
}

.cards {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;

    /* Fix Android render */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.cardtatto {
    justify-self: center !important;
    margin: 0 auto;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.6s ease, opacity 0.6s ease;
    /* centra en X */
}

.cardtatto img {
    margin: 0 auto;
    width: 200px;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Card activa */

#card1:checked~.cards label:nth-child(1) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

#card1:checked~.cards label:nth-child(2) {
    transform: translateX(40px) scale(0.9) rotate(-5deg);
    z-index: 2;
}

#card1:checked~.cards label:nth-child(3) {
    transform: translateX(80px) scale(0.8) rotate(-10deg);
    z-index: 1;
}

/* Card 2 activa */

#card2:checked~.cards label:nth-child(1) {
    transform: translateX(-40px) scale(0.9) rotate(5deg);
    z-index: 2;
}

#card2:checked~.cards label:nth-child(2) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

#card2:checked~.cards label:nth-child(3) {
    transform: translateX(40px) scale(0.9) rotate(-5deg);
    z-index: 2;
}

#card2:checked~.cards label:nth-child(4) {
    transform: translateX(80px) scale(0.8) rotate(-10deg);
    z-index: 1;
}

/* Card 3 activa */

#card3:checked~.cards label:nth-child(1) {
    transform: translateX(-80px) scale(0.8) rotate(10deg);
    z-index: 1;
}

#card3:checked~.cards label:nth-child(2) {
    transform: translateX(-40px) scale(0.9) rotate(5deg);
    z-index: 2;
}

#card3:checked~.cards label:nth-child(3) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

#card3:checked~.cards label:nth-child(4) {
    transform: translateX(40px) scale(0.9) rotate(-5deg);
    z-index: 2;
}

#card3:checked~.cards label:nth-child(5) {
    transform: translateX(80px) scale(0.8) rotate(-10deg);
    z-index: 1;
}

/* Card 4 activa */

#card4:checked~.cards label:nth-child(2) {
    transform: translateX(-80px) scale(0.8) rotate(10deg);
    z-index: 1;
}

#card4:checked~.cards label:nth-child(3) {
    transform: translateX(-40px) scale(0.9) rotate(5deg);
    z-index: 2;
}

#card4:checked~.cards label:nth-child(4) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

#card4:checked~.cards label:nth-child(5) {
    transform: translateX(40px) scale(0.9) rotate(-5deg);
    z-index: 2;
}

#card4:checked~.cards label:nth-child(6) {
    transform: translateX(80px) scale(0.8) rotate(-10deg);
    z-index: 1;
}

/* Card 5 activa */

#card5:checked~.cards label:nth-child(3) {
    transform: translateX(-80px) scale(0.8) rotate(10deg);
    z-index: 1;
}

#card5:checked~.cards label:nth-child(4) {
    transform: translateX(-40px) scale(0.9) rotate(5deg);
    z-index: 2;
}

#card5:checked~.cards label:nth-child(5) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

#card5:checked~.cards label:nth-child(6) {
    transform: translateX(40px) scale(0.9) rotate(-5deg);
    z-index: 2;
}

#card5:checked~.cards label:nth-child(7) {
    transform: translateX(80px) scale(0.8) rotate(-10deg);
    z-index: 1;
}

/* Card 6 activa */

#card6:checked~.cards label:nth-child(4) {
    transform: translateX(-80px) scale(0.8) rotate(10deg);
    z-index: 1;
}

#card6:checked~.cards label:nth-child(5) {
    transform: translateX(-40px) scale(0.9) rotate(5deg);
    z-index: 2;
}

#card6:checked~.cards label:nth-child(6) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

#card6:checked~.cards label:nth-child(7) {
    transform: translateX(40px) scale(0.9) rotate(-5deg);
    z-index: 2;
}

#card6:checked~.cards label:nth-child(8) {
    transform: translateX(80px) scale(0.8) rotate(-10deg);
    z-index: 1;
}

/* Card 7 activa */

#card7:checked~.cards label:nth-child(5) {
    transform: translateX(-80px) scale(0.8) rotate(10deg);
    z-index: 1;
}

#card7:checked~.cards label:nth-child(6) {
    transform: translateX(-40px) scale(0.9) rotate(5deg);
    z-index: 2;
}

#card7:checked~.cards label:nth-child(7) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

#card7:checked~.cards label:nth-child(8) {
    transform: translateX(40px) scale(0.9) rotate(-5deg);
    z-index: 2;
}

#card7:checked~.cards label:nth-child(9) {
    transform: translateX(80px) scale(0.8) rotate(-10deg);
    z-index: 1;
}

/* Card 8 activa */

#card8:checked~.cards label:nth-child(6) {
    transform: translateX(-80px) scale(0.8) rotate(10deg);
    z-index: 1;
}

#card8:checked~.cards label:nth-child(7) {
    transform: translateX(-40px) scale(0.9) rotate(5deg);
    z-index: 2;
}

#card8:checked~.cards label:nth-child(8) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

#card8:checked~.cards label:nth-child(9) {
    transform: translateX(40px) scale(0.9) rotate(-5deg);
    z-index: 2;
}

#card8:checked~.cards label:nth-child(10) {
    transform: translateX(80px) scale(0.8) rotate(-10deg);
    z-index: 1;
}

/* Card 9 activa */

#card9:checked~.cards label:nth-child(7) {
    transform: translateX(-80px) scale(0.8) rotate(10deg);
    z-index: 1;
}

#card9:checked~.cards label:nth-child(8) {
    transform: translateX(-40px) scale(0.9) rotate(5deg);
    z-index: 2;
}

#card9:checked~.cards label:nth-child(9) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

#card9:checked~.cards label:nth-child(10) {
    transform: translateX(40px) scale(0.9) rotate(-5deg);
    z-index: 2;
}

/* Card 10 activa */

#card10:checked~.cards label:nth-child(8) {
    transform: translateX(-80px) scale(0.8) rotate(10deg);
    z-index: 1;
}

#card10:checked~.cards label:nth-child(9) {
    transform: translateX(-40px) scale(0.9) rotate(5deg);
    z-index: 2;
}

#card10:checked~.cards label:nth-child(10) {
    transform: translateX(0) scale(1);
    z-index: 3;
}

/* Contenedor de controles */

.controls {
    margin: 0 auto;
    left: 0;
    right: 0;
    justify-content: center;
    display: flex;
    z-index: 100;
    position: absolute;
    bottom: -30px;
    width: -moz-max-content;
    width: max-content;
    text-align: center;
}

/* Bullets inactivos */

.controls label {
    opacity: 1;
    background: #FFC8B8;
    /* orange-200 */
    width: 12px;
    height: 12px;
    margin: 0 6px;
    display: inline-block;
    border-radius: 50%;
    box-shadow: 0 0 6px #FF7D66;
    /* orange-400 */
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    transform-origin: center;
    cursor: pointer;
}

/* Hover sobre bullets */

.controls label:hover {
    background: rgba(254, 84, 51, 0.85);
    /* orange-500 con opacidad */
    box-shadow:
        0 0 10px #FF7D66,
        /* orange-400 */
        0 0 20px rgba(254, 84, 51, 0.25);
    /* orange-500 glow */
    transform: scale(1.12);
}

/* Bullets activos */

input#card1:checked~.controls label[for="card1"],
input#card2:checked~.controls label[for="card2"],
input#card3:checked~.controls label[for="card3"],
input#card4:checked~.controls label[for="card4"],
input#card5:checked~.controls label[for="card5"],
input#card6:checked~.controls label[for="card6"],
input#card7:checked~.controls label[for="card7"],
input#card8:checked~.controls label[for="card8"],
input#card9:checked~.controls label[for="card9"],
input#card10:checked~.controls label[for="card10"] {
    opacity: 1;
    background: #FE5433;
    /* orange-500 */
    box-shadow:
        0 0 10px #FF7D66,
        /* orange-400 */
        0 0 28px rgba(254, 84, 51, 0.45),
        0 0 60px rgba(254, 84, 51, 0.18);
    transform: scale(1.35);
    animation: bulletPulse 1.6s infinite ease-in-out;
}

/* Animación de pulso */

@keyframes bulletPulse {
    0% {
        box-shadow:
            0 0 10px #FF7D66,
            0 0 28px rgba(254, 84, 51, 0.45),
            0 0 60px rgba(254, 84, 51, 0.18);
    }

    50% {
        box-shadow:
            0 0 14px #FF7D66,
            0 0 42px rgba(254, 84, 51, 0.55),
            0 0 90px rgba(254, 84, 51, 0.22);
    }

    100% {
        box-shadow:
            0 0 10px #FF7D66,
            0 0 28px rgba(254, 84, 51, 0.45),
            0 0 60px rgba(254, 84, 51, 0.18);
    }
}

.btn-prev,
.btn-next {
    color: #ffffff;
    /* tono naranja base */
    text-shadow:
        0 0 8px #FF7D66,
        /* glow suave */
        0 0 15px #FE5433,
        /* glow principal */
        0 0 25px #E64628,
        /* glow intenso */
        0 0 35px #C03A1F;
    /* glow profundo */
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.btn-prev:hover,
.btn-next:hover {
    text-shadow:
        0 0 12px #FFA28F,
        /* glow cálido */
        0 0 25px #FF7D66,
        /* más luminoso */
        0 0 35px #FE5433,
        /* base vibrante */
        0 0 50px #E64628;
    /* resplandor fuerte */
    transform: scale(1.05);
}

/* Global Stylings */

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: white;
}

input {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
}

select {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    appearance: none;
    /* Chrome/Safari */
    -webkit-appearance: none;
    /* Safari iOS */
    -moz-appearance: none;
    /* Firefox */
    background: url('data:image/svg+xml,...') no-repeat right center;
    /* si quieres flecha personalizada */
    background-size: 1em;
}

/* Progressbar */

.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    counter-reset: step;
    margin: 2rem 0 2rem;
}

/* Línea base */

.progressbar::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 10px;
    /* más grande */
    width: 100%;
    background-color: #9b1f068a;
    box-shadow: 0 0 15px #d34c31;
    /* glow naranja */
    border-radius: 5px;
    z-index: -1;
}

/* Línea de progreso */

.progress {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 10px;
    width: 0%;
    background-color: #FE5433;
    box-shadow: 0 0 20px #c82909;
    border-radius: 5px;
    transition: width 0.3s ease;
    z-index: -1;
}

/* Pasos */

.progress-step {
    width: 3rem;
    height: 3rem;
    background-color: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    /* para íconos más grandes */
    color: white;
    box-shadow: 0 0 10px #c82909;
    transition: all 0.3s ease;
}

/* Íconos dentro de los pasos */

.progress-step i {
    font-size: 1.4rem;
    color: gray;
    /* color por defecto para los inactivos */
}

/* Íconos dentro de pasos activos */

.progress-step.progress-step-active i {
    color: white;
    /* solo los activos */
}

.progress-step::before {
    content: "";
    /* eliminamos número */
}

/* Texto debajo */

.progress-step::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 0.5rem);
    font-size: 0.9rem;
    color: #aaa;
}

/* Activo */

.progress-step-active {
    background-color: #FE5433;
    box-shadow: 0 0 20px #fe55335b;
    color: white;
}

.form {
    width: min(90%, 900px);
    /* hasta 900px en pantallas grandes, pero 90% en móviles */
    margin: 0 auto;
    padding-top: 1.5rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    overflow: hidden;
    min-height: 100vh;
}

@keyframes zoom-bounce {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
        /* leve sobreescala */
        opacity: 1;
    }

    70% {
        transform: scale(0.98);
        /* pequeño rebote hacia atrás */
    }

    100% {
        transform: scale(1);
        /* tamaño final */
    }
}

.form-step {
    display: none;
    transform-origin: center;
    /* zoom desde el centro */
}

.form-step-active {
    display: block;
    animation: zoom-bounce 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Contenedor interno centrado vertical y horizontalmente solo en el step activo */

.form-step-active .step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centra verticalmente */
    align-items: center;
    /* centra horizontalmente */
    height: calc(100vh - 300px);
    /* opcional: ajusta según altura del progressbar */
}

.input-group {
    margin: 2rem 0;
}

/* Contenedor principal */

.container-wrapper {
    display: flex;
    justify-content: center;
    /* centra horizontalmente los hijos */
    align-items: flex-start;
    /* alinea arriba */
    flex-wrap: wrap;
    /* permite que los hijos bajen si no hay espacio */
}

/* Contenedor de la imagen */

.container-wrapper>.container {
    flex: 1;
    width: 50%;
    display: flex;
    justify-content: center;
    /* centra la imagen */
}

/* Contenedor de los inputs */

.container-wrapper>.inputs-container {
    flex: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    /* apila los inputs en columna */
    gap: 1rem;
    /* espacio entre inputs */
}

/* Centrar la imagen dentro de container */

.container .image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

/* Tablets: 769px a 1024px */

@media (min-width: 769px) and (max-width: 1024px) {

    .container-wrapper>.container,
    .container-wrapper>.inputs-container {
        flex: 0 0 50%;
        /* cada columna ocupa 50% */
        width: 50%;

    }

    .container-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .container-2 {
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .form {
        padding-bottom: 1.5rem
    }

    .container-inline {

        gap: 0px !important;

    }

    .container-3 {
        margin: 0 auto;
    }

    body {
        min-height: 100vh;

    }

    .splash-container {
        width: 75% !important;
    }
}

/* Móviles: hasta 768px */

@media (max-width: 768px) {
    body {
        min-height: 100vh;

    }

    .container-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .container-wrapper>.container,
    .container-wrapper>.inputs-container {
        flex: 1;
        width: 100% !important;
    }

    .container-2 {
        width: 100% !important;
        margin-bottom: 30px;
        margin-top: 40px;
    }

    .container-3 {
        width: 100% !important;
    }

    .form {
        padding-bottom: 1.5rem
    }

    .container-inline {

        gap: 0px !important;

    }

    .splash-container {
        width: 100% !important;
    }

    #splash2 h2 {
        font-size: x-large !important;
    }

    #splash2 p {
        font-size: medium !important;
    }
}

.container-2 {
    width: 50%;
}

.container-3 {
    width: 50%;
}

.container-2>div {
    margin-bottom: 20px;
    /* Ajusta el valor según el espacio que quieras */
}

.container-inline {
    display: flex;
    flex-wrap: nowrap;
    /* nunca se baja */
    gap: 20px;
    /* separación en X */
    align-items: flex-start;
}

.container-inline .container-3 {
    width: 50%;
    /* mitad cada uno */
}

.container {
    position: relative;
}

.image {
    position: relative;
    display: inline-block;
}

.image img {
    display: block;
    max-width: 150px;
    height: auto;
    border: 1px solid #ccc;
}

/* Flecha vertical */

.height-arrow {
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.height-arrow::before,
.height-arrow::after {
    content: "";
    width: 0;
    height: 0;
    border: 8px solid transparent;
}

.height-arrow::before {
    border-bottom: 8px solid white;
}

.height-arrow::after {
    border-top: 8px solid white;
}

.height-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: bold;
    background: white;
    padding: 2px 5px;
    border-radius: 4px;
}

/* Flecha horizontal */

.width-arrow {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.width-arrow::before,
.width-arrow::after {
    content: "";
    width: 0;
    height: 0;
    border: 8px solid transparent;
}

.width-arrow::before {
    border-right: 8px solid white;
}

.width-arrow::after {
    border-left: 8px solid white;
}

.width-text {
    font-weight: bold;
    background: white;
    padding: 2px 5px;
    border-radius: 4px;
}

/* Button */

.btns-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    /* centra los contenedores */
    gap: 0;
    /* opcional, si quieres que estén juntos */
}

.btn-container {
    width: 50%;
    /* cada contenedor ocupa la mitad */
    display: flex;
    justify-content: center;
    /* centra el botón dentro del contenedor */
}

.btn {
    display: inline-block;
    /* solo ocupa espacio del texto + padding */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

h1 {
    font-size: 3rem;
    /* tamaño grande */
    font-weight: bolder;
    /* negrita */
    text-align: center;
    /* centrado */
    color: white;
    /* color oscuro para contraste */
    margin-bottom: 1.5rem;
    /* espacio debajo */
    font-family: sans-serif;

}

/* Si quieres que sea más grande en pantallas grandes */

@media (min-width: 768px) {
    h1 {
        font-size: 6rem;
    }
}

.hero {
    font-size: clamp(50px, 10vw, 80px);
    line-height: 1;

    color: #fff;
    z-index: 2;
    letter-spacing: 10px;

    /* Bright things in dark environments usually cast that light, giving off a glow */
    filter: drop-shadow(0 1px 3px);
}

.layers {
    position: relative;
}

.layers::before,
.layers::after {
    content: attr(data-text);
    position: absolute;
    width: 110%;
    z-index: -1;
}

.layers::before {
    top: 10px;
    left: 15px;
    color: #e0287d;
}

.layers::after {
    top: 5px;
    left: -10px;
    color: #1bc7fb;
}

.single-path {
    clip-path: polygon(0% 12%,
            53% 12%,
            53% 26%,
            25% 26%,
            25% 86%,
            31% 86%,
            31% 0%,
            53% 0%,
            53% 84%,
            92% 84%,
            92% 82%,
            70% 82%,
            70% 29%,
            78% 29%,
            78% 65%,
            69% 65%,
            69% 66%,
            77% 66%,
            77% 45%,
            85% 45%,
            85% 26%,
            97% 26%,
            97% 28%,
            84% 28%,
            84% 34%,
            54% 34%,
            54% 89%,
            30% 89%,
            30% 58%,
            83% 58%,
            83% 5%,
            68% 5%,
            68% 36%,
            62% 36%,
            62% 1%,
            12% 1%,
            12% 34%,
            60% 34%,
            60% 57%,
            98% 57%,
            98% 83%,
            1% 83%,
            1% 53%,
            91% 53%,
            91% 84%,
            8% 84%,
            8% 83%,
            4% 83%);
}

.paths {
    animation: paths 5s step-end infinite;
}

@keyframes paths {
    0% {
        clip-path: polygon(0% 43%,
                83% 43%,
                83% 22%,
                23% 22%,
                23% 24%,
                91% 24%,
                91% 26%,
                18% 26%,
                18% 83%,
                29% 83%,
                29% 17%,
                41% 17%,
                41% 39%,
                18% 39%,
                18% 82%,
                54% 82%,
                54% 88%,
                19% 88%,
                19% 4%,
                39% 4%,
                39% 14%,
                76% 14%,
                76% 52%,
                23% 52%,
                23% 35%,
                19% 35%,
                19% 8%,
                36% 8%,
                36% 31%,
                73% 31%,
                73% 16%,
                1% 16%,
                1% 56%,
                50% 56%,
                50% 8%);
    }

    5% {
        clip-path: polygon(0% 29%,
                44% 29%,
                44% 83%,
                94% 83%,
                94% 56%,
                11% 56%,
                11% 64%,
                94% 64%,
                94% 70%,
                88% 70%,
                88% 32%,
                18% 32%,
                18% 96%,
                10% 96%,
                10% 62%,
                9% 62%,
                9% 84%,
                68% 84%,
                68% 50%,
                52% 50%,
                52% 55%,
                35% 55%,
                35% 87%,
                25% 87%,
                25% 39%,
                15% 39%,
                15% 88%,
                52% 88%);
    }

    30% {
        clip-path: polygon(0% 53%,
                93% 53%,
                93% 62%,
                68% 62%,
                68% 37%,
                97% 37%,
                97% 89%,
                13% 89%,
                13% 45%,
                51% 45%,
                51% 88%,
                17% 88%,
                17% 54%,
                81% 54%,
                81% 75%,
                79% 75%,
                79% 76%,
                38% 76%,
                38% 28%,
                61% 28%,
                61% 12%,
                55% 12%,
                55% 62%,
                68% 62%,
                68% 51%,
                0% 51%,
                0% 92%,
                63% 92%,
                63% 4%,
                65% 4%);
    }

    45% {
        clip-path: polygon(0% 33%,
                2% 33%,
                2% 69%,
                58% 69%,
                58% 94%,
                55% 94%,
                55% 25%,
                33% 25%,
                33% 85%,
                16% 85%,
                16% 19%,
                5% 19%,
                5% 20%,
                79% 20%,
                79% 96%,
                93% 96%,
                93% 50%,
                5% 50%,
                5% 74%,
                55% 74%,
                55% 57%,
                96% 57%,
                96% 59%,
                87% 59%,
                87% 65%,
                82% 65%,
                82% 39%,
                63% 39%,
                63% 92%,
                4% 92%,
                4% 36%,
                24% 36%,
                24% 70%,
                1% 70%,
                1% 43%,
                15% 43%,
                15% 28%,
                23% 28%,
                23% 71%,
                90% 71%,
                90% 86%,
                97% 86%,
                97% 1%,
                60% 1%,
                60% 67%,
                71% 67%,
                71% 91%,
                17% 91%,
                17% 14%,
                39% 14%,
                39% 30%,
                58% 30%,
                58% 11%,
                52% 11%,
                52% 83%,
                68% 83%);
    }

    76% {
        clip-path: polygon(0% 26%,
                15% 26%,
                15% 73%,
                72% 73%,
                72% 70%,
                77% 70%,
                77% 75%,
                8% 75%,
                8% 42%,
                4% 42%,
                4% 61%,
                17% 61%,
                17% 12%,
                26% 12%,
                26% 63%,
                73% 63%,
                73% 43%,
                90% 43%,
                90% 67%,
                50% 67%,
                50% 41%,
                42% 41%,
                42% 46%,
                50% 46%,
                50% 84%,
                96% 84%,
                96% 78%,
                49% 78%,
                49% 25%,
                63% 25%,
                63% 14%);
    }

    90% {
        clip-path: polygon(0% 41%,
                13% 41%,
                13% 6%,
                87% 6%,
                87% 93%,
                10% 93%,
                10% 13%,
                89% 13%,
                89% 6%,
                3% 6%,
                3% 8%,
                16% 8%,
                16% 79%,
                0% 79%,
                0% 99%,
                92% 99%,
                92% 90%,
                5% 90%,
                5% 60%,
                0% 60%,
                0% 48%,
                89% 48%,
                89% 13%,
                80% 13%,
                80% 43%,
                95% 43%,
                95% 19%,
                80% 19%,
                80% 85%,
                38% 85%,
                38% 62%);
    }

    1%,
    7%,
    33%,
    47%,
    78%,
    93% {
        clip-path: none;
    }
}

.movement {
    /* Normally this position would be absolute & on the layers, set to relative here so we can see it on the div */
    position: relative;
    animation: movement 8s step-end infinite;
}

@keyframes movement {
    0% {
        top: 0px;
        left: -20px;
    }

    15% {
        top: 10px;
        left: 10px;
    }

    60% {
        top: 5px;
        left: -10px;
    }

    75% {
        top: -5px;
        left: 20px;
    }

    100% {
        top: 10px;
        left: 5px;
    }
}

.opacity {
    animation: opacity 5s step-end infinite;
}

@keyframes opacity {
    0% {
        opacity: 0.1;
    }

    5% {
        opacity: 0.7;
    }

    30% {
        opacity: 0.4;
    }

    45% {
        opacity: 0.6;
    }

    76% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.8;
    }

    1%,
    7%,
    33%,
    47%,
    78%,
    93% {
        opacity: 0;
    }
}

.font {
    animation: font 7s step-end infinite;
}

@keyframes font {
    0% {
        font-weight: 100;
        color: #e0287d;
        filter: blur(3px);
    }

    20% {
        font-weight: 500;
        color: #fff;
        filter: blur(0);
    }

    50% {
        font-weight: 300;
        color: #1bc7fb;
        filter: blur(2px);
    }

    60% {
        font-weight: 700;
        color: #fff;
        filter: blur(0);
    }

    90% {
        font-weight: 500;
        color: #e0287d;
        filter: blur(6px);
    }
}

.glitch span {
    animation: paths 5s step-end infinite;
}

.glitch::before {
    animation: paths 5s step-end infinite, opacity 5s step-end infinite,
        font 8s step-end infinite, movement 10s step-end infinite;
}

.glitch::after {
    animation: paths 5s step-end infinite, opacity 5s step-end infinite,
        font 7s step-end infinite, movement 8s step-end infinite;
}

.textarea textarea:focus {
    outline: none;
    /* quita el azul */
    border-color: #FE5433 !important;
    /* mantiene tu color personalizado */
    box-shadow: none;
    /* elimina cualquier glow del navegador */
}

/* Quitar estilo nativo en Chrome y Safari */

input[type="date"] {

    -webkit-appearance: none;

       -moz-appearance: none;

            appearance: none;
    /* estándar */
    border: 1px solid #ccc;
    padding: 0.75rem !important;
    font-size: 1rem;
    width: 100%;
    height: -moz-max-content;
    height: max-content;
    box-sizing: border-box;
}

input {
    font-family: inherit;
    line-height: inherit;
    color: #2e3750;
    width: 100%;
    font-size: 1rem;
}

::-moz-placeholder {
    color: #cbd0d5;
}

::placeholder {
    color: #cbd0d5;
}

/* Splash screen */

#splash2 {
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 1);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    text-align: center;
    padding: 20px;
}

.splash-container {
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

#splash2 h2 {
    color: white;
    margin: 10px;
    font-size: xx-large;
}

#splash2 p {
    color: white;
    margin: 20px 0;
    font-size: x-large;
}

.splash2-btns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.btn-back {
    background: none !important;
}

.btn-reset {
    background: none !important;
}

.splash2-btn {
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    margin-top: 15px;
}

.btn-back,
.btn-reset {
    color: #ffffff;
    /* tono naranja base */
    text-shadow:
        0 0 8px #FF7D66,
        /* glow suave naranja medio */
        0 0 15px #FE5433,
        /* glow base */
        0 0 25px #E64628,
        /* glow intenso */
        0 0 35px #C03A1F;
    /* glow profundo */
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.btn-back:hover,
.btn-reset:hover {
    text-shadow:
        0 0 12px #FFA28F,
        /* glow suave */
        0 0 25px #FF7D66,
        /* más luminoso */
        0 0 35px #FE5433,
        /* base vibrante */
        0 0 50px #E64628;
    /* resplandor cálido */
    transform: scale(1.05);
}

.artist-image {
    width: 100%;
    /* tamaño */
    height: 100%;
    /* tamaño */
    border-radius: 50%;
    /* para que sea circular */
    -o-object-fit: cover;
       object-fit: cover;
    /* ajusta la imagen al tamaño */
}

.skin-preview {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid #FE5433;
    /* naranja base */
    box-shadow: 0 0 15px rgba(254, 84, 51, 0.25);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

input[type="range"] {
    width: 100%;
    margin: 10px 0;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #FBE8E0, #4E2E1A);
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FE5433;
    border: 2px solid white;
    box-shadow: 0 0 8px rgba(254, 84, 51, 0.5);
    -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(254, 84, 51, 0.7);
}

.tone-label {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.radio-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    border: 2px solid #FE5433;
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.25s ease;
    width: 110px;
    text-align: center;
    box-shadow: 0 0 8px rgba(254, 84, 51, 0.15);
}

.radio-item:hover {
    background-color: #FFE7E0;
    transform: translateY(-3px);
}

.radio-item i {
    font-size: 26px;
    color: #FE5433;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.radio-item span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.radio-item input[type="radio"] {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.radio-item:has(input[type="radio"]:checked) {
    background-color: #FE5433;
    border-color: #FE5433;
    box-shadow: 0 0 15px rgba(254, 84, 51, 0.35);
    color: #fff;
}

.radio-item:has(input[type="radio"]:checked) i,
.radio-item:has(input[type="radio"]:checked) span {
    color: #fff;
}

/* MEDIA QUERY para móviles */

@media (max-width: 767px) {
    .radio-options {
        flex-direction: column;
        align-items: center;
    }

    .radio-item {
        width: 90%;
        max-width: 350px;
        padding: 25px 20px;
    }

    .radio-item i {
        font-size: 36px;
        /* iconos más grandes */
    }

    .radio-item span {
        font-size: 18px;
        /* texto más grande */
    }
}

.budget-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.budget-slider input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, #FFE7E0 0%, #FE5433 100%);
    outline: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.budget-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FE5433;
    border: 3px solid #fff;
    box-shadow: 0 0 8px rgba(254, 84, 51, 0.35);
    -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.budget-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(254, 84, 51, 0.55);
}

.budget-value {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #FE5433;
    background: #FFE7E0;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(254, 84, 51, 0.15);
    display: flex;
    align-items: center;
    gap: 4px;
}

.budget-value input {
    width: 80px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #FE5433;
    text-align: center;
    outline: none;
}

/* Móvil */

@media (max-width: 768px) {
    .budget-slider input[type="range"] {
        height: 14px;
    }

    .budget-slider input[type="range"]::-webkit-slider-thumb {
        width: 32px;
        height: 32px;
    }

    .budget-value {
        font-size: 20px;
        padding: 10px 20px;
    }

    .budget-value input {
        width: 100px;
        font-size: 20px;
    }
}

/* === Layout principal (mobile-first: 1 columna) === */

.result-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* UNA COLUMNA en móviles */
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    color: #f9fafb;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Asegura que los elementos con .col-span-2 ocupen todo el ancho (tanto móvil como desktop) */

.result-grid>.col-span-2 {
    grid-column: 1 / -1;
}

/* > En pantallas grandes: 2 columnas */

@media (min-width: 1024px) {
    .result-grid {
        grid-template-columns: repeat(2, 1fr);
        /* DOS columnas en pantallas grandes */
        align-items: start;
    }

    /* Los col-span-2 ya están configurados en la regla anterior (siguen ocupando ambas columnas) */
}

/* Estilizado de sección/títulos */

.section-title {
    color: #FF7D66;
    /* theme-orange 400/500 family */
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

/* Cuadro de tono de piel */

.tone-box {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* =========== Referencias: grid responsive =========== */

/* Mobile: 1 columna; tablet+: 3 columnas (ajusta breakpoints a tu gusto) */

.ref-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* MOBILE: 1 columna */
    gap: 0.75rem;
    justify-items: center;
    align-items: start;
    width: 100%;
}

/* Tablet / Desktop: más columnas */

@media (min-width: 640px) {
    .ref-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

@media (min-width: 1024px) {
    .ref-grid {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
    }
}

/* Cada item de referencia (tamaño consistente y object-fit) */

.ref-item {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    background: #111;
}

@media (min-width: 1024px) {
    .ref-item {
        width: 144px;
        height: 144px;
    }
}

.ref-item img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    /* importante para recortar sin deformar */
}

/* Zona image (mismo estilo que ref-item) */

.img-box,
.zona-img-item {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    background: #111;
    margin: 0 auto;
}

@media (min-width: 1024px) {

    .img-box,
    .zona-img-item {
        width: 144px;
        height: 144px;
    }
}

.img-box img,
.zona-img-item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

/* Texto cuando no hay referencias */

.no-ref {
    color: #cfcfcf;
    font-style: italic;
    text-align: center;
    grid-column: 1 / -1;
}
