:root{

    --green:#0d9f49;
    --green-dark:#097334;

    --yellow: #FBC02D;;

    --text:#1F2937;
    --text-light:#808A98;
    --text-dark:#111827;


    --text-dark: #111827;
    --text-main: #1F2937;
    --text-muted: #4b5563;
    --gray-light: #e5e7eb;  


    --white:#ffffff;

    --border:#e7e7eb;

    --radius:18px;

    --content-width:1100px;

    --shadow:
        0 10px 28px rgba(0,0,0,0.06);
}

/* ==========================================================================
   AUTO-INSTANT QUOTE CONSOLIDATED CORE CSS
   ========================================================================== */

.QuoteResultWrap{
    width:100%;
    max-width:780px;
    min-height:100vh;
    margin:0 auto;
}

.QuoteResultBox{
    width:calc(100% - 10px);
    margin:25px auto;
    padding-top:10px;
    border:1px solid #c5c5c5;
    border-radius:12px;
    box-sizing: border-box;
    overflow:hidden;
    background-color:#fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Header Area Styles */
.qr-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12); 
    box-shadow: 0 10px 15px -8px rgba(0, 0, 0, 0.10);
    gap: 20px; 
}

.qr-compact-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
    margin-bottom: 6px !important;
    line-height: 1.1;
}

.qr-compact-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 !important;
    max-width: 100%;
}

.qr-compact-badge {
    background-color: var(--bg);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

/* Structural Segment Grid Blocks */
.qr-compact-section {
    padding: 24px 32px;
}

.qr-compact-section.bg-light {
    background-color: #f9fafb;
}

.border-bottom {
    border-bottom: 1px solid var(--border);
}

.border-top {
    border-top: 1px solid var(--border);
}

.qr-section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ==========================================================================
   SECTION 1: BALANCED DOUBLE-POINT VERIFICATION
   ========================================================================== */
.qr-property-row {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.qr-property-info {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Equal vertical rhythm between Address block and Service block */
}

.qr-verification-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Both points share this identical uppercase structural header tag */
.qr-sub-section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Both point headings look identical to one another */
.qr-block-title {
    font-size: clamp(1rem, 4vw, 1.25rem) !important;    
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0px !important;
    color: var(--text-dark);
}

.status-badge{
    font-size: 14px;
    font-weight: 600;
    columns: var(--text-light);

}

.qr-block-title-booked{
    font-size: clamp(1rem, 4vw, 1.16rem) !important;    
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0px !important;
    color: var(--text-dark)
}

.qr-compact-p{
    font-size: clamp(1.1rem, 2.25vw, 1.18rem);
    padding:20px 0 30px 0;
}

/* Margins for the inline list under the service title heading */
.qr-verification-item .qr-inclusion-list {
    margin-top: 10px !important;
}

.qr-inclusion-list {
    list-style: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qr-inclusion-list li {
    font-size: 0.9rem !important;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 0px !important;
}

.qr-compact-map-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.qr-compact-map {
    width: 100%;
    border-radius: calc(var(--radius) - 6px);
    overflow: hidden;
    border: 1px solid var(--border);
    line-height: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}


/* ==========================================================================
   SECTION 2: PLAN ACTION MATRIX STACK (UNIFORM NEUTRAL LAYOUT)
   ========================================================================== */
.qr-status-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-size: 0.85rem;
    color: #9a3412;
    background-color: #fff7ed;
    border: 1px solid #ffedd5;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.qr-live-pulse {
    width: 6px;
    height: 6px;
    background-color: #ea580c;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.5);
    animation: pulseLoopCompact 1.8s infinite;
}

@keyframes pulseLoopCompact {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(234, 88, 12, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.qr-plan-booking-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* BOTH CARDS: Fixed light background with a standard defined dark gray border */
.qr-action-card {
    position: relative;
    background-color: #fff;
    border: 1px solid color-mix(in srgb, var(--green) 75%, white);
    border-radius: calc(var(--radius) - 6px);
    padding: 24px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bg-light {
    background-color: #f9fafb;
}

.qr-card-main-flow {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr;
    align-items: center;
    gap: 24px;
    width: 100%;
    text-align: center;
}

.qr-plan-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left; /* Enforces natural left alignment on desktop */
    align-items: flex-start; /* Keeps the text container bound flush left */
}

.qr-plan-title {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0px !important;
}

.qr-plan-desc {
    font-size: clamp(0.9rem, 0.925rem, 0.95rem) !important;
    color: var(--text-muted);
    margin-bottom: 0px !important;
    max-width: 100%;
}

.qr-plan-pricing {
    text-align: center;
}

.qr-delivery-txt{
    font-size: 0.9rem !important;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 0px !important;
    max-width: 100%;
}

/* BOTH PRICES: Using your native brand green variable */
.qr-card-price {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--green); 
    line-height: 1;
}

.qr-card-interval {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-light);
    margin-top: 4px;
    white-space: nowrap;
}

.qr-card-action {
    width: 100%;
    display: flex;
    justify-content: center;
}

.qr-submit-btn {
    display: flex;
    width: 100%;
    max-width: 185px;

    align-items: center;
    justify-content: center;
    gap: 8px;

    background-color: var(--green);
    color: var(--white);

    border: none;
    cursor: pointer;

    font-size: clamp(0.9375rem, 0.95rem, 1rem);
    font-weight: 600;

    padding: 8px 0;

    border-radius: 30px;

    transition:
        background-color 0.15s ease,
        transform 0.1s ease;

    box-shadow: 0 4px 14px rgba(13, 159, 73, 0.15);
}

.qr-submit-btn span{
    white-space: nowrap;
}

.qr-submit-btn:hover {
    background-color: var(--green-dark);
}

.qr-submit-btn:active {
    transform: scale(0.98);
}

.qr-btn-svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s ease;
}

.qr-submit-btn:hover .qr-btn-svg {
    transform: translateX(4px);
}

/* FIXED TARGET SELECTOR: Matches your HTML classes completely */
.qr-rib.ribbon {
    position: absolute !important;
    left: 24px !important;               /* Anchors to the top-left */
    top: -13px !important;              /* Balances in the middle of the border line */
    background: #eefbf3 !important;     /* Force white background */
    color: var(--green) !important;     /* Force your brand green text */
    border: 1.5px solid var(--green) !important; /* Green border outline */
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    transform: none !important;         /* Cancels out center alignment shifts */
}


.qr-email-icon{
    width:80px;
    height:auto;
    display:block;
    margin:0 auto 16px;
}


/* ==========================================================================
   SECTION 3: FOOTER TRUST PILLARS
   ========================================================================== */
/* ==========================================================================
   SECTION 3: FOOTER TRUST PILLARS (FIXED)
   ========================================================================= */

.qr-compact-section:has(.qr-guarantee-pillars) {
    padding-top: 28px;
    padding-bottom: 40px;
}

.qr-guarantee-pillars.unified-row {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap; /* Allows items to gracefully drop to a new line instead of shattering */
}

.qr-guarantee-pillars.unified-row li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem; /* Slid down marginally from 0.85rem to safely breathe inside 700px width */
    color: var(--text-muted);
    margin-bottom: 0px !important;
    flex: 1 1 0px; /* Forces equal proportional distribution across the width */
    min-width: 180px; /* Safe minimum boundary before dropping down elegantly */
}

.qr-pill-icon {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
    font-weight: 600;
}

.text-center-mobile { text-align: left; }


/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {

    .QuoteResultBox{
       margin:5px auto 30px;
    }

    .qr-compact-header {

        padding:20px 15px 15px 15px;

    }   

    .qr-compact-badge {
        align-self: flex-start;
    }
    
    .qr-compact-section {
        padding: 15px;
    }
    
    .qr-property-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* SECTION 1: Verification items strictly preserve left alignment */
    .qr-property-info {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }
    
    .qr-verification-item {
        align-items: flex-start;
        text-align: left;
    }
    
    .qr-compact-map-wrapper {
        order: -1; /* Stacks the map frame above the text details on mobile */
    }
    
    .qr-compact-map {
        height: 140px;
    }
    
    /* SECTION 2: PLAN BOOKING STACK - CENTERING ENFORCED ON MOBILE */
    .qr-card-main-flow {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }
    
    .qr-plan-details {
        text-align: center; /* Smoothly snaps back to center on mobile screens */
        align-items: center; /* Centers the flex item block on mobile */
    }
    
    .qr-plan-pricing {
        text-align: center;
    }
    
    .qr-action-card {
        padding: 32px 16px 16px 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .qr-rib.ribbon {
        left: 24px !important;
        transform: none !important;
    }
    
    .text-center-mobile {
        text-align: center;
        margin-bottom: 16px;
    }

    .qr-compact-section:has(.qr-guarantee-pillars) {
        padding-top: 15px;
        padding-bottom: 25px;
    }

    /* SECTION 3: TRUST PILLARS FOOTER */
    .qr-guarantee-pillars.unified-row {
        align-items: flex-start;
        text-align: left;
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

}