.tbs-contacto,
.tbs-contacto * {
    box-sizing: border-box;
}

.tbs-contacto {
    background: #fff;
    clear: both;
    padding: 32px 0 40px;
    width: 100%;
}

.tbs-contacto__container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1060px;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.tbs-contacto__card {
    background: #fff;
    border: 1px solid #d8e1dd;
    box-shadow: none;
    margin: 0 auto;
    max-width: 980px;
    padding: 30px 36px 34px;
    width: 100%;
}

.tbs-contacto__header {
    margin-bottom: 24px;
}

.tbs-contacto__eyebrow {
    color: #004236;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.tbs-contacto__title {
    color: #004236;
    font-size: clamp(38px, 3.4vw, 52px);
    font-weight: 700;
    line-height: 1.02;
    margin: 0 0 14px;
}

.tbs-contacto__intro {
    color: #1f2d2a;
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
}

.tbs-contacto__feedback:empty {
    display: none;
}

.tbs-contacto__notice {
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 20px;
    padding: 13px 16px;
}

.tbs-contacto__notice p {
    margin: 0;
}

.tbs-contacto__notice p+ul {
    margin-top: 8px;
}

.tbs-contacto__notice ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.tbs-contacto__notice--success {
    background: #eef8f2;
    border-color: #b7dec5;
    color: #004236;
}

.tbs-contacto__notice--error {
    background: #fff4f2;
    border-color: #d8b0aa;
    color: #4a201b;
}

.tbs-contacto__form {
    column-gap: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    row-gap: 16px;
}

.tbs-contacto__field {
    margin: 0;
}

.tbs-contacto__field--full,
.tbs-contacto__legal,
.tbs-contacto__submit {
    grid-column: 1 / -1;
}

.tbs-contacto__label {
    color: #004236;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 8px;
}

.tbs-contacto__input,
.tbs-contacto__select,
.tbs-contacto__textarea {
    appearance: none;
    background: #fff;
    border: 1px solid #7b605b;
    border-radius: 3px;
    box-shadow: none;
    color: #1f2d2a;
    display: block;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
    min-height: 46px;
    outline: 0;
    padding: 0 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    width: 100%;
}

.tbs-contacto__select {
    background-image: linear-gradient(45deg, transparent 50%, #004236 50%), linear-gradient(135deg, #004236 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    padding-right: 42px;
}

.tbs-contacto__textarea {
    min-height: 116px;
    padding-bottom: 13px;
    padding-top: 13px;
    resize: vertical;
}

.tbs-contacto__input:hover,
.tbs-contacto__select:hover,
.tbs-contacto__textarea:hover {
    border-color: #004236;
}

.tbs-contacto__input:focus,
.tbs-contacto__select:focus,
.tbs-contacto__textarea:focus {
    background: #fff;
    border-color: #004236;
    box-shadow: 0 0 0 1px #004236;
    color: #1f2d2a;
}

.tbs-contacto__legal {
    color: #1f2d2a;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.tbs-contacto__submit {
    appearance: none;
    background: #004236;
    border: 1px solid #004236;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    justify-self: start;
    line-height: 46px;
    min-height: 46px;
    min-width: 180px;
    padding: 0 28px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.tbs-contacto__submit:hover,
.tbs-contacto__submit:focus {
    background: #002f27;
    border-color: #002f27;
    color: #fff;
}

.tbs-contacto__submit[disabled],
.tbs-contacto__submit.is-loading {
    cursor: wait;
    opacity: 0.75;
}

.tbs-contacto__hp {
    height: 0;
    left: -9999px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 0;
}

@media (max-width: 767px) {
    .tbs-contacto {
        padding-bottom: 42px;
        padding-top: 30px;
    }

    .tbs-contacto__container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tbs-contacto__card {
        padding: 30px 22px 34px;
    }

    .tbs-contacto__title {
        font-size: 40px;
    }

    .tbs-contacto__form {
        display: block;
    }

    .tbs-contacto__field {
        margin-bottom: 16px;
    }

    .tbs-contacto__legal {
        margin: 4px 0 18px;
    }
}

@media (max-width: 480px) {
    .tbs-contacto__card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .tbs-contacto__submit {
        width: 100%;
    }
}