/* ==========================================================================
   V. Miskos — Ξυλουργικές Κατασκευές
   Παλέτα Α «Δρυς & Ώχρα»
   Γραμματοσειρές: EB Garamond (τίτλοι) + Inter (κείμενο) — και οι δύο με ελληνικό subset.
   Σημ.: η Literata απορρίφθηκε — σπάει το ζεύγος «Υλ» (το «Υλικά» έβγαινε «Υ λικά»).
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Χρώματα */
  --bg:            #FBF8F3;
  --surface:       #F3ECE1;
  --surface-2:     #EDE3D4;
  --ink:           #2B3440;   /* από το λογότυπο */
  --ink-soft:      #4C5665;
  --wood:          #B07B4C;
  --accent:        #C0762E;
  --accent-dark:   #A0611F;
  --muted:         #7E7264;
  --line:          #E7DCCC;
  --line-strong:   #D2C3AE;
  --white:         #FFFFFF;

  /* Τυπογραφία */
  --font-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Ρυθμός */
  --container: 1200px;
  --container-narrow: 780px;
  --gutter: 24px;
  --section-y: clamp(64px, 9vw, 118px);

  /* Λοιπά */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 10px -4px rgba(43, 52, 64, .14);
  --shadow-md: 0 14px 38px -18px rgba(43, 52, 64, .28);
  --shadow-lg: 0 30px 70px -30px rgba(43, 52, 64, .38);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 96px;
}

/* ----------------------------------------------------------- 2. Reset/Base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

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

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------- 3. Τυπογραφικές βάσεις */
/* Η EB Garamond έχει χαμηλό x-height, οπότε θέλει λίγο μεγαλύτερα μεγέθη
   και βάρος 500 για να κρατήσει παρουσία στους τίτλους. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(44px, 6.2vw, 78px); }
h2 { font-size: clamp(33px, 4.3vw, 53px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.28; }
h4 { font-size: 20px; line-height: 1.4; }

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--wood);
}

p { max-width: 68ch; }
strong, b { font-weight: 600; color: var(--ink); }

.lead {
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.78;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- 4. Διάταξη */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.divider { height: 1px; background: var(--line); border: 0; }

/* Επικεφαλίδα ενότητας */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::after {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: .5;
  order: -1;
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 58px); }
.section-head p { margin-top: 18px; }
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center p { margin-inline: auto; }

/* ------------------------------------------------------------ 5. Κουμπιά */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: #1E2632; }

.btn--block { width: 100%; }

/* Σύνδεσμος με βέλος */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap .28s var(--ease), color .28s var(--ease);
}
.arrow-link svg { width: 15px; height: 15px; flex: none; }
.arrow-link:hover { gap: 15px; color: var(--accent-dark); }

/* ---------------------------------------------------------- 6. Κεφαλίδα */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 243, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck {
  height: 76px;
  background: rgba(251, 248, 243, .96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: flex; align-items: center; flex: none; }
/* Το λογότυπο είναι stacked lockup (δέντρο+V+MISKOS πάνω, νερά+σκαρπέλο κάτω),
   οπότε χρειάζεται μεγαλύτερο ύψος από ένα οριζόντιο lockup για να διαβάζεται. */
.brand img {
  height: 68px;
  width: auto;
  transition: height .3s var(--ease);
}
.header.is-stuck .brand img { height: 52px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: block;
  padding: 9px 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color .24s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after { transform: scaleX(1); }

.header__cta { flex: none; }
.header__cta .btn { padding: 12px 22px; font-size: 13.5px; }

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.burger span {
  display: block;
  position: relative;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: background .2s var(--ease);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Κινητό μενού */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 28px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.is-active { color: var(--accent); }
.mobile-nav .btn { margin-top: 28px; }

body.nav-open { overflow: hidden; }
/* Με ανοιχτό μενού ο header πρέπει να είναι αδιαφανής, αλλιώς φαίνεται
   η σελίδα από πίσω μέσα από το ημιδιαφανές φόντο του. */
body.nav-open .header { background: var(--bg); }

/* --------------------------------------------------------------- 7. Hero */
/* Η φωτογραφία είναι φόντο της ενότητας· το κείμενο κάθεται από πάνω με
   σκούρο overlay ώστε να παραμένει ευανάγνωστο ό,τι κι αν δείχνει η εικόνα. */
.hero {
  position: relative;
  isolation: isolate;              /* κρατά τα στρώματα μέσα στην ενότητα */
  margin-top: var(--header-h);     /* ξεκινά ακριβώς κάτω από τη σταθερή κεφαλίδα */
  display: flex;
  align-items: center;
  padding-block: clamp(56px, 8vw, 108px);
  overflow: hidden;
  min-height: clamp(520px, calc(100vh - var(--header-h)), 760px);
  min-height: clamp(520px, calc(100svh - var(--header-h)), 760px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
/* Σκούρο overlay: εντονότερο αριστερά, όπου κάθεται το κείμενο */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18, 23, 30, .84) 0%, rgba(18, 23, 30, .66) 42%, rgba(18, 23, 30, .40) 100%),
    linear-gradient(to top, rgba(18, 23, 30, .52) 0%, rgba(18, 23, 30, 0) 55%);
}

.hero .container { position: relative; z-index: 1; }

.hero__text { max-width: 620px; }
.hero h1 { margin-bottom: 22px; color: var(--bg); }
.hero h1 em { color: #E7B482; }
.hero .eyebrow { color: #E7B482; }
.hero .lead { margin-bottom: 34px; color: rgba(251, 248, 243, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { border-color: rgba(251, 248, 243, .45); color: var(--bg); }
.hero .btn--ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* Λωρίδα εμπιστοσύνης μέσα στο hero */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  padding-top: 30px;
  margin-top: 34px;
  border-top: 1px solid rgba(251, 248, 243, .22);
}
.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(251, 248, 243, .82);
}
.trust svg { width: 17px; height: 17px; color: #E7B482; flex: none; }

/* ----------------------------------------------- 8. Αριθμημένες ενότητες */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar {
  background: var(--bg);
  padding: clamp(28px, 3.2vw, 42px);
  transition: background .3s var(--ease);
}
.pillar:hover { background: var(--surface); }
.pillar__num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--wood);
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: 15px; }

/* ------------------------------------------------- 9. Split (εικόνα/κείμενο) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5.5vw, 78px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__text > * + * { margin-top: 20px; }
.split__text .btn { margin-top: 12px; }

/* Στοίβα δύο εικόνων με μετατόπιση */
.stack-media { position: relative; padding-bottom: 54px; padding-right: 54px; }
.stack-media img:first-child {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.stack-media img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-md);
}

/* -------------------------------------------------- 10. Κάρτες κατηγοριών */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.cat-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.cat-card:hover .cat-card__media img { transform: scale(1.05); }

/* Κάρτα χωρίς φωτογραφία — τυπογραφική, με ξύλινο μοτίβο */
.cat-card__media--plain {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      90deg,
      var(--surface-2) 0 2px,
      transparent 2px 11px
    ),
    var(--surface);
}
.cat-card__media--plain span {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--wood);
  opacity: .5;
}

.cat-card__body { padding: 22px 24px 26px; }
.cat-card__body h3 { font-size: 23px; margin-bottom: 8px; }
.cat-card__body p { font-size: 14.5px; line-height: 1.7; }

/* Απλή λίστα κατηγοριών (checklist) */
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 2px 32px;
}
.list-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink);
}
.list-grid svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 5px; }

/* ------------------------------------------------------------- 11. Υλικά */
/* Λογότυπα/ονόματα προμηθευτών */
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
}
.brands li {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 27px);
  color: var(--ink);
  opacity: .34;
  padding: 6px 16px;
  transition: opacity .3s var(--ease);
}
.brands li:hover { opacity: .72; }

/* ----------------------------------------------------------- 12. Γκαλερί */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.filter {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 18px;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.filter:hover { border-color: var(--line-strong); color: var(--ink); }
.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.filter__count { opacity: .55; font-size: 12px; margin-left: 4px; }

/* Masonry μέσω CSS columns — δουλεύει και με 150+ φωτογραφίες */
.masonry {
  column-count: 3;
  column-gap: 18px;
}
.masonry__item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.masonry__item img {
  width: 100%;
  transition: transform .7s var(--ease);
}
.masonry__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 52, 64, .55), transparent 46%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item:hover::after { opacity: 1; }

.masonry__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 15px;
  z-index: 1;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.masonry__item:hover .masonry__caption { opacity: 1; transform: translateY(0); }

.masonry__item[hidden] { display: none; }

.gallery-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(28, 34, 42, .93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 82vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
}
.lightbox__caption {
  margin-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transition: background .25s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__close { top: 20px; right: 20px; transform: none; }

/* -------------------------------------------------------------- 13. CTA */
.cta {
  background: var(--ink);
  color: rgba(251, 248, 243, .78);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5.5vw, 72px) clamp(28px, 5vw, 68px);
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 32px;
  align-items: center;
}
.cta h2 { color: var(--bg); }
.cta p { margin-top: 14px; font-size: 15.5px; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--ghost { border-color: rgba(251, 248, 243, .34); color: var(--bg); }
.cta .btn--ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* ------------------------------------------------------ 14. Επικοινωνία */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.info-list li + li { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.info-list__row { display: flex; gap: 16px; align-items: flex-start; }
.info-list__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
}
.section--surface .info-list__icon { background: var(--bg); }
.info-list__icon svg { width: 19px; height: 19px; }
.info-list dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.info-list dd { font-size: 16.5px; color: var(--ink); font-weight: 500; }
.info-list dd a:hover { color: var(--accent); }
.info-list dd small { display: block; font-size: 13.5px; color: var(--muted); font-weight: 400; margin-top: 4px; }

/* Φόρμα */
.form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 42px);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .req { color: var(--accent); }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 15px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 138px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 118, 46, .14);
}
.field input::placeholder,
.field textarea::placeholder { color: #A99C8C; }

.field--error input,
.field--error textarea,
.field--error select { border-color: #B4442E; }
.field__error {
  display: none;
  font-size: 12.5px;
  color: #B4442E;
  margin-top: 6px;
}
.field--error .field__error { display: block; }

.field--check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.field--check input { width: 17px; height: 17px; flex: none; margin-top: 3px; accent-color: var(--accent); }
.field--check label { font-size: 13.5px; font-weight: 400; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.field--check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Honeypot — κρυφό από χρήστες, ορατό σε bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form__note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.form__alert {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14.5px;
  margin-bottom: 22px;
}
.form__alert.is-visible { display: block; }
.form__alert--ok { background: #E8F0E4; border: 1px solid #B9CFAE; color: #3B5A2B; }
.form__alert--err { background: #F8E7E2; border: 1px solid #E0B5A8; color: #8C3A24; }

/* -------------------------------------------------------------- 15. Σελίδα */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(44px, 5.5vw, 78px));
  padding-bottom: clamp(34px, 4.5vw, 56px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { max-width: 66ch; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: .5; }

/* Κείμενο άρθρου (Σχετικά / Πολιτική) */
.prose > * + * { margin-top: 22px; }
.prose h2 { margin-top: 46px; }
.prose h3 { margin-top: 34px; }
.prose ul { padding-left: 4px; }
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-top: 10px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 7px;
  height: 1.5px;
  background: var(--accent);
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.pull-quote {
  border-left: 3px solid var(--wood);
  padding: 6px 0 6px 26px;
  margin-block: 34px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}

/* ------------------------------------------------------------- 16. Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 76px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(38px, 5vw, 58px);
}
.footer__brand img { height: 62px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 14.5px; max-width: 34ch; }

.footer h4 {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer__links li + li { margin-top: 11px; }
.footer__links a {
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color .24s var(--ease);
}
.footer__links a:hover { color: var(--accent); }

.footer__contact li { font-size: 14.5px; margin-bottom: 11px; }
.footer__contact a:hover { color: var(--accent); }
.footer__contact strong { display: block; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background .26s var(--ease), color .26s var(--ease), border-color .26s var(--ease);
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.socials svg { width: 17px; height: 17px; }
/* Κενό social link => κρυφό εικονίδιο (ελέγχεται από WP meta στη Φάση 2) */
.socials a[href=""],
.socials a:not([href]) { display: none; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--accent); }

.footer__bottom-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.footer__credit a {
  color: var(--accent);
  font-weight: 500;
}
.footer__credit a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ------------------------------------------------------ 17. Cookie banner */
.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  max-width: 640px;
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  display: none;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie.is-visible { display: flex; }
.cookie p { font-size: 14px; flex: 1 1 300px; margin: 0; }
.cookie a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 10px; flex: none; }
.cookie .btn { padding: 11px 20px; font-size: 13.5px; }

/* ------------------------------------------------------- 18. Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }

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

/* ------------------------------------------------------- 19. Responsive */
@media (max-width: 1080px) {
  .nav a { padding: 9px 10px; font-size: 14px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 78px; }
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .brand img { height: 54px; }
  .header.is-stuck .brand img { height: 46px; }

  /* Σε στενές οθόνες το overlay γίνεται κατακόρυφο, γιατί το κείμενο
     καταλαμβάνει όλο το πλάτος και όχι μόνο την αριστερή στήλη. */
  .hero__bg::after {
    background:
      linear-gradient(to bottom, rgba(18, 23, 30, .62) 0%, rgba(18, 23, 30, .72) 55%, rgba(18, 23, 30, .84) 100%);
  }
  .hero__text { max-width: none; }
  .trust { gap: 12px 28px; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3; }

  .contact-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .masonry { column-count: 2; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .stack-media { padding-bottom: 0; padding-right: 0; }
  .stack-media img:last-child { display: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
  .cookie { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie__actions { width: 100%; }
  .cookie .btn { flex: 1; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

@media (max-width: 460px) {
  .masonry { column-count: 1; }
  .hero__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------- 20. Print */
@media print {
  .header, .mobile-nav, .cookie, .footer, .cta, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   21. Προσθήκες WordPress
   Ό,τι χρειάζεται επειδή τα μενού, το περιεχόμενο και η μπάρα διαχείρισης
   παράγονται από το WordPress και όχι από στατικό HTML.
   ========================================================================== */

/* --------------------------------------------------- Μενού (wp_nav_menu) */
/* Το wp_nav_menu βγάζει <ul class="nav"><li><a>…  — τα ίδια στυλ ισχύουν,
   χρειάζεται όμως το ενεργό στοιχείο μέσω της κλάσης του WordPress. */
.nav-wrap { display: flex; align-items: center; }
.nav li { display: block; }

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a {
  color: var(--ink);
  font-weight: 600;
}
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav .current-menu-ancestor > a::after { transform: scaleX(1); }

.mobile-nav__list { display: block; }
.mobile-nav .current-menu-item > a,
.mobile-nav .current_page_item > a { color: var(--accent); }

/* Η μπάρα διαχείρισης σπρώχνει τη σταθερή κεφαλίδα προς τα κάτω. */
body.admin-bar .header { top: 32px; }
body.admin-bar .mobile-nav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
  body.admin-bar .mobile-nav { top: calc(var(--header-h) + 46px); }
}

/* -------------------------------------------------------- Παραλλαγές */
.cat-grid--duo   { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.cat-grid--tight { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }

.cat-card__title--sm { font-size: 18px; }
.arrow-link--card { margin-top: 14px; }

.section-foot { text-align: center; margin-top: clamp(34px, 4vw, 50px); }
.section-foot--sm { margin-top: 26px; }

.section-head--flush { margin-bottom: 0; }
.pull-quote--flush { margin: 0; }

.h1--sm { font-size: clamp(32px, 4.4vw, 52px); }
.h2--sm { font-size: clamp(24px, 3vw, 32px); margin-bottom: 32px; }
.h2--xs { font-size: clamp(21px, 2.4vw, 26px); margin-bottom: 8px; }

.page-hero__meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form__intro { font-size: 14.5px; margin-bottom: 26px; }
.btn--submit { margin-top: 8px; }

.footer__logo { display: inline-block; }

/* ------------------------------------------------- Περιεχόμενο editor */
.prose img,
.prose figure { max-width: 100%; height: auto; }
.prose figure { margin-block: 26px; }
.prose figcaption,
.wp-caption-text {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}
.prose blockquote {
  border-left: 3px solid var(--wood);
  padding: 6px 0 6px 26px;
  margin-block: 30px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin-block: 24px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--surface); font-weight: 600; color: var(--ink); }
.prose ol { padding-left: 22px; list-style: decimal; }
.prose ol li { margin-top: 10px; }

.alignleft   { float: left; margin: 6px 26px 20px 0; }
.alignright  { float: right; margin: 6px 0 20px 26px; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: 100%; }

/* ------------------------------------------------------ Προσβασιμότητα */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
}
.screen-reader-text:focus {
  clip-path: none;
  height: auto;
  width: auto;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  z-index: 200;
}

/* ----------------------------------------------------------- Σελιδοποίηση */
.pagination, .page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 44px;
}
.pagination .page-numbers,
.page-links a,
.page-links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-soft);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.pagination .page-numbers:hover,
.page-links a:hover { border-color: var(--line-strong); color: var(--ink); }
.pagination .page-numbers.current,
.page-links > span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.entry + .entry { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
