:root {
  --color-primary: #2d6a4f;
  --color-primary-dark: #1b4332;
  --color-primary-light: #40916c;
  --color-accent: #52b788;
  --color-bg: #f0f4f0;
  --color-white: #ffffff;
  --color-text: #1a1a2e;
  --color-text-light: #555;
  --color-border: #d4ddd4;
  --color-error: #d32f2f;
  --color-error-bg: #fdecea;
  --color-success: #2e7d32;
  --color-success-bg: #e8f5e9;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header */
.header {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.header-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.header-title small {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.85;
  display: block;
}

.lang-btn {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.25);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 3rem 1.5rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero h2 {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.hero .location {
  font-size: 1rem;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Main container */
.container {
  max-width: 640px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Wizard step indicator */
.step-indicator {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.3s;
}

.step-dot.active {
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.2);
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Wizard options */
.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wizard-option {
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-white);
}

.wizard-option:hover {
  border-color: var(--color-primary);
  background: rgba(45, 106, 79, 0.03);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.wizard-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(45, 106, 79, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.wizard-option-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.wizard-option-text p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Form */
.form-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.form-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.form-row .form-group.small {
  flex: 0 0 100px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

label .required {
  color: var(--color-error);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--color-white);
}

input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

input.error {
  border-color: var(--color-error);
}

.error-text {
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 0.25rem;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.5rem 0 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  margin-bottom: 0;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.checkbox-group a:hover {
  color: var(--color-primary-dark);
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  flex: 1;
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg);
}

/* Status messages */
.status-card {
  text-align: center;
  padding: 3rem 2rem;
}

.status-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.status-icon.success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.status-icon.error-icon {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.status-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.status-card p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

/* Legal modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}

.modal-content {
  background: var(--color-white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.modal-content h3 {
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
}

.legal-item {
  margin-bottom: 1rem;
}

.legal-item strong {
  color: var(--color-primary-dark);
  font-size: 0.9rem;
}

.legal-item p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-top: 0.2rem;
}

.modal-close {
  display: block;
  margin: 1rem auto 0;
  padding: 0.6rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.footer a {
  color: var(--color-primary);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .header {
    padding: 0.75rem 1rem;
  }

  .header-title {
    font-size: 0.95rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 1.1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group.small {
    flex: 1;
  }

  .wizard-option {
    padding: 1rem;
  }

  .btn-group {
    flex-direction: column-reverse;
  }
}
