/* Ηλιόφωτο Plus. Χρώματα από την επιγραφή και την πρόσοψη του σχολείου. */
:root {
  --navy: #14284f;
  --blue: #1c4fb5;
  --sky: #e8f0ff;
  --paper: #fffaf0;
  --card: #ffffff;
  --ink: #1b2440;
  --mute: #5b647c;
  --line: #e9e1cf;
  --sun: #ffc928;
  --sun-d: #f2b200;
  --red: #f0443c;
  --orange: #ff8a1f;
  --green: #35b24a;
  --cyan: #1fb6d6;
  --purple: #9a4fe0;
  --r: 22px;
  --head: "Geologica", "Commissioner", system-ui, sans-serif;
  --body: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(56px, 8vw, 104px) 0; }
.eyebrow { font: 700 0.8rem/1 var(--head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.fine { font-size: 0.86rem; color: var(--mute); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* κουμπιά */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--head); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--navy); box-shadow: 0 4px 0 var(--sun-d); }
.btn-sun:hover { background: #ffd447; transform: translateY(-1px); box-shadow: 0 5px 0 var(--sun-d); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0d1c3a; }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }

/* μολύβια: η πρόσοψη του πρώτου σχολείου */
.pencils { height: 18px; background: repeating-linear-gradient(90deg,
  var(--red) 0 14px, transparent 14px 20px, var(--orange) 20px 34px, transparent 34px 40px,
  var(--sun) 40px 54px, transparent 54px 60px, var(--green) 60px 74px, transparent 74px 80px,
  var(--cyan) 80px 94px, transparent 94px 100px, var(--blue) 100px 114px, transparent 114px 120px,
  var(--purple) 120px 134px, transparent 134px 140px); }

/* κεφαλίδα */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.sun { width: 38px; height: 38px; flex: none; }
.wordmark { font: 800 1.32rem/1 var(--head); letter-spacing: 0.04em; display: flex; }
.wordmark i { font-style: normal; }
.wordmark i:nth-child(1) { color: var(--red); }
.wordmark i:nth-child(2) { color: var(--green); }
.wordmark i:nth-child(3) { color: var(--cyan); }
.wordmark i:nth-child(4) { color: var(--orange); }
.wordmark i:nth-child(5) { color: var(--red); }
.wordmark i:nth-child(6) { color: var(--purple); }
.wordmark i:nth-child(7) { color: var(--green); }
.wordmark i:nth-child(8) { color: #d99a00; }
.plus { font: 700 0.78rem/1 var(--head); background: var(--navy); color: #fff; padding: 5px 9px; border-radius: 999px; letter-spacing: 0.04em; }
.nav { display: none; gap: 24px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.97rem; color: var(--ink); padding: 8px 0; }
.nav a:hover { color: var(--blue); }
.tel { display: flex; align-items: center; gap: 7px; font: 700 1rem/1 var(--head); color: var(--navy); text-decoration: none; min-height: 44px; }
.tel svg { width: 19px; height: 19px; fill: var(--blue); }
.top-cta { display: none; min-height: 44px; padding: 0 18px; font-size: 0.93rem; box-shadow: 0 3px 0 var(--sun-d); }

/* hero */
.hero { padding: 0; background: linear-gradient(180deg, var(--sky), var(--paper) 88%); }
.hero-grid { display: grid; gap: 28px; padding: 30px 0 44px; }
.hero-text { display: grid; gap: 18px; align-content: center; justify-items: start; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: #37415c; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 600 0.88rem/1 var(--body); background: #fff; border: 1px solid var(--line); padding: 8px 13px; border-radius: 999px; color: var(--navy); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.status.closed .dot { background: var(--orange); }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mute); font-size: 0.95rem; min-height: 44px; }
.rating b { color: var(--navy); }
.rating:hover span:last-child { text-decoration: underline; }
.stars { color: #d99a00; letter-spacing: 2px; font-size: 1.05rem; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 60%; border-radius: var(--r); box-shadow: 0 24px 50px -24px rgba(20, 40, 79, .55); }

/* με μια ματιά */
.facts { padding: 0; background: var(--navy); color: #fff; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; }
.facts-grid div { padding: 22px 12px 22px 0; display: grid; gap: 4px; align-content: start; }
.facts-grid b { font: 800 clamp(1.25rem, 2.6vw, 1.75rem)/1.1 var(--head); color: var(--sun); }
.facts-grid span { font-size: 0.9rem; color: #c8d3ee; }

/* το σχολείο */
.about-grid { display: grid; gap: 40px; }
.about-text { display: grid; gap: 16px; align-content: start; }
.about-text p { max-width: 36em; }
.ticks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; max-width: 36em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 5px var(--paper), 0 0 0 2px var(--sun); }
.ticks li:nth-child(2)::before { background: var(--cyan); box-shadow: inset 0 0 0 5px var(--paper), 0 0 0 2px var(--cyan); }
.ticks li:nth-child(3)::before { background: var(--red); box-shadow: inset 0 0 0 5px var(--paper), 0 0 0 2px var(--red); }
.about-photos { position: relative; padding-bottom: 60px; max-width: 520px; }
.about-photos img { border-radius: var(--r); object-fit: cover; }
.about-photos .p1 { width: 78%; aspect-ratio: 4 / 5; }
.about-photos .p2 { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; border: 6px solid var(--paper); }

/* τμήματα */
.classes { background: #fff; border-block: 1px solid var(--line); }
.class-grid { display: grid; gap: 22px; margin-top: 34px; }
.cls { background: var(--paper); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.c1 { --c: var(--red); } .c2 { --c: var(--orange); } .c3 { --c: var(--green); } .c4 { --c: var(--purple); }
.cls img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cls-body { padding: 20px 20px 22px; display: grid; gap: 10px; align-content: start; }
.age { justify-self: start; font: 700 0.82rem/1 var(--head); color: var(--navy); background: color-mix(in srgb, var(--c) 26%, #fff); padding: 7px 11px; border-radius: 999px; }
.cls p { font-size: 0.97rem; color: #37415c; }
details { border-top: 1px solid var(--line); margin-top: 6px; }
summary { cursor: pointer; font: 700 0.95rem/1.2 var(--head); color: var(--navy); padding: 14px 0 6px; min-height: 44px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--navy); line-height: 1; }
details[open] summary::after { content: "–"; }
details ul { margin: 4px 0 0; padding-left: 20px; font-size: 0.94rem; color: #37415c; display: grid; gap: 4px; }

/* η μέρα */
.day-grid { display: grid; gap: 34px; }
.day-head { display: grid; gap: 14px; align-content: start; }
.day-head p:last-child { max-width: 30em; color: #37415c; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px dashed #d9cfb8; align-items: baseline; }
.timeline li:last-child { border-bottom: 0; }
.timeline time { font: 800 1.2rem/1 var(--head); color: var(--blue); font-variant-numeric: tabular-nums; }
.timeline b { display: block; font-weight: 600; color: var(--navy); }
.timeline span { font-size: 0.9rem; color: var(--mute); }

/* παροχές */
.perks { background: var(--sky); }
.perk-grid { display: grid; gap: 16px; margin-top: 34px; }
.perk { background: #fff; border-radius: var(--r); padding: 24px 22px; display: grid; gap: 8px; align-content: start; }
.perk p { font-size: 0.96rem; color: #37415c; }
.ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.55rem; background: color-mix(in srgb, var(--c) 20%, #fff); margin-bottom: 6px; }
.extra { margin-top: 34px; display: grid; gap: 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 0.95rem; color: var(--navy); }

/* ΕΣΠΑ */
.espa { background: var(--sun); padding: clamp(40px, 6vw, 68px) 0; }
.espa-in { display: grid; gap: 22px; align-items: center; }
.espa .eyebrow { color: var(--navy); }
.espa p:last-child { max-width: 40em; margin-top: 12px; color: #2a2f45; }
.espa .btn { justify-self: start; }

/* φωτογραφίες */
.g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.g { position: relative; padding: 0; border: 0; background: #ddd; border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.g.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g:hover img { transform: scale(1.04); }
.g span { position: absolute; left: 10px; bottom: 10px; background: rgba(20, 40, 79, .82); color: #fff; font: 600 0.8rem/1 var(--body); padding: 7px 10px; border-radius: 999px; }

/* επίσκεψη */
.visit { background: var(--navy); color: #e6ecfa; }
.visit h2, .visit h3 { color: #fff; }
.visit .eyebrow { color: var(--sun); }
.visit-grid { display: grid; gap: 34px; }
.visit-text { display: grid; gap: 16px; align-content: start; }
.visit-text > p { max-width: 32em; }
.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 14px; }
.steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-items: center; font: 800 1rem/1 var(--head); }
.form, .done { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; align-content: start; }
.row { display: grid; gap: 16px; }
.form label, legend { font: 600 0.9rem/1.3 var(--body); color: var(--navy); }
.form input:not([type=radio]):not([type=checkbox]) { display: block; width: 100%; margin-top: 7px; min-height: 52px; border: 2px solid #d5dbea; border-radius: 14px; padding: 0 14px; font: 400 1.05rem var(--body); color: var(--ink); background: #fff; }
.form input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28, 79, 181, .16); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 9px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: grid; place-items: center; min-height: 46px; padding: 0 16px; border: 2px solid #d5dbea; border-radius: 999px; font-weight: 600; color: var(--navy); }
.pick input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); }
.err { color: #c22a22; font-weight: 600; font-size: 0.93rem; }
.form .btn { width: 100%; }
.done { justify-items: center; text-align: center; padding-block: 44px; }
.done h3 { color: var(--navy); font-size: 1.5rem; }
.sun.big { width: 76px; height: 76px; }

/* επικοινωνία */
.contact-grid { display: grid; gap: 30px; }
.contact-text { display: grid; gap: 18px; align-content: start; }
.school { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); justify-items: start; }
.school.main { border: 2px solid var(--navy); }
.school h3 small { font: 600 0.8rem/1 var(--body); color: var(--mute); margin-left: 6px; }
.school a:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: none; }
.school a:not(.btn):hover { text-decoration: underline; }
.school .btn { margin-top: 10px; }
.social { display: flex; gap: 18px; }
.social a { color: var(--navy); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.map { min-height: 380px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #e5e9f0; z-index: 0; }
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--sun); border: 3px solid var(--navy); }
.pin.alt { background: #fff; width: 22px; height: 22px; }

/* υποσέλιδο */
.foot { background: #fff; padding-bottom: 96px; }
.foot-in { padding: 28px 0; display: grid; gap: 6px; }
.foot a { color: var(--blue); }

/* κινητό: μπάρα κάτω */
.mbar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 250, 240, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mbar .btn { min-height: 48px; }

/* προβολή φωτογραφίας */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(10, 18, 38, .94); display: grid; place-items: center; padding: 16px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lb img { max-width: min(1200px, 94vw); max-height: 80vh; border-radius: 12px; }
.lb figcaption { color: #fff; font-weight: 500; }
.lb button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .28); }
.lb-x { top: 14px; right: 14px; }
.lb-nav.prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-nav.next { right: 12px; top: 50%; translate: 0 -50%; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 520px) {
  .tel span { display: none; }
  .tel { width: 44px; justify-content: center; border: 2px solid var(--navy); border-radius: 50%; }
  .hero-cta .btn { width: 100%; }
}
@media (min-width: 640px) {
  .row { grid-template-columns: 1fr 1fr; }
  .class-grid, .perk-grid { grid-template-columns: 1fr 1fr; }
  .g-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .espa-in { grid-template-columns: 1fr auto; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .top-cta { display: inline-flex; }
  .mbar { display: none; }
  .foot { padding-bottom: 0; }
  .hero-grid { grid-template-columns: 0.86fr 1fr; gap: 48px; padding: 54px 0 70px; align-items: center; }
  .hero-photo img { aspect-ratio: 5 / 4; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-grid div { padding: 30px 20px 30px 0; }
  .about-grid { grid-template-columns: 1fr 0.9fr; gap: 70px; align-items: center; }
  .about-photos { justify-self: end; width: 100%; }
  .class-grid { grid-template-columns: repeat(4, 1fr); }
  .day-grid { grid-template-columns: 0.8fr 1fr; gap: 70px; }
  .day-head { position: sticky; top: 110px; }
  .perk-grid { grid-template-columns: repeat(3, 1fr); }
  .visit-grid { grid-template-columns: 0.9fr 1fr; gap: 64px; align-items: center; }
  .contact-grid { grid-template-columns: 0.8fr 1fr; gap: 48px; }
  .map { min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .g img, .btn { transition: none; }
}
