:root { --tinta: #0f2a33; --crema: #f7f5f0; --suave: #e6f2f1; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--tinta); background: var(--crema); }
h1, h2, h3, .navbar-brand, .titulo-serif { font-family: 'Fraunces', Georgia, serif; }
a { color: var(--primario); }
.sitio-nav { background: rgba(247,245,240,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(15,42,51,.08); }
.navbar-brand { font-weight: 700; color: var(--tinta) !important; display: flex; align-items: center; gap: 8px; }
.logo-diente { width: 36px; height: 36px; border-radius: 50%; background: var(--primario); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.btn-cta { background: var(--primario); color: #fff !important; border-radius: 999px; padding: 8px 20px; font-weight: 600; }
.btn-cta:hover { filter: brightness(1.1); }
.btn-outline-cta { border: 2px solid var(--tinta); color: var(--tinta); border-radius: 999px; padding: 8px 20px; font-weight: 600; }

.hero { padding: 80px 0 60px; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--primario); }
.hero .lead { font-size: 1.15rem; color: #44606a; max-width: 520px; }
.hero-tarjeta { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(15,42,51,.35); position: relative; }
.hero-tarjeta::before { content: ''; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-radius: 50%; background: var(--suave); z-index: -1; }
.hero-tarjeta .fila { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed #e2e8f0; }
.hero-tarjeta .fila:last-child { border: 0; }
.hero-tarjeta .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--suave); color: var(--primario); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.sello { display: inline-flex; gap: 8px; align-items: center; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .85rem; border: 1px solid #e2e8f0; }

.seccion { padding: 70px 0; }
.seccion h2 { font-size: 2.2rem; margin-bottom: .5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--primario); }
.servicio { background: #fff; border-radius: 18px; padding: 24px; height: 100%; border: 1px solid transparent; transition: .2s; }
.servicio:hover { border-color: var(--primario); transform: translateY(-3px); }
.servicio .num { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--primario); opacity: .5; }
.servicio .precio { font-size: .85rem; color: #64748b; }
.doctor { text-align: center; }
.doctor .avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 2.2rem; color: #fff; }
.franja { background: var(--tinta); color: #fff; border-radius: 28px; padding: 48px; }
.franja h2 { color: #fff; }

.sitio-footer { background: var(--tinta); color: #cbd5e1; padding: 56px 0 24px; margin-top: 40px; }
.sitio-footer h5, .sitio-footer h6 { color: #fff; }
.sitio-footer a { color: #99f6e4; }

/* Agenda */
.pasos { display: flex; gap: 8px; margin-bottom: 24px; }
.pasos .p { flex: 1; height: 6px; border-radius: 3px; background: #e2e8f0; }
.pasos .p.on { background: var(--primario); }
.caja { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 10px 40px -20px rgba(15,42,51,.25); }
.opcion-servicio { border: 2px solid #e2e8f0; border-radius: 14px; padding: 14px; cursor: pointer; height: 100%; }
.opcion-servicio:has(input:checked) { border-color: var(--primario); background: var(--suave); }
.opcion-servicio input { display: none; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slots button { border: 1.5px solid #cbd5e1; background: #fff; border-radius: 10px; padding: 9px 4px; font-weight: 500; }
.slots button:hover { border-color: var(--primario); }
.slots button.sel { background: var(--primario); border-color: var(--primario); color: #fff; }
.cal { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px; max-width: 340px; }
.cal-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-cab b { font-family: 'Fraunces', serif; font-size: 1.05rem; }
.cal-cab button { border: 0; background: none; width: 32px; height: 32px; border-radius: 50%; color: var(--tinta); }
.cal-cab button:hover:not(:disabled) { background: var(--suave); }
.cal-cab button:disabled { opacity: .25; }
.cal-sem, .cal-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-sem span { font-size: .7rem; font-weight: 600; color: #94a3b8; padding: 4px 0; }
.cal-dias button { position: relative; aspect-ratio: 1; border: 0; border-radius: 10px; background: none; font-size: .9rem; font-weight: 500; color: var(--tinta); padding: 0; }
.cal-dias button:disabled { color: #cbd5e1; cursor: default; }
.cal-dias button:not(:disabled):hover { background: var(--suave); }
.cal-dias button::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; }
.cal-dias button.ok::after { background: #16a34a; }
.cal-dias button.pocos::after { background: #f59e0b; }
.cal-dias button.no::after { background: #e2e8f0; }
.cal-dias button.hoy { box-shadow: inset 0 0 0 1.5px var(--primario); }
.cal-dias button.sel { background: var(--tinta) !important; color: #fff; }
.cal-dias button.sel::after { background: #fff; }
.cal-ley { display: flex; gap: 12px; justify-content: center; margin-top: 10px; font-size: .72rem; color: #64748b; }
.cal-ley .pt { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; vertical-align: middle; }
.cal-ley .ok { background: #16a34a; } .cal-ley .pocos { background: #f59e0b; } .cal-ley .no { background: #cbd5e1; }
.slots { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); max-height: 330px; overflow-y: auto; }
.confirmacion-ico { width: 80px; height: 80px; border-radius: 50%; background: var(--suave); color: var(--primario); font-size: 2.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
