/* Γραμματοσειρές από τον δικό μας server (όχι Google): χωρίς αποστολή IP σε τρίτους */
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/montserrat.woff') format('woff'); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/assets/fonts/opensans.woff') format('woff'); font-weight: 400 600; font-style: normal; font-display: swap; }

/* ==========================================================
   Electric Wave — website
   Χρώματα: βαθύ μπλε #0B2545 · ηλεκτρικό κίτρινο #FFC300
   Γραμματοσειρές: Montserrat (τίτλοι) · Open Sans (κείμενο)
   ========================================================== */

:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --navy-3: #071a33;
  --yellow: #FFC300;
  --white: #FFFFFF;
  --grey-1: #F4F6F8;
  --grey-2: #E3E7EC;
  --text: #0B2545;
  --muted: #4A5A70;
  --muted-on-dark: #B7C3D4;

  --f-head: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Open Sans', system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 5rem);
  --max: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--yellow); color: var(--navy); padding: .6rem 1rem; font-weight: 600; }
.skip:focus { left: 8px; }

.kicker { font-family: var(--f-head); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.25rem; }
.kicker.dark { color: var(--muted); }
.num { font-family: var(--f-head); font-weight: 700; font-size: .85rem; letter-spacing: .06em; color: var(--yellow); }
.accent { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .85rem 1.6rem;
  font-family: var(--f-head); font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  text-decoration: none; border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn-accent { background: var(--yellow); color: var(--navy); }
.btn-accent:hover { background: #FFD23F; transform: translateY(-1px); }
.btn-ghost { border-color: rgb(255 255 255 / .5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgb(255 255 255 / .08); }
.btn-sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .85rem; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */
.header {
  position: fixed; transform: translateY(0); inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 2rem; padding: 0 var(--pad);
  color: var(--white);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-solid { background: var(--navy); box-shadow: 0 1px 0 rgb(255 255 255 / .08); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); --mark-accent: var(--yellow); }
.brand-mark { width: 48px; height: 32px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand-name { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; }
.brand-tag { font-family: var(--f-head); font-weight: 600; font-size: .56rem; letter-spacing: .2em; color: var(--yellow); }
.nav { display: flex; gap: 2rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .85; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav, .header > .btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
    display: flex; flex-direction: column; padding: 1rem var(--pad) 2rem; background: var(--navy);
    transform: translateY(-120%); transition: transform .45s var(--ease);
  }
  .mobile-nav.is-open { transform: none; }
  .mobile-nav a { color: var(--white); text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 1.4rem; padding: .8rem 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
}

/* ---------- 1. Hero (το φως ανάβει με το scroll) ---------- */
.hero { position: relative; height: 190vh; background: #000; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; transform: scale(var(--hero-z, 1.06)); will-change: transform; }
.hero-img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 50%; }
.hero-dark { filter: brightness(.28) saturate(.55); }
/* "Κινήστε το φως": δέσμη που αποκαλύπτει τον φωτισμένο χώρο */
.hero-lit {
  --lx: 30%; --ly: 40%; --r: 0px;
  -webkit-mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 0, #000 calc(var(--r) * .55), transparent var(--r));
  mask-image: radial-gradient(circle at var(--lx) var(--ly), #000 0, #000 calc(var(--r) * .55), transparent var(--r));
}
.hero-beam { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--lx) var(--ly), rgb(255 195 0 / .12), transparent calc(var(--r) * .9)); mix-blend-mode: screen; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to right, rgb(7 26 51 / .78) 0%, rgb(7 26 51 / .35) 45%, transparent 70%), linear-gradient(to top, rgb(7 26 51 / .85) 0%, rgb(7 26 51 / .1) 40%, rgb(7 26 51 / .3) 100%); }
.hero-content { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(7rem, 16vh, 10rem); color: var(--white); max-width: 60rem; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 1.25rem; }
.hero h1 .accent { display: block; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted-on-dark); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-dimmer {
  position: absolute; right: var(--pad); bottom: 2.5rem; left: var(--pad);
  display: flex; align-items: center; gap: 1rem; justify-content: flex-end;
  color: var(--muted-on-dark); font-family: var(--f-head); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.dim-track { width: min(220px, 35vw); height: 2px; background: rgb(255 255 255 / .2); }
.dim-fill { display: block; height: 100%; width: var(--dim, 0%); background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.dim-val { min-width: 3.5ch; text-align: right; color: var(--yellow); }
@media (max-width: 700px) { .dim-label { display: none; } .hero { height: 170vh; } .hero-media { grid-template-columns: 1fr; } .hero-img:not(:first-child) { display: none; } }

/* ---------- 2. Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: var(--white); }
.pillars article { padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 2.5vw, 2.5rem); border-right: 1px solid rgb(255 255 255 / .1); }
.pillars article:last-child { border-right: 0; }
.pillars h2 { font-size: 1.5rem; margin: 1rem 0 .6rem; }
.pillars p { color: var(--muted-on-dark); font-size: .95rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } .pillars article:nth-child(2) { border-right: 0; } .pillars article:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / .1); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillars article { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .1); } }

/* ---------- 3. Statement ---------- */
.statement { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 12vw, 10rem) var(--pad); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.statement-lines { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.035em; }
.statement-lines span { display: block; }
.accent-dark { color: var(--navy); background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%); width: fit-content; }
.statement-body { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 900px) { .statement { grid-template-columns: 1fr; } }

/* ---------- 4. Gallery ---------- */
.gallery { background: var(--grey-1); padding: clamp(5rem, 10vw, 8rem) 0; }
.gallery-head { max-width: var(--max); margin: 0 auto 3rem; padding: 0 var(--pad); }
.gallery-track {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 1.5rem; scrollbar-width: thin; scrollbar-color: var(--navy) transparent;
}
.gallery-track figure { flex: 0 0 clamp(260px, 28vw, 400px); margin: 0; scroll-snap-align: start; }
.gallery-track img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-track figure { overflow: hidden; }
.gallery-track figure:hover img { transform: scale(1.03); }
.gallery-track figcaption, .study figcaption { margin-top: .8rem; font-family: var(--f-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- 5. Behind the walls ---------- */
.behind { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: var(--white); }
.behind-img img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.behind-text { padding: clamp(3rem, 8vw, 7rem) var(--pad); align-self: center; max-width: 640px; }
.behind-text h2 { margin-bottom: 1.5rem; }
.behind-text p:last-child { color: var(--muted-on-dark); font-size: 1.05rem; }
@media (max-width: 900px) { .behind { grid-template-columns: 1fr; } .behind-img img { min-height: 360px; max-height: 60vh; } }

/* ---------- 6. Work list ---------- */
.work { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 12vw, 9rem) var(--pad); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 50rem; }
.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--grey-2); }
.work-list li { border-bottom: 1px solid var(--grey-2); }
.work-list a {
  position: relative; display: grid; grid-template-columns: 7rem 1fr auto; align-items: center; gap: 1.5rem;
  padding: 1.6rem 0; text-decoration: none; transition: padding .4s var(--ease), color .3s;
}
.w-num { font-family: var(--f-head); font-weight: 600; font-size: .85rem; color: var(--muted); }
.w-title { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.02em; }
.w-type { color: var(--muted); font-size: .95rem; text-align: right; }
.work-list img {
  position: absolute; right: 22%; top: 50%; width: 220px; aspect-ratio: 4 / 5; object-fit: cover; z-index: 2; pointer-events: none;
  opacity: 0; transform: translateY(-50%) scale(.92) rotate(-2deg); transition: opacity .35s var(--ease), transform .5s var(--ease);
}
@media (hover: hover) and (min-width: 901px) {
  .work-list a:hover { padding-left: 1rem; }
  .work-list a:hover .w-title { color: var(--navy-2); }
  .work-list a:hover img { opacity: 1; transform: translateY(-50%) scale(1) rotate(0); }
}
@media (max-width: 900px) {
  .work-list a { grid-template-columns: 88px 1fr; grid-template-areas: "img num" "img title" "img type"; gap: .15rem 1rem; padding: 1rem 0; }
  .work-list img { position: static; grid-area: img; width: 88px; opacity: 1; transform: none; }
  .w-num { grid-area: num; } .w-title { grid-area: title; } .w-type { grid-area: type; text-align: left; }
}

/* ---------- 7. Services ---------- */
.services { background: var(--navy); color: var(--white); padding: clamp(6rem, 12vw, 9rem) var(--pad); }
.services .section-head, .service-grid { max-width: var(--max); margin-left: auto; margin-right: auto; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service { background: var(--navy-3); display: flex; flex-direction: column; gap: .75rem; padding-bottom: 2rem; }
.service-img { overflow: hidden; margin-bottom: .75rem; }
.service-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service-img img { transform: scale(1.05); }
.service .num, .service h3, .service p { padding: 0 1.5rem; }
.service p { color: var(--muted-on-dark); font-size: .95rem; }
@media (max-width: 1100px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- 8. Lighting study ---------- */
.study { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 12vw, 9rem) var(--pad); display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.study-text h2 { margin-bottom: 1.5rem; }
.study-text p:last-child { color: var(--muted); font-size: 1.05rem; }
.study-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.study-imgs figure { margin: 0; }
.study-imgs figure:last-child { margin-top: 4rem; }
.study-imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .study { grid-template-columns: 1fr; } .study-imgs figure:last-child { margin-top: 2rem; } }

/* ---------- 9. CTA ---------- */
.cta { background: var(--yellow); color: var(--navy); text-align: center; padding: clamp(5rem, 10vw, 8rem) var(--pad); }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); font-weight: 800; margin-bottom: 1rem; }
.cta p { font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1.5rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.cta .btn-accent { background: var(--navy); color: var(--white); }
.cta .btn-accent:hover { background: var(--navy-2); }
.cta-mail { font-family: var(--f-head); font-weight: 700; text-underline-offset: 4px; }

/* ---------- 10. Process ---------- */
.process { display: grid; grid-template-columns: 1fr 1.2fr; max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 12vw, 9rem) var(--pad); gap: clamp(2rem, 6vw, 6rem); }
.process-img img { width: 100%; height: 100%; max-height: 760px; object-fit: cover; position: sticky; top: calc(var(--header-h) + 2rem); }
.process-body h2 { margin-bottom: 3rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--grey-2); }
.steps .num { color: var(--navy); background: var(--yellow); width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; font-size: .8rem; }
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--muted); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process-img img { position: static; max-height: 420px; } }

/* ---------- 11. Areas ---------- */
.areas { background: var(--navy-3); color: var(--white); padding: clamp(5rem, 10vw, 7rem) var(--pad); }
.areas > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.areas h2 { margin-bottom: 2.5rem; }
.areas ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.areas li { border: 1px solid rgb(255 255 255 / .2); padding: .7rem 1.2rem; font-family: var(--f-head); font-weight: 600; font-size: .95rem; }

/* ---------- 12. Contact ---------- */
.contact { background: var(--grey-1); padding: clamp(6rem, 12vw, 9rem) var(--pad); display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); }
.contact > * { min-width: 0; }
.contact-intro h2 { margin-bottom: 1.25rem; }
.contact-intro p { color: var(--muted); margin-bottom: 1.5rem; }
.contact-mail { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; text-underline-offset: 4px; overflow-wrap: anywhere; }
.form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 1.25rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: .5rem; font-family: var(--f-head); font-weight: 600; font-size: .85rem; }
.form input, .form textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-family: var(--f-body); font-weight: 400; font-size: 1rem; color: var(--text);
  background: var(--white); border: 1px solid var(--grey-2); border-radius: 2px; transition: border-color .3s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(255 195 0 / .45); }
.form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-foot p { color: var(--muted); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--white); padding: 4rem var(--pad) 2rem; }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 3rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 4rem; }
.footer-cols div { display: flex; flex-direction: column; gap: .55rem; }
.footer-cols h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: .5rem; }
.footer-cols a, .footer-cols span { color: var(--muted-on-dark); text-decoration: none; font-size: .92rem; }
.footer-cols a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; color: var(--muted-on-dark); font-size: .82rem; }
@media (max-width: 800px) { .footer-cols { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero { height: 100vh; }
  .hero-media { transform: none; }
  .hero-lit { -webkit-mask-image: none; mask-image: none; }
  .split .w > span { transform: none !important; }
}

/* ---------- Τίτλοι που εμφανίζονται λέξη-λέξη ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.is-in .w > span { transform: none; }

/* ---------- Intro: το λογότυπο λάμπει στο φόρτωμα ---------- */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--navy-3); color: var(--white); --mark-accent: var(--yellow); transition: opacity .8s var(--ease), visibility .8s; }
.intro-mark { width: 120px; height: 80px; filter: drop-shadow(0 0 18px rgb(255 195 0 / .55)); animation: introGlow 1.4s var(--ease) infinite alternate; }
@keyframes introGlow { from { opacity: .35; filter: drop-shadow(0 0 4px rgb(255 195 0 / .2)); } to { opacity: 1; filter: drop-shadow(0 0 24px rgb(255 195 0 / .7)); } }
.intro.is-done { opacity: 0; visibility: hidden; }

/* ---------- 3D πέρασμα ---------- */
.flow { position: relative; height: 900vh; background: var(--navy-3); color: var(--white); }
.flow-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.flow-glow { position: absolute; inset: 0; background: radial-gradient(50% 45% at 50% 45%, rgb(255 195 0 / .08), transparent 70%), radial-gradient(80% 70% at 50% 50%, var(--navy-2), var(--navy-3) 75%); }
.flow-stage { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 45%; }
.flow-text { z-index: 2; pointer-events: none; }
.fl { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; opacity: 0; backface-visibility: hidden; }
.fl-img { margin: 0; width: clamp(220px, 26vw, 420px); aspect-ratio: 3 / 4; box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.fl-img img { width: 100%; height: 100%; object-fit: cover; }
.fl-pillar { width: min(320px, 70vw); }
.fl-pillar h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: .6rem 0 .5rem; text-transform: uppercase; letter-spacing: .02em; }
.fl-pillar p { color: var(--muted-on-dark); font-size: .95rem; }
.fl-word { width: min(1000px, 92vw); text-align: center; }
.fl-word h3 { font-size: clamp(2.6rem, 9vw, 8rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; text-shadow: 0 6px 40px rgb(0 0 0 / .5); }
.fl-word p { margin-top: 1rem; color: var(--muted-on-dark); font-size: 1rem; }
.fl-end { width: min(900px, 90vw); text-align: center; }
.fl-end .statement-lines { font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 1.5rem; }
.fl-end .statement-lines span { display: block; }
.fl-end .statement-body { color: var(--muted-on-dark); font-size: 1.05rem; max-width: 40rem; margin: 0 auto; }
.flow-hint { position: absolute; left: var(--pad); bottom: 2rem; display: flex; align-items: center; gap: 1rem; font-family: var(--f-head); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); }
.flow-bar { width: 160px; height: 2px; background: rgb(255 255 255 / .15); }
.flow-bar span { display: block; height: 100%; width: var(--fp, 0%); background: var(--yellow); }
@media (max-width: 700px) { .flow { height: 750vh; } .fl-img { width: 52vw; } }

/* ---------- Έργα: οριζόντια κίνηση με κάθετο scroll ---------- */
.work { max-width: none; padding: 0; background: var(--white); }
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; }
.work-head { margin: 0; padding: 0 var(--pad); }
.htrack { display: flex; gap: 1.5rem; padding: 0 var(--pad); width: max-content; will-change: transform; }
.hcard { flex: 0 0 auto; width: clamp(260px, 30vw, 460px); text-decoration: none; display: grid; gap: .35rem; }
.hcard-img { overflow: hidden; margin-bottom: .6rem; }
.hcard-img img { width: 100%; height: min(52vh, 560px); object-fit: cover; transition: transform .9s var(--ease); }
.hcard:hover .hcard-img img { transform: scale(1.04); }
.hcard .w-title { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.hcard .w-type { text-align: left; }
@media (max-width: 900px) {
  .hscroll { height: auto !important; }
  .hscroll-sticky { position: static; height: auto; padding: 5rem 0; }
  .htrack { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 1rem; }
  .hcard { width: 78vw; scroll-snap-align: start; }
  .hcard > * { grid-area: auto !important; }
  .hcard-img img { height: 60vh; max-height: 480px; }
}
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* φως-φακός που ακολουθεί το ποντίκι στο 3D πέρασμα */
.flow-torch { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(420px circle at var(--tx, 50%) var(--ty, 45%), rgb(255 195 0 / .10), transparent 65%); mix-blend-mode: screen; }
@media (hover: none) { .flow-torch { display: none; } }

/* ================= Πολλές σελίδες ================= */
/* --- Μενού: ενεργή σελίδα & dropdown υπηρεσιών --- */
.nav { align-items: center; }
.nav a.is-on { opacity: 1; }
.nav a.is-on::after { transform: scaleX(1); }
.nav-item { position: relative; }
.nav-toggle { background: none; border: 0; color: inherit; font: inherit; font-weight: 500; font-size: .95rem; opacity: .85; cursor: pointer; padding: 0; display: flex; gap: .35rem; align-items: center; }
.nav-item.is-on .nav-toggle, .nav-toggle:hover { opacity: 1; }
.nav-toggle span { font-size: .7rem; transition: transform .3s var(--ease); }
.nav-sub {
  position: absolute; top: calc(100% + 18px); left: -1.25rem; min-width: 280px;
  display: flex; flex-direction: column; padding: .6rem; background: var(--navy); border: 1px solid rgb(255 255 255 / .1);
  box-shadow: 0 20px 50px rgb(0 0 0 / .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-sub a { padding: .7rem .8rem; opacity: .85; }
.nav-sub a::after { display: none; }
.nav-sub a:hover, .nav-sub a.is-on { opacity: 1; background: rgb(255 255 255 / .06); color: var(--yellow); }
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub, .nav-item.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover .nav-toggle span, .nav-item.is-open .nav-toggle span { transform: rotate(180deg); }
.mobile-nav a { display: flex; align-items: baseline; gap: .9rem; }
.mobile-nav .mn { font-size: .75rem; color: var(--yellow); font-weight: 700; min-width: 1.6rem; }
.mobile-nav a.is-on { color: var(--yellow); }
.mobile-nav .mn-mail { font-size: 1rem !important; color: var(--muted-on-dark) !important; border-bottom: 0 !important; margin-top: 1rem; }
@media (max-width: 900px) { .mobile-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; } }

/* --- Hero υποσελίδων --- */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy-3); }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroIn 2.4s var(--ease) forwards; }
@keyframes heroIn { from { transform: scale(1.12); filter: brightness(.4); } to { transform: scale(1.02); filter: brightness(1); } }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(to right, rgb(7 26 51 / .85), rgb(7 26 51 / .35) 55%, rgb(7 26 51 / .2)), linear-gradient(to top, rgb(7 26 51 / .9), transparent 50%); }
.page-hero-in { position: relative; padding: calc(var(--header-h) + 4rem) var(--pad) clamp(3rem, 8vw, 6rem); max-width: 60rem; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 1.25rem; }
.page-hero h1 .accent { display: inline; }
.page-lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted-on-dark); max-width: 40rem; }

/* --- Σχετικά --- */
.about-intro { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 8rem) var(--pad); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.about-text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.2rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: var(--white); }
.values article { padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 2.5vw, 2.5rem); border-right: 1px solid rgb(255 255 255 / .1); }
.values article:last-child { border-right: 0; }
.values h3 { font-size: 1.5rem; margin: 1rem 0 .6rem; }
.values p { color: var(--muted-on-dark); font-size: .95rem; }
@media (max-width: 900px) { .about-intro { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr 1fr; } .values article { border-bottom: 1px solid rgb(255 255 255 / .1); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* --- Σελίδες υπηρεσιών --- */
.svc-detail { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 8rem) var(--pad); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); }
.svc-detail-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.svc-items { margin: 0; }
.svc-gallery { padding: 0 var(--pad) clamp(5rem, 10vw, 8rem); }
.svc-gallery-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-gallery figure { margin: 0; overflow: hidden; }
.svc-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .9s var(--ease); }
.svc-gallery figure:hover img { transform: scale(1.04); }
.svc-gallery figcaption { margin-top: .7rem; font-family: var(--f-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc-others { background: var(--navy-3); color: var(--white); padding: clamp(4rem, 8vw, 6rem) var(--pad); }
.svc-others > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(255 255 255 / .12); }
.other { display: flex; align-items: center; gap: 1rem; padding: 1.75rem 1rem 1.75rem 0; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.35rem); border-bottom: 1px solid rgb(255 255 255 / .12); transition: color .3s, padding .4s var(--ease); }
.other span:last-child { margin-left: auto; color: var(--yellow); transition: transform .4s var(--ease); }
.other:hover { color: var(--yellow); padding-left: .5rem; }
.other:hover span:last-child { transform: translateX(6px); }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail-head { position: static; } .svc-gallery-grid { grid-template-columns: 1fr 1fr; } .others { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .svc-gallery-grid { grid-template-columns: 1fr; } }

/* κάρτες υπηρεσιών στην αρχική: όλη η κάρτα είναι link */
.service { position: relative; }
.service-link { position: absolute; inset: 0; z-index: 2; }
.service:hover h3 { color: var(--yellow); }

/* --- Έργα --- */
.work-page { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) var(--pad) clamp(5rem, 10vw, 8rem); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter { min-height: 44px; padding: .55rem 1.2rem; font-family: var(--f-head); font-weight: 600; font-size: .88rem; color: var(--navy); background: transparent; border: 1px solid var(--grey-2); border-radius: 2px; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.filter:hover { border-color: var(--navy); }
.filter.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; }
.wcard { margin: 0; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.wcard.is-hidden { display: none; }
.wcard-img { overflow: hidden; margin-bottom: .9rem; }
.wcard-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s var(--ease); }
.wcard:hover .wcard-img img { transform: scale(1.04); }
.wcard figcaption { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1rem; align-items: baseline; }
.wcard .w-num { grid-row: span 2; }
.wcard .w-title { font-size: 1.25rem; }
.wcard .w-type { text-align: left; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* --- Επικοινωνία --- */
.contact-page { padding-top: calc(var(--header-h) + clamp(4rem, 8vw, 6rem)); min-height: 90vh; }
.contact-page h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin-bottom: 1.25rem; }
.contact-list { margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-list dt { font-family: var(--f-head); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.contact-list dd { margin: 0; font-size: 1.05rem; }
.contact-list a { font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
body:has(.contact-page) .header { background: var(--navy); }

/* ---------- Γκαλερί: σύρσιμο, βελάκια, πρόοδος ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.gal-nav { display: flex; gap: .6rem; flex-shrink: 0; }
.gal-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, opacity .3s, transform .15s; }
.gal-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gal-btn:hover { background: var(--navy); color: var(--yellow); }
.gal-btn:active { transform: scale(.92); }
.gal-btn:disabled { opacity: .25; pointer-events: none; }
.gallery-track { cursor: grab; scrollbar-width: none; user-select: none; -webkit-user-select: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gallery-track.is-drag img { pointer-events: none; }
.gallery-track img { -webkit-user-drag: none; }
.gal-progress { max-width: var(--max); margin: 1.25rem auto 0; height: 2px; background: var(--grey-2); position: relative; width: calc(100% - 2 * var(--pad)); }
.gal-progress span { position: absolute; left: 0; top: 0; height: 100%; width: var(--gw, 20%); transform: translateX(var(--gx, 0%)); background: var(--navy); transition: transform .15s linear; }
@media (max-width: 600px) { .gal-nav { display: none; } }

/* γκαλερί "καρφώνεται" και κινείται οριζόντια με το scroll (desktop) */
.gallery.is-pinned { padding: 0; }
.gallery.is-pinned .gallery-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); overflow: hidden; }
.gallery.is-pinned .gallery-head { margin-bottom: 2rem; }
.gallery.is-pinned .gallery-track { overflow: hidden; scroll-snap-type: none; padding-bottom: 0; }
.gallery.is-pinned .gallery-track figure { flex-basis: clamp(240px, 24vw, 380px); }
.gallery.is-pinned .gallery-track img { aspect-ratio: auto; height: min(52vh, 520px); }
.gallery.is-pinned .gallery-head { width: calc(100% - 2 * var(--pad)); max-width: var(--max); }

/* ---------- Έργα: καρτέλες Ολοκληρωμένα / Σε εξέλιξη ---------- */
.tabs { display: inline-flex; gap: .3rem; padding: .3rem; background: var(--grey-1); border: 1px solid var(--grey-2); margin-bottom: 2.5rem; }
.tab { min-height: 48px; display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.4rem; background: transparent; border: 0; font-family: var(--f-head); font-weight: 700; font-size: .95rem; color: var(--muted); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.tab span { font-size: .75rem; min-width: 1.6rem; padding: .1rem .45rem; border-radius: 999px; background: var(--grey-2); color: var(--navy); }
.tab:hover { color: var(--navy); }
.tab.is-on { background: var(--navy); color: var(--white); }
.tab.is-on span { background: var(--yellow); }
.tab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgb(255 195 0 / .6); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgb(255 195 0 / 0); } }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* κάρτα έργου σε εξέλιξη */
.og-list { display: grid; gap: 2.5rem; }
.og-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: 2.5rem; border-bottom: 1px solid var(--grey-2); }
.og-main { position: relative; overflow: hidden; }
.og-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .35s var(--ease); }
.og-badge { position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.og-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); animation: pulse 1.8s ease-out infinite; }
.og-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; scrollbar-width: none; }
.og-thumb { flex: 0 0 76px; height: 76px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; transition: opacity .3s, border-color .3s; }
.og-thumb img { width: 100%; height: 100%; object-fit: cover; }
.og-thumb:hover, .og-thumb.is-on { opacity: 1; border-color: var(--yellow); }
.og-body { align-self: center; }
.og-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin: .4rem 0 1rem; }
.og-scope { color: var(--text); font-size: 1.05rem; margin-bottom: .8rem; }
.og-status { color: var(--muted); margin-bottom: 1.5rem; }
.og-status strong { color: var(--navy); font-family: var(--f-head); }
.og-progress { margin-bottom: 1.5rem; }
.og-progress-top { display: flex; justify-content: space-between; font-family: var(--f-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.og-bar { height: 6px; background: var(--grey-2); overflow: hidden; }
.og-bar span { display: block; height: 100%; background: var(--yellow); transform-origin: left; animation: barIn 1.4s var(--ease); }
@keyframes barIn { from { transform: scaleX(0); } }
.og-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--grey-2); }
.og-meta dt { font-family: var(--f-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.og-meta dd { margin: .15rem 0 0; font-weight: 600; }
.og-empty { text-align: center; padding: clamp(3rem, 8vw, 6rem) 1rem; border: 1px dashed var(--grey-2); color: var(--navy); --mark-accent: var(--yellow); }
.og-empty-mark { width: 90px; height: 60px; margin-bottom: 1.25rem; }
.og-empty h3 { max-width: 30rem; margin: 0 auto .75rem; font-size: 1.4rem; }
.og-empty p { color: var(--muted); }
.og-empty a { font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 900px) { .og-card { grid-template-columns: 1fr; } .tabs { display: flex; } .tab { flex: 1; justify-content: center; padding: .6rem .8rem; } }
@media (max-width: 900px) { .tab { white-space: nowrap; font-size: .85rem; gap: .4rem; } }
.og-note { display: inline-block; font-size: .85rem; color: var(--muted); border-left: 3px solid var(--yellow); padding: .2rem 0 .2rem .7rem; margin-bottom: 1.5rem; }

/* ---------- Προβολή φωτογραφιών σε πλήρη οθόνη ---------- */
.zoomable { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-rows: 1fr auto; background: rgb(7 26 51 / .96); color: var(--white); opacity: 0; transition: opacity .3s var(--ease); }
.lb.is-open { opacity: 1; }
.lb[hidden] { display: none; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 4.5rem 5rem 1rem; min-height: 0; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgb(0 0 0 / .5); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.lb-img.is-swap { opacity: 0; transform: scale(.98); }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 5rem 1.75rem; }
.lb-cap { font-family: var(--f-head); font-weight: 600; font-size: .95rem; }
.lb-count { font-family: var(--f-head); font-weight: 700; font-size: .85rem; color: var(--yellow); white-space: nowrap; }
.lb-btn { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); background: rgb(7 26 51 / .5); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.lb-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-close { right: 1.25rem; top: 1rem; }
.lb-btn[hidden] { display: none; }
@media (max-width: 700px) {
  .lb-stage { padding: 4rem .75rem .5rem; }
  .lb-bar { padding: .75rem 1rem 1.25rem; }
  .lb-prev, .lb-next { top: auto; bottom: -3.75rem; transform: none; width: 48px; height: 48px; }
  .lb-prev { left: auto; right: 4.25rem; } .lb-next { right: 1rem; }
  .lb-bar { padding-right: 9rem; }
}
.lb { grid-template-rows: minmax(0, 1fr) auto; }
.lb-stage { overflow: hidden; }
.lb-img { max-height: calc(100vh - 9.5rem); max-height: calc(100svh - 9.5rem); width: auto; height: auto; }
@media (max-width: 700px) { .lb-img { max-height: calc(100svh - 12rem); } .lb-bar { flex-direction: column; align-items: flex-start; gap: .35rem; } }
@media (max-width: 700px) { .lb-stage { padding-bottom: 4.5rem; } .lb-prev, .lb-next { bottom: .75rem; } .lb-img { max-height: calc(100svh - 15rem); } }

/* ================= Responsive διορθώσεις ================= */
/* μενού: hamburger μέχρι τα 1180px, ώστε να μη στριμώχνεται σε tablet/μικρά laptop */
.header .btn, .brand-tag, .brand-name { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav, .header > .btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
    display: flex; flex-direction: column; padding: 1rem var(--pad) 2rem; background: var(--navy);
    transform: translateY(-120%); transition: transform .45s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .mobile-nav.is-open { transform: none; }
  .mobile-nav a { color: var(--white); text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; padding: .8rem 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
}
@media (min-width: 701px) and (max-width: 1180px) { .mobile-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } .mobile-nav .mn-mail { grid-column: 1 / -1; } }

/* μεγαλύτερο tagline λογοτύπου */
.brand-tag { font-size: .6rem; }
@media (max-width: 380px) { .brand-name { font-size: .95rem; } .brand-mark { width: 42px; height: 28px; } }

/* μεγαλύτεροι στόχοι αφής σε οθόνες αφής */
@media (pointer: coarse) {
  .footer-cols a { padding: .55rem 0; }
  .footer-cols div { gap: 0; }
  .cta-mail, .contact-mail, .contact-list a { display: inline-block; padding: .65rem 0; }
}

/* 3D πέρασμα: κείμενα πάντα μέσα στην οθόνη */
.fl-pillar { width: min(320px, 78vw); }
.fl-word { width: min(1000px, 90vw); }
.fl-word h3 { font-size: clamp(2.2rem, 8.5vw, 8rem); overflow-wrap: anywhere; }
@media (max-width: 700px) { .fl-word p, .fl-pillar p { font-size: .92rem; } .fl-end .statement-lines { font-size: clamp(1.8rem, 8vw, 2.6rem); } }
/* κάρτες έργων: τίτλος/περιγραφή χωρίς επικάλυψη σε όλα τα μεγέθη */
.wcard figcaption .w-num { grid-area: 1 / 1 / 3 / 2 !important; }
.wcard figcaption .w-title { grid-area: 1 / 2 / 2 / 3 !important; }
.wcard figcaption .w-type { grid-area: 2 / 2 / 3 / 3 !important; text-align: left !important; }
/* μεγάλες λέξεις 3D περάσματος: ποτέ σπάσιμο στη μέση, μέγεθος ανάλογα με την οθόνη */
.fl-word h3 { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; font-size: clamp(1.6rem, 6.4vw, 7.5rem); }

/* ---------- Φόρμα αιτήματος προσφοράς ---------- */
.quote-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote-form legend { font-family: var(--f-head); font-weight: 600; font-size: .85rem; margin-bottom: .7rem; padding: 0; }
.quote-form .hint { font-family: var(--f-body); font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: .35rem; }
.req { color: #B45309; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; display: inline-flex; cursor: pointer; font-family: var(--f-body) !important; font-weight: 500 !important; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .6rem 1.05rem; background: var(--white); border: 1px solid var(--grey-2); color: var(--navy); font-size: .95rem; transition: background .2s, border-color .2s, color .2s; }
.chip span::before { content: ""; width: 14px; height: 14px; flex: 0 0 14px; border: 2px solid var(--grey-2); background: var(--white); transition: background .2s, border-color .2s; }
.chip input[type=radio] + span::before { border-radius: 50%; }
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:checked + span::before { background: var(--yellow); border-color: var(--yellow); box-shadow: inset 0 0 0 2px var(--navy); }
.chip input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.quote-form select { width: 100%; padding: .85rem 1rem; font: inherit; font-family: var(--f-body); font-weight: 400; font-size: 1rem; color: var(--text); background: var(--white); border: 1px solid var(--grey-2); border-radius: 2px; min-height: 50px; }
.quote-form select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(255 195 0 / .45); }
.field-error { display: block; min-height: 0; margin: .35rem 0 0; font-family: var(--f-body); font-weight: 600; font-size: .82rem; color: #B42318; }
.field-error:empty { display: none; }
.is-invalid input, .is-invalid select, .is-invalid textarea, .is-invalid .chip span { border-color: #B42318; }
.form-note { flex-basis: 100%; font-size: .85rem; color: var(--muted); order: 3; }
.form-status { font-weight: 600; }
.form-status.ok { color: #0B6B3A; }
.form-status.err { color: #B42318; }
.quote-form.is-sent { opacity: .55; pointer-events: none; }
.quote-points { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.quote-points li { display: flex; gap: .6rem; align-items: baseline; color: var(--text); }
.quote-points li::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; background: var(--yellow); transform: translateY(-1px); }
@media (max-width: 1100px) { .quote-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .quote-form { grid-template-columns: 1fr; } .chip span { font-size: .9rem; padding: .55rem .85rem; } }
.quote-form label[data-field] { display: block; }
.quote-form label[data-field] > input, .quote-form label[data-field] > select, .quote-form label[data-field] > textarea { display: block; margin-top: .5rem; }

/* ---------- Βελάκι επιστροφής πάνω ---------- */
.to-top {
  position: fixed; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--navy); color: var(--yellow); box-shadow: 0 10px 30px rgb(7 26 51 / .35);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-2); }
.to-top:hover .to-top-arrow { transform: translateY(-3px); }
.to-top:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: rgb(255 255 255 / .15); stroke-width: 2.5; }
.to-top-ring .to-top-prog { stroke: var(--yellow); stroke-dasharray: 138.2; stroke-dashoffset: var(--off, 138.2); transition: stroke-dashoffset .1s linear; }
.to-top-arrow { position: relative; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
@media (max-width: 600px) { .to-top { width: 48px; height: 48px; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); } }
body.menu-open .to-top { opacity: 0; visibility: hidden; }

/* Οριζόντιες λίστες σε κινητό/tablet: η πρώτη κάρτα κρατά περιθώριο από την άκρη */
.gallery-track { scroll-padding-inline: var(--pad); }
@media (max-width: 900px) {
  .htrack { scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--yellow) rgb(11 37 69 / .1); }
  .htrack::after { content: ""; flex: 0 0 1px; } /* κενό και μετά την τελευταία κάρτα */
}

/* ---------- Footer: νομικοί σύνδεσμοι ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-legal a { color: inherit; text-decoration: none; padding: .35rem 0; }
.footer-legal a:hover { color: var(--yellow); }
.form-note a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Νομικές σελίδες ---------- */
.legal { padding: calc(var(--header-h) + clamp(3.5rem, 7vw, 5.5rem)) var(--pad) clamp(5rem, 9vw, 8rem); max-width: 1180px; margin: 0 auto; }
.legal-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.legal-head h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy); margin-bottom: 1.25rem; }
.legal-lead { font-size: 1.12rem; color: var(--muted); }
.legal-date { margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.legal-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); border-left: 2px solid var(--yellow); padding-left: 1.1rem; }
.legal-toc p { font-family: var(--f-head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; counter-reset: t; }
.legal-toc a { display: block; padding: .3rem 0; font-size: .92rem; color: var(--navy); text-decoration: none; }
.legal-toc a:hover { color: #9a7400; }
.legal-text { max-width: 720px; }
.legal-text section { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid rgb(11 37 69 / .1); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal-text section:last-child { border-bottom: 0; }
.legal-text h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); color: var(--navy); margin-bottom: 1rem; letter-spacing: -.01em; }
.legal-text p, .legal-text li { color: var(--text); line-height: 1.75; }
.legal-text p { margin: 0 0 1rem; }
.legal-text ul { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: .45rem; }
.legal-text li::marker { color: #c99a00; }
.legal-text a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .legal-body { grid-template-columns: 1fr; }
  .legal-toc { position: static; background: var(--grey-1); border-left: 0; border-top: 3px solid var(--yellow); padding: 1.1rem 1.25rem; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1rem; padding: calc(var(--header-h) + 3rem) var(--pad) 4rem; background: var(--navy); color: var(--white); }
.nf-mark { width: min(340px, 70vw); height: auto; margin-bottom: 1rem; overflow: visible; }
.nf-line { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; animation: nf-flicker 3.2s steps(1) infinite, nf-draw 1.6s var(--ease) both; filter: drop-shadow(0 0 8px rgb(255 195 0 / .6)); }
@keyframes nf-draw { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
@keyframes nf-flicker { 0%, 62%, 66%, 70%, 100% { opacity: 1; } 64%, 68% { opacity: .15; } }
.nf h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--white); }
.nf-lead { color: var(--muted-on-dark); max-width: 30rem; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1rem; }
.nf .btn-ghost { color: var(--white); border-color: rgb(255 255 255 / .35); }
@media (prefers-reduced-motion: reduce) { .nf-line { animation: none; } }

/* ---------- Φόρμα: animation επιτυχίας ---------- */
.form-success { display: none; }
.quote-wrap.is-sent .quote-form { display: none; }
.quote-wrap.is-sent .form-success { display: grid; }
.form-success {
  position: relative; overflow: hidden; justify-items: center; text-align: center; gap: 1rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem); background: var(--navy); color: var(--white);
  animation: fs-in .6s var(--ease) both;
}
.form-success:focus { outline: none; }
.fs-burst { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: .5rem; }
.fs-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow); opacity: 0; animation: fs-ripple 1.8s var(--ease) .9s 2 both; }
.fs-ring:nth-child(2) { animation-delay: 1.2s; }
.fs-icon { width: 132px; height: 132px; overflow: visible; }
.fs-circle { fill: none; stroke: var(--yellow); stroke-width: 4; stroke-dasharray: 340; stroke-dashoffset: 340; transform: rotate(-90deg); transform-origin: 60px 60px; animation: fs-draw .8s var(--ease) .15s forwards; }
.fs-fill { fill: var(--yellow); transform: scale(0); transform-origin: 60px 60px; animation: fs-pop .45s cubic-bezier(.3,1.6,.5,1) .85s forwards; }
.fs-check { fill: none; stroke: var(--navy); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: fs-draw .45s var(--ease) 1.15s forwards; }
.fs-wave { width: min(280px, 70%); height: 40px; overflow: visible; margin: -.25rem 0 .5rem; }
.fs-wave path { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: fs-draw 1.1s var(--ease) 1.3s forwards; filter: drop-shadow(0 0 6px rgb(255 195 0 / .55)); }
.form-success h3 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; color: var(--white); letter-spacing: -.02em; opacity: 0; animation: fs-up .6s var(--ease) 1.5s forwards; }
.form-success p { color: var(--muted-on-dark); max-width: 30rem; margin: 0; opacity: 0; animation: fs-up .6s var(--ease) 1.65s forwards; }
.form-success .btn { margin-top: 1rem; opacity: 0; animation: fs-up .6s var(--ease) 1.8s forwards; color: var(--white); border-color: rgb(255 255 255 / .35); }
@keyframes fs-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fs-draw { to { stroke-dashoffset: 0; } }
@keyframes fs-pop { to { transform: scale(1); } }
@keyframes fs-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fs-ripple { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.9); } }
@media (prefers-reduced-motion: reduce) {
  .form-success, .form-success *, .fs-circle, .fs-fill, .fs-check, .fs-wave path { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }
  .fs-ring { display: none; }
}

/* Νομικές σελίδες (λευκό φόντο από την αρχή): header πάντα navy για να φαίνονται logo και μενού */
body:has(.legal) .header { background: var(--navy); box-shadow: 0 1px 0 rgb(255 255 255 / .08); }
/* Κουμπί «Στείλτε νέο αίτημα»: διάφανο πάνω στο navy */
.form-success .btn { background: transparent; }
.form-success .btn:hover { background: rgb(255 255 255 / .08); border-color: var(--white); }
@media (pointer: coarse) { .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; } }

/* ---------- Μπάρα συγκατάθεσης cookies (εμφανίζεται μόνο όταν υπάρχουν μη απαραίτητα scripts) ---------- */
.cc { position: fixed; left: max(1.25rem, env(safe-area-inset-left)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 120; width: min(440px, calc(100vw - 2.5rem));
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
.cc.is-open { opacity: 1; visibility: visible; transform: none; }
.cc-box { background: var(--navy); color: var(--white); padding: 1.5rem 1.5rem 1.25rem; box-shadow: 0 24px 60px rgb(7 26 51 / .45); border-top: 3px solid var(--yellow); max-height: calc(100svh - 2.5rem); overflow-y: auto; outline: none; }
.cc-title { font-size: 1.15rem; font-weight: 800; margin: 0 0 .5rem; color: var(--white); }
.cc-text { font-size: .9rem; line-height: 1.6; color: var(--muted-on-dark); margin: 0 0 1.1rem; }
.cc-text a { color: var(--yellow); }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cc-btn { min-height: 46px; padding: .7rem 1rem; font: 700 .9rem var(--f-head); border: 2px solid var(--yellow); cursor: pointer; transition: background .25s, color .25s; }
/* Αποδοχή και Απόρριψη: ίδιο μέγεθος και ίδια προβολή, όπως ζητά η Αρχή Προστασίας Δεδομένων */
.cc-accept, .cc-reject { background: var(--yellow); color: var(--navy); }
.cc-accept:hover, .cc-reject:hover { background: #ffd23d; }
.cc-save { grid-column: 1 / -1; background: transparent; color: var(--white); border-color: rgb(255 255 255 / .5); }
.cc-save:hover { border-color: var(--white); }
.cc-link { grid-column: 1 / -1; justify-self: center; background: none; border: 0; color: var(--white); text-decoration: underline; text-underline-offset: 3px; font: 600 .88rem var(--f-body); padding: .6rem 1rem; min-height: 44px; cursor: pointer; }
.cc-btn:focus-visible, .cc-link:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.cc-prefs { display: grid; gap: .25rem; margin: 0 0 1.1rem; border-top: 1px solid rgb(255 255 255 / .12); }
.cc-prefs[hidden] { display: none; }
.cc-cat { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgb(255 255 255 / .12); cursor: pointer; }
.cc-cat-txt { display: grid; gap: .2rem; font-size: .84rem; line-height: 1.5; color: var(--muted-on-dark); }
.cc-cat-txt strong { color: var(--white); font-size: .92rem; }
.cc-switch { position: relative; flex: 0 0 46px; height: 26px; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cc-switch span { position: absolute; inset: 0; border-radius: 99px; background: rgb(255 255 255 / .2); transition: background .25s; pointer-events: none; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .25s var(--ease); }
.cc-switch input:checked + span { background: var(--yellow); }
.cc-switch input:checked + span::after { transform: translateX(20px); background: var(--navy); }
.cc-switch input:disabled + span { opacity: .55; }
.cc-switch input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.cc-open-link { background: none; border: 0; padding: .35rem 0; color: inherit; font: inherit; cursor: pointer; }
.cc-open-link:hover { color: var(--yellow); }
@media (pointer: coarse) { .cc-open-link { min-height: 44px; padding: 0; } }
body.cc-open .to-top { opacity: 0; visibility: hidden; }
@media (max-width: 600px) {
  .cc { left: 0; right: 0; bottom: 0; width: 100%; }
  .cc-box { padding: 1.25rem 1.25rem max(1rem, env(safe-area-inset-bottom)); max-height: 85svh; }
}
@media (prefers-reduced-motion: reduce) { .cc { transition: none; } }
.cf-slot:empty { display: none; }
.cf-slot { min-height: 0; }
.quote-form [data-field="message"] .field-error { display: block; }
.cf-slot { margin-top: .25rem; }
