/**
 * Rainbow Landscaping — V3 Interactive Modules (Theater, Estimator, Contact, Media)
 * Strictly <= 325 lines.
 */

/* Transformation Theater */
.rb-v3-theater-wrap { max-width: 980px; margin: 0 auto; }
.rb-v3-scene-pills { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.rb-v3-scene-pill {
    background: var(--v3-bg-card);
    border: 1px solid var(--v3-border-subtle);
    color: var(--v3-text-muted);
    padding: 8px 16px;
    border-radius: var(--v3-radius-pill);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--v3-transition);
}
.rb-v3-scene-pill.active { background: var(--v3-accent-gold); color: #0B1611; font-weight: 700; }
.rb-v3-slider-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--v3-radius-md);
    overflow: hidden;
    border: 1px solid var(--v3-border);
}
.rb-v3-img-after, .rb-v3-img-before { width: 100%; height: 100%; object-fit: cover; }
.rb-v3-clip-wrap { position: absolute; inset: 0; overflow: hidden; }
.rb-v3-tag-before, .rb-v3-tag-after {
    position: absolute;
    top: 16px;
    padding: 4px 12px;
    border-radius: var(--v3-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    z-index: 3;
}
.rb-v3-tag-before { left: 16px; background: rgba(0,0,0,0.7); color: #fff; }
.rb-v3-tag-after { right: 16px; background: var(--v3-accent-gold); color: #000; }
.rb-v3-handle-bar { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; z-index: 4; }
.rb-v3-handle-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    background: var(--v3-accent-gold);
    color: #0B1611;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.rb-v3-range-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
    margin: 0;
}
.rb-v3-theater-caption { text-align: center; margin-top: 16px; }
.rb-v3-caption-title { font-family: var(--v3-font-heading); font-size: 1.15rem; margin: 0 0 4px; color: var(--v3-text-bright); }
.rb-v3-caption-sub { font-size: 0.8rem; color: var(--v3-text-muted); }

/* Estimator Box */
.rb-v3-calc-box {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 36px;
    background: var(--v3-bg-card);
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius-md);
    padding: 40px;
}
.rb-v3-calc-group { margin-bottom: 28px; }
.rb-v3-calc-lbl-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rb-v3-calc-val { color: var(--v3-accent-gold); font-size: 1.25rem; font-weight: 700; font-family: var(--v3-font-heading); }
.rb-v3-calc-range { width: 100%; accent-color: var(--v3-accent-gold); cursor: pointer; }
.rb-v3-calc-ticks { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--v3-text-muted); margin-top: 6px; }
.rb-v3-radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.rb-v3-radio-item { cursor: pointer; }
.rb-v3-radio-item input { display: none; }
.rb-v3-radio-btn {
    display: block;
    background: var(--v3-bg-elevated);
    border: 1px solid var(--v3-border-subtle);
    padding: 12px;
    border-radius: var(--v3-radius-sm);
    transition: var(--v3-transition);
}
.rb-v3-radio-btn strong { display: block; font-size: 0.85rem; color: var(--v3-text-bright); margin-bottom: 4px; }
.rb-v3-radio-btn small { display: block; font-size: 0.72rem; color: var(--v3-text-muted); line-height: 1.3; }
.rb-v3-radio-item.active .rb-v3-radio-btn { border-color: var(--v3-accent-gold); background: rgba(197,168,128,0.12); }
.rb-v3-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
.rb-v3-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--v3-bg-elevated);
    padding: 10px 14px;
    border-radius: var(--v3-radius-sm);
    font-size: 0.82rem;
    cursor: pointer;
}
.rb-v3-check-item input { accent-color: var(--v3-accent-gold); }

.rb-v3-summary-card {
    background: var(--v3-bg-elevated);
    border: 1px solid var(--v3-border);
    border-radius: var(--v3-radius-md);
    padding: 30px;
    text-align: center;
}
.rb-v3-summary-eyebrow { font-size: 0.75rem; text-transform: uppercase; color: var(--v3-accent-gold); font-weight: 700; letter-spacing: 0.1em; }
.rb-v3-price-display { margin: 16px 0; }
.rb-v3-currency { font-size: 1.4rem; color: var(--v3-accent-gold); vertical-align: top; margin-right: 4px; }
.rb-v3-price-num { font-family: var(--v3-font-heading); font-size: 2.2rem; font-weight: 700; color: var(--v3-text-bright); }
.rb-v3-price-note { font-size: 0.75rem; color: var(--v3-text-muted); line-height: 1.4; margin-bottom: 20px; }
.rb-v3-summary-meta { background: var(--v3-bg-card); padding: 12px; border-radius: var(--v3-radius-sm); font-size: 0.85rem; margin-bottom: 24px; text-align: left; }
.rb-v3-btn-wa-large {
    display: block;
    background: #25D366;
    color: #000;
    font-weight: 700;
    padding: 14px;
    border-radius: var(--v3-radius-pill);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--v3-transition);
}
.rb-v3-btn-wa-large:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.3); }
.rb-v3-guarantee-note { font-size: 0.72rem; color: var(--v3-text-muted); margin-top: 14px; }

/* Estates & Nursery Cards */
.rb-v3-estate-card { background: var(--v3-bg-card); border-radius: var(--v3-radius-md); overflow: hidden; border: 1px solid var(--v3-border-subtle); }
.rb-v3-estate-media { position: relative; height: 240px; }
.rb-v3-estate-media img { width: 100%; height: 100%; object-fit: cover; }
.rb-v3-estate-badge { position: absolute; bottom: 12px; left: 12px; background: rgba(11,22,17,0.85); color: var(--v3-accent-gold); font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: var(--v3-radius-pill); }
.rb-v3-estate-body { padding: 24px; }
.rb-v3-estate-title { font-family: var(--v3-font-heading); font-size: 1.25rem; margin: 0 0 6px; }
.rb-v3-estate-loc { font-size: 0.8rem; color: var(--v3-accent-gold); margin-bottom: 10px; }
.rb-v3-estate-desc { font-size: 0.88rem; color: var(--v3-text-muted); margin-bottom: 16px; }
.rb-v3-estate-meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--v3-text-bright); border-top: 1px solid var(--v3-border-subtle); padding-top: 12px; }

.rb-v3-nursery-card { background: var(--v3-bg-card); border-radius: var(--v3-radius-md); padding: 18px; border: 1px solid var(--v3-border-subtle); text-align: center; }
.rb-v3-nursery-card img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--v3-radius-sm); margin-bottom: 14px; }
.rb-v3-nursery-card h4 { font-family: var(--v3-font-heading); font-size: 1.1rem; margin: 0 0 6px; }
.rb-v3-nursery-card p { font-size: 0.82rem; color: var(--v3-text-muted); margin: 0; }

/* Steps */
.rb-v3-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rb-v3-step { background: var(--v3-bg-card); border: 1px solid var(--v3-border-subtle); border-radius: var(--v3-radius-md); padding: 30px 20px; position: relative; }
.rb-v3-step-num { font-family: var(--v3-font-heading); font-size: 2.5rem; font-weight: 700; color: rgba(197,168,128,0.3); display: block; margin-bottom: 10px; }
.rb-v3-step h4 { font-family: var(--v3-font-heading); font-size: 1.15rem; margin: 0 0 10px; color: var(--v3-text-bright); }
.rb-v3-step p { font-size: 0.85rem; color: var(--v3-text-muted); margin: 0; line-height: 1.5; }

/* Contact Section */
.rb-v3-contact-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; background: var(--v3-bg-card); border: 1px solid var(--v3-border); border-radius: var(--v3-radius-md); padding: 48px; }
.rb-v3-contact-title { font-family: var(--v3-font-heading); font-size: 2.2rem; margin: 0 0 16px; }
.rb-v3-contact-desc { color: var(--v3-text-muted); font-size: 1rem; margin-bottom: 30px; }
.rb-v3-direct-lines { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.rb-v3-line-item { display: flex; align-items: center; gap: 14px; background: var(--v3-bg-elevated); padding: 14px 20px; border-radius: var(--v3-radius-sm); text-decoration: none; color: var(--v3-text-bright); border: 1px solid var(--v3-border-subtle); }
.rb-v3-line-icon { font-size: 1.5rem; }
.rb-v3-line-item strong { display: block; font-size: 1.05rem; }
.rb-v3-line-item small { color: var(--v3-accent-gold); font-size: 0.75rem; }
.rb-v3-address-block p { font-size: 0.85rem; color: var(--v3-text-muted); margin: 6px 0; }
.rb-v3-contact-card { background: var(--v3-bg-elevated); border: 1px solid var(--v3-border); border-radius: var(--v3-radius-md); padding: 30px; }
.rb-v3-contact-card h3 { font-family: var(--v3-font-heading); margin: 0 0 6px; }
.rb-v3-contact-card p { font-size: 0.85rem; color: var(--v3-text-muted); margin-bottom: 20px; }
.rb-v3-field { margin-bottom: 16px; }
.rb-v3-field label { display: block; font-size: 0.8rem; margin-bottom: 6px; color: var(--v3-text-muted); }
.rb-v3-field input { width: 100%; padding: 10px 14px; background: var(--v3-bg-card); border: 1px solid var(--v3-border-subtle); border-radius: var(--v3-radius-sm); color: #fff; font-size: 0.9rem; }
.rb-v3-form-submit { width: 100%; background: #25D366; color: #000; border: none; padding: 14px; border-radius: var(--v3-radius-pill); font-weight: 700; cursor: pointer; font-size: 0.95rem; margin-top: 10px; }

/* Footer */
.rb-v3-footer { background: #070E0B; border-top: 1px solid var(--v3-border); padding: 40px 0; font-size: 0.85rem; }
.rb-v3-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.rb-v3-footer-links { display: flex; gap: 20px; }
.rb-v3-footer-links a { color: var(--v3-text-muted); text-decoration: none; }
.rb-v3-footer-links a:hover { color: #fff; }
.rb-v3-footer-v2 { color: var(--v3-accent-gold) !important; font-weight: 700; }
.rb-v3-footer-copy p { margin: 0; color: var(--v3-text-muted); }

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .rb-v3-dock-links { display: none; }
    .rb-v3-grid-3, .rb-v3-grid-4, .rb-v3-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .rb-v3-panel-grid, .rb-v3-calc-box, .rb-v3-contact-box { grid-template-columns: 1fr; }
    .rb-v3-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .rb-v3-grid-3, .rb-v3-grid-4, .rb-v3-steps-grid { grid-template-columns: 1fr; }
    .rb-v3-radio-grid, .rb-v3-check-grid { grid-template-columns: 1fr; }
    .rb-v3-hero-stats { grid-template-columns: 1fr 1fr; }
    .rb-v3-calc-box, .rb-v3-contact-box { padding: 24px; }
}
