/* KONMAT website — same colours as the program (navy header, blue primary). */
:root {
  --navy: #0F1E3D; --navy-2: #172B52; --blue: #2160D6; --blue-d: #1A4FB3; --blue-p: #E8F0FD;
  --ink: #0F172A; --text: #334155; --muted: #64748B; --line: #E2E8F0; --soft: #F4F7FB; --white: #fff;
  --ok: #15803D; --err: #B91C1C;
  --r: 14px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 30px 60px -20px rgba(4,12,32,.55);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--text);
  background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #93B4F0; outline-offset: 2px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 16px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 16px -6px rgba(33,96,214,.6); }
.btn-primary:hover { background: var(--blue-d); }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn-white { background: var(--white); color: var(--blue-d); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(15,23,42,.06); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .06em; color: var(--navy); }
.brand img { border-radius: 8px; }
.brand.light { color: var(--white); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav > a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav > a:hover { color: var(--blue); }
.langs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; }
.langs a { padding: 4px 9px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.langs a[aria-current] { background: var(--navy); color: var(--white); }
.langs.light { border-color: rgba(255,255,255,.18); }
.langs.light a { color: #A9B8D3; } .langs.light a[aria-current] { background: var(--white); color: var(--navy); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white);
  border-radius: 10px; padding: 0 11px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* hero */
.hero { position: relative; overflow: hidden; color: #C9D6EE;
  background: radial-gradient(900px 500px at 85% 20%, rgba(33,96,214,.45), transparent 60%),
              radial-gradient(700px 400px at 0% 100%, rgba(33,96,214,.18), transparent 60%), var(--navy); }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 84px 0 96px; }
.kicker { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #BFD3F7; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.kicker.dark { color: var(--blue-d); background: var(--blue-p); border-color: transparent; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -.035em; }
.lead { font-size: 18px; max-width: 34em; color: #C9D6EE; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #DCE6F7; }
.badges li { display: inline-flex; align-items: center; gap: 8px; }
.badges svg, .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badges svg { color: #7FA6EE; }
.hero-shot { margin: 0; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
.window { border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.window-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEF2F8; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.window-bar span { margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }

/* sections */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-head p { font-size: 18px; color: var(--muted); }
.ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-p); color: var(--blue); flex: none; }
.ico svg { width: 22px; height: 22px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); transition: box-shadow .2s, transform .2s, border-color .2s; }
.feat:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #CFDBEF; }
.feat .ico { margin-bottom: 18px; }
.feat p { margin: 0; color: var(--muted); }

.show { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.show + .show { margin-top: 96px; }
.show.rev .show-copy { order: 2; }
.show-copy > p { font-size: 17px; }
.show-shot { margin: 0; }
.show-shot .window { border-color: var(--line); box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-p) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232160D6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.who article { padding: 26px; border-radius: var(--r); background: var(--soft); }
.who .ico { background: var(--white); margin-bottom: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.who p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 30px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.steps .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white);
  font-weight: 800; margin-bottom: 16px; }
.steps p { margin: 0; color: var(--muted); }
.note { text-align: center; margin: 28px 0 0; color: var(--muted); font-size: 15px; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .2s; }
.faq details[open] { border-color: #C9D8F2; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.band { background: linear-gradient(120deg, var(--blue-d), var(--blue) 60%, #3B7BEA); color: #E3ECFC; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 56px 0; flex-wrap: wrap; }
.band h2 { color: var(--white); margin-bottom: .25em; font-size: clamp(24px, 3vw, 34px); }
.band p { margin: 0; font-size: 17px; }

.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-info > p { font-size: 17px; color: var(--muted); }
.cinfo { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.cinfo li { display: flex; gap: 14px; align-items: center; }
.cinfo small { display: block; color: var(--muted); font-size: 13px; }
.cinfo a, .cinfo span:not(.ico) { color: var(--ink); font-weight: 600; }
.cform { padding: 32px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); background: var(--white); display: grid; gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cform input, .cform textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 10px;
  background: var(--white); transition: border-color .15s, box-shadow .15s; width: 100%; }
.cform textarea { resize: vertical; min-height: 130px; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(33,96,214,.15); }
.cform .invalid { border-color: var(--err); }
.cform button { justify-self: start; }
.cform button[disabled] { opacity: .7; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fmsg { margin: 0; font-weight: 600; min-height: 1.4em; }
.fmsg.ok { color: var(--ok); } .fmsg.err { color: var(--err); }
.small { margin: 0; font-size: 13px; color: var(--muted); }

.foot { background: var(--navy); color: #A9B8D3; padding: 56px 0 28px; font-size: 15px; }
.foot-in { display: flex; gap: 40px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.foot-in p { margin: 12px 0 0; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: #DCE6F7; }
.foot nav a:hover { color: var(--white); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-shot { transform: none; } .btn:hover, .feat:hover { transform: none; } }

/* responsive */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); } .who { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; padding: 64px 0 72px; } .hero-shot { transform: none; }
  .show, .contact { grid-template-columns: 1fr; gap: 36px; } .show.rev .show-copy { order: 0; }
}
@media (max-width: 900px) {
  .burger { display: block; } .top-cta { display: none; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,23,42,.08); display: none; }
  .nav.open { display: flex; }
  .nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .langs { margin-top: 14px; align-self: flex-start; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; } .features, .who, .steps, .grid2 { grid-template-columns: 1fr; }
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .cform { padding: 22px; } .hero-btns .btn { flex: 1 1 100%; } .band-in { padding: 44px 0; }
}

/* ---------------------------------------------------------------- phones (2026-11-11) */
.zoomable { cursor: zoom-in; position: relative; }
.mbar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4,12,32,.92); display: flex; align-items: flex-start;
  justify-content: flex-start; padding: 64px 0 16px; overflow: auto; -webkit-overflow-scrolling: touch; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: none; width: 1366px; height: auto; border-radius: 8px; margin: auto; padding: 0 16px; box-sizing: content-box; }
.lb-close { position: fixed; top: 10px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
@media (min-width: 1081px) { .lightbox img { width: min(1366px, 94vw); } }
@media (max-width: 640px) {
  /* compact cards: icon left, text right */
  .feat, .who article { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
  .feat .ico, .who .ico { margin: 0; grid-row: span 2; }
  .feat h3, .who h3 { margin: 2px 0 4px; font-size: 17px; }
  .features, .who { gap: 12px; }
  .steps { gap: 12px; } .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 20px; }
  .steps .num { margin: 0; grid-row: span 2; } .steps h3 { margin: 6px 0 4px; }
  .sec-head { margin-bottom: 32px; } .sec-head p { font-size: 16px; }
  .show + .show { margin-top: 64px; }
  .lead { font-size: 17px; }
  /* tap hint on screenshots */
  .zoomable::after { content: attr(data-hint); position: absolute; right: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px;
    background: rgba(15,30,61,.85); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
  /* bigger touch targets */
  .langs a { padding: 9px 14px; font-size: 14px; }
  .foot nav { gap: 0 22px; } .foot nav a { display: inline-block; padding: 10px 0; }
  .cinfo a { display: inline-block; padding: 6px 0; }
  .cform button { justify-self: stretch; }
  .faq summary { padding: 18px 50px 18px 18px; } .faq details p { padding: 0 18px 18px; }
  /* sticky action bar */
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease; }
  .mbar.show { transform: none; }
  .mbar .btn-primary { flex: 1; min-height: 48px; }
  .mbar-mail { width: 52px; min-height: 48px; padding: 0; border-color: var(--line); color: var(--blue); background: var(--white); }
  .mbar-mail svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  body { padding-bottom: 0; } .foot { padding-bottom: 96px; }
}
