@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/th/rubik-cyrillic-400_800.woff2") format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/th/rubik-latin-400_800.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: 'Source Sans 3'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/th/sourcesans-cyrillic-400_700.woff2") format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/th/sourcesans-latin-400_700.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; }
/* Оформление «Гранит»: строгое: графит, янтарь, прямые углы, жирный рубленый шрифт. Шрифты: Rubik и Source Sans 3 (лицензия OFL, файлы рядом). Рисунок первого экрана — только CSS. */
body.t-granit { --red: #9A4A00; --bg: #F2F2EF; --ink: #1E2227; --grey: #E4E4DF; --line: #B9B9B2; --r: 3px; --card: #FFFFFF; background: var(--bg); color: var(--ink); font-family: "Source Sans 3", system-ui, sans-serif; font-size: 18px; line-height: 1.55; }
.t-granit h1, .t-granit h2, .t-granit h3 { font-family: Rubik, "Source Sans 3", system-ui, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .015em; line-height: 1.08; color: #1E2227; }
.t-granit h1 { font-size: clamp(28px, 6.6vw, 50px); }
.t-granit h2 { font-size: clamp(22px, 5vw, 32px); color: #1E2227; }
.t-granit section.alt > .wrap > h2, .t-granit section.alt > .wrap > h1 { color: #1E2227; }
.t-granit h3 { font-size: 17px; color: var(--ink); }
.t-granit .lead { font-size: 20px; font-weight: 500; }
.t-granit .note { opacity: .85; }
.t-granit .crumbs a { color: var(--red); font-weight: 700; }
.t-granit .arrows li::before { content: "■"; color: var(--red); }

/* шапка */
.t-granit .top { background: #1E2227; border-bottom: 4px solid #F5A524;  }
.t-granit .top .wrap { padding-top: 4px; padding-bottom: 4px; }
.t-granit .brand { font: 700 15px/1.1 Rubik, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: #FFFFFF; white-space: nowrap; }
.t-granit .brand b { color: #F5A524; }
.t-granit .brand .mark { display: inline-block; width: 14px; height: 14px; margin-right: 9px; vertical-align: -1px; background: #F5A524; border-radius: 0; }
.t-granit .tel { color: #F5A524; font: 700 16px Rubik, sans-serif; }
.t-granit .tel small { color: #C9CED6; }
@media (min-width: 760px) { .t-granit .brand { font-size: 18px; } }

/* кнопки */
.t-granit .btn { background: #F5A524; color: #1E2227; border: 0; border-radius: 2px; box-shadow: 4px 4px 0 #1E2227; font: 700 16px/1 Rubik, sans-serif; text-transform: uppercase; letter-spacing: .06em; padding: 17px 26px; transition: transform .12s, box-shadow .12s, background .12s; }
.t-granit .btn:hover { background: #FFB93D; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #1E2227; }
.t-granit .btn.ghost { background: transparent; color: #1E2227; border: 2px solid #1E2227; box-shadow: none; padding: 15px 24px; }
.t-granit .btn:focus-visible, .t-granit input:focus-visible { outline-color: #F5A524; }
.t-granit .tags li { border: 0; border-radius: 2px; background: #F5A524; color: #1E2227; font-size: 14px; }

/* первый экран */
.t-granit .hero { padding: 0; background: #252A31; color: #F1F2F4; position: relative;  }
.t-granit .hero-art { height: 14px; background: repeating-linear-gradient(135deg, #F5A524 0 16px, #1E2227 16px 32px); }
.t-granit .hero .wrap { padding-top: 34px; padding-bottom: 40px; position: relative; }
.t-granit .hero h1 { color: #FFFFFF; }
.t-granit .hero .lead, .t-granit .hero p, .t-granit .hero .arrows li { color: #F1F2F4; }
.t-granit .hero .tags li { color: #1E2227; }
.t-granit .hero .btn.ghost { color: #FFFFFF; border-color: #FFFFFF; background: transparent; }
.t-granit .hero .form, .t-granit .hero .form p, .t-granit .hero .form .note, .t-granit .hero .form label, .t-granit .hero .form h2, .t-granit .hero .form .callnum { color: var(--ink); }
.t-granit .hero .form .agree a, .t-granit .hero .form .note a { color: var(--red); }
.t-granit .strip li { background: rgba(255,255,255,.07); border: 0; border-radius: 2px; border-left: 4px solid #F5A524; }
.t-granit .strip b { color: #F5A524; font-family: Rubik, "Source Sans 3", system-ui, sans-serif; font-weight: 700; }
.t-granit .strip span { color: #E3E6EA; }
.t-granit .hero .strip li, .t-granit .hero .strip b, .t-granit .hero .strip span { }

/* форма */
.t-granit .form { background: #FFFFFF; border: 0; border-radius: 3px; box-shadow: 8px 8px 0 #F5A524; color: var(--ink); }
.t-granit .form h2 { font-size: 22px; color: #1E2227; }
.t-granit .form label.f { font: 700 14px Rubik, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.t-granit .form input[type=text], .t-granit .form input[type=tel] { background: #F2F2EF; border: 2px solid #1E2227; border-radius: 2px; color: var(--ink); font-family: "Source Sans 3", system-ui, sans-serif; }
.t-granit .form .agree input { accent-color: var(--red); }
.t-granit .form .msg.ok { color: #1B6B2E; }
.t-granit .form .msg.bad { color: #B3261E; }
.t-granit .callcard .callnum { font-family: Rubik, "Source Sans 3", system-ui, sans-serif; }

/* разделы */
.t-granit section { padding: 42px 0; }
.t-granit section.alt { background: #E4E4DF; border-top: 1px solid #C9C9C2; border-bottom: 1px solid #C9C9C2; }
.t-granit .card { background: var(--card); border: 1px solid #D0D0C9; border-radius: 3px; box-shadow: none; border-left: 6px solid #F5A524; }
.t-granit section.alt .card { border-color: #D0D0C9; }
.t-granit a.card { transition: transform .12s, box-shadow .12s, border-color .12s; }
.t-granit a.card:hover { border-color: var(--red); box-shadow: 4px 4px 0 #1E2227; }
.t-granit .card h3 { color: #1E2227; }
.t-granit a.card .more { color: var(--red); font-weight: 700; }
.t-granit .sec-pages .cards { counter-reset: c; }
.t-granit .sec-pages .card { counter-increment: c; position: relative; padding-top: 62px; }
.t-granit .sec-pages .card::before { content: counter(c, decimal-leading-zero); position: absolute; left: 20px; top: 16px; font: 700 22px Rubik, sans-serif; color: #9A4A00; }

/* цифры */
.t-granit .figs-grid li { background: var(--card); border: 1px solid #D0D0C9; border-radius: 3px; box-shadow: none; }
.t-granit .figs-grid b { color: #9A4A00; font-family: Rubik, "Source Sans 3", system-ui, sans-serif; font-weight: 700; letter-spacing: .015em; }
.t-granit .figs-grid span { color: var(--ink); }

/* шаги */
.t-granit .steps li { background: var(--card); border: 1px solid #D0D0C9; border-radius: 3px; box-shadow: none; }
.t-granit .steps li::before { background: #F5A524; color: #1E2227; border-radius: 2px; font-family: Rubik, "Source Sans 3", system-ui, sans-serif; font-weight: 700;  }
.t-granit .steps p:last-child { margin-bottom: 0; }

/* вопросы */
.t-granit details { background: var(--card); border: 1px solid #D0D0C9; border-radius: 3px; box-shadow: none; }
.t-granit summary { list-style: none; display: flex; justify-content: space-between; gap: 14px; font-weight: 700; }
.t-granit summary::-webkit-details-marker { display: none; }
.t-granit summary::after { content: "+"; flex: none; color: var(--red); font-size: 22px; line-height: 1; }
.t-granit details[open] summary::after { content: "–"; }

/* подвал, панель звонка, cookie */
.t-granit footer { background: #1E2227; color: #D9DDE3; border-top: 6px solid #F5A524; }
.t-granit footer a { color: #F5A524; }
.t-granit footer .slogan { font-family: Rubik, "Source Sans 3", system-ui, sans-serif; }
.t-granit footer .slogan b { color: #F5A524; }
.t-granit .call-fixed { background: #1E2227; border-top: 3px solid #F5A524; }
.t-granit .call-fixed .btn { padding: 14px 8px; font-size: 15px; }
.t-granit .cookie { background: #1E2227; color: #D9DDE3; border-radius: var(--r); }
.t-granit .cookie a { color: #F5A524; }
.t-granit .cookie button { background: #F5A524; color: #1E2227; border-radius: 2px; }
.t-granit .mk figcaption { color: var(--ink); }

@media (min-width: 760px) {
  .t-granit .hero .wrap { padding-top: 54px; padding-bottom: 60px; }
  .t-granit .hero-art { height: 18px; }
  .t-granit .steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .t-granit .call-fixed { display: none; }
}
.t-granit .call-fixed .btn.ghost { color: #fff; border-color: #fff; }
.t-granit .tel-btn { }
.t-granit .hero .tags li { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
