:root {
    --color-primary-0: #faf6ff;
    --color-primary-1: #eee7f9;
    --color-primary-2: #644873;
    --color-primary-3: #3f1d51;
    --page-margin: 200px;
}

/* preflight */

html {
    height: 100%;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: "Sen", sans-serif;
    overflow-x: hidden;
    min-width: 300px;
    height: 100%;
    scroll-behavior: smooth;
}

button {
    all: unset;
    display: inline-block;
    cursor: pointer;
}

h1,
h2 {
    margin: 0;
}

p {
    line-height: 1.8em;
    font-size: clamp(0.9rem, 0.8vw + 0.5rem, 1rem);
}

ul {
    line-height: 2em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* utils */

.hidden {
    display: none !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

/* common */

.wave-top {
    width: 100%;
    margin-bottom: -5px;
    pointer-events: none;
}

.wave-bottom {
    width: 100%;
    margin-top: -5px;
    transform: scale(-1, -1);
    pointer-events: none;
}

.highlight {
    color: var(--color-primary-3);
    font-weight: bold;
}

.title {
    color: var(--color-primary-3);
    font-weight: bold;
    font-size: clamp(1rem, 2vw + 1rem, 1.8rem);
    line-height: 1.25em;
    text-align: left;
}

.button {
    background: var(--color-primary-1);
    color: var(--color-primary-3);
    width: fit-content;
    font-weight: bold;
    padding: 10px 30px 10px 30px;
    border-radius: 100px;
    user-select: none;
    cursor: pointer;
    transition: filter 0.2s ease;
    font-size: clamp(0.8rem, 1vw + 0.5rem, 0.9rem);
}

.button:hover {
    filter: brightness(0.9);
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* splash */

.splash {
    position: fixed;
    width: 100dvw;
    height: 100dvh;
    z-index: 99999;
}

.splash img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.splash-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1000;
    top: 0;
    left: 0;
}

.splash-content {
    z-index: 10000;
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.splash-logo {
    min-width: 300px;
    height: auto;
    opacity: 100%;
    animation: enter 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    user-select: none;
}

.splash-button {
    opacity: 0;
    animation: enter 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s forwards;
}

/* md */
@media (min-width: 768px) {
    .splash-content {
        left: var(--page-margin);
        bottom: var(--page-margin);
        transform: none;
        align-items: center;
    }

    .splash-logo {
        min-width: 400px;
    }
}

/* nav */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 2em;
    padding-bottom: 2em;
    width: 100%;
    position: relative;
    z-index: 999999;
}

.nav-items-container {
    display: flex;
    gap: 2em;
}

.nav-logo {
    width: 250px !important;
    pointer-events: none;
}

.nav-item {
    font-size: 1.1em;
    padding: 0.5em;
}

@media (max-width: 640px) {
    .nav-logo {
        width: 200px !important;
    }

    .nav-items-container {
        font-size: 0.8em;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 1024px) {
    .navbar {
        justify-content: center;
        flex-direction: column;
        gap: 1.5em;
    }

    .nav-items-container {
        column-gap: 0;
        row-gap: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* hero */

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5em;
    padding-top: 3em;
}

.hero-splash {
    width: 600px;
    border-radius: 60px;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 450px;
}

@media (max-width: 1280px) {
    .hero-splash {
        width: 450px;
        border-radius: 60px;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding-top: 1em;
        gap: 3em;
    }

    .hero-info {
        width: 50%;
        align-items: center;
    }

    .hero-info .title,
    .hero-info p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-info {
        width: 80%;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 0;
        gap: 2em;
    }

    .hero p {
        margin: 0.5em;
    }

    .hero-splash {
        width: 100%;
        border-radius: 0;
    }

    .hero-info {
        width: 80%;
    }
}

/* about */

.about {
    display: flex;
    justify-content: center;
    padding-top: 3em;
    margin-bottom: -5em;
    gap: 8em;
    align-items: center;
    box-sizing: border-box;
}

.about .title {
    text-align: center;
}

.about-info {
    width: 400px;
    text-align: center;
    background-image: url("public/img/blob.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 8em;
}

.about-splash {
    width: 350px;
    border-radius: 60px;
}

@media (max-width: 1280px) {
    .about {
        gap: 3em;
        padding-left: 2em;
        padding-right: 2em;
    }

    .about-info {
        padding: 4em 8em 4em 8em;
    }

    .about-splash {
        width: 250px;
    }
}

@media (max-width: 1024px) {
    .about {
        gap: 3em;
        flex-direction: column;
        padding-bottom: 0;
        margin-bottom: 0;
        width: 80%;
    }

    .about-info {
        padding: 3em 8em 3em 8em;
        border-radius: 60px;
    }

    .about-splash {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-info {
        background: var(--color-primary-0);
        background-image: none;
        width: 100%;
        border-radius: 0;
        padding: 2em;
    }

    .about {
        width: 100%;
        padding: 2em;
        gap: 0;
    }
}

/* wet cleaning */

.wet-cleaning {
    background: var(--color-primary-2);
    display: flex;
    width: 100%;
    justify-content: center;
}

.wet-cleaning-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    color: white;
    width: 50%;
    text-align: center;
    padding: 2em;
}

.wet-cleaning .title {
    color: white !important;
}

.wet-cleaning p {
    margin: 0;
}

.wet-cleaning-content .highlight {
    color: white !important;
}

@media (max-width: 768px) {
    .wet-cleaning-content {
        width: 100%;
    }
}

/* features */

.features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    background-image: url("public/img/blob.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 5em;
}

.features .title {
    text-align: center;
}

.features-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 350px);
    grid-template-rows: repeat(2, 1fr);
    place-content: center;
}

.feature-item {
    color: white;
    display: grid;
    place-items: center;
    background: var(--color-primary-2);
    padding: 25px 50px 25px 50px;
    border-radius: 200px;
    font-size: clamp(0.9rem, 0.5vw + 0.8rem, 1.1rem);
    text-align: center;
}

@media (max-width: 1280px) {
    .features-grid {
        grid-template-columns: repeat(2, 350px);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 100%;
    }

    .features {
        padding-bottom: 0;
    }
}

@media (max-width: 640px) {
    .features {
        padding: 3em 1em 0 1em;
    }

    .features-grid {
        gap: 1em;
    }
}

/* reasons */

.reasons {
    position: relative;
    margin-top: 13em;
}

.reasons ul {
    font-size: clamp(0.9rem, 0.5vw + 0.8rem, 1.1rem);
}

.reasons-list {
    position: relative;
    top: 3em;
    left: -20em;
}

.reasons::after {
    content: "";
    position: absolute;
    width: 1200px;
    height: 1200px;
    background: var(--color-primary-0);
    border-radius: 50%;
    transform: translate(5%, -65%);
    top: 250%;
    right: 0;
    z-index: -1;
}

.reasons-splash {
    position: absolute;
    transform: translate(-10%, -45%);
    border-radius: 400px;
    z-index: -10;
}

@media (max-width: 1280px) {
    .reasons-list {
        transform: translate(-50%, -40%);
        left: 50%;
    }

    .reasons::after {
        transform: translate(-50%, -75%);
        width: 1000px;
        height: 1000px;
        top: 200%;
        left: 50%;
    }

    .reasons-splash {
        display: none;
    }

    .reasons .title {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .reasons {
        width: 100%;
        display: flex;
        transform: none;
        z-index: -1;
        margin: 0 0 1em 0;
        padding: 0;
    }

    .reasons-list {
        width: 100%;
        background: var(--color-primary-0);
        transform: translate(-50%, 0);
        padding: 3em 1em 3em 1em;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .reasons::after {
        display: none;
    }
}

/* collab */

.collab {
    width: 100%;
}

.collab .title {
    color: white;
    background: var(--color-primary-2);
    text-align: center;
}

.collab-content {
    display: flex;
    flex-direction: column;
    gap: 3em;
    background: var(--color-primary-2);
}

.collab-grid {
    display: grid;
    place-content: center;
    gap: 50px;
    grid-template-columns: repeat(2, 400px);
    padding: 5px;
}

.collab-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2em;
    padding: 20px 50px 20px 50px;
    background: white;
    text-align: center;
    border-radius: 200px;
    box-sizing: border-box;
    font-size: clamp(0.9rem, 0.5vw + 0.8rem, 1rem);
}

.collab-item img,
.collab-item div {
    place-self: center;
    line-height: 1.5em;
}

.collab-item:last-child {
    grid-column: span 2;
    width: 300px;
    place-self: center;
}

@media (max-width: 1024px) {
    .collab-content {
        gap: 2em;
    }

    .collab-grid {
        gap: 2em;
        grid-template-columns: repeat(2, 300px);
    }

    .collab-item {
        padding: 1em 2em 1em 2em;
    }
}

@media (max-width: 768px) {
    .collab-grid {
        display: flex;
        flex-direction: column;
        width: 60%;
    }

    .collab-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
        padding: 1em 1em 2.5em 1em;
    }

    .collab-item {
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .collab-grid {
        width: 100%;
    }

    .collab-content {
        gap: 1em;
    }

    .collab-item img {
        width: 24px;
    }
}

/* partnership */

.partnership {
    display: flex;
    align-items: center;
    gap: 5em;
    padding-bottom: 5em;
    padding-top: 1em;
    font-size: clamp(0.9rem, 0.8vw + 0.5rem, 1rem);
}

.partnership img {
    width: 400px;
    transform: translateY(10%);
}

.partnership .title {
    padding-bottom: 1em;
}

.partnership-item-container {
    display: flex;
    flex-direction: column;
}

.partnership-item {
    display: flex;
    align-items: center;
    gap: 2em;
}

.partnership-item div:first-child {
    color: var(--color-primary-3);
    font-weight: bold;
    font-size: 5em;
}

.partnership-item div:last-child {
    font-size: 1.1em;
}

@media (max-width: 1280px) {
    .partnership {
        gap: 3em;
        padding-bottom: 1em;
    }

    .partnership-item div:first-child {
        font-size: 3em;
    }

    .partnership-item div:last-child {
        font-size: 1em;
    }
}

@media (max-width: 1024px) {
    .partnership {
        flex-direction: column-reverse;
        padding-bottom: 0;
        row-gap: 0;
        padding-top: 3em;
    }

    .partnership .title {
        text-align: center;
        padding-bottom: 1em;
    }

    .partnership img {
        transform: none;
        margin-bottom: -2em;
    }
}

@media (max-width: 640px) {
    .partnership {
        padding-bottom: 1em;
        padding-top: 0;
    }

    .partnership-item-container {
        gap: 0.5em;
        padding: 2em;
    }

    .partnership-item div:last-child {
        line-height: 1.5em;
    }

    .partnership-item {
        gap: 2em;
    }

    .partnership img {
        display: none;
    }
}

/* contact */

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    padding: 1em;
    width: 100%;
    background: var(--color-primary-0);
}

.contact .title {
    padding-top: 1em;
}

.contact p {
    width: 40%;
    text-align: center;
    padding: 0.5em;
}

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    background: var(--color-primary-2);
    text-align: center;
    border-radius: 200px;
    color: white;
    padding: 1em 2em 1em 2em;
    gap: 2em;
    font-size: clamp(0.9rem, 0.8vw + 0.5rem, 1rem);
}

.contact-item-email {
    font-size: clamp(0.7rem, 0.8vw + 0.6rem, 1rem);
}

.contact-item img {
    width: 24px;
}

.contact-item img,
.contact-item div {
    place-self: center;
}

.contact-item-container {
    display: flex;
    gap: 2em;
}

.contact iframe {
    padding-top: 1em;
}

.contact iframe {
    padding: 2em 1em 5em 1em;
}

@media (max-width: 1024px) {
    .contact p {
        width: 80%;
    }

    .contact-item-container {
        flex-direction: column;
        gap: 1em;
    }
}

@media (max-width: 640px) {
    .contact {
        width: 100%;
        gap: 0.5em;
    }

    .contact p {
        margin: 0;
    }

    .contact .title {
        text-align: center;
    }

    .contact iframe {
        width: 90%;
        padding: 0;
        padding-bottom: 1.5em;
    }

    .contact-item-container {
        width: 100%;
        padding: 1em;
        box-sizing: border-box;
    }

    .contact-item {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 0.5em;
        box-sizing: border-box;
    }
}

/* footer */

footer {
    color: white;
    width: 100%;
    background: var(--color-primary-0);
}

footer .highlight {
    color: white;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    width: 200px;
}

.footer-wrapper {
    background: var(--color-primary-2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container {
    background: var(--color-primary-2);
    padding-bottom: 2em;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-left: 2em;
    padding-right: 2em;
    width: 100%;
    max-width: 2000px;
    box-sizing: border-box;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    text-align: center;
}

.footer-menu-item-container {
    display: flex;
    gap: 2em;
}

.footer-menu-item {
    font-weight: bold;
}

.footer-location {
    display: flex;
    flex-direction: column;
    gap: 1em;
    font-size: clamp(0.8rem, 0.8vw + 0.5rem, 0.9rem);
}

.footer-location-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1em;
    box-sizing: border-box;
}

.footer-location-item img {
    place-self: center;
}

.footer-location-item div {
    line-height: 1.5em;
    text-align: left;
}

.copy-block {
    display: none;
    text-align: center;
}

.copy-inline,
.copy-block {
    font-size: clamp(0.6rem, 0.8vw + 0.5rem, 0.8rem);
}

@media (max-width: 1280px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 3em;
        padding: 2em;
    }

    .copy-inline {
        display: none;
    }

    .copy-block {
        display: block;
    }
}

@media (max-width: 640px) {
    .footer-menu-item-container {
        flex-direction: column;
        gap: 1em;
    }
}
