/*
 * Hellenic Solution Κοιν.Σ.Επ. - Premium Stylesheet
 * Custom CSS with rich modern design elements (glassmorphism, smooth animations, ocean gradients)
 */

/* Self-hosted Google Fonts (Outfit, Roboto); files in this site, no request to Google. */
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/outfit-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/outfit-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/outfit-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/outfit-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/outfit-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/outfit-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/outfit-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-greek-ext-var.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-greek-var.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-greek-ext-var.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-greek-var.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-greek-ext-var.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-greek-var.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-greek-ext-var.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-greek-var.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-ext-var.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto-latin-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  /* Single brand accent (ocean blue). --primary is for text/icons on dark,
     --primary-strong is the button fill (white text passes WCAG AA, 4.8:1). */
  --primary: #0099e5;
  --primary-strong: #0270a8;
  --primary-hover: #025d8c;
  --primary-light: #5cc3f5;
  --primary-glow: rgba(0, 153, 229, 0.3);
  --secondary: var(--primary);
  --accent: var(--primary-light);
  --accent-cyan: var(--primary-light);
  --success: var(--primary);
  --ink: #f8fafc;
  --dark-bg: #0b111e;
  --dark-surface: #141e30;
  --dark-card: rgba(20, 30, 48, 0.65);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(11, 17, 30, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  --font-heading: 'Outfit', 'Roboto', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Only compositor-friendly and paint-only properties; never layout (top/left/width/height). */
  --transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  --shadow: 0 10px 30px -10px rgba(2, 8, 23, 0.6);
  --radius-lg: 16px;
  --radius-md: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 10px 0;
  background: transparent;
}

.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(2, 8, 23, 0.35);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
}

/* ESPA / ΚΑΛΟ publicity badge (must stay visible at the top of every page) */
.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.espa-badge {
  display: block;
  flex-shrink: 0;
}

.espa-badge img {
  height: 52px;
  width: auto;
  background: #f8fafc;
  border-radius: 4px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.menu-item {
  position: relative;
}

.menu-item a {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 0;
  display: block;
}

.menu-item a:hover {
  color: var(--primary);
}

/* Dropdown Menu */
.menu-item-has-children > a::after {
  content: '\f107';
  font-family: 'FontAwesome';
  margin-left: 6px;
  font-size: 0.75rem;
  vertical-align: middle;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--dark-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  min-width: 250px;
  padding: 12px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 10px 40px rgba(2, 8, 23, 0.6);
}

.menu-item:hover .sub-menu,
.menu-item:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-menu li a {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.sub-menu li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

/* Mobile Toggle */
#nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  align-items: center;
  gap: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100dvh;
  padding: 6rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* LCP hero photo: a real <picture> (AVIF/WebP) instead of a CSS background */
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 17, 30, 0.9) 0%, rgba(11, 17, 30, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 64rem;
  padding: 0 20px;
}

.hero-subtitle {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 1rem;
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 153, 229, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(0, 153, 229, 0.2);
}

.hero-title {
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  padding-bottom: 0.1em;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  background: linear-gradient(to right, #f8fafc, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 auto 36px;
  max-width: 46rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Page Header Covers */
.page-cover {
  position: relative;
  padding: 160px 0 90px 0;
  background: linear-gradient(135deg, #111827 0%, #1e3a8a 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 153, 229, 0.15), transparent);
}

.page-cover-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb span {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-strong);
  color: var(--ink);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 153, 229, 0.4);
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* Section Title */
.section-title-area {
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 24px;
  text-align: justify;
}

.about-img {
  position: relative;
}

.about-img img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
}

.about-img::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 4px solid var(--primary);
  border-left: 4px solid var(--primary);
  border-top-left-radius: var(--radius-md);
  z-index: -1;
}

/* Pillars Section */
.pillars-section {
  background: var(--dark-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 28px;
}

.pillar-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px -10px rgba(0, 153, 229, 0.2);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 153, 229, 0.12);
  border: 1px solid rgba(0, 153, 229, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--primary);
  color: var(--ink);
  transform: scale(1.05);
}

.pillar-title {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pillar-features {
  list-style: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.pillar-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pillar-features li i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.75rem;
}


/* Counters Section */
.counters-section {
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
  position: relative;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.counter-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.counter-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px -10px rgba(0, 153, 229, 0.25);
}

.counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
}

.counter-card.secondary::before {
  background-color: var(--secondary);
}

.counter-card.success::before {
  background-color: var(--success);
}

.counter-icon {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.counter-card.secondary .counter-icon {
  color: var(--secondary);
}

.counter-card.success .counter-icon {
  color: var(--success);
}

.counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.counter-title {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
}

/* Projects & News Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 32px;
}

.project-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
}

.project-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-img img {
  transform: scale(1.05);
}

.project-info {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-tag {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-card-title {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.project-card-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
  font-size: 0.9375rem;
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 153, 229, 0.1);
  border: 1px solid rgba(0, 153, 229, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-text h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
  color: var(--text-secondary);
}

.contact-form-container {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  padding: 48px;
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  background: rgba(11, 17, 30, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 153, 229, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-kalo {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.contact-kalo img {
  max-width: 320px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

/* Detail Page Structure */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
  gap: 48px;
  padding: 80px 0;
}

.main-content article {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  padding: 48px;
  border-radius: var(--radius-lg);
}

.detail-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  text-align: justify;
}

.detail-body h3 {
  font-size: 1.5rem;
  margin: 36px 0 16px 0;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}

.detail-body ul {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 12px;
}

.detail-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  text-align: justify;
}

.detail-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Collapsible Accordions (for AoA / Katastatiko) */
.accordion {
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.accordion-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
  transition: var(--transition);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.accordion-header::after {
  content: '\f107';
  font-family: 'FontAwesome';
  font-size: 1rem;
  transition: var(--transition);
}

.accordion.active .accordion-header::after {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  border-top: 0 solid var(--border-color);
}

.accordion.active .accordion-content {
  padding: 24px;
  max-height: 1000px;
  border-top: 1px solid var(--border-color);
  overflow-y: auto;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.widget {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-lg);
}

.widget-title {
  font-size: 1.125rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.widget ul {
  list-style: none;
}

.widget ul li {
  margin-bottom: 14px;
}

.widget ul li:last-child {
  margin-bottom: 0;
}

.widget ul li a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.widget ul li a:hover {
  color: var(--primary);
}

/* Footer styling */
.site-footer {
  background-color: #080d17;
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-widget h3 {
  font-size: 1.125rem;
  margin-bottom: 24px;
  position: relative;
}

.footer-widget p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul.hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-widget ul.hours li span {
  color: var(--ink);
  font-weight: 500;
}

.footer-widget img {
  max-width: 130px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom-inner a {
  color: var(--text-secondary);
}

/* Modals & Dialogs */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 17, 30, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--dark-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal-text {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 0.9375rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  
  .counters-grid, .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .site-header {
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-surface);
    border-top: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  #nav-toggle {
    display: flex;
  }

  .header-brand {
    gap: 10px;
  }

  .logo img,
  .site-header.scrolled .logo img {
    height: 40px;
  }

  .espa-badge img,
  .site-header.scrolled .espa-badge img {
    height: 44px;
  }
  
  .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    margin-top: 8px;
    padding: 8px 0;
  }
  
  .sub-menu li a {
    padding: 8px 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
  }
}

/* wav-forms status line (forms.rundevou.com/forms.js) */
[data-wav-status] { margin: 16px 0 0; font-size: 0.875rem; text-align: right; }
[data-wav-status]:empty { display: none; }
.wav-form-ok { color: var(--primary-light); }
.wav-form-error { color: #ff6b6b; }

/* ==========================================================================
   Preflight additions
   ========================================================================== */
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10000;
  padding: 0.6rem 1rem;
  background: var(--primary-strong);
  color: var(--ink);
  border-radius: var(--radius-md);
  font-weight: 600;
}
.skip:focus { top: 1rem; color: var(--ink); }

picture { display: contents; }

/* Footer: legible secondary text on the dark footer */
.footer-meta { font-size: 0.8125rem; color: var(--text-secondary) !important; }
.footer-links a { font-size: 0.8125rem; display: block; margin-bottom: 6px; }

.check-row { display: flex; gap: 10px; align-items: flex-start; }
.check-row input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--primary-strong); }

/* Small screens: long words and wide content never push past the viewport */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .main-content article, .widget, .contact-form-container { padding: 24px 18px; }
  .form-group-row { grid-template-columns: 1fr; }
  .section-title { font-size: 1.75rem; }
  .project-info { padding: 24px 20px; }
  .btn { white-space: normal; }
  .espa-badge img { height: 40px; }
  .logo img { height: 34px; }
  .detail-body p, .detail-body ul li, .about-text p { text-align: left; }
}
.detail-body, .main-content, .sidebar, .contact-left, .contact-right { overflow-wrap: anywhere; min-width: 0; }
.contact-kalo img { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.counter-number { font-variant-numeric: tabular-nums; }

/* Katastatiko chapters: real headings with a keyboard-operable button */
.detail-body h3.accordion-h { margin: 0; padding: 0; border: 0; font-size: inherit; }
button.accordion-header {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
}
button.accordion-header:focus-visible { outline: 2px solid var(--primary-light); outline-offset: -2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
