/* =========================================
   SERVICES PAGE ONLY — ULTIMATE OVERRIDES
   (Premium anchor nav + Mobile swipe tabs)
   Safe: δεν πειράζει global.
========================================= */

/* Page wrapper */
.services-page {
  max-width: 950px;
  margin: 0 auto;
  padding: 30px 18px 60px;
}

.services-page h1 {
  margin-top: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/* Subtitle */
.services-subtitle {
  text-align: center;
  color: rgba(30, 41, 59, 0.75);
  margin-bottom: 25px;
  font-size: 1.05rem;
}

/* ================================
   Anchor links (Desktop)
================================ */
.anchor-links {
  position: relative; /* desktop: όχι sticky */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;

  margin: 18px auto 26px;
  padding: 12px 14px;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.anchor-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  padding: 9px 14px;
  border-radius: 12px;

  font-weight: 650;
  font-size: 0.95rem;

  color: #7b1113;
  background: rgba(123, 17, 19, 0.06);
  border: 1px solid rgba(123, 17, 19, 0.14);

  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.anchor-links a:hover {
  transform: translateY(-1px);
  background: rgba(123, 17, 19, 0.10);
  box-shadow: 0 10px 18px rgba(123, 17, 19, 0.12);
}

/* ================================
   Service cards
================================ */
.service-card {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 28px;
  margin: 22px 0;

  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.service-card h2 {
  text-align: left;
  margin-bottom: 12px;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 10px 0;
  font-size: 1.02rem;
  color: rgba(30, 41, 59, 0.92);
}

/* ================================
   Nice list blocks
================================ */
.nice-list {
  margin-top: 14px;
  padding: 16px 18px;

  background: rgba(248, 250, 252, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
}

.nice-list strong {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(30, 41, 59, 0.95);
  font-weight: 750;
}

.nice-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nice-list li {
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
  line-height: 1.5;
  font-weight: 520;
}

.nice-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;

  width: 22px;
  height: 22px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.85rem;
  font-weight: 900;

  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: rgba(16, 185, 129, 0.95);
}

/* ================================
   Mobile: header logo smaller
================================ */
header img {
  max-height: 68px;
  width: auto;
}

@media (max-width: 768px) {
  header {
    padding: 10px 14px !important;
  }

  header img {
    max-height: 44px !important;
  }
}

@media (max-width: 420px) {
  header img {
    max-height: 38px !important;
  }
}

/* ================================
   Mobile: anchor-links becomes swipe tabs
================================ */
@media (max-width: 768px) {
  .service-card { padding: 20px; }

  .anchor-links {
    position: sticky;   /* κρατάει πάντα λίγο επάνω */
    top: 8px;
    z-index: 30;

    flex-wrap: nowrap;
    justify-content: flex-start;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    padding: 10px 10px;
    gap: 8px;
    border-radius: 14px;
  }

  .anchor-links::-webkit-scrollbar { display: none; }
  .anchor-links { scrollbar-width: none; }

  .anchor-links a {
    flex: 0 0 auto;
    white-space: nowrap;

    padding: 8px 12px;
    font-size: 0.86rem;
    border-radius: 12px;
  }
}
