/* =========================
   OPTIMUM · style.css (FULL)
   ========================= */

/* ---------- Theme / Tokens ---------- */
:root {
  --navy: #0e1b2a;
  --navy2: #102235;

  /* πιο φωτεινό overall */
  --bg: #f3f6fb;
  --alt: #ffffff;

  --card: #ffffff;
  --ink: #0b1220;
  --muted: #5b6676;
  --line: rgba(15, 23, 42, .10);

  --accent: #48c7ff;
  --accent2: #9bffcc;

  --radius: 18px;
  --shadow: 0 14px 40px rgba(2, 10, 22, .10);
  --shadow2: 0 10px 26px rgba(2, 10, 22, .08);

  --container: 1120px;
  --font: "Times New Roman", Times, "Liberation Serif", Georgia, serif;

  --headerH: 84px;
  /* ύψος main row header */
  --headerTopH: 44px;
  /* ύψος top row */
}

/* ---------- Reset / Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: .96;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

@media (max-width:620px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }
}

/* ---------- Typography helpers ---------- */
h1,
h2,
h3 {
  letter-spacing: -.02em;
}

p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 12px 0 0;
}

.h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -.01em;
}

hr.sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

/* ---------- Layout: sections ---------- */
.section {
  padding: 72px 0;
  scroll-margin-top: calc(var(--headerH) + var(--headerTopH) + 20px);
}

.section--alt {
  background: var(--alt);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section__head h2 {
  margin: 0;
  font-size: 32px;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

@media (max-width:980px) {
  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section__head h2 {
    font-size: 28px;
  }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}

.pad {
  padding: 22px;
}

/* ---------- Buttons / pills / tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #1677d8;
  color: #fff;
  font-weight: 650;
  letter-spacing: .01em;
  gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  box-shadow: 0 10px 24px rgba(22, 119, 216, .20);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: rgba(255, 255, 255, .88);
  color: var(--navy);
  border: 1px solid rgba(15, 23, 42, .14);
  box-shadow: none;
}

.btn--dark {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 26px rgba(2, 10, 22, .18);
}

.btn--small {
  height: 38px;
  padding: 0 14px;
  font-weight: 650;
}

.pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
}

.pill--light {
  background: rgba(255, 255, 255, .80);
  border: 1px solid rgba(15, 23, 42, .10);
  color: rgba(14, 27, 42, .86);
}

.badgeRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 12px;
  background: rgba(22, 119, 216, .10);
  border: 1px solid rgba(22, 119, 216, .18);
  color: #0a2a3a;
}

/* ---------- Grid helpers ---------- */
.grid {
  display: grid;
  gap: 16px;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width:980px) {
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:620px) {

  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

/* =========================
   HEADER (μία μπάρα, 2 “σειρές” μέσα)
   ========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.header__bg {
  background: linear-gradient(180deg, rgba(12, 23, 38, .98), rgba(14, 27, 42, .96));
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
}

/* TOP ROW (στοιχεία επικοινωνίας) */
.headerTop {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.headerTop__meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.hmeta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .88);
  white-space: nowrap;
}

.hmeta:hover {
  background: rgba(255, 255, 255, .10);
  opacity: 1;
}

.hmeta__ico {
  opacity: .95;
}

.hmeta__txt {
  white-space: nowrap;
}

.hide-md {
  display: inline-flex;
}

/* MAIN ROW (logo + menu) */
.headerMain {
  min-height: var(--headerH);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

/* brand = μόνο το logo (όπως στο HTML σου) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand__logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25));
}

/* NAV desktop */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.nav__burger {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
  margin: 0 auto;
  position: relative;
}

.nav__burger::before,
.nav__burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.nav__burger::before {
  top: -6px;
}

.nav__burger::after {
  top: 6px;
}

.nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 8px;
}

.nav__menu a {
  color: rgba(255, 255, 255, .92);
  font-weight: 650;
  font-size: 15px;
  white-space: nowrap;
  /* να μην σπάει "Οι Υπηρεσίες μας" */
}

.nav__menu a:hover {
  color: #fff;
  opacity: 1;
}

/* =========================
   HEADER responsive
   ========================= */
@media (max-width:980px) {
  :root {
    --headerH: 72px;
    --headerTopH: 44px;
  }

  .hide-md {
    display: none;
  }

  .headerTop__meta {
    justify-content: flex-start;
  }

  .brand__logo {
    height: 38px;
    max-width: 190px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  /* mobile dropdown */
  .nav__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(14, 27, 42, .98);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .30);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 270px;
    z-index: 80;
  }

  /* ✅ δουλεύει με το JS που σου έδωσα: nav.is-open */
  .nav.is-open .nav__menu {
    display: flex;
  }

  .nav__menu a {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .nav__menu a:hover {
    background: rgba(255, 255, 255, .08);
  }

  .nav__menu a.btn {
    justify-content: center;
  }
}

@media (max-width:620px) {
  .brand {
    min-width: 150px;
  }

  .brand__logo {
    height: 34px;
  }
}

/* =========================
   HERO SLIDER
   ========================= */
.hero--slider {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
}

.heroSlider {
  position: relative;
  min-height: inherit;
}

.heroSlider__slides {
  position: absolute;
  inset: 0;
}

.heroSlide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .7s ease, transform 3.6s ease;
}

.heroSlide.is-active {
  opacity: 1;
  transform: scale(1.0);
}

.heroSlider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .94) 0%,
      rgba(255, 255, 255, .86) 44%,
      rgba(255, 255, 255, .20) 72%,
      rgba(255, 255, 255, .00) 100%);
}

.heroSlider__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 120px 0 54px;
}

.heroSlider__copy {
  max-width: 760px;
}

.heroTitle {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
  color: var(--navy);
}

.heroSubtitle {
  margin: 0 0 18px;
  max-width: 60ch;
  color: rgba(14, 27, 42, .78);
  font-size: 18px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.heroSlider__controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.heroSlider__btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .14);
  background: rgba(255, 255, 255, .90);
  color: var(--navy);
  cursor: pointer;
  font-size: 26px;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(2, 10, 22, .10);
  transition: transform .18s ease, opacity .18s ease;
}

.heroSlider__btn:hover {
  transform: translateY(-1px);
}

/* dots (αν το JS δημιουργεί .dot ή .heroSlider__dot, τα πιάνουμε και τα 2) */
.heroSlider__dots {
  position: absolute;
  left: 18px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.heroSlider__dots button,
.dot,
.heroSlider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .22);
  background: rgba(255, 255, 255, .90);
  cursor: pointer;
  padding: 0;
}

.heroSlider__dots button.is-active,
.dot.is-active,
.heroSlider__dot.is-active {
  background: #1677d8;
  border-color: rgba(22, 119, 216, .55);
}

@media (max-width:980px) {
  .heroSlider__grid {
    padding-top: 96px;
  }

  .heroSlider__overlay {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .94) 0%,
        rgba(255, 255, 255, .86) 58%,
        rgba(255, 255, 255, .12) 100%);
  }
}

/* =========================
   ABOUT
   ========================= */
.about {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}

@media (max-width:980px) {
  .about {
    grid-template-columns: 1fr;
  }
}

.miniCard {
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  background: linear-gradient(180deg, rgba(14, 27, 42, .02), rgba(14, 27, 42, .01));
}

/* =========================
   SERVICES / NEWS
   ========================= */
.service {
  padding: 20px;
}

.service h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.service p {
  margin: 0 0 12px;
  color: var(--muted);
}

.newsCard {
  padding: 20px;
}

.newsCard h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.newsCard p {
  margin: 0;
  color: var(--muted);
}

.newsCard a {
  display: inline-block;
  margin-top: 10px;
  color: var(--navy);
  font-weight: 650;
}

.bullets {
  margin: 0;
  padding-left: 18px;
}

.bullets li {
  margin: 6px 0;
  color: var(--muted);
}

/* =========================
   CONTACT + FORM + MAP
   ========================= */
.contact {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
}

@media (max-width:980px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.contact__info {
  display: grid;
  gap: 12px;
}

.contact__chip {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 27, 42, .04), rgba(14, 27, 42, .02));
  border: 1px solid var(--line);
}

.contact__chip strong {
  display: block;
  font-size: 13px;
}

.contact__chip a,
.contact__chip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

/* form */
.form {
  display: grid;
  gap: 12px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width:620px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 12px;
  font: inherit;
  outline: none;
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(72, 199, 255, .55);
  box-shadow: 0 0 0 4px rgba(72, 199, 255, .12);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--muted);
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(15, 23, 42, .20);
  background: rgba(15, 23, 42, .02);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form__hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.form__hint.ok {
  color: #0b6b3a;
}

.form__hint.err {
  color: #b42318;
}

/* map */
.mapCard {
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  background: #fff;
}

.mapCard iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

@media (max-width:720px) {
  .mapCard iframe {
    height: 220px;
  }
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .86);
  padding: 46px 0 18px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 18px;
}

@media (max-width:980px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer strong {
  color: #fff;
}

.footer__links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer__links a {
  color: rgba(255, 255, 255, .82);
}

.footer__links a:hover {
  color: #fff;
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 14px;
  margin-top: 18px;
  font-size: 12px;
}

/* =========================
   Back-to-top button
   ========================= */
.toTop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .14);
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  cursor: pointer;
  font-size: 22px;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(2, 10, 22, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 90;
}

.toTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   Accessibility helper
   ========================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}