@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Geologica-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Geologica-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Geologica-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Geologica-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Geologica-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Geologica-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Geologica-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Geologica-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/GolosText-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/GolosText-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/GolosText-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/GolosText-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/GolosText-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/GolosText-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/IBMPlexMono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fbfcfa;
  --ink: #142a1f;
  --ink-2: #4d5e55;
  --line: #d9e0db;
  --green: #2e7d32;
  --green-2: #e8f1e6;
  --amber: #f0a500;
  --display: Geologica, "Segoe UI", Arial, sans-serif;
  --body: "Golos Text", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.proto { background: var(--ink); color: #cfe0d4; font: 500 12px/1 var(--mono); letter-spacing: .04em; }
.proto .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; }
.proto a { color: #fff; }

/* header */
header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
header .wrap { display: flex; align-items: center; gap: 28px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand b { font: 700 17px/1.1 var(--display); letter-spacing: .02em; }
.brand small { display: block; font: 400 12px/1.2 var(--body); color: var(--ink-2); letter-spacing: 0; }
nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
nav a { text-decoration: none; color: var(--ink-2); }
nav a:hover { color: var(--ink); }
.head-phone { font: 500 15px/1 var(--mono); text-decoration: none; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 4px;
  font: 600 15px/1 var(--display); text-decoration: none; border: 1.5px solid var(--ink); }
.btn-wa { background: var(--green); border-color: var(--green); color: #fff; }
.btn-wa:hover { background: #256a29; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px); align-items: start; }
.since { font: 500 13px/1 var(--mono); color: var(--green); letter-spacing: .06em; text-transform: uppercase; }
h1 { font: 700 clamp(32px, 4.5vw, 54px)/1.05 var(--display); letter-spacing: -.02em; margin: 0 0 22px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--green); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 34em; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { border-top: 1px solid var(--line); }
section > .wrap { padding-block: clamp(48px, 7vw, 88px); }
.sec-head { display: grid; grid-template-columns: 280px 1fr; gap: 32px; margin-bottom: 36px; }
.sec-head h2 { font: 700 clamp(26px, 3vw, 36px)/1.1 var(--display); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.sec-head p { margin: 4px 0 0; color: var(--ink-2); max-width: 36em; }

/* services as a spec list */
.services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin-left: 312px; }
.svc { padding: 20px 0; border-top: 1px solid var(--line); }
.svc h3 { font: 600 19px/1.3 var(--display); margin: 0 0 6px; }
.svc p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 22px 20px 0 0; border-top: 3px solid var(--ink); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: -15px; left: 0; width: 27px; height: 27px; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 50%; font: 600 13px/23px var(--mono); text-align: center; }
.steps li:first-child { border-top-color: var(--green); }
.steps li:first-child::before { border-color: var(--green); color: var(--green); }
.steps b { display: block; font: 600 18px/1.25 var(--display); margin: 8px 0 6px; }
.steps span { color: var(--ink-2); font-size: 15px; display: block; }

/* calendar */
.cal-scroll { overflow-x: auto; }
.cal { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.cal th, .cal td { border-bottom: 1px solid var(--line); padding: 0; height: 46px; }
.cal thead th { font: 500 12px/1 var(--mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; text-align: left; padding: 0 0 10px; height: auto; }
.cal thead th.m { text-align: center; }
.cal tbody th { text-align: left; font-weight: 500; padding-right: 16px; width: 240px; }
.cal td { width: calc((100% - 240px) / 12); position: relative; }
.cal td.on::after { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 14px; background: var(--green); }
.cal td.on.soft::after { background: #9cc79a; }
.cal td.start::after { left: 3px; border-radius: 7px 0 0 7px; }
.cal td.end::after { right: 3px; border-radius: 0 7px 7px 0; }
.cal td.now { background: linear-gradient(90deg, transparent calc(50% - 1px), var(--amber) calc(50% - 1px), var(--amber) calc(50% + 1px), transparent calc(50% + 1px)); }
.cal-note { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.cal-note i { display: inline-block; width: 22px; height: 10px; border-radius: 5px; margin-right: 8px; vertical-align: 1px; }

/* formats */
.formats { display: grid; grid-template-columns: repeat(5, 1fr); border: 1.5px solid var(--ink); }
.fmt { padding: 22px 20px 24px; border-right: 1px solid var(--line); background: #fff; }
.fmt:last-child { border-right: 0; }
.fmt h3 { font: 600 17px/1.25 var(--display); margin: 0 0 10px; }
.fmt p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fact b { display: block; font: 700 clamp(40px, 5vw, 56px)/1 var(--display); letter-spacing: -.02em; margin-bottom: 10px; }
.fact b.word { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; padding-top: clamp(10px, 2vw, 22px); }
.facts { align-items: start; }
.fact p { margin: 0; color: var(--ink-2); max-width: 22em; }

/* contact */
.contact { background: var(--ink); color: #e7efe9; border-top: 0; }
.contact .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.contact h2 { font: 700 clamp(28px, 3.6vw, 44px)/1.08 var(--display); margin: 0 0 16px; color: #fff; text-wrap: balance; }
.contact p { margin: 0 0 26px; color: #b7c8bc; max-width: 30em; }
.contact .btn-line { border-color: #fff; color: #fff; }
.contact .btn-line:hover { background: #fff; color: var(--ink); }

.reach { display: grid; gap: 26px; }
.reach-list { margin: 0; display: grid; }
.reach-list div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid #2c4636; }
.reach-list div:last-child { border-bottom: 1px solid #2c4636; }
.reach-list dt { font-size: 14px; color: #8fa998; }
.reach-list dd { margin: 0; font: 600 18px/1.35 var(--display); color: #fff; }
.reach-list a { text-decoration: none; }
.reach-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.reach-social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.reach-social > span { font-size: 14px; color: #8fa998; }
.socials { display: flex; gap: 10px; }
.soc-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border: 1.5px solid #3d5c49; border-radius: 22px;
  color: #fff; font: 600 15px/1 var(--display); text-decoration: none; }
.soc-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.soc-btn[href]:hover { border-color: #fff; }
.soc-btn:not([href]) { opacity: .55; }   /* the link is not given yet */
@media (max-width: 640px) {
  .reach-list div { grid-template-columns: 1fr; gap: 2px; }
}
/* phone bar */
.callbar { display: none; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 10px; }
  .services { margin-left: 0; }
  .formats { grid-template-columns: 1fr 1fr; }
  .fmt { border-bottom: 1px solid var(--line); }
  .contact .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  header .wrap { gap: 12px; }
  .head-phone { margin-left: auto; font-size: 14px; }
  .brand b { font-size: 15px; white-space: nowrap; }
  .brand small { display: none; }
  .brand img { width: 38px; }
  .hero .actions .btn { flex: 1 1 100%; }
  header .btn { display: none; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { border-top: 0; border-left: 3px solid var(--ink); padding: 0 0 22px 26px; }
  .steps li:first-child { border-left-color: var(--green); }
  .steps li::before { top: 0; left: -15px; }
  .steps b { margin-top: 2px; }
  .formats { grid-template-columns: 1fr; }
  .fmt { border-right: 0; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; background: var(--paper); border-top: 1px solid var(--line); }
  .callbar .btn { padding: 13px 10px; }
}
@media (max-width: 400px) { .head-phone { display: none; } }  /* the call button is in the bottom bar */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero { position: relative; overflow: hidden; }
.hero .wrap { grid-template-columns: 1.1fr .9fr; min-height: 560px; }
.hero-art { position: relative; align-self: stretch; margin-right: calc(-1 * var(--gutter)); }
.hero-art canvas { position: absolute; inset: -20px -40px 0 0; width: calc(100% + 40px); height: calc(100% + 20px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.hero-facts b { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .hero .wrap { min-height: 0; grid-template-columns: 1fr; } .hero-art { height: 300px; margin: 8px calc(-1 * var(--gutter)) 0; } .hero-art canvas { inset: 0; width: 100%; height: 100%; } }

/* language switch: Рус / Қаз */
.lang { font: 500 13px/1 var(--mono); text-decoration: none; color: var(--ink-2); border: 1.5px solid var(--line); border-radius: 4px; padding: 10px 11px; }
.lang:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 400px) { .lang { margin-left: auto; } }
nav a, .brand small { white-space: nowrap; }
/* Kazakh words are longer: a smaller headline, and a long word may break instead of pushing the page wider */
html[lang="kk"] h1 { font-size: clamp(26px, 3.6vw, 46px); overflow-wrap: break-word; }
.hero .wrap > * { min-width: 0; }
@media (max-width: 400px) { html[lang="kk"] h1 { font-size: 27px; } }
