/* ==========================================================================
   WYCENA — Split-Screen Dark Wizard
   Propertica Real Estate
   Completely different from Freedom: sidebar + content split layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   Page Base
   ========================================================================== */

.wycena-page {
    min-height: 100vh;
    background: #f7f8fa;
    font-family: 'Montserrat', 'Mont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* ==========================================================================
   Progress Bar (top of viewport)
   ========================================================================== */

.wycena-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(27, 94, 123, 0.15);
    z-index: 1000;
}

.wycena-progress__bar {
    height: 100%;
    background: var(--color-cta, #FFCC4A);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Split Layout
   ========================================================================== */

.wycena-layout {
    display: flex;
    min-height: 100vh;
}

/* ==========================================================================
   Sidebar (Left — Dark Navy)
   ========================================================================== */

.wycena-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(195deg, #0d1b2a 0%, #1B5E7B 100%);
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    z-index: 50;
    overflow-y: auto;
}

.wycena-sidebar__logo {
    display: block;
    margin-bottom: 48px;
}
.wycena-sidebar__logo img {
    height: 30px;
    width: auto;
    filter: brightness(10);
}

/* --- Vertical Step Indicator --- */

.wycena-sidebar__steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 20px;
}

/* Vertical connecting line */
.wycena-sidebar__steps::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.wycena-sidebar__step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
}

.wycena-sidebar__step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    background: transparent;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: -20px;
}

.wycena-sidebar__step-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Active step */
.wycena-sidebar__step.active .wycena-sidebar__step-num {
    background: var(--color-cta, #FFCC4A);
    border-color: var(--color-cta, #FFCC4A);
    color: #1a1a2e;
    box-shadow: 0 0 20px rgba(255, 204, 74, 0.3);
}
.wycena-sidebar__step.active .wycena-sidebar__step-label {
    color: #fff;
    font-weight: 600;
}

/* Completed step */
.wycena-sidebar__step.completed .wycena-sidebar__step-num {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}
.wycena-sidebar__step.completed .wycena-sidebar__step-label {
    color: rgba(255, 255, 255, 0.6);
}

/* --- Trust Items --- */

.wycena-sidebar__trust {
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wycena-sidebar__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}
.wycena-sidebar__trust-item svg {
    flex-shrink: 0;
    stroke: var(--color-cta, #FFCC4A);
    opacity: 0.7;
}

/* --- Phone --- */

.wycena-sidebar__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.wycena-sidebar__phone:hover {
    color: var(--color-cta, #FFCC4A);
}
.wycena-sidebar__phone svg {
    stroke: var(--color-cta, #FFCC4A);
}

/* ==========================================================================
   Main Content (Right)
   ========================================================================== */

.wycena-main {
    margin-left: 300px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

/* ==========================================================================
   Steps
   ========================================================================== */

.wycena-step {
    display: none;
    width: 100%;
    padding: 60px 48px 48px;
    animation: wycenaFadeIn 0.4s ease;
}
.wycena-step.active {
    display: flex;
    flex-direction: column;
}

@keyframes wycenaFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.wycena-step__content {
    max-width: 640px;
    width: 100%;
}
.wycena-step__content--wide {
    max-width: 960px;
}
.wycena-step__content--results {
    max-width: 1100px;
}

/* --- Step Header --- */

.wycena-step__header {
    margin-bottom: 40px;
}

.wycena-step__number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-cta, #FFCC4A);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -10px;
    letter-spacing: -2px;
}

.wycena-badge {
    display: none; /* Hidden — step number replaces badge */
}

.wycena-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0d1b2a;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.text-gradient {
    color: var(--color-primary, #1B5E7B);
}

.wycena-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.65;
    max-width: 480px;
}

/* --- Back Button --- */

.wycena-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.wycena-back:hover {
    color: var(--color-primary, #1B5E7B);
}
.wycena-back svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Step 1: Property Type — Horizontal List Items (NOT grid cards)
   ========================================================================== */

.property-type-grid,
.property-type-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.property-type-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.property-type-card:hover {
    border-color: var(--color-primary, #1B5E7B);
    background: #f8fbfc;
    transform: translateX(4px);
}
.property-type-card.selected {
    border-color: var(--color-primary, #1B5E7B);
    background: linear-gradient(135deg, #f0f7fa 0%, #e8f4f8 100%);
    box-shadow: 0 0 0 3px rgba(27, 94, 123, 0.1);
}

.property-type-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.25s;
}
.property-type-card__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--color-primary, #1B5E7B);
}
.property-type-card.selected .property-type-card__icon {
    background: var(--color-primary, #1B5E7B);
}
.property-type-card.selected .property-type-card__icon svg {
    stroke: #fff;
}

.property-type-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 2px;
}

.property-type-card__desc {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.property-type-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-cta, #FFCC4A);
    color: #1a1a2e;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-type-card__time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 2px;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}
.property-type-card__time--instant {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}
.property-type-card__time--advisor {
    background: rgba(27, 94, 123, 0.08);
    color: var(--color-primary, #1B5E7B);
}

/* Arrow indicator on right */
.property-type-card::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #d1d5db;
    border-bottom: 2px solid #d1d5db;
    transform: rotate(-45deg);
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.25s;
}
.property-type-card:hover::after {
    border-color: var(--color-primary, #1B5E7B);
    transform: rotate(-45deg) translateX(2px);
}
.property-type-card.selected::after {
    border-color: var(--color-primary, #1B5E7B);
}

/* --- Trust (Step 1 bottom) --- */

.wycena-trust {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}
.wycena-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
}
.wycena-trust__item svg {
    stroke: var(--color-primary, #1B5E7B);
    flex-shrink: 0;
}

/* ==========================================================================
   Step 2: Address
   ========================================================================== */

.wycena-selected-type {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #f3f4f6;
    border-radius: 4px;
    margin-bottom: 28px;
    font-size: 0.85rem;
}
.wycena-selected-type__icon {
    font-size: 1.1rem;
}
.wycena-selected-type__name {
    font-weight: 700;
    color: #0d1b2a;
}
.wycena-selected-type__change {
    background: none;
    border: none;
    color: var(--color-primary, #1B5E7B);
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.address-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.address-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #374151;
    margin-bottom: 8px;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

.wycena-input,
.wycena-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0d1b2a;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
}
.wycena-input:focus,
.wycena-select:focus {
    border-color: var(--color-primary, #1B5E7B);
    box-shadow: 0 0 0 3px rgba(27, 94, 123, 0.08);
}
.wycena-input::placeholder {
    color: #9ca3af;
}
.wycena-input.valid {
    border-color: #10b981;
}
.wycena-input.invalid {
    border-color: #ef4444;
}

.wycena-input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--color-gray-50, #f9fafb);
}

.wycena-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ==========================================================================
   Address Autocomplete
   ========================================================================== */

.address-autocomplete {
    position: relative;
}

.address-autocomplete__icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.address-autocomplete__icon svg {
    width: 18px;
    height: 18px;
    stroke: #9ca3af;
}

.address-autocomplete__suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: none;
}
.address-autocomplete__suggestions.active {
    display: block;
}

.suggestion,
.address-autocomplete__suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}
.suggestion:hover,
.address-autocomplete__suggestion:hover {
    background: #f0f7fa;
    color: var(--color-primary, #1B5E7B);
}
.suggestion:last-child,
.address-autocomplete__suggestion:last-child {
    border-bottom: none;
}
.address-autocomplete__suggestion svg {
    flex-shrink: 0;
    color: #9ca3af;
}
.address-autocomplete__suggestion:hover svg {
    color: var(--color-primary, #1B5E7B);
}
.address-autocomplete__no-results {
    padding: 14px 16px;
    font-size: 0.82rem;
    color: #9ca3af;
    text-align: center;
}

.address-autocomplete__loading {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 0.85rem;
    color: #6b7280;
}
.address-autocomplete__loading.active {
    display: flex;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-top-color: var(--color-primary, #1B5E7B);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Selected address display */
.address-selected {
    padding: 16px 20px;
    background: #f0f7fa;
    border: 2px solid var(--color-primary, #1B5E7B);
    border-radius: 4px;
    margin-top: 12px;
}
.address-selected__content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.address-selected__content svg {
    stroke: var(--color-primary, #1B5E7B);
    flex-shrink: 0;
}
.address-selected__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.address-selected__city {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.address-selected__street {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d1b2a;
}
.address-selected__edit {
    background: none;
    border: none;
    color: var(--color-primary, #1B5E7B);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   Next/Submit Buttons
   ========================================================================== */

.wycena-next,
.wycena-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-cta, #FFCC4A);
    color: #1a1a2e;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    letter-spacing: 0.3px;
    margin-top: 12px;
}
.wycena-next:hover,
.wycena-submit:hover {
    background: #ffd666;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 204, 74, 0.3);
}
.wycena-next:disabled,
.wycena-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.wycena-next svg,
.wycena-submit svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   Step 3: Property Details — Split form + summary
   ========================================================================== */

.details-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.details-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section {
    background: #fff;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.form-section__title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-primary, #1B5E7B);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-cta, #FFCC4A);
    display: inline-block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #374151;
}

.form-group--full {
    grid-column: 1 / -1;
}

/* Checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #374151;
    transition: all 0.2s;
}
.checkbox-label:hover {
    border-color: var(--color-primary, #1B5E7B);
    background: #f8fbfc;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary, #1B5E7B);
}
.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--color-primary, #1B5E7B);
    font-weight: 600;
}

/* Summary sidebar */
.details-summary {
    position: sticky;
    top: 24px;
    background: #0d1b2a;
    border-radius: 4px;
    padding: 28px 24px;
    color: #fff;
}

.details-summary__title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-cta, #FFCC4A);
    margin-bottom: 24px;
}

.details-summary__item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}
.details-summary__item:last-child {
    border-bottom: none;
}
.details-summary__label {
    color: rgba(255, 255, 255, 0.5);
}
.details-summary__value {
    font-weight: 700;
    color: #fff;
    text-align: right;
}

/* ==========================================================================
   Step 4: Contact
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.contact-form-card {
    background: #fff;
    padding: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.contact-form-card .form-group {
    margin-bottom: 20px;
}
.contact-form-card .form-group:last-of-type {
    margin-bottom: 0;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.5;
    cursor: pointer;
}
.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary, #1B5E7B);
    flex-shrink: 0;
}

/* Report preview (right column) — overridden by extended styles below */

.report-preview__line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.82rem;
}
.report-preview__line-label {
    color: #6b7280;
}
.report-preview__line-value {
    font-weight: 700;
    color: #0d1b2a;
}

.report-preview__lock {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.report-preview__lock svg {
    stroke: #9ca3af;
}
.report-preview__lock span {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
}

/* Turnstile */
#turnstile-container {
    margin: 16px 0;
}

/* ==========================================================================
   Step 5: Results
   ========================================================================== */

.results-hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1B5E7B 100%);
    border-radius: 4px;
    padding: 40px;
    margin-bottom: 32px;
    text-align: center;
    color: #fff;
}

.results-hero__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.results-hero__price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-cta, #FFCC4A);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.results-hero__price-m2 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.results-hero__avg {
    margin-top: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Price range bar */
.price-range {
    margin: 32px 0;
    padding: 0 20px;
}
.price-range__bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    position: relative;
    margin-bottom: 8px;
}
.price-range__fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--color-cta, #FFCC4A);
    border-radius: 3px;
    transition: all 0.5s ease;
}
.price-range__marker {
    position: absolute;
    top: -4px;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid var(--color-cta, #FFCC4A);
    border-radius: 50%;
    transform: translateX(-50%);
}
.price-range__labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Results stats row */
.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.results-stat {
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    text-align: center;
}
.results-stat__value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary, #1B5E7B);
    display: block;
}
.results-stat__label {
    font-size: 0.72rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
}

/* Property details grid */
.results-property {
    background: #fff;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    margin-bottom: 32px;
}
.results-property__title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary, #1B5E7B);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-cta, #FFCC4A);
    padding-bottom: 10px;
    display: inline-block;
}
.results-property__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.results-property__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.results-property__item-label {
    font-size: 0.72rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.results-property__item-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d1b2a;
}

/* Map */
.results-map {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid #e5e7eb;
}
#locationMap {
    height: 280px;
    width: 100%;
}

/* Similar offers */
.results-similar__title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary, #1B5E7B);
    margin-bottom: 16px;
}
.similar-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.similar-offer {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 16px;
}
.similar-offer__price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0d1b2a;
}
.similar-offer__price-m2 {
    font-size: 0.78rem;
    color: #6b7280;
    margin-bottom: 8px;
}
.similar-offer__details {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.6;
}

/* CTA box */
.results-cta {
    background: linear-gradient(135deg, #0d1b2a 0%, #1B5E7B 100%);
    border-radius: 4px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.results-cta__text h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.results-cta__text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}
.results-cta__buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ==========================================================================
   Step 5 Advisor (non-instant types)
   ========================================================================== */

.advisor-confirmation {
    text-align: center;
    padding: 40px 0;
}

.advisor-confirmation__icon {
    width: 72px;
    height: 72px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.advisor-confirmation__icon svg {
    width: 36px;
    height: 36px;
    stroke: #10b981;
}

.advisor-confirmation__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d1b2a;
    margin-bottom: 8px;
}
.advisor-confirmation__subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 32px;
}

.advisor-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 28px;
    max-width: 500px;
    margin: 0 auto 24px;
    text-align: left;
}
.advisor-summary__item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.88rem;
}
.advisor-summary__item:last-child {
    border-bottom: none;
}
.advisor-summary__label {
    color: #6b7280;
}
.advisor-summary__value {
    font-weight: 700;
    color: #0d1b2a;
}

.advisor-timeline {
    max-width: 400px;
    margin: 32px auto;
    text-align: left;
}
.advisor-timeline__step {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    position: relative;
}
.advisor-timeline__step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 1px;
    background: #e5e7eb;
}
.advisor-timeline__num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary, #1B5E7B);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.advisor-timeline__text {
    padding-top: 6px;
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.5;
}

/* ==========================================================================
   Loading Overlay
   ========================================================================== */

.wycena-loading {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}
.wycena-loading.active {
    display: flex;
}

.wycena-loading__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--color-cta, #FFCC4A);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.wycena-loading__text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ==========================================================================
   Error Modal
   ========================================================================== */

.wycena-error-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.wycena-error-modal.active {
    display: flex;
}

.wycena-error-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.wycena-error-modal__card {
    position: relative;
    background: #fff;
    border-radius: 4px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    z-index: 1;
}

.wycena-error-modal__icon {
    width: 56px;
    height: 56px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.wycena-error-modal__icon svg {
    width: 28px;
    height: 28px;
    stroke: #ef4444;
}

.wycena-error-modal__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 8px;
}
.wycena-error-modal__message {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}
.wycena-error-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--color-primary, #1B5E7B);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.wycena-error-modal__close:hover {
    background: #164e68;
}

/* ==========================================================================
   New HTML Structure Styles (matching agent-rewritten HTML)
   ========================================================================== */

/* Property card body wrapper */
.property-type-card__body {
    flex: 1;
    min-width: 0;
}

/* Property card arrow (explicit element instead of ::after) */
.property-type-card__arrow {
    flex-shrink: 0;
    color: #d1d5db;
    transition: all 0.25s;
    margin-left: auto;
}
.property-type-card:hover .property-type-card__arrow {
    color: var(--color-primary, #1B5E7B);
    transform: translateX(3px);
}
/* Hide the CSS ::after arrow when explicit arrow element exists */
.property-type-card:has(.property-type-card__arrow)::after {
    display: none;
}

/* Step 3: new class names from HTML */
.wycena-details-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
.wycena-details-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form sections in step 3 */
.wycena-form-section {
    background: #fff;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}
.wycena-form-section__title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary, #1B5E7B);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-cta, #FFCC4A);
    display: flex;
    align-items: center;
    gap: 10px;
}
.wycena-form-section__title svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary, #1B5E7B);
    flex-shrink: 0;
}

.wycena-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.wycena-form-row:last-child {
    margin-bottom: 0;
}
.wycena-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wycena-form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #374151;
}

/* Amenities (checkboxes) */
.wycena-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wycena-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #374151;
    transition: all 0.2s;
}
.wycena-checkbox:hover {
    border-color: var(--color-primary, #1B5E7B);
    background: #f8fbfc;
}
.wycena-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.wycena-checkbox__box {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    background: #fff;
}
.wycena-checkbox__box svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    opacity: 0;
    transition: opacity 0.15s;
}
.wycena-checkbox input[type="checkbox"]:checked ~ .wycena-checkbox__box {
    background: var(--color-primary, #1B5E7B);
    border-color: var(--color-primary, #1B5E7B);
}
.wycena-checkbox input[type="checkbox"]:checked ~ .wycena-checkbox__box svg {
    opacity: 1;
}
.wycena-checkbox__label {
    font-size: 0.85rem;
    color: #374151;
}
.wycena-checkbox__label--small {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Summary card (step 3 right column) */
.wycena-summary-card {
    position: sticky;
    top: 24px;
    background: #0d1b2a;
    border-radius: 4px;
    overflow: hidden;
}
.wycena-summary-card__header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wycena-summary-card__header h3 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-cta, #FFCC4A);
    margin: 0;
}
.wycena-summary-card__content {
    padding: 8px 24px;
}
.wycena-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}
.wycena-summary-item:last-child {
    border-bottom: none;
}
.wycena-summary-item__label {
    color: rgba(255, 255, 255, 0.45);
}
.wycena-summary-item__value {
    font-weight: 700;
    color: #fff;
    text-align: right;
}
.wycena-summary-card__footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.wycena-summary-card__disclaimer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 12px;
    line-height: 1.5;
}

/* Property type fields toggle */
.property-type-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contact step: 2-column layout on desktop */
.contact-step-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
@media (min-width: 1024px) {
    .contact-step-layout {
        grid-template-columns: 1fr 380px;
    }
}
.report-preview--sticky {
    position: sticky;
    top: 24px;
}

/* Contact form card */
.contact-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 32px;
}
.contact-form-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}
.contact-form-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(27, 94, 123, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-form-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary, #1B5E7B);
}
.contact-form-card__header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0;
}
.contact-form-card__header p {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 2px 0 0;
}

.contact-form__group {
    margin-bottom: 16px;
}
.contact-form__group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #374151;
    margin-bottom: 8px;
}

.contact-form__consent {
    margin: 20px 0;
}

.contact-form__trust {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}
.contact-form__trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #6b7280;
    font-weight: 600;
}
.contact-form__trust-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-primary, #1B5E7B);
}

.contact-form__google-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.78rem;
    color: #6b7280;
}
.google-logo {
    font-weight: 700;
    color: #4285f4;
}
.google-rating {
    font-weight: 800;
    color: #0d1b2a;
}
.google-stars {
    color: #fbbc04;
}

/* Report preview (step 4) — dark premium card */
.report-preview {
    background: #0d1b2a;
    border-radius: 4px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.report-preview--sticky {
    position: sticky;
    top: 24px;
}
.report-preview__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-cta, #FFCC4A);
    margin-bottom: 16px;
}
.report-preview__badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-cta, #FFCC4A);
}
.report-preview__content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 24px;
    position: relative;
}
.report-preview__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.report-preview__logo {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--color-cta, #FFCC4A);
    letter-spacing: 3px;
}
.report-preview__date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}
.report-preview__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.report-preview__property {
    margin-bottom: 16px;
}
.report-preview__property-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.report-preview__property-row span:last-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: right;
    max-width: 60%;
}
.report-preview__price-box {
    background: rgba(255, 204, 74, 0.08);
    border: 1px solid rgba(255, 204, 74, 0.15);
    padding: 16px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 16px;
}
.report-preview__price-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 6px;
}
.report-preview__price-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-cta, #FFCC4A);
}
.report-preview__price-m2 {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}
.blurred-text {
    filter: blur(5px);
    user-select: none;
}
.report-preview__stats {
    display: flex;
    justify-content: space-around;
}
.report-preview__stat {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
}
.report-preview__stat span:first-child {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--color-cta, #FFCC4A);
    margin-bottom: 2px;
}
.report-preview__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(13, 27, 42, 0.95) 70%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 32px;
}
.report-preview__overlay-content {
    text-align: center;
}
.report-preview__overlay-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 204, 74, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.report-preview__overlay-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-cta, #FFCC4A);
}
.report-preview__overlay-content h4 {
    font-size: 0.88rem;
    color: #fff;
    margin: 0 0 4px;
}
.report-preview__overlay-content p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Results hero (steps 5) */
.results-hero__badge,
.results-hero__badge--success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}
.results-hero__badge svg,
.results-hero__badge--success svg {
    width: 18px;
    height: 18px;
}
.results-hero__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.results-hero__subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}
.results-hero--advisor {
    background: linear-gradient(135deg, #0d1b2a 0%, #0f4c63 100%);
}

/* Results price box */
.results-hero__price-box {
    margin-top: 32px;
}
.results-hero__price-main {
    margin-bottom: 16px;
}
.results-hero__price-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-cta, #FFCC4A);
    letter-spacing: -1px;
}
.results-hero__price-details {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.results-hero__price-details .label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}
.results-hero__price-details .value {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

/* Results price range */
.results-price-range {
    margin-top: 32px;
    padding: 0 16px;
}
.results-price-range__header {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.results-price-range__track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    margin-bottom: 10px;
}
.results-price-range__fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--color-cta, #FFCC4A);
    border-radius: 3px;
}
.results-price-range__marker {
    position: absolute;
    top: -5px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--color-cta, #FFCC4A);
    border-radius: 50%;
    transform: translateX(-50%);
}
.results-price-range__labels {
    display: flex;
    justify-content: space-between;
}
.results-price-range__label .value {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}
.results-price-range__label .label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Results stats with new HTML */
.results-stats__item {
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.results-stats__icon {
    width: 40px;
    height: 40px;
    background: rgba(27, 94, 123, 0.06);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.results-stats__icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary, #1B5E7B);
}
.results-stats__content {
    display: flex;
    flex-direction: column;
}
.results-stats__value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary, #1B5E7B);
}
.results-stats__label {
    font-size: 0.72rem;
    color: #6b7280;
    font-weight: 500;
}

/* Results property - new structure */
.results-property__header {
    margin-bottom: 20px;
}
.results-property__header h3 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary, #1B5E7B);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-cta, #FFCC4A);
    display: inline-block;
    margin: 0;
}
.results-property__item .label {
    font-size: 0.72rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.results-property__item .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d1b2a;
}

/* Results map header */
.results-map__header {
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}
.results-map__header h3 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary, #1B5E7B);
    margin: 0;
}

/* Results CTA box */
.results-cta-box {
    background: linear-gradient(135deg, #0d1b2a 0%, #1B5E7B 100%);
    border-radius: 4px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}
.results-cta-box__content h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 6px;
}
.results-cta-box__content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}
.results-cta-box__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Similar offers */
.wycena-similar__header {
    margin-bottom: 20px;
}
.wycena-similar__header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 4px;
}
.wycena-similar__header p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}
.wycena-similar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.wycena-similar__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #9ca3af;
    font-size: 0.88rem;
    padding: 32px 16px;
}
.wycena-similar__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.wycena-similar__card:hover {
    border-color: var(--color-primary, #1B5E7B);
    transform: translateY(-2px);
}
.wycena-similar__card-header {
    background: linear-gradient(135deg, #0d1b2a 0%, #1B5E7B 100%);
    padding: 16px 20px;
}
.wycena-similar__card-price {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-cta, #FFCC4A);
    letter-spacing: -0.5px;
}
.wycena-similar__card-price-m2 {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}
.wycena-similar__card-details {
    padding: 16px 20px;
}
.wycena-similar__card-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.78rem;
    border-bottom: 1px solid #f3f4f6;
}
.wycena-similar__card-row:last-child {
    border-bottom: none;
}
.wycena-similar__card-row span:first-child {
    color: #6b7280;
}
.wycena-similar__card-row span:last-child {
    font-weight: 600;
    color: #0d1b2a;
}

/* Advisor confirmation */
.advisor-confirmation__card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 28px;
    max-width: 500px;
    margin: 24px auto;
    text-align: left;
}
.advisor-confirmation__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.advisor-confirmation__header svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-cta, #FFCC4A);
}
.advisor-confirmation__header h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.advisor-confirmation__item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}
.advisor-confirmation__item:last-child {
    border-bottom: none;
}
.advisor-confirmation__item .label {
    color: rgba(255, 255, 255, 0.45);
}
.advisor-confirmation__item .value {
    font-weight: 700;
    color: #fff;
}

.advisor-confirmation__next-steps {
    max-width: 500px;
    margin: 32px auto;
    text-align: left;
}
.advisor-confirmation__next-steps h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px;
}

.advisor-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.advisor-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.advisor-step__number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-cta, #FFCC4A);
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}
.advisor-step__content {
    padding-top: 4px;
}
.advisor-step__content strong {
    display: block;
    font-size: 0.88rem;
    color: #fff;
    margin-bottom: 4px;
}
.advisor-step__content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Responsive: Tablet
   ========================================================================== */

@media (max-width: 1024px) {
    .wycena-sidebar {
        width: 240px;
        padding: 32px 24px;
    }
    .wycena-main {
        margin-left: 240px;
    }
    .wycena-step {
        padding: 48px 32px;
    }
    .details-layout,
    .wycena-details-grid {
        grid-template-columns: 1fr;
    }
    .details-summary,
    .wycena-summary-card {
        position: static;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .results-property__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .similar-offers-grid,
    .wycena-similar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .results-cta,
    .results-cta-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Responsive: Mobile
   ========================================================================== */

@media (max-width: 768px) {
    .wycena-sidebar {
        position: fixed;
        top: 3px;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 12px 20px;
        gap: 16px;
        background: linear-gradient(90deg, #0d1b2a 0%, #1B5E7B 100%);
    }
    .wycena-sidebar__logo {
        margin-bottom: 0;
    }
    .wycena-sidebar__logo img {
        height: 24px;
    }
    .wycena-sidebar__steps {
        flex-direction: row;
        flex: 1;
        gap: 0;
        padding-left: 0;
        justify-content: center;
    }
    .wycena-sidebar__steps::before {
        display: none;
    }
    .wycena-sidebar__step {
        padding: 4px;
        gap: 0;
        flex-direction: column;
        align-items: center;
    }
    .wycena-sidebar__step-num {
        width: 26px;
        height: 26px;
        font-size: 0.6rem;
        margin-left: 0;
    }
    .wycena-sidebar__step-label {
        font-size: 0.55rem;
        letter-spacing: 0;
        display: none;
    }
    .wycena-sidebar__step.active .wycena-sidebar__step-label {
        display: block;
    }
    .wycena-sidebar__trust {
        display: none;
    }
    .wycena-sidebar__phone {
        display: none;
    }

    .wycena-main {
        margin-left: 0;
        padding-top: 60px;
    }

    .wycena-step {
        padding: 24px 20px;
    }

    .wycena-title {
        font-size: 1.35rem;
    }
    .wycena-step__number {
        font-size: 2.5rem;
    }

    .property-type-card {
        padding: 16px;
        gap: 14px;
    }
    .property-type-card__desc {
        display: none;
    }
    .property-type-card__time {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
    .property-type-card::after {
        display: none;
    }

    .form-row,
    .wycena-form-row {
        grid-template-columns: 1fr;
    }
    .checkbox-grid,
    .wycena-amenities {
        grid-template-columns: 1fr;
    }

    .wycena-details-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 24px 20px;
    }
    .contact-form__trust {
        flex-direction: column;
        gap: 10px;
    }

    .results-hero {
        padding: 28px 20px;
    }
    .results-hero__price-value {
        font-size: 2rem;
    }
    .results-stats {
        grid-template-columns: 1fr;
    }
    .results-property__grid {
        grid-template-columns: 1fr 1fr;
    }
    .similar-offers-grid,
    .wycena-similar__grid {
        grid-template-columns: 1fr;
    }
    .results-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .results-cta-box__actions {
        flex-direction: column;
        width: 100%;
    }

    .wycena-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .wycena-step {
        padding: 20px 16px;
    }
    .results-property__grid {
        grid-template-columns: 1fr;
    }
}

/* === WHY SELL WITH PROPERTICA (post-results) === */
.results-why-sell {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(13,27,42,0.08);
}
.results-why-sell__header {
    text-align: center;
    margin-bottom: 32px;
}
.results-why-sell__header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark, #0D1B2A);
    margin-bottom: 8px;
}
.results-why-sell__header p {
    font-size: 0.95rem;
    color: rgba(13,27,42,0.6);
    max-width: 500px;
    margin: 0 auto;
}
.results-why-sell__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 600px) {
    .results-why-sell__grid {
        grid-template-columns: 1fr 1fr;
    }
}
.results-why-sell__card {
    background: rgba(27,94,123,0.04);
    border: 1px solid rgba(27,94,123,0.1);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.results-why-sell__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.results-why-sell__icon svg {
    width: 28px;
    height: 28px;
}
.results-why-sell__card strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark, #0D1B2A);
}
.results-why-sell__card p {
    font-size: 0.88rem;
    color: rgba(13,27,42,0.6);
    line-height: 1.6;
    margin: 0;
}

/* === NEXT STEP CTA (post-results) === */
.results-next-step {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, var(--color-primary, #1B5E7B), #143d52);
    border-radius: 16px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    color: #fff;
}
.results-next-step__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255,204,74,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.results-next-step__icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-cta, #FFCC4A);
}
.results-next-step__content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}
.results-next-step__content p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}
.results-next-step__content p strong {
    color: var(--color-cta, #FFCC4A);
}
.results-next-step__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.results-next-step__actions .btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.results-next-step__actions .btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}
@media (max-width: 600px) {
    .results-next-step {
        flex-direction: column;
        padding: 24px;
    }
    .results-next-step__actions {
        flex-direction: column;
        width: 100%;
    }
    .results-next-step__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* === STEP 3B: SALES INTENT === */
.intent-step {
    max-width: 560px;
    margin: 0 auto;
}
.intent-step__group {
    margin-bottom: 32px;
}
.intent-step__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(13,27,42,0.5);
    margin-bottom: 12px;
}
.intent-step__options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.intent-step__options--timeframe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.intent-option {
    cursor: pointer;
    flex: 1;
    min-width: 0;
}
.intent-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.intent-option__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid rgba(13,27,42,0.1);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
    background: #fff;
}
.intent-option__box svg {
    width: 32px;
    height: 32px;
    stroke: rgba(13,27,42,0.3);
    transition: stroke 0.2s;
}
.intent-option__box span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark, #0D1B2A);
}
.intent-option--timeframe .intent-option__box {
    padding: 18px 12px;
}
.intent-option--timeframe .intent-option__box strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-dark, #0D1B2A);
}
.intent-option--timeframe .intent-option__box span {
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(13,27,42,0.5);
}

/* Checked state */
.intent-option input:checked + .intent-option__box {
    border-color: var(--color-primary, #1B5E7B);
    background: rgba(27,94,123,0.04);
    box-shadow: 0 0 0 1px var(--color-primary, #1B5E7B);
}
.intent-option input:checked + .intent-option__box svg {
    stroke: var(--color-primary, #1B5E7B);
}
.intent-option:hover .intent-option__box {
    border-color: rgba(27,94,123,0.3);
}

@media (max-width: 480px) {
    .intent-step__options--timeframe {
        grid-template-columns: 1fr;
    }
}

/* === SMS VERIFICATION === */
.sms-verification {
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
}
.sms-verification__info {
    font-size: 0.875rem;
    color: rgba(13,27,42,0.6);
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(27, 94, 123, 0.06);
    border-radius: 8px;
    border-left: 3px solid var(--color-primary, #1B5E7B);
}
.sms-verification__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.sms-verification__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary, #1B5E7B), #143d52);
}
.sms-verification__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white, #fff);
}
.sms-verification__header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark, #0D1B2A);
    margin-bottom: 4px;
}
.sms-verification__header p {
    font-size: 0.875rem;
    color: rgba(13,27,42,0.6);
}
.sms-verification__header strong {
    color: var(--color-dark, #0D1B2A);
    font-weight: 600;
}
.sms-verification__turnstile {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}
.sms-verification__send {
    margin-bottom: 16px;
}
.sms-verification__code {
    margin-top: 24px;
}
.sms-verification__code label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark, #0D1B2A);
    margin-bottom: 8px;
}
.sms-code-input-wrapper {
    margin-bottom: 16px;
}
.sms-code-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    padding: 14px 20px;
    font-family: 'SF Mono', 'Consolas', monospace;
}
.sms-code-input::placeholder {
    color: rgba(13,27,42,0.2);
    letter-spacing: 0.5em;
}
.sms-verification__resend {
    text-align: center;
    margin-top: 16px;
    font-size: 0.8125rem;
    color: rgba(13,27,42,0.5);
}
.sms-verification__resend strong {
    font-weight: 700;
    color: var(--color-dark, #0D1B2A);
}
.sms-resend-btn {
    background: none;
    border: none;
    color: var(--color-primary, #1B5E7B);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.sms-resend-btn:hover {
    color: #143d52;
}
.sms-verification__error {
    background: #fff5f5;
    color: #c62828;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.8125rem;
    text-align: center;
    margin-top: 16px;
}
.spinner-white {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
