/*
Theme Name: Diep
Description: Νέο θέμα για το Διεπιστημονικό Θεραπευτικό Κέντρο Βέροιας. Χαρούμενο και καθαρό, κρατά όλο το περιεχόμενο του Jupiter.
Version: 1.2.1
Requires PHP: 7.4
Text Domain: diep
*/

:root {
  --orange: #ea5a1c;
  --orange-dark: #cf4810;
  --orange-soft: #fde6da;
  --teal: #2a9d8f;
  --mint: #d7f0ea;
  --butter: #ffefb8;
  --lilac: #ebe6ff;
  --violet: #6c5ce7;
  --sky: #dceefc;
  --rose: #ffe1e6;
  --ink: #23304a;
  --muted: #667085;
  --cream: #fff9f3;
  --line: #f0e6dc;
  --round: "Comfortaa", "Noto Sans", sans-serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--round); font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: -.01em; color: var(--ink); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.center { text-align: center; margin-top: 36px; }

/* ---------------- Top bar ---------------- */
.topbar { background: var(--ink); color: #d9deea; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ffd36b; margin-right: 6px; vertical-align: middle; }

/* ---------------- Header & menu ---------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.admin-bar .site-header { top: 32px; }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(35,48,74,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { flex: none; }
.brand img { height: 70px; width: auto; display: block; mix-blend-mode: multiply; filter: brightness(1.12) contrast(1.2); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: block; padding: 10px 12px; color: var(--ink); font-size: .92rem; font-weight: 500; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap; }
.main-nav .menu > li > a:hover, .main-nav .menu > li.current-menu-item > a, .main-nav .menu > li.current-menu-ancestor > a { background: var(--orange-soft); color: var(--orange-dark); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 12px; position: absolute; left: 0; top: calc(100% + 8px); min-width: 270px; background: #fff; border-radius: 20px; box-shadow: 0 24px 48px rgba(35,48,74,.14); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 10; }
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.main-nav .menu > li:hover > .sub-menu, .main-nav .menu > li:focus-within > .sub-menu, .main-nav .menu > li.sub-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu:has(> li:nth-child(9)) { display: grid; grid-template-columns: 1fr 1fr; min-width: 560px; column-gap: 6px; }
.main-nav .menu > li:nth-last-child(-n+4) > .sub-menu { left: auto; right: 0; }
.main-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 12px; color: var(--ink); font-size: .9rem; line-height: 1.4; }
.main-nav .sub-menu a:hover { background: var(--cream); color: var(--orange-dark); }
.sub-toggle { display: none; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; box-shadow: 0 8px 20px rgba(234,90,28,.25); transition: transform .2s, background .2s; border: 0; cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-soft { background: #fff; color: var(--ink); box-shadow: 0 0 0 1.5px var(--line) inset; }
.btn-soft:hover { background: var(--cream); color: var(--ink); }
.btn-white { background: #fff; color: var(--orange); box-shadow: none; }
.btn-white:hover { background: #fff; color: var(--orange-dark); }

/* ---------------- Color helpers ---------------- */
.c-orange { --bg: var(--orange-soft); --fg: var(--orange); }
.c-teal { --bg: var(--mint); --fg: var(--teal); }
.c-lilac { --bg: var(--lilac); --fg: var(--violet); }
.c-butter { --bg: var(--butter); --fg: #c98a00; }
.c-sky { --bg: var(--sky); --fg: #2f80c9; }
.c-rose { --bg: var(--rose); --fg: #e0607e; }
.t-orange { color: var(--orange); } .t-teal { color: var(--teal); } .t-lilac { color: var(--violet); }
.bg-orange { background: var(--orange); } .bg-teal { background: var(--teal); } .bg-lilac { background: var(--violet); }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: var(--cream); overflow: hidden; padding: 64px 0 110px; }
.hero-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.hero-top h1 { margin-bottom: 0; }
.hero-side .lead { margin-bottom: 26px; }
/* The centre's photo, shown whole in a wide rounded frame */
.hero-photo { position: relative; }
.hero-photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 1920 / 800; object-fit: cover; border-radius: 36px; box-shadow: 0 30px 60px rgba(35,48,74,.15); }
.hero-photo-bg { position: absolute; z-index: 0; inset: 22px -14px -16px 26px; border-radius: 40px; background: var(--orange-soft); transform: rotate(1.2deg); }
.hero-photo .float { z-index: 2; }
.hero-photo .f1 { left: -18px; bottom: 34px; top: auto; }
.hero-photo .f2 { right: -14px; top: 28px; left: auto; }
.stats-card { position: absolute; z-index: 2; right: 40px; bottom: -34px; display: flex; gap: 28px; background: #fff; border-radius: 22px; padding: 16px 26px; box-shadow: 0 18px 36px rgba(35,48,74,.14); }
.stats-card strong { display: block; font-family: var(--round); font-size: 1.5rem; line-height: 1.2; }
.stats-card span { font-size: .8rem; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px; font-size: .85rem; color: var(--teal); font-weight: 600; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 22px 0 18px; }
.hl { color: var(--orange); position: relative; white-space: nowrap; }
.hl svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.stats strong { display: block; font-family: var(--round); font-size: 1.8rem; }
.stats span { font-size: .85rem; color: var(--muted); }
.hero-visual { position: relative; }
.blob { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 30px 60px rgba(35,48,74,.15); }
.blob img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float { position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 14px 30px rgba(35,48,74,.12); font-size: .85rem; display: flex; align-items: center; gap: 10px; animation: bob 5s ease-in-out infinite; line-height: 1.35; }
.float small { color: var(--muted); }
.float .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; }
.float.f1 { left: -24px; bottom: 60px; }
.float.f2 { right: -10px; top: 40px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.deco { position: absolute; pointer-events: none; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; }

/* ---------------- Sections ---------------- */
.sec { padding: 100px 0; position: relative; }
.sec-tight { padding-top: 0; }
.head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--teal); background: var(--mint); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.eyebrow-white { background: #fff; }
.head h2, .about h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.head p { color: var(--muted); margin: 14px 0 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { display: block; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 32px 28px; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; color: var(--ink); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(35,48,74,.09); color: var(--ink); }
.svc .ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px; background: var(--bg); color: var(--fg); }
.svc h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc p { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }
.svc .more { font-weight: 600; font-size: .9rem; color: var(--orange); }
.svc::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--bg); opacity: .5; }

/* Ages */
.who { background: var(--sky); border-radius: 40px; margin: 0 24px; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.who-card { background: #fff; border-radius: 26px; padding: 30px; }
.age { display: inline-block; font-family: var(--round); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: .84rem; padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); transition: all .2s; }
.tags a:hover { border-color: var(--orange); color: var(--orange-dark); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about h2 { margin-bottom: 20px; }
.about p { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { border-radius: 22px; padding: 24px; background: var(--bg); }
.value .emo { font-size: 1.6rem; }
.value h3 { font-size: 1.02rem; margin: 10px 0 6px; }
.value p { margin: 0; font-size: .9rem; color: #4b5563; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 10px 24px; position: relative; }
.step .n { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-family: var(--round); font-weight: 700; font-size: 1.6rem; color: #fff; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -12%; width: 24%; border-top: 2px dashed #f3c7b3; }

/* Team */
.team-section { background: var(--cream); }
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filters button { font: inherit; font-size: .9rem; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px 22px; }
.member { text-align: center; }
.member.hide { display: none; }
.member .ph { width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 50%; padding: 6px; background: var(--ring, #bcdcf7); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; display: block; }
.g-logo { --ring: #fbc4ab; } .g-ergo { --ring: #9fd9cc; } .g-psy { --ring: #c9bfff; } .g-eid { --ring: #ffd36b; } .g-dioik { --ring: #bcdcf7; }
a.member { display: block; color: var(--ink); border-radius: 24px; padding: 10px 6px 14px; transition: background .2s, transform .2s; }
a.member:hover { background: #fff; color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 30px rgba(35,48,74,.08); }
.member span { display: block; }
.member-more { display: block; font-style: normal; font-size: .82rem; font-weight: 600; color: var(--orange); margin-top: 4px; opacity: 0; transition: opacity .2s; }
a.member:hover .member-more, a.member:focus .member-more { opacity: 1; }
@media (hover: none) { .member-more { opacity: 1; } }
/* Βιογραφικό μέλους */
.bio { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
.bio-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--cream); border: 1px solid var(--line); border-radius: 30px; padding: 30px 26px; text-align: center; }
.bio-card .member .ph { width: 200px; height: 200px; }
.bio-card .member .ph img { width: 100%; height: 100%; object-fit: cover; }
.bio-card h2 { font-size: 1.35rem; margin: 6px 0 4px; }
.bio-role { color: var(--teal); font-weight: 600; margin: 0 0 18px; }
.bio-back { margin-top: 2em; font-weight: 600; }
@media (max-width: 900px) { .bio { grid-template-columns: 1fr; gap: 30px; } .bio-card { position: static; } }
.member h3 { font-family: var(--sans); font-size: .98rem; font-weight: 600; }
.member span { font-size: .86rem; color: var(--muted); }

/* Cards (articles) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(35,48,74,.09); color: var(--ink); }
.card-img { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--orange-soft), var(--butter)); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 22px 24px 26px; display: block; }
.card-body small { color: var(--teal); font-weight: 600; font-size: .8rem; }
.card-body h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.card-body p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Banner */
.banner { background: var(--orange); color: #fff; border-radius: 32px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.banner h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); max-width: 640px; color: #fff; }
.banner p { margin: 8px 0 0; opacity: .9; }
.banner::before, .banner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.banner::before { width: 220px; height: 220px; right: -60px; top: -90px; }
.banner::after { width: 120px; height: 120px; left: 38%; bottom: -70px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.contact-card { background: var(--ink); color: #fff; border-radius: 30px; padding: 40px; }
.contact-card h3 { font-size: 1.4rem; margin-bottom: 20px; color: #fff; }
.contact-card a:not(.btn) { color: #fff; }
.ci { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ci .ic { width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.ci small { display: block; color: #aab3c5; font-size: .78rem; }
.contact-card .btn { margin-top: 26px; }
.map { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 30px; display: block; }

/* ---------------- Inner pages ---------------- */
.page-hero { position: relative; background: var(--cream); padding: 50px 0 90px; overflow: hidden; }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 820px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--orange); }
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 30px; padding-bottom: 90px; align-items: start; }
.page-body.is-wide { grid-template-columns: minmax(0, 1fr); }
.entry-thumb { margin: 0 0 30px; border-radius: 26px; overflow: hidden; }
.entry-thumb img { display: block; width: 100%; }
.entry-content { font-size: 1.04rem; color: #333c4e; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.6em 0 .6em; }
.entry-content h2 { font-size: 1.6rem; } .entry-content h3 { font-size: 1.3rem; } .entry-content h4 { font-size: 1.1rem; }
.entry-content p { margin: 0 0 1.1em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--orange); }
.entry-content img { border-radius: 18px; }
.entry-content blockquote { margin: 1.5em 0; padding: 18px 24px; background: var(--cream); border-left: 4px solid var(--orange); border-radius: 0 18px 18px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 8px 12px; }
.entry-content iframe { max-width: 100%; border-radius: 18px; }
/* Visual Composer / Jupiter content inside the new layout */
.entry-content .vc_row { margin-left: 0 !important; margin-right: 0 !important; }
.entry-content .wpb_wrapper > *:last-child { margin-bottom: 0; }
.entry-content .mk-fancy-title, .entry-content .mk-padding-divider { margin: 0 !important; padding: 0 !important; }

.side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { background: var(--cream); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.side-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.side-card.cta { background: var(--orange); color: #fff; border: 0; }
.side-card.cta h3 { color: #fff; margin: 8px 0 6px; }
.side-card.cta p { margin: 0 0 18px; opacity: .92; font-size: .95rem; }
.side-card.cta small { display: block; margin-top: 14px; opacity: .85; font-size: .8rem; }
.side-card .emo { font-size: 1.8rem; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px dashed var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: block; padding: 9px 0; color: var(--ink); font-size: .93rem; line-height: 1.4; }
.side-list a:hover { color: var(--orange-dark); }

.list-body { padding-top: 30px; padding-bottom: 90px; }
.pager { margin-top: 44px; text-align: center; }
.pager .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { color: var(--muted); font-size: 1.1rem; }

/* ---------------- Παλιό περιεχόμενο Jupiter / Visual Composer ---------------- */
.dc-section + .dc-section { margin-top: 28px; }
.dc-row { display: flex; flex-wrap: wrap; gap: 0 36px; align-items: flex-start; }
.dc-col { flex: 1 1 calc(var(--w, 100%) - 36px); min-width: 0; }
.dc-col[style*="--w:100%"] { flex-basis: 100%; }
.dc-text > *:last-child { margin-bottom: 0; }
.dc-space { display: block; }
.dc-divider { border: 0; border-top: 2px dashed var(--line); margin: 28px 0; }
.dc-otitle { text-align: center; font-size: 1.6rem; margin: 6px 0 26px !important; }
.dc-otitle span { display: inline-block; position: relative; padding: 0 0 14px; }
.dc-otitle span::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 6px; margin-left: -28px; border-radius: 6px; background: linear-gradient(90deg, var(--orange) 0 33%, #ffd36b 33% 66%, var(--teal) 66%); }
.dc-ftitle { font-size: 1.35rem; margin: 1.2em 0 .6em !important; }
.dc-ftitle.dc-center { text-align: center; } .dc-ftitle.dc-right { text-align: right; }
.dc-image { margin: 0 0 1.2em; }
.dc-image img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 16px 34px rgba(35,48,74,.1); }
.dc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 0 0 1.2em; }
.dc-gallery a { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.dc-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; transition: transform .4s; }
.dc-gallery a:hover img { transform: scale(1.05); }
.dc-list ul { list-style: none; padding-left: 0; }
.dc-list li { position: relative; padding-left: 28px; }
.dc-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange-soft); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--orange); }
.dc-table { overflow-x: auto; }
.dc-note { background: var(--mint); border-radius: 18px; padding: 16px 20px; margin: 0 0 1.2em; }
.dc-note.dc-err { background: var(--rose); }
.dc-box { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; margin: 0 0 1em; }
.dc-box h3 { font-size: 1.1rem; margin: 0 0 6px !important; }
.dc-acc { margin: 0 0 1.2em; display: grid; gap: 10px; }
.dc-acc-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; }
.dc-acc-item summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; }
.dc-acc-item summary::after { content: "+"; float: right; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.dc-acc-item[open] summary::after { content: "–"; }
.dc-acc-item > div { padding-bottom: 16px; }
.dc-bars { display: grid; gap: 14px; margin: 0 0 1.2em; }
.dc-bar span { display: block; font-size: .92rem; margin-bottom: 4px; }
.dc-bar i { display: block; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--orange), #ffb38f); }
.dc-map { min-height: 380px; margin: 0 0 1.2em; }
.dc-cards { margin: 10px 0 1.2em; }
.entry-content .card-body h3 { margin: 6px 0 8px; }
.entry-content .team { margin-bottom: 1.2em; }
.entry-content .member h3 { margin: 0; }
.dc-form { display: grid; gap: 14px; max-width: 720px; margin: 0 0 1.2em; }
.dc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dc-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.dc-form input[type=text], .dc-form input[type=tel], .dc-form input[type=email], .dc-form textarea { font: inherit; font-weight: 400; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); }
.dc-form input:focus, .dc-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.dc-check { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; }
.dc-form .btn { justify-self: start; }
.dc-hp { position: absolute; left: -9999px; }
@media (max-width: 700px) {
  .dc-col { flex-basis: 100%; }
  .dc-form-row { grid-template-columns: 1fr; }
}

/* ---------------- Ελλάδα 2.0 / χρηματοδότηση ---------------- */
.funding { background: #fff; padding: 30px 0 70px; border-top: 1px solid var(--line); }
.funding .wrap { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
.funding img { display: block; width: 300px; max-width: 100%; height: auto; }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; background: #1b2539; color: #aab3c5; padding: 90px 0 0; font-size: .92rem; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer a:not(.btn) { color: #fff; }
.site-footer a:not(.btn):hover { color: #ffd36b; }
.f-title { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 6px; }
.socials a { margin-right: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; padding-bottom: 24px; font-size: .82rem; }

.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: #fff; place-items: center; font-size: 1.4rem; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.call-fab:hover { color: #fff; }

/* ---------------- Reveal ---------------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } .float { animation: none; } html { scroll-behavior: auto; } }

/* ---------------- Responsive ---------------- */
/* Wide screens: one row; the header is a bit wider than the content so menu + button fit */
.site-header .wrap { max-width: 1600px; }
@media (max-width: 1660px) { .header-actions .btn-sm { display: none; } }
/* Computers with narrower screens: the menu moves to its own row under the logo, always visible */
@media (max-width: 1380px) {
  .header-actions .btn-sm { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 4px; }
  .brand img { height: 62px; }
  .main-nav { order: 3; width: 100%; border-top: 1px solid var(--line); }
  .main-nav .menu { justify-content: center; padding: 6px 0; }
  .main-nav .menu > li > a { padding: 9px 9px; font-size: .9rem; }
}
/* Tablets & phones: ☰ menu */
@media (max-width: 991px) {
  .site-header .wrap { flex-wrap: nowrap; height: var(--header-h); padding-top: 0; }
  .main-nav { order: 0; width: auto; border-top: 0; }
  .main-nav .menu { justify-content: flex-start; padding: 0; }
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + 34px) 0 0 0; background: #fff; overflow-y: auto; padding: 16px 24px 40px; transform: translateX(100%); transition: transform .3s; z-index: 49; }
  .admin-bar .main-nav { top: calc(var(--header-h) + 34px + 46px); }
  .nav-open .main-nav { transform: none; }
  .nav-open { overflow: hidden; }
  .main-nav .menu { flex-direction: column; gap: 0; }
  .main-nav .menu > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .main-nav .menu > li > a { flex: 1; padding: 14px 4px; border-radius: 0; font-size: 1rem; }
  .main-nav .menu > li > a:hover { background: none; }
  .main-nav .menu-item-has-children > a::after { display: none; }
  .sub-toggle { display: block; width: 40px; height: 40px; border: 0; background: var(--cream); border-radius: 12px; cursor: pointer; position: relative; }
  .sub-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .sub-open > .sub-toggle::after { transform: translate(-50%, -30%) rotate(-135deg); }
  .main-nav .sub-menu, .main-nav .sub-menu:has(> li:nth-child(9)) { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; width: 100%; padding: 0 0 12px 8px; grid-template-columns: 1fr; }
  .main-nav .menu .sub-open > .sub-menu { display: block; }
}
@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-top, .about, .contact, .page-body { grid-template-columns: 1fr; }
  .hero-top { gap: 18px; margin-bottom: 36px; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .services, .who-grid, .steps, .cards { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 620px) {
  :root { --header-h: 70px; }
  .sec { padding: 72px 0; }
  .sec-tight { padding-top: 0; }
  .tb-ins { display: none; }
  .brand img { height: 52px; }
  .header-actions .btn-sm { display: none; }
  .services, .who-grid, .steps, .values, .cards, .footer-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .member .ph { width: 120px; height: 120px; }
  .who { margin: 0 12px; border-radius: 28px; }
  .banner { padding: 34px 28px; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: 26px; }
  .hero-photo .float { display: none; }
  .stats-card { position: relative; right: auto; bottom: auto; margin: -28px 14px 0; justify-content: space-around; gap: 12px; padding: 14px 16px; }
  .hero-photo-bg { inset: 14px -8px -8px 14px; }
  .call-fab { display: grid; }
  .map { min-height: 320px; }
}
