/* prettier-ignore */
[data-theme='dark'] .container .logo {
    filter: brightness(0) saturate(100%) invert(100%) sepia(1%) saturate(3651%) hue-rotate(179deg) brightness(95%) contrast(88%);
}

/* prettier-ignore */
[data-theme] {
    --box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    --max-width: 1200px
}

body {
    background-color: rgb(var(--color-onPrimary));
}

header {
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: rgb(var(--color-onPrimary));
}

header > nav {
    box-shadow: var(--box-shadow);
    height: 75px;
}

header > nav > div.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 2000px;
    margin: auto;
}

header > nav > div.container > a.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin-left: 40px;
}

header > nav > div.container > a.logo > h1 {
    font-size: 1.3em;
}

header > nav > div.container > a.logo > img {
    width: 40px;
    height: 40px;
}

header > nav > div.container > label,
header > nav > div.container > input.checkbox {
    display: none;
}

header > nav > div.container > ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-right: 40px;
}

header > nav > div.container > ul > li > a {
    padding: 10px 20px;
}

header > nav > div.container > ul > li:last-of-type > a {
    margin-left: 20px;
}

header > nav > div.container > ul > li > a:hover,
header > nav > div.container > ul > li.active > a {
    color: hsl(var(--color-primary-hsl-part), 25%);
}

header > nav > div.container > ul > li.active > a:hover {
    color: hsl(var(--color-primary-hsl-part), 35%);
}

header > nav > div.container > ul > li > a.btn {
    background: rgb(var(--color-primary));
    color: rgb(var(--color-onPrimary));
    border-radius: 10px;
}

header > nav > div.container > ul > li > a.btn:hover {
    background: hsl(var(--color-primary-hsl-part), 20%);
}

header > nav > div.container > a.logo:focus-visible,
header > nav > div.container > ul > li > a.btn:active,
header > nav > div.container > ul > li > a.btn:focus,
header > nav > div.container > ul > li > a:focus-visible,
footer > div.container > div > a:focus-visible,
footer > div.container > ul > li > a:focus-visible {
    outline: 4px solid hsl(var(--color-primary-hsl-part), 32%);
}

header > nav > div.container > a.logo:focus-visible,
header > nav > div.container > ul > li > a:focus-visible,
footer > div.container > div > a:focus-visible,
footer > div.container > ul > li > a:focus-visible {
    border-radius: 10px;
}

main > section#banner {
    height: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

main > section#banner::before {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
}

main > section#banner > img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    object-fit: cover;
}

main > section#banner > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
    padding: 0 10px;
    width: 100%;
    max-width: 800px;
    color: rgb(var(--color-onPrimary));
    z-index: 2;
}

main > section#banner > div > h1 {
    font-size: 4em;
}

main > section#banner > div > p {
    font-size: 1.3em;
}

main > section#nosotros,
main > section#servicios,
main > section#contacto {
    scroll-margin-top: 40px;
}

main > section#nosotros {
    background-color: rgb(249 250 251 / 1);
}

main > section#nosotros > div.container {
    margin: auto;
    max-width: var(--max-width);
    padding: 60px 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

main > section#nosotros > div.container > div.description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

main > section#nosotros > div.container > div.description > h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

main > section#nosotros > div.container > div.description > p {
    font-size: 1.125rem;
    color: rgb(var(--color-gray-600));
}

main > section#nosotros > div.container > div.flex {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

main > section#nosotros > div.container > div.flex > div.left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

main > section#nosotros > div.container > div.flex > div.left > h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

main > section#nosotros > div.container > div.flex > div.left > p {
    color: rgb(var(--color-gray-600));
}

main > section#nosotros > div.container > div.flex > div.left > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

main > section#nosotros > div.container > div.flex > div.left > ul > li {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: start;
}

main > section#nosotros > div.container > div.flex > div.left > ul > li > span {
    color: rgb(var(--color-gray-600));
}

main > section#nosotros > div.container > div.flex > div.left > ul > li > svg {
    min-width: 20px;
    width: 20px;
    max-width: 20px;
    min-height: 20px;
    height: 20px;
    max-height: 20px;
    border: 2.5px solid hsl(var(--color-primary-hsl-part), 32%);
    border-radius: 100%;
}

/* prettier-ignore */
main > section#nosotros > div.container > div.flex > div.left > ul > li > svg > path {
    stroke-width: 2.4;
    color: hsl(var(--color-primary-hsl-part), 32%);
}

main > section#nosotros > div.container > div.flex > div.right {
    width: 100%;
    height: 100%;
}

main > section#nosotros > div.container > div.flex > div.right > img {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

main > section#servicios > div.container {
    margin: auto;
    max-width: var(--max-width);
    padding: 60px 10px;
}

main > section#servicios > div.container > div.description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

main > section#servicios > div.container > div.description > h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

main > section#servicios > div.container > div.description > p {
    font-size: 1.125rem;
    color: rgb(var(--color-gray-600));
}

main > section#servicios > div.container > div.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 40px;
}

main > section#servicios > div.container > div.cards > div.card {
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 24px;
    background: rgb(255 255 255 / 1);
    border: 1px solid rgb(229 231 235 / 1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

main > section#servicios > div.container > div.cards > div.card > div.icon {
    min-width: 40px;
    width: 40px;
    max-width: 40px;
    min-height: 40px;
    height: 40px;
    max-height: 40px;
    border-radius: 100%;
    background: rgb(var(--color-primary));
    display: flex;
    justify-content: center;
    align-items: center;
}

/* prettier-ignore */
main > section#servicios > div.container > div.cards > div.card > div.icon > svg {
    min-width: 35px;
    width: 35px;
    max-width: 35px;
    min-height: 35px;
    height: 35px;
    max-height: 35px;
}

/* prettier-ignore */
main > section#servicios > div.container > div.cards > div.card > div.icon > svg > path {
    color: rgb(var(--color-onPrimary));
}

main > section#servicios > div.container > div.cards > div.card > h3 {
    font-weight: 700;
    font-size: 20px;
}

main > section#servicios > div.container > div.cards > div.card > p {
    color: rgb(var(--color-gray-600));
}

main > section#contacto {
    background-color: rgb(249 250 251 / 1);
}

main > section#contacto > div.container {
    margin: auto;
    max-width: var(--max-width);
    padding: 60px 10px;
}

main > section#contacto > div.container > div.description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

main > section#contacto > div.container > div.description > h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

main > section#contacto > div.container > div.description > p {
    font-size: 1.125rem;
    color: rgb(var(--color-gray-600));
}

main > section#contacto > div.container > form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px auto auto auto;
    max-width: 475px;
}

main > section#contacto > div.container > form > div.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

main > section#contacto > div.container > form > div.form-group > input,
main > section#contacto > div.container > form > div.form-group > textarea {
    border: 1.5px solid rgb(206, 207, 206);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px;
    transition: 0.04s all ease-in-out;
    background: transparent;
    outline: none;
}

main > section#contacto > div.container > form > div.form-group > input {
    height: 45px;
}

main > section#contacto > div.container > form > div.form-group > textarea {
    resize: none;
}

/* prettier-ignore */
main > section#contacto > div.container > form > div.form-group > input:focus,
main > section#contacto > div.container > form > div.form-group > textarea:focus {
    outline: 3px solid hsl(var(--color-primary-hsl-part), 32%);
    border-color: transparent;
}

/* prettier-ignore */
main > section#contacto > div.container > form > div.form-group > input::placeholder,
main > section#contacto > div.container > form > div.form-group > textarea::placeholder {
    color: rgb(var(--color-gray-400));
}

main > section#contacto > div.container > form > button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: none;
    gap: 10px;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: inherit;
    cursor: pointer;
    color: rgb(var(--color-onPrimary));
    background: rgb(var(--color-primary));
    outline: none;
}

main > section#contacto > div.container > form > button:active,
main > section#contacto > div.container > form > button:focus {
    outline: 4px solid hsl(var(--color-primary-hsl-part), 32%);
}

main > section#social {
    background-color: rgb(249 250 251 / 1);
}

main > section#social > div.container {
    margin: auto;
    max-width: var(--max-width);
    padding: 0px 10px 60px 10px;
}

main > section#social > div.container > div.description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

main > section#social > div.container > div.description > h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

main > section#social > div.container > div.description > div.flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    max-width: 400px;
    margin: auto;
}

main > section#social > div.container > div.description > div.flex > div.item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

main > section#social > div.container > div.description > div.flex > div.item > h3 {
    display: flex;
    flex-direction: row;
    align-items: center;
}

footer {
    box-shadow: var(--box-shadow);
}

footer > div.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: auto;
    padding: 60px 10px;
}

footer > div.container > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

footer > div.container > div > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

footer > div.container > div > a > img {
    width: 28px;
    height: 28px;
}

footer > div.container > div > a > span {
    font-weight: bold;
    font-size: 1.3em;
}

footer > div.container > div > p {
    color: rgb(var(--color-gray-600));
    font-size: 0.9em;
}

footer > div.container > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

footer > div.container > ul > li {
    color: rgb(var(--color-gray-600));
    font-size: 0.9em;
}

footer > div.container > ul > li > a:hover {
    color: hsl(var(--color-primary-hsl-part), 25%);
}

dialog > div.flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
    width: 100%;
    height: 100%;
}

dialog > div.flex > p {
    text-align: center;
    font-size: 1.3em;
}

dialog > div.flex > button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: none;
    gap: 10px;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: inherit;
    cursor: pointer;
    color: rgb(var(--color-onPrimary));
    background: rgb(var(--color-primary));
    outline: none;
}

@media (max-width: 1023px) {
    header > nav > div.container > a.logo {
        margin-left: 10px;
    }

    /* prettier-ignore */
    header > nav > div.container:has(input[type='checkbox']:checked) {
        position: relative;
    }

    /* prettier-ignore */
    header > nav > div.container:not(:has(input[type='checkbox']:checked)) > ul {
        display: none;
    }

    /* prettier-ignore */
    header > nav > div.container > ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        width: 100%;
        gap: 0;
        background: rgb(var(--color-onPrimary));
    }

    header > nav > div.container > ul > li {
        width: 100%;
    }

    header > nav > div.container > ul > li > a {
        display: flex;
        width: 100%;
    }

    header > nav > div.container > ul > li > a.btn {
        border-radius: 0;
    }

    header > nav > div.container > ul > li > a.btn:not(:hover) {
        background: none;
        outline: none;
        color: var(--color-onAppBackground);
    }

    header > nav > div.container > ul > li > a:hover,
    header > nav > div.container > ul > li > a.btn:hover,
    header > nav > div.container > ul > li.active > a:hover,
    header > nav > div.container > ul > li.active > a.btn:hover {
        background: rgb(var(--color-primary));
        color: rgb(var(--color-onPrimary));
        outline: none;
    }

    header > nav > div.container > ul > li:last-of-type > a {
        margin-left: 0;
    }

    header > nav > div.container > label {
        display: block;
        height: 26px;
        width: 32px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-right: 20px;
        background: none;
        border: none;
        outline: none;
        cursor: pointer;
    }

    header > nav > div.container > label span {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #0e2431;
    }

    header > nav > div.container > label span {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }

    header > nav > div.container > label span {
        transition: transform 0.2s ease-in-out;
    }

    header > nav > div.container > label span {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

    /* prettier-ignore */
    header > nav > div.container > input[type='checkbox']:checked + label > span:nth-of-type(1) {
        transform: rotate(45deg);
    }

    /* prettier-ignore */
    header > nav > div.container > input[type='checkbox']:checked + label > span:nth-of-type(2) {
        transform: scaleY(0);
    }

    /* prettier-ignore */
    header > nav > div.container > input[type='checkbox']:checked + label > span:nth-of-type(3) {
        transform: rotate(-45deg);
    }

    main > section#nosotros > div.container > div.flex {
        flex-direction: column-reverse;
    }

    main > section#nosotros > div.container > div.flex > div.right {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }

    main > section#nosotros > div.container > div.flex > div.right > img {
        width: 400px;
        height: 400px;
        background: rgb(var(--color-primary));
        border-radius: 100%;
    }

    main > section#servicios > div.container > div.cards,
    footer > div.container > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    footer > div.container > ul {
        display: grid;
    }
}

@media (max-width: 767px) {
    main > section#nosotros > div.container > div.flex > div.right > img {
        width: 100%;
        height: auto;
        max-height: 350px;
    }

    main > section#servicios > div.container > div.cards,
    footer > div.container > ul {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    footer > div.container {
        flex-direction: column-reverse;
        align-items: start;
        gap: 40px;
        padding: 20px 10px;
    }
}

@media (max-width: 639px) {
    main > section#banner {
        min-height: 600px;
        height: auto;
        padding: 10px;
    }

    main > section#banner > div > h1 {
        font-size: 3.4em;
    }
}
