/* Psihic — simple, shadcn-inspired UI (no build step)
   Soft pastels, rounded corners, calm structure.
*/

:root{
  --bg: #f7f7fb;
  --bg2:#fbfbfe;
  --card: rgba(255,255,255,.82);
  --card-solid:#ffffff;
  --border: rgba(15,23,42,.12);
  --border-strong: rgba(15,23,42,.18);
  --text:#0f172a;         /* slate-900 */
  --muted:#475569;        /* slate-600 */
  --muted2:#64748b;       /* slate-500 */
  --shadow: 0 18px 55px rgba(15,23,42,.10);
  --shadow-sm: 0 10px 30px rgba(15,23,42,.08);
  --radius: 18px;
  --radius-sm: 14px;
  --ring: 0 0 0 4px rgba(148,163,184,.25);

  --a1:#dbeafe; /* sky */
  --a2:#ede9fe; /* violet */
  --a3:#dcfce7; /* emerald */
  --a4:#ffe4e6; /* rose */
}

*{box-sizing:border-box}
html{color-scheme:light}
body{
  margin:0;
  color:var(--text);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1100px 700px at 10% -10%, var(--a1), transparent 60%),
    radial-gradient(900px 700px at 90% 0%, var(--a2), transparent 55%),
    radial-gradient(900px 650px at 35% 110%, var(--a3), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width: 1100px; margin:0 auto; padding: 0 20px}

.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,251,.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar{display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 14px 0}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:-.02em}
.brand img{width:28px; height:28px}

.nav{display:none; gap:10px; color: var(--muted)}
.nav a{padding:10px 12px; border-radius: 999px; text-decoration:none}
.nav a:hover{background: rgba(15,23,42,.05)}

.actions{display:flex; align-items:center; gap:10px}

.btn{
  appearance:none; border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex; align-items:center; gap:8px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow: var(--shadow-sm); text-decoration:none; border-color: var(--border-strong)}
.btn:focus{outline:none; box-shadow: var(--ring)}
.btn:disabled{opacity:.45; cursor:not-allowed; transform:none; box-shadow:none}

.btn-primary{
  background: linear-gradient(135deg, var(--a1), var(--a2) 55%, var(--a3));
}

.page{padding: 26px 0 70px}

.kicker{font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .02em}
.h1{margin:10px 0 0; font-size: 42px; line-height: 1.08; letter-spacing: -0.03em}
.lead{margin:14px 0 0; font-size: 18px; color: var(--muted); max-width: 70ch}

.grid{display:grid; gap:16px}
@media (min-width: 860px){
  .nav{display:flex}
  .h1{font-size: 56px}
  .grid-5{grid-template-columns: repeat(5, minmax(0,1fr))}
  .span-3{grid-column: span 3}
  .span-2{grid-column: span 2}
  .grid-3{grid-template-columns: repeat(3, minmax(0,1fr))}
  .grid-2{grid-template-columns: repeat(2, minmax(0,1fr))}
}

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-inner{padding:18px}

.card-subtle{background: rgba(255,255,255,.65); box-shadow: none}

.card-head{display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:12px}

.title{font-size: 14px; font-weight: 900; letter-spacing:-.01em}
.muted{color: var(--muted)}
.muted2{color: var(--muted2)}

.pills{display:flex; flex-wrap:wrap; gap:10px; margin-top: 12px}

.pill{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.92));
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.pill:hover{transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: var(--border-strong)}

.progress{height: 10px; border-radius: 999px; background: rgba(15,23,42,.10); overflow:hidden; margin-top: 10px}
.progress > div{height:100%; border-radius:999px; background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3)); transition: width .2s ease}

.badge{
  width: 44px; height: 44px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: linear-gradient(135deg, var(--a1), var(--a3));
  display:grid; place-items:center;
  font-weight: 900;
}

.section{padding-top: 34px}
.section h2{margin:0; font-size: 22px; letter-spacing:-.02em}
.section p{margin:10px 0 0; color: var(--muted)}

.feature{
  background: rgba(255,255,255,.72);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.feature h3{margin:12px 0 0; font-size: 16px; letter-spacing:-.01em}
.feature p{margin: 6px 0 0; font-size: 14px}

.steps{background: rgba(255,255,255,.72); border:1px solid var(--border); border-radius: var(--radius); padding: 18px}
.step{display:flex; gap:12px; padding: 14px 0; border-top: 1px solid var(--border)}
.step:first-child{border-top:0; padding-top:0}
.step:last-child{padding-bottom:0}
.step .n{width: 36px; height: 36px; border-radius: 14px; border:1px solid var(--border); background: linear-gradient(135deg, var(--a2), rgba(255,255,255,.6)); display:grid; place-items:center; font-weight:900}
.step .t{font-weight: 900}
.step .d{font-size: 14px; color: var(--muted)}

.quote{background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(219,234,254,.35)); border:1px solid var(--border); border-radius: var(--radius); padding: 18px}

.article{
  background: rgba(255,255,255,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.article h1{margin:0; font-size: 34px; letter-spacing:-.03em}
.article p{margin: 12px 0 0; color: var(--text)}
.article .note{margin-top: 18px; font-size: 12px; color: var(--muted2)}

.footer{
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  font-size: 14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content: space-between;
}

/* Lists */
.list-card{
  background: rgba(255,255,255,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.list-card:hover{transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--border-strong)}

.avatar{width:56px; height:56px; border-radius: 18px; border:1px solid var(--border); background:#fff; object-fit:cover}
.avatar-lg{width:84px; height:84px; border-radius: 26px}

.chip{
  display:inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255,255,255,.6);
}

.availability{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  color: var(--text);
}

.review{
  background: rgba(255,255,255,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.review-top{display:flex; align-items:center; justify-content:space-between; gap:10px}
.review-name{font-weight:900; font-size:14px; color: var(--text)}
.stars{white-space:nowrap}
.star{font-size: 14px; color: rgba(15,23,42,.18)}
.star-on{color: #f59e0b}
.review-text{margin-top:10px; font-size:14px; color: var(--muted)}

/* Booking calendar */
.cal-wrap{margin-top:12px}
.cal-days{display:flex; gap:10px; overflow:auto; padding: 4px 2px}
.cal-day{
  min-width: 120px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  border-radius: 16px;
  padding: 10px 12px;
  text-align:left;
  cursor:pointer;
}
.cal-day:hover{border-color: var(--border-strong)}
.cal-day--active{box-shadow: var(--ring); border-color: rgba(15,23,42,.24)}
.cal-day-top{font-weight: 900; font-size: 13px; color: var(--text)}
.cal-day-sub{margin-top:4px; font-size: 12px; color: var(--muted2)}

.cal-selected{margin-top:10px; font-size: 13px; color: var(--muted)}

.cal-slots{display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:10px; margin-top:12px}
@media (min-width: 860px){.cal-slots{grid-template-columns: repeat(4, minmax(0, 1fr));}}

.cal-slot{
  border:1px solid var(--border);
  background: rgba(255,255,255,.85);
  border-radius: 14px;
  padding: 10px 10px;
  font-weight: 800;
  font-size: 13px;
  cursor:pointer;
}
.cal-slot:hover{border-color: var(--border-strong)}
.cal-slot--active{background: linear-gradient(135deg, var(--a1), var(--a2) 55%, var(--a3)); border-color: rgba(15,23,42,.16)}
.cal-slot--booked{opacity:.55; cursor:not-allowed}

.dot{display:inline-block; width:10px; height:10px; border-radius: 999px}
.dot-green{background:#22c55e}
.dot-yellow{background:#f59e0b}
.dot-red{background:#ef4444}

/* Modal */
.modal{position:fixed; inset:0; display:none; z-index:1000}
.modal[data-open="true"]{display:block}
.modal-backdrop{position:absolute; inset:0; background: rgba(2,6,23,.55); backdrop-filter: blur(8px)}
.modal-panel{
  position:relative;
  margin: 10vh auto 0;
  width: min(560px, calc(100vw - 32px));
  border-radius: calc(var(--radius) + 6px);
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.88);
  box-shadow: 0 30px 90px rgba(2,6,23,.35);
  overflow:hidden;
}
.modal-top{
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, rgba(219,234,254,.85), rgba(237,233,254,.75) 55%, rgba(220,252,231,.75));
  border-bottom: 1px solid var(--border);
}
.modal-title{font-weight: 900; letter-spacing:-.02em; font-size: 16px}
.modal-sub{margin-top:6px; color: var(--muted); font-size:14px}
.modal-body{padding: 18px}
.modal-close{
  position:absolute; top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.7);
  cursor:pointer;
}
.modal-close:hover{border-color: rgba(15,23,42,.22)}

.field{display:flex; flex-direction:column; gap:6px; margin-top: 12px}
.label{font-size: 13px; font-weight: 800; color: var(--muted)}
.input{
  border:1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.9);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 15px;
}
.input:focus{outline:none; box-shadow: var(--ring); border-color: rgba(15,23,42,.22)}

.modal-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px}

/* Steps */
.modal[data-step="thanks"] [data-step="form"]{display:none}
.modal:not([data-step="thanks"]) [data-step="thanks"]{display:none}
