/* Kriekoukis Heavy Transports · style.css
   by kostas.michalaros · WCAG 2.1 AA (όλα τα χρώματα κειμένου ≥ 4.5:1) */

:root {
  --ink: #0B0F2B;
  --ink-2: #121839;
  --ink-3: #1B2249;
  --line-dark: #2B3366;
  --paper: #F3F1EC;
  --white: #FFFFFF;
  --brand: #000B8C;      /* μπλε λογότυπου: λευκό πάνω του 14.7:1 */
  --brand-2: #1A2BC0;    /* hover: λευκό πάνω του 9.8:1 */
  --accent: #8E9BFF;     /* ανοιχτό μπλε για κείμενο/εικονίδια σε σκούρο φόντο: ≥5.7:1 */
  --text: #0B0F2B;
  --muted: #474E59;       /* σε λευκό/paper: 8:1 */
  --muted-dark: #BAC2CC;  /* σε ink: 10:1 */
  --color-primary: #000B8C;
  --head: 'Fira Sans Extra Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: .98; letter-spacing: .005em; text-transform: uppercase; margin: 0; }
p { margin: 0 0 1em; }
strong { font-weight: 800; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Προσβασιμότητα */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 10000; background: var(--brand); color: var(--white); font-weight: 800; padding: 12px 18px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Κουμπιά */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .8em 1.5em; font-family: var(--head); font-size: 1.25rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-yellow { background: var(--brand); color: var(--white); }
.btn-yellow:hover { background: var(--brand-2); transform: translateY(-2px); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }

.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--body); font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
.kicker { color: var(--brand); }
.kicker::before { content: ""; width: 34px; height: 6px; background: var(--brand); flex: none; }
.hero .kicker::before, .services .kicker::before, .iso .kicker::before, .contact .kicker::before, .page-hero .kicker::before { background: var(--accent); }

.stripe { height: 14px; background: repeating-linear-gradient(-45deg, var(--brand) 0 18px, var(--accent) 18px 36px); }

/* ============ Header ============ */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); color: var(--white); transition: background .25s, box-shadow .25s; background: linear-gradient(180deg, rgba(11,15,43,.85), rgba(11,15,43,0)); }
.hdr.scrolled, .hdr.solid { background: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); line-height: 1; }
.brand-logo { height: 42px; width: auto; }
.ftr .brand-logo { height: 54px; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { padding: 10px 12px; font-weight: 700; font-size: .9375rem; text-decoration: none; border-radius: var(--radius); }
.nav a:hover { color: var(--accent); }
.langs { display: flex; gap: 2px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.3); }
.langs a { display: grid; place-items: center; min-width: 40px; min-height: 40px; font-weight: 800; font-size: .875rem; text-decoration: none; border-radius: var(--radius); }
.langs a:hover { color: var(--accent); }
.langs a[aria-current="page"] { background: var(--brand); color: var(--white); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius); background: var(--brand); color: var(--white); cursor: pointer; place-items: center; }
.menu-btn .ic { width: 26px; height: 26px; }

@media (max-width: 1060px) {
  .nav { display: none; }
  .langs { margin-left: auto; border-left: 0; padding-left: 0; }
  .menu-btn { display: grid; }
}
@media (max-width: 420px) {
  .brand-logo { height: 32px; }
  .langs a { min-width: 34px; }
  .hdr .wrap { gap: 10px; }
}

.menu { position: fixed; inset: var(--hdr) 0 0; z-index: 99; background: var(--ink); color: var(--white); padding: 28px var(--gut) 40px; overflow-y: auto; display: none; }
.menu.open { display: block; }
.menu a { display: block; font-family: var(--head); font-weight: 800; font-size: 2.25rem; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.menu a:hover { color: var(--accent); }
.menu .menu-call { margin-top: 28px; display: inline-flex; border: 0; font-size: 1.25rem; padding: .8em 1.5em; }
html.menu-open { overflow: hidden; }

/* ============ Hero ============ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(11,15,43,.94) 0%, rgba(11,15,43,.78) 45%, rgba(11,15,43,.25) 100%),
  linear-gradient(0deg, rgba(11,15,43,.95) 0%, rgba(11,15,43,0) 45%); }
.hero-inner { position: relative; z-index: 2; padding-top: calc(var(--hdr) + 60px); padding-bottom: 40px; width: 100%; }
.hero .kicker { color: var(--accent); }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 6.4rem); max-width: 17ch; }
.hero h1 .l1 { color: var(--white); }
.hero h1 span { display: block; color: var(--accent); }
.hero-lead { font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 600; max-width: 44ch; margin: 22px 0 30px; color: #E6E9ED; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.facts li { padding: 22px 20px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--head); font-size: clamp(1.6rem, 2.6vw, 2.4rem); text-transform: uppercase; line-height: 1; color: var(--white); }
.facts span { font-size: .875rem; font-weight: 600; color: #D3D8DE; }
@media (max-width: 760px) {
  .hero-img { object-position: 70% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(11,15,43,.72) 0%, rgba(11,15,43,.6) 30%, rgba(11,15,43,.82) 60%, rgba(11,15,43,.96) 100%); }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .hero-inner { padding-top: calc(var(--hdr) + 40px); }
}

/* ============ Sections ============ */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.section-head p { font-size: 1.125rem; max-width: 52ch; color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; }
}

/* About */
.about-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin-bottom: 30px; }
.about-text .big { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.45; color: var(--ink); }
.about-text p { color: #2C323B; }
.about-media { position: relative; padding: 0 0 28px 28px; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 80%; background: var(--brand); z-index: 0; }
.about-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-badge { position: absolute; z-index: 2; right: -8px; top: -18px; background: var(--ink); color: var(--white); padding: 18px 22px; border-radius: var(--radius); line-height: 1; }
.about-badge strong { display: block; font-family: var(--head); font-size: 3rem; color: var(--accent); }
.about-badge span { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pillars { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
@media (min-width: 560px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--paper); border-left: 5px solid var(--brand); font-weight: 800; line-height: 1.3; }
.pillars .ic { color: var(--brand); }
.pillars .ic { width: 28px; height: 28px; }

/* Services */
.services { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.services .kicker { color: var(--accent); }
.services .section-head p { color: var(--muted-dark); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; background: var(--line-dark); border: 2px solid var(--line-dark); }
@media (min-width: 720px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc { background: var(--ink-2); padding: 34px 28px 38px; display: flex; flex-direction: column; gap: 16px; position: relative; transition: background .25s; }
.svc:hover { background: var(--ink-3); }
.svc::after { content: ""; position: absolute; left: 0; right: 100%; top: 0; height: 5px; background: var(--accent); transition: right .35s; }
.svc:hover::after { right: 0; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-num { font-family: var(--head); font-weight: 800; font-size: 3.6rem; line-height: .8; color: var(--accent); }
.svc-ic { width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid var(--line-dark); border-radius: 50%; color: var(--accent); }
.svc-ic .ic { width: 26px; height: 26px; }
.svc h3 { font-size: 1.9rem; margin-top: 18px; }
.svc p { color: var(--muted-dark); margin: 0; }

/* Clients */
.clients { background: var(--paper); }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
.logo-grid li { background: var(--white); min-height: 140px; display: grid; place-items: center; padding: 24px 28px; border-radius: var(--radius); border: 1px solid #DEDAD1; }
.logo-grid img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-grid li:hover img { filter: none; opacity: 1; }
@media (max-width: 899px) { .logo-grid li { min-height: 110px; padding: 18px; } .logo-grid img { max-height: 52px; } }

/* ISO */
.iso { background: var(--ink); color: var(--white); }
.iso .kicker { color: var(--accent); }
.iso-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .iso-grid { grid-template-columns: 1.1fr 1fr; } }
.iso h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin-bottom: 30px; }
.iso .big { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.45; }
.iso-text p { color: #E1E5EA; }
.iso-text p.big { color: var(--white); }
.iso-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; background: var(--line-dark); border: 2px solid var(--line-dark); }
.iso-card { background: var(--ink-2); padding: 26px 28px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
.iso-card .ic { grid-row: span 2; width: 44px; height: 44px; color: var(--accent); stroke-width: 1.75; }
.iso-card strong { font-family: var(--head); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--accent); }
.iso-card span { color: var(--muted-dark); font-weight: 700; }

/* Gallery */
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 799px) { .gallery-grid li:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 8 / 3; } }
.gallery-grid li { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); aspect-ratio: 4 / 3; }
.gallery-grid a { display: block; width: 100%; height: 100%; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.gallery-grid a:hover::after, .gallery-grid a:focus-visible::after { transform: scaleX(1); }
.gallery-grid a:focus-visible { outline-offset: -6px; box-shadow: inset 0 0 0 9px var(--ink); }

/* Lightbox (native <dialog>) */
.lb { border: 0; padding: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: rgba(8,10,13,.96); color: var(--white); }
.lb::backdrop { background: rgba(8,10,13,.96); }
.lb-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut); gap: 16px; }
.lb-count { font-weight: 800; }
.lb-fig { margin: 0; display: grid; place-items: center; padding: 0 var(--gut); min-height: 0; }
.lb-fig img { max-height: calc(100vh - 190px); max-height: calc(100svh - 190px); width: auto; max-width: 100%; object-fit: contain; }
.lb-cap { padding: 14px var(--gut) 20px; text-align: center; font-weight: 600; color: #E6E9ED; }
.lb-nav { display: flex; gap: 10px; }
.lb button { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: var(--white); border: 0; border-radius: var(--radius); font-weight: 800; font-family: var(--body); font-size: 1rem; cursor: pointer; padding: 0 14px; }
.lb button:hover { background: var(--brand-2); }
.lb button .ic { width: 22px; height: 22px; }

/* Contact */
.contact { background: var(--ink); color: var(--white); }
.contact .kicker { color: var(--accent); }
.contact .section-head p { color: var(--muted-dark); }
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }
.ct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; background: var(--line-dark); border: 2px solid var(--line-dark); align-content: start; }
.ct-list li { background: var(--ink-2); }
.ct-item { display: flex; gap: 18px; align-items: center; padding: 22px 24px; text-decoration: none; transition: background .2s; min-height: 92px; }
a.ct-item:hover { background: var(--ink-3); }
a.ct-item:hover .ct-value { color: var(--accent); }
.ct-ic { width: 52px; height: 52px; display: grid; place-items: center; background: var(--brand); color: var(--white); border-radius: var(--radius); flex: none; }
.ct-ic .ic { width: 24px; height: 24px; }
.ct-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-label { font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.ct-value { font-family: var(--head); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; transition: color .2s; }
.ct-social { display: flex; gap: 10px; padding: 20px 24px; }
.ct-social a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 2px solid var(--line-dark); border-radius: var(--radius); text-decoration: none; font-weight: 700; }
.ct-social a:hover { border-color: var(--accent); color: var(--accent); }
.map { position: relative; min-height: 420px; background: var(--ink-3); border: 2px solid var(--line-dark); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* CTA band */
.cta-band { background: var(--brand); color: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 18ch; }

/* ============ Footer ============ */
.ftr { background: #070A1F; color: #D3D8DE; padding: 72px 0 0; font-size: .9375rem; }
.ftr-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 48px; }
@media (min-width: 720px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .ftr-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.ftr h2 { font-size: 1.4rem; color: var(--white); margin-bottom: 18px; letter-spacing: .04em; }
.ftr-brand p { margin-top: 18px; max-width: 34ch; }
.ftr-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ftr-col a, .ftr-col button { color: #D3D8DE; text-decoration: none; padding: 7px 0; min-height: 24px; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.ftr-col a:hover, .ftr-col button:hover { color: var(--accent); text-decoration: underline; }
.ftr-ic { display: flex; gap: 10px; align-items: flex-start; }
.ftr-ic .ic { margin-top: 3px; color: var(--accent); }
.ftr-espa { background: var(--white); border-radius: var(--radius); padding: 8px 12px; display: block; width: fit-content; max-width: 100%; margin: 0 auto 40px; }
.ftr-espa img { width: 400px; max-width: 100%; }
.legal { border-top: 1px solid #1E2550; padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .875rem; color: #BAC2CC; }
.legal a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }

/* ΕΣΠΑ banner: fixed κάτω δεξιά, κρύβεται μετά τα 250px κύλισης */
.espa-fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: block; width: 300px; max-width: calc(100vw - 32px); background: var(--white); padding: 8px 10px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: opacity .3s, transform .3s, visibility .3s; }
.espa-fab img { width: 100%; }
.espa-fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); }
@media (max-width: 600px) { .espa-fab { width: 240px; right: 12px; bottom: 12px; } }

/* ============ Νομικές σελίδες ============ */
.page-hero { background: var(--ink); color: var(--white); padding: calc(var(--hdr) + 64px) 0 56px; }
.page-hero .kicker { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.page-hero p { max-width: 60ch; margin: 22px 0 0; color: #E1E5EA; font-size: 1.125rem; }
.doc { max-width: 820px; padding: 64px 0 96px; }
.doc h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 48px 0 16px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-family: var(--body); text-transform: none; font-size: 1.125rem; line-height: 1.4; margin: 26px 0 8px; }
.doc ul { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--brand); }
.doc a:hover { text-decoration-color: var(--ink); }
.doc .box { background: var(--paper); border-left: 6px solid var(--brand); padding: 20px 24px; margin: 0 0 1em; }
.doc .box p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.doc table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #D5D2CA; }
.doc th { background: var(--ink); color: var(--white); font-weight: 800; }
.doc .updated { margin-top: 40px; color: var(--muted); font-size: .9375rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--brand); cursor: pointer; }

.cta-band .btn-dark { background: var(--white); color: var(--brand); }
.cta-band .btn-dark:hover { background: #E4E7FF; }
