:root {
    --primary: #a370d3;
    --primary-light: #c59bff;
    --primary-dark: #7d2fe2;
    --accent: #FF1493;
    --success: #99ffbd;
    --success-light: #b6fcd0;
    --success-bg: #b6f7d2;
    --text-dark: #444444;
    --text-light: #ffffff;
    --text-muted: #888888;
    --border-color: #c4c4c4;
    --shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0px 4px 8px rgba(0, 0, 0, 0.2);
    --radius: 8px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
    background: linear-gradient(-45deg, var(--success-light), var(--primary-light));
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

#website {
    display: grid;
    grid-template: auto / repeat(2, 1fr);
    gap: 0px;
}

header {
    position: fixed;
    background-color: var(--primary);
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 72px;
    width: 100%;
    z-index: 100;
    box-shadow: var(--shadow);
}

#logo {
    display: block;
    justify-self: center;
    margin-right: auto;
}

#logo > img {
    height: 100%;
    width: 100%;
}

#headerbuttons {
    display: flex;
    align-self: left;
    justify-self: center;
    color: #ffffff;
    margin: 5px;
}

.headerbutton {
    text-decoration: none;
    color: #ffffff;
    padding: 12px 15px 0 15px;
    animation: open 100ms ease-in-out alternate both;
}

.headerbutton:hover {
    color: #7d2fe2;
    background-color: #99ffbd;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.button:active {
    animation: clicked 0.2s ease-in-out alternate both;
}



@keyframes clicked {
    0% {
        transform: scale3d(1,1,1);
    }
    30% {
        transform: scale3d(1.05,0.95,1.05);
    }
    60% {
        transform: scale3d(0.95, 1.05, 0.95);
    }
    100% {
        transform: scale3d(1,1,1);
    }
}

#openmenu {
    display: none;
    position: fixed;
    background-color: #a370d3;
    margin-left: auto;
    width: 100%;
    margin-top: 72px;
    padding-top: 24px;
    z-index: 15;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    animation: open 100ms ease-in-out alternate both;
}

#openmenu > ul {
    list-style-type: none;
}

#headermenu {
    display: none;
    height: 100%;
    cursor: pointer;
    align-self: left;
    justify-self: center;
    padding: 16px;
}

#subtitulo {
    background-color: #ffffff;
    grid-column: 1 / -1;
    margin-top: 72px;
    padding: 20px;
    color: #a370d3;
    display: none;
}

#subtitulo > h1 {
    margin: 0;
    font-size: 1.5em;
}

#info {
    background-color: #c59bff;
    margin-top: 72px;
    padding: 50px 50px 0px 50px;
    display: grid;
    grid-template: auto / repeat(2, 1fr);
    gap: 30px;
    color: #ffffff;
}

#vpromo {
    width: 100%;
    height: 100%;
}

#paso1 {
    background-image: url(/img/example1.jpg);
    background-position-x: center;
    background-size: cover;
}

#paso2 {
    background-image: url(/img/example.png);
    background-position-x: center;
    background-size: cover;
}

#paso3 {
    background-image: url(/img/example.png);
    background-position-x: center;
    background-size: cover;
}

#paso4 {
    background-image: url(/img/example.png);
    background-position-x: center;
    background-size: cover;
}

.ilustracion {
   /* max-width: 560px;
    */width: 100%;
}

#tpromo {
    color: #ffffff;
    font-weight: lighter;
    max-width: 560px;
    justify-self: center;
    align-self: center;
}

#tpromo > h2 {
    font-size: 2.5em;
    text-shadow: #a370d3 2px 3px;
}

#tpromo > p {
    font-size: 18px;
    text-shadow: #a370d3 1px 1px 3px;

}

.boton1 {
    grid-column: 1 / -1;
    width: 100%;
    padding: 16px;
    color: #7d2fe2;
    background-color: #99ffbd;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    border: 0;
    font-size: 1.2em;
    font-weight: lighter;
    text-align: center;
    margin-top: 0px;
    z-index: 8;
    display: inline-block;
    text-decoration: none;
    outline: none !important;
}

.boton1:hover {
    color: #ffffff;
    background-color: #FF1493;
    cursor: pointer;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.boton2 {
    grid-column: 1 / -1;
    width: 100%;
    padding: 16px;
    background-color: #a370d3;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    border: 0;
    color: #ffffff;
    font-size: 0.9em;
    font-weight: lighter;
    text-align: center;
    margin-top: 0px;
    z-index: 8;
    display: inline-block;
    text-decoration: none;
    outline: none !important;
}

.botonFiltros {
    background-color: #ffffff;
    border: #a370d3 solid 1px;
    color: #a370d3;
    box-shadow: none;
}

.botonFiltros:hover {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.boton2:hover {
    color: #7d2fe2;
    background-color: #99ffbd;
    cursor: pointer;
}

.separador {
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 100px;
    grid-column: 1 / -1;
}

.invertido {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

#separador1 {
    background-image: url(/img/separador1.svg);
    background-color: #ffffff;
}

.fullgrid {
    grid-column: 1 / -1;
}

.seccion {
    gap: 60px;
    color: #444444;
    display: grid;
    grid-column: 1 / -1;
    padding: 50px 50px 20px 50px;
    align-items: top;
    justify-items: center;
}

#herramientas0 {
    background-color: #ffffff;
    grid-template: min-content / repeat(3, 1fr);
}

#herramientas1 {
    background-color: #ffffff;
    grid-template: min-content / repeat(3, 1fr);
}

#separador2 {
    background-image: url(/img/separador2.svg);
    background-color: #b6f7d2;
}

#herramientas2 {
    background-color: #b6f7d2;
    grid-template: min-content / repeat(2, 1fr);
    color: #0d331e;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    text-align: justify;
    border-radius: 20px;
    border: solid #c59bff 0px;
    width: 100%;
    max-width: 560px;
    /*padding: 25px;*/
}

.helpcard {
    display: grid;
    align-items: center;
    justify-items: center;
    text-align: justify;
    grid-template: auto auto / 100px 1fr;
    gap: 20px;
    border-radius: 20px;
    border: solid #c59bff 0px;
    max-width: 560px;
}

.helpcard > .boticon {
    grid-row: 1 / 3;
}

.large {
    grid-column: 1 / -1;
}

.picture {
    width: 100%;
    max-width: 250px;
        align-items: center;
        justify-items: center;

}

.vidtip {
    width: 100%;
    height: 300px;
    display: none;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.section-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 2em;
    margin-bottom: 0px;
    margin-top: 0px;
}

.icon {
    max-width: 100px;
    display: block;
}

.card-title {
    margin-top: 20px;
    margin-bottom: 0px;
}

#herramientas3 {
    background-color: #c59bff;
    grid-template: min-content / repeat(3, 1fr);
}

iframe {
    grid-column: 1 / -1;
    border-radius: 8px;
}

#separador3 {
    background-image: url(/img/separador3.svg);
    background-color: #ffffff;
}

#planes {
    background-color: #ffffff;
    grid-template: min-content / repeat(3, 1fr);
    gap: 30px;
    color: #444444;
}

table {
    border: solid #c59bff 0px;
    box-shadow: #f1f1f1 3px 3px 20px;
    border-radius: 20px;
    padding: 20px;
    height: 100%;
}

table:hover {
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

td {
    padding: 12px;
    text-align: center;
}

.boticon {
    height: 22px;
    align-self: center;
    justify-self: center;
}

.resaltar {
    color: #9a4eff;
}

.verde {
/*    background-color: #99ffbd; */
    border-radius: 8px;
}

#separador4 {
    background-image: url(/img/separador2.svg);
    background-color: #c59bff;
}

#filtros {
    background-color: #b6f7d2;
    grid-template: min-content / repeat(3, 1fr);
}

#filtros > .card {
    max-width: 100%;
    height: 100%;

    background-color: #ffffff;
    padding: 15px;

    display: grid;
    gap: 0px;
}

#filtros > .card:hover {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}


#filtros > div > div > .card-title {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1em;
    text-align: center;
}

.infofiltro {
    width: 100%;
}


.iconfiltro {
    display: block;
    width: 100%;
    max-width: 125px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 3px 3px 0px #9a4eff;
    justify-self: center;
    align-self: center;
}

ul {
    padding-inline-start: 15px;
    line-height: 1.5em;
}

li {
    padding-bottom: 1.5em;
}

#planes_ {
    background-image: url(/img/separador1.svg);
    background-color: #ffffff;
}

#sobre-nosotros {
    background-color: #ffffff;
}

#filtros_ {
    background-image: url(/img/separador2.svg);
    background-color: #b6f7d2;
}

#about_ {
    background-image: url(/img/separador3.svg);
    background-color: #ffffff;
}

#contacto_ {
    background-image: url(/img/separador2.svg);
    background-color: #c59bff;
}

/* Newsletter Form Styles */
#suscripcion .fmr_form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    gap: 15px;
}

.fmr_form_row {
    width: 100%;
}

.fmr_text_input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    font-size: 16px;
    font-family: var(--font-body);
    border: 1px solid transparent;
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.3s ease;
}

.fmr_text_input:focus {
    border-color: var(--success);
}

.fmr_submit_input {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: var(--radius);
    background-color: var(--accent);
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.fmr_submit_input:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.fmr_submit_input:active {
    transform: translateY(0);
}

#fondoVentana.ventana {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(44, 36, 52, 0.85);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px;
}

/* Footer Styles */
footer {
    background-color: var(--primary);
    grid-column: 1 / -1;
    padding: 40px 20px !important;
    width: 100%;
    z-index: 100;
    color: var(--text-light);
}

footer > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    text-align: center;
}

.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.social-links a.button {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links a.button:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.social-links .boticon {
    height: 48px;
    width: auto;
}

/* Animations */
@keyframes open {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes clicked {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Media Queries */
@media (max-width: 1024px) {
    #info, #herramientas0, #herramientas1, #herramientas2, #planes, #filtros {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    #headerbuttons {
        display: none;
    }
    
    #headermenu {
        display: flex;
        margin-left: auto;
    }

    #logo {
        margin-right: auto;
    }
}

@media (min-width: 1400px) {
    #website {
        grid-template-columns: 1fr minmax(auto, 1400px) 1fr;
    }
    
    header, footer, #subtitulo, #info, .separador, .seccion {
        grid-column: 1 / -1;
    }

    .seccion-content {
        grid-column: 2;
        display: grid;
        width: 100%;
    }
}

#masInfo {
    background-color: #fefefe;
    margin: 100px auto;
    padding: 40px;
    border: 1px solid #888;
    border-radius: 5px;
    width: 80%;
    max-width: 700px;
}

#masInfoBloq {
    display: grid;
    padding-top: 20px;
    grid-template: auto / 2fr 1fr;
    align-items: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.seccion {
    height: auto;
    padding: auto;
}

#servicios:target {
    padding-top: 125px;
}


@media only screen and (max-width: 1024px) {

    #herramientas0,
    #herramientas1,
    #herramientas2,
    #filtros,
    #info,
    #planes,
    #nosotros,
    #filtros > .card {
        grid-template: auto / 1fr;
    }

    #filtros > .card {
        max-width: 560px;
    }
    
    table {
        padding: 10px;
    }

    #logo {
        width: 100%;
    }

    #headerbuttons {
        display: none;
    }

    #headermenu {
        display: block;
    }

    #headermenu:hover {
        background-color: #99ffbd;
        border-radius: 100%;
        color: #7d2fe2;
    }

    #filtros>.card {
        grid-template: auto / 1fr;
        max-width: 560px;
    }

    #masInfoBloq {
        display: grid;
        grid-template: auto / 1fr;
        align-items: center;
        padding-bottom: 20px;
    }

}

@media only screen and (max-width: 400px) {
    table {
        padding: 0px;
    }
}

@media only screen and (min-width: 1400px) {
    #website {
        grid-template: auto / 10% 1fr 1fr 10%;
    }

    .separador,
    .seccion {
        grid-column: 2 / 4;
     }

     .infofiltro {
         width: 80%;
     }

}