/* ============================================================
   ΤΗΛΕΜΑΤΙΚΗ ICT — Page section layouts
   ============================================================ */

/* ============ Home hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(1100px 500px at 78% 18%, rgba(42, 98, 190, 0.25), transparent 60%),
    linear-gradient(160deg, #0A2046 0%, #081426 70%);
  padding-top: var(--header-h);
}
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 660px; }
/* Two-column hero: copy + live IoT network */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-iot [data-iot-network] {
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-inline: auto;
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-iot { display: none; }
}

.hero-copy h1 {
  /* guidelines: Hero H1 Manrope 800, 40 → 64 px, 1.05, −2% */
  font-size: var(--fs-display);
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: #F4F7FB;
  max-width: 13ch;
  margin-top: 20px;
}
.hero-copy .hero-sub {
  margin-top: 22px;
  max-width: 54ch;
  color: #B9C4D6;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-trust {
  position: relative;
  z-index: 2;
  margin-top: clamp(40px, 7vh, 84px);
  padding-bottom: 34px;
}
.hero-trust .trust-label {
  color: #7d8aa3;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

/* Uniform logo wall: 7 equal tiles, one row on desktop */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  max-width: 1120px;
}
@media (max-width: 1100px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 45, 95, 0.10);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(2, 8, 20, 0.18);
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.logo-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(2, 8, 20, 0.25); }
.logo-tile img {
  max-height: 34px;
  max-width: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
/* boxy marks read better slightly larger */
.logo-tile img[src*="vantage"],
.logo-tile img[src*="deh"] { max-height: 46px; }
.logo-tile--text {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #C6CFDE;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}
.hero-trust .chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: #B9C4D6;
  font-size: var(--fs-caption);
}

/* ============ KPI ticker strip (scroll-driven marquee) ============ */
.kpi-strip {
  background: var(--surface-dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: clamp(20px, 3vw, 34px);
  overflow: hidden;
}
.kpi-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.kpi-track {
  display: flex;
  width: max-content;
  gap: clamp(30px, 4.5vw, 68px);
  will-change: transform;
}
.kpi-copy {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4.5vw, 68px);
  flex: none;
}
.kpi-item { display: inline-flex; align-items: baseline; gap: 16px; white-space: nowrap; }
.kpi-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-kpi);
  line-height: 1;
  letter-spacing: -0.015em;
  /* cool white→cyan wash so the figures read premium, not stark */
  background: linear-gradient(168deg, #FFFFFF 8%, #B7E0F5 62%, #66C2EC 108%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kpi-txt {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(0.82rem, 1.15vw, 1.02rem);
  font-weight: 600;
  color: #B3C4DA;
  white-space: nowrap;
}
.kpi-sep {
  align-self: center;
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tm-cyan-500);
  opacity: 0.6;
  box-shadow: 0 0 10px rgba(91, 196, 236, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .kpi-track { transform: none !important; }
}

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
.pillar {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.pillar:last-child { border-bottom: 0; }
.pillar .tm-numeral { font-size: 30px; padding-top: 4px; }
.pillar h3 { font-size: var(--fs-h5); }
.pillar p { margin-top: 6px; color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-relaxed); }

/* ============ Services bento ============ */
.svc-card { display: flex; flex-direction: column; min-height: 176px; }
.svc-card .card-desc { flex: 1; }
.svc-card .svc-more {
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text-link);
}
.svc-card .svc-more svg { width: 15px; height: 15px; transition: transform var(--dur-base) var(--ease-standard); }
.svc-card:hover .svc-more svg { transform: translateX(3px); }

/* Services grid: ten compact tiles in two rows of five */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.svc-grid .svc-card {
  min-height: 0;
  padding: var(--space-4);
  /* Frosted glass: blur the busy video behind each tile so the
     foreground reads clearly, without hiding the footage in the gaps. */
  background: rgba(10, 24, 45, 0.45);
  backdrop-filter: blur(9px) saturate(1.15);
  -webkit-backdrop-filter: blur(9px) saturate(1.15);
  border-color: rgba(255, 255, 255, 0.12);
}
.svc-grid .icon-tile { width: 40px; height: 40px; margin-bottom: var(--space-3); border-radius: var(--radius-sm); }
.svc-grid .icon-tile svg { width: 21px; height: 21px; }
.svc-grid .svc-card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.svc-grid .svc-card .card-desc { font-size: 0.77rem; line-height: 1.45; }
.svc-grid .svc-card .svc-more { margin-top: var(--space-3); font-size: 0.77rem; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); } }

/* ============ Dark feature (Industry 4.0 etc.) ============ */
.feature-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-7);
}
@media (max-width: 860px) { .feature-points { grid-template-columns: 1fr; } }
.feature-point .tm-numeral { font-size: 26px; }
.feature-point h3 { font-size: var(--fs-h5); margin-top: 12px; }
.feature-point p { margin-top: 8px; color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-relaxed); }

/* ============ Stat banner (€31T) ============ */
.stat-banner { text-align: center; }
.stat-banner .banner-lead { color: var(--text-muted); font-size: var(--fs-body-lg); }
.stat-banner .banner-value {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-variant-numeric: tabular-nums;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 1.05;
  color: #F4F7FB;
  margin-block: 10px;
}
.stat-banner .banner-value .unit { font-family: var(--font-sans); font-weight: var(--fw-bold); color: var(--tm-cyan-500); font-size: 0.45em; }
.stat-banner .banner-source { color: #7d8aa3; font-size: var(--fs-small); }

/* ============ Case study ============ */
.case-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--surface-dark-2);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  position: relative;
}
@media (max-width: 960px) { .case-card { grid-template-columns: 1fr; } }
.case-step { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.case-step:last-child { border-bottom: 0; }
.case-step h4 { color: var(--tm-cyan-500); font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.case-step p { margin-top: 8px; color: #C6CFDE; font-size: var(--fs-small); line-height: var(--lh-relaxed); }

/* ============ Personas ============ */
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 860px) { .persona-grid { grid-template-columns: 1fr; } }
.persona-card ul { margin: var(--space-4) 0 var(--space-5); padding: 0; list-style: none; display: grid; gap: 10px; }
.persona-card li { display: flex; gap: 10px; font-size: var(--fs-small); color: var(--text-body); }
.persona-card li svg { width: 17px; height: 17px; flex: none; color: var(--tm-success); margin-top: 2px; }
/* Frosted glass over the data-center footage */
#personas .persona-card {
  background: rgba(10, 24, 45, 0.5);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ============ Projects ============ */
.proj-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 960px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .proj-grid { grid-template-columns: 1fr; } }
.proj-card .proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-3); }
.proj-card h3 { font-size: var(--fs-h5); }
.proj-card details { margin-top: var(--space-3); }
.proj-card summary {
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text-link);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.proj-card summary::-webkit-details-marker { display: none; }
.proj-card summary::after { content: "+"; font-weight: 700; }
.proj-card details[open] summary::after { content: "−"; }
.proj-card details p, .proj-card details li { font-size: var(--fs-small); color: var(--text-muted); line-height: var(--lh-relaxed); }
.proj-card details ul { padding-left: 18px; margin-top: 8px; }
.proj-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 10px; }
.proj-facts .pf { font-size: var(--fs-caption); }
.proj-facts .pf b { display: block; color: var(--text-title); font-weight: var(--fw-semibold); }

/* ---- Project cards as links + horizontal carousel ---- */
.proj-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.proj-card .card-desc { flex: 1; color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-relaxed); }
.proj-more {
  margin-top: var(--space-4);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--text-link);
}
.proj-more svg { width: 15px; height: 15px; transition: transform var(--dur-base) var(--ease-standard); }
.proj-card:hover .proj-more svg { transform: translateX(3px); }

.carousel { position: relative; }
.carousel-track {
  display: flex; gap: var(--space-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px var(--space-3);
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .proj-card { flex: 0 0 auto; width: clamp(290px, 40%, 392px); scroll-snap-align: start; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-card); border: 1px solid var(--border-strong);
  color: var(--text-title); cursor: pointer; box-shadow: var(--shadow-md);
  transition: opacity var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:hover { background: var(--accent); color: var(--accent-contrast); border-color: transparent; }
.carousel-prev { left: -14px; }
.carousel-next { right: -14px; }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
.carousel--static .carousel-btn { display: none; }
@media (max-width: 620px) {
  .carousel-track > .proj-card { width: 84%; }
  .carousel-prev { left: 0; } .carousel-next { right: 0; }
}

/* ---- Dedicated project page ---- */
.proj-back { display: inline-flex; align-items: center; gap: 4px; color: #B9C4D6; text-decoration: none; font-size: var(--fs-small); margin-bottom: 16px; }
.proj-back:hover { color: var(--tm-cyan-500); }
.project-hero .proj-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-layout { display: grid; grid-template-columns: 300px 1fr; gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .project-layout { grid-template-columns: 1fr; gap: var(--space-6); } }
.project-aside { position: sticky; top: 92px; }
@media (max-width: 900px) { .project-aside { position: static; } }
.project-facts-panel {
  display: block; grid-template-columns: none; margin-top: 0;
  background: var(--surface-subtle); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: var(--space-3) var(--space-5);
}
.project-facts-panel .pf { padding: 12px 0; border-bottom: 1px solid var(--border-subtle); font-size: var(--fs-small); color: var(--text-body); }
.project-facts-panel .pf:last-child { border-bottom: 0; }
.project-facts-panel .pf b { display: block; color: var(--text-muted); font-weight: var(--fw-semibold); font-size: var(--fs-caption); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.project-body .proj-block { margin-bottom: var(--space-7); }
.project-body h2 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.project-body p { color: var(--text-body); line-height: var(--lh-relaxed); }
.proj-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 12px; }
.proj-list li { display: flex; gap: 12px; color: var(--text-body); line-height: var(--lh-relaxed); }
.proj-list li svg { width: 18px; height: 18px; flex: none; color: var(--tm-success); margin-top: 4px; }
.project-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); }
/* long event/project titles wrap instead of pushing the page sideways */
.project-nav .btn { white-space: normal; max-width: 100%; min-width: 0; text-align: left; line-height: 1.35; }

/* ============ Services page rows ============ */
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--border-subtle);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row--flip .svc-copy { order: 2; }
@media (max-width: 960px) {
  .svc-row, .svc-row--flip { grid-template-columns: 1fr; }
  .svc-row--flip .svc-copy { order: 0; }
}
.svc-copy .svc-idx { display: flex; align-items: baseline; gap: 12px; }
.svc-copy .svc-idx .tm-numeral { font-size: 30px; }
.svc-copy h2 { font-size: var(--fs-h3); margin-top: 10px; }
.svc-copy .svc-desc { margin-top: 14px; color: var(--text-muted); line-height: var(--lh-relaxed); }
.svc-copy ul { margin: var(--space-4) 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.svc-copy li { display: flex; gap: 10px; font-size: var(--fs-small); }
.svc-copy li svg { width: 17px; height: 17px; flex: none; color: var(--tm-cyan-600); margin-top: 2px; }
/* proof line under each service: plain bold navy text, no tinted box (user feedback) */
.svc-proof {
  margin-top: var(--space-5);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-title);   /* navy on light, near-white in dark theme */
}
.svc-illo {
  background:
    radial-gradient(420px 300px at 60% 40%, rgba(91, 196, 236, 0.10), transparent 65%),
    var(--tm-navy-900);
  border-radius: var(--radius-xl);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

/* ============ Home — latest news (two cards, link to the News page) ============ */
.news-teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
@media (max-width: 760px) { .news-teaser { grid-template-columns: 1fr; } }
.news-teaser .news-feat h3 { font-size: var(--fs-h4); }
/* desktop: a compact band — title and "All news" on one line, less padding,
   wider pictures, two-line summaries (user feedback: it took too much height) */
html:not(.tm-swipe) #latest-news.section { padding-block: clamp(40px, 5vw, 72px); }
#latest-news .proj-cat-head { align-items: center; margin-bottom: var(--space-5); }
#latest-news .section-head h2 { margin: 0; }
html:not(.tm-swipe) .news-teaser .press-thumb { aspect-ratio: 21 / 9; }
html:not(.tm-swipe) .news-teaser .card-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ Inner page hero ============ */
.page-hero {
  background:
    radial-gradient(900px 380px at 82% 8%, rgba(42, 98, 190, 0.28), transparent 60%),
    linear-gradient(165deg, #0A2046 0%, #0C2650 80%);
  padding: calc(var(--header-h) + clamp(48px, 9vh, 96px)) 0 clamp(48px, 8vh, 88px);
}
.page-hero h1 { color: #F4F7FB; max-width: 16ch; }
.page-hero .lede { color: #B9C4D6; max-width: 56ch; margin-top: 18px; font-size: var(--fs-body-lg); line-height: var(--lh-relaxed); }
.page-hero .hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.page-hero .chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #C6CFDE; }

/* ============ News ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr; } }
.news-card .news-date { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--text-muted); }
.news-card h3 { font-size: var(--fs-h5); margin-top: 8px; }

/* ===== News — featured editorial grid («Ξεχωρίζουμε») ===== */
.news-featured { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(180px, 1fr); gap: var(--space-4); }
.news-featured > .news-feat--lead { grid-column: 1; grid-row: 1 / span 2; }
.news-feat--lead h3 { font-size: var(--fs-h3); }
.news-feat--lead .card-desc { margin-top: 12px; }
@media (max-width: 900px) { .news-featured { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; } .news-featured > .news-feat--lead { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .news-featured { grid-template-columns: 1fr; } }

/* News cards inside carousels (team blog / insights) */
.carousel-track > .news-card { flex: 0 0 auto; width: clamp(290px, 40%, 380px); scroll-snap-align: start; }

/* ===== Press mentions («Μας ανέφεραν στον Τύπο») — carousel cards ===== */
.carousel-track > .press-card { flex: 0 0 auto; width: clamp(280px, 34%, 344px); scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.press-src { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-eyebrow); }
.press-card h3 { font-size: var(--fs-h5); margin-top: 12px; flex: 1 1 auto; }
.press-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.press-date { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); }
.press-ext { width: 18px; height: 18px; color: var(--text-muted); transition: transform var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard); }
.press-card:hover .press-ext { transform: translate(2px, -2px); color: var(--tm-cyan-500); }
.press-thumb {
  display: block;
  width: calc(100% + 2 * var(--space-6));
  max-width: none;
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-4);
  border-radius: calc(var(--radius-lg) - var(--border-w)) calc(var(--radius-lg) - var(--border-w)) 0 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; padding: 14px 0; align-items: flex-start; }
.contact-item svg { width: 20px; height: 20px; color: var(--text-numeral); flex: none; margin-top: 3px; }
.contact-item b { display: block; color: var(--text-title); font-weight: var(--fw-semibold); font-size: var(--fs-small); }
.contact-item a, .contact-item span.val { color: var(--text-muted); font-size: var(--fs-small); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.contact-form .field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .contact-form { grid-template-columns: 1fr; } }
.form-note { grid-column: 1 / -1; font-size: var(--fs-caption); color: var(--text-muted); }
/* Honeypot — visually hidden, off-screen, not announced */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { grid-column: 1 / -1; margin-top: 10px; font-size: var(--fs-small); }
.form-status[data-kind="ok"] { color: var(--tm-success, #35c26b); }
.form-status[data-kind="err"] { color: var(--tm-danger, #ff6b6b); }
[data-turnstile]:empty { display: none; }

/* ============ Background videos ============ */
[data-bg-video] { position: relative; overflow: hidden; isolation: isolate; }
[data-bg-video] .video-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
[data-bg-video] .video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease-standard);
}
[data-bg-video] .video-bg video.is-on { opacity: 1; }
[data-bg-video] .video-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 30, 66, 0.82);
}

/* ============ Partner logo cards (legible on any surface) ============ */
.logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid rgba(15, 45, 95, 0.10);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  min-height: 52px;
  box-shadow: 0 2px 10px rgba(2, 8, 20, 0.18);
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.logo-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(2, 8, 20, 0.25); }
.logo-card {
  height: 64px;
  min-width: 150px;
  padding: 10px 24px;
}
.logo-card img {
  max-height: 34px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
/* boxy marks need more height to read at strip scale */
.logo-card img[src*="vantage"],
.logo-card img[src*="deh"] { max-height: 46px; }
/* Desktop partners strip: larger logos (user feedback, twice); phones keep their own wall */
html:not(.tm-swipe) #partners .logo-card { height: 112px; min-width: 260px; padding: 14px 36px; }
html:not(.tm-swipe) #partners .logo-card img { max-height: 62px; max-width: 230px; }
html:not(.tm-swipe) #partners .logo-card img[src*="vantage"],
html:not(.tm-swipe) #partners .logo-card img[src*="deh"] { max-height: 82px; }

/* ============ Bento animated illustrations ============ */
.bento-illo {
  background:
    radial-gradient(300px 200px at 62% 38%, rgba(91, 196, 236, 0.12), transparent 65%),
    var(--tm-navy-900);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
}
.bento-illo svg { max-height: 220px; }

/* ============ Indoor & Private 5G ============ */
.fiveg-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 960px) { .fiveg-grid { grid-template-columns: 1fr; } }
.fiveg-panel {
  background:
    radial-gradient(420px 320px at 55% 40%, rgba(91, 196, 236, 0.12), transparent 65%),
    var(--tm-navy-900);
  border-radius: var(--radius-xl);
  padding: clamp(10px, 2vw, 24px);
}
.fiveg-panel--video {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.fiveg-panel--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Live network graph — no card; sits directly on the section surface */
.fiveg-panel--graph {
  position: relative;
  padding: 0;
  overflow: visible;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.fiveg-panel--graph [data-iot-network] {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.fiveg-panel--graph [data-iot-network] svg { width: 100%; height: 100%; display: block; }
.fiveg-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-5); }
@media (max-width: 620px) { .fiveg-cards { grid-template-columns: 1fr; } }
.fiveg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-5); }

/* ============ Methodology — compact horizontal ============ */
.method-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-7);
  position: relative;
}
@media (max-width: 960px) { .method-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .method-row { grid-template-columns: 1fr; } }
.method-card {
  position: relative;
  padding: var(--space-5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  transition: border-color var(--dur-slow) var(--ease-standard),
              box-shadow var(--dur-slow) var(--ease-standard),
              transform var(--dur-slow) var(--ease-standard);
}
.method-card:hover {
  border-color: rgba(91, 196, 236, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.method-card .step-kicker { display: flex; align-items: baseline; gap: 10px; }
.method-card .tm-numeral { font-size: 26px; }
.method-card .step-tag {
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-eyebrow);
}
.method-card h3 { font-size: var(--fs-h5); margin-top: 14px; }
.method-card p { margin-top: 8px; font-size: var(--fs-small); color: var(--text-muted); line-height: var(--lh-relaxed); }
/* connector arrow between cards (desktop) */
@media (min-width: 961px) {
  .method-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(-1 * var(--space-4) / 2 - 6px);
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--tm-cyan-500);
    border-right: 2px solid var(--tm-cyan-500);
    transform: translateY(-50%) rotate(45deg);
    opacity: 0.7;
  }
}

/* ============ Section index inside eyebrows ============ */
.sec-idx {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--text-numeral);
  margin-right: 12px;
  letter-spacing: 0;
}

/* ============ Header CTA ============ */
.header-cta { margin-right: 4px; }
@media (max-width: 900px) { .header-cta { display: none; } }
.site-header--overlay:not(.is-scrolled) .header-cta {
  background: var(--tm-cyan-500);
  color: var(--tm-navy-900);
}

/* ============ NIS2 readiness check ============ */
.nis2-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 960px) { .nis2-grid { grid-template-columns: 1fr; } }
.quiz { padding: clamp(20px, 3vw, 36px); }
.quiz-list { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.quiz-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-small);
  line-height: var(--lh-snug);
}
.quiz-q::before {
  counter-increment: q;
  content: counter(q, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--text-numeral);
  font-size: 13px;
  flex: none;
  margin-right: 2px;
}
.quiz-q > span:first-of-type { flex: 1; }
.quiz-btns { display: flex; gap: 6px; flex: none; }
.quiz-btns button {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: var(--text-body);
  background: transparent;
  transition: all var(--dur-fast) var(--ease-standard);
}
.quiz-btns button:hover { border-color: var(--accent); }
.quiz-btns button.sel {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}
.quiz-meter {
  height: 6px;
  border-radius: 3px;
  background: var(--surface-subtle);
  margin-top: var(--space-5);
  overflow: hidden;
}
.quiz-meter-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tm-cyan-500), var(--tm-blue-500));
  transition: width 0.5s var(--ease-out-expo);
}
.quiz-result { margin-top: var(--space-5); }
.quiz-verdict { font-weight: var(--fw-bold); color: var(--text-title); font-size: var(--fs-h5); }
.quiz-note { margin-top: 8px; color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-relaxed); }
.quiz-result .btn { margin-top: var(--space-4); }

/* ============ Cinematic band ============ */
.cine-band {
  min-height: 74vh;
  display: flex;
  align-items: center;
}
.cine-band .lede { max-width: 46ch; }

/* ============ CTA band ============ */
.cta-band { text-align: center; }
.cta-band h2 { color: #F4F7FB; }
.cta-band p { color: #B9C4D6; margin-top: 12px; }
.cta-band .hero-ctas { justify-content: center; }

/* ===== News — featured cards with image («Ξεχωρίζουμε») ===== */
.news-feat { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.news-feat .news-date { text-transform: uppercase; letter-spacing: .04em; color: var(--text-eyebrow); }
.news-feat h3 { font-size: var(--fs-h5); }
.news-feat--lead h3 { font-size: var(--fs-h3); }
.news-feat .card-desc { flex: 1 1 auto; margin-top: 10px; color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-relaxed); }
.news-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--accent); }
.news-more .press-ext { width: 16px; height: 16px; color: currentColor; }
.news-feat:hover .news-more .press-ext { transform: translateX(3px); }
.news-feat[target="_blank"]:hover .news-more .press-ext { transform: translate(2px, -2px); }
.news-featured { grid-auto-rows: auto; }
@media (max-width: 1100px) { .news-featured { grid-template-columns: 1fr 1fr; } .news-featured > .news-feat--lead { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .news-featured { grid-template-columns: 1fr; } }
/* Plex Mono has no Greek glyphs — Greek labels/dates use the sans face */
.news-feat .news-date, .ev-card .press-src, .ev-card .press-date { font-family: var(--font-sans); font-weight: var(--fw-semibold); font-size: 12px; letter-spacing: .06em; }
.ev-card .press-date { font-weight: 500; letter-spacing: .02em; }

/* ===== Events & activities — cards + event page ===== */
.ev-card h3 { flex: none; }
.ev-card .card-desc { flex: 1 1 auto; margin-top: 10px; color: var(--text-muted); font-size: var(--fs-small); line-height: var(--lh-relaxed); }
.ev-card:hover .press-ext { transform: translateX(3px); color: var(--tm-cyan-500); }
.ev-thumb--blank {
  display: flex; align-items: flex-end; padding: var(--space-4) var(--space-5);
  background:
    radial-gradient(420px 200px at 85% 0%, rgba(91, 196, 236, .28), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #0A2046 0%, #12346E 100%);
}
.ev-thumb--blank span { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 44px; font-weight: 800; line-height: 1; color: #8FD6F2; letter-spacing: -.02em; }

.event-hero { position: relative; overflow: hidden; }
.event-hero .container { position: relative; z-index: 1; }
.event-hero h1 { max-width: 26ch; font-size: var(--fs-h2); }
.event-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s var(--ease-standard); }
.event-hero-bg.is-set { opacity: 1; }
.event-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(8,20,38,.94) 22%, rgba(8,20,38,.62) 58%, rgba(8,20,38,.28) 100%); }
.project-aside [hidden] { display: none; }

.ev-quote { margin: 0 0 var(--space-7); padding: 6px 0 6px 22px; border-left: 3px solid var(--tm-cyan-500); }
.ev-quote p { font-size: var(--fs-h5); line-height: 1.5; color: var(--text-title); font-weight: var(--fw-medium, 500); }
.ev-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: var(--fs-small); color: var(--text-muted); }
.ev-speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 28px; margin-top: var(--space-3); }
.ev-speakers > div { padding: 12px 0; border-bottom: 1px solid var(--border-subtle); font-size: var(--fs-small); color: var(--text-muted); line-height: 1.45; }
.ev-speakers b { display: block; color: var(--text-title); font-weight: var(--fw-semibold); margin-bottom: 2px; }
.ev-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-bottom: var(--space-7); }
@media (max-width: 640px) { .ev-stats { grid-template-columns: 1fr 1fr; } }
.ev-stat { padding: var(--space-4); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-subtle); }
.ev-stat b { display: block; font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; color: var(--text-title); }
.ev-stat span { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--text-muted); }
.ev-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-4); margin-top: var(--space-3); }
.ev-gallery figure { margin: 0; }
.ev-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }

/* ===== Gender Equality Plan page ===== */
.gep-pdf { margin-top: var(--space-5); width: 100%; justify-content: center; gap: 8px; }
.gep-pdf.is-pending { opacity: .55; cursor: default; pointer-events: none; }
.gep-contact { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--text-muted); }
.gep-toc { display: grid; gap: 6px; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border-subtle); }
.gep-toc .footer-title { color: var(--text-muted); margin-bottom: 4px; }
.gep-toc a { font-size: var(--fs-small); color: var(--text-body); text-decoration: none; line-height: 1.4; }
.gep-toc a:hover { color: var(--accent); }
@media (max-width: 900px) { .gep-toc { display: none; } }
.gep-body .proj-block { scroll-margin-top: 96px; }
.gep-note { margin-bottom: var(--space-6); padding: 12px 16px; border-radius: var(--radius-md); background: var(--surface-subtle); border: 1px solid var(--border-subtle); font-size: var(--fs-small); color: var(--text-muted); }
.gep-body .ev-stats { margin: var(--space-3) 0 var(--space-5); }
.gep-body .ev-stat span { font-size: var(--fs-caption); line-height: 1.4; }
.gep-req { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-4); }
@media (max-width: 640px) { .gep-req { grid-template-columns: 1fr; } }
.gep-req-item { display: flex; gap: 12px; padding: var(--space-4); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--surface-subtle); }
.gep-req-item svg { width: 20px; height: 20px; flex: none; color: var(--tm-success); margin-top: 2px; }
.gep-req-item b { display: block; color: var(--text-title); margin-bottom: 4px; font-size: var(--fs-small); }
.gep-req-item span { font-size: var(--fs-small); color: var(--text-muted); line-height: var(--lh-relaxed); }
.gep-axis { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border-subtle); }
.gep-axis h3 { display: flex; align-items: baseline; gap: 12px; font-size: var(--fs-h5); }
.gep-axis-letter { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--tm-navy-900, #0F2D5F); color: #8FD6F2; font-size: 16px; font-weight: 700; }
.gep-goal { margin-top: 10px; color: var(--text-body); }
.gep-actions { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: 10px; }
.gep-actions li { display: flex; gap: 14px; padding: 14px 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.gep-code { flex: none; min-width: 32px; font-weight: 700; color: var(--accent); font-size: var(--fs-small); padding-top: 2px; }
.gep-actions p { color: var(--text-title); line-height: 1.5; font-size: var(--fs-small); font-weight: 500; }
.gep-actions dl { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 8px 0 0; }
.gep-actions dl div { display: flex; gap: 6px; font-size: var(--fs-caption); }
.gep-actions dt { color: var(--text-muted); }
.gep-actions dt::after { content: ":"; }
.gep-actions dd { margin: 0; color: var(--text-body); }
.gep-table-wrap { overflow-x: auto; margin: var(--space-4) 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.gep-kpi { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: 520px; }
.gep-kpi th, .gep-kpi td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.gep-kpi thead th { background: var(--surface-subtle); color: var(--text-muted); font-weight: var(--fw-semibold); font-size: var(--fs-caption); letter-spacing: .04em; text-transform: uppercase; }
.gep-kpi tbody th { color: var(--text-title); font-weight: 500; }
.gep-kpi tbody tr:last-child > * { border-bottom: 0; }
.gep-sig { margin-top: var(--space-4); color: var(--text-muted); font-size: var(--fs-small); }
.gep-sig b { display: block; color: var(--text-title); font-size: var(--fs-body); }
