/* ============================================================
   Falcon Quote Builder — Page-Specific Styles
   Loaded after styles.css — uses main site variables
   ============================================================ */

/* Quote-specific variable overrides */
.quote-app {
    --q-cream: #F4FAFB;
    --q-cream-dark: #E9ECEA;
}

/* --- Quote Hero (off-black with fixed image backdrop) --- */
.quote-hero {
    position: relative;
    background: url('../images/services-bg.jpg') center center / cover no-repeat fixed;
    color: var(--color-white);
    padding: 72px 0 56px;
    text-align: center;
    overflow: hidden;
}
.quote-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,20,20,0.94) 0%, rgba(15,15,15,0.92) 50%, rgba(20,20,20,0.94) 100%);
    z-index: 0;
}
.quote-hero > .container { position: relative; z-index: 2; }
.quote-hero h1 {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    color: white;
}
.quote-hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.quote-hero-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.q-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.q-stat-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
    color: var(--color-accent);
    line-height: 1;
}
.q-stat-label {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

/* ============================================================
   ADDRESS ENTRY
   ============================================================ */

.address-entry-section {
    padding: 56px 0 80px;
    background: var(--color-surface-2);
}

.address-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.address-card-icon { display: none; }

.address-card h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 10px;
}
.address-card-sub {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}
.address-card .form-group { text-align: left; margin-bottom: 20px; }

.address-input-wrap { position: relative; }
.address-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0,0,0,0.35);
    pointer-events: none;
}
.address-input-wrap input {
    width: 100%;
    padding: 16px 16px 16px 44px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 4px;
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color 0.2s ease, background 0.2s ease;
    outline: none;
}
.address-input-wrap input::placeholder { color: rgba(0,0,0,0.35); }
.address-input-wrap input:hover {
    border-color: rgba(0,0,0,0.3);
    background: var(--color-white);
}
.address-input-wrap input:focus {
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(64,91,87,0.15);
}

.address-error {
    margin-top: 16px;
    padding: 12px 16px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #991B1B;
    text-align: left;
}

/* Loading spinner */
.loading-spinner-sm {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: qspin 0.6s linear infinite;
}
@keyframes qspin { to { transform: rotate(360deg); } }

/* ============================================================
   RENTAL ANALYSIS REPORT
   ============================================================ */

.report-hero {
    background: url('../images/services-bg.jpg') center center / cover no-repeat fixed;
    color: white;
    padding: 48px 0 56px;
    position: relative;
    overflow: hidden;
}
.report-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,20,20,0.94) 0%, rgba(15,15,15,0.92) 50%, rgba(20,20,20,0.94) 100%);
    z-index: 0;
}
.report-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: none;
    pointer-events: none;
    z-index: 1;
}
.report-hero .container { position: relative; z-index: 2; }

.report-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 0;
    margin-bottom: 20px;
    transition: color 0.15s;
    font-family: var(--font-body);
}
.report-back-btn:hover { color: white; }

.report-hero-content { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }

.report-hero-text h1 { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin-bottom: 4px; line-height: 1.2; }
.report-hero-address { font-size: 16px; opacity: 0.85; margin-bottom: 12px; }
.report-hero-meta { display: flex; gap: 20px; font-size: 13px; opacity: 0.7; }
.report-hero-meta span { display: flex; align-items: center; gap: 5px; }

.report-hero-badge {
    background: rgba(167,181,175,0.15);
    border: 1px solid rgba(167,181,175,0.3);
    border-radius: 8px;
    padding: 16px 24px;
    text-align: center;
    min-width: 160px;
}
.report-hero-badge .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.7; margin-bottom: 4px; }
.report-hero-badge .value { font-family: var(--font-display); font-size: 32px; font-weight: 500; color: var(--color-gold-light); }
.report-hero-badge .sub { font-size: 12px; opacity: 0.6; margin-top: 2px; }

/* Report Body */
.report-body { padding: 40px 0 20px; background: var(--color-white); }
.report-body .container { max-width: 860px; }

.report-greeting {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.report-greeting strong { color: var(--color-text); }

.report-section { margin-bottom: 36px; }
.report-section-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.report-section-title svg { color: var(--color-accent); opacity: 0.7; }

/* Rent Estimate */
.rent-estimate-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
}

.rent-gauge { position: relative; margin: 24px 0 16px; }
.rent-gauge-bar {
    height: 10px;
    background: linear-gradient(to right, #E9ECEA, var(--color-accent-light), var(--color-accent), var(--color-accent-dark));
    border-radius: 5px;
    position: relative;
}
.rent-gauge-marker {
    position: absolute;
    top: -6px;
    width: 22px;
    height: 22px;
    background: white;
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.rent-gauge-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--color-text-muted); }

.rent-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.rent-stat { text-align: center; padding: 16px 8px; background: #F4FAFB; border-radius: 8px; }
.rent-stat .stat-value { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--color-text); }
.rent-stat .stat-label { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.rent-stat.highlight { background: var(--color-accent); color: white; }
.rent-stat.highlight .stat-value { color: white; }
.rent-stat.highlight .stat-label { color: rgba(255,255,255,0.7); }

/* Property Details Grid */
.property-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.property-detail { background: white; border-radius: 10px; padding: 18px 16px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); }
.property-detail .detail-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-muted); margin-bottom: 4px; }
.property-detail .detail-value { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--color-text); }

/* Comparable Properties Table */
.comps-table-wrap { background: white; border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid rgba(0,0,0,0.06); }
.comps-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.comps-table thead { background: #F4FAFB; }
.comps-table th { padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-muted); border-bottom: 1px solid rgba(0,0,0,0.08); }
.comps-table td { padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,0.04); color: var(--color-text-secondary); }
.comps-table tr:last-child td { border-bottom: none; }
.comps-table .address-cell { font-weight: 500; color: var(--color-text); max-width: 200px; }
.comps-table .rent-cell { font-weight: 500; color: var(--color-accent-dark); }
.comps-table .distance-cell { color: var(--color-text-muted); font-size: 12px; display: block; }

.comps-table .tag { display: inline-block; font-size: 10px; font-weight: 500; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.3px; }
.comps-table .tag-house { background: #DBEAFE; color: #1E40AF; }
.comps-table .tag-apt { background: #F3E8FF; color: #6B21A8; }
.comps-table .tag-condo { background: #D1FAE5; color: #065F46; }
.comps-table .tag-townhome { background: #FEF3C7; color: #92400E; }

.comps-summary { padding: 14px 16px; background: #F4FAFB; font-size: 12px; color: var(--color-text-muted); display: flex; justify-content: space-between; }

/* Market Insights */
.market-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.market-insight-card { background: white; border-radius: 10px; padding: 22px 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); }
.market-insight-card .insight-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.market-insight-card .insight-label { font-size: 13px; font-weight: 500; color: var(--color-text-secondary); }
.market-insight-card .insight-value { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--color-text); }
.market-insight-card .insight-change { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 4px; }
.market-insight-card .insight-change.up { background: #D1FAE5; color: #065F46; }
.market-insight-card .insight-change.neutral { background: #F1F5F9; color: #64748B; }
.market-insight-card .insight-sub { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }

/* Recommendation */
.recommendation-box {
    background: white;
    border-left: 4px solid var(--color-accent);
    border-radius: 0 10px 10px 0;
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}
.recommendation-box .rec-text { font-size: 14px; line-height: 1.7; color: var(--color-text-secondary); }
.recommendation-box .rec-text strong { color: var(--color-accent-dark); }

/* Report Footer */
.report-footer { padding: 24px 0; border-top: 1px solid rgba(0,0,0,0.08); margin-top: 20px; }
.report-footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--color-text-muted); }
.report-footer-brand { font-weight: 500; color: var(--color-text-secondary); }
.report-disclaimer { font-size: 11px; color: var(--color-text-muted); line-height: 1.6; margin-top: 12px; max-width: 600px; }
.report-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: white;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.15s;
}
.report-download-btn:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }

/* Report CTA */
.report-cta { text-align: center; padding: 40px 0 48px; background: var(--color-white); }
.report-cta h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--color-text); margin-bottom: 8px; }
.report-cta p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 20px; }
.report-cta .btn { max-width: 360px; margin: 0 auto; }

/* Quote Context Banner */
.quote-context-banner { background: var(--color-accent-dark); color: var(--color-white); padding: 16px 0; border-bottom: 2px solid var(--color-accent); }
.context-property { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.context-property svg { color: var(--color-accent-light); flex-shrink: 0; }
.context-property strong { font-size: 15px; }
.context-details { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.6); }
.context-rent { color: var(--color-gold-light); }
.context-rent strong { color: var(--color-gold-light); }

/* Back to Report Button */
.inputs-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.inputs-card-header h2 { margin-bottom: 0; }
.back-to-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-accent-dark);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    transition: color var(--transition-fast);
}
.back-to-report-btn:hover { color: var(--color-text); }

/* ============================================================
   QUOTE BUILDER
   ============================================================ */

/* --- Main Layout --- */
.quote-main-content { padding: 32px 0 64px; background: var(--color-white); }
.quote-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: start;
}

/* --- Inputs Panel --- */
.inputs-panel { position: sticky; top: 80px; }
.inputs-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.06);
}
.inputs-card h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 20px;
}

/* --- Form Elements --- */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input[type="number"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(64,91,87,0.12);
}
.form-group textarea { resize: vertical; min-height: 70px; }
.input-with-prefix { display: flex; align-items: stretch; gap: 8px; }
.input-prefix { display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--color-text-muted); }
.input-with-prefix input { flex: 1; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.divider { border: none; border-top: 1px solid rgba(0,0,0,0.08); margin: 20px 0; }
.q-section-title { font-size: 14px; font-weight: 500; color: var(--color-text); margin-bottom: 14px; }

/* --- Toggle Buttons --- */
.toggle-group { display: inline-flex; border: 2px solid rgba(0,0,0,0.1); border-radius: var(--radius-sm); overflow: hidden; }
.toggle-btn {
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    border: none;
    background: var(--color-white);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.toggle-btn + .toggle-btn { border-left: 2px solid rgba(0,0,0,0.1); }
.toggle-btn:hover { background: #F4FAFB; }
.toggle-btn.active { background: #1a4450; color: var(--color-white); }

.toggle-group.sm .toggle-btn { padding: 6px 14px; font-size: 12px; }

.toggle-group-multi { display: flex; flex-wrap: wrap; gap: 6px; }
.toggle-chip {
    padding: 7px 14px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 100px;
    background: var(--color-white);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.toggle-chip:hover { border-color: var(--color-accent); }
.toggle-chip.active { background: #1a4450; border-color: #1a4450; color: var(--color-white); }

/* --- Add-on Rows --- */
.addon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.addon-row:last-child { border-bottom: none; }
.addon-label { flex: 1; }
.addon-name { display: block; font-size: 13px; font-weight: 500; color: var(--color-text); }
.addon-desc { display: block; font-size: 11px; color: var(--color-text-muted); margin-top: 1px; }

/* --- Quote Panel --- */
.quote-panel { min-height: 400px; }

.quote-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
    color: var(--color-text-muted);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(0,0,0,0.1);
}
.quote-placeholder svg { margin-bottom: 16px; opacity: 0.4; }
.quote-placeholder p { font-size: 15px; font-weight: 500; }

/* --- Tier Grid --- */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.tier-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    animation: tcardIn 0.35s ease forwards;
    opacity: 0;
    border: 1px solid rgba(0,0,0,0.06);
}
.tier-card:nth-child(1) { animation-delay: 0.05s; }
.tier-card:nth-child(2) { animation-delay: 0.12s; }
.tier-card:nth-child(3) { animation-delay: 0.19s; }
@keyframes tcardIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.tier-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(64,91,87,0.15); }

.tier-card.popular { border: 2px solid var(--color-accent); box-shadow: var(--shadow-lg); }
.tier-card.tier-premium { background: #1a4450; color: var(--color-white); border-color: transparent; }

/* Tier header */
.tier-header { padding: 24px 20px 18px; text-align: center; }
.tier-badge { display: inline-block; padding: 3px 12px; background: var(--gradient-primary); color: var(--color-white); font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; border-radius: 100px; margin-bottom: 10px; }
.tier-name { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.tier-monthly { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin-bottom: 4px; }
.tier-amount { font-size: 32px; font-weight: 500; letter-spacing: -1px; line-height: 1; }
.tier-premium .tier-amount { color: var(--color-gold-light); }
.tier-period { font-size: 14px; color: var(--color-text-muted); font-weight: 500; }
.tier-premium .tier-period { color: rgba(255,255,255,0.4); }
.tier-detail { font-size: 12px; color: var(--color-text-muted); margin-top: 3px; }
.tier-premium .tier-detail { color: rgba(255,255,255,0.4); }
.tier-rate { display: inline-block; margin-top: 10px; padding: 3px 10px; background: rgba(0,0,0,0.04); border-radius: 100px; font-size: 11px; font-weight: 500; color: var(--color-text-muted); }
.tier-premium .tier-rate { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }

/* Tier setup */
.tier-setup { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; background: rgba(0,0,0,0.02); border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); }
.tier-premium .tier-setup { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.setup-label { font-size: 12px; font-weight: 500; color: var(--color-text-muted); }
.tier-premium .setup-label { color: rgba(255,255,255,0.4); }
.setup-amount { font-size: 14px; font-weight: 500; }

/* Features */
.feature-list { padding: 16px 20px; flex: 1; }
.feature-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 12px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.tier-premium .feature-item { border-color: rgba(255,255,255,0.07); }
.feature-item:last-child { border-bottom: none; }
.feature-label { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.feature-check { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-check.included { background: #DCFCE7; color: var(--color-green); }
.tier-premium .feature-check.included { background: rgba(64,91,87,0.2); color: var(--color-accent-light); }
.feature-check svg { width: 10px; height: 10px; }
.feature-cost { font-weight: 500; white-space: nowrap; color: var(--color-text-secondary); font-size: 11px; }
.tier-premium .feature-cost { color: rgba(255,255,255,0.6); }
.feature-included { font-weight: 500; color: var(--color-green); white-space: nowrap; font-size: 11px; }
.tier-premium .feature-included { color: var(--color-accent-light); }
.feature-na { font-weight: 500; color: rgba(0,0,0,0.2); white-space: nowrap; font-size: 11px; font-style: normal; }

/* Tier footer */
.tier-footer { padding: 0 20px 20px; margin-top: auto; }
.tier-estimate { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: rgba(0,0,0,0.02); border-radius: var(--radius-sm); margin-bottom: 12px; }
.tier-premium .tier-estimate { background: rgba(255,255,255,0.05); }
.estimate-label { font-size: 11px; font-weight: 500; color: var(--color-text-muted); }
.tier-premium .estimate-label { color: rgba(255,255,255,0.4); }
.estimate-amount { font-size: 18px; font-weight: 800; }
.tier-premium .estimate-amount { color: var(--color-gold-light); }
.estimate-sub { display: block; text-align: right; font-size: 10px; color: var(--color-text-muted); margin-top: 1px; }
.tier-premium .estimate-sub { color: rgba(255,255,255,0.3); }

/* Tier buttons */
.btn-get-started {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}
.tier-card .btn-get-started { background: rgba(0,0,0,0.05); color: var(--color-text); }
.tier-card.popular .btn-get-started { background: var(--gradient-primary); color: var(--color-white); }
.tier-card.tier-premium .btn-get-started { background: var(--color-white); color: #1a4450; }
.btn-get-started:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* --- Maintenance Note --- */
.maintenance-note { background: var(--color-white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); text-align: center; border: 1px solid rgba(0,0,0,0.06); }
.maintenance-note h3 { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.maintenance-note h3 span { font-weight: 500; color: var(--color-text-muted); }
.maintenance-items { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.maintenance-item { display: flex; flex-direction: column; gap: 2px; }
.maintenance-item strong { font-size: 12px; font-weight: 500; color: var(--color-text); }
.maintenance-item span { font-size: 13px; color: var(--color-text-muted); }

/* --- Modal --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 24px; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; animation: qfadeIn 0.2s ease; }
@keyframes qfadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { background: var(--color-white); border-radius: var(--radius-lg); padding: 36px; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: qmodalIn 0.3s ease; }
@keyframes qmodalIn { from { opacity: 0; transform: scale(0.95) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal h2 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 8px; color: var(--color-text); }
.modal h2 span { color: var(--color-accent); }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 28px; color: var(--color-text-muted); cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--color-text); }
.modal-quote-summary { display: flex; gap: 16px; margin-bottom: 20px; padding: 10px 14px; background: #F4FAFB; border-radius: var(--radius-sm); font-size: 13px; }
.modal-quote-summary .mqs-item { display: flex; flex-direction: column; gap: 2px; }
.modal-quote-summary .mqs-label { font-weight: 500; color: var(--color-text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.modal-quote-summary .mqs-value { font-weight: 500; color: var(--color-text); font-size: 14px; }
.modal form { margin-top: 12px; }
.modal .form-group { margin-bottom: 14px; }
.form-success { text-align: center; padding: 20px 0; }
.form-success svg { margin: 0 auto 12px; }
.form-success h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 8px; color: var(--color-text); }
.form-success p { color: var(--color-text-muted); font-size: 14px; margin-bottom: 6px; }
.success-phone a { color: var(--color-accent); font-weight: 500; }

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
    .report-back-btn,
    .report-download-btn,
    .report-cta,
    .site-header,
    .site-footer { display: none !important; }
    .report-hero { break-after: avoid; }
    .report-section { break-inside: avoid; }
    body { background: white; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
    .quote-layout { grid-template-columns: 1fr; }
    .inputs-panel { position: static; }
    .tier-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .tier-card.popular { order: -1; }
}
@media (max-width: 768px) {
    .quote-hero h1 { font-size: 28px; }
    .quote-hero { padding: 40px 0 32px; }
    .quote-hero-stats { gap: 20px; }
    .inputs-card { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .maintenance-items { grid-template-columns: 1fr; }
    .modal { padding: 28px 24px; }
    .report-hero { padding: 32px 0 40px; }
    .report-hero-content { flex-direction: column; align-items: flex-start; }
    .report-hero-text h1 { font-size: 22px; }
    .rent-stats-row { grid-template-columns: repeat(2, 1fr); }
    .property-details-grid { grid-template-columns: repeat(2, 1fr); }
    .market-insights { grid-template-columns: 1fr; }
    .comps-table { font-size: 12px; }
    .comps-table th, .comps-table td { padding: 10px 10px; }
    .address-card { padding: 28px 24px; }
    .address-entry-section { padding: 32px 0 48px; }
}
@media (max-width: 480px) {
    .addon-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Quote disclosures under the plan card */
.quote-disclosure {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--color-text-muted);
}
.quote-portfolio-note { font-weight: 500; color: var(--color-accent-dark); }

/* Emailed-report request + recommendation disclaimer */
.rec-disclaimer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 12px;
    line-height: 1.6;
    color: var(--color-text-muted);
}
.report-email-form { display: inline-flex; gap: 8px; align-items: center; }
.report-email-form input {
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 13px;
    min-width: 220px;
}
.report-email-done { font-size: 13px; color: var(--color-accent-dark); font-weight: 500; }

/* ============================================================
   RENTAL ANALYSIS FORM (#2021): form first, nothing shown before it
   ============================================================ */
.quote-hero--compact { padding: 56px 0 44px; }
.quote-hero--compact h1 { margin-bottom: 0; }
.quote-hero--compact .quote-hero-subtitle { margin: 12px auto 0; }
.analysis-card { max-width: 680px; text-align: left; }
.analysis-section-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    margin: 32px 0 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.analysis-card .form-group { margin-bottom: 18px; }
.analysis-card .form-group input[type="text"],
.analysis-card .form-group input[type="email"],
.analysis-card .form-group input[type="tel"],
.analysis-card .form-group textarea,
.analysis-card .form-group select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 16px;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-text);
}
.analysis-card .form-group select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23636363' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}
.analysis-card .form-group textarea { min-height: 110px; }
.analysis-card #analyzeBtn { margin-top: 8px; min-height: 52px; }
.analysis-error {
    margin: 0 0 12px;
    font-size: 14px;
    color: #b42335;
}
.analysis-sent-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 12px;
}
.analysis-sent p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}
.analysis-sent strong { font-weight: 500; color: var(--color-text); }
/* Report-sent view: card wide enough for Calendly's side-by-side 660x620
   layout; the fees block sits right under it (Jeff 10/12: no empty space). */
.analysis-card.analysis-sent { max-width: 760px; }
.analysis-calendly { min-width: 280px; max-width: 660px; height: 620px; margin: 16px auto 0; }
.analysis-fees { max-width: 680px; margin: 0 auto; padding: 32px 24px 0; background: transparent; }
#sentView .address-entry-section { padding-bottom: 48px; }
.tier-rate--sub { display: block; width: fit-content; margin: 8px auto 0; }
a.btn-get-started { text-decoration: none; line-height: 1.4; min-height: 44px; }
@media (max-width: 768px) {
    .quote-hero--compact { padding: 36px 0 28px; }
    .analysis-card { padding: 24px 18px; }
    .analysis-calendly { height: 700px; }
}

/* Quote builder: "Full Pricing Overview" button above the Six Guarantees */
.quote-pricing-link { background: var(--color-white); text-align: center; padding: 0 0 8px; }
.quote-pricing-link .btn { min-width: 260px; }
