/* KORRATECH Development — θέμα
   Layout: one column on the brand's ink ground; sections are open bands separated by hairlines,
   cards only where items are compared (services, projects, contact). */
:root {
  --bg: #121823;          /* KORRATECH Ink */
  --bg-alt: #151d2a;
  --panel: #182131;
  --panel-2: #1d2839;
  --line: #2a364b;
  --fg: #e9eef7;
  --muted: #94a2ba;
  --dim: #3b4a63;
  --blue: #266fff;        /* Electric Blue */
  --cyan: #00e0f2;        /* Cyan */
  --link: #6fa3ff;
  --ok: #3fd68b;
  --err: #ff7a6b;
  --on-accent: #ffffff;
  --grad: linear-gradient(100deg, var(--blue), var(--cyan));
  --f-display: "Commissioner", "Noto Sans", system-ui, sans-serif;
  --f-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --f-mark: "Outfit", "Commissioner", sans-serif;
  --r: 14px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f6fb; --bg-alt: #eaf0f8; --panel: #ffffff; --panel-2: #eef3fb; --line: #d7dfeb;
    --fg: #121823; --muted: #56637a; --dim: #b9c4d6; --blue: #1f5fe6; --cyan: #0095a8; --link: #1f5fe6;
    --ok: #13804a; --err: #c0392b;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 780px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font: 500 0.78rem/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 36em; }

/* ---------- header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.mark { width: 36px; height: 36px; flex: none; border-radius: 10px; }
.brand-name { font: 700 1.12rem/1 var(--f-mark); letter-spacing: 0.04em; }
.brand-sub { display: block; font: 500 0.64rem/1 var(--f-mono); letter-spacing: 0.24em; color: var(--muted); margin-top: 5px; }
.brand-sub.inline { display: inline; margin: 0 0 0 6px; }
.nav { display: flex; align-items: center; gap: 4px 6px; }
.nav a.nl { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.96rem; padding: 8px 12px; border-radius: 8px; }
.nav a.nl:hover { color: var(--fg); background: var(--panel); }
.nav a.nl.on { color: var(--fg); }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; margin-left: 10px; }
.langs a { font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.06em; color: var(--muted); text-decoration: none; border-radius: 999px; padding: 7px 10px; }
.langs a:hover { color: var(--fg); }
.langs a[aria-current] { background: var(--fg); color: var(--bg); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: none; border-radius: 10px; cursor: pointer; position: relative; color: var(--fg); }
.menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; content: ""; transition: transform .2s, top .2s;
}
.menu-btn span:first-child { top: 21px; }
.menu-btn span:first-child::before { left: 0; right: 0; top: -6px; }
.menu-btn span:first-child::after { left: 0; right: 0; top: 6px; }
.menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
         background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
  .nav.open { display: flex; }
  .nav a.nl { padding: 12px; font-size: 1.05rem; }
  .langs { margin: 10px 0 0; align-self: flex-start; }
}

/* ---------- bands */
.blk { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.blk.alt { background: var(--bg-alt); }
main > .blk:first-child { border-top: 0; }
.sec-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 46em; }
.sec-head.tight { margin-bottom: 24px; }
.sec-head h2 { font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; }
.sec-intro { color: var(--muted); font-size: 1.05rem; }
.more { margin-top: 28px; }
.more a { font-weight: 600; text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* ---------- buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  font: 600 1rem/1 var(--f-body); padding: 15px 22px; border-radius: 10px; border: 1px solid transparent; transition: transform .1s, filter .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--blue); color: var(--on-accent); }
.btn-main:hover { filter: brightness(1.1); }
.btn-ghost { color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }

/* ---------- hero */
.blk-hero { position: relative; overflow: hidden; padding-block: clamp(52px, 9vw, 104px) clamp(44px, 7vw, 84px); }
.blk-hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; max-width: 100%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 22%, transparent), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
.hero-grid.solo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero-txt { min-width: 0; }
.tri { display: grid; gap: 2px; margin: 18px 0 26px; }
.tri-l { display: flex; align-items: baseline; gap: 14px; text-decoration: none; min-width: 0; }
.tri .code { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.1em; color: var(--dim); width: 2.2em; flex: none; transform: translateY(-0.35em); }
.tri .line { font: 800 clamp(2rem, 5vw, 3.5rem)/1.06 var(--f-display); letter-spacing: -0.025em; color: transparent;
  -webkit-text-stroke: 1.2px var(--dim); transition: -webkit-text-stroke-color .25s; overflow-wrap: anywhere; }
.tri-l:hover .line { -webkit-text-stroke-color: var(--muted); }
.tri-l.on .line { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; }
.tri-l.on .code { color: var(--cyan); }
.h-single { font: 800 clamp(2.2rem, 5.4vw, 3.8rem)/1.06 var(--f-display); letter-spacing: -0.025em; margin: 14px 0 22px; }
.hero-img img { border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.term { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); display: block; }
.term-bar span { margin-left: 8px; font: 400 0.75rem/1 var(--f-mono); color: var(--muted); }
.term pre { margin: 0; padding: 18px 18px 20px; font: 400 0.86rem/1.85 var(--f-mono); color: var(--fg); overflow-x: auto; }
.term .p { color: var(--cyan); }
.term .ok { color: var(--ok); }
.term .k { color: var(--muted); }
.term .go { color: var(--link); }
.cursor { display: inline-block; width: 0.55em; height: 1.05em; background: var(--cyan); vertical-align: -0.18em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* page header (inner pages) */
.blk-page_header { padding-block: clamp(48px, 8vw, 88px) clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.blk-page_header::before { content: ""; position: absolute; inset: -60% -20% auto auto; width: 60%; aspect-ratio: 1; max-width: 100%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 70%); pointer-events: none; }
.blk-page_header .wrap { position: relative; display: grid; gap: 14px; }
.blk-page_header h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.025em; }

/* ---------- grids & cards */
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }

.svc { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.svc h3 { font-weight: 700; font-size: 1.2rem; }
.svc p { color: var(--muted); flex: 1; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.price small { font: 400 0.78rem/1 var(--f-mono); color: var(--muted); letter-spacing: 0.04em; }
.price b { font: 700 1.5rem/1 var(--f-display); }
.price b.txt { font-size: 1.05rem; color: var(--cyan); }
.note { margin-top: 20px; color: var(--muted); font-size: 0.92rem; }

.work { overflow: hidden; display: flex; flex-direction: column; }
.w-top { padding: 16px 24px; background: var(--panel-2); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.w-dom { font: 500 0.85rem/1.3 var(--f-mono); color: var(--fg); overflow-wrap: anywhere; }
.pill { font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); border: 1px solid color-mix(in srgb, var(--cyan) 45%, transparent); border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
.w-img { border-bottom: 1px solid var(--line); background: var(--panel-2); }
.w-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.w-body { padding: 20px 24px 24px; display: grid; gap: 10px; align-content: start; flex: 1; }
.w-body h3 { font-size: 1.25rem; font-weight: 700; }
.w-body p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { font: 400 0.75rem/1 var(--f-mono); color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); padding: 5px 8px; border-radius: 6px; }
.w-link { font-weight: 600; text-decoration: none; justify-self: start; }
.w-link:hover { text-decoration: underline; }

/* steps — real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps, .steps.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps, .steps.n3, .steps.n2 { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 0.8rem/1 var(--f-mono); color: var(--cyan); }
.steps h3 { font-size: 1.12rem; font-weight: 700; }
.steps p { color: var(--muted); }

/* features */
.feat { display: grid; gap: 8px; align-content: start; padding: 4px 0; }
.feat-mark { justify-self: start; font: 500 0.8rem/1 var(--f-mono); color: var(--cyan); border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; }
.feat h3 { font-size: 1.12rem; font-weight: 700; }
.feat p { color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin: 0; }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; border-left: 2px solid var(--line); padding-left: 16px; }
.stats dd { margin: 0; font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats dt { color: var(--muted); }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split.img-left .split-img { order: -1; }
.split-txt { display: grid; gap: 12px; min-width: 0; }
.split-txt h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.split-img img { border-radius: var(--r); border: 1px solid var(--line); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.img-left .split-img { order: 0; } }

/* prose */
.prose { color: var(--fg); }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; margin-bottom: 4px; }
.prose h3 { font-size: 1.2rem; margin-top: 26px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--fg); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 0; }
.prose li + li { margin-top: 6px; }
.prose code { font-family: var(--f-mono); font-size: 0.9em; background: var(--panel-2); padding: 2px 6px; border-radius: 5px; }
.prose.center { text-align: center; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { font: 500 0.92rem/1 var(--f-mono); padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }

/* gallery / image */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.gallery figure, figure.single { margin: 0; }
.gallery img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 8px; text-align: center; }
.img-small figure { max-width: 480px; margin-inline: auto; }
.img-normal figure { max-width: 860px; margin-inline: auto; }
figure.single img { border-radius: var(--r); border: 1px solid var(--line); margin-inline: auto; }
.lbx { position: fixed; inset: 0; background: rgba(8, 12, 22, .92); display: grid; place-items: center; z-index: 100; padding: 24px; cursor: zoom-out; }
.lbx img { max-width: min(1400px, 100%); max-height: 88vh; border-radius: 8px; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .prose { padding-bottom: 18px; }

/* cta */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 48px); border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--blue) 20%, transparent), transparent 70%), var(--panel); }
.cta > div { display: grid; gap: 8px; max-width: 40em; min-width: 0; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.15; }
.cta p { color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 20px; min-width: 0; }
.contact-info .sec-head { margin-bottom: 0; }
.spoken { display: flex; flex-wrap: wrap; gap: 8px; }
.spoken span { font: 500 0.85rem/1 var(--f-body); padding: 8px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.c-list { display: grid; gap: 10px; }
.c-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.c-row > div { flex: 1; min-width: 0; }
.c-row small { display: block; font: 500 0.72rem/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.c-row .v { font-weight: 600; font-size: 1.05rem; color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.copy { font: 500 0.78rem/1 var(--f-body); color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; white-space: nowrap; }
.copy:hover { color: var(--fg); border-color: var(--muted); }
.hours { font-size: 0.95rem; }
.cform { padding: clamp(20px, 3vw, 28px); display: grid; gap: 16px; }
.frow { display: grid; gap: 6px; min-width: 0; }
.frow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .frow2 { grid-template-columns: 1fr; } }
.cform label, .flabel { font-weight: 600; font-size: 0.88rem; color: var(--fg); }
.cform input:not([type=radio]), .cform textarea {
  width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.cform textarea { resize: vertical; min-height: 130px; }
.cform input:focus, .cform textarea:focus { outline: 2px solid color-mix(in srgb, var(--cyan) 50%, transparent); border-color: var(--cyan); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; cursor: pointer; }
.topic input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.topic span { display: inline-block; font-weight: 500; font-size: 0.9rem; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.topic input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.topic input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cform .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fmsg { padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.fmsg.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.fmsg.err { color: var(--err); background: color-mix(in srgb, var(--err) 10%, transparent); border: 1px solid color-mix(in srgb, var(--err) 40%, transparent); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-alt); color: var(--muted); font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 32px; padding-block: 48px 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
.foot-brand { display: grid; gap: 10px; max-width: 30em; }
.foot-brand .brand-name { color: var(--fg); }
.foot-nav { display: grid; gap: 8px; align-content: start; }
.foot-contact { display: grid; gap: 6px; align-content: start; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--fg); text-decoration: underline; }
.social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid var(--line); font-size: 0.85rem; }

/* admin bar */
.adminbar { background: #000; color: #fff; font-size: 13px; display: flex; gap: 14px; padding: 6px 16px; align-items: center; }
.adminbar a { color: #fff; text-decoration: none; }
.adminbar .draft { background: #b45309; padding: 1px 8px; border-radius: 4px; }
