.sgd-native-contact {
    --sgd-ink: #10242f;
    --sgd-ink-soft: #52636c;
    --sgd-orange: #f15a29;
    --sgd-orange-dark: #c9431c;
    --sgd-green: #287862;
    --sgd-cream: #f6f3ee;
    --sgd-border: #d9d4cc;
    color: var(--sgd-ink);
    width: 100%;
}

.sgd-native-contact *,
.sgd-native-contact *::before,
.sgd-native-contact *::after {
    box-sizing: border-box;
}

.sgd-native-contact__notice {
    align-items: flex-start;
    border: 1px solid transparent;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    line-height: 1.55;
    margin: 0 0 22px;
    padding: 18px 20px;
}

.sgd-native-contact__notice strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    line-height: 1.15;
}

.sgd-native-contact__notice.is-success {
    background: #eaf6f1;
    border-color: #a6d2c2;
    color: #164f3e;
}

.sgd-native-contact__notice.is-error {
    background: #fff0eb;
    border-color: #efb6a2;
    color: #842d17;
}

.sgd-native-contact__form {
    background:
        linear-gradient(135deg, rgba(241, 90, 41, .045), transparent 30%),
        #fff;
    border: 1px solid var(--sgd-border);
    border-radius: 24px;
    box-shadow: 0 20px 55px rgba(16, 36, 47, .11);
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
    position: relative;
}

.sgd-native-contact__form::before {
    background: linear-gradient(90deg, var(--sgd-orange), #ff8a47 55%, var(--sgd-green));
    content: "";
    height: 7px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.sgd-native-contact__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sgd-native-contact label {
    color: var(--sgd-ink);
    cursor: pointer;
    display: block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.35;
}

.sgd-native-contact label > span:first-child {
    display: block;
    margin-bottom: 8px;
}

.sgd-native-contact label b {
    color: var(--sgd-orange-dark);
}

.sgd-native-contact input[type="text"],
.sgd-native-contact input[type="email"],
.sgd-native-contact input[type="tel"],
.sgd-native-contact select,
.sgd-native-contact textarea {
    appearance: none;
    background: #fff;
    border: 1.5px solid #aeb9bf;
    border-radius: 13px;
    color: var(--sgd-ink);
    display: block;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    min-height: 56px;
    padding: 14px 16px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    width: 100%;
}

.sgd-native-contact select {
    background-image:
        linear-gradient(45deg, transparent 50%, var(--sgd-ink) 50%),
        linear-gradient(135deg, var(--sgd-ink) 50%, transparent 50%);
    background-position:
        calc(100% - 21px) 24px,
        calc(100% - 15px) 24px;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    padding-right: 45px;
}

.sgd-native-contact textarea {
    min-height: 175px;
    resize: vertical;
}

.sgd-native-contact input::placeholder,
.sgd-native-contact textarea::placeholder {
    color: #7b888f;
    font-weight: 500;
    opacity: 1;
}

.sgd-native-contact input:focus,
.sgd-native-contact select:focus,
.sgd-native-contact textarea:focus {
    border-color: var(--sgd-orange);
    box-shadow: 0 0 0 4px rgba(241, 90, 41, .16);
    outline: none;
}

.sgd-native-contact__full {
    grid-column: 1 / -1;
}

.sgd-native-contact__consent {
    align-items: flex-start;
    background: var(--sgd-cream);
    border: 1px solid #e2ddd5;
    border-radius: 14px;
    display: flex !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    gap: 11px;
    line-height: 1.55 !important;
    margin: 22px 0 0;
    padding: 15px 16px;
}

.sgd-native-contact__consent input {
    accent-color: var(--sgd-orange);
    flex: 0 0 auto;
    height: 19px;
    margin: 2px 0 0;
    width: 19px;
}

.sgd-native-contact__consent span {
    display: inline !important;
    margin: 0 !important;
}

.sgd-native-contact__submit-row {
    align-items: center;
    border-top: 1px solid #e5e0d8;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(220px, auto) 1fr;
    margin-top: 24px;
    padding-top: 24px;
}

.sgd-native-contact__submit-row button {
    align-items: center;
    appearance: none;
    background: var(--sgd-orange);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(201, 67, 28, .22);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 17px;
    font-weight: 900;
    gap: 24px;
    justify-content: space-between;
    letter-spacing: .01em;
    min-height: 58px;
    padding: 15px 23px;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sgd-native-contact__submit-row button span {
    font-size: 26px;
    line-height: 1;
}

.sgd-native-contact__submit-row button:hover {
    background: var(--sgd-orange-dark);
    box-shadow: 0 13px 29px rgba(201, 67, 28, .29);
    transform: translateY(-2px);
}

.sgd-native-contact__submit-row button:focus-visible {
    outline: 3px solid var(--sgd-ink);
    outline-offset: 3px;
}

.sgd-native-contact__submit-row p {
    color: var(--sgd-ink-soft);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.sgd-native-contact__honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

@media (max-width: 720px) {
    .sgd-native-contact__grid,
    .sgd-native-contact__submit-row {
        grid-template-columns: 1fr;
    }

    .sgd-native-contact__full {
        grid-column: auto;
    }

    .sgd-native-contact__submit-row button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgd-native-contact input,
    .sgd-native-contact select,
    .sgd-native-contact textarea,
    .sgd-native-contact button {
        transition: none;
    }
}
