@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,800;1,6..12,400;1,6..12,800&display=swap');

/* Colores *********************************/
:root {
    --negro: #111;
    --gris-oscuro: #35434f;
    --gris-claro: #8a8a8a;
    --blanco: #fff;
    --accent: #18b2c8;
    --accent2: #4341a0;
    --ancho-maximo: 1280px;
}

/* Reset ***********************************/
*, *:before, *:after { box-sizing: inherit; }
* {
    margin: 0;
    padding: 0;
    font: inherit;
}
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    min-height: 100dvh;
}
img, picture, svg, video {
    display: block;
    max-width: 100%;
}

/* Definiciones básicas ***********************/
body {
    color: var(--blanco);
    background-color: var(--negro);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
    max-width: 100vw;
    max-width: 100dvw;
    overflow-x: hidden;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    display: flex;
    flex-direction: column;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    color: var(--accent);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 {
    font-size: 22px;
    line-height: 1.1rem;
}
h4 { font-size: 28px; }

.contenedor {
    margin: 2em auto;
    width: 94%;
    max-width: var(--ancho-maximo);
}
.centrado { text-align: center; }
.justificado { text-align: justify; }
.derecha { text-align: right; }
.separador { height: 2rem; }

.accent { color: var(--accent) !important; }
.accent2 { color: var(--accent2) !important; }
.fondo-negro {
    color: var(--blanco);
    background-color: var(--negro);
}
.fondo-accent {
    color: var(--blanco);
    background-color: var(--accent);
}
.fondo-accent2 {
    color: var(--blanco);
    background-color: var(--accent2);
}
.fondo-gris {
    color: var(--blanco);
    background-color: var(--gris-oscuro);
}
.fondo-claro {
    color: var(--negro);
    background-color: var(--gris-claro);
}
.fondo-negro h1,
.fondo-negro h2,
.fondo-negro h3,
.fondo-negro h4,
.fondo-accent h1,
.fondo-accent h2,
.fondo-accent h3,
.fondo-accent h4,
.fondo-accent2 h1,
.fondo-accent2 h2,
.fondo-accent2 h3,
.fondo-accent2 h4 { color: var(--blanco); }
.grande.sans {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 2rem;
}

/* Encabezado ***********************************/
.sticky-header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 300;
    padding: 1rem 0;
    width: 100%;
    background-color: var(--accent2);
}

.sticky-header>nav {
    width: 94%;
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.site-logo {
    max-width: 220px;
    margin: 0 20px;
}
.site-logo img {
    max-width: 180px;
    margin: 0 auto;
}

#menubtn:before, .sticky-header a.icon-cancel:before {
    font-size: 18px;
    padding: 0.5rem;
    border: 3px solid;
    border-radius: 8px;
    line-height: 1rem;
    color: var(--blanco);
    cursor: pointer;
    text-decoration: none;
}
#menubtn:target, .sticky-header a.icon-cancel { display: none; }
#menubtn:target~a.icon-cancel { display: initial; }
#menubtn:target~.menu {
    opacity: 1;
    height: 18rem;
    transition: all 0.5s;
}
.menu {
    list-style: none;
    line-height: 2.5em;
    font-size: 15px;
    position: absolute;
    top: 42px;
    left: -4%;
    padding: 2rem 4rem;
    width: 100%;
    height: 0px;
    overflow-y: hidden;
    background-color: var(--accent2);
    opacity: 0;
    transition: all 0.5s;
}

.menu a, .menu a:visited {
    color: var(--blanco);
    text-decoration: none;
}
.menu a:hover {
    color: var(--accent);
    transition: all 0.5s;
}

/* Banner animado *****************************************/
#hero-header { display: none; }
#hero-header h1 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1em;
    color: var(--blanco);
    text-shadow: var(--negro) 0px 3px 3px;
}

#hero-header h1 span {
    color: var(--accent);
}
#hero-header p {
    max-width: 780px;
    margin: 1rem auto;
}
.btnbar {
    display: flex;
    justify-content: center;
}

.boton {
    color: var(--blanco) !important;
    border: 2px solid;
    border-radius: 3px;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
}

.boton.accent {
    background-color: var(--accent);
    border: none;
}
.boton.accent2 {
    background-color: var(--accent2);
    border: none;
}

#typedBanner {
    background: var(--negro) url(../img/home-bkg1.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: overlay;
    text-align: center;
    min-height: 50vh;
    padding: 8rem 2rem 2rem;
}
.typed-cursor { color: var(--blanco) !important; }

#homeSlider {
    height: 65vh;
    text-align: center;
    padding: 6rem 0 0;
}
#homeSlider .vegas-timer-progress {  background-color: var(--accent); }
body.Bienvenida #hero-header {
    display: block;
    background-color: var(--negro);
}

/* Columnas *****/
.columnas {
    display: flex;
    flex-direction: column;
    max-width: var(--ancho-maximo);
    margin: 0 auto;
}
.columnas > * {
    padding: 4rem;
    margin: 0.5rem 0;
    flex-basis: 50%;
}
.columnas.full > * {  padding: 1rem; }
.columnas h3 { color: var(--accent2);}

.enmarcado.accent { border: 6px solid var(--accent); }
.enmarcado.accent2 { border: 6px solid var(--accent2); }
.redondo {
    border-radius: 50%;
    overflow: hidden;
}

/* Servicios *******/
#servicios h3:before {
    font-size: 3rem;
    display: block;
    margin: 0 auto 0.5rem;
  }

/* Formulario de contacto *****/
#contacto a, #contacto a:visited {
    color: var(--negro);
    text-decoration: none;
    font-weight: 800;
    margin: auto 0.3rem;
}

#contacto a:hover { color: var(--accent); }

#contacto a.icon-whatsapp:before {  font-size: 1.18em; }
#contacto * { font-family: 'Nunito Sans', sans-serif; }
#cntFform {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 80%;
    max-width: 500px;
    margin: 2rem auto;
}
#cntFform * {
    flex-basis: 100%;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}
#cntFform input, #cntFform textarea {
    border: 1px solid var(--gris-claro);
    padding: 0.5rem;
    border-radius: 4px;
}
#cntFform textarea { height: 4em; }
#cntFform input[type=submit] {
    color: var(--blanco);
    background-color: var(--accent2);
    font-weight: 800;
    border: none;
}
#cntFform input[type=submit]:hover { background-color: var(--accent); }
#cntFform label.error {
    color: var(--accent);
    background-color: transparent;
    border: none;
    font-size: 1.1em;
    font-weight: 800;
}
#cntFsuccess {
    display: block;
    background-color: #dbf4d3;
    padding: 1rem;
    min-width: 97%;
    flex-basis: 100%;
    border-radius: 4px;
}
#cntFerror {
    display: block;
    background-color: #f8b6b6;
    padding: 1rem;
    min-width: 97%;
    flex-basis: 100%;
    border-radius: 4px;
}

/* Pie de página ********************************/
.mainfooter {
    padding: 2rem;
    color: var(--gris-claro);
}

.socialicons {
    display: flex;
    width: fit-content;
    gap: 1rem;
    margin: 1rem auto;
    list-style: none;
}
.socialicons > li {  font-size: 46px; }
.socialicons a, .socialicons a:visited {
    color: var(--gris-claro);
    text-decoration: none;
}
.socialicons a:hover {  color: var(--blanco); }


/* Area de contenidos ***************************/
.contenido {
    color: var(--negro);
    background-color: var(--blanco);
    flex-grow: 1;
}
.contenido h1, .contenido p { margin: 1rem 0; }
.contenido > section {  padding: 4rem 1rem; }


/* Media Queries */

/* Desactivado 768px por que no se está usando */
/* @media screen and (min-width: 768px) { } */

@media screen and (min-width: 920px) {
    .sticky-header>nav {
        justify-content: space-between;
        align-items: flex-start;
    }
    #menubtn { display: none; }
    .menu {
        display: flex;
        opacity: 1;
        flex-basis: 40%;
        width: fit-content;
        height: 2em;
        margin: 0;
        padding: 0;
        position: unset;
        flex-grow: 1;
        justify-content: flex-end;
        align-self: flex-start;
        transition: none;
    }
    .menu li a { margin-left: 3rem; }
    #hero-header h1 { font-size: 68px; }
    .columnas { flex-direction: row; }
    .columnas > * { margin: 0 0.5rem; }
}

/* Desactivado 1024px por que no se está usando */
/* @media screen and (min-width: 1024px) { } */