.success-confirmation {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 15px 16px;
    color: #1f6d3a;
    background:
        linear-gradient(135deg, rgba(238, 248, 239, 0.98), rgba(255, 253, 250, 0.96));
    border: 1px solid #bfe5cc;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(31, 109, 58, 0.1);
    animation: success-confirmation-in 320ms ease both;
}

.success-confirmation-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    color: #1f6d3a;
    background: rgba(31, 109, 58, 0.08);
    border-radius: 999px;
}

.success-confirmation-icon svg {
    width: 46px;
    height: 46px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-confirmation-icon circle {
    stroke-width: 1.8;
    stroke-dasharray: 132;
    stroke-dashoffset: 132;
    animation: success-circle-draw 720ms ease forwards;
}

.success-confirmation-icon path {
    stroke-width: 3;
    stroke-dasharray: 32;
    stroke-dashoffset: 32;
    animation: success-check-draw 520ms 260ms cubic-bezier(0.2, 0.85, 0.3, 1.2) forwards;
}

.success-confirmation strong {
    display: block;
    color: #174f2f;
    font-size: 1rem;
    line-height: 1.25;
}

.success-confirmation small {
    display: block;
    margin-top: 3px;
    color: rgba(31, 109, 58, 0.78);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.45;
}

.contact-consent,
.offer-inquiry-consent {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    column-gap: 10px !important;
    color: var(--muted) !important;
    font-size: 0.88rem !important;
    font-weight: 650 !important;
    line-height: 1.45;
    cursor: pointer;
}

.contact-consent span,
.offer-inquiry-consent span {
    display: block;
    min-width: 0;
    line-height: 1.45;
}

.contact-consent a,
.offer-inquiry-consent a {
    color: var(--navy);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(185, 138, 58, 0.55);
    text-underline-offset: 3px;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.contact-consent a:hover,
.contact-consent a:focus-visible,
.offer-inquiry-consent a:hover,
.offer-inquiry-consent a:focus-visible {
    color: var(--gold);
    text-decoration-color: currentColor;
}

.contact-consent input,
.offer-inquiry-consent input {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: block;
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 1px 0 0;
    padding: 0;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #d8d0c2;
    border-radius: 6px;
    box-shadow: inset 0 1px 1px rgba(16, 35, 63, 0.04);
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.contact-consent input::after,
.offer-inquiry-consent input::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 44%;
    width: 9px;
    height: 5px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-45deg) scale(0.55);
    transform-origin: center;
    transition: opacity 130ms ease, transform 190ms cubic-bezier(0.2, 0.85, 0.3, 1.2);
}

.contact-consent input:hover,
.offer-inquiry-consent input:hover {
    border-color: rgba(185, 138, 58, 0.72);
    box-shadow: 0 4px 12px rgba(16, 35, 63, 0.08);
}

.contact-consent input:checked,
.offer-inquiry-consent input:checked {
    background: #1f6d3a;
    border-color: #1f6d3a;
    transform: scale(1.03);
}

.contact-consent input:checked::after,
.offer-inquiry-consent input:checked::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg) scale(1);
}

.contact-consent input:focus-visible,
.offer-inquiry-consent input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(185, 138, 58, 0.18), 0 4px 12px rgba(16, 35, 63, 0.08);
}

@keyframes success-confirmation-in {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes success-circle-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes success-check-draw {
    70% {
        stroke-dashoffset: 0;
        transform: scale(1.04);
    }
    100% {
        stroke-dashoffset: 0;
        transform: scale(1);
    }
}

@media (max-width: 520px) {
    .success-confirmation {
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }

    .success-confirmation-icon,
    .success-confirmation-icon svg {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .success-confirmation,
    .success-confirmation-icon circle,
    .success-confirmation-icon path {
        animation: none;
    }

    .success-confirmation-icon circle,
    .success-confirmation-icon path {
        stroke-dashoffset: 0;
    }

    .contact-consent input,
    .contact-consent input::after,
    .offer-inquiry-consent input,
    .offer-inquiry-consent input::after,
    .contact-consent a,
    .offer-inquiry-consent a {
        transition: none;
    }

    .contact-consent input:checked,
    .offer-inquiry-consent input:checked {
        transform: none;
    }
}
