/* CPNI site. Every value is the design's own (docs/design-home-*.dc.html).
   Grids use min(Npx, 100%) so a narrow phone never overflows the page.

   NO GLOBAL border-box. The design uses the browser default (content-box), so
   a button's min-height and an avatar's width exclude its padding and border.
   Switching it globally shrinks every padded or bordered box by a few pixels
   (the EN/ΕΛ buttons lose 28px of width). Opt in per element instead. */

:root {
  --primary: #0F3D4C;
  --accent: #E8A33D;
  --ink: #15262C;
  --heading: #0F2A33;
  --muted: #3D5056;
  --label: #4A5D63;
  --line: #DDE6E4;
  --soft: #F5F7F6;
  --tint: #E3EEEC;
  --panel: #F0F5F4;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Commissioner, 'Segoe UI', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: #0F3D4C; }
a:hover { color: #08242D; }
img { max-width: 100%; }
[id] { scroll-margin-top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--muted); margin: 0; }
.h2 { margin: 0; font-size: 1.6875rem; line-height: 1.2; font-weight: 700; color: var(--heading); }
.eyebrow { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--label); }
.eyebrow--sm { font-size: 0.8125rem; }
.eyebrow--dark { color: #0F3D4C; }
.eyebrow--accent { color: var(--accent); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 8px;
  background: var(--primary); color: #FFFFFF; text-decoration: none; font-weight: 600;
}
.btn:hover { color: #FFFFFF; filter: brightness(1.12); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 0.9375rem; }
.btn--md { min-height: 50px; padding: 0 24px; }
.btn--big { min-height: 64px; gap: 12px; border-radius: 10px; font-weight: 700; font-size: 1.375rem; }
.btn--outline { background: transparent; border: 1.5px solid #0F3D4C; color: #0F3D4C; }
.btn--outline:hover { color: #0F3D4C; background: var(--tint); filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.pair { display: flex; gap: 8px; }
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; min-height: 44px; padding: 0 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.9375rem;
}
.pill-btn--light { background: #FFFFFF; color: #0F2A33; }
.pill-btn--light:hover { color: #0F2A33; background: var(--tint); }
.pill-btn--outline { border: 1.5px solid #0F3D4C; color: #0F3D4C; }
.pill-btn--outline:hover { background: var(--tint); }

/* ---- top bar ---- */
.topbar { background: var(--primary); color: #E6EFEE; font-size: 0.875rem; }
.topbar__in { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 20px; }
.topbar a { color: #FFFFFF; text-decoration: none; }
.langs { display: flex; gap: 4px; }
.langs a, .langs__on {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 6px;
  border: 1px solid #9FBFC2; background: transparent; color: #FFFFFF; font-weight: 600; text-decoration: none;
}
.langs__on { border-color: #FFFFFF; background: #FFFFFF; color: #0F3D4C; }

/* ---- header ---- */
.header { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.header__in { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__stack { display: flex; flex-direction: column; line-height: 1.2; }
.brand__mark { display: flex; align-items: flex-end; gap: 6px; }
.brand__cpni { font-weight: 500; font-size: 1.625rem; letter-spacing: 0.34em; color: #55565A; line-height: 1; }
.brand__line1 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: #3D3E42; }
.brand__line2 { font-size: 0.75rem; color: #55565A; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.9375rem; font-weight: 500; }
.nav a { text-decoration: none; padding: 10px 0; }

/* ---- hero ---- */
.hero { background: #FFFFFF; }
.hero__in {
  padding-top: 80px; padding-bottom: 88px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 56px; align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.badge { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: #0F3D4C; font-size: 0.875rem; font-weight: 600; }
.hero__title { margin: 0; font-size: 2.25rem; line-height: 1.12; font-weight: 700; color: var(--heading); letter-spacing: -0.01em; }
.hero__lead { margin: 0; font-size: 1.1875rem; color: var(--muted); max-width: 34rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid #B9CAC7; color: var(--heading); font-size: 0.9375rem; font-weight: 600;
}
.hero__card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.hero__card-top { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--label); font-weight: 600; }
.hero__card p { margin: 0; font-size: 0.9375rem; color: var(--muted); }

/* ---- photo strip ---- */
.strip { background: #FFFFFF; }
.strip__in { padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.strip__img { width: 100%; height: 190px; object-fit: cover; border-radius: 16px; display: block; }

/* ---- collaborations ---- */
.collab { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.collab__in { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: center; }
.collab__item { font-weight: 600; color: #0F3D4C; }

/* ---- generic section ---- */
.section--soft { background: var(--soft); }
.section--white { background: #FFFFFF; }
.section__in { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.section__head { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; justify-content: space-between; }
.section__intro { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; max-width: 46rem; }
.section__img { flex: 0 1 320px; width: 320px; max-width: 100%; height: 212px; object-fit: cover; border-radius: 16px; display: block; }

/* ---- services ---- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.service {
  display: flex; flex-direction: column; gap: 10px; padding: 28px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink);
}
.service:hover { color: var(--ink); border-color: #B9CAC7; }
.service__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.service__title { font-size: 1.25rem; font-weight: 600; color: var(--heading); }
.service__text { color: var(--muted); font-size: 0.9875rem; }
.service__more { margin-top: auto; padding-top: 6px; font-weight: 600; color: #0F3D4C; font-size: 0.9375rem; }

/* ---- lab ---- */
.lab { background: var(--primary); color: #E6EFEE; }
.lab__in { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 56px; }
.lab__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: end; }
.lab__head-text { display: flex; flex-direction: column; gap: 18px; }
.lab__title { margin: 0; font-size: 1.9375rem; line-height: 1.15; font-weight: 700; color: #FFFFFF; }
.lab__lead { margin: 0; color: #CFE0DF; font-size: 1.125rem; }
.tests { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.test { padding: 28px; border-radius: 16px; background: #164A5B; display: flex; flex-direction: column; gap: 10px; }
.test.is-spare { background: transparent; border: 1px dashed #5E8A93; }
.test__title { font-size: 1.25rem; font-weight: 600; color: #FFFFFF; }
.test__text { color: #CFE0DF; }
.lab__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: start; }
.lab__col { display: flex; flex-direction: column; gap: 16px; }
.lab__h3 { margin: 0; font-size: 1.25rem; font-weight: 600; color: #FFFFFF; }
.lab__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: #E6EFEE; }
.lab__steps { display: flex; flex-direction: column; gap: 14px; }
.lab__step { display: flex; gap: 14px; align-items: flex-start; color: #E6EFEE; }
.lab__step strong { color: #FFFFFF; }
.num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px; background: var(--accent);
  color: #0F2A33; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.num--sm { width: 32px; height: 32px; }
.leaflet-box {
  display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.28);
}
.leaflet-box__text { flex: 1 1 200px; display: flex; flex-direction: column; line-height: 1.35; }
.leaflet-box__title { color: #FFFFFF; font-weight: 600; }
.leaflet-box__desc { color: #E6EFEE; font-size: 0.9375rem; }
.book-strip {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center;
  padding: 28px 32px; border-radius: 16px; background: #FFFFFF; color: var(--ink);
}
.book-strip__text { display: flex; flex-direction: column; gap: 4px; max-width: 40rem; }
.book-strip__title { font-size: 1.25rem; font-weight: 600; color: var(--heading); }

/* ---- visit ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 16px; background: var(--soft); }
.step__title { font-size: 1.1875rem; font-weight: 600; color: var(--heading); }
.step__text { color: var(--muted); font-size: 0.9875rem; }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; border-radius: 16px; background: var(--tint); }
.notice svg { flex-shrink: 0; margin-top: 2px; }
.notice__text { display: flex; flex-direction: column; gap: 4px; }
.notice__title { font-size: 1.125rem; font-weight: 600; color: var(--heading); }

/* ---- about ---- */
.about { background: var(--tint); }
.about__in { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.about__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 14px; }
.about__lead { margin: 0; font-size: 1.125rem; color: var(--heading); }
.about__text a { color: #0F3D4C; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.about__img { flex: 0 1 400px; width: 400px; max-width: 100%; height: 266px; object-fit: cover; border-radius: 16px; display: block; }

/* ---- team ---- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; }
.avatar { width: 88px; height: 88px; border-radius: 999px; object-fit: cover; display: block; }
.avatar--initials {
  background: var(--tint); border: 1px dashed #9FBFC2; color: #0F3D4C; font-weight: 700; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.person__name { font-size: 1.25rem; font-weight: 600; color: var(--heading); }
.person__bio { color: var(--muted); font-size: 0.9875rem; }
.person__email { font-weight: 500; font-size: 0.9375rem; }
.person__cv { font-weight: 600; font-size: 0.9375rem; }
.person__phone { font-weight: 600; font-size: 0.9375rem; text-decoration: none; }

/* ---- families ---- */
.families { background: #FFFFFF; }
.families__in {
  padding-top: 88px; padding-bottom: 88px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: center;
}
.families__intro { display: flex; flex-direction: column; gap: 14px; }
.families__img { margin-top: 14px; width: 100%; max-width: 420px; height: 240px; object-fit: cover; border-radius: 16px; display: block; }
.families__list { display: flex; flex-direction: column; gap: 12px; }
.families__label { margin-top: 14px; }
.leaflet {
  display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center;
  min-height: 68px; padding: 10px 22px; border: 1px solid var(--line); border-radius: 12px; color: var(--heading); font-weight: 600;
}
.leaflet__title { flex: 1 1 220px; }
.ext {
  display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; align-items: center;
  min-height: 60px; padding: 10px 22px; border-radius: 12px; background: var(--panel); text-decoration: none; color: var(--heading);
}
.ext:hover { color: var(--heading); background: var(--tint); }
.ext__text { flex: 1 1 220px; display: flex; flex-direction: column; line-height: 1.35; }
.ext__title { font-weight: 600; }
.ext__desc { color: var(--muted); font-size: 0.9375rem; }
.ext__cta { font-weight: 600; font-size: 0.9375rem; color: #0F3D4C; }

/* ---- contact ---- */
.contact__in {
  padding-top: 88px; padding-bottom: 88px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: start;
}
.contact__col { display: flex; flex-direction: column; gap: 20px; }
.place { padding: 24px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 6px; }
.place--tint { background: var(--tint); border: 0; }
.place__name { font-size: 1.1875rem; font-weight: 600; color: var(--heading); }
.place__link {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px;
  color: #0F3D4C; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.direct { display: flex; flex-direction: column; gap: 4px; }
.direct__phone { font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.direct__email { font-weight: 500; }
.direct a:not(.direct__phone):not(.direct__email) { font-weight: 500; }
.book { padding: 32px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 18px; }
.book__title { font-size: 1.625rem; line-height: 1.25; font-weight: 600; color: var(--heading); }
.book__note { padding: 18px 20px; border-radius: 12px; background: var(--panel); color: var(--muted); }
.book .muted a { font-weight: 600; }

/* ---- footer ---- */
.footer { background: #0B2A34; color: #CFE0DF; font-size: 0.9375rem; }
.footer__in { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.footer__emergency { padding: 18px 22px; border-radius: 12px; background: #13404E; color: #FFFFFF; }
.footer__row { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { color: #CFE0DF; }

/* ---- plain pages (sign-in, not found) ---- */
.plain { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 64px 24px; }
.plain__box, .plain__box input { box-sizing: border-box; }
.plain__box { width: 100%; max-width: 420px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plain__box h1 { margin: 0; font-size: 1.5rem; color: var(--heading); }
.plain__box label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9375rem; color: var(--heading); }
.plain__box input { font: inherit; padding: 12px 14px; border: 1px solid #B9CAC7; border-radius: 8px; }
.plain__box input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.plain__box .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.plain__err { margin: 0; padding: 10px 14px; border-radius: 8px; background: #FBEAE5; color: #8A2A12; font-size: 0.9375rem; }
