:root {
    --negro: #000000;
    --blanco: #f2f2f2;
    --rojo: #990000;
    --naranja: #f5a035;
    --azul: #006da6;
    --amarillo: #daa520;
    --gris: #999999;
}

/* Reseteo de estilos */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

    /*for debugging
      outline: 2px solid limegreen !important;
      background-color: rgb(0 100 0 / 0.1) !important;
    */
}

html {
    scroll-behavior: smooth;
    font-family: 'Raleway', sans-serif;
    font-size: 400;
    /*scroll-padding-top: 100px;*/
    /* Para evitar que el navbar cubra el contenido al dar clic en una opcion del menu */
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Julius Sans One', sans-serif;
    font-size: 400;
    line-height: 1.5;
}

a,
p {
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

/* Contenedor general */
.container {
    max-width: 80em;
    margin-inline: auto;
    overflow-x: hidden;
}

/* Divide el contenido en columnas iguales */
.split-columns {
    display: flex;
    flex-direction: column;
}

@media (min-width: 40em) {

    /* 40em = 640px */
    .split-columns {
        flex-direction: row;
    }

    .split-columns>* {
        flex-basis: 100%;
    }
}

/* Para centrar texto o div */
.centrado {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
    Hero section
*/
.hero {
    position: relative;
    width: 100%;
    height: 720px;
    background: var(--azul);
    /* background: rgb(230,246,255);
    background: linear-gradient(0deg, rgba(230,246,255,1) 0%, rgba(0,109,166,1) 100%); */
    border-radius: 1rem;
}

.hero-content {
    color: var(--blanco);
    width: 100%;
    /* min-height: 680px; */
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .main-text {
    z-index: 3;
} */

.main-text h1 {
    /* font-size: 2.8em; */
    font-size: clamp(2em, 1em + 4vw, 4em);
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2em;
    line-height: 1.5;
    /* padding-bottom: 2rem; */
    color: var(--blanco);
}

.hero-content p span {
    font-weight: bolder;
    letter-spacing: 2px;
    line-height: 3.5;
}

.main-text {
    padding: 2rem;
}

.main-image {
    position: relative;
    padding: 2rem 4rem;
    display: flex;
    justify-content: center;
}

.main-image img {
    filter: drop-shadow(0.25rem 0.25rem 0.5rem #0000009d);
}


.sol,
.sigal {
    position: absolute;
    font-family: 'Seymour One', sans-serif;
    font-size: 6em;
    text-transform: uppercase;
}

.sol {
    top: 0;
    left: 0;
    z-index: 1;
}

.main-image img {
    z-index: 2;
    /* margin-left: 15vw; */
}

.sigal {
    top: 90px;
    left: 0;
    font-size: 4em;
    /* bottom: 28vh;
    right: 0; */
    z-index: 1;
    color: transparent;
    -webkit-text-stroke: 1px white;
}


/*
    Barra de navegación
*/
.navbar {
    min-height: 150px;
    width: 85%;
    margin: auto;
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar ul li {
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

.navbar ul li::after {
    content: '';
    height: 1px;
    width: 0;
    background-color: var(--blanco);
    position: absolute;
    left: 0;
    bottom: -10px;
    transition: width 0.3s;
}

.navbar ul li:hover::after {
    width: 100%;
}

.navbar ul li a {
    color: var(--blanco);
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: 2px;
}


.logo-circle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: relative;
    max-height: 110px;
    /* margin-top: -.8rem; */
}

.mobile-menu {
    display: none;
    cursor: pointer;
    z-index: 9;
}

.mobile-menu div {
    width: 25px;
    height: 2.5px;
    background-color: var(--blanco);
    margin: 5px;
    transition: all 0.5s ease;
}

@media (max-width: 1024px) {
    .nav-menu {
        width: 65%;
    }
}

@media (max-width: 768px) {
    /* nav {
        padding: 1.5rem 1rem;
    } */

    .nav-menu {
        position: absolute;
        right: 0px;
        top: 18vh;
        background-color: var(--azul);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        height: calc(85vh - 150px);
        transform: translateX(-100%);
        transition: transform .5s ease-in-out;
        z-index: 9;
    }

    .nav-menu li {
        opacity: 0;
    }

    .mobile-menu {
        display: block;
    }

}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px)
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px)
}

/* Botón CTA */
.cta-btn {
    display: flex;
    align-items: center;
    width: fit-content;
    cursor: pointer;
    color: var(--blanco);
    background-color: var(--naranja);
    border: 2px solid var(--blanco);
    padding: .8rem 1.8rem;
    border-radius: 100vmax;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 1.5s;
}

.cta-btn>.arrow-btn {
    width: .6rem;
    height: .6rem;
    border-right: 2px solid #C2FFE9;
    border-bottom: 2px solid #C2FFE9;
    position: relative;
    transform: rotate(-45deg);
    margin: 0 6px;
    transition: all .3s ease;
}

.cta-btn>.arrow-btn::before {
    display: block;
    background-color: currentColor;
    width: 3px;
    transform-origin: bottom right;
    height: 2px;
    position: absolute;
    opacity: 0;
    bottom: calc(-2px / 2);
    transform: rotate(45deg);
    transition: all .3s ease;
    content: "";
    right: 0;
}

.cta-btn:hover>.arrow-btn {
    transform: rotate(-45deg) translate(4px, 4px);
    border-color: text-hover-color;
}

.cta-btn:hover>.arrow-btn::before {
    opacity: 1;
    width: 1rem;
}

.cta-btn:hover {
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
}


/*
  Botón flotante de WhatsApp
*/
.btn-whatsapp {
    position: fixed;
    bottom: 4rem;
    right: 4rem;
    background-color: #0df053;
    border-radius: 50px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #0ac244;
}

.necesitas-ayuda {
    color: var(--negro);
    background: rgba(255, 255, 255, 0.8);
    position: fixed;
    bottom: 2rem;
    right: 3rem;
    font-size: 0.9em;
    text-shadow: 2px 0 #ffffff50, -2px 0 #ffffff50, 0 2px #ffffff50,
        0 -2px #ffffff50, 1px 1px #ffffff50, -1px -1px #ffffff50, 1px -1px #ffffff50,
        -1px 1px #ffffff50;
    z-index: 10;
}

.btn-whatsapp::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #b6fbcc;
    border-radius: 50px;
    opacity: 0.7;
}

.btn-whatsapp::before {
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}


/*
    Shape Divider
*/
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.shape-divider .shape-fill {
    fill: #FFFFFF;
}


section h2 {
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}


/*
    Servicios
*/
#servicios {
    padding: 4rem 1rem;
    position: relative;
    z-index: 4;
    background-color: #FFFFFF;
}

#servicios h2 {
    padding-left: 3rem;
}

.servicios-content {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.service-card {
    height: 430px;
    position: relative;
    color: var(--blanco);
    border-radius: 3px;
    overflow: hidden;
    transition: all .5s ease;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover,
.service-card:focus-within {
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.service-card:hover .card-content,
.service-card:focus-within .card-content {
    right: 0;
}

.card-content {
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    position: absolute;
    padding: 1rem;
    background: #1f3d4738;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* backdrop-filter: grayscale(100%);
    -webkit-backdrop-filter: grayscale(100%); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .4s ease-out;
}

.card-title {
    position: absolute;
    bottom: 2rem;
    left: 1rem;
    color: var(--blanco);
    font-weight: bolder;
    background-color: #006da6;
    border-radius: 6px;
    padding: 0 .5rem;
}

.sub-title {
    font-size: 1.3em;
}

.card-text {
    margin: 1rem 0;
}

.card-btn {
    color: var(--blanco);
    background-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 2px solid var(--blanco);
    border-radius: 50vmax;
    width: 70%;
    padding: .5rem 1rem;
    text-align: center;
    transition: background-color .3s ease;
}

.card-btn:hover {
    background-color: rgba(0, 109, 166, 0.6);
}


/*
    ¿Porqué Sol Sigal?
*/
#porque-sol-sigal {
    padding-top: 4rem;
}

#porque-sol-sigal h2 {
    padding-left: 3rem;
}

.porque {
    padding: 4rem;
    min-height: 50vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1)), url(../images/blob-background.svg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.porque p {
    padding-bottom: 1rem;
}

.contadores {
    width: 100%;
    margin: 50px auto;
}

.contador {
    display: inline-block;
    width: 24.7%;
    text-align: center;
}

.contador-cant {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 2.5em;
    margin: 10px 0;
}

.signo-mas {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 2.5em;
}

.contador img {
    margin: 0 auto;
}

@keyframes mostrar-contador {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

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

.ocultar-contador {
    opacity: 0;
}

.animar {
    animation: mostrar-contador 1.3s;
}

/*
    Infografia
*/
#como-funciona {
    padding: 4rem 0 2rem 0;
}

#como-funciona h2 {
    margin-bottom: 0;
}

/*
    Historia
*/
#historia {
    color: var(--blanco);
    margin-top: 0rem;
    padding-top: 2rem;
    position: relative;
    overflow: hidden;
}

.custom-shape-divider-bottom-1681959324 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1681959324 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-bottom-1681959324 .shape-fill {
    fill: #FFFFFF;
}

#historia h2 {
    padding-left: 3rem;
}

.historia {
    position: relative;
    padding: 2rem 4rem;
}

.historia h3 {
    font-size: 1.5em;
    color: var(--naranja);
}

.historia ul {
    list-style: circle;
    line-height: 1.5;
}

.historia ul li {
    padding-bottom: .5rem;
}

.hero-video {
    background-color: var(--negro);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    z-index: -2;
}

.filter-background {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    /* background-color: #1f3d47a7; */
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.practicas {
    padding-bottom: 4vh;
}

.practicas a {
    color: lightskyblue;
}

.practicas a:hover {
    color: blue;
}


/*
    Contacto
*/
#contacto {
    position: relative;
    margin-top: 4rem;
    margin-bottom: 3rem;
    color: var(--background);
    background-color: var(--naranja);
    /* background: rgb(245,160,53);
    background: linear-gradient(0deg, rgba(245,160,53,1) 65%, rgba(255,255,255,1) 100%); */
    border-radius: 0 0 1rem 1rem;
}

.custom-shape-divider-top-1681959553 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1681959553 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.custom-shape-divider-top-1681959553 .shape-fill {
    fill: #FFFFFF;
}

#contacto>h2 {
    color: var(--negro);
    padding: 6rem 0 0 3rem;
}

.contacto {
    padding: 0 4rem;
}

.aviso-privacidad {
    text-align: center;
    padding-bottom: 2rem;
}

.aviso-privacidad a {
    color: var(--blanco);
    cursor: pointer;
}

.texto-aviso-privacidad {
    padding: 4rem;
    display: none;
}

.texto-aviso-privacidad p,
.texto-aviso-privacidad h4,
.texto-aviso-privacidad ul li {
    padding-bottom: 1rem;
}

.texto-aviso-privacidad ul {
    list-style: disc;
}

.cerrar-btn {
    padding: .5rem 1rem;
    border: 2px solid var(--negro);
    border-radius: 100vmax;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.redes-sociales {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-around;
    align-items: center;
    /* gap: 1.5rem; */
    margin-top: 4rem;
}

/* .horario {
    display: flex;
    flex-direction: column;
} */

.horario p,
.horario a {
    display: flex;
    padding-bottom: 1rem;
}

.horario span {
    color: var(--blanco);
    margin-left: .2rem;
}

.horario img {
    height: 24px;
    padding-right: 1rem;
}

.horario a {
    color: var(--negro);
}

.horario a:hover {
    color: var(--azul);
}

.contacto ul {
    list-style: circle;
}

.contacto ul li {
    padding: .5rem 0;
}

.contacto h3 {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--negro);
    width: fit-content;
}

.como-llegar {
    padding-bottom: 4rem;
}

.como-llegar iframe {
    border-radius: .5rem;
    box-shadow: .5rem .5rem 1rem #00000072;
}

.contact-form {
    padding: 0 4rem 2rem 0rem;
}

.contact-form p {
    margin-bottom: 1rem;
}

.contacto input,
.contacto textarea {
    font-family: 'Raleway', sans-serif;
    font-size: 400;
    font-size: 1em;
    padding: .8rem 1rem;
    margin-bottom: 1rem;
    width: 100%;
    border-radius: 4px;
    outline: none;
    border: none;
    box-shadow: .5rem .5rem 1rem #0000005a;
}

.contacto textarea {
    resize: none;
}

.contact-form button {
    padding: .8rem 1.8rem;
    color: var(--blanco);
    background: var(--negro);
    border-radius: 100vmax;
    border: 2px solid var(--blanco);
    box-shadow: .5rem .5rem 1rem #00000072;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    transition: all .5s ease;
}

.contact-form button:hover {
    box-shadow: none;
}

.error {
    color: var(--rojo);
    margin-top: -1rem;
    padding-bottom: 1rem;
    display: none;
}

.gracias {
    text-align: center;
    padding: 1rem 0;
    display: none;
}

.ti-conmigo {
    color: #fff;
    background-color: #000000;
    padding: 1rem 0;
}



/* 

    Adapatación a dispositivos móviles

*/
@media (max-width: 768px) {

    .hero {
        border-radius: 0;
        height: 700px;
    }

    .hero-content {
        width: 100%;
        height: 100%;
        align-items: baseline;
    }

    .logo {
        max-height: 80px;
    }

    .main-text {
        padding: 0 1rem 0 1rem;
    }

    .cta-btn {
        font-size: 1em;
        padding: .5rem 1rem;
    }

    .sol {
        font-size: 3em;
    }

    .sigal {
        font-size: 2em;
        top: 50px;
    }

    .main-image img {
        margin-left: 0;
        /* margin-top: 4rem; */
    }

    .hero-content p {
        font-size: 1em;
        line-height: 1.3;
    }

    .hero-content p span {
        font-size: 1em;
        line-height: 1;
    }

    section>h2 {
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .card-content {
        right: 0;
        background: #1f3d47aa;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .servicios-content {
        grid-template-columns: 1fr;
    }

    .card-title {
        display: none;
    }

    #porque-sol-sigal h2 {
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .porque {
        padding: 1rem;
        background-position: top left;
    }

    .contador {
        width: 48%;
    }

    .historia {
        padding: 2rem;
    }

    .formacion {
        margin-bottom: 2rem;
    }

    .hero-video {
        bottom: 0;
        right: 0;
        height: 100%;
    }


    #contacto {
        padding: 0 1rem;
    }

    .contacto {
        padding: 2rem 1rem;
    }

    .contacto ul li a img {
        padding-right: .2rem;
    }

    .info-contacto,
    .horario,
    .como-llegar {
        padding-top: 2rem;
    }

    .info-contacto {
        order: 1;
    }

    .horario {
        order: 2;
    }

    .redes-sociales {
        order: 3;
    }

}