/* ==========================================================================
   Rainbow Landscaping — V4 Botanical Architectural Studio Stylesheet
   Palette: Warm Limestone (#FBF9F5), Brass (#C5A059), Forest Moss (#152019)
   Strictly <= 325 lines.
   ========================================================================== */

:root {
  --v4-bg: #FBF9F5;
  --v4-surface: #FFFFFF;
  --v4-surface-warm: #F4F0E8;
  --v4-border: #E8E2D5;
  --v4-text-primary: #152019;
  --v4-text-secondary: #566359;
  --v4-text-muted: #849187;
  --v4-brass: #C5A059;
  --v4-brass-dark: #9F7E3B;
  --v4-green: #2B5738;
  --v4-green-light: #EBF2EC;
  --v4-radius: 12px;
  --v4-shadow: 0 4px 20px rgba(21, 32, 25, 0.06);
  --v4-font-serif: 'Playfair Display', Georgia, serif;
  --v4-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.rb-v4-root {
  background-color: var(--v4-bg);
  color: var(--v4-text-primary);
  font-family: var(--v4-font-sans);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.rb-v4-root * { box-sizing: border-box; }
.rb-v4-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* 3-Way Top Switcher */
.rb-v4-top-switcher {
  background: #111A14;
  color: #E2E8E4;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}
.rb-v4-switcher-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.rb-v4-switcher-badge { background: var(--v4-brass); color: #111A14; font-weight: 700; font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.rb-v4-switcher-label { color: #9AABA0; }
.rb-v4-switcher-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rb-v4-switch-item { color: #C8D6CD; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.rb-v4-switch-item:hover { color: #FFF; text-decoration: underline; }
.rb-v4-switch-active { color: var(--v4-brass); font-weight: 700; }
.rb-v4-switch-sep { color: #405247; }

/* Studio Header */
.rb-v4-header {
  background: rgba(251, 249, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--v4-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
}
.rb-v4-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rb-v4-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--v4-text-primary); }
.rb-v4-brand-icon { font-size: 1.8rem; }
.rb-v4-brand-title { font-family: var(--v4-font-serif); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.05em; display: block; }
.rb-v4-brand-sub { font-size: 0.72rem; color: var(--v4-text-secondary); text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.rb-v4-nav-menu { display: flex; align-items: center; gap: 22px; }
.rb-v4-nav-link { color: var(--v4-text-secondary); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.rb-v4-nav-link:hover { color: var(--v4-green); }
.rb-v4-nav-link-cta { font-weight: 700; color: var(--v4-green); }
.rb-v4-header-actions { display: flex; align-items: center; gap: 10px; }
.rb-v4-btn-call { color: var(--v4-text-primary); text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 7px 12px; border: 1px solid var(--v4-border); border-radius: 6px; }
.rb-v4-btn-wa { background: var(--v4-green); color: #FFF; text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 7px 14px; border-radius: 6px; transition: opacity 0.2s; }
.rb-v4-btn-wa:hover { opacity: 0.9; }

/* Buttons & Common */
.rb-v4-btn-primary { background: var(--v4-green); color: #FFF; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 12px 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.15s, background-color 0.2s; border: none; cursor: pointer; }
.rb-v4-btn-primary:hover { background: #20432B; transform: translateY(-1px); }
.rb-v4-btn-outline { background: transparent; color: var(--v4-text-primary); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 11px 22px; border: 1px solid var(--v4-border); border-radius: 8px; display: inline-flex; align-items: center; transition: border-color 0.2s, background-color 0.2s; }
.rb-v4-btn-outline:hover { border-color: var(--v4-brass); background: var(--v4-surface); }
.rb-v4-serif-italic { font-style: italic; font-family: var(--v4-font-serif); color: var(--v4-brass-dark); }
.rb-v4-section { padding: 80px 0; border-bottom: 1px solid var(--v4-border); }
.rb-v4-section-header { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.rb-v4-section-eyebrow { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; color: var(--v4-brass-dark); display: block; margin-bottom: 8px; }
.rb-v4-section-title { font-family: var(--v4-font-serif); font-size: 2.3rem; margin: 0 0 14px; color: var(--v4-text-primary); font-weight: 600; }
.rb-v4-section-desc { font-size: 1.05rem; color: var(--v4-text-secondary); margin: 0; }

/* Hero Section */
.rb-v4-hero-section { padding: 60px 0 80px; }
.rb-v4-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.rb-v4-founder-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--v4-surface-warm); border: 1px solid var(--v4-border); border-radius: 999px; padding: 6px 14px; font-size: 0.82rem; font-weight: 600; color: var(--v4-text-secondary); margin-bottom: 20px; }
.rb-v4-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v4-green); display: inline-block; }
.rb-v4-hero-heading { font-family: var(--v4-font-serif); font-size: 3.1rem; line-height: 1.15; margin: 0 0 18px; color: var(--v4-text-primary); font-weight: 600; letter-spacing: -0.01em; }
.rb-v4-hero-lead { font-size: 1.12rem; color: var(--v4-text-primary); font-weight: 500; margin: 0 0 10px; }
.rb-v4-hero-subtext { font-size: 0.95rem; color: var(--v4-text-secondary); margin: 0 0 28px; }
.rb-v4-hero-actions { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.rb-v4-hero-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rb-v4-metric-card { background: var(--v4-surface); border: 1px solid var(--v4-border); border-radius: var(--v4-radius); padding: 14px 12px; text-align: center; }
.rb-v4-metric-num { font-family: var(--v4-font-serif); font-size: 1.6rem; font-weight: 700; color: var(--v4-brass-dark); display: block; line-height: 1.1; }
.rb-v4-metric-lbl { font-size: 0.72rem; color: var(--v4-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-top: 4px; display: block; }
.rb-v4-hero-frame { position: relative; border-radius: var(--v4-radius); overflow: hidden; box-shadow: var(--v4-shadow); border: 2px solid var(--v4-surface); }
.rb-v4-hero-img { width: 100%; height: 480px; object-fit: cover; display: block; }
.rb-v4-hero-tag { position: absolute; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px); border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--v4-shadow); }
.tag-top { top: 20px; left: 20px; }
.tag-bottom { bottom: 20px; right: 20px; }
.rb-v4-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v4-brass); }
.rb-v4-tag-body strong { display: block; font-size: 0.85rem; color: var(--v4-text-primary); }
.rb-v4-tag-body small { display: block; font-size: 0.72rem; color: var(--v4-text-secondary); }

/* Lawn Anatomy Section */
.rb-v4-anatomy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.rb-v4-diagram-canvas { display: flex; flex-direction: column; gap: 10px; }
.rb-v4-layer-stripe { display: flex; align-items: center; justify-content: space-between; background: var(--v4-surface); border: 2px solid var(--v4-border); border-radius: 10px; padding: 16px 20px; font-family: var(--v4-font-sans); text-align: left; cursor: pointer; transition: all 0.2s; color: var(--v4-text-primary); }
.rb-v4-layer-stripe:hover { border-color: var(--v4-brass); transform: translateX(4px); }
.rb-v4-layer-stripe.active { border-color: var(--v4-green); background: var(--v4-green-light); box-shadow: var(--v4-shadow); }
.rb-v4-stripe-icon { font-size: 1.4rem; margin-right: 12px; }
.rb-v4-stripe-label { font-weight: 600; font-size: 0.95rem; flex: 1; }
.rb-v4-stripe-depth { font-size: 0.78rem; color: var(--v4-text-muted); background: var(--v4-surface-warm); padding: 4px 8px; border-radius: 4px; }
.rb-v4-diagram-caption { text-align: center; margin-top: 14px; color: var(--v4-text-secondary); }
.rb-v4-spec-card { display: none; background: var(--v4-surface); border: 1px solid var(--v4-border); border-radius: var(--v4-radius); padding: 32px; box-shadow: var(--v4-shadow); }
.rb-v4-spec-card.active { display: block; animation: v4FadeIn 0.3s ease; }
.rb-v4-spec-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rb-v4-spec-num { font-size: 0.78rem; font-weight: 700; color: var(--v4-brass-dark); letter-spacing: 0.1em; }
.rb-v4-spec-badge { background: var(--v4-surface-warm); font-size: 0.75rem; font-weight: 600; color: var(--v4-text-secondary); padding: 3px 10px; border-radius: 999px; }
.rb-v4-spec-title { font-family: var(--v4-font-serif); font-size: 1.6rem; margin: 0 0 12px; color: var(--v4-text-primary); font-weight: 600; }
.rb-v4-spec-desc { font-size: 0.98rem; color: var(--v4-text-secondary); margin: 0 0 20px; }
.rb-v4-spec-detail-box { background: #FFF9ED; border: 1px solid #F5E2B3; border-radius: 8px; padding: 14px; display: flex; gap: 12px; margin-bottom: 24px; }
.rb-v4-detail-icon { font-size: 1.2rem; }
.rb-v4-detail-content strong { display: block; font-size: 0.82rem; color: #8A5B00; margin-bottom: 2px; }
.rb-v4-detail-content p { margin: 0; font-size: 0.88rem; color: #5C4314; }
.rb-v4-spec-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--v4-border); padding-top: 16px; flex-wrap: wrap; gap: 10px; }
.rb-v4-spec-depth-tag { font-size: 0.82rem; color: var(--v4-text-secondary); font-weight: 600; }
.rb-v4-spec-cta { color: var(--v4-green); font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.rb-v4-spec-cta:hover { text-decoration: underline; }

/* Configurator Section */
.rb-v4-configurator-card { background: var(--v4-surface); border: 1px solid var(--v4-border); border-radius: var(--v4-radius); padding: 36px; box-shadow: var(--v4-shadow); }
.rb-v4-steps-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 32px; }
.rb-v4-step-col { display: flex; flex-direction: column; }
.rb-v4-step-badge { font-size: 0.72rem; font-weight: 700; color: var(--v4-brass-dark); letter-spacing: 0.1em; display: block; margin-bottom: 4px; }
.rb-v4-step-title { font-family: var(--v4-font-serif); font-size: 1.25rem; margin: 0 0 16px; color: var(--v4-text-primary); font-weight: 600; }
.rb-v4-option-group { display: flex; flex-direction: column; gap: 10px; }
.rb-v4-opt-btn { display: flex; align-items: center; gap: 12px; background: var(--v4-surface-warm); border: 2px solid transparent; border-radius: 8px; padding: 12px 14px; cursor: pointer; text-align: left; font-family: var(--v4-font-sans); transition: all 0.2s; width: 100%; color: var(--v4-text-primary); }
.rb-v4-opt-btn:hover { border-color: var(--v4-border); background: var(--v4-surface); }
.rb-v4-opt-btn.active { border-color: var(--v4-green); background: var(--v4-green-light); }
.rb-v4-opt-icon { font-size: 1.4rem; }
.rb-v4-opt-text strong { display: block; font-size: 0.9rem; }
.rb-v4-opt-text small { display: block; font-size: 0.75rem; color: var(--v4-text-secondary); }
.rb-v4-result-col { background: var(--v4-surface-warm); border-radius: 10px; padding: 24px; border: 1px solid var(--v4-border); }
.rb-v4-rec-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--v4-border); font-size: 0.88rem; }
.rb-v4-rec-label { color: var(--v4-text-secondary); }
.rb-v4-rec-value { color: var(--v4-text-primary); text-align: right; }
.rb-v4-rec-note { font-size: 0.85rem; color: var(--v4-text-secondary); margin: 16px 0; line-height: 1.5; }
.rb-v4-btn-rec-wa { background: var(--v4-green); color: #FFF; text-decoration: none; font-weight: 600; font-size: 0.88rem; padding: 12px 16px; border-radius: 8px; display: block; text-align: center; transition: opacity 0.2s; }
.rb-v4-btn-rec-wa:hover { opacity: 0.9; }

/* Casebook Section */
.rb-v4-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rb-v4-case-card { background: var(--v4-surface); border: 1px solid var(--v4-border); border-radius: var(--v4-radius); overflow: hidden; box-shadow: var(--v4-shadow); display: flex; flex-direction: column; }
.rb-v4-case-media { position: relative; height: 220px; }
.rb-v4-case-img { width: 100%; height: 100%; object-fit: cover; }
.rb-v4-case-tag { position: absolute; top: 14px; left: 14px; background: rgba(21, 32, 25, 0.85); color: #FFF; font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.rb-v4-case-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.rb-v4-case-meta { font-size: 0.8rem; color: var(--v4-brass-dark); font-weight: 600; margin-bottom: 6px; }
.rb-v4-case-title { font-family: var(--v4-font-serif); font-size: 1.3rem; margin: 0 0 10px; color: var(--v4-text-primary); font-weight: 600; }
.rb-v4-case-scope { font-size: 0.88rem; color: var(--v4-text-secondary); margin: 0 0 14px; }
.rb-v4-case-specs { list-style: none; padding: 0; margin: 0 0 20px; font-size: 0.82rem; color: var(--v4-text-secondary); line-height: 1.7; flex: 1; }
.rb-v4-case-footer { border-top: 1px solid var(--v4-border); padding-top: 14px; }
.rb-v4-case-btn { color: var(--v4-green); text-decoration: none; font-weight: 700; font-size: 0.85rem; }

/* Nursery Section */
.rb-v4-flora-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.rb-v4-flora-card { background: var(--v4-surface); border: 1px solid var(--v4-border); border-radius: var(--v4-radius); padding: 24px; box-shadow: var(--v4-shadow); }
.rb-v4-flora-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rb-v4-flora-icon { font-size: 1.6rem; }
.rb-v4-flora-badge { background: var(--v4-surface-warm); font-size: 0.72rem; font-weight: 700; color: var(--v4-brass-dark); padding: 3px 8px; border-radius: 4px; text-transform: uppercase; }
.rb-v4-flora-title { font-family: var(--v4-font-serif); font-size: 1.15rem; margin: 0 0 8px; color: var(--v4-text-primary); font-weight: 600; }
.rb-v4-flora-items { font-size: 0.82rem; color: var(--v4-text-primary); margin: 0 0 8px; }
.rb-v4-flora-desc { font-size: 0.82rem; color: var(--v4-text-secondary); margin: 0; }
.rb-v4-nursery-cta-box { background: var(--v4-surface-warm); border: 1px solid var(--v4-border); border-radius: var(--v4-radius); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.rb-v4-nursery-cta-text strong { display: block; font-size: 1rem; color: var(--v4-text-primary); }
.rb-v4-nursery-cta-text span { font-size: 0.88rem; color: var(--v4-text-secondary); }

/* Process Section */
.rb-v4-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rb-v4-process-step { background: var(--v4-surface); border: 1px solid var(--v4-border); border-radius: var(--v4-radius); padding: 28px 20px; box-shadow: var(--v4-shadow); position: relative; }
.rb-v4-step-number { font-family: var(--v4-font-serif); font-size: 2.2rem; font-weight: 700; color: var(--v4-brass); display: block; line-height: 1; margin-bottom: 12px; }
.rb-v4-process-step-title { font-family: var(--v4-font-serif); font-size: 1.15rem; margin: 0 0 10px; color: var(--v4-text-primary); font-weight: 600; }
.rb-v4-process-step-desc { font-size: 0.85rem; color: var(--v4-text-secondary); margin: 0; line-height: 1.5; }

/* Contact & Booking */
.rb-v4-contact-card { background: var(--v4-surface); border: 1px solid var(--v4-border); border-radius: var(--v4-radius); padding: 48px; box-shadow: var(--v4-shadow); }
.rb-v4-contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.rb-v4-contact-heading { font-family: var(--v4-font-serif); font-size: 2.1rem; margin: 0 0 14px; color: var(--v4-text-primary); font-weight: 600; }
.rb-v4-contact-text { font-size: 0.98rem; color: var(--v4-text-secondary); margin: 0 0 28px; }
.rb-v4-contact-details { display: flex; flex-direction: column; gap: 16px; }
.rb-v4-c-item { display: flex; gap: 14px; align-items: flex-start; }
.rb-v4-c-icon { font-size: 1.3rem; }
.rb-v4-c-item strong { display: block; font-size: 0.88rem; color: var(--v4-text-primary); }
.rb-v4-c-item a, .rb-v4-c-item span { font-size: 0.85rem; color: var(--v4-text-secondary); text-decoration: none; }
.rb-v4-c-item a:hover { color: var(--v4-green); }
.rb-v4-form-box { background: var(--v4-surface-warm); border: 1px solid var(--v4-border); border-radius: 10px; padding: 28px; }
.rb-v4-form-title { font-family: var(--v4-font-serif); font-size: 1.3rem; margin: 0 0 4px; color: var(--v4-text-primary); font-weight: 600; }
.rb-v4-form-sub { font-size: 0.8rem; color: var(--v4-text-secondary); margin: 0 0 18px; }
.rb-v4-form-field { margin-bottom: 14px; }
.rb-v4-form-field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--v4-text-primary); margin-bottom: 4px; }
.rb-v4-form-field input, .rb-v4-form-field select { width: 100%; padding: 10px 12px; border: 1px solid var(--v4-border); border-radius: 6px; font-family: var(--v4-font-sans); font-size: 0.88rem; background: #FFF; color: var(--v4-text-primary); }
.rb-v4-btn-block { width: 100%; margin-top: 8px; }

/* Footer */
.rb-v4-footer { background: #111A14; color: #E2E8E4; padding: 48px 0 24px; font-size: 0.88rem; }
.rb-v4-footer-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #243529; padding-bottom: 24px; margin-bottom: 20px; flex-wrap: wrap; gap: 20px; }
.rb-v4-f-brand .rb-v4-f-logo { font-family: var(--v4-font-serif); font-size: 1.15rem; font-weight: 700; color: var(--v4-brass); display: block; margin-bottom: 4px; }
.rb-v4-f-brand p { font-size: 0.82rem; color: #9AABA0; margin: 0; max-width: 360px; }
.rb-v4-f-links { display: flex; gap: 16px; flex-wrap: wrap; }
.rb-v4-f-links a { color: #C8D6CD; text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.rb-v4-f-links a:hover { color: var(--v4-brass); }
.rb-v4-footer-bottom { text-align: center; color: #697D71; font-size: 0.78rem; }

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

/* Responsive */
@media (max-width: 991px) {
  .rb-v4-nav-menu, .rb-v4-btn-call { display: none; }
  .rb-v4-hero-grid, .rb-v4-anatomy-layout, .rb-v4-contact-grid { grid-template-columns: 1fr; }
  .rb-v4-steps-grid, .rb-v4-cases-grid, .rb-v4-flora-grid { grid-template-columns: 1fr; }
  .rb-v4-process-grid { grid-template-columns: repeat(2, 1fr); }
  .rb-v4-hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .rb-v4-hero-heading { font-size: 2.3rem; }
  .rb-v4-hero-img { height: 320px; }
}
