/* ==========================================================================
   Symbiolabs — shared stylesheet
   Palette is a placeholder derived from the current logo/site (navy + teal).
   Swap the --navy-* / --teal-* values once exact brand hex codes are confirmed.
   ========================================================================== */

:root {
  /* Official brand colors: navy Pantone P273C #23145F, teal Pantone P130-8C #00A88E */
  --navy-900: #170d42;
  --navy-800: #23145f;
  --navy-700: #2f1c78;
  --navy-100: #ebe9f5;

  --teal-600: #00816c;
  --teal-500: #00a88e;
  --teal-400: #3fc7ae;
  --teal-100: #e3f6f1;

  --ink: #232134;
  --gray-700: #4b4f5e;
  --gray-500: #6c7080;
  --gray-300: #d7d9e2;
  --gray-100: #f6f6fb;
  --white: #ffffff;

  --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(32, 28, 71, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(32, 28, 71, 0.14);

  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { color: var(--navy-800); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--gray-700); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: .6em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-500); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-600); }
.btn-outline { border-color: var(--navy-100); color: var(--navy-800); background: var(--white); }
.btn-outline:hover { border-color: var(--teal-500); color: var(--teal-600); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--teal-400); color: var(--teal-400); }

/* ---------------------------------- Header --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0 0;
  background: transparent;
}
.site-header .container { display: flex; justify-content: center; }
.nav-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-radius: 999px;
  padding: 9px 10px 9px 20px;
}
.nav-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(10px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  box-shadow: 0 10px 28px -14px rgba(35,20,95,.22);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.brand-mark img { width: 38px; height: 38px; }
.brand-wordmark { height: 34px; width: auto; display: block; }
.footer-wordmark { height: 30px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .92rem;
  color: var(--navy-800);
  transition: background .15s ease, color .15s ease;
}
.main-nav a.nav-link:hover, .main-nav li.has-dropdown:hover a.nav-link, .main-nav a.nav-link.active {
  background: var(--teal-100); color: var(--teal-600);
}
.nav-caret { font-size: .6rem; margin-top: 1px; }

.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  padding: 8px;
  list-style: none;
  margin: 6px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.main-nav li.has-dropdown:hover .dropdown,
.main-nav li.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--gray-700);
}
.dropdown a:hover { background: var(--teal-100); color: var(--teal-600); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-toggle {
  display: flex; border: 1px solid var(--gray-300); border-radius: 999px; overflow: hidden;
  font-size: .78rem; font-weight: 700;
}
.lang-toggle button {
  border: 0; background: transparent; padding: 7px 12px; cursor: pointer; color: var(--gray-500);
}
.lang-toggle button.active { background: var(--navy-800); color: var(--white); }

.nav-toggle {
  display: none;
  border: 0; background: transparent; cursor: pointer;
  width: 40px; height: 40px; border-radius: 8px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy-800); position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-actions { order: 3; }
  .nav-pill { width: 100%; gap: 12px; padding: 8px 8px 8px 14px; }
  .brand-wordmark { height: 24px; }
  .lang-toggle button { padding: 7px 9px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; height: calc(100vh - var(--header-h));
    background: var(--white); display: none; overflow-y: auto; padding: 12px 0 40px;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0 12px; }
  .main-nav a.nav-link { padding: 14px 12px; border-radius: 10px; }
  .dropdown {
    position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none;
    display: none; padding-left: 14px; margin: 0 0 6px;
  }
  li.has-dropdown.open .dropdown { display: block; }
}

/* ---------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--teal-100) 0%, var(--white) 62%);
  overflow: hidden;
  padding: 100px 0 120px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob.b1 { width: 440px; height: 440px; background: var(--teal-500); opacity: .22; top: -160px; right: -120px; }
.hero-blob.b2 { width: 320px; height: 320px; background: var(--navy-800); opacity: .08; bottom: -140px; left: -100px; }
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { color: var(--navy-800); margin-bottom: 26px; }
.hero p.lead { color: var(--gray-700); font-size: 1.12rem; max-width: 560px; margin-left: auto; margin-right: auto; margin-bottom: 0; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(35,20,95,.08);
  font-size: .82rem; color: var(--gray-500);
}
.hero-trust strong { color: var(--navy-800); font-weight: 800; }
.hero-trust.standalone { margin-top: 0; padding-top: 26px; justify-content: flex-start; }

/* ---- Ghost-mark hero variant ---- */
.hero--ghost {
  background: linear-gradient(180deg, var(--teal-100), var(--white) 70%);
  padding: 110px 0 70px;
}
.hero--ghost .hero-inner { margin: 0; text-align: left; max-width: 480px; }
.hero--ghost h1 { margin-bottom: 22px; }
.hero--ghost h1 em { font-style: normal; color: var(--teal-600); }
.hero--ghost p.lead { text-align: left; margin: 0 0 30px; }
.hero--ghost .hero-actions { justify-content: flex-start; margin-top: 0; }
.ghost-mark {
  position: absolute; top: -80px; right: -40px; width: 620px; height: 620px;
  stroke: var(--teal-500); stroke-width: 3; fill: none; stroke-linecap: round;
  opacity: .16; pointer-events: none; z-index: 0;
}
.ghost-mark circle { fill: var(--teal-500); stroke: none; }

@media (max-width: 640px) {
  .ghost-mark { width: 300px; height: 300px; top: -30px; right: -70px; }
}

/* --------------------------------- Sections --------------------------------- */
section { padding: 76px 0; }
.section-soft { background: var(--gray-100); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ----------------------------------- Cards ---------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-100); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex: none;
}
.card h3 { margin-bottom: 2px; }
.card p { margin: 0; font-size: .94rem; }
.card-link { margin-top: auto; font-weight: 700; font-size: .88rem; color: var(--teal-600); text-decoration: none; }

.card.card-empty {
  border-style: dashed; border-color: var(--gray-300); background: var(--gray-100);
  align-items: flex-start; color: var(--gray-500);
}
.card.card-empty h3 { color: var(--gray-500); }
.badge-soon {
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-600); background: var(--teal-100); padding: 4px 10px; border-radius: 999px;
}

/* ------------------------------- Feature split ------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.figure-panel {
  background: var(--teal-100);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  color: var(--navy-800);
  padding: 36px;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  box-shadow: var(--shadow-sm);
}
.figure-panel .eyebrow { color: var(--teal-600); }
.figure-panel h3 { color: var(--navy-800); }
.figure-panel p { color: var(--gray-700); margin: 0; }

/* --------------------------------- Anchor nav -------------------------------- */
.subnav {
  position: sticky; top: var(--header-h);
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; }
.subnav a {
  white-space: nowrap; text-decoration: none; font-weight: 700; font-size: .88rem;
  color: var(--gray-500); padding: 8px 16px; border-radius: 999px;
}
.subnav a:hover, .subnav a.active { background: var(--teal-100); color: var(--teal-600); }

.page-block { scroll-margin-top: calc(var(--header-h) + 60px); padding: 64px 0; border-top: 1px solid var(--gray-100); }
.page-block:first-of-type { border-top: none; }

/* ---------------------------------- People ---------------------------------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.person-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.person-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-100); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.person-card h3 { margin-bottom: 0; font-size: 1.05rem; }
.person-role { color: var(--teal-600); font-weight: 700; font-size: .82rem; margin-bottom: 10px; display: block; }
.person-card p { font-size: .89rem; }

/* ------------------------------------ List ----------------------------------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--gray-700); font-size: .95rem; }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-600); font-size: .72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* ------------------------------------ News ------------------------------------ */
.news-feed { display: flex; flex-direction: column; gap: 0; max-width: 800px; margin: 0 auto; }
.news-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--gray-100);
}
.news-item:first-child { border-top: none; }
.news-date { color: var(--gray-500); font-weight: 700; font-size: .85rem; padding-top: 3px; }
.news-tag {
  display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: var(--teal-600); background: var(--teal-100); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.news-item h3 { margin-bottom: 6px; }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------------------------------- Newsletter --------------------------------- */
.newsletter {
  background: var(--navy-100); color: var(--navy-800);
  border-radius: var(--radius); padding: 44px; text-align: center;
}
.newsletter h2 { color: var(--navy-800); }
.newsletter p { color: var(--gray-700); }
.newsletter-form { display: flex; gap: 10px; justify-content: center; max-width: 420px; margin: 24px auto 0; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--gray-300); font-size: .95rem;
}

/* ---------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--gray-100); color: var(--gray-700); padding: 56px 0 28px; border-top: 1px solid var(--gray-300); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h4 { color: var(--navy-800); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a { color: var(--gray-700); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--teal-600); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--gray-300);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem;
}
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gray-300); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.social-row a:hover { border-color: var(--teal-500); color: var(--teal-600); }

/* ---------------------------------- Page hero (inner pages) ---------------------------------- */
.page-hero {
  background: var(--teal-100); color: var(--navy-800); padding: 64px 0 56px;
}
.page-hero h1 { color: var(--navy-800); margin-bottom: 10px; }
.page-hero p { color: var(--gray-700); max-width: 640px; margin: 0; }

[data-i18n-hide] { display: none; }
html[lang="en"] [data-lang="el"],
html[lang="el"] [data-lang="en"] { display: none; }
