/* ---------- Calendario estilo Google (página de citas) ---------- */
.gcal-wrap{max-width:1440px;margin:0 auto;padding:22px 20px 0}
.gcal{display:grid;grid-template-columns:268px minmax(0,1fr);gap:0;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);overflow:hidden;min-height:680px}
.gc-side{padding:18px 16px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:20px;background:var(--surface)}
.gc-create{display:inline-flex;align-items:center;gap:12px;align-self:flex-start;padding:14px 22px 14px 18px;border-radius:18px;border:0;background:var(--surface);color:var(--ink);font:700 .95rem var(--font);cursor:pointer;box-shadow:0 1px 3px rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15);transition:.2s}
.gc-create i{color:var(--brand);font-size:1.1rem}
.gc-create:hover{box-shadow:0 2px 6px rgba(60,64,67,.35),0 8px 16px 4px rgba(60,64,67,.18);background:var(--brand-50)}
.gc-mini-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.92rem}
.gc-mini-head span{display:flex;gap:2px}
.gc-ib{width:30px;height:30px;border-radius:50%;border:0;background:transparent;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;transition:.15s}
.gc-ib:hover{background:var(--brand-50);color:var(--brand)}
.gc-ib.lg{width:38px;height:38px;font-size:.95rem}
.gc-mini-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.gc-mini-grid .wd{font-size:.68rem;font-weight:700;color:var(--muted);font-style:normal;padding:4px 0}
.gc-md{width:100%;aspect-ratio:1;border:0;border-radius:50%;background:transparent;color:var(--ink);font:600 .78rem var(--font);cursor:pointer;position:relative}
.gc-md:hover:not(:disabled){background:var(--brand-50)}
.gc-md.out{color:var(--muted);opacity:.6}
.gc-md:disabled{opacity:.3;cursor:default}
.gc-md.today{background:var(--brand);color:#fff}
.gc-md.sel:not(.today){background:var(--brand-100);color:var(--brand)}
.gc-md.has::after{content:"";position:absolute;bottom:3px;left:50%;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--accent)}
.gc-md.today.has::after{background:#fff}
.gc-legend{display:grid;gap:8px;font-size:.82rem;color:var(--muted);font-weight:600}
.gc-legend .lg{display:inline-block;width:14px;height:14px;border-radius:4px;margin-right:8px;vertical-align:-2px;border:1.5px solid var(--brand-200);background:var(--surface)}
.gc-legend .lg.taken{background:repeating-linear-gradient(135deg,var(--line) 0 4px,transparent 4px 8px);border-color:var(--line)}
.gc-legend .lg.mine{background:var(--brand);border-color:var(--brand)}
.gc-upcoming h4{font:700 .8rem var(--font);text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0 0 8px}
.gc-up{display:flex;gap:10px;align-items:center;width:100%;text-align:left;padding:9px 10px;border-radius:12px;border:0;background:transparent;cursor:pointer;color:var(--ink);font:inherit;transition:.15s}
.gc-up:hover{background:var(--brand-50)}
.gc-up .dot{width:10px;height:10px;border-radius:50%;background:var(--brand);flex:0 0 auto}
.gc-up strong{display:block;font-size:.86rem}
.gc-up small{color:var(--muted)}
.gc-empty{font-size:.84rem;color:var(--muted);margin:0}
.gc-main{display:flex;flex-direction:column;min-width:0}
.gc-toolbar{display:flex;align-items:center;gap:6px;padding:14px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.gc-today{padding:9px 18px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:700 .88rem var(--font);cursor:pointer;margin-right:6px}
.gc-today:hover{background:var(--brand-50)}
.gc-title{font:600 1.35rem var(--font-head);margin:0 0 0 10px;flex:1;letter-spacing:-.01em;min-width:160px}
.gc-seg{display:inline-flex;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.gc-seg button{padding:9px 16px;border:0;background:var(--surface);color:var(--ink);font:700 .85rem var(--font);cursor:pointer;border-right:1px solid var(--line)}
.gc-seg button:last-child{border-right:0}
.gc-seg button.on{background:var(--brand-100);color:var(--brand)}
:root.dark .gc-seg button.on{color:#A9B2FF}
.gc-strip{display:none;gap:4px;padding:10px 12px;border-bottom:1px solid var(--line);justify-content:space-between}
.gc-strip button{flex:1;border:0;background:transparent;border-radius:14px;padding:8px 0;color:var(--ink);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;font:inherit}
.gc-strip span{font-size:.7rem;text-transform:uppercase;color:var(--muted);font-weight:700}
.gc-strip b{font:700 1rem var(--font-head);width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.gc-strip button.today b{color:var(--brand)}
.gc-strip button.on b{background:var(--brand);color:#fff}
.gc-strip button:disabled{opacity:.35}
.gc-view{flex:1;overflow:auto;max-height:calc(100vh - 210px);min-height:560px}
.gc-grid{--gut:60px;position:relative}
.gc-grid-head{display:grid;grid-template-columns:var(--gut) repeat(var(--cols),minmax(0,1fr));position:sticky;top:0;z-index:5;background:var(--surface);border-bottom:1px solid var(--line)}
.gc-dayhead{border:0;background:transparent;padding:10px 0 8px;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;color:var(--muted);font:inherit;border-left:1px solid var(--line)}
.gc-dayhead span{font-size:.72rem;text-transform:uppercase;font-weight:700;letter-spacing:.06em}
.gc-dayhead b{font:600 1.5rem var(--font-head);width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--ink);transition:.15s}
.gc-dayhead:hover b{background:var(--brand-50)}
.gc-dayhead.today span{color:var(--brand)}
.gc-dayhead.today b{background:var(--brand);color:#fff}
.gc-corner{border:0}
.gc-grid-body{display:grid;grid-template-columns:var(--gut) repeat(var(--cols),minmax(0,1fr))}
.gc-gutter div{position:relative;text-align:right;padding-right:10px}
.gc-gutter span{position:relative;top:-8px;font-size:.72rem;color:var(--muted);font-weight:600}
.gc-col{position:relative;border-left:1px solid var(--line)}
.gc-col.today{background:color-mix(in srgb,var(--brand-50) 45%,transparent)}
.gc-cell{display:block;position:relative;width:100%;border:0;border-top:1px solid var(--line);background:transparent;padding:0;cursor:pointer;font:inherit;color:inherit;text-align:left}
.gc-cell.free:hover{background:var(--brand-50)}
.gc-cell.past{background:repeating-linear-gradient(135deg,transparent 0 10px,rgba(120,130,170,.07) 10px 11px);cursor:default}
.gc-plus{position:absolute;inset:0;display:none;align-items:center;justify-content:center;gap:6px;font-size:.8rem;font-weight:700;color:var(--brand)}
.gc-cell.free:hover .gc-plus{display:flex}
.gc-ev{position:absolute;inset:3px 4px;border-radius:10px;padding:6px 10px;display:flex;flex-direction:column;justify-content:center;font-size:.8rem;overflow:hidden;line-height:1.25}
.gc-ev small{opacity:.9;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gc-ev.mine{background:var(--brand);color:#fff;box-shadow:0 6px 14px -6px var(--brand);border-left:4px solid var(--accent)}
.gc-ev.taken{background:repeating-linear-gradient(135deg,var(--surface-2) 0 6px,var(--line) 6px 7px);color:var(--muted);border:1px dashed var(--line)}
.gc-now{position:absolute;left:0;right:0;height:2px;background:#E5484D;z-index:3;pointer-events:none}
.gc-now::before{content:"";position:absolute;left:-6px;top:-5px;width:12px;height:12px;border-radius:50%;background:#E5484D}
.gc-month{min-width:640px}
.gc-month-head{display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}
.gc-month-head div{text-align:center;padding:10px 0;font-size:.74rem;text-transform:uppercase;font-weight:700;color:var(--muted);letter-spacing:.06em}
.gc-month-grid{display:grid;grid-template-columns:repeat(7,1fr)}
.gc-mday{min-height:104px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);padding:8px;text-align:left;display:flex;flex-direction:column;gap:5px;align-items:flex-start;cursor:pointer;font:inherit;color:var(--ink);transition:.12s}
.gc-mday:nth-child(7n){border-right:0}
.gc-mday:hover:not(:disabled){background:var(--brand-50)}
.gc-mday b{font:600 .88rem var(--font-head);width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.gc-mday.today b{background:var(--brand);color:#fff}
.gc-mday.out{background:var(--surface-2);color:var(--muted)}
.gc-mday.past{opacity:.45;cursor:default}
.gc-pill{font-size:.7rem;font-weight:700;padding:3px 8px;border-radius:999px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc-pill.mine{background:var(--brand);color:#fff}
.gc-pill.free{background:#DDF7EE;color:#0B7F61}
.gc-pill.taken{background:var(--line);color:var(--muted)}
:root.dark .gc-pill.free{background:#0D3A2D;color:#5BE0B4}
.gc-modal{position:fixed;inset:0;z-index:120;background:rgba(10,15,51,.5);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:16px}
.gc-modal[hidden]{display:none}
.gc-card{position:relative;width:min(440px,100%);max-height:92vh;overflow:auto;background:var(--surface);border-radius:24px;padding:26px;box-shadow:var(--shadow-lg);animation:slideIn .22s ease}
.gc-card h3{font-size:1.35rem;margin:0 0 14px;padding-right:36px}
.gc-x{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:var(--muted);cursor:pointer}
.gc-x:hover{background:var(--brand-50);color:var(--brand)}
.gc-when{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px}
.gc-when i{width:22px;color:var(--brand);margin-top:3px;text-align:center}
.gc-when strong{display:block}
.gc-when span{color:var(--muted);font-size:.9rem}
.gc-pick{padding:14px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line);margin-bottom:14px}
.gc-pick label{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.gc-pick input{margin-bottom:12px}
.gc-chips{display:flex;flex-wrap:wrap;gap:8px}
.gc-chip{padding:8px 14px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);font:700 .84rem var(--font);color:var(--ink);cursor:pointer}
.gc-chip:hover:not(:disabled){border-color:var(--brand);color:var(--brand)}
.gc-chip.on{background:var(--brand);border-color:var(--brand);color:#fff}
.gc-chip.off{opacity:.35;text-decoration:line-through;cursor:not-allowed}
.gc-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;flex-wrap:wrap}
.gc-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#1F2350;color:#fff;padding:12px 20px;border-radius:12px;font-weight:600;font-size:.9rem;z-index:130;opacity:0;transition:.25s;pointer-events:none;box-shadow:var(--shadow-lg)}
.gc-toast.show{opacity:1;transform:translate(-50%,0)}
@media (max-width:1000px){.gcal{grid-template-columns:minmax(0,1fr)}.gc-side{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;flex-wrap:wrap;align-items:flex-start}.gc-mini,.gc-upcoming{flex:1 1 240px}.gc-legend{flex:1 1 100%;grid-auto-flow:column;justify-content:start;gap:18px}}
@media (max-width:780px){
  .gcal-wrap{padding:12px 0 0}
  .gcal{border-radius:0;border-left:0;border-right:0}
  .gc-side .gc-mini{display:none}
  .gc-side{padding:12px}
  .gc-create{position:fixed;left:16px;bottom:20px;z-index:85;border-radius:18px;background:var(--brand);color:#fff}
  .gc-create i{color:#fff}
  .gc-seg button{padding:8px 11px}
  .gc-title{font-size:1.1rem;flex:1 1 100%;order:5;margin:6px 0 0}
  .gc-strip{display:flex}
  .gc-grid{--gut:46px}
  .gc-view{max-height:none}
  .gc-month{min-width:0}
  .gc-mday{min-height:78px;padding:4px}
  .gc-pill{font-size:.6rem;padding:2px 5px}
}
@media (max-width:780px){
  .gcal{display:flex;flex-direction:column}
  .gc-main{order:1}
  .gc-side{order:2;border-bottom:0;border-top:1px solid var(--line)}
  .gc-grid[style*="--cols:1"] .gc-grid-head{display:none}
}

.gc-contact{margin-bottom:12px}
.gc-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gc-contact input{margin-bottom:10px}
.gc-contact label{font-size:.82rem}
@media (max-width:480px){.gc-two{grid-template-columns:1fr}}
.hp-wrap{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
