/* HERO */

.hero {
    padding: 70px 0 100px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 70px;
}


/* HERO CONTENT */

.hero-tag {
    display: inline-block;
    margin-bottom: 24px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e87532;
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 28px;
}

.hero h1 span {
    display: block;
    color: #e87532;
}

.hero-content > p {
    max-width: 540px;
    margin-bottom: 32px;

    font-size: 18px;
    color: #666;
}


/* HERO FORM */

.hero-form {
    display: flex;
    width: 100%;
    max-width: 540px;

    padding: 6px;

    background: #fff;
    border: 1px solid #dedbd4;
    border-radius: 60px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

.hero-form input {
    flex: 1;

    min-width: 0;
    padding: 10px 20px;

    border: none;
    outline: none;

    background: transparent;
    color: #171717;

    font-size: 15px;
}

.hero-form input::placeholder {
    color: #999;
}

.hero-form button {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px 24px;

    border: none;
    border-radius: 50px;

    background: #e87532;
    color: #fff;

    font-weight: 700;
    cursor: pointer;

    transition: 0.3s ease;
}

.hero-form button span {
    font-size: 20px;
    line-height: 1;
}

.hero-form button:hover {
    background: #cf5f21;
}


/* TRUST */

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 18px;

    font-size: 13px;
    color: #777;
}

.hero-trust span {
    color: #e87532;
    font-weight: 700;
}

.hero-trust span:nth-of-type(2) {
    margin-left: 8px;
}


/* HERO IMAGE */

.hero-visual {
    position: relative;
}

.hero-image {
    height: 570px;

    overflow: hidden;

    border-radius: 30px 30px 30px 120px;
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.04);
}


/* FLOATING CARD */

.hero-card {
    position: absolute;
    left: -35px;
    bottom: 40px;

    display: flex;
    align-items: center;
    gap: 16px;

    padding: 18px 22px;

    background: #171717;
    color: #fff;

    border-radius: 14px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.hero-card-number {
    font-size: 12px;
    color: #e87532;
    font-weight: 700;
}

.hero-card strong,
.hero-card small {
    display: block;
}

.hero-card strong {
    font-size: 14px;
}

.hero-card small {
    margin-top: 2px;

    font-size: 12px;
    color: #aaa;
}


/* MOBILE */

@media (max-width: 900px) {

    .hero {
        padding: 50px 0 70px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-form {
        margin: auto;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        max-width: 650px;
        width: 100%;
        margin: auto;
    }

    .hero-image {
        height: 480px;
        border-radius: 25px 25px 25px 80px;
    }

    .hero-card {
        left: 20px;
    }
}


@media (max-width: 600px) {

    .hero h1 {
        font-size: 44px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .hero-form {
        flex-direction: column;
        padding: 8px;

        border-radius: 18px;
    }

    .hero-form input {
        height: 52px;
    }

    .hero-form button {
        justify-content: center;
        width: 100%;
    }

    .hero-image {
        height: 380px;
        border-radius: 20px 20px 20px 60px;
    }

    .hero-card {
        left: 15px;
        bottom: 20px;
    }
}