:root{
  /* Colores del logo (acentos) */
  --accent:#974AB3;   /* morado */
  --accent2:#46DCAC;  /* turquesa */
  --accent3:#26B7EE;  /* celeste (extra) */
  --accent4:#93E5A0;  /* verde suave (extra) */

  /* Tema claro elegante (neutros) */
  --bg:#f7fafc;
  --bg2:#f1f5f9;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:rgba(2,6,23,.10);

  --radius:18px;
  --shadow: 0 18px 50px rgba(2,6,23,.10);
  --shadow2: 0 10px 26px rgba(2,6,23,.07);
  --wrap: 1100px;
}

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

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1100px 560px at 14% 0%, rgba(151,74,179,.08), transparent 62%),
    radial-gradient(900px 520px at 92% 10%, rgba(70,220,172,.08), transparent 58%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.55;
}

a{color:inherit}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 18px}

/* Header */
.site-header{
  position:sticky; top:0; z-index:20;
  background: rgba(247,250,252,.86);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}

.header-grid{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{display:flex; align-items:center; gap:12px}

.logo{
  width:42px; height:42px;
  display:grid; place-items:center;
  border-radius:14px;
  background: #fff;
  border: 1px solid rgba(2,6,23,.10);
  box-shadow: var(--shadow2);
  overflow:hidden;
}

.logo-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
  padding:6px;
  filter: drop-shadow(0 6px 16px rgba(2,6,23,.12));
}

.brand-title{
  font-weight:900;
  letter-spacing:.2px;
}

.brand-subtitle{
  color:var(--muted);
  font-size:14px;
}

.header-actions{display:flex; gap:10px; flex-wrap:wrap}

/* Tipos */
h1{
  font-size:42px;
  line-height:1.1;
  margin:0 0 10px;
  letter-spacing:-.6px;
}

h2{
  margin:0 0 6px;
  font-size:26px;
  letter-spacing:-.2px;
}

.lead{
  color:var(--muted);
  font-size:18px;
  margin:0 0 18px;
}

.muted{color:var(--muted)}
.small{font-size:13px}

/* Hero */
.hero{padding:54px 0 22px}

.hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .95fr;
  gap:18px;
  align-items:start;
}

.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin:14px 0}

.chips{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

.chip{
  border:1px solid var(--line);
  background: rgba(255,255,255,.85);
  padding:8px 10px;
  border-radius:999px;
  color:var(--text);
  font-size:14px;
  box-shadow: var(--shadow2);
}

/* Sections */
.section{padding:44px 0}

.section.alt{
  background: rgba(255,255,255,.55);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px
}

/* Cards */
.card{
  background: var(--panel);
  border:1px solid rgba(2,6,23,.10);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  position:relative;
}

/* Acento sutil: una barrita arriba en cards importantes (queda fino) */
.card::before{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  top:0;
  height:3px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(151,74,179,.35), rgba(70,220,172,.35));
  opacity:.55;
}

.card-title{margin:0 0 12px; font-size:18px}

/* Listas */
.list{margin:0; padding-left:18px}
.list li{margin:8px 0}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  padding:10px 14px;
  border:1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.86);
  text-decoration:none;
  cursor:pointer;
  font-weight:850;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease, border-color .12s ease;
  box-shadow: var(--shadow2);
}

.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.01);
  border-color: rgba(151,74,179,.25);
}

.btn.primary{
  color:#ffffff;
  background: linear-gradient(135deg, rgba(151,74,179,.95), rgba(70,220,172,.90));
  border-color: rgba(2,6,23,.08);
  box-shadow: 0 14px 32px rgba(151,74,179,.18);
}

.btn.primary:hover{
  box-shadow: 0 18px 40px rgba(70,220,172,.18);
}

.btn.ghost{
  background: transparent;
  box-shadow:none;
}

.btn.tiny{
  padding:6px 10px;
  font-size:13px;
}

.full{width:100%}

/* Layout helpers */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}

/* Calendar demo */
.calendar{padding:0; overflow:hidden}
.calendar::before{display:none;} /* al calendario le quitamos la barrita */

.calendar-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(2,6,23,.10);
  background: rgba(2,6,23,.02);
}

.calendar-title{font-weight:900}

.calendar-grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:10px;
  padding:14px;
  border-bottom:1px solid rgba(2,6,23,.10);
}

.dow{
  color:var(--muted);
  font-size:13px;
  text-align:center;
  font-weight:750;
}

.day{
  border-radius:14px;
  border:1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.90);
  height:42px;
  display:grid;
  place-items:center;
  cursor:pointer;
  color:var(--text);
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
  box-shadow: var(--shadow2);
}

.day.muted{
  border:0;
  background:transparent;
  cursor:default;
  box-shadow:none;
}

.day:hover{
  transform:translateY(-1px);
  border-color: rgba(70,220,172,.45);
  background: rgba(70,220,172,.10);
}

.calendar-slots{padding:14px}

.slots-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.slots-title{font-weight:900}

.pill{
  border:1px solid rgba(151,74,179,.22);
  background: rgba(151,74,179,.08);
  color: var(--text);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:850;
}

.slots{display:flex; flex-wrap:wrap; gap:10px; margin:10px 0}

.slot{
  border-radius:999px;
  border:1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.92);
  padding:10px 14px;
  cursor:pointer;
  font-weight:850;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
  box-shadow: var(--shadow2);
}

.slot:hover{
  transform: translateY(-1px);
  border-color: rgba(151,74,179,.28);
  background: rgba(151,74,179,.08);
}

.notice{
  margin-top:10px;
  border:1px dashed rgba(2,6,23,.20);
  border-radius:14px;
  padding:12px;
  color:var(--muted);
  background: rgba(255,255,255,.85);
}

/* Separator */
.sep{
  border:0;
  border-top:1px solid rgba(2,6,23,.10);
  margin:16px 0;
}

/* Footer */
.footer{padding:20px 0 28px}

.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  border-top:1px solid rgba(2,6,23,.10);
  padding-top:16px;
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr}
  h1{font-size:34px}
  .grid-2{grid-template-columns: 1fr}
}
