/* ================= SocialLayout — Βάση ================= */
.sl-page, .sl-dlg {
  --sl-primary: #1f5fbf;
  --sl-primary-dark: #174a96;
  --sl-navy: #0d2f5f;
  --sl-text: #1c2b45;
  --sl-muted: #5b6b82;
  --sl-bg-soft: #f2f7fd;
  --sl-border: #dbe7f5;
  --sl-radius: 14px;
  --sl-shadow: 0 6px 20px rgba(20, 60, 120, .08);
  --sl-max: 1440px;
  --sl-gutter: clamp(16px, 4vw, 64px);

  color: var(--sl-text);
  font-family: 'Commissioner', 'Segoe UI', Arial, sans-serif;
}
.sl-page {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
}
.sl-page *, .sl-page *::before, .sl-page *::after,
.sl-dlg *, .sl-dlg *::before, .sl-dlg *::after { box-sizing: border-box; }
.sl-page h1, .sl-page h2, .sl-page h3 { margin: 0; text-transform: none; letter-spacing: normal; }
.sl-page section[id] { scroll-margin-top: 96px; }
.sl-container {
  width: 100%;
  max-width: calc(var(--sl-max) + 2 * var(--sl-gutter));
  margin: 0 auto;
  padding: 0 var(--sl-gutter);
}

/* ================= Κουμπιά ================= */
.sl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.sl-btn:hover { text-decoration: none; }
.sl-btn i { font-size: 20px; }
.sl-btn-primary { background: var(--sl-primary); color: #fff; box-shadow: 0 6px 16px rgba(31, 95, 191, .25); }
.sl-btn-primary:hover { background: var(--sl-primary-dark); color: #fff; }
.sl-btn-outline { background: #fff; color: var(--sl-primary); border-color: var(--sl-primary); }
.sl-btn-outline:hover { background: var(--sl-bg-soft); color: var(--sl-primary); }

/* ================= 1. Header ================= */
.sl-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sl-border);
}
.sl-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.sl-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.sl-brand:hover { text-decoration: none; color: inherit; }
.sl-brand img { height: 52px; width: auto; }
.sl-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.sl-brand-text strong { font-size: 18px; font-weight: 700; color: var(--sl-navy); }
.sl-brand-text span { font-size: 14px; color: var(--sl-primary); }
.sl-header-right { display: flex; align-items: center; gap: 16px; }
.sl-stirizo { height: 36px; width: auto; border-radius: 8px; }

/* RadzenMenu μέσα στο header */
.sl-menu.rz-menu { background: transparent !important; border: 0; padding: 0; }
.sl-menu .rz-navigation-item,
.sl-menu .rz-navigation-item:hover,
.sl-menu .rz-navigation-item-wrapper,
.sl-menu .rz-navigation-item-wrapper:hover { background: transparent !important; border: 0; }

/* Κανονικά items */
.sl-menu .rz-navigation-item-link {
  color: var(--sl-text) !important;
  font-size: 14px; font-weight: 600;
  padding: 9px 14px; border-radius: 10px;
  text-decoration: none !important;
  transition: background .2s, color .2s;
}
.sl-menu .rz-navigation-item-link * { color: inherit !important; }
.sl-menu .rz-navigation-item-link .rzi,
.sl-menu .rz-navigation-item-link .rz-navigation-item-icon { color: var(--sl-primary) !important; }

.sl-menu .rz-navigation-item:hover .rz-navigation-item-link,
.sl-menu .rz-navigation-item-link:hover {
  background: var(--sl-bg-soft) !important;
  color: var(--sl-primary) !important;
}

/* Τελευταίο item (Είσοδος-Εγγραφή): γεμάτο κουμπί, πάντα λευκά γράμματα και εικονίδιο */
.sl-menu > .rz-navigation-item:last-child .rz-navigation-item-link {
  background: var(--sl-primary) !important;
  color: #fff !important;
}
.sl-menu > .rz-navigation-item:last-child .rz-navigation-item-link * { color: #fff !important; }
.sl-menu > .rz-navigation-item:last-child:hover .rz-navigation-item-link {
  background: var(--sl-primary-dark) !important;
  color: #fff !important;
}

/* ================= 2. Hero ================= */
.sl-hero { position: relative; overflow: hidden; background: linear-gradient(90deg, #fff 0%, #f4f8fd 100%); }
.sl-hero-inner { position: relative; z-index: 1; min-height: 440px; display: flex; align-items: center; }
.sl-hero-text { max-width: 520px; padding: 64px 0; }
.sl-hero-text h1 { font-size: 44px; line-height: 1.15; font-weight: 700; color: var(--sl-navy); margin-bottom: 18px; }
.sl-hero-text p { font-size: 17px; line-height: 1.6; color: var(--sl-muted); margin: 0 0 28px; }
.sl-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sl-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
.sl-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
          mask-image: linear-gradient(to right, transparent 0%, #000 30%);
}

/* ================= 3. Μπάρα βοήθειας ================= */
.sl-help-wrap { margin-top: 32px; margin-bottom: 8px; }
.sl-help {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 18px 28px; border-radius: var(--sl-radius);
  background: var(--sl-bg-soft); border: 1px solid var(--sl-border);
  text-decoration: none; color: inherit; transition: box-shadow .2s;
}
.sl-help:hover { box-shadow: var(--sl-shadow); text-decoration: none; color: inherit; }
.sl-help-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1px solid var(--sl-border);
  display: flex; align-items: center; justify-content: center; color: var(--sl-primary);
}
.sl-help-icon i { font-size: 26px; }
.sl-help-label { font-size: 18px; font-weight: 600; color: var(--sl-navy); }
.sl-help-divider { width: 1px; height: 36px; background: var(--sl-border); }
.sl-help-phone { font-size: 24px; font-weight: 700; color: var(--sl-primary); letter-spacing: .5px; }

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .sl-stirizo { display: none; }
  .sl-brand img { height: 44px; }
  .sl-brand-text strong { font-size: 16px; }

  .sl-hero-inner { min-height: 0; }
  .sl-hero-text { max-width: none; padding: 40px 0 24px; }
  .sl-hero-text h1 { font-size: 32px; }
  .sl-hero-media { position: relative; width: 100%; height: 260px; }
  .sl-hero-media img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
  }
}
@media (max-width: 600px) {
  .sl-help { flex-wrap: wrap; gap: 10px 16px; padding: 16px; }
  .sl-help-divider { display: none; }
  .sl-help-label { font-size: 16px; }
  .sl-help-phone { width: 100%; text-align: center; font-size: 20px; }
}


/* ================= Κοινά ενοτήτων ================= */
.sl-page .sl-section-title { font-size: 28px; font-weight: 700; color: var(--sl-navy); margin-bottom: 28px; }

/* ================= 4. Υπηρεσίες ================= */
.sl-services { padding: 56px 0 48px; background: linear-gradient(180deg, #f4f8fd 0%, #fff 100%); }
.sl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sl-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 118px; padding: 20px 16px;
  background: #fff; border: 1px solid var(--sl-border); border-radius: var(--sl-radius);
  box-shadow: 0 2px 8px rgba(20, 60, 120, .04);
  color: var(--sl-text); text-decoration: none; text-align: center;
  font-family: inherit; cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sl-card:hover { transform: translateY(-3px); box-shadow: var(--sl-shadow); border-color: #bcd3ee; color: var(--sl-text); text-decoration: none; }
.sl-card:focus-visible { outline: 3px solid rgba(31, 95, 191, .35); outline-offset: 2px; }
.sl-card-icon { color: var(--sl-primary); line-height: 1; }
.sl-card-icon i { font-size: 40px; }
.sl-card-title { font-size: 15px; font-weight: 600; }

/* ================= 5. Βήματα ================= */
.sl-steps { padding: 40px 0 56px; }
.sl-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.sl-step { position: relative; padding: 0 16px; text-align: center; }
.sl-step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px;
  left: calc(50% + 60px); right: calc(-50% + 60px);
  border-top: 2px dashed #c9dbf0;
}
.sl-step-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.sl-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--sl-border); background: #fff;
  font-size: 14px; font-weight: 700; color: var(--sl-navy);
}
.sl-step-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #e8f1fb; color: var(--sl-primary);
}
.sl-step-icon i { font-size: 30px; }
.sl-step h3 { font-size: 16px; font-weight: 700; color: var(--sl-navy); margin-bottom: 6px; }
.sl-step p { margin: 0 auto; max-width: 280px; font-size: 14px; line-height: 1.5; color: var(--sl-muted); }

/* ================= Dialog: Όλες οι υπηρεσίες ================= */
.sl-dlg-intro { margin: 0 0 14px; font-size: 15px; color: var(--sl-muted); }
.sl-dlg-search {
  display: flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 14px; margin-bottom: 16px;
  border: 1.5px solid var(--sl-border); border-radius: 10px; background: #fff; color: var(--sl-muted);
}
.sl-dlg-search:focus-within { border-color: var(--sl-primary); }
.sl-dlg-search input { flex: 1; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 15px; color: var(--sl-text); }
.sl-dlg-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px;
  max-height: 50vh; overflow-y: auto;
}
.sl-dlg-list li { display: flex; align-items: flex-start; gap: 8px; padding: 8px 4px; font-size: 14.5px; line-height: 1.4; border-bottom: 1px solid #eef3f9; }
.sl-dlg-list li i { font-size: 18px; margin-top: 1px; color: var(--sl-primary); }
.sl-dlg-empty { padding: 28px; text-align: center; color: var(--sl-muted); background: var(--sl-bg-soft); border-radius: 10px; }
.sl-dlg-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sl-border);
}
.sl-dlg-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sl-text); text-decoration: none; }
.sl-dlg-phone:hover { color: var(--sl-primary); text-decoration: none; }
.sl-dlg-phone i, .sl-dlg-phone strong { color: var(--sl-primary); }

/* ================= Responsive (κομμάτι 2) ================= */
@media (max-width: 900px) {
  .sl-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .sl-steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .sl-step:not(:last-child)::after { display: none; }
  .sl-dlg-list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .sl-page .sl-section-title { font-size: 22px; }
  .sl-card { min-height: 104px; padding: 16px 10px; }
  .sl-card-icon i { font-size: 34px; }
  .sl-card-title { font-size: 14px; }
}


/* ================= 6. Ραντεβού ================= */
.sl-appointment { padding: 8px 0 56px; }
.sl-appt-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; min-height: 280px;
  border: 1px solid var(--sl-border); border-radius: 18px;
  background: linear-gradient(90deg, #eaf2fc 0%, #f5f9fe 45%, #fff 100%);
}
.sl-appt-text { position: relative; z-index: 1; max-width: 460px; padding: 40px 44px; }
.sl-page .sl-appt-text h2 { font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--sl-navy); margin-bottom: 14px; }
.sl-appt-text p { font-size: 15.5px; line-height: 1.6; color: var(--sl-muted); margin: 0 0 24px; }
.sl-appt-media { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; }
.sl-appt-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
          mask-image: linear-gradient(to right, transparent 0%, #000 30%);
}

/* ================= 7. Κοινωνική Στήριξη & Αλληλεγγύη ================= */
.sl-about { padding: 64px 0; background: var(--sl-bg-soft); }
.sl-about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: stretch; }
.sl-about-media {
  position: relative; min-height: 380px;
  border-radius: 18px; overflow: hidden; box-shadow: var(--sl-shadow);
}
.sl-about-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 65% center;
}
.sl-page .sl-about-text .sl-section-title { margin-bottom: 18px; }
.sl-about-text p { font-size: 16px; line-height: 1.75; color: var(--sl-text); margin: 0 0 14px; }
.sl-quote {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding: 16px 20px;
  background: #fff; border-left: 4px solid var(--sl-primary); border-radius: 10px;
  box-shadow: var(--sl-shadow);
  font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--sl-navy);
}
.sl-quote i { font-size: 28px; color: var(--sl-primary); }

/* ================= Responsive (κομμάτι 3) ================= */
@media (max-width: 900px) {
  .sl-appt-card { flex-direction: column; align-items: stretch; }
  .sl-appt-text { max-width: none; padding: 28px 24px 8px; }
  .sl-page .sl-appt-text h2 { font-size: 24px; }
  .sl-appt-media { position: relative; width: 100%; height: 220px; }
  .sl-appt-media img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 30%);
  }

  .sl-about { padding: 48px 0; }
  .sl-about-grid { grid-template-columns: 1fr; gap: 28px; }
  .sl-about-media { min-height: 260px; }
}


/* ================= 8. Εφαρμογή για κινητό ================= */
.sl-app { padding: 16px 0 64px; }
.sl-app-card {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px;
  margin-top: 40px; padding: 0 44px;
  border: 1px solid var(--sl-border); border-radius: 18px;
  background: linear-gradient(90deg, #eaf2fc 0%, #f5f9fe 60%, #fff 100%);
}
.sl-app-text { padding: 44px 0; }
.sl-page .sl-app-text h2 { font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--sl-navy); margin-bottom: 12px; }
.sl-app-text > p { font-size: 15.5px; line-height: 1.6; color: var(--sl-muted); margin: 0 0 24px; }
.sl-app-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.sl-btn-android {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 14px; border-radius: 12px;
  background: #111; color: #fff; text-decoration: none;
  transition: background .2s, transform .2s;
}
.sl-btn-android:hover { background: #000; color: #fff; text-decoration: none; transform: translateY(-2px); }
.sl-btn-android i { font-size: 34px; color: #3ddc84; }
.sl-btn-android-text { display: flex; flex-direction: column; line-height: 1.15; }
.sl-btn-android-text small { font-size: 11px; opacity: .85; }
.sl-btn-android-text strong { font-size: 19px; font-weight: 700; }
.sl-app-qr { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.35; color: var(--sl-muted); }
.sl-app-qr img { width: 84px; height: 84px; padding: 6px; background: #fff; border: 1px solid var(--sl-border); border-radius: 10px; }
.sl-app-note { display: flex; align-items: flex-start; gap: 6px; margin: 20px 0 0; font-size: 13px; line-height: 1.45; color: var(--sl-muted); }
.sl-app-note i { font-size: 18px; color: var(--sl-primary); }
.sl-app-media { align-self: end; display: flex; justify-content: center; }
.sl-app-media img { display: block; max-width: 100%; max-height: 380px; margin-top: -40px; }

/* ================= 9. Επικοινωνία ================= */
.sl-contact { padding: 8px 0 64px; }
.sl-contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: stretch; }
.sl-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.sl-contact-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 1.5; color: var(--sl-text); }
.sl-contact-list li i {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sl-bg-soft); color: var(--sl-primary); font-size: 22px;
}
.sl-contact-list a { color: var(--sl-text); text-decoration: none; }
.sl-contact-list a:hover { color: var(--sl-primary); text-decoration: underline; }
.sl-map { min-height: 300px; border-radius: 18px; overflow: hidden; border: 1px solid var(--sl-border); box-shadow: var(--sl-shadow); }
.sl-map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }

/* ================= 10. Footer ================= */
.sl-footer { background: var(--sl-navy); color: rgba(255, 255, 255, .85); }
.sl-footer-grid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.sl-footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sl-footer-logo img { height: 56px; width: auto; }
.sl-footer-logo > span { display: flex; flex-direction: column; line-height: 1.25; }
.sl-footer-logo strong { font-size: 18px; font-weight: 700; color: #fff; }
.sl-footer-logo > span > span { font-size: 14px; color: rgba(255, 255, 255, .75); }
.sl-footer-brand p { margin: 0; font-size: 14.5px; line-height: 1.65; }
.sl-page .sl-footer h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.sl-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sl-footer-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.sl-footer-list li i { font-size: 18px; margin-top: 1px; color: #8fb8ea; }
.sl-footer-list a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.sl-footer-list a:hover { color: #fff; text-decoration: underline; }
.sl-social { display: flex; gap: 12px; }
.sl-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1); color: #fff;
  transition: background .2s, transform .2s;
}
.sl-social a:hover { background: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-2px); }
.sl-social svg { width: 22px; height: 22px; }
.sl-footer-bottom { background: #fff; color: var(--sl-muted); padding: 18px 0 14px; text-align: center; }
.sl-espa { display: block; width: auto; max-width: 100%; max-height: 70px; margin: 0 auto 10px; }
.sl-powered { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }

/* ================= Responsive (κομμάτι 4) ================= */
@media (max-width: 900px) {
  .sl-app-card { grid-template-columns: 1fr; margin-top: 0; padding: 0 24px; }
  .sl-app-text { padding: 32px 0 0; }
  .sl-page .sl-app-text h2 { font-size: 24px; }
  .sl-app-qr { display: none; }
  .sl-app-media img { margin-top: 0; max-height: 260px; }

  .sl-contact-grid { grid-template-columns: 1fr; }
  .sl-map, .sl-map iframe { min-height: 260px; }

  .sl-footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 32px; }
}


/* ================= Scroll to top ================= */
.sl-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
  background: var(--sl-primary); color: #fff;
  box-shadow: 0 8px 20px rgba(31, 95, 191, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.sl-to-top.sl-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sl-to-top:hover { background: var(--sl-primary-dark); }
.sl-to-top:focus-visible { outline: 3px solid rgba(31, 95, 191, .35); outline-offset: 3px; }
.sl-to-top i { font-size: 28px; color: #fff !important; }

@media (max-width: 600px) {
  .sl-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}