/* ═══════════════════════════════════════════════════════════════
   ZTT × TECHNOLOGIKI  —  sub-landing page (ztt.html)
   Scoped to body[data-page="ztt"] so nothing here can leak into the
   rest of the site. Loaded after main.css; reuses its fonts, buttons
   and nav, and adds a ZTT-branded palette on top.
   ═══════════════════════════════════════════════════════════════ */

body[data-page="ztt"] {
  --z-navy:      #05132c;
  --z-navy-2:    #0a2149;
  --z-navy-3:    #112e5f;
  --z-blue:      #0b4fa8;
  --z-blue-l:    #6ba6ee;
  --z-red:       #e2323f;
  --z-green:     #35b06a;
  --z-line:      rgba(255,255,255,.12);
  --z-dim:       rgba(226,235,247,.72);
  --z-shell:     min(1240px, 100% - 3rem);
}

/* ─── shared section furniture ─── */
.z-shell { width: var(--z-shell); margin-inline: auto; }
.z-sec { padding: 6.5rem 0; }
.z-sec-dark { background: var(--z-navy); color: #fff; }
.z-sec-soft { background: var(--theme-surface-soft); color: var(--theme-text); }
.z-sec-plain { background: var(--theme-bg); color: var(--theme-text); }

.z-kicker {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--z-blue-l); margin-bottom: 1.1rem;
}
.z-sec-soft .z-kicker, .z-sec-plain .z-kicker { color: var(--blue); }

.z-h2 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -.03em; margin: 0;
}
.z-sub { font-size: 1.06rem; line-height: 1.75; margin: 1.1rem 0 0; max-width: 62ch; color: var(--theme-muted); }
.z-sec-dark .z-sub { color: var(--z-dim); }

.z-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem 3.5rem; align-items: end; margin-bottom: 3.25rem; }
.z-head .z-sub { margin-top: 0; }

/* ─── HERO ─── */
.z-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(94vh, 820px); display: flex; align-items: flex-end;
  background: var(--z-navy); color: #fff;
  padding: calc(var(--nav-h) + 4rem) 0 4.5rem;
}
.z-hero-media { position: absolute; inset: 0; z-index: -2; }
.z-hero-media img, .z-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.z-hero-tint {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,19,44,.86) 0%, rgba(5,19,44,.55) 38%, rgba(5,19,44,.94) 100%),
    linear-gradient(90deg, rgba(5,19,44,.8) 0%, transparent 62%);
}
.z-hero-inner { position: relative; }
.z-hero-lockup {
  display: inline-flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  padding: .6rem 1.1rem; border: 1px solid var(--z-line); border-radius: 999px;
  background: rgba(5,19,44,.5); backdrop-filter: blur(8px); margin-bottom: 1.6rem;
}
.z-hero-lockup img { display: block; height: 19px; width: auto; }
.z-hero-lockup .z-word {
  font-family: 'Ubuntu', 'Ubuntu Fallback', 'Inter', sans-serif;
  font-weight: 700; font-size: 1.08rem; line-height: 1; letter-spacing: -.02em;
}
.z-hero-lockup .z-word em { font-style: normal; color: #6fdfd3; }
.z-hero-lockup .z-times { opacity: .5; font-weight: 300; }

/* The formal designation from ZTT. Stays in English because that is how the
   appointment itself is worded. */
.z-hero-badge {
  margin: 0 0 1rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--z-blue-l);
  max-width: 40ch; line-height: 1.5;
}

.z-hero h1 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -.035em; margin: 0 0 1.4rem; max-width: 21ch;
}
.z-hero h1 b { color: inherit; font-weight: 800; }
.z-hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.7; color: #dbe6f5; max-width: 60ch; margin: 0; }
.z-hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.z-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.z-btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }

.z-video-toggle {
  position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 3;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); background: rgba(5,19,44,.65); color: #fff;
  display: grid; place-items: center; font-size: .8rem; line-height: 1;
}
.z-video-toggle:hover { background: rgba(5,19,44,.9); }

/* ─── FACT STRIP ─── */
.z-facts { background: var(--z-navy-2); color: #fff; border-block: 1px solid var(--z-line); }
.z-facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.z-fact { padding: 2.4rem 1.6rem; border-right: 1px solid var(--z-line); }
.z-fact:last-child { border-right: 0; }
.z-fact b {
  display: block; font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1;
}
.z-fact span { display: block; margin-top: .55rem; font-size: .82rem; line-height: 1.45; color: var(--z-dim); }

/* ─── PARTNERSHIP ─── */
.z-partner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: start; }
.z-quote {
  border-left: 3px solid var(--z-blue); padding: .2rem 0 .2rem 1.4rem; margin: 2rem 0 0;
  font-size: 1.12rem; line-height: 1.65; font-weight: 600; color: var(--theme-text);
}
.z-signing {
  margin-top: 1.8rem; padding: 1.4rem 1.6rem; border-radius: 16px;
  background: var(--theme-surface); border: 1px solid var(--theme-border);
  display: grid; gap: .55rem;
}
.z-signing div { display: flex; gap: .9rem; font-size: .93rem; line-height: 1.5; }
.z-signing dt { flex: 0 0 8.5rem; font-weight: 700; color: var(--theme-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding-top: .15rem; }
.z-signing dd { margin: 0; }

.z-caps { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 1.6rem; margin-top: 1.6rem; }
.z-caps li { list-style: none; padding: .8rem 0; border-bottom: 1px solid var(--theme-border); font-size: .92rem; font-weight: 600; display: flex; gap: .6rem; }
.z-caps li::before { content: '✓'; color: var(--z-green); font-weight: 800; }

.z-figure { border-radius: 20px; overflow: hidden; position: relative; background: var(--z-navy); border: 1px solid var(--theme-border); }
.z-figure video, .z-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.z-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.4rem .95rem;
  background: linear-gradient(transparent, rgba(5,19,44,.92)); color: #fff;
  font-size: .82rem; line-height: 1.45;
}

/* ─── ZTT PROFILE ─── */
/* ─── WHO IS ZTT: one two-column block, no cards ─── */
.z-co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 3rem 4rem; align-items: start; }
.z-co-copy .z-sub { max-width: 46ch; }

/* value chain as a single line of steps */
.z-chain { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.z-chain li { font-size: .9rem; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: .9rem; }
.z-chain li + li::before { content: '→'; font-weight: 300; color: var(--z-blue-l); opacity: .75; }

/* specs as hairline rows */
.z-specs { margin: 2.2rem 0 0; border-top: 1px solid var(--z-line); }
.z-specs > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--z-line); }
.z-specs dt { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--z-blue-l); padding-top: .2rem; }
.z-specs dd { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--z-dim); }

.z-tier1 { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--z-line); position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.z-tier1 img { display: block; width: 100%; height: auto; }
.z-tier1 figcaption { padding: .8rem 1.1rem; font-size: .78rem; color: var(--z-dim); border-top: 1px solid var(--z-line); background: rgba(255,255,255,.03); }

/* ─── PRODUCTS ─── */
.z-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.z-prod {
  background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1);
}
.z-prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.z-prod > img { display: block; width: 100%; height: auto; background: #eef4fb; }
.z-prod-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.z-prod h3 { font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.z-prod-cap { font-size: .95rem; font-weight: 700; color: var(--blue); margin: .15rem 0 .5rem; }
.z-prod p { font-size: .86rem; line-height: 1.55; color: var(--theme-muted); margin: 0 0 1rem; }
.z-spec { margin-top: auto; }
.z-spec div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--theme-border); font-size: .8rem; }
.z-spec span:first-child { color: var(--theme-muted); }
.z-spec span:last-child { font-weight: 700; text-align: right; }

.z-details { margin-top: 2rem; border: 1px solid var(--theme-border); border-radius: 16px; background: var(--theme-surface); overflow: hidden; }
.z-details > summary { cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 700; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.z-details > summary::-webkit-details-marker { display: none; }
.z-details > summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--blue); }
.z-details[open] > summary::after { content: '−'; }
.z-table-wrap { overflow-x: auto; border-top: 1px solid var(--theme-border); }
.z-table { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 640px; }
.z-table th, .z-table td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--theme-border); white-space: nowrap; }
.z-table thead th { background: var(--theme-surface-soft); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--theme-muted); }
.z-table tbody th { font-weight: 600; color: var(--theme-muted); }

.z-note { margin-top: 1.2rem; font-size: .84rem; color: var(--theme-muted); line-height: 1.6; }

/* ─── INTERNATIONAL REFERENCES ─── */
.z-refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.z-ref {
  border: 1px solid var(--z-line); border-radius: 18px; padding: 1.6rem;
  background: rgba(255,255,255,.04); display: flex; flex-direction: column;
}
.z-ref small { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--z-blue-l); }
.z-ref h3 { font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif; font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: .7rem 0 .6rem; }
.z-ref p { font-size: .88rem; line-height: 1.6; color: var(--z-dim); margin: 0; }
.z-ref-big { grid-column: span 2; }
.z-ref-big .z-figure { margin-top: 1.2rem; border-radius: 14px; aspect-ratio: 16 / 7; border-color: var(--z-line); }

/* ─── GREEK PROJECTS ─── */
.z-proj-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.z-proj-stat { padding: 1.3rem 1.4rem; border-radius: 14px; background: var(--theme-surface); border: 1px solid var(--theme-border); }
.z-proj-stat b { display: block; font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif; font-size: 1.85rem; font-weight: 800; letter-spacing: -.03em; color: var(--blue); line-height: 1; }
.z-proj-stat span { display: block; margin-top: .45rem; font-size: .82rem; color: var(--theme-muted); line-height: 1.4; }

.z-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.z-project {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 18px; overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1);
}
.z-project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.z-project:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.z-project-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--theme-surface-soft); }
.z-project-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.z-project-body { padding: 1.15rem 1.3rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.z-project-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.z-tag { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; background: var(--blue-bg); color: var(--blue-on-light); }
.z-tag-alt { background: rgba(53,176,106,.14); color: #1d7a45; }
.z-project h3 { font-size: 1.03rem; font-weight: 700; line-height: 1.35; margin: 0 0 .45rem; }
.z-project p { font-size: .86rem; line-height: 1.55; color: var(--theme-muted); margin: 0 0 1rem; }
.z-project-more { margin-top: auto; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); display: inline-flex; gap: .4rem; }
.z-project-more i { font-style: normal; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.z-project:hover .z-project-more i { transform: translateX(4px); }

/* ─── SERVICE / O&M ─── */
.z-om { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2.5rem; align-items: center; }
.z-steps { counter-reset: z 0; display: grid; gap: .9rem; margin-top: 2rem; }
.z-step { counter-increment: z; display: grid; grid-template-columns: 2.3rem 1fr; gap: 1rem; align-items: start; }
.z-step::before {
  content: counter(z, decimal-leading-zero);
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: .82rem; font-weight: 800; color: var(--z-blue-l);
  border: 1px solid var(--z-line); border-radius: 8px; padding: .45rem 0; text-align: center;
}
.z-step h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .25rem; }
.z-step p { font-size: .88rem; line-height: 1.6; color: var(--z-dim); margin: 0; }

/* ─── ΔΕΘ STRIP + CTA ─── */
/* Sits inside the always-navy CTA band, so it carries its own light-on-dark
   colours rather than the theme surface tokens (which would render white on
   white in light theme). */
.z-fair {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.4rem 1.8rem; border-radius: 18px;
  background: rgba(255,255,255,.06); border: 1px solid var(--z-line); color: #fff;
}
.z-fair p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--z-dim); max-width: 62ch; }
.z-fair b { display: block; font-size: 1.05rem; color: #fff; margin-bottom: .2rem; }

.z-cta { background: var(--z-navy); color: #fff; }
.z-cta-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: end; }
.z-cta h2 { font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 1rem; }
.z-cta p { color: var(--z-dim); font-size: 1.02rem; line-height: 1.7; margin: 0; max-width: 52ch; }
.z-contact { display: grid; gap: .55rem; font-size: .95rem; }
.z-contact a { color: #fff; }
.z-contact a:hover { color: var(--z-blue-l); }
.z-contact span { color: var(--z-dim); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .z-products { grid-template-columns: 1fr 1fr; }
  .z-refs, .z-projects { grid-template-columns: 1fr 1fr; }
  .z-ref-big { grid-column: span 2; }
  .z-facts-grid { grid-template-columns: repeat(3, 1fr); }
  .z-fact:nth-child(3) { border-right: 0; }
}
@media (max-width: 860px) {
  .z-sec { padding: 4.5rem 0; }
  .z-head, .z-partner, .z-co, .z-om, .z-cta-box { grid-template-columns: 1fr; }
  .z-tier1 { position: static; }
  .z-head { margin-bottom: 2.5rem; }
  .z-figure { aspect-ratio: 16 / 10; }
  .z-hero { min-height: 0; padding: calc(var(--nav-h) + 3rem) 0 3rem; }
}
@media (max-width: 640px) {
  body[data-page="ztt"] { --z-shell: calc(100% - 2.2rem); }
  .z-products, .z-refs, .z-projects, .z-caps { grid-template-columns: 1fr; }
  .z-ref-big { grid-column: auto; }
  .z-facts-grid { grid-template-columns: 1fr 1fr; }
  .z-fact { border-right: 0; border-bottom: 1px solid var(--z-line); }
  .z-signing div { flex-direction: column; gap: .15rem; }
  .z-signing dt { flex: none; }
  .z-specs > div { grid-template-columns: 1fr; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .z-prod, .z-project, .z-project-more i { transition: none; }
}
