/* Sushrut Clinic Core — component styles. Colours come from CSS variables so the theme (or any theme) can restyle them. */
:root {
	--scc-primary: #24207a;
	--scc-primary-2: #3a35b0;
	--scc-accent: #f2851e;
	--scc-accent-2: #ffb25e;
	--scc-sky: #74c3ec;
	--scc-ink: #16152b;
	--scc-muted: #5d6275;
	--scc-bg: #fbf8f3;
	--scc-card: #ffffff;
	--scc-line: #e9e3d6;
	--scc-wa: #1fa855;
	--scc-radius: 18px;
	--scc-shadow: 0 1px 2px rgba(22, 21, 43, .06), 0 12px 32px -12px rgba(22, 21, 43, .18);
}
.scc-ico { flex: none; vertical-align: middle; }

/* Buttons */
.scc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .95em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.scc-btn:hover { transform: translateY(-2px); }
.scc-btn--primary { background: var(--scc-accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 133, 30, .8); }
.scc-btn--primary:hover { background: #e2740c; color: #fff; }
.scc-btn--wa { background: var(--scc-wa); color: #fff; }
.scc-btn--wa:hover { color: #fff; background: #17904a; }
.scc-btn--ghost { border-color: var(--scc-line); color: var(--scc-ink); background: #fff; }
.scc-btn--block { width: 100%; }

/* Treatment cards */
.scc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.scc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 24px; border-radius: var(--scc-radius); background: var(--scc-card); border: 1px solid var(--scc-line); color: var(--scc-ink); text-decoration: none; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; overflow: hidden; }
.scc-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(242,133,30,.14), transparent 70%); transition: transform .5s; }
.scc-card:hover { transform: translateY(-6px); box-shadow: var(--scc-shadow); border-color: transparent; color: var(--scc-ink); }
.scc-card:hover::after { transform: scale(1.6); }
.scc-card__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; color: var(--scc-primary); background: linear-gradient(135deg, #eef0ff, #e3f3fc); }
.scc-card:hover .scc-card__icon { color: #fff; background: linear-gradient(135deg, var(--scc-primary), var(--scc-primary-2)); }
.scc-card__tag { align-self: flex-start; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #b45d0b; background: #fff3e6; padding: .25em .7em; border-radius: 999px; }
.scc-card__title { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.scc-card__text { margin: 0; color: var(--scc-muted); font-size: .96rem; line-height: 1.6; flex: 1; }
.scc-card__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--scc-primary); font-size: .92rem; }
.scc-card:hover .scc-card__more .scc-ico { transform: translateX(4px); transition: transform .2s; }

/* Photos on cards */
.scc-card.has-photo { padding-top: 0; }
.scc-card__media { display: block; margin: 0 -26px 0; aspect-ratio: 16 / 10; overflow: hidden; background: #eef0ff; }
.scc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.scc-card:hover .scc-card__media img { transform: scale(1.06); }
.scc-card.has-photo .scc-card__icon { margin-top: -30px; position: relative; z-index: 1; border: 4px solid #fff; background: linear-gradient(135deg, #eef0ff, #e3f3fc); }

/* Therapies */
.scc-therapies { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.scc-therapy { display: flex; flex-direction: column; overflow: hidden; padding: 26px; border-radius: var(--scc-radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); transition: background .3s, transform .3s; }
.scc-therapy:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.scc-therapy.has-photo { padding: 0; }
.scc-therapy__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.scc-therapy__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.scc-therapy:hover .scc-therapy__media img { transform: scale(1.06); }
.scc-therapy.has-photo .scc-therapy__body { padding: 0 22px 22px; }
.scc-therapy.has-photo .scc-therapy__icon { margin-top: -27px; position: relative; border: 4px solid rgba(255,255,255,.95); }
.scc-therapy__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--scc-accent); color: #fff; margin-bottom: 14px; }
.scc-therapy h3 { margin: 0 0 8px; font-size: 1.2rem; }
.scc-therapy p { margin: 0 0 10px; line-height: 1.6; opacity: .88; font-size: .95rem; }
.scc-therapy__for { font-size: .86rem !important; opacity: 1 !important; color: var(--scc-accent-2); margin: 0 !important; }
.scc-therapy__for strong { color: inherit; }

/* FAQ */
.scc-faq { display: grid; gap: 12px; }
.scc-faq__item { background: #fff; border: 1px solid var(--scc-line); border-radius: 14px; overflow: hidden; }
.scc-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--scc-ink); font-size: 1.05rem; }
.scc-faq__item summary::-webkit-details-marker { display: none; }
.scc-faq__sign { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #f3f1fb; color: var(--scc-primary); transition: transform .3s, background .3s; }
.scc-faq__item[open] .scc-faq__sign { transform: rotate(45deg); background: var(--scc-accent); color: #fff; }
.scc-faq__a { padding: 0 22px 18px; color: var(--scc-muted); line-height: 1.7; }
.scc-faq__a p { margin: 0; }

/* Testimonials */
.scc-testis { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.scc-testi { margin: 0; padding: 28px; background: #fff; border-radius: var(--scc-radius); border: 1px solid var(--scc-line); position: relative; }
.scc-testi__q { position: absolute; top: 18px; right: 20px; color: #efe7da; }
.scc-testi__stars { color: #f5a524; display: flex; gap: 2px; margin-bottom: 10px; }
.scc-testi__stars .scc-ico { fill: currentColor; }
.scc-testi blockquote { margin: 0 0 16px; color: var(--scc-ink); line-height: 1.7; }
.scc-testi figcaption { display: flex; flex-direction: column; font-size: .92rem; color: var(--scc-muted); }
.scc-testi figcaption strong { color: var(--scc-ink); }

/* Gallery + lightbox */
.scc-gallery { columns: 3 260px; column-gap: 16px; }
.scc-gallery__item { position: relative; display: block; margin-bottom: 16px; border-radius: 14px; overflow: hidden; break-inside: avoid; }
.scc-gallery__item img { width: 100%; height: auto; display: block; transition: transform .5s; }
.scc-gallery__item:hover img { transform: scale(1.05); }
.scc-gallery__cap { position: absolute; left: 10px; bottom: 10px; padding: .3em .8em; border-radius: 999px; background: rgba(15, 13, 61, .82); color: #fff; font-size: .85rem; font-weight: 700; }
.scc-gallery--therapies { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.scc-gallery--therapies .scc-gallery__item { margin: 0; aspect-ratio: 1; }
.scc-gallery--therapies .scc-gallery__item img { height: 100%; object-fit: cover; }
.scc-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(10, 9, 30, .92); display: grid; place-items: center; padding: 24px; }
.scc-lb img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.scc-lb button { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #111; cursor: pointer; display: grid; place-items: center; }
.scc-empty { text-align: center; padding: 48px 24px; border: 2px dashed var(--scc-line); border-radius: var(--scc-radius); color: var(--scc-muted); }
.scc-empty p { margin: 10px 0 0; }

/* Timings */
.scc-hours__list { list-style: none; margin: 14px 0 0; padding: 0; }
.scc-hours__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--scc-line); }
.scc-hours__list li:last-child { border-bottom: 0; }
.scc-hours__list li.is-today { font-weight: 700; color: var(--scc-primary); }
.scc-hours__day { font-weight: 600; }
.scc-hours__time { text-align: right; display: flex; flex-direction: column; white-space: nowrap; }
.scc-open { display: inline-flex; align-items: center; gap: .55em; padding: .45em 1em; border-radius: 999px; background: #f1f0f7; font-weight: 700; font-size: .9rem; color: var(--scc-ink); }
.scc-open__dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa0b0; }
.scc-open.is-open { background: #e6f7ec; color: #12723a; }
.scc-open.is-open .scc-open__dot { background: #1fb257; box-shadow: 0 0 0 0 rgba(31,178,87,.6); animation: scc-pulse 1.8s infinite; }
.scc-open.is-closed { background: #fdeeee; color: #a3261f; }
.scc-open.is-closed .scc-open__dot { background: #e0262b; }
@keyframes scc-pulse { 70% { box-shadow: 0 0 0 9px rgba(31,178,87,0); } 100% { box-shadow: 0 0 0 0 rgba(31,178,87,0); } }

/* Form */
.scc-form { display: grid; gap: 18px; }
.scc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scc-field { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--scc-ink); }
.scc-field--full { grid-column: 1 / -1; }
.scc-field input, .scc-field select, .scc-field textarea { width: 100%; font: inherit; font-weight: 400; padding: .85em 1em; border-radius: 12px; border: 1.5px solid var(--scc-line); background: #fff; color: var(--scc-ink); transition: border-color .2s, box-shadow .2s; box-sizing: border-box; }
.scc-field input:focus, .scc-field select:focus, .scc-field textarea:focus { outline: none; border-color: var(--scc-primary-2); box-shadow: 0 0 0 4px rgba(58, 53, 176, .12); }
.scc-field input:user-invalid { border-color: #e0262b; }
.scc-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.scc-note { margin: 0; font-size: .82rem; color: var(--scc-muted); text-align: center; }
.scc-alert { padding: 12px 16px; border-radius: 12px; background: #fdeeee; color: #a3261f; font-weight: 600; }
.scc-success { text-align: center; padding: 34px 24px; background: #fff; border-radius: var(--scc-radius); border: 1px solid var(--scc-line); display: grid; gap: 12px; justify-items: center; }
.scc-success__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #e6f7ec; color: #12723a; }
.scc-success h3 { margin: 0; }
.scc-success p { margin: 0 0 6px; color: var(--scc-muted); max-width: 460px; }
@media (max-width: 600px) { .scc-grid { grid-template-columns: 1fr; } }

/* Floating buttons */
.scc-float { position: fixed; right: 20px; bottom: 22px; z-index: 9990; display: flex; flex-direction: column; gap: 12px; }
.scc-float__btn { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); transition: transform .2s; }
.scc-float__btn:hover { transform: scale(1.08); color: #fff; }
.scc-float__btn--call { background: var(--scc-primary); }
.scc-float__btn--wa { background: var(--scc-wa); }
.scc-float__btn--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--scc-wa); animation: scc-ring 2.2s infinite; }
@keyframes scc-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.scc-float__tip { position: absolute; right: 70px; white-space: nowrap; background: #fff; color: var(--scc-ink); padding: .5em .9em; border-radius: 10px; font-size: .85rem; font-weight: 600; box-shadow: var(--scc-shadow); opacity: 0; transform: translateX(8px); transition: .2s; pointer-events: none; }
.scc-float__btn--wa:hover .scc-float__tip { opacity: 1; transform: none; }
@media (max-width: 860px) { body.has-mobile-bar .scc-float { display: none; } }
@media (prefers-reduced-motion: reduce) { .scc-float__btn--wa::before, .scc-open.is-open .scc-open__dot { animation: none; } }
