/* ==========================================================
   ΞΞΏΟ…Ο‚ Ο…Ξ³ΞΉΞ®Ο‚ β€“ ΞΞ­Ξ½Ο„ΟΞΏ Ξ‘Ξ½Ξ¬Ο€Ο„Ο…ΞΎΞ·Ο‚
   Shared styles for the Greek and English pages.
   Colors are taken from the logo. Change them here only.
   ========================================================== */

:root {
  --cream: #FEF6F3;      /* logo background */
  --paper: #FFFBF9;
  --blush: #FBEBE5;
  --mist: #D6EAE7;       /* light logo teal */
  --butter: #F3DC8F;     /* yellow dots in the logo */
  --teal: #5AA69C;       /* logo teal (fills, decoration) */
  --teal-deep: #2E766E;  /* darker teal, safe for text and buttons */
  --clay: #A4573F;       /* logo terracotta */
  --ink: #3B2B27;
  --ink-soft: #6B5750;

  --font-head: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --wrap: 1120px;
  --radius-photo: 22px;
  --header-h: 120px;
}

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

html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

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

a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--clay); }

:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--clay);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; color: var(--teal-deep); }

p { margin: 0 0 1.1rem; max-width: 62ch; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--teal-deep);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid rgba(164, 87, 63, 0.14);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--teal-deep);
}
.brand__mark {
  margin-left: clamp(0.5rem, 4vw, 3.5rem);
  height: 104px;
  width: auto;
  display: block;
}
.brand__text { display: none; } /* name is part of the logo image */
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--teal-deep);
}
.brand__tag {
  font-size: 0.8rem;
  color: var(--clay);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav__list { display: flex; gap: 0.25rem; }
.nav__link {
  display: block;
  white-space: nowrap;
  padding: 0.5rem 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  border-radius: 999px;
}
.nav__link:hover { color: var(--clay); }
.nav__link[aria-current="page"] {
  color: var(--clay);
  box-shadow: inset 0 -3px 0 var(--clay);
  border-radius: 0;
}

.lang {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.lang a { text-decoration: none; padding: 0.2rem 0.3rem; }
.lang [aria-current="true"] { color: var(--clay); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--clay);
  color: var(--clay);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font: 700 0.9rem var(--font-body);
  cursor: pointer;
}

@media (max-width: 1100px) {
  :root { --header-h: 92px; }
  .brand__mark { height: 80px; }
  .brand__tag { display: none; }
  .nav-toggle { display: inline-block; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(164, 87, 63, 0.14);
    /* The open menu is taller than a phone screen: let it scroll inside itself */
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav__list { flex-direction: column; width: 100%; }
  .nav__link { padding: 0.75rem 0; }
  .nav__link[aria-current="page"] { box-shadow: none; text-decoration: underline; text-decoration-thickness: 3px; }

  /* Collapsed only when JavaScript is available */
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  text-decoration: none;
}
.btn--primary { background: var(--teal-deep); color: #fff; }
.btn--primary:hover { background: var(--clay); color: #fff; }
.btn--ghost { border-color: var(--clay); color: var(--clay); }
.btn--ghost:hover { background: var(--clay); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(6rem, 12vw, 9.5rem);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero__lead { font-size: 1.2rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero__logo {
  justify-self: center;
  width: min(100%, 400px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 14px var(--mist);
}
.hero__logo img { width: 88%; }

/* The line that curls in from the left echoes the logo's tail. */
.hero__line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(110px, 16vw, 200px);
  z-index: 0;
  pointer-events: none;
}
.hero__line path {
  fill: none;
  stroke: var(--clay);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__line path {
    stroke-dashoffset: 1;
    animation: draw-line 3.2s cubic-bezier(0.45, 0.05, 0.3, 1) 0.4s forwards;
  }
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }

.dot {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.dot--butter { background: var(--butter); }
.dot--mist { background: #A9D0CC; }
.dot--teal { background: var(--teal); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__logo { width: min(calc(100% - 28px), 320px); order: -1; justify-self: center; }
  .hero .dot { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--blush); }

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}
.about__lead { font-size: 1.2rem; color: var(--ink); }
.about--sub { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 4px solid var(--teal); }
.about--sub-alt { border-top-color: var(--butter); }
.about--sub h3 { font-size: 1.6rem; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 0.5rem; }
}

.audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.audience { border-top: 4px solid var(--teal); padding-top: 1.1rem; }
.audience:nth-child(2) { border-top-color: var(--butter); }
.audience:nth-child(3) { border-top-color: var(--clay); }
.audience h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.audience p { color: var(--ink-soft); margin: 0; }

@media (max-width: 860px) {
  .audiences { grid-template-columns: 1fr; gap: 2rem; }
}

.services__intro { margin-bottom: 2.5rem; }
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 3.5rem;
}
.service {
  position: relative;
  padding-left: 2.1rem;
}
.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--teal);
}
.service:nth-child(3n + 2)::before { background: var(--butter); }
.service:nth-child(3n + 3)::before { background: #A9D0CC; }
.service h3 { margin-bottom: 0.2rem; }
.service p { margin: 0; color: var(--ink-soft); }

@media (max-width: 700px) {
  .services { grid-template-columns: 1fr; }
}

/* ---------- Inner page heading ---------- */

.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.page-head p { font-size: 1.2rem; color: var(--ink-soft); margin: 0; }

/* ---------- Gallery ---------- */

.gallery {
  columns: 3 260px;
  column-gap: 1.1rem;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.gallery__item {
  display: block;
  margin: 0 0 1.1rem;
  break-inside: avoid;
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: var(--mist);
}
.gallery__item img { width: 100%; }

.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox::backdrop { background: rgba(59, 43, 39, 0.9); }
.lightbox[open] {
  display: grid;
  place-items: center;
}
.lightbox__figure { margin: 0; text-align: center; padding: 0 4.5rem; }
.lightbox__figure img {
  max-width: min(92vw, 1000px);
  max-height: 76vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-photo);
}
.lightbox__figure figcaption { margin-top: 1rem; font-size: 1.05rem; }
.lightbox__btn {
  position: absolute;
  background: var(--cream);
  color: var(--clay);
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font: 700 1.4rem var(--font-body);
  cursor: pointer;
}
.lightbox__btn:hover { background: var(--butter); }
.lightbox__btn--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { right: 1rem; top: 1rem; }
.lightbox :focus-visible { outline-color: var(--butter); }

@media (max-width: 600px) {
  .lightbox__figure { padding: 0 1rem; }
  .lightbox__btn--prev { top: auto; bottom: 1rem; transform: none; }
  .lightbox__btn--next { top: auto; bottom: 1rem; transform: none; }
}

/* ---------- Team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 3.5rem;
  padding-block: 1.5rem clamp(3.5rem, 7vw, 5.5rem);
}
.member {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.member__photo {
  width: 170px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 24px 24px;
  background: var(--mist);
}
.member h2 { font-size: 1.35rem; color: var(--teal-deep); margin-bottom: 0.15rem; }
.member__role { color: var(--clay); font-weight: 700; margin-bottom: 0.9rem; }
.member__notes li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.member__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--butter);
}

@media (max-width: 960px) {
  .team { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .member { grid-template-columns: 1fr; }
  .member__photo { width: 150px; }
}

/* ---------- Contact ---------- */

.contact {
  background: var(--mist);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact__details { margin: 1.5rem 0 0; }
.contact__row { margin-bottom: 1.1rem; }
.contact__row dt {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.contact__row dd { margin: 0; font-size: 1.1rem; }
.contact__row a { color: var(--ink); font-weight: 600; }
.contact__row a:hover { color: var(--clay); }

.social { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
}
.social a:hover { color: var(--clay); }
.social svg { width: 26px; height: 26px; fill: currentColor; }

.contact__map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius-photo);
  background: var(--cream);
}
.contact__map p { margin: 0.75rem 0 0; font-size: 0.97rem; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.site-footer p { margin: 0; max-width: none; }

.lang .flag { display: block; width: 28px; height: 19px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); opacity: 0.55; }
.lang a:hover .flag, .lang a:focus-visible .flag { opacity: 1; }
.lang [aria-current="true"] .flag { opacity: 1; box-shadow: 0 0 0 2px var(--clay); }

/* Hero: "call" button on touch phones, "contact" (scroll to contact section) elsewhere */
.btn--call { display: none; }
@media (hover: none) and (pointer: coarse) {
  .btn--call { display: inline-block; }
  .btn--contact { display: none; }
}

/* ---------- Services dropdown ---------- */
.nav__list > li { position: relative; }
.nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 18rem;
  flex-direction: column;
  padding: 0.5rem;
  background: var(--cream);
  border: 1px solid rgba(164, 87, 63, 0.14);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  z-index: 60;
}
.has-sub:hover > .nav__sub,
.has-sub:focus-within > .nav__sub { display: flex; }
.nav__sub .nav__link { border-radius: 8px; font-size: 0.92rem; }
.nav__sub .nav__link:hover { background: rgba(164, 87, 63, 0.08); }
.service { scroll-margin-top: calc(var(--header-h) + 1rem); }

@media (max-width: 1100px) {
  .nav__sub {
    display: flex;
    position: static;
    min-width: 0;
    padding: 0 0 0 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav__sub .nav__link { padding: 0.45rem 0; font-weight: 400; }
}

/* ---------- Service pages ---------- */
.prose { max-width: 46rem; padding-bottom: 3rem; }
.prose h2 { margin-top: 2.25rem; }
.prose ul { padding-left: 1.25rem; list-style: disc; }
.prose li { margin-bottom: 0.4rem; }
.prose__cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(164, 87, 63, 0.08);
}
.prose__cta h2 { margin-top: 0; }
.service__more { font-weight: 700; color: var(--clay); text-decoration: none; }
.service__more:hover { text-decoration: underline; }

/* ---------- Services: three main services stand out inside the same list ---------- */
.services { grid-template-columns: repeat(6, 1fr); gap: 1.75rem 2rem; }
.service { grid-column: span 3; }
.service--main {
  grid-column: span 2;
  padding: 1.5rem 1.4rem;
  background: var(--paper);
  border-radius: 16px;
  border-top: 4px solid var(--teal-deep);
  box-shadow: 0 6px 18px rgba(59, 43, 39, 0.07);
}
.service--main::before { display: none; }
.service--main h3 { font-size: 1.35rem; margin-bottom: 0.5rem; color: var(--teal-deep); }
.service--main p { color: var(--ink); }
.service--main:nth-child(2) { border-top-color: var(--clay); }
.service--main:nth-child(2) h3 { color: var(--clay); }
.service--main:nth-child(3) { border-top-color: var(--butter); }
/* Colour variation for the 4th and 5th main cards (muted slate blue, warm ochre; text colours keep AA contrast) */
.service--main:nth-child(4) { border-top-color: #46688A; }
.service--main:nth-child(4) h3 { color: #46688A; }
.service--main:nth-child(5) { border-top-color: #D9B54A; }
.service--main:nth-child(5) h3 { color: #7A5A0C; }
/* Second row: the 4th and 5th main cards are centred under the first three */
.service--main:nth-child(4) { grid-column: 2 / span 2; }
.service--main:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 860px) {
  .service, .service--main,
  .service--main:nth-child(4), .service--main:nth-child(5) { grid-column: span 6; }
}
@media (max-width: 700px) {
  .services { grid-template-columns: repeat(6, 1fr); }
}
.service--main { display: flex; flex-direction: column; }
.service--main p:last-child { margin-top: auto; padding-top: 1rem; }

/* ---------- Map (loads only after a click) ---------- */
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  aspect-ratio: 4 / 3;
  padding: 1.5rem;
  border-radius: var(--radius-photo);
  background: var(--cream);
  border: 1px solid rgba(164, 87, 63, 0.2);
}
.map-consent p { margin: 0; color: var(--ink-soft); }

/* ---------- Footer link ---------- */
.site-footer a { color: inherit; }

/* ---------- Sticky call bar (touch phones only) ---------- */
.call-bar { display: none; }
@media (hover: none) and (pointer: coarse) and (max-width: 700px) {
  .call-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
    background: var(--teal-deep);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }
  body { padding-bottom: 3.5rem; }
}

/* ---------- Articles ---------- */
.article-list { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; gap: 1.75rem; max-width: 46rem; }
.article-card {
  padding: 1.5rem 1.4rem;
  background: var(--paper);
  border-radius: 16px;
  border-top: 4px solid var(--teal-deep);
  box-shadow: 0 6px 18px rgba(59, 43, 39, 0.07);
}
.article-card:nth-child(2) { border-top-color: var(--clay); }
.article-card h2 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.article-card h2 a { color: var(--teal-deep); text-decoration: none; }
.article-card h2 a:hover { text-decoration: underline; }
.article-card p { margin: 0 0 0.75rem; }
.article-card p:last-child { margin-bottom: 0; }
.article__back { margin: 0 0 1rem; }
.article__back a { font-weight: 700; color: var(--clay); text-decoration: none; }
.article__back a:hover { text-decoration: underline; }
.prose .refs { list-style: none; padding-left: 0; font-size: 0.9rem; color: var(--ink-soft); }
.prose .refs li { overflow-wrap: anywhere; }
.prose.prose--wide { max-width: var(--wrap); }
.article-list { max-width: none; margin-inline: 0; }
.prose--wide p, .prose--wide li { max-width: none; }
.prose--wide p { text-align: justify; hyphens: auto; }
.prose--wide .refs li { text-align: left; }
