/* ============================================================
   Μένια Καρανάσιου — Διαιτολόγος · Διατροφολόγος
   Σχεδίαση πιστή στο www.meniakaranasiou.gr,
   υλοποιημένη σε σημασιολογικό HTML/CSS κατά WCAG 2.1 AA.

   Παλέτα πρωτοτύπου:
     palette-1  #bf7eba  (λιλά)      → ΜΟΝΟ διακοσμητικό / περιγράμματα
     palette-2  #9a1cab  (μωβ)       → κύριο χρώμα, κείμενο & κουμπιά
     palette-4  #e9dbce  (μπεζ)      → footer
     palette-5  #4d4d4d  (γκρι)      → επικεφαλίδες
     grey-5     #f2f2f2              → εναλλακτικό φόντο ενοτήτων
   Αποκλίσεις από το πρωτότυπο γίνονται ΜΟΝΟ όπου η αντίθεση
   αποτυγχάνει· τεκμηριώνονται στη prosvasimotita.html.
   ============================================================ */

/* ---------- Μεταβλητές ---------- */
:root {
  --purple: #9a1cab;          /* 6.71:1 σε λευκό  ✓AA */
  --purple-dark: #7d1589;     /* hover/active     ✓AA */
  --lilac: #bf7eba;           /* 3.04:1 — διακοσμητικό & περιγράμματα μόνο */
  --lilac-btn: #ab56a4;       /* 4.57:1 με λευκό κείμενο ✓AA */
  --lilac-btn-hover: #8b3a85; /* 6.30:1 με λευκό κείμενο ✓AA */
  --beige: #e9dbce;
  --grey-bg: #f2f2f2;
  --heading: #4d4d4d;         /* 8.45:1 σε λευκό  ✓AAA */
  --muted: #5c5c5c;           /* αντικαθιστά το #808080 (3.95:1 ✗) */
  --ink: #111111;
  --white: #ffffff;
  --focus: #4a0d52;
  --focus-light: #ffe3fb;

  --sheet: 71.25rem;          /* 1140px */
  --ease: cubic-bezier(.22, .61, .36, 1);

  font-size: 100%;
}

html {
  /* Το widget προσβασιμότητας κλιμακώνει το κείμενο χωρίς να παρακάμπτει
     τη ρύθμιση μεγέθους του browser (γι' αυτό % και όχι px). */
  font-size: calc(100% * var(--fs, 1));
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Comfortaa, "Trebuchet MS", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 400;
  color: var(--heading);
  margin: 1.25rem 0;
  line-height: 1.1;
  /* Οι μακρές ελληνικές λέξεις σπάνε αντί να ξεχειλίζουν στα 320px (WCAG 1.4.10). */
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2.25rem; line-height: 1.2; }
h4 { font-size: 1.5rem; line-height: 1.2; }
h5 { font-size: 1.25rem; line-height: 1.2; }
h6 { font-size: 1.125rem; line-height: 1.2; }
p { margin: 1.25rem 0; }

a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--purple-dark); }

/* Δακτύλιος εστίασης — 3px, υψηλής αντίθεσης, σε κάθε διαδραστικό στοιχείο */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Πλέγμα: το «sheet» του πρωτοτύπου ---------- */
.sheet {
  width: min(100% - 2rem, var(--sheet));
  margin-inline: auto;
  position: relative;
}

/* ============================================================
   Σύνδεσμοι παράλειψης
   ============================================================ */
.skip-links {
  position: absolute;
  top: 0; left: 0;
  z-index: 300;
}
.skip-links a {
  position: absolute;
  left: -9999px;
  top: 0;
  display: block;
  padding: .85rem 1.4rem;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.skip-links a:focus { left: 0; }
.skip-links a:nth-child(2):focus { left: 14rem; }
.skip-links a:nth-child(3):focus { left: 30rem; }
.skip-links a:focus-visible { outline-color: var(--focus-light); }

/* ============================================================
   Κεφαλίδα
   ============================================================ */
.site-header {
  background: var(--white);
  position: relative;
  z-index: 100;
}
.header-inner {
  min-height: 7.4375rem;              /* 119px */
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  padding-block: .8rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
}
.brand-logo { width: 7.875rem; height: 4.75rem; object-fit: contain; flex: 0 0 auto; }
.brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  min-width: 0;
  margin: 0;
}
.brand-text .brand-name { color: var(--purple); display: block; }
.brand-text .brand-role { color: var(--ink); display: block; }

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  /* Με 9 στοιχεία η πλοήγηση μπορεί να σπάσει σε δεύτερη σειρά· η
     στοίχιση δεξιά κρατά το σπάσιμο τακτοποιημένο. */
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: block;
  padding: .5rem .75rem;
  border: 1px solid transparent;
  border-radius: 50px;
  color: var(--ink);
  background: transparent;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
/* Το «Κλείσε ραντεβού» τονίζεται ως κύρια ενέργεια — με λιλά που πληροί
   4.5:1 με λευκό κείμενο, όχι με το διακοσμητικό #bf7eba. */
.nav-link.nav-cta {
  background: var(--lilac-btn);
  border-color: var(--lilac-btn);
  color: var(--white);
}
.nav-link.nav-cta:hover,
.nav-link.nav-cta:focus {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.nav-link:hover,
.nav-link:focus {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
/* Το λιλά περίγραμμα εμφανίζεται μόνο κατά την αιώρηση/εστίαση, όπως στο πρωτότυπο. */
.nav-link[aria-current="page"] {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

/* Κουμπί hamburger — εμφανίζεται ≤991px */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 3rem; height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: transparent;
  border: 1px solid var(--lilac);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.25rem; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-panel-logo { display: none; }

.nav-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, .7);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  z-index: 105;
}
.nav-open .nav-overlay { opacity: 1; visibility: visible; }

/* ============================================================
   Κουμπιά
   ============================================================ */
.btn {
  display: inline-block;
  padding: .625rem 1.875rem;          /* 10px 30px */
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover, .btn-primary:focus { background: var(--lilac-btn); color: var(--white); }

.btn-round {
  border-radius: 50px;
  background: var(--lilac-btn);
  color: var(--white);
  font-size: .875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-round:hover, .btn-round:focus { background: var(--lilac-btn-hover); color: var(--white); }

.btn-outline {
  border: 2px solid var(--purple);
  background: var(--white);
  color: var(--purple);
  border-radius: 50px;
}
.btn-outline:hover, .btn-outline:focus { background: var(--purple); color: var(--white); }

/* ============================================================
   Αρχική — ενότητα 1: ήρωας
   ============================================================ */
.hero {
  /* Το πρωτότυπο χρησιμοποιεί επικάλυψη 20%· αυξήθηκε ώστε το λευκό
     κείμενο να πληροί το 1.4.3 πάνω από τη φωτεινή φωτογραφία. */
  background-image:
    linear-gradient(95deg,
      rgba(20, 4, 22, .70) 0%,
      rgba(20, 4, 22, .62) 36%,
      rgba(20, 4, 22, .44) 54%,
      rgba(20, 4, 22, .08) 78%,
      rgba(20, 4, 22, 0) 100%),
    var(--hero-img);
  background-position: 50% 63.41%;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}
.hero .sheet {
  min-height: 50.125rem;              /* 802px */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-block: 4.375rem 3.75rem;    /* 70px / 60px — ίδια θέση τίτλου με το πρωτότυπο */
}
.hero-title {
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55), 2px 2px 8px rgba(154, 28, 171, .8);
  margin: 0;
}
.hero-sub {
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  margin: 1rem 0 0;
}
.hero .btn { margin-top: 4.625rem; }
.hero a:focus-visible, .hero .btn:focus-visible { outline-color: var(--focus-light); }

/* ============================================================
   Διακοσμητική ταινία εικόνας στις εσωτερικές σελίδες
   ============================================================ */
.banner {
  background-image: var(--hero-img);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 27%;
  min-height: 36.25rem;               /* 580px */
}

/* ============================================================
   Γενικές ενότητες
   ============================================================ */
.section { padding-block: 3.75rem; }
.section-grey { background: var(--grey-bg); }
.section-white { background: var(--white); }
.section-bordered { border-bottom: 2px solid var(--purple); }

.eyebrow {
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0;
}
.section-title { margin: .875rem 0 0; font-size: 2.25rem; color: var(--heading); }

/* ---------- Αρχική — ενότητα 2: «Καλώς ήρθες» ---------- */
.intro { text-align: center; }
.intro .sheet { display: flex; flex-direction: column; align-items: center; }
.portrait {
  width: 18.75rem; height: 18.75rem;   /* 300px */
  border-radius: 50%;
  background-image: var(--portrait-img);
  background-size: cover;
  background-position: 50% 50%;
  flex: 0 0 auto;
}
.intro h2 { font-size: 2.25rem; margin: 1.875rem 0 0; }
.intro-text {
  max-width: 46.25rem;                 /* 740px */
  margin: 1.1875rem auto 0;
}
.intro .btn { margin-top: 1.8125rem; }
/* Το πορτρέτο της σελίδας «Ας Συστηθούμε» κεντράρεται χαμηλότερα, όπως στο πρωτότυπο. */
.portrait-low { background-position: 50% 80%; }

/* ---------- Δύο στήλες (επικοινωνία / συστάσεις) ---------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
}
.duo > * { padding: 1.875rem; }
.duo-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

.contact-list {
  font-size: 1.25rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}
.contact-list li { margin-bottom: .75rem; display: flex; align-items: center; gap: .6rem; min-width: 0; }
.contact-list a { overflow-wrap: anywhere; }
.contact-list img { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
.contact-list a { color: var(--purple); }
.contact-hours { font-size: 1.25rem; color: var(--muted); margin: 1.75rem 0 0; }

.social-links { display: flex; gap: 1.875rem; margin-top: 1.25rem; list-style: none; padding: 0; }
.social-links a { display: inline-flex; padding: .25rem; }
.social-links img { width: 1.6875rem; height: 1.6875rem; }

.panel {
  background: var(--white);
  border: 1px solid var(--lilac);
  padding: 1.875rem;
}
.panel h3 { font-size: 1.5rem; margin-top: 0; }
.panel .btn { margin-top: .5rem; }
.panel-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* ---------- Κύκλος πορτρέτου σε δύο στήλες ---------- */
.duo .portrait { margin-inline: auto; }

/* ---------- Σελίδες κειμένου ---------- */
.page-title { font-size: 3rem; margin: 0 0 1.5rem; }
.lead { font-size: 1.25rem; }

.prose { max-width: none; }
.prose h2 { font-size: 2.25rem; margin: 2.5rem 0 .5rem; }
.prose h3 { font-size: 1.5rem; margin: 2rem 0 .5rem; color: var(--purple); }
.prose p, .prose ul, .prose ol, .prose dl { font-size: 1.25rem; }
.prose .btn { font-size: .875rem; margin-top: 2.5rem; }
.disclaimer { font-size: 1rem !important; color: var(--muted); border-top: 1px solid #d5d5d5; padding-top: 1.25rem; }

/* Πλεονεκτήματα της μεθόδου */
.advantages { margin: 1.25rem 0 0; }
.advantages dt { font-weight: 700; color: var(--purple); margin-top: 1.25rem; }
.advantages dd { margin: .25rem 0 0; }

/* Σελίδες τεκμηρίωσης (προσβασιμότητα / χρηματοδότηση) */
.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: start;
}
.prose ul.ticks { list-style: none; padding: 0; }
.prose ul.ticks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .6rem;
}
.prose ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: .75rem; height: .75rem;
  border-radius: 50%;
  background: var(--purple);
}
.prose code, .prose kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  background: var(--grey-bg);
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: .1em .35em;
}
.text-center { text-align: center; }
.text-justify { text-align: justify; }

/* ============================================================
   Υπηρεσίες
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2.4375rem 0 2.8125rem;
  list-style: none;
  padding: 0;
}
.svc-card {
  background: var(--white);
  padding: 1.875rem;
  text-align: center;
}
.svc-icon {
  width: 5.5rem; height: 5.5rem;       /* 88px */
  margin: 0 auto;
  padding: 1.375rem;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-icon img { width: 100%; height: 100%; object-fit: contain; }
.svc-card h2 { font-size: 1.5rem; margin: 1.25rem 0 0; }
.svc-card p { margin: 1.25rem 0 0; }

.price-list {
  list-style: none;
  margin: 2.5625rem auto 0;
  padding: 0;
  font-size: 1.5rem;
  max-width: 26rem;
}
.price-list li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: .75rem;
  padding: .2rem 0;
}
.price-list .price-term { font-weight: 700; text-align: right; }
.price-list .price-arrow { color: var(--purple); }
.price-list .price-value { font-weight: 700; color: var(--purple); text-align: left; white-space: nowrap; }
.price-note { font-size: 1.5rem; font-weight: 700; color: var(--purple); margin-top: 2.5rem; }

/* ============================================================
   Επικοινωνία — ενσωματωμένο Calendly
   ============================================================ */
.booking { margin-top: 1.5rem; }
.booking-frame {
  min-width: 20rem;
  height: 43.75rem;
  border: 1px solid var(--lilac);
  background: var(--white);
}
.booking-fallback {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* ============================================================
   Χρηματοδότηση
   ============================================================ */
.poster-figure { margin: 0; }
.poster-figure img { border: 1px solid var(--lilac); display: block; }
.poster-figure figcaption { font-size: 1rem; color: var(--muted); margin-top: .9rem; line-height: 1.8; }
.a11y-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--grey-bg);
  border-left: 4px solid var(--purple);
  padding: 1.2rem 1.4rem;
  margin-top: 2rem;
}
.a11y-note img { width: 3rem; height: 3rem; flex: 0 0 auto; }
.a11y-note p { font-size: 1rem; margin: 0; }

/* ============================================================
   Συχνές ερωτήσεις — ακορντεόν <details>/<summary>
   Λειτουργεί πλήρως χωρίς JavaScript, με πληκτρολόγιο και
   αναγνώστες οθόνης (WCAG 2.1.1 / 4.1.2).
   ============================================================ */
.faq-list { margin: 2.5rem 0 3rem; }

.faq-item {
  border: 1px solid var(--lilac);
  border-radius: 10px;
  background: var(--white);
  margin-bottom: .75rem;
}
.faq-item + .faq-item { margin-top: .75rem; }

.faq-item > summary {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  cursor: pointer;
  padding: 1.125rem 3.25rem 1.125rem 1.25rem;
  position: relative;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  list-style: none;
  border-radius: 10px;
}
.faq-item > summary::-webkit-details-marker { display: none; }

.faq-num { color: var(--purple); flex: 0 0 auto; }

/* Δείκτης «+ / −» — η κατάσταση δηλώνεται και σημασιολογικά από το
   ίδιο το <details>, όχι μόνο οπτικά (WCAG 1.4.1). */
.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 1.5rem;
  width: 1rem;
  height: 1rem;
  background:
    linear-gradient(var(--purple), var(--purple)) center/100% 3px no-repeat,
    linear-gradient(var(--purple), var(--purple)) center/3px 100% no-repeat;
  transition: transform .25s var(--ease);
}
.faq-item[open] > summary::after {
  background: linear-gradient(var(--purple), var(--purple)) center/100% 3px no-repeat;
  transform: rotate(180deg);
}

.faq-item > summary:hover { background: var(--grey-bg); }
.faq-item[open] { border-color: var(--purple); }
.faq-item[open] > summary { color: var(--purple); }

.faq-answer { padding: 0 1.25rem 1.25rem; }
.faq-answer p { margin: 0 0 .75rem; font-size: 1.125rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0; padding-left: 1.25rem; font-size: 1.125rem; }
.faq-answer li { margin-bottom: .4rem; }

.faq-cta-text { text-align: center; font-weight: 700; margin-bottom: 1rem; }
.panel-actions-center { justify-content: center; }

/* ============================================================
   Πίνακες δεδομένων (πολιτική απορρήτου)
   ============================================================ */
.table-scroll { overflow-x: auto; margin: 1.25rem 0 1.75rem; }
.data-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 30rem;
  font-size: 1.0625rem;
}
.data-table th,
.data-table td {
  border: 1px solid var(--lilac);
  padding: .75rem .9375rem;
  text-align: left;
  vertical-align: top;
}
.data-table thead th { background: var(--purple); color: var(--white); }
.data-table tbody th { background: var(--grey-bg); font-weight: 700; }

.privacy-updated { font-size: 1rem !important; color: var(--muted); }

.toc { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: .5rem; }
.toc a { font-size: .9375rem; color: var(--purple); }

/* ============================================================
   Δήλωση συγκατάθεσης (δεδομένα υγείας)
   ============================================================ */
.consent {
  margin-top: 2rem;
  background: var(--grey-bg);
  border-left: 4px solid var(--purple);
  padding: 1.25rem 1.4rem;
}
.consent-title { font-size: 1.25rem; margin: 0 0 .5rem; color: var(--purple); }
.consent p { font-size: 1rem; margin: 0 0 .75rem; }
.consent-sample {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--lilac);
  padding: .875rem 1rem;
}
.consent-box {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: .2rem;
  border: 2px solid var(--purple);
  border-radius: 3px;
  background: var(--white);
}
.consent-note { margin-bottom: 0 !important; color: var(--muted); }

/* ============================================================
   Σελίδες σε αναμονή (Blog, Κριτικές)
   ============================================================ */
.pending-card {
  border: 1px solid var(--lilac);
  border-radius: 10px;
  background: var(--grey-bg);
  padding: 2rem;
  margin: 2rem auto 2.5rem;
  max-width: 46rem;
  text-align: left;
}
.pending-card p:last-child { margin-bottom: 0; }

/* ---------- Κάρτα κριτικής Google ---------- */
.review-cta {
  border: 1px solid var(--lilac);
  border-radius: 10px;
  background: var(--white);
  padding: 2rem;
  margin: 0 auto 2.5rem;
  max-width: 46rem;
  text-align: center;
}
.review-cta .review-stars {
  margin: 0 0 .5rem;
  color: var(--purple);
  font-size: 1.75rem;
  letter-spacing: .25rem;
  line-height: 1;
}
.review-cta h2 { font-size: 1.5rem; margin: 0 0 .75rem; }
.review-cta p { margin: 0 0 1.5rem; }
.review-cta .review-note {
  margin: 1.25rem 0 0;
  font-size: .9375rem;
  color: var(--muted);
}

/* ---------- Πλαϊνές κάρτες ---------- */
.aside-card {
  background: var(--grey-bg);
  border: 1px solid var(--lilac);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.aside-card h2 { font-size: 1.5rem; margin: 0 0 .75rem; }
.aside-card p { font-size: 1rem; margin: 0 0 1rem; line-height: 1.9; }
.aside-card .btn { width: 100%; }

/* ============================================================
   Υποσέλιδο
   ============================================================ */
.site-footer {
  background: var(--beige);
  color: var(--ink);
  text-align: center;
  padding-block: 3.6875rem 2rem;
}
.footer-logo { width: 9.5rem; height: 7.6875rem; object-fit: contain; margin-inline: auto; display: block; }
.footer-tag { font-weight: 700; margin: 1.875rem 0 0; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
  font-size: 1rem;
}
.footer-nav a { color: var(--purple); }

.footer-marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(17, 17, 17, .18);
  text-align: left;
}
.footer-mark {
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: 27rem;
  min-width: 0;
}
.footer-mark img { flex: 0 0 auto; }
.footer-mark p { font-size: .9375rem; line-height: 1.6; margin: 0; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(17, 17, 17, .18);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .4rem 1.5rem;
}
.footer-copy, .cb-credit { font-size: .875rem; margin: 0; }
.cb-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cb-credit a:hover { color: var(--purple-dark); }

/* ============================================================
   Widget προσβασιμότητας (κάτω δεξιά)
   ============================================================ */
.a11y-fab {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 150;
  width: 3.5rem; height: 3.5rem;
  padding: 0;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(46, 18, 48, .7);
  transition: transform .25s var(--ease);
}
.a11y-fab:hover { transform: scale(1.06); }
.a11y-fab img { width: 100%; height: 100%; border-radius: 50%; display: block; }

.a11y-panel {
  position: fixed;
  right: 1rem; bottom: 5.25rem;
  z-index: 151;
  width: min(21rem, calc(100vw - 2rem));
  max-height: min(34rem, calc(100vh - 7rem));
  overflow-y: auto;
  background: var(--white);
  border: 2px solid var(--purple);
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: 0 24px 60px -24px rgba(46, 18, 48, .7);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.3rem; font-weight: 700; color: var(--purple); margin: 0 0 .2rem; }
.a11y-panel > p { font-size: .875rem; color: var(--muted); margin: 0 0 1rem; }
.a11y-group { margin-bottom: 1.1rem; }
.a11y-group h3 {
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .5rem;
  font-weight: 700;
}
.a11y-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.a11y-btn {
  flex: 1 1 auto;
  min-height: 2.75rem;
  padding: .5rem .9rem;
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
  background: var(--grey-bg);
  border: 2px solid var(--muted);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.a11y-btn:hover { background: var(--beige); border-color: var(--purple); }
.a11y-btn[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: var(--white); }
.a11y-scale { font-size: .875rem; color: var(--muted); text-align: center; margin: .5rem 0 0; }
.a11y-panel-close { width: 100%; margin-top: .4rem; }
.a11y-panel-link {
  display: inline-block;
  margin-top: .8rem;
  font-size: .9375rem;
  color: var(--purple);
}

/* ---- Λειτουργίες που ενεργοποιεί ο χρήστης ---- */
body.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }

body.a11y-contrast {
  --purple: #000000;
  --purple-dark: #000000;
  --lilac: #000000;
  --lilac-btn: #000000;
  --lilac-btn-hover: #000000;
  --beige: #ffffff;
  --grey-bg: #ffffff;
  --heading: #000000;
  --muted: #000000;
  --ink: #000000;
  --focus: #000000;
}
body.a11y-contrast .site-footer { background: #ffffff; border-top: 2px solid #000000; }
body.a11y-contrast .nav-link,
body.a11y-contrast .btn,
body.a11y-contrast .a11y-btn,
body.a11y-contrast .panel,
body.a11y-contrast .aside-card,
body.a11y-contrast .faq-item,
body.a11y-contrast .pending-card,
body.a11y-contrast .review-cta,
body.a11y-contrast .consent-sample,
body.a11y-contrast .svc-card { border: 2px solid #000000; }
body.a11y-contrast .btn,
body.a11y-contrast .nav-link[aria-current="page"],
body.a11y-contrast .nav-link.nav-cta,
body.a11y-contrast .data-table thead th,
body.a11y-contrast .svc-icon { background: #000000; color: #ffffff; }
body.a11y-contrast .faq-num,
body.a11y-contrast .faq-item[open] > summary,
body.a11y-contrast .consent-title,
body.a11y-contrast .review-stars { color: #000000; }
body.a11y-contrast .faq-item > summary::after {
  background:
    linear-gradient(#000000, #000000) center/100% 3px no-repeat,
    linear-gradient(#000000, #000000) center/3px 100% no-repeat;
}
body.a11y-contrast .faq-item[open] > summary::after {
  background: linear-gradient(#000000, #000000) center/100% 3px no-repeat;
}
body.a11y-contrast .data-table th,
body.a11y-contrast .data-table td { border-color: #000000; }
body.a11y-contrast .consent,
body.a11y-contrast .a11y-note { border-left-color: #000000; }
body.a11y-contrast .hero {
  background-image: linear-gradient(rgba(0, 0, 0, .88), rgba(0, 0, 0, .88)), var(--hero-img);
}
body.a11y-contrast img:not(.a11y-keep) { filter: grayscale(1) contrast(1.2); }
body.a11y-contrast .a11y-fab img { filter: none; }

body.a11y-noanim *,
body.a11y-noanim *::before,
body.a11y-noanim *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.a11y-noanim .reveal { opacity: 1 !important; transform: none !important; }

/* ============================================================
   Εμφάνιση κατά την κύλιση (αντίστοιχο του customAnimationIn)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   Αποκρίσεις — σημεία θραύσης σε em, ώστε το layout να
   αναδιατάσσεται σωστά και στο zoom 200% (WCAG 1.4.4 / 1.4.10)
   ============================================================ */

/* lg — έως 1199px */
@media (max-width: 74.9375em) {
  :root { --sheet: 58.75rem; }          /* 940px */
  h1 { font-size: 3.75rem; }
  .hero .sheet { min-height: 54.3125rem; }
  .banner { min-height: 29.875rem; }
  .header-inner { justify-content: center; }
  .main-nav { margin-left: 0; width: 100%; }
  .nav-list { justify-content: center; }
  .footer-logo { width: 9.5rem; }
}

/* md — έως 991px: εναλλαγή σε μενού κινητού */
@media (max-width: 61.9375em) {
  :root { --sheet: 45rem; }             /* 720px */
  .header-inner { min-height: 5.5rem; justify-content: space-between; flex-wrap: nowrap; }
  .hero .sheet { min-height: 41.625rem; }
  .hero-sub { font-size: 1.5rem; }
  .banner { min-height: 22.875rem; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(85vw, 22rem);
    margin: 0;
    padding: 4.5rem 1.5rem 2rem;
    background: var(--purple);
    overflow-y: auto;
    transform: translateX(100%);
    /* κρίσιμο: χωρίς visibility:hidden η εστίαση «χάνεται» εκτός οθόνης */
    visibility: hidden;
    /* Το visibility αλλάζει ακαριαία στο άνοιγμα (ώστε το first.focus() να
       πετύχει) και με καθυστέρηση στο κλείσιμο, μετά το slide-out. */
    transition: transform .35s var(--ease), visibility 0s linear .35s;
    z-index: 110;
  }
  .nav-open .main-nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform .35s var(--ease), visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: .9375rem; }
  .main-nav .nav-link {
    /* συμπαγές λευκό: rgba(...,.55) έδινε 2.97:1 στο μωβ, κάτω από το 3:1 */
    border-color: var(--white);
    color: var(--white);
    font-size: 1.125rem;
    padding: .625rem .9375rem;
    text-align: center;
  }
  /* Στο μενού κινητού το CTA αντιστρέφεται για να ξεχωρίζει από το μωβ φόντο. */
  .main-nav .nav-link.nav-cta {
    background: var(--white);
    border-color: var(--white);
    color: var(--purple);
  }
  .main-nav .nav-link:hover,
  .main-nav .nav-link:focus,
  .main-nav .nav-link[aria-current="page"] {
    background: var(--white);
    border-color: var(--white);
    color: var(--purple);
  }
  .main-nav .nav-link:focus-visible { outline-color: var(--focus-light); }
  .nav-panel-logo { display: block; width: 6.5rem; margin: 4rem auto 0; }

  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* sm — έως 767px */
@media (max-width: 47.9375em) {
  .faq-item > summary { font-size: 1.125rem; padding-right: 2.75rem; }
  .pending-card { padding: 1.5rem; }
  .consent { padding: 1rem; }
  :root { --sheet: 33.75rem; }          /* 540px */
  body { font-size: 1rem; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.875rem; }
  .hero .sheet { min-height: 31.25rem; }
  .hero-title { font-size: 3.75rem; }
  .hero-sub { font-size: 1.25rem; }
  .banner { min-height: 17.1875rem; }
  .prose p, .prose ul, .prose ol, .prose dl, .lead { font-size: 1rem; }
  .contact-list, .contact-hours { font-size: 1.125rem; }
  .duo, .duo-1-2 { grid-template-columns: minmax(0, 1fr); }
  .duo > * { padding: 1.875rem .625rem; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-card { padding: 1.875rem .625rem; }
  .price-list, .price-note { font-size: 1.3333rem; }
  .text-justify { text-align: left; }
  .footer-marks { justify-content: flex-start; }
  .booking-frame { height: 46rem; }
}

/* xs — έως 575px */
@media (max-width: 35.9375em) {
  :root { --sheet: 21.25rem; }          /* 340px */
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
  .hero .sheet { min-height: 21.4375rem; }
  .hero-title { font-size: 1.875rem; }
  .hero-sub { font-size: 1.125rem; }
  .hero .btn { margin-top: 2.5rem; }
  .banner { min-height: 10.8125rem; }
  .brand-logo { width: 4.9375rem; height: 4.75rem; }
  .brand-text { font-size: .75rem; }
  .header-inner { gap: .5rem; }
  .brand { gap: .5rem; }
  .nav-toggle { width: 2.75rem; height: 2.75rem; }
  .page-title { font-size: 2.25rem; }
  .section-title { font-size: 1.5rem; }
  .portrait { width: 13.5rem; height: 13.5rem; }
  .price-list { font-size: 1.125rem; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   Μειωμένη κίνηση, εκτύπωση, forced-colors
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .a11y-fab, .a11y-panel, .nav-toggle, .nav-overlay, .banner { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { background: none; color: #000; }
  .hero-title, .hero-sub { color: #000; text-shadow: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}

@media (forced-colors: active) {
  .btn, .nav-link, .a11y-btn, .svc-card, .panel, .aside-card { border: 2px solid ButtonText; }
  .portrait, .svc-icon { border: 1px solid CanvasText; }
}
