/* =========================================================
   Κουκογιώργος Ηλεκτροκίνηση — styles
   Παλέτα εμπνευσμένη από τα χρώματα καλωδίων (γείωση = πράσινο/κίτρινο)
   Display: Oswald (σαν ταμπέλα πίνακα) · Σώμα: Manrope
   ========================================================= */

:root {
  --ink:        #14181f;
  --ink-soft:   #1d232d;
  --paper:      #f6f7f4;
  --surface:    #ffffff;
  --line:       #e4e6e1;
  --muted:      #5b6470;

  --blue:       #1763e6;
  --blue-deep:  #0b3a8c;

  --earth-green: #2f9e44;
  --earth-yellow:#f4d020;

  --radius: 14px;
  --maxw: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Λωρίδα γείωσης — η υπογραφή του brand */
  --earth-stripe: repeating-linear-gradient(
    -52deg,
    var(--earth-green) 0 14px,
    var(--earth-yellow) 14px 28px
  );
}

* { box-sizing: border-box; }

/* Μπάρα προόδου scroll στην κορυφή */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--blue), var(--earth-green) 70%, var(--earth-yellow));
  box-shadow: 0 0 8px rgba(23, 99, 230, .45);
  transition: width .1s linear;
  pointer-events: none;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: "Oswald", "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0;
}

::selection { background: var(--earth-yellow); color: var(--ink); }

/* ---------- Signature: λωρίδα γείωσης ---------- */
.earth-bar {
  height: 6px;
  background: var(--earth-stripe);
  position: sticky;
  top: 0;
  z-index: 60;
}

/* ---------- Κουμπιά ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-call {
  background: var(--ink);
  color: #fff;
  padding: .55rem 1rem;
  font-size: .9rem;
}
.btn-call:hover { background: var(--blue); }
.btn-call .ico { width: 18px; height: 18px; fill: currentColor; }

.btn-block { width: 100%; margin-top: .4rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 6px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 2rem);
  background: rgba(246, 247, 244, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--earth-stripe);
  box-shadow: inset 0 0 0 2px var(--ink);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.brand-text em {
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.main-nav { display: none; gap: 1.6rem; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.main-nav a:hover { border-color: var(--earth-green); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 5vw, 4rem);
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-inner { max-width: 760px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero h1 .hl {
  color: var(--blue);
  position: relative;
}
/* υπογράμμιση τύπου "καλώδιο" κάτω από το τονισμένο */
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.12em;
  height: 6px;
  background: var(--earth-stripe);
  border-radius: 3px;
}

.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: var(--ink-soft);
  margin: 1.6rem 0 2rem;
  max-width: 60ch;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  padding: 0;
  margin: 2.6rem 0 0;
}
.trust-row li { display: flex; flex-direction: column; }
.trust-row strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}
.trust-row span { font-size: .82rem; color: var(--muted); margin-top: .25rem; }

/* Γραμμή ρεύματος (signature animation) */
.current-line {
  margin-top: 2.6rem;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.current-line .pulse {
  position: absolute;
  top: 0; left: -30%;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: run 3.2s linear infinite;
}
@keyframes run { to { left: 110%; } }

/* ---------- Γενικά sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2rem);
}
.section-alt {
  max-width: none;
  background: var(--ink);
  color: #fff;
}
.section-alt .kicker { color: #9fb4d6; }

.section-head { margin-bottom: 2.4rem; }
.kicker {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--blue);
  margin: 0 0 .5rem;
  font-weight: 500;
}
.section h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  text-transform: uppercase;
}

/* ---------- Κάρτες υπηρεσιών ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -18px rgba(20,24,31,.4);
  border-color: var(--ink);
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: .5rem;
}
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

.card-feature {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  position: relative;
  overflow: hidden;
}
.card-feature::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--earth-stripe);
}
.card-feature p { color: #c3ccd8; }
.card-feature .tag {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: var(--ink);
  background: var(--earth-yellow);
  padding: .2rem .6rem;
  border-radius: 999px;
  margin-bottom: .8rem;
  font-weight: 600;
}

/* ---------- Ωράριο & Τοποθεσία ---------- */
.hours-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th,
.hours-table td {
  text-align: left;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .98rem;
}
.hours-table th { font-weight: 700; width: 34%; }
.hours-table td { color: #cdd6e2; font-variant-numeric: tabular-nums; }
.hours-table tr.closed td,
.hours-table tr.closed th { color: #7c8aa0; }

.info-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.info-list li {
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.info-label {
  display: block;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #9fb4d6;
  margin-bottom: .2rem;
}
.info-list a { text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--earth-yellow); }

/* ---------- Φόρμα επικοινωνίας ---------- */
.contact-wrap { max-width: 720px; margin: 0 auto; }
.contact-sub { color: var(--muted); margin-top: .6rem; }

.contact-form {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 4vw, 2.2rem);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }

.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .4rem;
}
.field label span { color: var(--blue); }
.field label small { color: var(--muted); font-weight: 500; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fcfdfb;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,99,230,.15);
}
.field input.invalid,
.field textarea.invalid { border-color: #e03131; box-shadow: 0 0 0 3px rgba(224,49,49,.12); }

/* honeypot — κρυφό */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading { opacity: .85; pointer-events: none; }

.form-status {
  margin: 1rem 0 0;
  font-weight: 600;
  font-size: .95rem;
  min-height: 1.2em;
}
.form-status.ok { color: var(--earth-green); }
.form-status.err { color: #e03131; }

.form-note { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) 1.6rem;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.site-footer .brand-mark { box-shadow: inset 0 0 0 2px #fff; margin-bottom: .8rem; }
.legal-name { font-weight: 700; margin: 0 0 .2rem; font-size: .98rem; }
.site-footer .muted { color: #97a3b2; margin: 0; font-size: .9rem; }
.foot-label {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: #9fb4d6;
  margin: 0 0 .6rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--earth-yellow); }

.footer-bottom {
  max-width: var(--maxw);
  margin: 2.4rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
  font-size: .85rem;
  color: #97a3b2;
}
.footer-bottom a { color: #97a3b2; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Πλωτό κουμπί κλήσης (κινητά) ---------- */
.float-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px; height: 56px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(11,58,140,.7);
  z-index: 70;
}
.float-call svg { width: 24px; height: 24px; fill: #fff; }
.float-call:hover { background: var(--blue-deep); }

/* ---------- Responsive ---------- */
@media (min-width: 700px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hours-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .float-call { display: none; }
}

/* ---------- Σεβασμός reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
