/* ============================================================
   DuoCardio — Κοινό stylesheet
   Βασισμένο στο συμφωνημένο design (LandingPage Alt) και στο
   DuoCardio design system (tokens: colors, typography).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand: Cardio Red */
  --red-50:  #FDECEC;
  --red-100: #FAD2D4;
  --red-400: #DE4751;
  --red-500: #D62330;
  --red-600: #BC1A26;
  --red-700: #99151F;

  /* Brand: Duo Blue */
  --blue-50:  #E7F1F9;
  --blue-100: #C5DDEF;
  --blue-400: #2A7FBB;
  --blue-500: #0A5C9E;
  --blue-700: #053C6C;
  --blue-800: #003E70;

  /* Warm neutrals */
  --warm-0:   #FFFFFF;
  --warm-50:  #FBF7F2;
  --warm-100: #F4EDE3;
  --warm-200: #E9DFD1;
  --warm-300: #D8CBBA;
  --warm-400: #B6A795;
  --warm-500: #8C7E6E;
  --warm-600: #6A5E51;
  --warm-700: #4C433A;
  --warm-800: #312B25;
  --warm-900: #221E1A;

  /* Support */
  --teal-100: #D6EDE9;
  --teal-500: #2E9E8C;
  --teal-700: #1E6E62;
  --green-100: #DCF1E2;
  --green-700: #1E6B3D;

  /* Semantic (όπως στο συμφωνημένο design: primary = μπλε 400) */
  --brand-primary: #2A7FBB;
  --brand-primary-hover: #0A5C9E;
  --brand-dark: #1A1714;
  --brand-dark-hover: #000000;

  --text-strong: var(--warm-900);
  --text-body: var(--warm-700);
  --text-muted: var(--warm-600);
  --border-soft: var(--warm-200);

  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 10px;

  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-card: 0 12px 32px -8px rgba(34, 30, 26, 0.22);
  --shadow-panel: 0 24px 60px -24px rgba(10, 92, 158, 0.38);
  --shadow-cta: 0 24px 60px -28px rgba(5, 60, 108, 0.42);

  --container: 1160px;
  --focus-ring: rgba(42, 127, 187, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ασφάλεια έναντι οριζόντιας υπερχείλισης σε μικρές οθόνες
   (το clip δεν επηρεάζει το position: sticky, σε αντίθεση με το hidden) */
html, body { overflow-x: clip; }

h1, h2, h3 { overflow-wrap: break-word; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p { margin: 0; }

a { color: var(--brand-primary); text-decoration: none; transition: color 160ms ease; }
a:hover { color: var(--brand-primary-hover); }

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

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

.container { max-width: var(--container); margin: 0 auto; padding-left: 28px; padding-right: 28px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.btn:active { transform: translateY(1px); }

.btn-sm { height: 38px; padding: 8px 16px; font-size: 14px; }
.btn-md { height: 46px; padding: 11px 22px; font-size: 16px; }
.btn-lg { height: 56px; padding: 15px 30px; font-size: 18px; }

.btn-primary { background: var(--brand-primary); color: #fff; box-shadow: 0 1px 2px rgba(34,30,26,0.08); }
.btn-primary:hover { background: var(--brand-primary-hover); color: #fff; }

.btn-dark { background: var(--brand-dark); color: #fff; box-shadow: 0 1px 2px rgba(34,30,26,0.08); }
.btn-dark:hover { background: var(--brand-dark-hover); color: #fff; }

.btn-outline { background: transparent; color: var(--brand-primary); border: 1.5px solid var(--brand-primary); }
.btn-outline:hover { background: var(--blue-50); color: var(--brand-primary-hover); }

.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn .icon { width: 18px; height: 18px; stroke-width: 2; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.badge .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.badge-red { background: var(--red-50); color: var(--red-700); }
.badge-blue { background: var(--blue-50); color: var(--blue-700); }
.badge-teal { background: var(--teal-100); color: var(--teal-700); }
.badge-success { background: var(--green-100); color: var(--green-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 200ms ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(34,30,26,0.18); }

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 38px; border-radius: 4px; }
.brand-word { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand-word .duo { color: var(--blue-800); }
.brand-word .cardio { color: var(--red-500); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.main-nav a:not(.btn):hover { color: var(--text-strong); }
.main-nav a:not(.btn).active { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }

/* Dropdown (Οι ιατροί) */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a .chev { width: 14px; height: 14px; vertical-align: -2px; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 8px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}
.dropdown-menu a:hover { background: var(--warm-50); color: var(--text-strong); }
.dropdown-menu a span { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-top: 2px; }

/* Burger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-strong);
}
.nav-toggle .icon { width: 26px; height: 26px; stroke-width: 2; }

/* ---------- Hero (index) ---------- */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 28px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(38px, 5vw, 58px); letter-spacing: -0.025em; line-height: 1.04; margin-top: 20px; }
.hero h1 .accent { color: var(--red-400); }
.hero .lead { font-size: 19px; line-height: 1.6; max-width: 46ch; margin-top: 22px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-panel {
  position: relative;
  border-radius: var(--radius);
  min-height: 460px;
  background: linear-gradient(150deg, #3E92C8 0%, #0A5C9E 100%);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: radial-gradient(circle at 78% 22%, #fff 0, transparent 42%);
}
.hero-panel .panel-icon {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 54px;
  height: 54px;
  color: rgba(255,255,255,0.92);
  stroke-width: 1.6;
}
.hero-panel .panel-copy { position: absolute; left: 40px; top: 118px; right: 40px; }
.hero-panel .panel-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: rgba(255,255,255,0.72); }
.hero-panel .panel-title { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-top: 8px; line-height: 1.2; }

.floating-card {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 16px;
}
.floating-card .fc-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.floating-card .fc-icon .icon { width: 24px; height: 24px; color: var(--green-700); stroke-width: 2; }
.floating-card .fc-title { font-size: 15px; font-weight: 700; color: var(--text-strong); }
.floating-card .fc-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-cream { background: var(--warm-50); }
.section-head { max-width: 62ch; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 38px); margin-top: 12px; }
.section-head .sub { font-size: 17px; line-height: 1.6; margin-top: 14px; }

/* ---------- Service rows (index) ---------- */
.service-list { margin-top: 40px; border-top: 1px solid var(--border-soft); }
.service-row {
  display: grid;
  grid-template-columns: 72px 1.05fr 1.35fr;
  gap: 36px;
  align-items: center;
  padding: 30px 8px;
  border-bottom: 1px solid var(--border-soft);
  transition: background 160ms ease;
}
.service-row:hover { background: var(--warm-50); }
.service-num { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; color: var(--warm-300); line-height: 1; }
.service-title-wrap { display: flex; align-items: center; gap: 14px; }
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.service-icon .icon { width: 24px; height: 24px; stroke-width: 2; }
.service-icon.tint-blue { background: var(--blue-50); }
.service-icon.tint-blue .icon { color: var(--brand-primary); }
.service-icon.tint-red { background: var(--red-50); }
.service-icon.tint-red .icon { color: var(--red-400); }
.service-icon.tint-teal { background: var(--teal-100); }
.service-icon.tint-teal .icon { color: var(--teal-500); }
.service-row h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.01em; }
.service-row .desc { font-size: 15.5px; line-height: 1.6; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-value { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.stat-value.blue { color: var(--brand-primary); }
.stat-value.red { color: var(--red-400); }
.stat-value.teal { color: var(--teal-500); }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Doctor cards (index / about) ---------- */
.doctors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.doctor-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.doctor-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.doctor-card h3 { font-size: 24px; font-weight: 800; }
.doctor-card .doc-role { font-size: 14px; font-weight: 600; color: var(--brand-primary); }
.doctor-card .doc-bio { font-size: 15px; line-height: 1.65; }
.doctor-card .doc-link { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.doctor-card .doc-link .icon { width: 17px; height: 17px; stroke-width: 2.2; transition: transform 180ms ease; }
.doctor-card .doc-link:hover .icon { transform: translateX(3px); }

/* ---------- Photo placeholder (φωτογραφίες ιατρών) ---------- */
.photo-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(42,127,187,0.05) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--blue-50) 0%, var(--warm-100) 100%);
  border: 2px dashed var(--blue-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--blue-700);
  padding: 24px;
  min-height: 260px;
}
.photo-placeholder .icon { width: 44px; height: 44px; stroke-width: 1.5; color: var(--blue-400); }
.photo-placeholder .ph-label { font-size: 14.5px; font-weight: 700; }
.photo-placeholder .ph-dims { font-size: 12.5px; font-weight: 600; color: var(--warm-500); letter-spacing: 0.04em; }
.doctor-card .photo-placeholder { aspect-ratio: 4 / 3; }

/* ---------- Πραγματικές φωτογραφίες ιατρών / ιατρείου ---------- */
/* Φωτογραφία ιατρού στην κάρτα (index / about) */
.doctor-card .doctor-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Φωτογραφία ιατρού στη σελίδα προφίλ */
.profile-photo .profile-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Hero panel με φωτογραφία αντί για σκέτο gradient */
.hero-panel .panel-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-panel.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* πιο σκούρο πάνω-αριστερά όπου κάθεται το λευκό κείμενο, πιο διάφανο
     κάτω-δεξιά ώστε να διακρίνεται ο χώρος του ιατρείου */
  background: linear-gradient(152deg, rgba(5, 60, 108, 0.93) 0%, rgba(10, 92, 158, 0.78) 52%, rgba(10, 92, 158, 0.48) 100%);
}
.hero-panel .panel-icon,
.hero-panel .panel-copy,
.hero-panel .floating-card { z-index: 2; }

/* Πλέγμα φωτογραφιών (χώρος ιατρείου, συνέδρια) */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 40px; }
.photo-grid figure { margin: 0; }
.photo-grid figcaption { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin-top: 12px; }

/* Φωτογραφία με επικάλυψη στοιχείων επικοινωνίας */
.photo-overlay { position: relative; }
.photo-overlay .overlay-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(to top, rgba(5, 60, 108, 0.95) 0%, rgba(5, 60, 108, 0.78) 48%, rgba(5, 60, 108, 0) 100%);
}
.photo-overlay .overlay-content a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.photo-overlay .overlay-content a:hover { color: rgba(255, 255, 255, 0.82); }
.photo-overlay .overlay-content .icon { width: 17px; height: 17px; stroke-width: 2.2; flex: none; }

/* ---------- Image tiles ---------- */
.img-tile { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.img-tile img { width: 100%; height: 100%; object-fit: cover; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .img-tile img { aspect-ratio: 4 / 3; }

/* ---------- Λογότυπα επιστημονικών εταιρειών ---------- */
.logo-grid { display: grid; gap: 18px; }
.logo-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 178px;
}
.logo-card img { width: auto; max-width: 100%; max-height: 130px; object-fit: contain; margin: 0 auto; }
/* το λογότυπο της ΕΚΕ είναι οριζόντιο — χαμηλότερη κάρτα, μικρότερο ύψος εικόνας */
.logo-card.wide { min-height: 118px; }
.logo-card.wide img { max-height: 66px; }

/* ---------- Ενσωματωμένος χάρτης ---------- */
.map-embed {
  margin-top: 36px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-actions { margin-top: 18px; }

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(140deg, #0A5C9E 0%, #053C6C 100%);
  padding: 64px 56px;
  text-align: center;
  box-shadow: var(--shadow-cta);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background: radial-gradient(circle at 15% 20%, #fff 0, transparent 38%);
}
.cta-panel > * { position: relative; }
.cta-panel h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; line-height: 1.12; }
.cta-panel .sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.82); max-width: 48ch; margin: 18px auto 0; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Page hero (εσωτερικές σελίδες) ---------- */
.page-hero { background: var(--warm-50); border-bottom: 1px solid var(--border-soft); padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 46px); margin-top: 14px; }
.page-hero .sub { font-size: 18px; line-height: 1.65; max-width: 60ch; margin-top: 16px; }

/* ---------- Doctor profile layout ---------- */
.profile-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 56px; align-items: start; }
.profile-photo { position: sticky; top: 96px; }
.profile-photo .photo-placeholder { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.profile-meta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.profile-meta .meta-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.profile-meta .meta-item .icon { width: 18px; height: 18px; stroke-width: 2; color: var(--brand-primary); flex: none; margin-top: 3px; }

.prose { font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 27px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 14px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }

/* Chips εξειδίκευσης */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius);
}
.chip .icon { width: 16px; height: 16px; stroke-width: 2; }

/* Timeline */
.timeline { list-style: none; margin: 20px 0 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--blue-100);
  border-radius: 2px;
}
.timeline li { position: relative; padding: 0 0 22px 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-primary);
}
.timeline .tl-period { font-size: 13px; font-weight: 700; color: var(--brand-primary); letter-spacing: 0.02em; }
.timeline .tl-title { font-size: 16px; font-weight: 700; color: var(--text-strong); margin-top: 2px; }
.timeline .tl-desc { font-size: 14.5px; margin-top: 3px; }

/* Publications */
.pub-list { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: pub; }
.pub-list li {
  counter-increment: pub;
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14.5px;
  line-height: 1.6;
}
.pub-list li + li { margin-top: 12px; }
.pub-list li::before {
  content: counter(pub, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 20px;
  font-weight: 800;
  color: var(--warm-300);
}
.pub-list .pub-title { font-weight: 700; color: var(--text-strong); display: block; }
.pub-list .pub-src { display: block; margin-top: 4px; color: var(--text-muted); font-size: 13.5px; }
.pub-list a { font-weight: 600; }

/* ---------- Value cards (about) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.value-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.value-card .service-icon { margin-bottom: 16px; }
.value-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; line-height: 1.65; }

/* ---------- Forms / Tabs (επικοινωνία) ---------- */
.tabs { display: flex; gap: 8px; background: var(--warm-100); padding: 6px; border-radius: var(--radius-lg); width: fit-content; }
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.tab-btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.tab-btn.active { background: #fff; color: var(--brand-primary); box-shadow: 0 2px 8px -2px rgba(34,30,26,0.14); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 320ms ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.form-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 8px 28px -16px rgba(34,30,26,0.14);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 700; color: var(--text-strong); }
.form-field label .req { color: var(--red-500); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-strong);
  background: var(--warm-50);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(42,127,187,0.15);
}
.form-field .hint { font-size: 12.5px; color: var(--text-muted); }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-muted); }
.form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-primary); flex: none; }
.form-error { display: none; font-size: 13px; font-weight: 600; color: var(--red-600); }
.form-field.invalid .form-error { display: block; }
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-color: var(--red-400); }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: var(--green-100);
  border: 1px solid rgba(30,107,61,0.25);
  color: var(--green-700);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}
.form-success.visible { display: flex; animation: fadeIn 320ms ease; }
.form-success .icon { width: 22px; height: 22px; stroke-width: 2.2; flex: none; margin-top: 1px; }

/* Contact info side */
.contact-layout { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 40px; align-items: start; }
.info-card {
  background: var(--warm-50);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.info-card h3 { font-size: 19px; margin-bottom: 18px; }
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.info-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.info-list .icon { width: 20px; height: 20px; stroke-width: 2; color: var(--brand-primary); flex: none; margin-top: 2px; }
.info-list strong { display: block; color: var(--text-strong); font-size: 14px; }
.info-card + .info-card { margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); background: #fff; margin-top: 0; }
.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 28px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { font-size: 14px; line-height: 1.65; margin-top: 14px; max-width: 34ch; }
.footer-col h4 { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-strong); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--text-muted); }
.footer-col a:hover { color: var(--brand-primary); }
.footer-col li { display: flex; align-items: center; gap: 9px; }
.footer-col .icon { width: 16px; height: 16px; stroke-width: 2; color: var(--brand-primary); flex: none; }
.footer-bottom { border-top: 1px solid var(--border-soft); }
.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: var(--radius);
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(10,92,158,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms, background 160ms ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-primary-hover); }
.back-to-top .icon { width: 22px; height: 22px; stroke-width: 2.2; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px -16px rgba(34,30,26,0.3);
  padding: 22px 24px;
  display: none;
}
.cookie-banner.visible { display: block; animation: cookieIn 380ms cubic-bezier(0.21, 0.8, 0.32, 1); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-banner h3 { font-size: 16px; display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.cookie-banner h3 .icon { width: 19px; height: 19px; stroke-width: 2; color: var(--brand-primary); }
.cookie-banner p { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 640ms ease, transform 640ms ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 90ms; }
.reveal-d2 { transition-delay: 180ms; }
.reveal-d3 { transition-delay: 270ms; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero-panel { min-height: 420px; }
  .profile-grid { grid-template-columns: 1fr; gap: 40px; }
  .profile-photo { position: static; max-width: 420px; }
  .contact-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 84px 28px 28px;
    box-shadow: -18px 0 48px -20px rgba(34,30,26,0.3);
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.21, 0.8, 0.32, 1);
    overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav a:not(.btn) { font-size: 16px; padding: 12px 0; width: 100%; border-bottom: none; }
  .main-nav .btn { margin-top: 14px; width: 100%; }
  .nav-item-dropdown { width: 100%; }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav-item-dropdown > a { display: none; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(34,30,26,0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 240ms ease, visibility 240ms;
  }
  .nav-backdrop.visible { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  .photo-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-row { grid-template-columns: 48px 1fr; gap: 14px 18px; padding: 24px 4px; }
  .service-num { font-size: 28px; }
  .service-row .desc { grid-column: 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .doctors-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .map-embed iframe { height: 340px; }
  .cta-panel { padding: 48px 28px; }
  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .container, .header-inner { padding-left: 20px; padding-right: 20px; }
  /* Τα <br> σε τίτλους hero/CTA δημιουργούν ασπάσιμες γραμμές που ξεχειλίζουν στα 390px */
  .cta-panel h2 br, .hero h1 br { display: none; }
  .stat-value { font-size: 34px; }
  .service-row h3 { font-size: 20px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-panel { min-height: 380px; }
  .hero-panel .panel-icon { top: 28px; left: 28px; width: 44px; height: 44px; }
  .hero-panel .panel-copy { left: 28px; right: 28px; top: 92px; }
  .hero-panel .panel-title { font-size: 25px; }
  .floating-card { left: 18px; right: 18px; bottom: 18px; padding: 16px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 24px 20px; }
  .tabs { width: 100%; }
  .tab-btn { flex: 1; justify-content: center; padding: 11px 10px; font-size: 14px; }
  .cookie-banner { left: 14px; right: 14px; bottom: 14px; }
  .back-to-top { right: 16px; bottom: 16px; }
  .pub-list li { padding: 16px 16px 16px 52px; }
  .pub-list li::before { left: 14px; font-size: 16px; top: 18px; }
}
