.hfc-gf-contact-shell,
.hfc-gf-contact-shell * {
    box-sizing: border-box;
}

.hfc-gf-contact-shell {
    width: 100%;
    border-radius: 34px;
    overflow: hidden;
}

.hfc-gf-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.hfc-gf-contact-panel {
    border: 1px solid;
    border-radius: 28px;
    min-width: 0;
}

.hfc-gf-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: #202441;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hfc-gf-contact-kicker::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 999px;
    box-shadow: 0 0 0 8px rgba(246, 162, 26, 0.11);
    flex: 0 0 auto;
}

.hfc-gf-contact-heading {
    margin: 0;
    font-size: clamp(42px, 4.4vw, 76px);
    line-height: 0.93;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.hfc-gf-contact-intro {
    margin: 28px 0 32px;
    max-width: 660px;
    font-size: clamp(17px, 1.2vw, 21px);
    line-height: 1.65;
    letter-spacing: 0.02em;
}

.hfc-gf-contact-detail-list {
    display: grid;
    gap: 24px;
    margin-top: 34px;
}

.hfc-gf-contact-detail-card {
    border: 1px solid;
    border-radius: 24px;
    padding: 28px 32px;
}

.hfc-gf-contact-detail-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.hfc-gf-contact-detail-card p {
    margin: 0;
    font-size: clamp(17px, 1.2vw, 20px);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.hfc-gf-contact-message {
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px dashed #d8d4ca;
    border-radius: 18px;
    color: #5f6674;
    background: #f8f7f3;
    font-weight: 700;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme,
.hfc-gf-contact-form .gform_wrapper {
    margin-top: 28px;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 20px;
    grid-column-gap: 18px;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme .gfield_label,
.hfc-gf-contact-form .gform_wrapper .gfield_label {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="text"],
.hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="email"],
.hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="tel"],
.hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="url"],
.hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="number"],
.hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="date"],
.hfc-gf-contact-form .gform_wrapper.gravity-theme textarea,
.hfc-gf-contact-form .gform_wrapper.gravity-theme select,
.hfc-gf-contact-form .gform_wrapper input[type="text"],
.hfc-gf-contact-form .gform_wrapper input[type="email"],
.hfc-gf-contact-form .gform_wrapper input[type="tel"],
.hfc-gf-contact-form .gform_wrapper input[type="url"],
.hfc-gf-contact-form .gform_wrapper input[type="number"],
.hfc-gf-contact-form .gform_wrapper input[type="date"],
.hfc-gf-contact-form .gform_wrapper textarea,
.hfc-gf-contact-form .gform_wrapper select {
    width: 100%;
    min-height: 56px;
    border: 1px solid #dedbd4;
    border-radius: 16px;
    background: #fffefb;
    padding: 13px 16px;
    font-size: 18px;
    line-height: 1.35;
    box-shadow: none;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme textarea,
.hfc-gf-contact-form .gform_wrapper textarea {
    min-height: 142px;
    resize: vertical;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme input:focus,
.hfc-gf-contact-form .gform_wrapper.gravity-theme textarea:focus,
.hfc-gf-contact-form .gform_wrapper.gravity-theme select:focus,
.hfc-gf-contact-form .gform_wrapper input:focus,
.hfc-gf-contact-form .gform_wrapper textarea:focus,
.hfc-gf-contact-form .gform_wrapper select:focus {
    border-color: #b9b4aa;
    box-shadow: 0 0 0 4px rgba(32, 36, 65, 0.07);
    background: #ffffff;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_footer,
.hfc-gf-contact-form .gform_wrapper .gform_footer {
    margin: 18px 0 0;
    padding: 0;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.hfc-gf-contact-form .gform_wrapper .gform_footer input[type="submit"],
.hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_page_footer input[type="button"],
.hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_page_footer input[type="submit"],
.hfc-gf-contact-form .gform_wrapper .gform_page_footer input[type="button"],
.hfc-gf-contact-form .gform_wrapper .gform_page_footer input[type="submit"] {
    width: 100%;
    min-height: 62px;
    border: 0;
    border-radius: 999px;
    padding: 15px 24px;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover,
.hfc-gf-contact-form .gform_wrapper .gform_footer input[type="submit"]:hover,
.hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_page_footer input[type="button"]:hover,
.hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_page_footer input[type="submit"]:hover,
.hfc-gf-contact-form .gform_wrapper .gform_page_footer input[type="button"]:hover,
.hfc-gf-contact-form .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    transform: translateY(-1px);
    opacity: 0.96;
    box-shadow: 0 16px 30px rgba(16, 19, 42, 0.16);
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme .gfield_required,
.hfc-gf-contact-form .gform_wrapper .gfield_required {
    color: inherit;
}

.hfc-gf-contact-form .gform_wrapper.gravity-theme .validation_message,
.hfc-gf-contact-form .gform_wrapper .validation_message {
    padding-top: 8px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .hfc-gf-contact-grid {
        grid-template-columns: 1fr;
    }

    .hfc-gf-contact-heading {
        font-size: clamp(38px, 9vw, 64px);
    }
}

@media (max-width: 767px) {
    .hfc-gf-contact-shell {
        border-radius: 24px;
    }

    .hfc-gf-contact-panel {
        border-radius: 22px;
    }

    .hfc-gf-contact-kicker {
        font-size: 12px;
        letter-spacing: 0.17em;
        margin-bottom: 18px;
    }

    .hfc-gf-contact-kicker::before {
        width: 13px;
        height: 13px;
        box-shadow: 0 0 0 7px rgba(246, 162, 26, 0.11);
    }

    .hfc-gf-contact-intro {
        margin: 20px 0 24px;
        font-size: 16px;
        line-height: 1.55;
    }

    .hfc-gf-contact-detail-list {
        margin-top: 24px;
        gap: 16px;
    }

    .hfc-gf-contact-detail-card {
        padding: 22px;
        border-radius: 20px;
    }

    .hfc-gf-contact-detail-card p {
        font-size: 16px;
    }

    .hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_fields {
        grid-column-gap: 0;
    }

    .hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="text"],
    .hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="email"],
    .hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="tel"],
    .hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="url"],
    .hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="number"],
    .hfc-gf-contact-form .gform_wrapper.gravity-theme input[type="date"],
    .hfc-gf-contact-form .gform_wrapper.gravity-theme textarea,
    .hfc-gf-contact-form .gform_wrapper.gravity-theme select,
    .hfc-gf-contact-form .gform_wrapper input[type="text"],
    .hfc-gf-contact-form .gform_wrapper input[type="email"],
    .hfc-gf-contact-form .gform_wrapper input[type="tel"],
    .hfc-gf-contact-form .gform_wrapper input[type="url"],
    .hfc-gf-contact-form .gform_wrapper input[type="number"],
    .hfc-gf-contact-form .gform_wrapper input[type="date"],
    .hfc-gf-contact-form .gform_wrapper textarea,
    .hfc-gf-contact-form .gform_wrapper select {
        min-height: 52px;
        font-size: 16px;
        border-radius: 14px;
    }

    .hfc-gf-contact-form .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
    .hfc-gf-contact-form .gform_wrapper .gform_footer input[type="submit"] {
        min-height: 58px;
        font-size: 17px;
    }
}
