/* ========== Offer Funnel — pixel-perfect to design ========== */
/* Fonts: DM Sans (body), DM Serif Display (headings) */
/*
  FONT SIZE AUDIT (all screen sizes):
  — Base (default): wrapper 16px, hero-tag 14px, hero-title 36px, hero-desc 18px, hero-cta 18px,
    hero-badge strong 14px / small 12px, services h2 30px, services p 18px, service-card-title 20px,
    service-card-list span 14px, claim h2 30px, claim p 18px, form label/legend 14px, form input 16px,
    form-error 14px, submit 18px, disclaimer 12px, discontinued h2 30px / p 16px,
    success-title 30px, success-desc 18px, success-steps-heading 18px, step-num 12px, success-step span 14px,
    success-back 14px, footer-text 14px, footer-fine 12px, preview-banner 14px.
  — 768px+: hero-title 48px, hero-desc 20px, services h2 36px, services p 20px,
    claim h2 36px, claim p 20px, success-title 36px.
  — 1024px+: hero-title 56px.
*/
.bi-offer-page-wrapper {
    background-color: #faf8f5;
    color: #1d2329;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bi-offer-page-wrapper img {
    display: block;
    max-width: 100%;
}

.bi-offer-preview-banner {
    background-color: #1d2329;
    color: #faf8f5;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
}

/* ========== Layout ========== */
.bi-offer-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 16px;
}

.bi-offer-container-narrow {
    max-width: 672px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========== Hero — pixel-perfect match to reference, scoped to override theme ========== */
.bi-offer-page-wrapper .bi-offer-hero {
    background-color: #f3ede6;
    overflow: hidden;
}

.bi-offer-page-wrapper .bi-offer-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 48px 16px;
    max-width: 1024px;
    margin: 0 auto;
    box-sizing: border-box;
}

.bi-offer-page-wrapper .bi-offer-hero-text {
    flex: 1;
    min-width: 0;
    width: 100%;
    text-align: center;
}

.bi-offer-page-wrapper .bi-offer-hero-tag {
    display: inline-block;
    background-color: rgba(232, 69, 107, 0.1);
    color: #e8456b;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    margin: 0 0 16px 0;
}

.bi-offer-page-wrapper .bi-offer-hero-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.15;
    color: #1d2329;
    text-wrap: balance;
    margin: 0 0 16px 0;
    padding: 0;
    text-align: center;
    max-width: 100%;
}

.bi-offer-page-wrapper .bi-offer-hero-title-highlight {
    color: #e8456b;
}

.bi-offer-page-wrapper .bi-offer-hero-desc {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #6b7280;
    margin: 16px 0 0 0;
    padding: 0;
}

.bi-offer-page-wrapper .bi-offer-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 0 0;
    padding: 16px 32px;
    background-color: #e8456b;
    color: #ffffff;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s;
}

.bi-offer-page-wrapper .bi-offer-hero-cta:hover {
    opacity: 0.9;
}

.bi-offer-page-wrapper .bi-offer-hero-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.bi-offer-page-wrapper .bi-offer-hero-image-wrap {
    position: relative;
    flex-shrink: 0;
}

.bi-offer-page-wrapper .bi-offer-hero-image {
    width: 288px;
    height: 288px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.bi-offer-page-wrapper .bi-offer-hero-badge {
    position: absolute;
    bottom: -16px;
    left: -16px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bi-offer-page-wrapper .bi-offer-hero-badge .bi-offer-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background-color: rgba(232, 69, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi-offer-page-wrapper .bi-offer-hero-badge .bi-offer-icon svg {
    width: 20px;
    height: 20px;
    color: #e8456b;
}

.bi-offer-page-wrapper .bi-offer-hero-badge strong {
    display: block;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1d2329;
}

.bi-offer-page-wrapper .bi-offer-hero-badge small {
    display: block;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

@media (min-width: 768px) {
    .bi-offer-page-wrapper .bi-offer-hero-inner {
        flex-direction: row;
        padding: 64px 16px;
        align-items: center;
    }

    .bi-offer-page-wrapper .bi-offer-hero-text {
        text-align: left;
    }

    .bi-offer-page-wrapper .bi-offer-hero-title {
        font-size: 48px;
        text-align: left;
    }

    .bi-offer-page-wrapper .bi-offer-hero-desc {
        font-size: 20px;
    }

    .bi-offer-page-wrapper .bi-offer-hero-image {
        width: 320px;
        height: 320px;
    }
}

@media (min-width: 1024px) {
    .bi-offer-page-wrapper .bi-offer-hero-title {
        font-size: 56px;
    }

    .bi-offer-page-wrapper .bi-offer-hero-image {
        width: 384px;
        height: 384px;
    }
}

/* ========== Services ========== */
.bi-offer-page-wrapper .bi-offer-services {
    background-color: #ffffff;
    padding: 48px 0;
}

.bi-offer-page-wrapper .bi-offer-services .bi-offer-container > h2 {
    text-align: center;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 30px;
    color: #1d2329;
    margin: 0 0 12px;
}

.bi-offer-page-wrapper .bi-offer-services .bi-offer-container > p {
    text-align: center;
    margin-top: 0;
    font-size: 18px;
    color: #6b7280;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.bi-offer-page-wrapper .bi-offer-services-subheading {
    text-wrap: balance;
}

.bi-offer-page-wrapper .bi-offer-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

/* Single card: same width as one column in 2-col layout, centered */
.bi-offer-page-wrapper .bi-offer-services-grid--single {
    max-width: calc((min(1024px, 100%) - 24px) / 2);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .bi-offer-page-wrapper .bi-offer-services .bi-offer-container > h2 {
        font-size: 36px;
    }

    .bi-offer-page-wrapper .bi-offer-services .bi-offer-container > p {
        font-size: 20px;
    }

    .bi-offer-page-wrapper .bi-offer-services-grid:not(.bi-offer-services-grid--single) {
        grid-template-columns: 1fr 1fr;
    }
}

.bi-offer-page-wrapper .bi-offer-service-card {
    border: 1px solid #e5ddd3;
    border-radius: 12px;
    padding: 24px;
    background-color: #faf8f5;
    transition: box-shadow 0.15s;
}

.bi-offer-page-wrapper .bi-offer-service-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.bi-offer-page-wrapper .bi-offer-service-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background-color: rgba(232, 69, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.bi-offer-page-wrapper .bi-offer-service-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #e8456b;
    stroke: #e8456b;
    fill: none;
}

.bi-offer-page-wrapper .bi-offer-service-card-title {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1d2329;
    margin: 0 0 16px 0;
}

.bi-offer-page-wrapper .bi-offer-service-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bi-offer-page-wrapper .bi-offer-service-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bi-offer-page-wrapper .bi-offer-service-card-list li span {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    color: #1d2329;
}

.bi-offer-page-wrapper .bi-offer-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #2b6a4e;
    stroke: #2b6a4e;
    fill: none;
    margin-top: 2px;
}

/* ========== Claim section ========== */
.bi-offer-claim-section {
    background-color: #f3ede6;
    padding: 48px 0;
}

.bi-offer-claim-section .bi-offer-container-narrow > h2 {
    text-align: center;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 30px;
    color: #1d2329;
    margin: 0 0 12px;
}

.bi-offer-claim-section .bi-offer-container-narrow > p,
.bi-offer-form-subheading {
    text-align: center;
    margin-top: 0;
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .bi-offer-claim-section {
        padding: 64px 0;
    }

    .bi-offer-claim-section .bi-offer-container-narrow > h2 {
        font-size: 36px;
    }

    .bi-offer-claim-section .bi-offer-container-narrow > p {
        font-size: 20px;
    }
}

.bi-offer-claim-form {
    margin-top: 32px;
    background-color: #ffffff;
    border: 1px solid #e5ddd3;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .bi-offer-claim-form {
        padding: 32px;
    }
}

.bi-offer-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bi-offer-form-fields p,
.bi-offer-form-fields fieldset {
    margin: 0;
}

.bi-offer-form-fields label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1d2329;
    margin-bottom: 6px;
}

.bi-offer-form-fields legend {
    font-size: 14px;
    font-weight: 500;
    color: #1d2329;
    margin-bottom: 8px;
}

.bi-offer-form-fields .bi-offer-required {
    color: #e8456b;
}

.bi-offer-form-fields .bi-offer-optional {
    color: #6b7280;
    font-weight: 400;
}

.bi-offer-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.bi-offer-form-fields input[type="text"],
.bi-offer-form-fields input[type="email"],
.bi-offer-form-fields input[type="tel"],
.bi-offer-form-fields textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5ddd3;
    border-radius: 8px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    color: #1d2329;
    background-color: #ffffff;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}

.bi-offer-form-fields input:focus,
.bi-offer-form-fields textarea:focus {
    border-color: #e8456b;
    box-shadow: 0 0 0 3px rgba(232, 69, 107, 0.15);
}

.bi-offer-form-fields input::placeholder,
.bi-offer-form-fields textarea::placeholder {
    color: #9ca3af;
}

.bi-offer-form-fields textarea {
    resize: none;
    min-height: 80px;
}

.bi-offer-form-fields fieldset label,
.bi-offer-form-fields .bi-offer-radio-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-right: 16px;
    margin-bottom: 0;
}

.bi-offer-form-fields fieldset input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #e5ddd3;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
    position: relative;
    flex-shrink: 0;
}

.bi-offer-form-fields fieldset input[type="radio"]:checked {
    border-color: #e8456b;
}

.bi-offer-form-fields fieldset input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e8456b;
}

.bi-offer-form-error {
    display: none;
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    font-size: 14px;
}

.bi-offer-form-error.visible {
    display: block;
}

#bi-offer-submit,
.bi-offer-claim-form button[type="submit"] {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 16px 32px;
    background-color: #e8456b;
    color: #ffffff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.15s;
}

#bi-offer-submit:hover,
.bi-offer-claim-form button[type="submit"]:hover {
    opacity: 0.9;
}

#bi-offer-submit:disabled,
.bi-offer-claim-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bi-offer-disclaimer {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
}

.bi-offer-discontinued {
    background: #fff;
    border: 1px solid #e5ddd3;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.bi-offer-discontinued h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 30px;
    color: #1d2329;
    margin: 0 0 12px;
}

.bi-offer-discontinued p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* ========== Success view ========== */
.bi-offer-success-view {
    display: none;
    padding: 0;
}

.bi-offer-success-view[hidden] {
    display: none !important;
}

.bi-offer-success-view:not([hidden]) {
    display: block;
}

.bi-offer-success-inner {
    text-align: center;
}

.bi-offer-success-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(43, 106, 78, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.bi-offer-success-icon-wrap svg {
    width: 40px;
    height: 40px;
    stroke: #2b6a4e;
    fill: none;
}

.bi-offer-success-title {
    margin-top: 24px;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 30px;
    color: #1d2329;
    text-wrap: balance;
}

.bi-offer-success-desc {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.6;
    color: #6b7280;
}

.bi-offer-success-steps {
    margin-top: 32px;
    border: 1px solid #e5ddd3;
    border-radius: 12px;
    background-color: #ffffff;
    padding: 24px;
    text-align: left;
}

.bi-offer-success-steps-heading {
    font-size: 18px;
    font-weight: 700;
    color: #1d2329;
    margin: 0 0 16px;
}

.bi-offer-success-steps ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bi-offer-success-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bi-offer-step-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(232, 69, 107, 0.1);
    color: #e8456b;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi-offer-success-steps li span:last-child {
    font-size: 14px;
    color: #1d2329;
    line-height: 1.6;
}

.bi-offer-success-image {
    margin-top: 32px;
    border-radius: 12px;
    overflow: hidden;
}

.bi-offer-success-image img {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.bi-offer-success-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-size: 14px;
    font-weight: 500;
    color: #e8456b;
    text-decoration: none;
    transition: opacity 0.15s;
}

.bi-offer-success-back:hover {
    opacity: 0.8;
}

.bi-offer-success-back svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 768px) {
    .bi-offer-success-title {
        font-size: 36px;
    }
}

/* ========== Footer ========== */
.bi-offer-footer {
    background-color: #1d2329;
    padding: 32px 0;
    color: #faf8f5;
}

.bi-offer-footer .bi-offer-container {
    text-align: center;
}

.bi-offer-footer-inner {
    display: block;
}

.bi-offer-footer-text {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
}

.bi-offer-footer-text a {
    color: #e8456b;
}

.bi-offer-footer-fine {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

.bi-offer-footer a {
    color: #e8456b;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.15s;
}

.bi-offer-footer a:hover {
    opacity: 0.8;
}
