/* Smile Care patient-day cards ([smilecare_patient_days]). Mirrors site/assets/css/site.css. */
.sc-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sc-day { background: #FFFFFF; border: 1px solid #E3D5C8; border-radius: 16px; padding: 24px; display: grid; gap: 16px; justify-items: start; margin: 0; }
.sc-day-range { margin: 0; color: #3A2140; font: 560 clamp(28px, 3vw, 38px)/1.1 "Fraunces", "Iowan Old Style", Georgia, serif; letter-spacing: -0.015em; }
.sc-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: 999px; font: 700 12px/1 "Figtree", "Segoe UI", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; background: #F4EBE1; color: #3A2140; }
.sc-day.is-open { border-color: #3A2140; box-shadow: 0 1px 2px rgba(58,33,64,.06), 0 10px 28px rgba(58,33,64,.08); }
.sc-day.is-open .sc-tag { background: #F2A93B; }
.sc-day.is-open .sc-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3A2140; }
.sc-day.is-past { background: transparent; border-style: dashed; }
.sc-day.is-past .sc-day-range { color: #6E4A73; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(110, 74, 115, .45); }
@media (max-width: 960px) { .sc-days { grid-template-columns: minmax(0, 1fr); } }

/* Hero grin: draw-in on load (Elementor's style fields can't hold @keyframes, so it lives here).
   Targets the Elementor global class "sc-grin-host" on the hero photo frame; the arc itself is that element's ::after. */
@keyframes sc-grin-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sc-grin-host::after { animation: sc-grin-draw 1.1s .3s cubic-bezier(.2, .7, .2, 1) both; }
@media (prefers-reduced-motion: reduce) { .sc-grin-host::after { animation: none; } }

/* Mobile menu (an Elementor accordion <details> in the header): smooth open, no tap flash. */
@keyframes sc-menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
header details[open] > :not(summary) { animation: sc-menu-in .18s cubic-bezier(.2, .7, .2, 1); }
header details > summary { -webkit-tap-highlight-color: transparent; }
header details > summary::-webkit-details-marker { display: none; }
header details a { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { header details[open] > :not(summary) { animation: none; } }
/* Section jumps land below the sticky header instead of under it. */
html { scroll-padding-top: 84px; }
