.profi-shared-quote {
    --profi-quote-accent: #ac3f21;
    --profi-quote-accent-dark: #7c2b17;
    --profi-quote-gold: #f2bd55;
    --profi-quote-ink: #172225;
    --profi-quote-muted: #647174;
    --profi-quote-soft: #f6f3f0;
    --profi-quote-line: #e4ddd7;
    margin: 0 !important;
    padding: 82px 0 !important;
    background: linear-gradient(135deg, #f6f1ed 0%, #fff 100%) !important;
}

.profi-shared-quote.header-stick {
    margin-top: 0 !important;
}

.profi-shared-quote,
.profi-shared-quote * {
    box-sizing: border-box;
}

.profi-shared-quote #section-contact.page-section {
    padding-top: 0;
    padding-bottom: 0;
    scroll-margin-top: 105px;
}

.profi-shared-quote .row.contact-side {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.32fr);
    gap: 34px;
    align-items: stretch;
    margin: 0;
}

.profi-shared-quote .row.contact-side > [class*="col-"] {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 38px;
    flex: none;
}

.profi-shared-quote .contact-bg {
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--profi-quote-ink) 0%, var(--profi-quote-accent) 100%) !important;
    color: #fff;
    box-shadow: 0 22px 55px rgba(23, 34, 37, .19);
}

.profi-shared-quote .contact-bg .heading-block {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.profi-shared-quote .contact-bg .heading-block::after {
    display: none;
}

.profi-shared-quote .contact-bg .heading-block h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
    text-transform: none;
}

.profi-shared-quote .contact-bg .heading-block span {
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.65;
}

.profi-shared-quote .contact-bg .row {
    margin-right: 0;
    margin-left: 0;
}

.profi-shared-quote .contact-bg .row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.profi-shared-quote .footer-big-contacts {
    margin: 0 0 20px !important;
    padding: 0 0 19px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.profi-shared-quote .footer-big-contacts:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0;
    border-bottom: 0;
}

.profi-shared-quote .footer-big-contacts span {
    display: block;
    margin-bottom: 5px;
    color: var(--profi-quote-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.profi-shared-quote .footer-big-contacts a {
    color: #fff;
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.profi-shared-quote .footer-big-contacts a:hover,
.profi-shared-quote .footer-big-contacts a:focus {
    color: var(--profi-quote-gold);
}

.profi-shared-quote .footer-big-contacts p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .82);
    line-height: 1.65;
}

.profi-shared-quote .row.contact-side > .footer-pad:not(.contact-bg) {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(228, 221, 215, .82);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(23, 34, 37, .08);
}

.profi-shared-quote .row.contact-side > .footer-pad:not(.contact-bg)::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--profi-quote-accent), var(--profi-quote-gold));
}

.profi-shared-quote .contact-form-result {
    display: none;
}

.profi-shared-quote .profi-quote-form-heading {
    margin-bottom: 24px;
}

.profi-shared-quote .profi-quote-form-kicker {
    margin: 0 0 8px;
    color: var(--profi-quote-accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.3;
    text-transform: uppercase;
}

.profi-shared-quote .profi-quote-form-heading h3 {
    margin: 0 0 9px;
    color: var(--profi-quote-ink);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.profi-shared-quote .profi-quote-form-heading > p:last-child {
    margin: 0;
    color: var(--profi-quote-muted);
    line-height: 1.65;
}

.profi-shared-quote .profi-contact-form form.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 14px;
    margin: 0;
}

.profi-shared-quote .profi-contact-form form > [class*="col-"] {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    flex: none;
}

.profi-shared-quote .profi-form-field--name {
    grid-column: 1;
    grid-row: 1;
}

.profi-shared-quote .profi-form-field--phone {
    grid-column: 2;
    grid-row: 1;
}

.profi-shared-quote .profi-form-field--email {
    grid-column: 1 / -1;
    grid-row: 2;
}

.profi-shared-quote .profi-form-field--message,
.profi-shared-quote .profi-privacy-field,
.profi-shared-quote .profi-contact-form form > .col-12 {
    grid-column: 1 / -1;
}

.profi-shared-quote .profi-form-field--message {
    grid-row: 3;
}

.profi-shared-quote .profi-contact-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--profi-quote-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .045em;
    line-height: 1.35;
    text-transform: uppercase;
}

.profi-shared-quote .profi-contact-form .sm-form-control {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #ddd5cf;
    border-radius: 10px;
    background: #fbfaf9;
    color: var(--profi-quote-ink);
    font-size: 15px;
    box-shadow: 0 1px 0 rgba(23, 34, 37, .03);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.profi-shared-quote .profi-contact-form .sm-form-control::placeholder {
    color: #939a9b;
    opacity: 1;
}

.profi-shared-quote .profi-contact-form textarea.sm-form-control {
    min-height: 108px;
    resize: vertical;
}

.profi-shared-quote .profi-contact-form .sm-form-control:focus {
    border-color: var(--profi-quote-accent);
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(172, 63, 33, .11);
}

.profi-shared-quote .profi-privacy-field {
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: 1px !important;
    padding: 12px 13px !important;
    border: 1px solid var(--profi-quote-line);
    border-radius: 9px;
    background: var(--profi-quote-soft);
}

.profi-shared-quote .profi-privacy-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--profi-quote-accent);
}

.profi-shared-quote .profi-privacy-field label {
    display: block;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5;
    text-transform: none;
}

.profi-shared-quote .profi-privacy-field a {
    color: var(--profi-quote-accent);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.profi-shared-quote .profi-contact-form button[type="submit"] {
    width: 100%;
    min-height: 54px;
    margin: 0 !important;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--profi-quote-accent), #c4522f);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: none;
    box-shadow: 0 14px 30px rgba(172, 63, 33, .23);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.profi-shared-quote .profi-contact-form button[type="submit"]:hover,
.profi-shared-quote .profi-contact-form button[type="submit"]:focus {
    background: var(--profi-quote-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 17px 34px rgba(124, 43, 23, .29);
}

@media (max-width: 991px) {
    .profi-shared-quote {
        padding: 64px 0 !important;
    }

    .profi-shared-quote .row.contact-side {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .profi-shared-quote {
        padding: 50px 0 !important;
    }

    .profi-shared-quote .row.contact-side {
        gap: 22px;
    }

    .profi-shared-quote .row.contact-side > [class*="col-"] {
        padding: 24px;
    }

    .profi-shared-quote .profi-contact-form form.row {
        grid-template-columns: 1fr;
    }

    .profi-shared-quote .profi-form-field--name,
    .profi-shared-quote .profi-form-field--email,
    .profi-shared-quote .profi-form-field--phone,
    .profi-shared-quote .profi-form-field--message {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profi-shared-quote .profi-contact-form .sm-form-control,
    .profi-shared-quote .profi-contact-form button[type="submit"] {
        transition: none;
    }
}
