/* ═══════════════════════════════════════════════════
   Seed-X Germination POC Form — style.css
   Matching seed-x.com branding & aesthetics
═══════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --green-primary: #45a049;
  --green-dark: #2e7d32;
  --green-light: #66bb6a;
  --green-glow: rgba(69, 160, 73, 0.25);
  --green-subtle: rgba(69, 160, 73, 0.08);

  --bg-dark: #0d1117;
  --bg-dark-2: #141b22;
  --bg-card: #ffffff;
  --bg-section: #f4f6f9;

  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-dark: #1a1a2e;
  --text-body: #374151;
  --text-label: #4b5563;

  --border: #e2e8f0;
  --border-focus: var(--green-primary);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 68px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(29, 62, 45, 0.85);
  /* Seed-X Dark Green */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(29, 62, 45, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--green-light);
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(69, 160, 73, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(46, 125, 50, 0.12) 0%, transparent 55%),
    var(--bg-dark);
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69, 160, 73, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 160, 73, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-subtle);
  border: 1px solid rgba(69, 160, 73, 0.35);
  color: var(--green-light);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  gap: 0.6rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem 3rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2.5rem;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   FORM SECTION
═══════════════════════════════════════════════════ */
.form-section {
  background: var(--bg-section);
  padding: 5rem 2rem 8rem;
}

.form-container {
  max-width: 860px;
  margin: 0 auto;
}

/* Progress Bar */
.progress-bar-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--border);
  color: #9ca3af;
  transition: var(--transition);
}

.progress-step.active .step-circle {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: white;
  box-shadow: 0 0 0 6px var(--green-glow);
}

.progress-step.done .step-circle {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: white;
}

.progress-step span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  transition: var(--transition);
}

.progress-step.active span,
.progress-step.done span {
  color: var(--green-dark);
}

.progress-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 0.75rem;
  margin-bottom: 1.4rem;
  border-radius: 2px;
  transition: var(--transition);
}

.progress-connector.done {
  background: var(--green-primary);
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Important: allow tooltips to overflow containers */
.form-step,
.form-container,
.form-section {
  overflow: visible !important;
}

.step-header {
  margin-bottom: 2rem;
}

.step-header h2 {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.step-header p {
  color: var(--text-label);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ── Field Groups ── */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-group--full {
  grid-column: 1 / -1;
  margin-bottom: 1.25rem;
}

label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.req {
  color: #e53935;
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 18px;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px var(--green-glow);
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

.field-error {
  font-size: 0.78rem;
  color: #e53935;
  font-weight: 500;
  min-height: 1.1em;
  display: block;
}

/* ── Radio Group ── */
.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.4rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.radio-label input[type="radio"]:checked+.radio-custom {
  border-color: var(--green-primary);
  background: var(--green-primary);
  box-shadow: inset 0 0 0 3px white;
}

/* ═══════════════════════════════════════════════════
   LOT CARDS
═══════════════════════════════════════════════════ */
.lot-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  animation: slideIn 0.3s ease;
}

.lot-card:hover {
  border-color: rgba(69, 160, 73, 0.3);
  box-shadow: var(--shadow-md);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lot-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.lot-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lot-number-badge {
  background: var(--green-primary);
  color: white;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

.lot-title h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.btn-remove-lot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e53935;
  background: rgba(229, 57, 53, 0.08);
  border: 1px solid rgba(229, 57, 53, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-remove-lot:hover {
  background: rgba(229, 57, 53, 0.15);
  border-color: rgba(229, 57, 53, 0.4);
}

/* ── Compact Grid for Batch Fields ── */
.lot-compact-grid {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

/* Specific column spans for a balanced 'on-liner' look (24 cols total per row) */
/* --- ROW 1 (5 items) - Total 24 span --- */
.lot-compact-grid> :nth-child(1) { grid-column: span 5; } /* Species */
.lot-compact-grid> :nth-child(2) { grid-column: span 4; } /* Type */
.lot-compact-grid> :nth-child(3) { grid-column: span 5; } /* Variety */
.lot-compact-grid> :nth-child(4) { grid-column: span 5; } /* Lot # */
.lot-compact-grid> :nth-child(5) { grid-column: span 5; } /* Goal */

/* --- ROW 2 (3 quantity fields) --- */
.lot-compact-grid> :nth-child(6) { grid-column: span 6; } /* amountSeeds */
.lot-compact-grid> :nth-child(7) { grid-column: span 6; } /* amountWeight */
.lot-compact-grid> :nth-child(8) { grid-column: span 6; } /* tsw */

/* --- ROW 3: Initial Lot Performance (9th child; full width via .perf-fieldset) --- */
.perf-fieldset {
  grid-column: span 24;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  background: rgba(255, 255, 255, 0.4);
}

.perf-fieldset legend {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0 0.5rem;
  color: var(--text-label);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.perf-inner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  width: 100%;
}

.perf-fieldset .field-help {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--text-label);
  opacity: 0.92;
}

.perf-fieldset .field-group label {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* Adjust labels and inputs in compact grid */
.lot-compact-grid .field-group {
  gap: 0.1rem;
}

.lot-compact-grid label {
  font-size: 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.lot-compact-grid input,
.lot-compact-grid select {
  padding: 0.4rem 0.5rem;
  font-size: 0.78rem;
}

/* ── Tooltips ── */
.field-label-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--green-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  cursor: help;
  position: relative;
  margin-left: 0.25rem;
  top: -1px;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.95);
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
  /* Ensure it's above everything */
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  white-space: pre-line;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: none;
  /* Keep original case */
  letter-spacing: normal;
}

.info-icon:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Force everything to allow the tooltip to pop out */
.lot-card,
.lot-compact-grid,
.lot-grid,
.field-group,
.field-label-container,
.form-step,
.form-container {
  overflow: visible !important;
  z-index: auto;
  /* don't create new stacking contexts if possible */
}

/* Ensure lot-card-header doesn't hide tooltip either */
.lot-card-header {
  overflow: visible !important;
}

/* ── Collapsible Section ── */
.collapsible-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-label);
  transition: var(--transition);
  margin: 1.5rem 0 0;
}

.collapsible-trigger:hover {
  background: white;
  border-color: var(--green-primary);
  color: var(--green-primary);
  box-shadow: var(--shadow-sm);
}

.collapsible-trigger svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  order: 2;
}

.collapsible-trigger.active svg {
  transform: rotate(180deg);
}

.collapsible-trigger span {
  order: 1;
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.collapsible-content.active {
  max-height: 2000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.collapsible-inner {
  padding-top: 1rem;
}

/* Ensure compact grid doesn't break in collapsible if needed */
.collapsible-inner .lot-grid {
  margin-top: 0;
}

/* Standard lot grid for the rest */
.lot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.1rem;
  margin: 7px 0;
}

@media (max-width: 1100px) {
  .lot-compact-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .lot-compact-grid>* {
    grid-column: span 2 !important;
  }

  .lot-compact-grid> :nth-child(2) {
    grid-column: span 4 !important;
  }

  .lot-compact-grid> :nth-child(5) {
    grid-column: span 4 !important;
  }
}

@media (max-width: 700px) {
  .lot-compact-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .lot-compact-grid>* {
    grid-column: span 2 !important;
  }

  .lot-compact-grid> :nth-child(2) {
    grid-column: span 3 !important;
  }
}

.lot-grid .field-group--full {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

/* Add Lot Button */
.btn-add-lot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 2px dashed rgba(69, 160, 73, 0.4);
  border-radius: var(--radius-md);
  color: var(--green-primary);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2rem;
}

.btn-add-lot:hover {
  background: var(--green-subtle);
  border-color: var(--green-primary);
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--green-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(69, 160, 73, 0.35);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 24px rgba(69, 160, 73, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-section);
  border-color: #cbd5e1;
}

.btn-submit {
  background: var(--green-dark);
  color: white;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.4);
}

.btn-submit:hover {
  background: var(--green-primary);
  box-shadow: 0 6px 28px rgba(46, 125, 50, 0.5);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.step-actions--end {
  justify-content: flex-end;
}

/* ═══════════════════════════════════════════════════
   REVIEW PANEL
═══════════════════════════════════════════════════ */
.review-panel {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.review-section-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.review-section-title--spaced {
  margin-top: 1rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.review-field label {
  font-size: 0.7rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.review-field p {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-top: 0.1rem;
}

.review-lot {
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
}

.review-lot-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 0.6rem;
}

.review-lot-remarks {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* ── CAPTCHA ── */
.captcha-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.captcha-wrap > p {
  font-size: 0.75rem;
  color: #6b7280;
}

/* ═══════════════════════════════════════════════════
   SUCCESS & ERROR
═══════════════════════════════════════════════════ */
.success-panel,
.upload-error-panel {
  text-align: center;
  padding: 4rem 2rem;
}

.success-icon,
.error-icon {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon {
  background: rgba(69, 160, 73, 0.12);
  border: 2px solid rgba(69, 160, 73, 0.3);
}

.error-icon {
  background: rgba(229, 57, 53, 0.1);
  border: 2px solid rgba(229, 57, 53, 0.25);
}

.success-panel h2,
.upload-error-panel h3 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.success-panel p,
.upload-error-panel p {
  color: var(--text-label);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 0.5rem;
}

.submission-ref {
  color: var(--green-dark) !important;
  font-weight: 600 !important;
}

.success-panel .btn-primary {
  margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════════
   SPINNER OVERLAY
═══════════════════════════════════════════════════ */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.spinner-overlay[hidden] {
  display: none;
}

.spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(69, 160, 73, 0.2);
  border-top-color: var(--green-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner-overlay p {
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--green-primary);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 1.25rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: var(--green-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .lot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .stat-item {
    padding: 0;
  }

  .nav-links {
    display: none;
  }

  .step-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .step-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .lot-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .progress-bar-wrap {
    padding: 0;
    gap: 0;
  }

  .progress-step span {
    font-size: 0.66rem;
  }

  .step-circle {
    width: 36px;
    height: 36px;
  }
}