@font-face { font-family: 'Prata'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/th/prata-cyrillic-400.woff2") format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Prata'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/th/prata-latin-400.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: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/th/onest-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: 'Onest'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/th/onest-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; }
/* Оформление «Терракота»: тёплое и ремесленное: песок, глина, арки, засечки Prata. Шрифты: Prata и Onest (лицензия OFL, файлы рядом). Рисунок первого экрана — только CSS. */
body.t-terrakota { --red: #A24823; --bg: #F7EEE1; --ink: #3B2518; --grey: #EDDDC7; --line: #CDB69A; --r: 6px; --card: #FFFBF4; background: var(--bg); color: var(--ink); font-family: Onest, system-ui, sans-serif; font-size: 17px; line-height: 1.62; }
.t-terrakota h1, .t-terrakota h2, .t-terrakota h3 { font-family: Prata, Georgia, serif; font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1.14; color: #3B2518; }
.t-terrakota h1 { font-size: clamp(30px, 7.4vw, 56px); }
.t-terrakota h2 { font-size: clamp(22px, 5vw, 38px); color: #A24823; }
.t-terrakota section.alt > .wrap > h2, .t-terrakota section.alt > .wrap > h1 { color: #A24823; }
.t-terrakota h3 { font-size: 19px; color: var(--ink); }
.t-terrakota .lead { font-size: 19px; }
.t-terrakota .note { opacity: .85; }
.t-terrakota .crumbs a { color: var(--red); font-weight: 700; }
.t-terrakota .arrows li::before { content: "→"; color: var(--red); }

/* шапка */
.t-terrakota .top { background: #F7EEE1; border-bottom: 1px solid #D9C5A9;  }
.t-terrakota .top .wrap { padding-top: 4px; padding-bottom: 4px; }
.t-terrakota .brand { font: 400 18px/1.1 Prata, serif; text-transform: none; letter-spacing: 0; color: #3B2518; white-space: nowrap; }
.t-terrakota .brand b { color: #A24823; }
.t-terrakota .brand .mark { display: inline-block; width: 14px; height: 14px; margin-right: 9px; vertical-align: -1px; background: #A24823; border-radius: 99px 99px 0 0; width: 13px; height: 16px; }
.t-terrakota .tel { color: #A24823; font: 600 16px Onest, sans-serif; }
.t-terrakota .tel small { color: #7B5B47; }
@media (min-width: 760px) { .t-terrakota .brand { font-size: 22px; } }

/* кнопки */
.t-terrakota .btn { background: #A24823; color: #FFFFFF; border: 0; border-radius: 4px; box-shadow: none; font: 600 16px/1 Onest, sans-serif; text-transform: none; letter-spacing: .01em; padding: 17px 28px; transition: transform .12s, box-shadow .12s, background .12s; }
.t-terrakota .btn:hover { background: #8A3B1B;  }
.t-terrakota .btn.ghost { background: transparent; color: #A24823; border: 1.5px solid #A24823; box-shadow: none; padding: 15px 26px; }
.t-terrakota .btn:focus-visible, .t-terrakota input:focus-visible { outline-color: #3B2518; }
.t-terrakota .tags li { border: 1px solid #A24823; border-radius: 99px; background: transparent; color: #8A3B1B; font-size: 14px; }

/* первый экран */
.t-terrakota .hero { padding: 0; background: #F7EEE1; color: #3B2518; position: relative;  }
.t-terrakota .hero-art { height: 150px; margin: 0 auto; max-width: 340px; background:
    radial-gradient(ellipse at 50% 100%, #F7EEE1 0 34%, transparent 35%),
    repeating-radial-gradient(ellipse at 50% 100%, #C9633A 0 10px, #E3A07E 10px 20px, #F0C9A9 20px 30px);
    border-radius: 170px 170px 0 0; }
.t-terrakota .hero .wrap { padding-top: 34px; padding-bottom: 40px; position: relative; }
.t-terrakota .hero h1 { color: #3B2518; }
.t-terrakota .hero .lead, .t-terrakota .hero p, .t-terrakota .hero .arrows li { color: #3B2518; }
.t-terrakota .hero .tags li { color: #8A3B1B; }
.t-terrakota .hero .btn.ghost { color: #A24823; border-color: #A24823; background: transparent; }
.t-terrakota .hero .form, .t-terrakota .hero .form p, .t-terrakota .hero .form .note, .t-terrakota .hero .form label, .t-terrakota .hero .form h2, .t-terrakota .hero .form .callnum { color: var(--ink); }
.t-terrakota .hero .form .agree a, .t-terrakota .hero .form .note a { color: var(--red); }
.t-terrakota .strip li { background: #FFFBF4; border: 1px solid #D9C5A9; border-radius: 4px;  }
.t-terrakota .strip b { color: #A24823; font-family: Prata, Georgia, serif; font-weight: 400; }
.t-terrakota .strip span { color: #3B2518; }
.t-terrakota .hero .strip li, .t-terrakota .hero .strip b, .t-terrakota .hero .strip span { }

/* форма */
.t-terrakota .form { background: #FFFBF4; border: 1px solid #CDB69A; border-radius: 6px; box-shadow: 6px 6px 0 #E3C9A8; color: var(--ink); }
.t-terrakota .form h2 { font-size: 22px; color: #A24823; }
.t-terrakota .form label.f { font: 600 15px Onest, sans-serif; letter-spacing: 0; text-transform: none; }
.t-terrakota .form input[type=text], .t-terrakota .form input[type=tel] { background: #F7EEE1; border: 1.5px solid #B99F82; border-radius: 4px; color: var(--ink); font-family: Onest, system-ui, sans-serif; }
.t-terrakota .form .agree input { accent-color: var(--red); }
.t-terrakota .form .msg.ok { color: #1F6B33; }
.t-terrakota .form .msg.bad { color: #B3261E; }
.t-terrakota .callcard .callnum { font-family: Prata, Georgia, serif; }

/* разделы */
.t-terrakota section { padding: 46px 0; }
.t-terrakota section.alt { background: #EDDDC7;  }
.t-terrakota .card { background: var(--card); border: 1px solid #DCC8AB; border-radius: 6px; box-shadow: none;  }
.t-terrakota section.alt .card { border-color: #DCC8AB; }
.t-terrakota a.card { transition: transform .12s, box-shadow .12s, border-color .12s; }
.t-terrakota a.card:hover { border-color: var(--red); background: #fff; }
.t-terrakota .card h3 { color: #3B2518; }
.t-terrakota a.card .more { color: var(--red); font-weight: 700; }
.t-terrakota .sec-pages .cards { counter-reset: c; }
.t-terrakota .sec-pages .card { counter-increment: c; position: relative; padding-top: 62px; }
.t-terrakota .sec-pages .card::before { content: counter(c, decimal-leading-zero); position: absolute; left: 20px; top: 16px; font: 400 30px Prata, serif; color: #C9633A; }

/* цифры */
.t-terrakota .figs-grid li { background: var(--card); border: 1px solid #DCC8AB; border-radius: 6px; box-shadow: none; }
.t-terrakota .figs-grid b { color: #A24823; font-family: Prata, Georgia, serif; font-weight: 400; letter-spacing: 0; }
.t-terrakota .figs-grid span { color: var(--ink); }

/* шаги */
.t-terrakota .steps li { background: var(--card); border: 1px solid #DCC8AB; border-radius: 6px; box-shadow: none; }
.t-terrakota .steps li::before { background: #A24823; color: #FFFFFF; border-radius: 99px 99px 0 0; font-family: Prata, Georgia, serif; font-weight: 400; width: 30px; height: 36px; line-height: 36px; }
.t-terrakota .steps p:last-child { margin-bottom: 0; }

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

/* подвал, панель звонка, cookie */
.t-terrakota footer { background: #3B2518; color: #EBDCC7;  }
.t-terrakota footer a { color: #F0B591; }
.t-terrakota footer .slogan { font-family: Prata, Georgia, serif; }
.t-terrakota footer .slogan b { color: #F0B591; }
.t-terrakota .call-fixed { background: #F7EEE1; border-top: 1px solid #D9C5A9; }
.t-terrakota .call-fixed .btn { padding: 14px 8px; font-size: 15px; }
.t-terrakota .cookie { background: #3B2518; color: #EBDCC7; border-radius: var(--r); }
.t-terrakota .cookie a { color: #F0B591; }
.t-terrakota .cookie button { background: #F0B591; color: #3B2518; border-radius: 4px; }
.t-terrakota .mk figcaption { color: var(--ink); }

@media (min-width: 760px) {
  .t-terrakota .hero .wrap { padding-top: 54px; padding-bottom: 60px; }
  .t-terrakota .hero-art { height: 200px; max-width: 460px; border-radius: 230px 230px 0 0; }
  .t-terrakota .steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .t-terrakota .call-fixed { display: none; }
}
.t-terrakota .hero .wrap { padding-top: 24px; }
.t-terrakota .hero .grid > div:first-child .tags { margin-top: 6px; }
.t-terrakota .btn::after { content: "  →"; white-space: pre; }
.t-terrakota .form .btn::after, .t-terrakota .callcard .btn::after, .t-terrakota .call-fixed .btn::after, .t-terrakota .tel-btn::after, .t-terrakota .actions .call-hero::after { content: ""; }
