@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

/* ── RESET ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #FAFAF9;
  color: #1C1420;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .crea-nav { top: 32px; }
@media (max-width:782px) { body.admin-bar .crea-nav { top:46px; } }

/* ── NAV ── */
.crea-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,249,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ECEAF0;
  height: 52px;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.crea-nav-brand { display:flex; align-items:center; gap:8px; text-decoration:none; }
.crea-nav-logo {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 20px; font-weight: 400; color: #9B6BAD; line-height: 1;
}
.crea-nav-sep { width:1px; height:14px; background:#DDDAE6; }
.crea-nav-tag { font-size:12px; color:#9488A6; font-weight:500; }
.crea-nav-wa {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1FAB57; color: white; text-decoration: none;
  padding: 7px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; transition: background .15s;
}
.crea-nav-wa:hover { background: #198F49; color: white; }
@media (max-width:480px) { .crea-nav-sep, .crea-nav-tag { display:none; } }

/* ── PAGE ── */
.crea-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

/* ── HERO ── */
.crea-hero {
  padding: 2.5rem 4px 2rem;
  text-align: center;
}
.crea-hero-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #9488A6; margin-bottom: .75rem;
}
.crea-hero-dot { width:6px; height:6px; border-radius:50%; background:#1FAB57; }
.crea-hero-h1 {
  font-family: 'Lora', serif; font-weight: 400;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.1; letter-spacing: -.02em;
  color: #1C1420; margin-bottom: .5rem;
}
.crea-hero-h1 i { font-style: italic; color: #9B6BAD; }
.crea-hero-sub {
  font-size: 15px; color: #9488A6; line-height: 1.6;
  max-width: 320px; margin: 0 auto;
}

/* ── STEP WIDGET ── */
.crea-widget {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #ECEAF0;
  box-shadow: 0 2px 20px rgba(28,20,32,.06), 0 1px 4px rgba(28,20,32,.04);
  overflow: hidden;
}

/* ── PROGRESS ── */
.crea-prog {
  height: 3px;
  background: #ECEAF0;
  position: relative;
  overflow: hidden;
}
.crea-prog-fill {
  height: 100%;
  background: #9B6BAD;
  transition: width .4s cubic-bezier(.4,0,.2,1);
  border-radius: 0 99px 99px 0;
}

/* ── STEP HEADER ── */
.crea-step-head {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid #F0EDF5;
}
.crea-step-meta {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #9B6BAD;
  margin-bottom: .4rem;
}
.crea-step-title {
  font-family: 'Lora', serif;
  font-size: 21px; font-weight: 400; color: #1C1420; line-height: 1.2;
}
.crea-step-title i { font-style: italic; color: #9B6BAD; }

/* ── STEP BODY ── */
.crea-step-body { padding: 1.25rem 1.5rem; }

/* ── SERVICE LIST ── */
.crea-svc-list { display: flex; flex-direction: column; gap: 8px; }

.crea-svc {
  display: flex; align-items: center;
  background: #FAFAF9;
  border: 1.5px solid #ECEAF0;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  gap: 14px;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
  text-align: left;
}
.crea-svc:hover {
  border-color: #DDDAE6;
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(28,20,32,.06);
}
.crea-svc.sel {
  border-color: #9B6BAD;
  background: #F8F2FA;
  box-shadow: 0 4px 16px rgba(155,107,173,.1);
}
.crea-svc-left {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #ECEAF0;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.crea-svc-left svg { width: 20px; height: 20px; stroke: #C0B8CC; stroke-width: 1.75; fill: none; transition: stroke .15s; }
.crea-svc.sel .crea-svc-left { background: #9B6BAD; border-color: #9B6BAD; }
.crea-svc.sel .crea-svc-left svg { stroke: white; }
.crea-svc-mid { flex: 1; min-width: 0; }
.crea-svc-name { font-size: 14px; font-weight: 600; color: #1C1420; line-height: 1.2; }
.crea-svc.sel .crea-svc-name { color: #9B6BAD; }
.crea-svc-dur { font-size: 12px; color: #9488A6; margin-top: 3px; }
.crea-svc-right { color: #DDDAE6; flex-shrink: 0; transition: color .15s, transform .15s; }
.crea-svc:hover .crea-svc-right { color: #C0B8CC; }
.crea-svc.sel .crea-svc-right { color: #9B6BAD; transform: translateX(2px); }

/* ── CALENDAR ── */
.crea-cal-nav {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 1rem;
}
.crea-cal-month {
  font-family: 'Lora', serif; font-size: 17px;
  font-weight: 400; color: #1C1420;
}
.crea-cal-btns { display: flex; gap: 4px; }
.crea-cal-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: none; border: 1.5px solid #ECEAF0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #4A3D58; font-size: 14px;
  transition: all .14s; font-family: 'Inter', sans-serif;
}
.crea-cal-btn:hover { border-color: #9B6BAD; color: #9B6BAD; }

.crea-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.crea-dow {
  text-align: center; font-size: 10px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: #C0B8CC; padding: 3px 0 8px;
}
.crea-day {
  aspect-ratio: 1; border-radius: 50%; border: none; background: none;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400;
  color: #4A3D58; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 100%; transition: all .13s; position: relative;
}
.crea-day:hover:not(.past):not(.empty):not(.blocked) {
  background: #F5F2F9; color: #1C1420;
}
.crea-day.today { font-weight: 600; color: #9B6BAD; }
.crea-day.today::after {
  content:''; position:absolute; bottom:2px; left:50%;
  transform:translateX(-50%);
  width:3px; height:3px; border-radius:50%; background:#9B6BAD;
}
.crea-day.sel {
  background: #9B6BAD !important; color: white !important;
  font-weight: 600; box-shadow: 0 2px 8px rgba(155,107,173,.28);
}
.crea-day.sel::after { display: none; }
.crea-day.past, .crea-day.blocked { color: #E0DCE8; cursor: default; }
.crea-day.blocked { text-decoration: line-through; }
.crea-day.empty { cursor: default; }

/* ── DATE LABEL ── */
.crea-date-lbl {
  font-size: 13px; font-weight: 500; color: #4A3D58;
  background: #F5F2F9; border-radius: 8px;
  padding: 8px 12px; margin-bottom: 1rem;
  display: inline-block;
}

/* ── TIME SLOTS ── */
.crea-slots-lbl {
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #9488A6; margin-bottom: .65rem;
}
.crea-slots {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.crea-slot {
  background: #FAFAF9;
  border: 1.5px solid #ECEAF0;
  border-radius: 100px;
  padding: 9px 18px;
  cursor: pointer; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; color: #4A3D58;
  transition: all .14s; white-space: nowrap;
}
.crea-slot:hover { border-color: #DDDAE6; color: #1C1420; background: #FFFFFF; }
.crea-slot.sel {
  background: #1C1420 !important; color: white !important;
  border-color: #1C1420 !important;
}
.crea-slot.busy { opacity: .25; cursor: not-allowed; text-decoration: line-through; }

/* ── NOTE ── */
.crea-note {
  display: flex; gap: 8px; align-items: flex-start;
  background: #FFFBF0; border-radius: 10px;
  padding: 10px 14px; margin-top: 1rem;
  font-size: 12px; color: #7A4A0A; line-height: 1.55;
}
.crea-note svg { flex-shrink: 0; margin-top: 1px; }

/* ── FORM ── */
.crea-field { margin-bottom: 14px; }
.crea-label {
  display: block; font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #9488A6; margin-bottom: 6px;
}
.crea-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #ECEAF0; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: #1C1420; background: #FFFFFF;
  outline: none; transition: border-color .14s, box-shadow .14s;
  -webkit-appearance: none;
}
.crea-input:focus { border-color: #9B6BAD; box-shadow: 0 0 0 3px rgba(155,107,173,.07); }
.crea-input::placeholder { color: #C8C0D4; }

/* ── DIVIDER ── */
.crea-divider { height: 1px; background: #F0EDF5; margin: .25rem 0 1.25rem; }

/* ── SUMMARY ── */
.crea-summary {
  background: #FAFAF9; border: 1px solid #ECEAF0;
  border-radius: 14px; overflow: hidden; margin-bottom: 1.25rem;
}
.crea-sum-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid #F0EDF5; gap: 16px;
}
.crea-sum-row:last-child { border-bottom: none; }
.crea-sum-k { font-size: 11px; font-weight: 600; color: #9488A6; white-space: nowrap; }
.crea-sum-v { font-size: 13px; font-weight: 500; color: #1C1420; text-align: right; }

/* ── STEP FOOTER ── */
.crea-step-foot {
  padding: 0 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: 8px;
}

/* ── BUTTONS ── */
.crea-btn {
  width: 100%; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  border-radius: 14px; padding: 14px 20px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .17s;
}
.crea-btn:disabled { opacity: .28; cursor: not-allowed; transform: none !important; }
.crea-btn--primary { background: #9B6BAD; color: white; }
.crea-btn--primary:not(:disabled):hover { background: #7D508F; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(155,107,173,.2); }
.crea-btn--ghost { background: none; border: 1.5px solid #ECEAF0; color: #9488A6; font-size: 13px; }
.crea-btn--ghost:hover { border-color: #DDDAE6; color: #4A3D58; }
.crea-btn--wa { background: #1FAB57; color: white; font-size: 14px; }
.crea-btn--wa:hover { background: #198F49; transform: translateY(-1px); }
.crea-btn--gcal { background: #FFFFFF; border: 1.5px solid #ECEAF0; color: #4A3D58; font-size: 13px; }
.crea-btn--gcal:hover { border-color: #4285F4; color: #4285F4; }

/* ── SUCCESS ── */
.crea-success { padding: 2.5rem 1.5rem 1rem; text-align: center; }
.crea-success-ring {
  width: 56px; height: 56px; border-radius: 50%;
  background: #EAF4F0; border: 2px solid #4CAF8A;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  animation: ringPop .45s cubic-bezier(.34,1.56,.64,1) both;
}
.crea-success-ring svg { width: 22px; height: 22px; stroke: #186B50; stroke-width: 2.5; fill: none; }
@keyframes ringPop { from { transform:scale(0);opacity:0; } to { transform:scale(1);opacity:1; } }
.crea-success-h { font-family:'Lora',serif; font-size:24px; font-weight:400; color:#1C1420; margin-bottom:.4rem; }
.crea-success-p { font-size:13px; color:#9488A6; line-height:1.65; margin-bottom:1.5rem; }

/* ── ERROR ── */
.crea-err {
  background: #F8F2FA; border: 1px solid #DEC7E0;
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: #9B6BAD; display: none;
}

/* ── TRUST ── */
.crea-trust {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 12px 24px; padding: 1.5rem 0 2rem;
}
.crea-trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #9488A6; font-weight: 500;
}
.crea-trust-dot { width:4px; height:4px; border-radius:50%; background:#C0B8CC; }

/* ── FOOTER ── */
.crea-footer {
  text-align: center; padding: 0 16px 1.5rem;
  font-size: 12px; color: #C0B8CC; line-height: 1.8;
}
.crea-footer a { color: #9B6BAD; text-decoration: none; }

/* ── ANIM ── */
.ca-enter { animation: fadeUp .22s cubic-bezier(.22,1,.36,1) both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

/* ── RESPONSIVE ── */
@media (max-width:420px) {
  .crea-step-head, .crea-step-body, .crea-step-foot { padding-left:1.25rem; padding-right:1.25rem; }
  .crea-step-title { font-size:19px; }
  .crea-hero { padding-top: 1.75rem; }
}
