/* si2.biz, website development (14.10.2026): on top of mp.css, own colour. */
:root { --green: #0d9488; --green-dark: #0f766e; --soft: #f0fdfa; --soft-line: #99f6e4; }
.logo span { background: var(--green); }
.bar nav a { color: #99f6e4; }
.hero h1 em { color: var(--green); }
.btn.alt { border-color: #99f6e4; }
.hero-works { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-works img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line);
                  box-shadow: 0 14px 36px rgba(15, 23, 42, .16); display: block; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex;
           flex-direction: column; }
.service h3 { margin: 0 0 8px; font-size: 19px; }
.service p { margin: 0 0 14px; color: #4b5563; font-size: 15px; flex: 1; }
.service .price { font-size: 20px; font-weight: 800; color: var(--green-dark); }
.service.parser { background: #0f172a; color: #e2e8f0; border-color: #0f172a; }
.service.parser p { color: #cbd5e1; }
.service.parser a { color: #5eead4; font-weight: 700; }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer;
        text-align: left; padding: 0; font: inherit; color: inherit; display: block; width: 100%;
        transition: box-shadow .2s, transform .2s; }
.work:hover, .work:focus-visible { box-shadow: 0 14px 36px rgba(15, 23, 42, .14); transform: translateY(-2px); }
.work img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.work div { padding: 12px 16px 16px; }
.work b { display: block; }
.work small { color: var(--muted); font-size: 14px; }
.steps-line { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
              gap: 14px; counter-reset: s; }
.steps-line li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 12px;
                 padding: 16px; font-size: 15px; color: #4b5563; }
.steps-line li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px;
                         border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 10px; }
.steps-line b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 16px; }
/* the viewer of a work */
.viewer { position: fixed; inset: 0; z-index: 100; background: #0f172a; display: flex;
          flex-direction: column; }
.viewer[hidden] { display: none; }
.viewer header { position: static; background: none; display: flex; align-items: center; gap: 16px; padding: 12px 20px;
                 color: #fff; flex-wrap: wrap; }
.viewer header b { font-size: 18px; }
.viewer header small { color: #cbd5e1; }
.viewer header a { color: #5eead4; font-weight: 700; }
.viewer .close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 32px; line-height: 1;
                 cursor: pointer; padding: 4px 10px; }
.viewer .pages { overflow-y: auto; flex: 1; padding: 0 20px 20px; }
.viewer .pages img { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto 16px; border-radius: 8px; }
@media (max-width: 960px) {
    .services, .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .logo span { display: inline; }
    .services, .works, .steps-line { grid-template-columns: 1fr; }
    .hero-works img:nth-child(n+3) { display: none; }
}
