/* ============================================
   FugePlus Beregner – Calculator Styles
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:       #2E5266;
    --navy-light: #3A6B85;
    --gold:       #B8956A;
    --gold-dark:  #9A7A55;
    --green:      #2E5266;
    --green-dark: #243F52;
    --gray-50:    #F7F7F7;
    --gray-100:   #FAF8F5;
    --gray-200:   #e5e7eb;
    --gray-400:   #9ca3af;
    --gray-500:   #6b7280;
    --gray-700:   #374151;
    --gray-900:   #2C2C2C;
    --radius:     10px;
    --shadow:     0 1px 6px rgba(0,0,0,.07);
    --shadow-md:  0 4px 20px rgba(0,0,0,.10);
}

html, body {
    height: 100%;
    background: var(--gray-50);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    color: var(--gray-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
#fp-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Top bar ── */
#fp-topbar {
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 0 32px;
    height: 68px;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 24px;
    flex-shrink: 0;
}

.fp-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: all .15s;
    width: fit-content;
    flex-shrink: 0;
    white-space: nowrap;
}

.fp-home-link:hover {
    border-color: var(--gray-400);
    color: var(--navy);
}

.fp-brand-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.fp-brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

/* Step navigation — horizontal progress bar */
.fp-steps-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    justify-content: center;
    gap: 0;
}

.fp-step-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    opacity: .4;
    transition: opacity .2s;
}

.fp-step-item.active,
.fp-step-item.done {
    opacity: 1;
}

.fp-step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-500);
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

.fp-step-item.active .fp-step-circle {
    background: var(--navy);
    color: #fff;
}

.fp-step-item.done .fp-step-circle {
    background: var(--navy);
    color: #fff;
}

.fp-step-item.done .fp-step-circle span::before {
    content: '✓';
}

.fp-step-item.done .fp-step-circle span {
    display: none;
}

.fp-step-item.done .fp-step-circle::after {
    content: '✓';
    font-size: 16px;
}

.fp-step-text strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
}

.fp-step-text small {
    font-size: 11px;
    color: var(--gray-500);
}

.fp-step-connector {
    width: 28px;
    height: 2px;
    background: var(--gray-200);
    margin: 0;
    flex-shrink: 0;
}

/* Address box — compact pill in topbar */
.fp-address-box {
    background: var(--gray-50);
    border-radius: 6px;
    padding: 6px 12px;
    border: 1px solid var(--gray-200);
    max-width: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.fp-address-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 2px;
}

.fp-address-val {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* FAQ */
.fp-faq-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.fp-faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.fp-faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 10px 0;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.fp-faq-q span {
    transition: transform .2s;
    flex-shrink: 0;
}

.fp-faq-item.open .fp-faq-q span {
    transform: rotate(180deg);
}

.fp-faq-a {
    display: none;
    font-size: 12px;
    color: var(--gray-500);
    padding: 0 0 12px;
    line-height: 1.6;
}

.fp-faq-item.open .fp-faq-a {
    display: block;
}

/* ── Main content ── */
#fp-main {
    flex: 1;
    padding: 40px;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

/* ── Step header ── */
.fp-step-header {
    margin-bottom: 28px;
}

.fp-step-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 6px;
}

.fp-step-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.fp-step-header p {
    color: var(--gray-500);
    font-size: 15px;
}

/* ── Task type cards (Step 1) ── */
.fp-task-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.fp-task-card {
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: border-color .15s, box-shadow .15s, background .15s;
    user-select: none;
}

.fp-task-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow);
}

.fp-task-card.selected {
    border-color: var(--navy);
    background: #EEF3F6;
}

.fp-task-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}

.fp-task-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fp-task-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
}

.fp-task-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.4;
}

.fp-task-plus {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 24px;
    color: var(--gray-500);
}

/* Last card spans both columns if it ends up alone in a row */
.fp-task-grid .fp-task-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
    margin: 0 auto;
    width: 100%;
}

/* ── Address input (Step 2) ── */
.fp-address-field {
    position: relative;
    max-width: 560px;
    margin-bottom: 28px;
}

.fp-address-field input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 16px;
    color: var(--gray-900);
    background: #fff;
    outline: none;
    transition: border-color .15s;
}

.fp-address-field input:focus {
    border-color: var(--navy);
}

.fp-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
    margin-top: 4px;
}

.fp-autocomplete-item {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: background .1s;
}

.fp-autocomplete-item:hover,
.fp-autocomplete-item.focused {
    background: var(--gray-50);
}

.fp-autocomplete-item:last-child {
    border-bottom: none;
}

/* ── Detail sections (Step 3) ── */
.fp-detail-section {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.fp-detail-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.fp-detail-section-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}

.fp-detail-section-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fp-detail-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.fp-detail-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.fp-detail-row label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    min-width: 160px;
}

/* Color picker trigger */
.fp-color-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-500);
    transition: border-color .15s;
    min-width: 200px;
}

.fp-color-trigger:hover {
    border-color: var(--navy);
}

.fp-color-swatches {
    display: flex;
    gap: 4px;
}

.fp-color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    flex-shrink: 0;
}

.fp-color-trigger .fp-plus {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px dashed var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1;
}

/* Length input */
.fp-meter-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fp-meter-input input {
    width: 100px;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 16px;
    text-align: right;
    outline: none;
    transition: border-color .15s;
}

.fp-meter-input input:focus {
    border-color: var(--navy);
}

.fp-meter-input span {
    font-size: 14px;
    color: var(--gray-500);
}

/* Toggle */
.fp-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--gray-100);
}

.fp-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.fp-toggle {
    position: relative;
    width: 52px;
    height: 28px;
}

.fp-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.fp-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--gray-200);
    border-radius: 28px;
    cursor: pointer;
    transition: background .2s;
}

.fp-toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.fp-toggle input:checked + .fp-toggle-slider {
    background: var(--navy);
}

.fp-toggle input:checked + .fp-toggle-slider::before {
    transform: translateX(24px);
}

.fp-toggle-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    min-width: 24px;
}

/* Extra equipment card */
.fp-extras-section {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.fp-extras-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

/* Note */
.fp-note-section {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.fp-note-section label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.fp-note-section textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray-700);
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}

.fp-note-section textarea:focus {
    border-color: var(--navy);
}

/* ── Contact form (Step 4) ── */
.fp-contact-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.fp-contact-form {
    flex: 1;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
}

.fp-contact-summary {
    width: 260px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    position: sticky;
    top: 88px;
}

.fp-contact-summary h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--gray-900);
}

.fp-summary-row {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
    line-height: 1.5;
}

.fp-summary-row strong {
    display: block;
    color: var(--gray-700);
    font-weight: 600;
}

.fp-form-row {
    margin-bottom: 18px;
}

.fp-form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.fp-form-row input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    color: var(--gray-900);
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}

.fp-form-row input:focus {
    border-color: var(--navy);
}

.fp-form-row input.fp-error {
    border-color: #ef4444;
}

.fp-form-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

.fp-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Benefits box */
.fp-benefits {
    background: #F2F0EC;
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 20px;
    border: 1px solid #DDD8D0;
}

.fp-benefits-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.fp-benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fp-benefits ul li {
    font-size: 13px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fp-benefits ul li::before {
    content: '•';
    color: var(--navy);
    font-weight: 700;
}

.fp-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-700);
}

.fp-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--navy);
}

.fp-terms-note {
    font-size: 12px;
    color: var(--gray-400);
    padding: 14px 0;
    border-top: 1px solid var(--gray-100);
    margin-top: 14px;
}

/* ── Result page (Step 5) ── */
.fp-result-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.fp-result-main {
    flex: 1;
}

/* Opgave-summary vist over resultat-indholdet (step 5) */
.fp-sidebar-summary-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 24px;
}

.fp-sidebar-summary-box .fp-address-label {
    margin-bottom: 10px;
}

.fp-sidebar-task {
    padding: 10px 0;
    border-top: 1px solid var(--gray-200);
}

.fp-sidebar-task:first-of-type {
    border-top: none;
    padding-top: 0;
}

.fp-sidebar-task-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}

.fp-sidebar-task-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 8px;
    background: #EEF3F6;
    color: var(--navy);
    margin-left: 4px;
    vertical-align: middle;
}

.fp-sidebar-task-meta {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.45;
}

.fp-sidebar-edit-btn {
    margin-top: 12px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all .15s;
    width: 100%;
}

.fp-sidebar-edit-btn:hover {
    border-color: var(--gray-400);
    color: var(--navy);
}

.fp-result-side {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 88px;
}

.fp-result-banner {
    background: var(--gold);
    color: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fp-result-price-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow);
}

.fp-result-normal-price {
    font-size: 16px;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.fp-result-online-price {
    font-size: 52px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: 4px;
}

.fp-result-vat-note {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.fp-result-savings-badge {
    display: inline-block;
    background: #E8F0F4;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.fp-result-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.fp-result-feature {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.fp-result-feature-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.fp-result-feature-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-900);
}

.fp-result-feature-text small {
    font-size: 12px;
    color: var(--gray-500);
}

.fp-craftsman-box {
    background: #FBF8F3;
    border: 1px solid #E2D8CB;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
}

.fp-craftsman-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.fp-craftsman-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.fp-craftsman-text p {
    font-size: 13px;
    color: var(--gray-500);
}

.fp-craftsman-text a {
    color: var(--navy);
    text-decoration: underline;
}

.fp-validity {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.fp-validity strong {
    color: #ef4444;
}

.fp-btn-accept {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    margin-bottom: 12px;
    font-family: inherit;
}

.fp-btn-accept:hover {
    background: var(--green-dark);
}

.fp-btn-accept.fp-done {
    background: var(--green-dark);
    cursor: default;
}

.fp-accept-trust {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.fp-accept-trust span::before {
    content: '✓ ';
    color: var(--navy);
}

/* "Bliv ringet op"-knap — sekundær CTA */
.fp-btn-callback-req {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, color .15s;
    margin-bottom: 12px;
}

.fp-btn-callback-req:hover:not(:disabled) {
    border-color: var(--navy);
    color: var(--navy);
}

.fp-btn-callback-req:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Bekræftelse efter "Bliv ringet op"-klik */
.fp-callback-confirm {
    background: #F2F0EC;
    border: 1px solid #DDD8D0;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    margin-bottom: 12px;
}

.fp-callback-confirm strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.fp-callback-confirm p {
    font-size: 13px;
    color: var(--gray-500);
}

/* "Beregn nyt tilbud"-knap */
.fp-callback-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
}

.fp-callback-btn:hover {
    background: var(--gray-50);
}

/* Result side cards */
.fp-result-trust-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
}

.fp-result-trust-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.fp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-700);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

.fp-trust-item:last-child {
    border-bottom: none;
}

.fp-trust-item::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: #E8F0F4;
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.fp-next-steps-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
}

.fp-next-steps-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
}

.fp-next-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.fp-next-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fp-next-step-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
}

.fp-next-step-text small {
    font-size: 12px;
    color: var(--gray-500);
}

/* ── Buttons ── */
.fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: opacity .15s, background .15s;
}

.fp-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.fp-btn-primary {
    background: var(--navy);
    color: #fff;
}

.fp-btn-primary:hover:not(:disabled) {
    background: var(--navy-light);
}

.fp-btn-outline {
    background: #fff;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.fp-btn-outline:hover:not(:disabled) {
    background: var(--gray-50);
}

.fp-nav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    align-items: center;
}

.fp-btn-back {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fp-btn-back:hover {
    color: var(--gray-700);
}

/* Validation error */
.fp-validation-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #ef4444;
    margin-bottom: 16px;
    display: none;
}

.fp-validation-error.show {
    display: block;
}

/* ── Color modal ── */
.fp-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}

.fp-modal-box {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
}

.fp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}

.fp-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.fp-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--gray-400);
    padding: 4px 8px;
}

.fp-modal-desc {
    padding: 6px 24px 12px;
    font-size: 13px;
    color: var(--gray-500);
}

.fp-color-grid {
    padding: 12px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 12px;
    overflow-y: auto;
    flex: 1;
}

.fp-color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.fp-color-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2.5px solid var(--gray-200);
    transition: border-color .15s, transform .1s;
}

.fp-color-option:hover .fp-color-circle {
    border-color: var(--navy);
    transform: scale(1.08);
}

.fp-color-option.selected .fp-color-circle {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(46,82,102,.2);
}

.fp-color-name {
    font-size: 10px;
    text-align: center;
    color: var(--gray-500);
    line-height: 1.3;
}

.fp-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
}

/* ── Loading spinner ── */
.fp-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    flex-direction: column;
    gap: 8px;
    color: var(--gray-400);
}

.fp-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: fp-spin .7s linear infinite;
    margin-bottom: 8px;
}

.fp-loading-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
}

.fp-loading-sub {
    font-size: 13px;
    color: var(--gray-500);
}

@keyframes fp-spin {
    to { transform: rotate(360deg); }
}

/* ── Accepted success ── */
.fp-accept-success {
    text-align: center;
    padding: 32px 24px;
}

.fp-accept-success .fp-check-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.fp-accept-success h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.fp-accept-success p {
    color: var(--gray-500);
    font-size: 14px;
}

/* ── Mobile responsive ── */
@media (max-width: 768px) {
    #fp-app {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    #fp-topbar {
        max-width: 100%;
        overflow: hidden;
        padding: 0 16px;
        height: 56px;
        gap: 12px;
    }

    #fp-main {
        box-sizing: border-box;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding: 20px 16px 40px;
    }

    .fp-result-side {
        min-width: 0;
    }

    .fp-home-link {
        font-size: 12px;
        padding: 5px 10px;
        flex-shrink: 0;
    }

    .fp-step-circle {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .fp-step-text {
        display: none;
    }

    .fp-step-connector {
        width: 16px;
    }

    .fp-address-box {
        display: none !important;
    }

    #fp-main {
        padding: 20px 16px 40px;
    }

    .fp-task-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fp-task-card {
        padding: 18px 12px;
    }

    .fp-step-header h2 {
        font-size: 22px;
    }

    .fp-contact-layout,
    .fp-result-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .fp-contact-summary,
    .fp-result-side {
        width: 100%;
        position: relative;
        top: 0;
    }

    .fp-result-online-price {
        font-size: 38px;
    }

    .fp-result-features {
        grid-template-columns: 1fr;
    }

    .fp-form-row-2col {
        grid-template-columns: 1fr;
    }

    .fp-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .fp-color-trigger {
        min-width: unset;
        width: 100%;
    }
}
