/* "Become a Franchise Partner" page (site/franchise.blade.php). */
.franchise {
    display: grid;
    gap: 32px;
    justify-items: center;
    padding-bottom: 80px
}

.franchise-body {
    max-width: 720px
}

.franchise-card {
    width: min(100%, 560px);
    padding: 36px;
    border-radius: 26px
}

.franchise-card h2 {
    margin: 0 0 6px;
    font: 500 30px/1.2 var(--serif);
    color: var(--ink)
}

.franchise-note {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px
}

.franchise-form {
    display: grid;
    gap: 16px
}

.franchise-field {
    display: grid;
    gap: 7px;
    font-size: 14px
}

.franchise-field span {
    color: var(--ink);
    font-weight: 500
}

.franchise-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s
}

.franchise-field input:focus {
    outline: none;
    border-color: var(--gold-3);
    box-shadow: 0 0 0 3px rgba(198, 154, 68, .25)
}

.franchise-field.has-error input {
    border-color: #b42318;
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .12)
}

.franchise-error {
    color: #b42318;
    font-size: 13px
}

.franchise-form .button {
    margin-top: 6px;
    width: 100%
}

.franchise-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.franchise-success {
    text-align: center
}

.franchise-success p {
    margin: 0 0 22px;
    color: var(--body)
}

@media (max-width: 620px) {
    .franchise-card {
        padding: 26px 20px;
        border-radius: 22px
    }

    .franchise-card h2 {
        font-size: 26px
    }
}
