/*
 * ΕΛΛΑ-ΔΙΚΑ ΜΑΣ — κατεύθυνση Α, «Καταγωγή».
 *
 * Θεσμική/editorial: σερίφ Alegreya σε ζεστό χαρτί, το σήμα ως ήσυχο σύμβολο.
 * Το indigo #222D80 είναι δειγματοληψία από το ίδιο το αρχείο του σήματος.
 * Οι κάρτες του μητρώου στηρίζονται στο ΟΝΟΜΑ, όχι στο λογότυπο: τα σημερινά
 * λογότυπα είναι 176px και θολώνουν σε κάθε retina οθόνη.
 */

:root {
	/* χρώμα */
	--paper:      #FBF8F1;
	--paper-card: #FFFDF9;
	--paper-alt:  #F3EEE3;
	--ink:        #17171B;
	--ink-mid:    #4A4741;
	--ink-soft:   #8C877F;
	--line:       #E4DED2;
	--line-soft:  #EFEADF;
	--brand:      #222D80;
	--brand-ink:  #FBF8F1;
	--accent:     #8A3A1E;

	/* τυπογραφία */
	--serif: "Alegreya", Georgia, "Times New Roman", serif;
	--sans:  "Alegreya Sans", "Segoe UI", system-ui, sans-serif;

	--step--1: clamp(0.8125rem, 0.79rem + 0.12vw, 0.875rem);
	--step-0:  clamp(1.0625rem, 1.03rem + 0.18vw, 1.125rem);
	--step-1:  clamp(1.25rem, 1.16rem + 0.45vw, 1.4375rem);
	--step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.125rem);
	--step-3:  clamp(2rem, 1.55rem + 2.2vw, 3.375rem);
	--step-4:  clamp(2.4rem, 1.7rem + 3.4vw, 4.125rem);

	/* ρυθμός */
	--wrap: 1180px;
	--gutter: clamp(1.25rem, 4vw, 4.5rem);
	--gap: clamp(1rem, 2.4vw, 1.75rem);
	--block: clamp(3rem, 7vw, 5.5rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--step-0);
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.018em; }
h1 { font-size: var(--step-3); margin: 0 0 0.45em; text-wrap: balance; }
h2 { font-size: var(--step-2); margin: 0 0 0.5em; }
h3 { font-size: var(--step-1); margin: 0 0 0.5em; letter-spacing: -0.01em; }

.wrap { width: min(100% - (2 * var(--gutter)), var(--wrap)); margin-inline: auto; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip-path: inset(50%); white-space: nowrap;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; }
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Το «καπελάκι» πάνω από τίτλους — μικρά κεφαλαία σε τερακότα. */
.eyebrow {
	font-size: var(--step--1);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 700;
	margin: 0 0 0.9rem;
}

.button {
	display: inline-block;
	padding: 0.85rem 1.7rem;
	background: var(--brand);
	color: var(--brand-ink);
	border: 1.5px solid var(--brand);
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
}
.button:hover { background: #1a2466; border-color: #1a2466; color: var(--brand-ink); }
.button--ghost { background: transparent; color: var(--brand); }
.button--ghost:hover { background: var(--brand); color: var(--brand-ink); }

/* ── Κεφαλίδα ─────────────────────────────────────── */

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header__inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }

.site-logo {
	display: flex; align-items: center; gap: 0.6rem;
	font-family: var(--serif); font-weight: 700; font-size: 1.0625rem;
	color: var(--brand); text-decoration: none; padding-block: 1.15rem;
	white-space: nowrap;
}
.site-logo:hover { color: var(--brand); }
.site-logo__mark { flex-shrink: 0; }

.site-nav { margin-inline-start: auto; }
.site-nav > ul { display: flex; flex-wrap: wrap; gap: clamp(0.9rem, 1.8vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; display: block; color: var(--ink-mid); font-size: 0.9375rem; }
.site-nav > ul > li { position: relative; padding-block: 1.15rem; }
.site-nav > ul > li > a:hover { color: var(--ink); }
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current-menu-parent > a { color: var(--brand); font-weight: 600; }

.site-nav .sub-menu {
	position: absolute; top: 100%; inset-inline-start: -0.9rem; z-index: 20;
	min-width: 16rem; margin: 0; padding: 0.4rem 0; list-style: none;
	background: var(--paper-card); border: 1px solid var(--line);
	box-shadow: 0 14px 30px rgb(23 23 27 / 0.09);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity 0.12s, transform 0.12s, visibility 0.12s;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 0.5rem 0.9rem; }
.site-nav .sub-menu a:hover { background: var(--paper-alt); color: var(--ink); }

.lang-switcher {
	display: flex; gap: 0.4rem; list-style: none; margin: 0; padding: 0;
	font-size: 0.8125rem; text-transform: uppercase; color: var(--ink-soft);
}
.lang-switcher a { text-decoration: none; color: var(--ink-soft); }
.lang-switcher .current-lang a { color: var(--ink); font-weight: 700; }

/* Burger — εμφανίζεται μόνο σε μικρές οθόνες. */
.nav-toggle {
	display: none; margin-inline-start: auto;
	width: 2.75rem; height: 2.75rem; padding: 0;
	border: 1px solid var(--line); background: var(--paper-card);
	cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span { display: block; height: 2px; background: var(--ink); transition: transform 0.18s, opacity 0.18s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 62rem) {
	.site-header__inner { flex-wrap: wrap; align-items: center; }
	.nav-toggle { display: inline-flex; order: 2; }
	.lang-switcher { order: 3; margin-inline-start: 0.75rem; }

	.site-nav {
		margin-inline-start: 0; width: 100%; order: 4;
		border-top: 1px solid var(--line-soft);
		padding-block: 0.5rem 1rem;
	}
	/* Με JS κρύβεται μέχρι να πατηθεί το κουμπί· χωρίς JS μένει ορατό. */
	.has-js .site-nav { display: none; }
	.has-js .site-nav.is-open { display: block; }

	.site-nav > ul { display: grid; gap: 0; }
	.site-nav > ul > li { padding-block: 0; border-bottom: 1px solid var(--line-soft); }
	.site-nav > ul > li:last-child { border-bottom: 0; }
	.site-nav > ul > li > a { padding-block: 0.85rem; font-size: 1rem; }

	.site-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; background: transparent; min-width: 0;
		padding: 0 0 0.65rem 1rem;
		display: grid; gap: 0.15rem;
	}
	.site-nav .sub-menu a { padding: 0.35rem 0; font-size: 0.9375rem; }
	.site-nav .sub-menu a:hover { background: transparent; }

	body.nav-open { overflow: hidden; }
}

.site-main { padding-block: var(--block); }

/* ── Υποσέλιδο ────────────────────────────────────── */

.site-footer { margin-top: var(--block); background: var(--ink); color: #C9C5BD; }
.site-footer a { color: #C9C5BD; text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }

.site-footer__top {
	display: grid; gap: 2.5rem;
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 52rem) {
	.site-footer__top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4rem; }
}

.site-footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.site-footer__mark { flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer__name { font-family: var(--serif); font-size: 1.1875rem; font-weight: 700; color: var(--paper); line-height: 1.2; }
.site-footer__tagline { margin: 0.45rem 0 0; max-width: 38ch; font-size: 0.9375rem; line-height: 1.6; color: #A5A099; }

.site-footer__nav ul {
	display: grid; gap: 0.65rem; list-style: none; margin: 0; padding: 0;
	font-size: 0.9375rem;
}
@media (min-width: 40rem) {
	.site-footer__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}

.site-footer__bottom {
	display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
	padding-block: 1.25rem;
	border-top: 1px solid rgb(255 255 255 / 0.10);
	font-size: 0.8125rem; color: #7E7973;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom p:last-child { margin-inline-start: auto; }
@media (max-width: 40rem) {
	.site-footer__bottom p:last-child { margin-inline-start: 0; }
}

/* ── Κείμενο ──────────────────────────────────────── */

.prose { max-width: 64ch; font-size: 1.0625rem; line-height: 1.72; color: #2E2C29; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose a { color: var(--brand); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose img { border: 1px solid var(--line); }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 0.5rem 0.7rem; text-align: start; }

/* ── Αρχική ───────────────────────────────────────── */

.home-hero { display: grid; gap: var(--gap); align-items: center; padding-bottom: var(--block); }
@media (min-width: 62rem) {
	.home-hero { grid-template-columns: 7fr 5fr; }
}
.home-hero h1 { font-size: var(--step-4); }
.home-hero__lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-mid); max-width: 44ch; margin: 0 0 2rem; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.pillars {
	border-block: 1px solid var(--line);
	padding-block: var(--block);
	display: grid; gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 48rem) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar h3 { margin: 0.9rem 0 0.45rem; font-size: 1.4375rem; }
.pillar p { margin: 0; color: var(--ink-mid); }
.pillar svg { color: var(--accent); }

.stats { background: var(--brand); color: var(--brand-ink); margin-block: var(--block); }
.stats__inner { padding-block: clamp(2.25rem, 5vw, 3.25rem); display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 48rem) { .stats__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat__figure { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1; }
.stat__label { margin-top: 0.5rem; font-size: 0.9375rem; opacity: 0.82; }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem; margin-bottom: var(--gap); }
.section-head h2 { margin: 0; }
.section-head a { margin-inline-start: auto; font-weight: 600; text-decoration: none; font-size: 1rem; }

.home-section { margin-block: var(--block); }

/* ── Μητρώο ───────────────────────────────────────── */

.archive-head { max-width: 58ch; margin-bottom: 2.5rem; }
.archive-head p { color: var(--ink-mid); font-size: 1.125rem; margin: 0; }

.registry-search { display: flex; align-items: center; gap: 0.9rem; border-bottom: 1.5px solid var(--ink); padding-bottom: 0.7rem; }
.registry-search svg { color: var(--ink-soft); flex-shrink: 0; }
.registry-search input {
	flex-grow: 1; border: 0; background: transparent; outline: none;
	font-family: var(--serif); font-size: var(--step-1); color: var(--ink); padding: 0.2rem 0;
}
.registry-search input::placeholder { color: var(--ink-soft); }
.registry-search button {
	border: 0; background: transparent; cursor: pointer; font: inherit;
	font-size: 0.9375rem; color: var(--accent); text-decoration: underline; padding: 0;
}

.registry-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.registry-chips a {
	text-decoration: none; font-size: 0.9375rem; padding: 0.45rem 1.05rem;
	border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink-mid);
}
.registry-chips a:hover { border-color: var(--ink-soft); color: var(--ink); }
.registry-chips [aria-current="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); font-weight: 600; }
.registry-chips [aria-current="true"]:hover { color: var(--brand-ink); }

.registry-count { display: flex; align-items: baseline; gap: 0.6rem; margin: 1.6rem 0 1rem; color: var(--ink-soft); font-size: 0.9375rem; }
.registry-count b { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--ink); }

.company-grid {
	display: grid; gap: var(--gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.company-grid[aria-busy="true"] { opacity: 0.45; transition: opacity 0.15s; }

.company-card { height: 100%; }
.company-card__link {
	display: flex; flex-direction: column; gap: 1rem; height: 100%;
	padding: 1.25rem 1.25rem 1.4rem; background: var(--paper-card);
	border: 1px solid var(--line); text-decoration: none; color: inherit;
	transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.company-card__link:hover {
	border-color: var(--brand); transform: translateY(-2px); color: inherit;
	box-shadow: 0 10px 22px rgb(23 23 27 / 0.06);
}

/* Το ποσοστιαίο max-height δεν λύνεται αξιόπιστα μέσα σε grid item, οπότε
   το πλαίσιο είναι relative και η εικόνα absolute με object-fit: contain.
   Έτσι λογότυπα 176×54 και 176×199 κάθονται στο ίδιο κουτί χωρίς να ξεφεύγουν. */
.company-card__logo {
	position: relative; display: block;
	width: 100%; height: 5.25rem;
	border-bottom: 1px solid var(--line-soft);
}
.company-card__logo img {
	position: absolute; inset: 0 0 0.85rem;
	width: 100%; height: calc(100% - 0.85rem);
	object-fit: contain; object-position: center;
}
.company-card__logo .company-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.company-card__fallback { font-family: var(--serif); font-size: 1.125rem; font-weight: 700; color: var(--brand); text-align: center; }

.company-card__body { display: flex; flex-direction: column; gap: 0.4rem; flex-grow: 1; }
.company-card__cat { font-size: 0.71rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.company-card__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.company-card__legal { font-size: 0.875rem; color: var(--ink-mid); line-height: 1.45; }
.company-card__since { margin-top: auto; padding-top: 0.5rem; font-size: 0.8125rem; color: var(--ink-soft); }

.empty { color: var(--ink-soft); font-family: var(--serif); font-size: var(--step-1); }

/* ── Καρτέλα εταιρείας ────────────────────────────── */

.breadcrumb { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin-inline: 0.5rem; }

.company-single { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 62rem) { .company-single { grid-template-columns: 8fr 4fr; } }
.company-single h1 { font-size: var(--step-4); margin-bottom: 0.15em; }
.company-single__legal { font-size: 1.1875rem; color: var(--ink-mid); margin: 0 0 2rem; }

.company-aside { border: 1px solid var(--line); background: var(--paper-card); padding: 1.75rem 1.6rem; }
.company-aside__logo { display: grid; place-items: center; min-height: 6.5rem; margin-bottom: 1.5rem; }
.company-aside__logo img { max-height: 6.5rem; width: auto; object-fit: contain; }
.company-aside dl { display: grid; gap: 1.1rem; margin: 0; border-top: 1px solid var(--line); padding-top: 1.35rem; }
.company-aside dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.15rem; }
.company-aside dd { margin: 0; font-size: 1.0625rem; }
.company-aside dd.is-figure { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.company-aside .button { display: block; text-align: center; margin-top: 1.6rem; }

.related { border-top: 1px solid var(--line); margin-top: var(--block); padding-top: var(--block); }
.related h2 { margin-bottom: 1.2rem; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { display: grid; gap: 0.3rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .related li { grid-template-columns: 11rem 8rem minmax(0, 1fr); align-items: baseline; } }
.related time { font-size: 0.875rem; color: var(--ink-soft); }
.related .related__type { font-size: 0.71rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.related a { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.3; text-decoration: none; color: var(--ink); }
.related a:hover { color: var(--accent); }

/* ── Νέα ──────────────────────────────────────────── */

.news-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.news-filters a {
	text-decoration: none; padding: 0.45rem 1.05rem; border: 1.5px solid var(--line);
	border-radius: 999px; font-size: 0.9375rem; color: var(--ink-mid);
}
.news-filters a:hover { border-color: var(--ink-soft); color: var(--ink); }
.news-filters [aria-current="page"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); font-weight: 600; }
.news-filters [aria-current="page"]:hover { color: var(--brand-ink); }

.news-grid { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.news-card { display: grid; gap: 0.75rem; align-content: start; }
.news-card__media { display: block; }
.news-card__media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: baseline; }
.news-card__type { font-size: 0.71rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; text-decoration: none; }
.news-card__date { font-size: 0.8125rem; color: var(--ink-soft); }
.news-card__title { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.3; margin: 0; letter-spacing: -0.008em; }
.news-card__title a { text-decoration: none; color: var(--ink); }
.news-card__title a:hover { color: var(--accent); }
.news-card p { margin: 0; color: var(--ink-mid); font-size: 0.9375rem; }

.news-single { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 62rem) { .news-single { grid-template-columns: 8fr 4fr; } }
.news-single h1 { font-size: var(--step-3); }
.news-single__meta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: baseline; margin-bottom: 1rem; }
.news-single__media { margin: 0 0 2rem; }
.news-single__media img { width: 100%; border: 1px solid var(--line); }
.news-aside { border: 1px solid var(--line); background: var(--paper-card); padding: 1.5rem 1.4rem; }
.news-aside h2 { font-size: 1.1875rem; margin-bottom: 0.9rem; }
.news-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.news-aside a { text-decoration: none; font-weight: 600; }

/* ── Φόρμες / σελιδοποίηση ────────────────────────── */

.search-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.search-form input {
	flex: 1 1 16rem; font: inherit; padding: 0.7rem 1rem;
	border: 1px solid var(--line); background: var(--paper-card); color: var(--ink);
}
.search-form button { font: inherit; padding: 0.7rem 1.4rem; border: 1.5px solid var(--brand); background: var(--brand); color: var(--brand-ink); cursor: pointer; font-weight: 600; }

.pagination, .nav-links { margin-top: var(--block); }
.pagination ul, .nav-links ul {
	display: flex; flex-wrap: wrap; gap: 0.4rem;
	list-style: none; margin: 0; padding: 0;
}
.pagination li, .nav-links li { margin: 0; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.7rem;
	border: 1.5px solid var(--line); text-decoration: none;
	color: var(--ink-mid); font-size: 0.9375rem; line-height: 1;
}
a.page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.page-numbers.current { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }
.page-numbers.dots { border-color: transparent; }
.pagination .screen-reader-text { display: none; }

/* ── Πλέγμα λογοτύπων (αρχική) ────────────────────── */

.logo-grid {
	display: grid; gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
}

.logo-tile {
	display: grid; gap: 0.6rem; align-content: center; justify-items: center;
	background: var(--paper-card); padding: 1.5rem 1rem 1.25rem;
	text-decoration: none; color: inherit; text-align: center;
	transition: background 0.15s;
}
.logo-tile:hover { background: var(--paper-alt); color: inherit; }

.logo-tile__frame { position: relative; display: block; width: 100%; height: 4.5rem; }
.logo-tile__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.logo-tile__frame .logo-tile__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.logo-tile__fallback { font-family: var(--serif); font-size: 1.0625rem; font-weight: 700; color: var(--brand); }
.logo-tile__name { font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-soft); line-height: 1.35; }


/* ── Mobile ───────────────────────────────────────── */

@media (max-width: 40rem) {
	/* Τίποτα δεν βγαίνει οριζόντια έξω από το viewport. */
	body { overflow-x: hidden; }

	.site-logo { font-size: 0.9375rem; gap: 0.5rem; padding-block: 0.9rem; }
	.site-header__inner { gap: 0.75rem; }

	.home-hero { gap: 2rem; }
	.home-hero__actions .button { flex: 1 1 100%; text-align: center; }

	.pillars { gap: 2rem; }

	.stats__inner { gap: 1.5rem; }
	.stat__figure { font-size: 2.25rem; }

	.section-head { gap: 0.35rem; }
	.section-head a { margin-inline-start: 0; }

	.registry-search { gap: 0.6rem; }
	.registry-search input { font-size: 1.125rem; }
	.registry-chips { gap: 0.4rem; }
	.registry-chips a { font-size: 0.875rem; padding: 0.4rem 0.85rem; }

	.company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	.company-card__link { padding: 1rem 0.9rem 1.1rem; gap: 0.75rem; }
	.company-card__logo { height: 4rem; }
	.company-card__logo img { inset: 0 0 0.65rem; height: calc(100% - 0.65rem); }
	.company-card__name { font-size: 1.0625rem; }
	.company-card__legal { display: none; }

	.logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.logo-tile { padding: 1rem 0.5rem 0.9rem; }
	.logo-tile__frame { height: 3rem; }
	.logo-tile__name { font-size: 0.6875rem; }

	.news-grid { gap: 1.75rem; }

	.company-single, .news-single { gap: 2rem; }
	.company-aside { padding: 1.25rem 1.1rem; }

	.related li { gap: 0.25rem; padding: 1rem 0; }
	.related a { font-size: 1.125rem; }

	.faq__q { font-size: 1.125rem; gap: 0.85rem; padding: 1.1rem 0; }
	.faq__a { padding-bottom: 1.25rem; }

	.breadcrumb { font-size: 0.8125rem; }

	.page-numbers { min-width: 2.5rem; min-height: 2.5rem; padding: 0 0.5rem; font-size: 0.875rem; }

	.prose { font-size: 1rem; }
	.prose table { display: block; overflow-x: auto; }
}

@media (max-width: 26rem) {
	.company-grid { grid-template-columns: minmax(0, 1fr); }
	.logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Μεγάλοι πίνακες/κώδικας μέσα σε κείμενο πελάτη να μη σπρώχνουν τη σελίδα. */
.prose pre, .prose table { max-width: 100%; overflow-x: auto; }
.prose img, .prose iframe { max-width: 100%; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ── Συχνές ερωτήσεις ─────────────────────────────── */

.faq-layout .archive-head { max-width: 62ch; }

.faq { max-width: 52rem; border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
	display: flex; align-items: flex-start; gap: 1.25rem;
	padding: 1.4rem 0; cursor: pointer; list-style: none;
	font-family: var(--serif); font-size: var(--step-1); font-weight: 500;
	line-height: 1.35; letter-spacing: -0.01em; color: var(--ink);
	transition: color 0.12s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq__q > span { flex-grow: 1; text-wrap: pretty; }

.faq__icon {
	flex-shrink: 0; margin-top: 0.35em; color: var(--ink-soft);
	transition: transform 0.18s ease, color 0.12s;
}
.faq__item[open] > .faq__q { color: var(--brand); }
.faq__item[open] .faq__icon { transform: rotate(180deg); color: var(--brand); }

.faq__a { padding: 0 0 1.6rem; max-width: 62ch; }
.faq__a > *:first-child { margin-top: 0; }

/* Το άνοιγμα «σβήνει» απαλά όπου υποστηρίζεται. */
@supports selector(details[open] > div) {
	.faq__item[open] .faq__a { animation: faq-reveal 0.22s ease both; }
}
@keyframes faq-reveal {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: none; }
}

/* ══ Ανανέωση εμφάνισης — πιο σύγχρονη ══════════════════════════════════
 * Ίδια γραμματοσειρά και χρώματα με την κατεύθυνση Α· αλλάζουν οι φόρμες:
 * μαλακές γωνίες, βάθος με διακριτικές σκιές, sticky header, απαλή κίνηση.
 */

:root {
	--r-sm: 10px;
	--r:    16px;
	--r-lg: 24px;
	--shadow-sm: 0 1px 2px rgb(23 23 27 / 0.04), 0 2px 10px rgb(23 23 27 / 0.04);
	--shadow:    0 2px 6px rgb(23 23 27 / 0.04), 0 16px 36px rgb(23 23 27 / 0.09);
	--brand-tint:  #E8EAF5;
	--accent-tint: #F4E6DF;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

/* ── Κουμπιά ── */
.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
	border-radius: 999px; padding: 0.8rem 1.5rem;
	box-shadow: 0 6px 18px rgb(34 45 128 / 0.22);
	transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgb(34 45 128 / 0.30); }
.button--ghost { background: rgb(255 255 255 / 0.65); box-shadow: none; }
.button--ghost:hover { box-shadow: none; }
.button__arrow { transition: transform 0.25s var(--ease); }
.button:hover .button__arrow { transform: translateX(3px); }

/* ── Header ── */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgb(251 248 241 / 0.84);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom-color: transparent;
	transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 28px rgb(23 23 27 / 0.06); }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

.site-nav > ul > li > a { position: relative; }
.site-nav > ul > li > a::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
	border-radius: 2px; background: var(--brand);
	transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav > ul > li:hover > a::after,
.site-nav > ul > li.current-menu-item > a::after,
.site-nav > ul > li.current-menu-ancestor > a::after,
.site-nav > ul > li.current-menu-parent > a::after { transform: scaleX(1); }

.site-nav .sub-menu { border-radius: var(--r); padding: 0.45rem; border-color: var(--line-soft); box-shadow: var(--shadow); }
.site-nav .sub-menu a { border-radius: var(--r-sm); }

.header-cta { padding: 0.5rem 1.05rem; font-size: 0.875rem; box-shadow: none; white-space: nowrap; }
.header-cta:hover { box-shadow: 0 6px 16px rgb(34 45 128 / 0.22); }

.lang-switcher { background: var(--paper-alt); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switcher a { display: block; padding: 0.2rem 0.6rem; border-radius: 999px; }
.lang-switcher .current-lang a { background: #fff; box-shadow: var(--shadow-sm); }

.nav-toggle { border-radius: var(--r-sm); }

@media (max-width: 62rem) {
	.site-nav > ul > li > a::after { display: none; }
	.site-nav .sub-menu { border-radius: 0; box-shadow: none; padding: 0 0 0.65rem 1rem; }
	.site-nav.is-open { max-height: calc(100vh - 5rem); overflow-y: auto; }
	.header-cta { display: none; }
}

/* Η αρχική ξεκινά με το hero, χωρίς κενό από πάνω. */
body.home .site-main { padding-top: 0; }

/* ── Hero ── */
.home-hero-band {
	position: relative; isolation: isolate; overflow: hidden;
	padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem);
	margin-bottom: clamp(1rem, 3vw, 2rem);
}
.home-hero-band::before {
	content: ''; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(56rem 30rem at 88% 18%, rgb(34 45 128 / 0.10), transparent 62%),
		radial-gradient(40rem 26rem at 4% 96%, rgb(138 58 30 / 0.07), transparent 60%);
}
.home-hero-band::after {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background-image: radial-gradient(rgb(23 23 27 / 0.08) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
	mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.home-hero { padding-bottom: 0; gap: clamp(2.5rem, 5vw, 4rem); }
.home-hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.2vw, 4.75rem); line-height: 1.03; letter-spacing: -0.03em; }
.home-hero__lede { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); max-width: 42ch; }

.badge {
	display: inline-flex; align-items: center; gap: 0.55rem;
	margin: 0 0 1.5rem; padding: 0.4rem 0.95rem 0.4rem 0.75rem;
	border-radius: 999px; border: 1px solid var(--line);
	background: rgb(255 255 255 / 0.72); box-shadow: var(--shadow-sm);
	font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-mid);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(138 58 30 / 0.16); }

.home-hero__visual { position: relative; display: grid; place-items: center; }
.hero-card {
	position: relative; display: grid; place-items: center;
	width: min(100%, 23rem); aspect-ratio: 1;
	border-radius: 36px; border: 1px solid var(--line-soft);
	background: linear-gradient(160deg, #fff 0%, var(--paper-card) 100%);
	box-shadow: 0 40px 70px -28px rgb(34 45 128 / 0.30), var(--shadow-sm);
}
.hero-card::before {
	content: ''; position: absolute; inset: 13%;
	border-radius: 50%; border: 1px dashed rgb(34 45 128 / 0.20);
}
.hero-card::after {
	content: ''; position: absolute; inset: 24%;
	border-radius: 50%; background: radial-gradient(circle, rgb(34 45 128 / 0.09), transparent 70%);
}
.hero-card img { position: relative; z-index: 1; width: 44% !important; height: auto !important; }

.hero-chip {
	position: absolute; left: 0; bottom: 14%;
	display: flex; align-items: center; gap: 0.6rem;
	padding: 0.65rem 1rem 0.65rem 0.7rem; border-radius: 14px;
	background: #fff; box-shadow: var(--shadow);
	font-size: 0.875rem; font-weight: 600; color: var(--ink);
	animation: hero-float 6s ease-in-out infinite;
}
.hero-chip__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ── Τρίπτυχο ── */
.pillars { border-block: 0; padding-block: 0; margin-block: clamp(1rem, 3vw, 2rem) var(--block); gap: var(--gap); }
.pillar {
	position: relative; padding: 1.8rem 1.6rem 1.9rem;
	border-radius: var(--r-lg); border: 1px solid var(--line-soft);
	background: var(--paper-card); box-shadow: var(--shadow-sm);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--accent-tint); color: var(--accent); }
.pillar__num { position: absolute; top: 1.5rem; right: 1.6rem; font-family: var(--serif); font-size: 0.95rem; color: var(--ink-soft); }
.pillar h3 { margin: 1.15rem 0 0.4rem; }

/* ── Στατιστικά ── */
.stats { background: transparent; color: inherit; margin-block: var(--block); }
.stats__inner {
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--brand); color: var(--brand-ink);
	border-radius: var(--r-lg);
	padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3.5rem);
	box-shadow: 0 30px 60px -30px rgb(34 45 128 / 0.55);
}
.stats__inner::before {
	content: ''; position: absolute; z-index: -1;
	width: 36rem; height: 36rem; right: -12rem; top: -18rem;
	border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 0.16), transparent 65%);
}
.stat__figure { font-size: clamp(2.75rem, 5vw, 3.75rem); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (min-width: 48rem) {
	.stats__inner > div + div { border-left: 1px solid rgb(255 255 255 / 0.16); padding-left: clamp(1.5rem, 4vw, 2.5rem); }
}
@media (max-width: 48rem) {
	.stats__inner > div + div { border-top: 1px solid rgb(255 255 255 / 0.16); padding-top: 1.4rem; }
}

/* ── Κεφαλίδες ενοτήτων ── */
.section-head h2 { font-size: clamp(1.8rem, 1.3rem + 1.7vw, 2.6rem); letter-spacing: -0.024em; }
.section-head a {
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.45rem 1rem; border-radius: 999px;
	border: 1px solid var(--line); background: var(--paper-card);
	font-size: 0.9375rem; transition: border-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.section-head a:hover { border-color: var(--brand); color: var(--brand); transform: translateX(2px); }

/* ── Λογότυπα μελών ── */
.logo-grid { gap: 0.9rem; background: none; border: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); }
.logo-tile {
	border-radius: var(--r); border: 1px solid var(--line-soft);
	background: #fff; box-shadow: var(--shadow-sm);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.logo-tile:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }

/* ── Νέα ── */
.news-card { gap: 0.9rem; }
.news-card__media { overflow: hidden; border-radius: var(--r); background: var(--paper-alt); }
.news-card__media img { border: 0; transition: transform 0.7s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.045); }
.news-card__type { padding: 0.22rem 0.65rem; border-radius: 999px; background: var(--accent-tint); letter-spacing: 0.08em; }

/* ── Μητρώο ── */
.registry-search {
	border: 1px solid var(--line); border-radius: 999px;
	background: #fff; box-shadow: var(--shadow-sm);
	padding: 0.3rem 0.6rem 0.3rem 1.25rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.registry-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(34 45 128 / 0.12); }
.registry-search input { padding: 0.55rem 0; font-size: 1.1875rem; }
.registry-clear { margin-inline-end: 0.6rem; font-size: 0.875rem; }
.registry-chips a { background: var(--paper-card); transition: border-color 0.2s, background 0.2s, color 0.2s; }

.company-card__link {
	border-radius: var(--r-lg); border-color: var(--line-soft);
	background: #fff; box-shadow: var(--shadow-sm);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.company-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }

/* ── Καρτέλες / πλαϊνά ── */
.company-aside, .news-aside { border-radius: var(--r-lg); border-color: var(--line-soft); background: #fff; box-shadow: var(--shadow-sm); }
@media (min-width: 62rem) { .company-aside { position: sticky; top: 6.5rem; } }
.news-single__media img, .prose img { border-radius: var(--r); }
.search-form input { border-radius: 999px; }
.search-form button { border-radius: 999px; }
.page-numbers { border-radius: 999px; }

/* ── Συχνές ερωτήσεις ── */
.faq { border-top: 0; display: grid; gap: 0.75rem; }
.faq__item {
	border: 1px solid var(--line-soft); border-radius: var(--r);
	background: var(--paper-card); padding: 0 1.4rem;
	transition: border-color 0.2s, box-shadow 0.25s, background 0.2s;
}
.faq__item:hover { border-color: var(--line); }
.faq__item[open] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq__icon { box-sizing: content-box; width: 18px; height: 18px; padding: 7px; margin-top: 0.05em; border-radius: 50%; background: var(--paper-alt); }
.faq__item[open] .faq__icon { background: var(--brand-tint); }

/* ── Εμφάνιση στο scroll (μόνο με JS· χωρίς JS όλα ορατά) ── */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .pillars .pillar:nth-child(2) { transition-delay: 0.08s; }
.js .pillars .pillar:nth-child(3) { transition-delay: 0.16s; }
.js .home-hero__visual[data-reveal] { transition-delay: 0.12s; }
/* Μετά την εμφάνιση το hover των καρτών δεν πρέπει να περιμένει το delay. */
.js .pillars .pillar.is-visible:hover { transition-delay: 0s; }

/* ── Κινητό ── */
@media (max-width: 62rem) {
	.home-hero__visual { order: -1; justify-items: start; }
	.hero-card { width: 11rem; border-radius: 26px; }
	.hero-chip { left: 9.5rem; bottom: 1rem; font-size: 0.8125rem; }
}
@media (max-width: 40rem) {
	.home-hero-band { padding-top: 2rem; }
	.hero-card { width: 7.5rem; border-radius: 22px; }
	.hero-chip { left: 8.5rem; bottom: 50%; transform: translateY(50%); animation: none; }
	.home-hero__actions .button { width: 100%; }
	/* Ξαναδηλώνεται εδώ: ο κανόνας auto-fill της ανανέωσης είναι πιο κάτω στο
	   αρχείο από το παλιό mobile block και το ακύρωνε — έβγαζε 1 στήλη. */
	.logo-grid { gap: 0.6rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.faq__item { padding: 0 1rem; }
	.faq__icon { padding: 5px; }
	.pillar { padding: 1.5rem 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-chip { animation: none; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* Πολύ μικρά κινητά: 2 στήλες λογοτύπων (μετά τον κανόνα των 3 στηλών). */
@media (max-width: 26rem) {
	.logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ══ Σελίδες ενοτήτων: οριζόντιες καρτέλες ══════════════════════════════ */

.page-shell { width: min(100% - (2 * var(--gutter)), 54rem); margin-inline: auto; }

.page-head { padding-top: clamp(0.5rem, 2vw, 1.5rem); margin-bottom: 1.6rem; }
.page-head .eyebrow { margin-bottom: 0.6rem; }
.page-head h1 { margin: 0; font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.5rem); letter-spacing: -0.028em; }

.section-tabs {
	position: sticky; top: var(--header-h, 4.5rem); z-index: 20;
	margin: 0 calc(-1 * var(--gutter)) 1.75rem; padding: 0.6rem var(--gutter);
	background: rgb(251 248 241 / 0.86);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}
.section-tabs ul {
	display: flex; gap: 0.3rem; width: fit-content; max-width: 100%;
	margin: 0; padding: 0.3rem; list-style: none;
	background: var(--paper-alt); border: 1px solid var(--line-soft); border-radius: 999px;
	overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
}
.section-tabs ul::-webkit-scrollbar { display: none; }
.section-tabs li { flex-shrink: 0; }
.section-tabs a {
	display: block; white-space: nowrap;
	padding: 0.55rem 1.1rem; border-radius: 999px;
	color: var(--ink-mid); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.section-tabs a:hover { color: var(--ink); background: rgb(255 255 255 / 0.7); }
.section-tabs a[aria-current="page"] { background: #fff; color: var(--brand); font-weight: 600; box-shadow: var(--shadow-sm); }

.page-body {
	max-width: none;
	padding: clamp(1.5rem, 4vw, 3rem);
	background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}
.page-body > *:first-child { margin-top: 0; }
.page-body > *:last-child { margin-bottom: 0; }

.page-pager { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
@media (min-width: 40rem) { .page-pager { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-pager a {
	display: flex; flex-direction: column; gap: 0.2rem;
	padding: 1.1rem 1.35rem; border-radius: var(--r);
	border: 1px solid var(--line-soft); background: var(--paper-card);
	text-decoration: none; color: inherit;
	transition: border-color 0.2s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.page-pager a:hover { border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.page-pager__label { font-size: 0.8125rem; color: var(--ink-soft); }
.page-pager__title { font-family: var(--serif); font-size: 1.125rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.page-pager__next { text-align: end; }
@media (min-width: 40rem) { .page-pager__next:only-child { grid-column: 2; } }

body.admin-bar .section-tabs { top: calc(var(--header-h, 4.5rem) + 32px); }
@media (max-width: 782px) { body.admin-bar .section-tabs { top: calc(var(--header-h, 4.5rem) + 46px); } }

@media (max-width: 40rem) {
	.section-tabs ul { width: auto; }
	.section-tabs a { padding: 0.5rem 0.95rem; font-size: 0.875rem; }
	.page-body { border-radius: var(--r); }
}
