:root {
  --hue-brand: 145;
  --primary-50: oklch(97% 0.020 var(--hue-brand));
  --primary-100: oklch(94% 0.050 var(--hue-brand));
  --primary-500: oklch(66% 0.175 var(--hue-brand));
  --primary-600: oklch(58% 0.165 148);
  --primary-700: oklch(48% 0.140 148);
  --primary-800: oklch(40% 0.110 150);
  --accent-500: oklch(76% 0.160 70);
  --accent-600: oklch(66% 0.155 60);
  --gray-50: oklch(98% 0.003 var(--hue-brand));
  --gray-100: oklch(96% 0.004 var(--hue-brand));
  --gray-200: oklch(90% 0.006 var(--hue-brand));
  --gray-300: oklch(84% 0.008 var(--hue-brand));
  --gray-400: oklch(66% 0.010 var(--hue-brand));
  --gray-500: oklch(49% 0.010 var(--hue-brand));
  --gray-600: oklch(37% 0.010 var(--hue-brand));
  --gray-800: oklch(21% 0.007 var(--hue-brand));
  --gray-900: oklch(15% 0.005 var(--hue-brand));
  --error: oklch(63% 0.220 25);
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--primary-50), #fff 320px);
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--gray-900); line-height: 1.2; }
a { color: var(--primary-700); }

.wrap { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }

.brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { width: 142px; height: 20px; object-fit: contain; display: block; }
.brand b { font-family: var(--font-display); font-size: 1.25rem; color: var(--gray-900); }
.brand span { color: var(--gray-500); font-size: .85rem; display: block; }

.hero { text-align: center; margin-bottom: 2rem; }
.hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: .5rem; }
.hero .tag {
  display: inline-block; background: var(--accent-500); color: var(--gray-900);
  font-weight: 700; font-size: .8rem; padding: .25rem .75rem; border-radius: 999px; margin-bottom: 1rem;
}
.hero p { color: var(--gray-600); max-width: 520px; margin: 0 auto; }

.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 1.75rem; margin-bottom: 1.25rem;
}

/* Progress */
.progress { margin-bottom: 1.5rem; }
.progress-bar { height: 8px; background: var(--gray-200); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary-500), var(--primary-700)); transition: width .35s var(--ease); }
.progress-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--gray-500); margin-top: .5rem; }

.step { display: none; animation: fade .35s var(--ease); }
.step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.step .lead { color: var(--gray-600); margin-bottom: 1.25rem; }

label { display: block; font-weight: 600; color: var(--gray-800); margin: 1rem 0 .35rem; font-size: .95rem; }
label .opt { font-weight: 400; color: var(--gray-400); font-size: .85rem; }
.hint { font-size: .82rem; color: var(--gray-500); margin-top: .3rem; }

input[type=text], input[type=email], input[type=tel], input[type=url], textarea, select {
  width: 100%; padding: .7rem .85rem; border: 1px solid var(--gray-300); border-radius: var(--radius-md);
  font-family: inherit; font-size: 1rem; color: var(--gray-900); background: #fff; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px var(--primary-100);
}
textarea { resize: vertical; min-height: 90px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
@media (max-width: 540px) { .grid2 { grid-template-columns: 1fr; } }

/* Choice chips (checkbox/radio cards) */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin-top: .5rem; }
.choice {
  position: relative; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  padding: .7rem .8rem; cursor: pointer; transition: all .15s var(--ease); background: #fff; font-size: .92rem;
}
.choice:hover { border-color: var(--primary-300); }
.choice input { position: absolute; opacity: 0; }
.choice.checked { border-color: var(--primary-600); background: var(--primary-50); box-shadow: 0 0 0 2px var(--primary-100); }
.choice .ic { margin-right: .35rem; }

/* Buttons */
.actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; }
.btn {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  padding: .8rem 1.6rem; border-radius: var(--radius-md); transition: all .15s var(--ease); display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary { background: var(--primary-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-700); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--gray-100); color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-200); }

.msg { padding: .8rem 1rem; border-radius: var(--radius-md); font-size: .92rem; margin-top: .75rem; }
.msg.ok { background: var(--primary-50); color: var(--primary-800); border: 1px solid var(--primary-100); }
.msg.err { background: oklch(96% 0.03 25); color: var(--error); border: 1px solid oklch(90% 0.05 25); }
.msg.warn { background: oklch(97% 0.04 80); color: oklch(45% 0.12 60); border: 1px solid oklch(90% 0.06 80); }

.domain-row { display: flex; gap: .6rem; }
.domain-row input { flex: 1; }
@media (max-width: 540px) { .domain-row { flex-direction: column; } }

/* Images repeater */
.img-item { border: 1px dashed var(--gray-300); border-radius: var(--radius-md); padding: .9rem; margin-top: .75rem; background: var(--gray-50); }
.img-item .preview { max-height: 80px; border-radius: 6px; margin-bottom: .5rem; display: block; }
.img-item .req-desc { border-color: var(--accent-500); }

/* Exemple paletă culori */
.palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px,1fr)); gap: .5rem; margin: .6rem 0; }
.palette { display: flex; align-items: center; gap: .5rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); padding: .5rem .6rem; cursor: pointer; background: #fff; transition: all .15s var(--ease); }
.palette:hover { border-color: var(--primary-300); }
.palette.checked { border-color: var(--primary-600); box-shadow: 0 0 0 2px var(--primary-100); }
.palette .sw { display: flex; gap: 3px; }
.palette .sw i { width: 16px; height: 16px; border-radius: 4px; display: block; border: 1px solid rgba(0,0,0,.08); }
.palette span { font-size: .85rem; color: var(--gray-700); }

/* Servicii repeater */
.svc-item { border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: .9rem; margin-bottom: .7rem; background: var(--gray-50); position: relative; }
.svc-item input { margin-bottom: .5rem; }
.svc-item .svc-rm { position: absolute; top: .6rem; right: .8rem; color: var(--error); font-size: .82rem; text-decoration: none; }
.svc-item .svc-rm:hover { text-decoration: underline; }

.honey { position: absolute; left: -9999px; }

.collapse { display: none; }
.collapse.show { display: block; }

.success-box { text-align: center; padding: 1rem; }
.success-box .check { font-size: 3rem; }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

footer.foot { text-align: center; color: var(--gray-500); font-size: .85rem; margin-top: 2rem; }
footer.foot a { color: var(--primary-700); font-weight: 600; }
