:root {
  --gold: #c9a227;
  --gold-dark: #a8841a;
  --green: #0d5c4b;
  --green-light: #147a65;
  --bg: #f7f5f0;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  background: linear-gradient(135deg, var(--green) 0%, #0a3d32 100%);
  color: #fff;
  padding: 1rem 0;
  box-shadow: var(--shadow);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand { font-size: 1.15rem; font-weight: 700; }
.brand small { display: block; font-size: .75rem; opacity: .85; font-weight: 400; }
.nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.nav a { color: #fff; opacity: .9; font-size: .9rem; }
.nav a:hover { opacity: 1; text-decoration: none; }

.lang-toggle button {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: .35rem .75rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: .8rem;
}
.lang-toggle button.active { background: var(--gold); border-color: var(--gold); }

.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.hero h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); color: var(--green); margin-bottom: .5rem; }
.hero p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.grid { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.pkg-card {
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  border: 2px solid transparent;
}
.pkg-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.pkg-card.selected { border-color: var(--gold); }
.pkg-card .price { color: var(--green); font-weight: 700; font-size: 1.1rem; }
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-open { background: #d1fae5; color: #065f46; }
.badge-close { background: #fee2e2; color: #991b1b; }
.badge-full { background: #fef3c7; color: #92400e; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.25rem;
  border-radius: 8px;
  border: none;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary { background: var(--gold); color: #1a1a1a; }
.btn-primary:hover { background: var(--gold-dark); color: #fff; }
.btn-secondary { background: var(--green); color: #fff; }
.btn-secondary:hover { background: var(--green-light); }
.btn-outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.wizard-steps {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.wizard-step {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: .5rem;
  border-radius: 8px;
  background: #eee;
  font-size: .75rem;
  font-weight: 600;
}
.wizard-step.active { background: var(--green); color: #fff; }
.wizard-step.done { background: var(--gold); color: #1a1a1a; }

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-info { background: #dbeafe; color: #1e40af; }

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  background: var(--green);
  color: rgba(255,255,255,.9);
  text-align: center;
  font-size: .85rem;
}

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .65rem .75rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: #f9fafb; font-weight: 600; }
tr:hover td { background: #fafafa; }

.team-layout { display: grid; gap: 1.5rem; padding: 1.5rem 0 3rem; }
@media (min-width: 900px) {
  .team-layout { grid-template-columns: 220px 1fr; }
}
.sidebar { background: var(--card); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); height: fit-content; }
.sidebar a { display: block; padding: .5rem .75rem; border-radius: 6px; color: var(--text); }
.sidebar a:hover, .sidebar a.active { background: #f0fdf4; color: var(--green); text-decoration: none; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.stat-card { text-align: center; padding: 1rem; }
.stat-card .num { font-size: 1.75rem; font-weight: 700; color: var(--green); }
.stat-card .lbl { font-size: .8rem; color: var(--muted); }

.hidden { display: none !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--muted); font-size: .9rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

.login-box { max-width: 400px; margin: 3rem auto; }

.timeline { border-left: 3px solid var(--gold); padding-left: 1rem; }
.timeline-item { margin-bottom: 1rem; }
.timeline-item .date { font-size: .8rem; color: var(--muted); }
