/* Sifis Biocare · κομμάτια που το Elementor V4 δεν κάνει μόνο του.
   Τα tokens (--navy-900, --lime-500 …) έρχονται από τα Elementor global variables. */

html { scroll-padding-top: 88px; accent-color: #8CC63F; }
body { background: #fff; color: #141A42; font-family: "Sofia Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: #8CC63F; color: #141A42; }
:focus-visible { outline: 3px solid #8CC63F; outline-offset: 3px; border-radius: 4px; }

/* Μία λέξη-κλειδί σε τίτλο: γράφεται ως <span> στο Elementor */
.sb-navy h1 span, .sb-navy h2 span { color: #8CC63F; }
.sb-mark h1 span, .sb-mark h2 span, h1.sb-mark span, h2.sb-mark span { background: linear-gradient(transparent 60%, #B9DE84 60%); padding: 0 .06em; }

/* Links μέσα σε κείμενα */
.sb-navy p a { color: #fff; font-weight: 800; }
.sb-textlink a, a.sb-textlink { font-weight: 800; text-decoration: underline; text-decoration-color: #8CC63F; text-decoration-thickness: 2px; text-underline-offset: .18em; }

/* ---------- slider πριν/μετά ---------- */
.sb-ba .sb-ba-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; }
.sb-ba .sb-ba-img.is-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.sb-ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #8CC63F; pointer-events: none; z-index: 2; }
.sb-ba .ba-knob { position: absolute; top: 50%; left: var(--pos, 50%); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #8CC63F; color: #141A42; display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(0,0,0,.35); pointer-events: none; z-index: 3; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.sb-ba .ba-knob svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sb-ba:hover .ba-knob { transform: scale(1.06); }
.sb-ba:focus-within .ba-knob { box-shadow: 0 0 0 4px #fff, 0 0 0 7px #8CC63F; }
.sb-ba .ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; }
.sb-ba.nod .ba-line, .sb-ba.nod .ba-knob, .sb-ba.nod .is-after { transition: left .9s cubic-bezier(.16,1,.3,1), clip-path .9s cubic-bezier(.16,1,.3,1); }

/* ---------- header ---------- */
.elementor-location-header { position: sticky; top: 0; z-index: 40; }
.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .elementor-location-header { top: 0; } }
.sb-head { transition: box-shadow .3s; }
.sb-head.scrolled { box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); }
.sb-mnav { display: none !important; }
.sb-mnav.open { display: block !important; }
@media (min-width: 1081px) { .sb-mnav.open { display: none !important; } }

/* ---------- λίστες και links σε navy ζώνες (footer, περιοχές) ---------- */
.sb-navy ul { list-style: none; padding: 0; margin: 0; }
.sb-navy li a, .elementor-location-footer p a { color: inherit; text-decoration: none; font-weight: inherit; }
.sb-navy li a:hover, .elementor-location-footer p a:hover { color: #fff; text-decoration: underline; }

/* ---------- σταθερή μπάρα κινητού ---------- */
@media (max-width: 899px) { body { padding-bottom: 72px; } }
.sb-actbar { padding-bottom: calc(8px + env(safe-area-inset-bottom)) !important; }

/* ---------- φίλτρο gallery ---------- */
.sb-chip[aria-pressed="true"] { background: #141A42 !important; border-color: #141A42 !important; color: #fff !important; }
.sb-gitem[hidden] { display: none !important; }

/* ---------- FAQ: + / − ---------- */
.sb-faq summary::-webkit-details-marker { display: none; }

/* ---------- απαλή εμφάνιση ---------- */
.js-motion .sb-rv { opacity: 0; transform: translateY(12px); transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); }
.js-motion .sb-rv.in { opacity: 1; transform: none; }
.elementor-editor-active .sb-rv { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .js-motion .sb-rv { opacity: 1; transform: none; transition: none; }
  .sb-ba.nod .ba-line, .sb-ba.nod .ba-knob, .sb-ba.nod .is-after { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- εσωτερικές σελίδες (υπηρεσίες, περιοχές) ---------- */
/* Εκκρεμότητες κειμένου: γράφονται ως <em> στο Elementor και φεύγουν μετά τη συνέντευξη */
.e-paragraph-base em { font-style: normal; background: #F4FAEA; border: 1px dashed #8CC63F; color: #343C7A; padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.sb-crumbs a { color: inherit; text-decoration: none; }
.sb-crumbs a:hover { color: #fff; text-decoration: underline; }
.sb-art-p a, .sb-faq-a a { font-weight: 800; color: inherit; text-decoration: underline; text-decoration-color: #8CC63F; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.sb-art-p a:hover, .sb-faq-a a:hover { text-decoration-color: currentColor; }
.sb-art-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sb-art-list li { position: relative; padding-left: 22px; }
.sb-art-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: #8CC63F; }
.sb-side-links b { display: block; color: #141A42; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
.sb-side-links ul { list-style: none; padding: 0; margin: 0 0 16px; }
.sb-side-links a { color: inherit; text-decoration: none; }
.sb-side-links a:hover { color: #141A42; text-decoration: underline; text-decoration-color: #8CC63F; }
.sb-pcard .sb-pcard-row .sb-btn { width: 100%; padding: 0 12px; }
.sb-pcard-or a { color: #141A42; font-weight: 800; }
.sb-faq-a .sb-art-p:first-child { margin-top: 0; }
