/* ==========================================================================
   Ομάδα APE — Agricultural and Productive Entomology Group
   Εργαστήριο Σηροτροφίας & Μελισσοκομίας, Γεωπονικό Πανεπιστήμιο Αθηνών
   --------------------------------------------------------------------------
   Χρώματα από το λογότυπο (μαύρο / χρυσό). Όλα τα χρώματα ορίζονται
   εδώ, στο :root — αλλάξτε τα εδώ για να αλλάξουν παντού.
   ========================================================================== */

:root {
  /* Σκούρες επιφάνειες */
  --ink: #0d0c0a;
  --ink-2: #16140f;
  --ink-3: #221e16;
  --ink-line: rgba(227, 190, 107, 0.16);

  /* Χρυσό του λογότυπου */
  --gold: #e3be6b;
  --gold-soft: #f1dca6;
  --gold-deep: #7a5a14;          /* χρυσό για κείμενο πάνω σε ανοιχτό φόντο */
  --gold-tint: #f6ecd2;

  /* Ανοιχτές επιφάνειες */
  --paper: #faf7f0;
  --paper-2: #f3eee2;
  --card: #ffffff;
  --line: #e5dcc8;

  /* Κείμενο */
  --text: #1f1c16;
  --muted: #5b5446;
  --on-dark: #efe9dc;
  --on-dark-muted: #b9b09d;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(31, 28, 22, .05), 0 8px 24px -12px rgba(31, 28, 22, .18);
  --shadow-lg: 0 2px 4px rgba(31, 28, 22, .05), 0 24px 48px -20px rgba(31, 28, 22, .28);

  --font-sans: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Noto Serif Display", "Noto Serif", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --header-h: 72px;
}

/* ---------- Βάση ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Κεφαλίδα / πλοήγηση ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 12, 10, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(13, 12, 10, .97); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); min-width: 0; }
.brand img { width: 40px; height: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-title { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--gold); letter-spacing: .02em; line-height: 1.15; }
.brand-sub { font-size: .72rem; color: var(--on-dark-muted); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--on-dark); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--gold); background: rgba(227, 190, 107, .08); }
.nav a.is-active { color: var(--gold); }
.lang-switch {
  margin-left: 8px; border: 1px solid var(--ink-line); color: var(--gold) !important;
  font-weight: 600 !important; letter-spacing: .04em; font-size: .8rem !important;
}
.lang-switch:hover { border-color: var(--gold); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--ink-line); border-radius: 10px;
  width: 44px; height: 44px; color: var(--gold); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--ink-line); font-size: 1rem; }
  .nav a:hover { background: none; }
  .lang-switch { margin: 16px 0 0; text-align: center; border-radius: 999px !important; border: 1px solid var(--ink-line) !important; }
}
@media (max-width: 420px) { .brand-sub { display: none; } }

/* ---------- Κουμπιά ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { color: var(--gold); border-color: rgba(227, 190, 107, .45); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); background: rgba(227, 190, 107, .08); }
.btn-outline { color: var(--text); border-color: var(--line); background: var(--card); }
.btn-outline:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-dark);
  padding: 72px 0 88px;
}
.hero::before {                      /* κηρήθρα στο φόντο */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.4L28 64.8 0 48.6V16.2zM28 64.8 56 81v32.4M28 64.8 0 81v32.4' fill='none' stroke='%23e3be6b' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(227, 190, 107, .14) 0%, transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.01em; margin: 18px 0 6px; color: #fff;
}
.hero h1 .gold { color: var(--gold); }
.hero-en { font-size: clamp(.9rem, 1.6vw, 1.05rem); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 26px; }
.hero-lead { font-size: 1.12rem; color: var(--on-dark); max-width: 60ch; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 44px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink-line); padding-top: 26px; max-width: 620px; }
.stat { padding-right: 16px; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--ink-line); }
.stat-num { display: block; font-family: var(--font-serif); font-size: 2.1rem; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { display: block; font-size: .8rem; color: var(--on-dark-muted); margin-top: 8px; line-height: 1.35; }
.hero-logo { display: flex; justify-content: center; }
.hero-logo img { width: min(100%, 420px); filter: drop-shadow(0 20px 50px rgba(227, 190, 107, .12)); }

@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-logo { order: -1; }
  .hero-logo img { width: min(62vw, 280px); }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .stats { margin: 0 auto; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- Ενότητες ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--gold-deep); }
.section-dark .section-head .eyebrow { color: var(--gold); }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); margin: 14px 0 14px; letter-spacing: -.01em; }
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-head p { color: var(--on-dark-muted); }
@media (max-width: 640px) { .section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Η ομάδα / ερευνητικά πεδία ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; margin-bottom: 64px; }
.about-grid .section-head { margin: 0; }
.about-text p { color: var(--muted); }
.about-text p:first-child { color: var(--text); font-size: 1.14rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; } }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .areas { grid-template-columns: 1fr; } }
.area {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d9c69a; }
.hex-icon {
  width: 54px; height: 60px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--ink); color: var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hex-icon svg { width: 26px; height: 26px; }
.area h3 { font-size: 1.15rem; margin-bottom: 10px; }
.area p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Μέλη ---------- */
.lead-member {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start;
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg);
  padding: 40px; margin-bottom: 24px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.lead-member::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(227, 190, 107, .12), transparent 65%); pointer-events: none;
}
.lead-member .role { color: var(--gold); }
.lead-member .affil { color: var(--on-dark-muted); }
.lead-member .member-summary { color: var(--on-dark); opacity: .9; }
.lead-member .avatar { width: 128px; height: 144px; font-size: 2.3rem; background: var(--gold); color: var(--ink); }
.lead-member details { border-color: var(--ink-line); }
.lead-member details .bio { color: var(--on-dark-muted); }
.lead-member summary { color: var(--gold); }
.lead-member .tags li { background: rgba(227, 190, 107, .1); color: var(--gold-soft); border-color: var(--ink-line); }
@media (max-width: 700px) {
  .lead-member { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .lead-member .avatar { width: 96px; height: 108px; font-size: 1.8rem; }
}

.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
@media (max-width: 380px) { .members { grid-template-columns: 1fr; } }
.member {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.member-top { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.avatar {
  flex-shrink: 0; width: 64px; height: 72px; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .02em;
  background: var(--ink); color: var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3, .lead-member h3 { font-size: 1.2rem; margin-bottom: 4px; }
.lead-member h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.9rem; color: #fff; }
.role { display: block; font-size: .88rem; font-weight: 600; color: var(--gold-deep); line-height: 1.4; }
.affil { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.member-summary { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }
.tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .76rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--gold-tint); color: #5c4410; border: 1px solid #ecdcb2; }
.member details { margin-top: auto; }
details { border-top: 1px solid var(--line); padding-top: 12px; }
summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: .9rem; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
.bio { font-size: .95rem; color: var(--muted); padding-top: 10px; }
.bio p:last-child { margin-bottom: 0; }

/* ---------- Ερευνητικά έργα ---------- */
.project-groups { display: grid; gap: 48px; }
.project-group h3 {
  display: flex; align-items: center; gap: 14px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 600;
}
.project-group h3::after { content: ""; flex: 1; height: 1px; background: var(--ink-line); }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
@media (max-width: 400px) { .projects { grid-template-columns: 1fr; } }
.project {
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color .25s, transform .25s;
}
.project:hover { border-color: rgba(227, 190, 107, .45); transform: translateY(-2px); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge { font-size: .74rem; font-weight: 600; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; background: rgba(227, 190, 107, .12); color: var(--gold); border: 1px solid var(--ink-line); }
.badge-plain { background: transparent; color: var(--on-dark-muted); }
.project-acronym { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; line-height: 1.1; }
.project-title { color: var(--on-dark); opacity: .88; font-size: .98rem; margin: 0; }

/* ---------- Δημοσιεύσεις ---------- */
.pub-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 320px; max-width: 460px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; font: inherit; font-size: .98rem; padding: 13px 16px 13px 46px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text);
}
.search input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(227, 190, 107, .3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: .86rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--text); transition: all .2s;
}
.chip:hover { border-color: var(--gold-deep); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.pub-count { font-size: .88rem; color: var(--muted); margin: 0 0 18px; }
.pub-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pub {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  transition: border-color .2s, box-shadow .2s;
}
.pub:hover { border-color: #d9c69a; box-shadow: var(--shadow); }
.pub-year {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--gold-deep);
  border-right: 1px solid var(--line); padding-right: 14px; line-height: 1.5; font-variant-numeric: tabular-nums;
}
.pub-authors { font-size: .9rem; color: var(--muted); margin: 0 0 4px; }
.pub-authors strong { color: var(--text); font-weight: 600; }
.pub-text { margin: 0; font-size: .98rem; }
.pub-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: .82rem; font-weight: 600; color: var(--gold-deep); text-decoration: none;
  border: 1px solid #ecdcb2; background: var(--gold-tint); padding: 4px 12px; border-radius: 999px;
}
.pub-link:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pub-link svg { width: 13px; height: 13px; }
.pub-more { text-align: center; margin-top: 28px; }
.pub-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.pub-note { font-size: .85rem; color: var(--muted); margin-top: 22px; }
mark { background: #f7e3a8; color: inherit; padding: 0 1px; border-radius: 2px; }
@media (max-width: 560px) {
  .pub { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .pub-year { border-right: 0; padding-right: 0; font-size: 1rem; }
  .chips { gap: 6px; }
}

/* ---------- Επικοινωνία ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact-list .hex-icon { width: 40px; height: 44px; margin: 0; background: rgba(227, 190, 107, .12); }
.contact-list .hex-icon svg { width: 18px; height: 18px; }
.contact-label { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 2px; }
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--ink-line); }
.contact-list a:hover { color: var(--gold); border-color: var(--gold); }
.contact-value { color: #fff; }
.todo { background: rgba(255, 120, 80, .18); color: #ffb49c; border: 1px dashed #ff8a65; padding: 0 6px; border-radius: 4px; }
.map {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ink-line); min-height: 340px;
  background: var(--ink-2); position: relative;
}
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.map-link { position: absolute; right: 12px; bottom: 12px; font-size: .8rem; background: var(--ink); color: var(--gold); padding: 6px 12px; border-radius: 999px; text-decoration: none; border: 1px solid var(--ink-line); }

/* ---------- Υποσέλιδο ---------- */
.site-footer { background: #080706; color: var(--on-dark-muted); padding: 44px 0 36px; border-top: 1px solid var(--ink-line); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 48px; }
.footer-brand strong { display: block; color: var(--gold); font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ink-line); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Κουμπί «πάνω» ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--gold); border: 1px solid var(--ink-line);
  box-shadow: var(--shadow-lg); text-decoration: none; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Εμφάνιση κατά την κύλιση (μόνο όταν τρέχει JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Εκτύπωση ---------- */
@media print {
  .site-header, .to-top, .map, .pub-toolbar, .pub-more, .hero::before, .hero::after { display: none !important; }
  .hero, .section-dark, .lead-member, .project { background: #fff !important; color: #000 !important; }
  details { display: block; } details > * { display: block; }
}
