/* ============================================================
   Sveltos.gr — Ανανεωμένη εταιρική ιστοσελίδα
   Παλέτα: κόκκινο #EE1C25 · μαύρο #101014 · λευκό · κρεμ
   Τυπογραφία: Commissioner (τίτλοι) · Inter (κείμενο)
   ============================================================ */

:root {
  --red: #ee1c25;
  --red-dark: #c21118;
  --red-deep: #931010;
  --ink: #101014;
  --ink-soft: #22222a;
  --paper: #ffffff;
  --cream: #f7f4ee;
  --cream-deep: #f1ede4;
  --muted: #5c5b66;
  --border: #e7e3da;
  --on-dark-muted: #b9b8c2;
  --red-on-dark: #ff5158;
  --success: #0e9f6e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 10px rgba(16, 16, 20, 0.05);
  --shadow-lift: 0 14px 40px rgba(16, 16, 20, 0.12);
  --font-display: "Commissioner", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 800;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--red-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- Κουμπιά ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  min-height: 48px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  flex: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(238, 28, 37, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: currentColor;
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ---------- Ετικέτες ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}

.section-head .lead {
  font-size: 1.125rem;
  color: var(--muted);
}

/* ---------- Πλοήγηση ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.nav-brand img {
  height: 42px;
  width: auto;
}

.nav-brand .brand-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.nav-brand .brand-text em {
  color: var(--red);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.btn) {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-links a:not(.btn):hover {
  background: var(--cream-deep);
  color: var(--red-dark);
}

.nav-links .btn {
  padding: 0.55rem 1.2rem;
  min-height: 42px;
  font-size: 0.95rem;
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-links .lang-switch {
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(238, 28, 37, 0.07), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.4em;
}

.hero h1 .accent {
  color: var(--red);
}

.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.6rem;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 6% 8%;
  background: radial-gradient(closest-side, rgba(238, 28, 37, 0.12), transparent);
  border-radius: 50%;
}

.hero-art img {
  position: relative;
  width: min(100%, 24rem);
  filter: drop-shadow(0 24px 40px rgba(16, 16, 20, 0.18));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding: 1.6rem 0 2.6rem;
}

.stat .stat-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat .stat-value .plus {
  color: var(--red);
}

.stat .stat-label {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Πλατφόρμα: 3 πυλώνες ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: #d9d4c8;
}

.pillar .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(238, 28, 37, 0.09);
  color: var(--red-dark);
  margin-bottom: 1.1rem;
}

.pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45em;
}

.pillar p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.pillar ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  display: grid;
  gap: 0.45rem;
}

.pillar ul li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.pillar ul svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--red);
}

/* ---------- Δυνατότητες grid ---------- */
.features-section {
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.feature .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(238, 28, 37, 0.09);
  color: var(--red-dark);
  margin-bottom: 0.8rem;
}

.feature h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35em;
}

.feature p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Πόλεις ---------- */
.cities-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.map-wrap {
  position: relative;
}

.map-wrap svg {
  width: 100%;
  height: auto;
}

.map-land {
  fill: var(--ink);
}

.map-pin {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 2;
}

.map-pin--soon {
  fill: #fff;
  stroke: var(--red);
  stroke-width: 3;
}

.map-pin--planned {
  fill: #fff;
  stroke: var(--muted);
  stroke-width: 2.5;
}

.map-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 3.5px;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.map-label--light {
  fill: var(--muted);
}

.pin-pulse {
  fill: var(--red);
  opacity: 0.35;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
  animation: pin-pulse 2.2s ease-out infinite;
}

@keyframes pin-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.45;
  }
  70% {
    transform: scale(1.9);
    opacity: 0;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: nowrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.city-item > div:first-child {
  flex: 1;
  min-width: 0;
}

.city-item .city-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.city-item .city-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.city-item .city-meta a {
  color: inherit;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-live {
  background: rgba(14, 159, 110, 0.12);
  color: #0b7a56;
}

.badge-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.badge-soon {
  background: rgba(238, 28, 37, 0.1);
  color: var(--red-dark);
}

.badge-soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.badge-planned {
  background: var(--cream-deep);
  color: var(--muted);
}

/* ---------- Χρονολόγιο ---------- */
.timeline {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  position: relative;
  list-style: none;
  padding: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 2%;
  right: 2%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 58%, var(--border) 58%);
}

.timeline li {
  position: relative;
  padding: 2rem 0.9rem 0 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--red);
}

.timeline li.is-future::before {
  background: #fff;
  box-shadow: 0 0 0 2px var(--muted);
}

.timeline .t-year {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  display: block;
}

.timeline .t-city {
  font-weight: 600;
  font-size: 0.95rem;
}

.timeline .t-note {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

/* ---------- Ηράκλειο spotlight ---------- */
.heraklion {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.heraklion::after {
  content: "";
  position: absolute;
  right: -12rem;
  top: -12rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(238, 28, 37, 0.25), transparent);
  pointer-events: none;
}

.heraklion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.heraklion .eyebrow {
  color: var(--red-on-dark);
}

.heraklion h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  color: #fff;
}

.heraklion p {
  color: var(--on-dark-muted);
  font-size: 1.08rem;
  max-width: 32rem;
}

.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-on-dark);
  animation: blink 1.6s ease-in-out infinite;
}

.heraklion-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.heraklion-photo img {
  width: 100%;
  object-fit: cover;
}

.heraklion-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.heraklion-points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.55rem;
  color: #fff;
}

.heraklion-points li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--on-dark-muted);
}

.heraklion-points svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--red-on-dark);
}

/* ---------- Συνεργασία ---------- */
.partnership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.partner-card.highlight {
  background: linear-gradient(150deg, var(--red) 0%, var(--red-dark) 78%);
  color: #fff;
  border: 0;
}

.partner-card.highlight h3,
.partner-card.highlight p,
.partner-card.highlight li {
  color: #fff;
}

.partner-card.highlight ul svg {
  color: #fff;
}

.partner-card h3 {
  font-size: 1.45rem;
}

.partner-card p {
  color: var(--muted);
}

.partner-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.97rem;
}

.partner-card ul li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.partner-card ul svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--red);
}

.partner-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Επικοινωνία ---------- */
.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-card h3 svg {
  color: var(--red);
}

.contact-card p {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 0.4em;
}

.contact-card a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 54px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 20rem;
  font-size: 0.95rem;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer a {
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  padding-top: 1.6rem;
  font-size: 0.88rem;
}

/* ---------- Marquee slogan ---------- */
.marquee {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: 0.85rem 0;
  border-block: 3px solid var(--ink);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  /* Το padding-right = gap κάνει το -50% να αντιστοιχεί σε ακέραιες
     περιόδους περιεχομένου, ώστε ο βρόχος να είναι αδιόρατος */
  padding-right: 3rem;
  width: max-content;
  animation: marquee 52s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.7;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Showcase: mockups πλατφόρμας ---------- */
.showcase {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  left: -14rem;
  bottom: -14rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(238, 28, 37, 0.22), transparent);
  pointer-events: none;
}

.showcase .eyebrow {
  color: var(--red-on-dark);
}

.showcase h2 {
  color: #fff;
}

.showcase .lead {
  color: var(--on-dark-muted);
}

.showcase-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
  gap: 2rem;
  align-items: end;
}

/* Mock browser (dashboard) */
.mock-browser {
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  font-size: 0.8rem;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0.9rem;
}

.mock-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6d2c8;
}

.mock-bar i:first-child {
  background: var(--red);
}

.mock-url {
  margin-left: 0.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.mock-body {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
}

.mock-side {
  background: var(--ink);
  color: #cfcedd;
  padding: 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mock-side .mock-logo {
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.mock-side .mock-logo em {
  color: var(--red-on-dark);
  font-style: normal;
}

.mock-side span {
  padding: 0.42rem 0.6rem;
  border-radius: 8px;
  white-space: nowrap;
}

.mock-side span.is-active {
  background: var(--red);
  color: #fff;
  font-weight: 600;
}

.mock-main {
  padding: 0.9rem;
  display: grid;
  gap: 0.8rem;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.mock-kpi {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.mock-kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.mock-kpi small {
  color: var(--muted);
}

.mock-map {
  position: relative;
  height: 9.5rem;
  border-radius: 10px;
  background:
    linear-gradient(rgba(16, 16, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 20, 0.045) 1px, transparent 1px),
    var(--cream);
  background-size: 26px 26px, 26px 26px, auto;
  overflow: hidden;
}

.mock-map .mm-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mock-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.mock-pin--store {
  background: var(--ink);
}

.mock-pin.pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(238, 28, 37, 0.5);
  animation: pin-pulse 2s ease-out infinite;
}

.mock-orders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.mock-orders li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
}

.mock-orders .mo-id {
  font-weight: 700;
  font-family: var(--font-display);
}

.mock-orders .mo-meta {
  color: var(--muted);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chip {
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.chip-road {
  background: rgba(238, 28, 37, 0.12);
  color: var(--red-dark);
}

.chip-done {
  background: rgba(14, 159, 110, 0.14);
  color: #0b7a56;
}

.chip-new {
  background: rgba(16, 16, 20, 0.08);
  color: var(--ink);
}

/* Mock phone (εφαρμογή διανομέα) */
.mock-phone {
  background: var(--ink-soft);
  border: 3px solid #35343f;
  border-radius: 30px;
  padding: 0.55rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  transform: translateY(1.5rem);
}

.mock-screen {
  background: var(--cream);
  color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  font-size: 0.78rem;
  display: grid;
}

.phone-head {
  background: var(--red);
  color: #fff;
  padding: 1.1rem 1rem 0.8rem;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-head .ph-status {
  font: 600 0.68rem/1 var(--font-body);
  background: rgba(255, 255, 255, 0.18);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0;
}

.phone-order {
  margin: 0.8rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 0.75rem;
}

.phone-order .po-title {
  font-weight: 700;
  font-family: var(--font-display);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.phone-order .po-addr {
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.phone-order .po-actions {
  display: flex;
  gap: 0.45rem;
}

.phone-order .po-actions b {
  flex: 1;
  text-align: center;
  border-radius: 8px;
  padding: 0.45rem 0;
  font-weight: 700;
}

.po-accept {
  background: var(--red);
  color: #fff;
}

.po-later {
  background: var(--cream-deep);
  color: var(--ink);
}

.phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0 0.8rem 0.8rem;
}

.phone-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}

.phone-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
}

.phone-stat small {
  color: var(--muted);
}

.phone-nav {
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 0.55rem 0;
  color: var(--muted);
}

.phone-nav svg:first-child {
  color: var(--red);
}

/* ---------- Πώς δουλεύει ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  margin-bottom: 0.8rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35em;
}

.step p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

.step .step-arrow {
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
  color: var(--red);
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  z-index: 1;
}

.step:last-child .step-arrow {
  display: none;
}

/* ---------- Κοινό: κάρτες κοινού ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.audience-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 30%;
}

.audience-body {
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.audience-body h3 {
  font-size: 1.4rem;
}

.audience-body p {
  color: var(--muted);
}

.audience-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.96rem;
}

.audience-body ul li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.audience-body ul svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--red);
}

.audience-ctas {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Αξιολογήσεις ---------- */
.reviews-section {
  background: var(--cream);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.review .stars {
  display: flex;
  gap: 2px;
  color: var(--red);
}

.review blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}

.review cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 46rem;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
  border-radius: var(--radius-sm);
}

.faq-item summary:hover {
  color: var(--red-dark);
}

.faq-item summary .faq-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(238, 28, 37, 0.09);
  color: var(--red-dark);
  transition: transform 0.25s ease;
}

.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
}

.faq-item .faq-body a {
  color: var(--red-dark);
}

/* ---------- Διαδρομή στον χάρτη ---------- */
.map-route {
  fill: none;
  stroke: rgba(238, 28, 37, 0.4);
  stroke-width: 2;
  stroke-dasharray: 5 6;
  stroke-linecap: round;
}

.map-courier {
  fill: var(--red);
  stroke: #fff;
  stroke-width: 2;
}

/* ---------- Εμφάνιση με κύλιση ----------
   Animation (όχι transition) ώστε να μην πατάει τα hover transitions
   των καρτών που φέρουν και την κλάση .reveal */
.js .reveal {
  opacity: 0;
}

.js .reveal.is-visible {
  opacity: 1;
  animation: reveal-in 0.6s ease backwards;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

/* ---------- Responsive ---------- */
/* Το πλήρες desktop μενού χρειάζεται ~980px — κάτω από 66rem γίνεται burger */
@media (max-width: 66rem) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lift);
    padding: 1rem 1.25rem 1.4rem;
    gap: 0.3rem;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-links .lang-switch {
    align-self: flex-start;
  }

  .nav-links .btn {
    margin: 0.5rem 0 0;
    justify-content: center;
  }
}

@media (max-width: 64rem) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline li {
    padding-top: 1.8rem;
  }
}

@media (max-width: 56rem) {
  .hero-inner,
  .cities-grid,
  .heraklion-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    width: min(60%, 16rem);
  }

  .pillars,
  .partnership-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .city-item {
    flex-wrap: wrap;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1rem;
  }

  .map-wrap {
    max-width: 26rem;
    margin-inline: auto;
  }
}

@media (max-width: 40rem) {
  .features-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Responsive: νέα components ---------- */
@media (max-width: 64rem) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step .step-arrow {
    display: none;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock-phone {
    transform: none;
    max-width: 17rem;
    margin-inline: auto;
  }
}

@media (max-width: 56rem) {
  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 40rem) {
  .steps,
  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock-side {
    display: none;
  }

  .mock-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock-orders .mo-meta {
    display: none;
  }
}

/* ---------- Μειωμένη κίνηση ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none !important;
  }

  .map-courier {
    display: none;
  }
}
