/* EKKAF — single mobile-first stylesheet (Holder-inspired refresh) */
:root {
  --navy: #10283f;
  --navy-2: #16344f;
  --steel: #1f6feb;
  --orange: #e8842c;
  --orange-dark: #cf7020;
  --ink: #1c2733;
  --muted: #5a6b7c;
  --line: #dde5ec;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(16,40,63,0.08);
  --shadow-md: 0 10px 30px rgba(16,40,63,0.14);
  --maxw: 74rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--steel); }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); font-weight: 800; }
h1 { font-size: 2.4rem; margin: 0 0 1rem; letter-spacing: -0.02em; }
h2 { font-size: 1.7rem; margin: 2.75rem 0 1rem; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.4rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* Eyebrow label */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 1rem;
}

/* Section heading accent */
main h2 { position: relative; padding-bottom: 0.6rem; }
main h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 3.5rem; height: 3px;
  background: var(--orange);
}
.card h2::after, .card h3::after { display: none; }

/* Header / nav */
.site-header {
  background: rgba(13,29,45,0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; padding: 0.6rem 0; }
.brand img { height: 2.4rem; width: auto; }

.nav-toggle-box { display: none; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; }

.site-nav { display: none; width: 100%; }
.nav-toggle-box:checked ~ .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0.5rem 0 1rem; }
.site-nav a {
  display: block;
  padding: 0.6rem 0.25rem;
  color: #dfe9f2;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--orange); }
.lang-switch { border: 1px solid rgba(255,255,255,0.4); border-radius: 4px; padding: 0.35rem 0.7rem !important; display: inline-block; }

@media (min-width: 64rem) {
  .site-header .wrap { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-nav { display: block !important; width: auto; }
  .site-nav ul { display: flex; gap: 1.35rem; align-items: center; padding: 0; }
}

/* Hero (shared) */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1d4568 100%);
  color: #eaf1f8;
  padding: 4.5rem 0;
  overflow: hidden;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  max-width: 50rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hero p { max-width: 44rem; font-size: 1.15rem; color: #dbe6f1; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.hero .eyebrow { color: #f2a35e; }
.hero .btn { margin-top: 0.9rem; margin-right: 0.6rem; }

/* Hero with photo background */
.hero-photo {
  background:
    linear-gradient(100deg, rgba(11,26,41,0.94) 20%, rgba(11,26,41,0.7) 55%, rgba(11,26,41,0.45) 100%),
    url("../img/gefyra-lachanagoras-volos.jpg") center/cover no-repeat;
  padding: 6rem 0;
}

/* Hero with full-bleed video background */
.hero-video { padding: 0; }
.hero-video .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,26,41,0.88) 15%, rgba(11,26,41,0.62) 55%, rgba(11,26,41,0.38) 100%);
  z-index: 1;
}
.hero-video .hero-content {
  position: relative;
  z-index: 2;
  min-height: min(82vh, 44rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 2px solid #fff; color: #fff !important; }
.btn-ghost:hover { background: #fff; color: var(--navy) !important; }

/* Sections */
main { display: block; }
.section { padding: 4rem 0; }
.section-soft { background: var(--bg-soft); }
.section .lead { font-size: 1.12rem; color: var(--muted); max-width: 52rem; }

/* Cards */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin: 2rem 0;
}
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 0.25rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card a.more { font-weight: 700; text-decoration: none; }

/* Cards with image */
.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media .card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--orange);
  transition: transform 0.35s ease;
}
.card-media:hover .card-img { transform: scale(1.04); }
.card-media .card-body { padding: 1.25rem 1.5rem 1.5rem; background: #fff; position: relative; z-index: 1; }
.card-media .card-body h3 { margin-top: 0; }

/* Figures / article images */
.figure {
  margin: 1.75rem 0 2.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.figure img { display: block; width: 100%; object-fit: cover; max-height: 26rem; }
.figure video { display: block; width: 100%; object-fit: cover; max-height: 28rem; }
.figure figcaption {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.65rem 1.1rem;
  border-top: 3px solid var(--orange);
}

/* Project cards */
.project-meta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

/* Partner logo strip */
.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 1.75rem 0;
}
.partners img {
  height: 3.2rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(35%);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.partners img:hover { filter: none; opacity: 1; }

/* Service icons */
.service-icon {
  width: 3rem;
  height: 3rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.service-icon svg { width: 100%; height: 100%; }

/* Numbered steps */
.steps { list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: step; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; position: relative; padding: 0.2rem 0 0.2rem 3.6rem; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--muted); padding: 1.1rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.35rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; }

/* Tables */
table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
caption { text-align: left; font-weight: 700; color: var(--navy); padding-bottom: 0.5rem; }
th, td { border: 1px solid var(--line); padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); color: var(--navy); }
tbody tr:nth-child(even) { background: #fafcfe; }

/* FAQ */
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
summary { font-weight: 700; color: var(--navy); cursor: pointer; }
details[open] summary { color: var(--orange-dark); }
details p { margin: 0.75rem 0 0; color: var(--muted); }

/* Callout */
.callout {
  border-left: 4px solid var(--orange);
  background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  margin: 2rem 0;
}

/* Contact */
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 0.6rem; }

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #0b1d2f 100%);
  color: #b9c8d7;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 0.93rem;
}
.site-footer h2 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.9rem;
}
.site-footer h2::after { display: none; }
.site-footer a { color: #dce7f1; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer address { font-style: normal; }
.social-links { margin-top: 0.9rem; }
.social-links a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 1px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.25rem; padding-top: 1.25rem; color: #8fa3b6; }

/* Utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
