/* ==========================================================================
   PIXEL SURGE — Real Estate Growth Landing Page Stylesheet
   Clean White & Deep Navy Palette with Action Blue
   Palette:
   - Deep navy: #102B5C
   - Action blue: #246BFE
   - Action blue hover: #1d57d6
   - Pale blue: #EAF2FF
   - Pale blue surface: #F4F8FF
   - White: #FFFFFF
   - Body ink: #17243B
   - Muted text: #66758D
   - Borders: #DCE5F2
   - Positive state: #168A66
   ========================================================================== */

:root {
  --re-deep-navy: #102B5C;
  --re-action-blue: #246BFE;
  --re-action-blue-hover: #1b58d9;
  --re-pale-blue: #EAF2FF;
  --re-pale-surface: #F4F8FF;
  --re-white: #FFFFFF;
  --re-body-ink: #17243B;
  --re-muted: #66758D;
  --re-borders: #DCE5F2;
  --re-positive: #168A66;
  --re-positive-bg: #E8F7F2;

  --re-shadow-subtle: 0 4px 20px rgba(16, 43, 92, 0.06);
  --re-shadow-card: 0 10px 30px rgba(16, 43, 92, 0.08);
  --re-shadow-hover: 0 16px 36px rgba(36, 107, 254, 0.14);
}

/* Page Scope Reset & Background */
.re-page {
  background-color: var(--re-white);
  color: var(--re-body-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.re-page h1, 
.re-page h2, 
.re-page h3, 
.re-page h4 {
  color: var(--re-deep-navy);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.re-page p {
  color: var(--re-muted);
  line-height: 1.65;
}

/* Header */
.re-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--re-borders);
  z-index: 1000;
  transition: all 0.25s ease;
}

.re-header.scrolled {
  box-shadow: 0 4px 20px rgba(16, 43, 92, 0.08);
  height: 68px;
}

.re-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.re-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.re-nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--re-deep-navy);
  text-decoration: none;
  transition: color 0.15s ease;
}

.re-nav-link:hover {
  color: var(--re-action-blue);
}

/* Buttons */
.re-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.re-btn:focus-visible {
  outline: 2px solid var(--re-action-blue);
  outline-offset: 2px;
}

.re-btn-primary {
  background-color: var(--re-action-blue);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(36, 107, 254, 0.28);
}

.re-btn-primary:hover {
  background-color: var(--re-action-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(36, 107, 254, 0.38);
}

.re-btn-secondary {
  background-color: var(--re-pale-blue);
  color: var(--re-deep-navy) !important;
  border-color: rgba(36, 107, 254, 0.2);
}

.re-btn-secondary:hover {
  background-color: #dbe8fd;
  transform: translateY(-2px);
}

.re-btn-outline {
  background: transparent;
  color: var(--re-action-blue) !important;
  border-color: var(--re-action-blue);
}

.re-btn-outline:hover {
  background: var(--re-pale-blue);
}

.re-btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
}

.re-btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* Section Containers */
.re-section {
  padding: 5.5rem 0;
  position: relative;
}

.re-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.re-container-narrow {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.re-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.re-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--re-action-blue);
  background: var(--re-pale-blue);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.re-section-title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  margin-bottom: 1rem;
}

.re-section-lead {
  font-size: 1.125rem;
  color: var(--re-muted);
}

/* Hero Section */
.re-hero {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  background: linear-gradient(180deg, #F9FBFF 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--re-borders);
}

.re-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.re-hero-h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.re-hero-body {
  font-size: 1.15rem;
  color: var(--re-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.re-hero-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--re-borders);
}

.re-support-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--re-deep-navy);
}

.re-support-item svg {
  color: var(--re-positive);
  flex-shrink: 0;
}

/* Workflow Visual Panel */
.re-workflow-card {
  background: #ffffff;
  border: 1px solid var(--re-borders);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--re-shadow-card);
  position: relative;
}

.re-workflow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--re-borders);
}

.re-workflow-title {
  font-size: 1.1rem;
  color: var(--re-deep-navy);
  font-weight: 700;
}

.re-workflow-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--re-action-blue);
  background: var(--re-pale-blue);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.re-stages-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}

.re-stage-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem;
  background: var(--re-pale-surface);
  border: 1px solid var(--re-borders);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.re-stage-item:hover {
  background: #ffffff;
  border-color: var(--re-action-blue);
  transform: translateX(4px);
  box-shadow: var(--re-shadow-subtle);
}

.re-stage-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--re-action-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.re-stage-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.re-stage-content p {
  font-size: 0.82rem;
  color: var(--re-muted);
  margin: 0;
}

.re-workflow-note {
  font-size: 0.76rem;
  color: var(--re-muted);
  font-style: italic;
  margin-top: 1.25rem;
  text-align: center;
}

/* Problem / Solution Cards Grid */
.re-hooks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.re-hook-card {
  background: #ffffff;
  border: 1px solid var(--re-borders);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--re-shadow-subtle);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.re-hook-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--re-shadow-card);
  border-color: rgba(36, 107, 254, 0.4);
}

.re-hook-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--re-action-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.re-hook-quote {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--re-deep-navy);
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.re-hook-why {
  font-size: 0.88rem;
  color: var(--re-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.re-hook-solution {
  background: var(--re-pale-surface);
  border-left: 3px solid var(--re-action-blue);
  padding: 0.85rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: var(--re-deep-navy);
  font-weight: 600;
}

.re-bridge-statement {
  background: var(--re-pale-blue);
  border: 1px solid rgba(36, 107, 254, 0.25);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-top: 3.5rem;
  text-align: center;
}

.re-bridge-statement p {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--re-deep-navy);
  margin: 0;
}

/* Connected Growth System (6 Pillars) */
.re-system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.re-system-card {
  background: #ffffff;
  border: 1px solid var(--re-borders);
  border-radius: 16px;
  padding: 2.25rem;
  transition: all 0.25s ease;
}

.re-system-card:hover {
  border-color: var(--re-action-blue);
  box-shadow: var(--re-shadow-card);
}

.re-system-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--re-pale-blue);
  color: var(--re-action-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.re-system-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.re-system-desc {
  font-size: 0.92rem;
  color: var(--re-muted);
  line-height: 1.6;
}

/* Journey Section */
.re-journey-container {
  background: var(--re-pale-surface);
  border: 1px solid var(--re-borders);
  border-radius: 20px;
  padding: 3rem;
}

.re-journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.re-pipeline-mockup {
  background: #ffffff;
  border: 1px solid var(--re-borders);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--re-shadow-card);
}

.re-pipeline-stage-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.re-pipeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--re-pale-surface);
  border-radius: 8px;
  font-size: 0.88rem;
}

.re-pipeline-disclaimer {
  font-size: 0.76rem;
  color: var(--re-muted);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

/* Services Grid */
.re-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.re-service-box {
  background: #ffffff;
  border: 1px solid var(--re-borders);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.2s ease;
}

.re-service-box:hover {
  border-color: var(--re-action-blue);
  transform: translateY(-4px);
  box-shadow: var(--re-shadow-subtle);
}

.re-service-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.re-service-desc {
  font-size: 0.86rem;
  color: var(--re-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Multi-Step Lead Qualification Form ("Build My Growth Plan")
   ========================================================================== */

.re-form-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
  border-top: 1px solid var(--re-borders);
  border-bottom: 1px solid var(--re-borders);
}

.re-form-card {
  background: #ffffff;
  border: 1px solid var(--re-borders);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--re-shadow-card);
  position: relative;
}

.re-progress-wrapper {
  margin-bottom: 2.25rem;
}

.re-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.re-step-indicator {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--re-action-blue);
}

.re-step-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--re-deep-navy);
}

.re-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: var(--re-pale-blue);
  border-radius: 9999px;
  overflow: hidden;
}

.re-progress-bar-fill {
  height: 100%;
  width: 33.33%;
  background: var(--re-action-blue);
  border-radius: 9999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form Steps Visibility */
.re-form-step {
  display: none;
}

.re-form-step.active {
  display: block;
  animation: reFadeSlide 0.3s ease-out;
}

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

.re-step-header {
  margin-bottom: 1.75rem;
}

.re-step-title {
  font-size: 1.45rem;
  color: var(--re-deep-navy);
  margin-bottom: 0.35rem;
}

.re-step-sub {
  font-size: 0.92rem;
  color: var(--re-muted);
}

/* Form Fields */
.re-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.re-col-full {
  grid-column: 1 / -1;
}

.re-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.re-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--re-deep-navy);
}

.re-label .req {
  color: #DC2626;
}

.re-input,
.re-select,
.re-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid var(--re-borders);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--re-body-ink);
  transition: all 0.15s ease;
}

.re-input:focus,
.re-select:focus,
.re-textarea:focus {
  outline: none;
  border-color: var(--re-action-blue);
  box-shadow: 0 0 0 3px rgba(36, 107, 254, 0.15);
}

.re-input.error,
.re-select.error,
.re-textarea.error {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.re-error-msg {
  font-size: 0.78rem;
  color: #DC2626;
  display: none;
  margin-top: 0.2rem;
}

.re-input.error + .re-error-msg,
.re-select.error + .re-error-msg,
.re-textarea.error + .re-error-msg {
  display: block;
}

.re-textarea {
  resize: vertical;
  min-height: 95px;
}

/* Challenge Checkbox Chips (Step 3) */
.re-challenge-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.re-chip-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--re-pale-surface);
  border: 1px solid var(--re-borders);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--re-body-ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.re-chip-label:hover {
  background: #ffffff;
  border-color: var(--re-action-blue);
}

.re-chip-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--re-action-blue);
}

.re-chip-label.selected {
  background: var(--re-pale-blue);
  border-color: var(--re-action-blue);
  color: var(--re-deep-navy);
  font-weight: 600;
}

/* Form Nav Controls */
.re-form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--re-borders);
}

/* Status / Alert Messages */
.re-status-box {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  display: none;
}

.re-status-box.error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.re-status-box.success {
  display: block;
  background: var(--re-positive-bg);
  border: 1px solid #A7F3D0;
  color: var(--re-positive);
}

/* FAQs Accordion */
.re-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.re-faq-item {
  background: #ffffff;
  border: 1px solid var(--re-borders);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.re-faq-item:hover {
  border-color: rgba(36, 107, 254, 0.4);
}

.re-faq-item.active {
  border-color: var(--re-action-blue);
  box-shadow: var(--re-shadow-subtle);
}

.re-faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--re-deep-navy);
  cursor: pointer;
}

.re-faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--re-pale-blue);
  color: var(--re-action-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.re-faq-item.active .re-faq-icon {
  transform: rotate(45deg);
  background: var(--re-action-blue);
  color: #ffffff;
}

.re-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
}

.re-faq-item.active .re-faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 400px;
}

.re-faq-answer p {
  color: var(--re-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Final CTA Section */
.re-final-cta {
  background: var(--re-deep-navy);
  color: #ffffff;
  padding: 5.5rem 0;
  text-align: center;
}

.re-final-cta h2 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.re-final-cta p {
  color: #C3D0E8;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

/* Footer */
.re-footer {
  background: #0B1E40;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 2rem;
  color: #A0B2D4;
}

.re-footer a {
  color: #C3D0E8;
  text-decoration: none;
}

.re-footer a:hover {
  color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .re-hero-grid,
  .re-journey-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .re-hooks-grid,
  .re-system-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .re-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .re-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .re-hero {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }
  .re-hero-support-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .re-hooks-grid,
  .re-system-grid,
  .re-services-grid {
    grid-template-columns: 1fr;
  }
  .re-form-card {
    padding: 1.75rem 1.25rem;
  }
  .re-form-grid {
    grid-template-columns: 1fr;
  }
  .re-challenge-chips {
    grid-template-columns: 1fr;
  }
}
