

/* Start:/local/templates/fc/template_styles.css?179030922422361*/
/* freshcoding.ru — новый сайт, этап 2 (статика). Один файл стилей.
   Концепция «страница-смета»: цена — главный элемент, линии только у строк сметы,
   один акцент — зелёный из логотипа. Mobile-first. */

/* ---------- Шрифт: Golos Text (OFL), variable 400–900, self-hosted ---------- */
@font-face {
	font-family: "Golos Text";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("/local/templates/fc/fonts/golos-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 900;
	font-display: swap;
	src: url("/local/templates/fc/fonts/golos-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2212, U+FEFF, U+FFFD;
}
/* Запасной шрифт подогнан по ширине под Golos, чтобы не было сдвига (CLS) при подмене */
@font-face {
	font-family: "Golos Fallback";
	src: local("Arial"), local("Helvetica Neue"), local("Roboto");
	size-adjust: 104%;
	ascent-override: 92%;
	descent-override: 24%;
}

/* ---------- Токены ---------- */
:root {
	--paper: #FFFFFF;
	--paper-2: #F3F6F4;
	--ink: #3C3C3B;
	--ink-2: #6B6F6C;
	--line: #D6DDD8;
	--fresh: #2FAC66;          /* акцент: линии, фокус, наведение — НЕ фон под белым текстом */
	--fresh-ink: #1E7A47;      /* фон кнопок и смысловые иконки: белое на нём даёт 5.34:1 */
	--fresh-deep: #17603A;     /* кнопка под курсором, 7.58:1 */
	--line-strong: #7E8A82;    /* границы полей ввода: 3.30:1 на --paper-2, требование WCAG 1.4.11 */
	--no: #B8433A;

	--font: "Golos Text", "Golos Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fs-s: 0.875rem;   /* 14 */
	--fs-m: 1rem;       /* 16, на ≥768 — 18 */
	--fs-l: 1.375rem;   /* 22 */
	--fs-xl: 1.75rem;   /* 28 */
	--fs-xxl: 2.25rem;  /* 36 */
	--fs-h1: clamp(2rem, 5vw, 3rem);

	--container: 1120px;
	--gutter: 16px;
	--radius: 6px;
	--focus: 2px solid var(--fresh-ink);

	color-scheme: light;
}
@media (min-width: 768px) {
	:root { --gutter: 32px; --fs-m: 1.125rem; }
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-m);
	line-height: 1.5;
	color: var(--ink);
	background: var(--paper);
	overflow-wrap: break-word;
}
h1, h2, h3 { line-height: 1.15; font-weight: 600; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); max-width: 20ch; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-l); }
p, ul, ol { margin: 0 0 1em; }
p, li { max-width: 65ch; }
a { color: var(--fresh-ink); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; height: auto; }
small, .muted { color: var(--ink-2); font-size: var(--fs-s); }
.price { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.visually-hidden {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(40px, 7vw, 80px); }
.section--tint { background: var(--paper-2); }
.section > .container > h2:first-child { margin-bottom: clamp(20px, 3vw, 32px); }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px;
	font: inherit; font-weight: 600; line-height: 1.2;
	color: #fff; background: var(--fresh-ink);
	border: 1px solid var(--fresh-ink); border-radius: var(--radius);
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover, .btn:focus-visible { color: #fff; background: var(--fresh-deep); border-color: var(--fresh-deep); }
.btn--quiet { color: var(--fresh-ink); background: transparent; border-color: var(--line-strong); }
.btn--quiet:hover, .btn--quiet:focus-visible { color: var(--fresh-ink); background: var(--paper-2); border-color: var(--fresh-ink); }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; }
.logo img { width: 123px; height: 40px; }
.nav-toggle {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
	font: inherit; font-weight: 500; color: var(--ink);
	background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 28px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; padding-block: 10px; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fresh-ink); text-decoration: underline; text-underline-offset: 0.3em; }
/* Хлебные крошки: под шапкой, отрицательный отступ снизу съедает часть padding секции, чтобы h1 не уезжал */
.crumbs { font-size: var(--fs-s); color: var(--ink-2); padding-top: 14px; margin-bottom: calc(-1 * clamp(16px, 3vw, 40px)); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li { max-width: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--line); }
.crumbs a:hover { color: var(--fresh-ink); text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--ink); }
/* Меню без JS остаётся раскрытым, а кнопка «Меню» прячется: класс js вешает инлайн-скрипт
   в <head>, поэтому схлопывание происходит до первой отрисовки, без мигания. */
.nav-toggle { display: none; }
@media (max-width: 767px) {
	.site-nav { width: 100%; padding-bottom: 12px; }
	.js .site-nav { display: none; }
	.js .site-nav.is-open { display: block; }
	.js .nav-toggle { display: inline-flex; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav a { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
	.site-header .container { flex-wrap: wrap; }
}

/* ---------- Герой: заголовок и смета ---------- */
.hero { padding-block: clamp(32px, 6vw, 72px) 0; }
.hero .lead { font-size: var(--fs-m); max-width: 50ch; color: var(--ink-2); margin-bottom: clamp(28px, 5vw, 56px); }
@media (min-width: 768px) { .hero .lead { font-size: var(--fs-l); } }

.smeta { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.smeta__row { container-type: inline-size; border-bottom: 1px solid var(--line); max-width: none; }
.smeta__inner {
	display: grid; gap: 4px 24px; padding-block: 22px;
	grid-template-columns: 1fr;
	grid-template-areas: "name" "term" "price" "desc" "cta";
}
.smeta__name { grid-area: name; font-size: var(--fs-l); margin: 0; }
.smeta__name a { color: inherit; text-decoration: none; }
.smeta__name a:hover { color: var(--fresh-ink); text-decoration: underline; }
.smeta__term { grid-area: term; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.smeta__price { grid-area: price; font-size: var(--fs-l); white-space: nowrap; }
.smeta__price .price { font-size: var(--fs-xl); }
.smeta__desc { grid-area: desc; margin: 4px 0 0; color: var(--ink-2); font-size: var(--fs-s); }
.smeta__cta { grid-area: cta; margin-top: 12px; }
@container (min-width: 640px) {
	.smeta__inner {
		grid-template-columns: minmax(0, 1fr) 160px 250px;
		grid-template-areas:
			"name term price"
			"desc desc cta";
		align-items: start;
		padding-block: 26px;
	}
	.smeta__price, .smeta__cta { justify-self: end; text-align: right; }
	.smeta__desc { margin-top: 0; font-size: var(--fs-m); }
	.smeta__cta { margin-top: 0; align-self: end; }
	.smeta__term { padding-top: 0.35em; }
}
.hero__note { color: var(--ink-2); font-size: var(--fs-s); margin-bottom: clamp(32px, 6vw, 72px); }

/* ---------- Как это работает: настоящая последовательность, поэтому нумерация ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 24px; }
.steps li { max-width: none; counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.steps li::before {
	content: counter(step);
	display: grid; place-items: center; width: 48px; height: 48px;
	font-size: var(--fs-l); font-weight: 600; font-variant-numeric: tabular-nums;
	color: var(--fresh-ink); border: 1px solid var(--line); border-radius: 50%; background: var(--paper);
}
.steps h3 { margin-bottom: 0.25em; }
.steps p { margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- Кейсы: строки «сайт — задача — результат» ---------- */
.cases { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.cases th, .cases td { text-align: left; vertical-align: top; padding: 16px 24px 16px 0; border-bottom: 1px solid var(--line); }
.cases th { font-weight: 500; color: var(--ink-2); font-size: var(--fs-s); }
.cases td:last-child, .cases th:last-child { padding-right: 0; }
.cases .result { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 639px) {
	.cases thead { display: none; }
	.cases tr { display: block; padding-block: 14px; border-bottom: 1px solid var(--line); }
	.cases td { display: block; padding: 2px 0; border: 0; }
	.cases td:first-child { font-weight: 600; }
}

/* ---------- FAQ: нативный details ---------- */
.faq { border-top: 1px solid var(--line); max-width: 75ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	padding: 16px 0; cursor: pointer; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: var(--fs-l); color: var(--fresh-ink); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > *:not(summary) { margin-bottom: 16px; }

/* ---------- Страница пакета ---------- */
.package-head { padding-block: clamp(32px, 6vw, 64px) 0; }
.package-head .lead { font-size: var(--fs-l); color: var(--ink-2); max-width: 50ch; }
.package-terms {
	display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none;
	border-top: 1px solid var(--line); max-width: 640px;
}
.package-terms li { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); max-width: none; }
.package-terms .k { color: var(--ink-2); white-space: nowrap; }
.package-terms .price { font-size: var(--fs-xl); }
.package-terms .v { text-align: right; font-variant-numeric: tabular-nums; }
.package-order { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.cols { display: grid; gap: 32px; }
@media (min-width: 768px) { .cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checklist li::before {
	content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px;
	background-repeat: no-repeat; background-position: center; background-size: 20px;
}
.checklist--yes li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231E7A47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E"); }
.checklist--no li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23B8433A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M5 10h10'/%3E%3C/svg%3E"); }
.checklist--no li { color: var(--ink-2); }

/* Липкая панель с ценой на мобильном */
.sticky-order {
	position: sticky; bottom: 0; z-index: 5;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 12px var(--gutter); padding-bottom: max(12px, env(safe-area-inset-bottom));
	background: var(--paper); border-top: 1px solid var(--line);
}
.sticky-order .price { font-size: var(--fs-l); }
.sticky-order .btn { flex: none; }
@media (max-width: 399px) { .sticky-order { flex-wrap: wrap; gap: 8px; } .sticky-order .btn { flex: 1 0 100%; } }
@media (min-width: 768px) { .sticky-order { display: none; } }

/* ---------- Форма заказа ---------- */
.form-page { padding-block: clamp(32px, 6vw, 64px); }
.form { max-width: 560px; }
.form .lead { color: var(--ink-2); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field .hint { display: block; color: var(--ink-2); font-size: var(--fs-s); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field textarea {
	width: 100%; min-height: 48px; padding: 11px 14px;
	font: inherit; color: var(--ink); background: var(--paper-2);
	border: 1px solid var(--line-strong); border-radius: var(--radius);
	transition: border-color .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: var(--focus); outline-offset: 0; border-color: var(--fresh-ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--no); }
.field .error { display: none; color: var(--no); font-size: var(--fs-s); margin-top: 6px; }
.field.is-invalid .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.field.is-invalid .check input { outline: 2px solid var(--no); outline-offset: 2px; }
.check input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--fresh-ink); }
.check label { font-weight: 400; margin: 0; }
.form-status { display: none; padding: 14px 16px; margin-bottom: 20px; border-radius: var(--radius); background: var(--paper-2); border-left: 3px solid var(--no); }
.form-status.is-visible { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 8px; }

/* Страница «Спасибо» */
.thanks { padding-block: clamp(40px, 8vw, 96px); }
.thanks ol { padding-left: 1.25em; max-width: 60ch; }
.thanks li { margin-bottom: 0.5em; }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px 40px; font-size: var(--fs-s); color: var(--ink-2); }
.site-footer .container { display: grid; gap: 12px; }
.site-footer a { color: var(--fresh-ink); }
.site-footer p { margin: 0; }
@media (min-width: 768px) { .site-footer .container { grid-template-columns: 1fr 1fr 1fr; gap: 24px; } }

/* ---------- Движение только в ответ на действие ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Тарифы подписки (страница пакета «Техподдержка») ---------- */
.tariffs { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); max-width: 760px; }
.tariffs th, .tariffs td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.tariffs th { font-weight: 500; color: var(--ink-2); font-size: var(--fs-s); }
.tariffs td:first-child { font-weight: 600; }
.tariffs .price { font-size: var(--fs-l); }
.tariffs td:last-child, .tariffs th:last-child { padding-right: 0; }
@media (max-width: 599px) {
	.tariffs { font-size: var(--fs-s); display: block; overflow-x: auto; }
	.tariffs th, .tariffs td { padding: 10px 8px 10px 0; white-space: normal; min-width: 7em; }
	.tariffs .price { font-size: var(--fs-m); white-space: nowrap; }
}
.policy h2 { font-size: var(--fs-l); margin-top: 1.5em; }
.policy { max-width: 65ch; }

/* ---------- Логотипы клиентов ---------- */
.clients__title { font-size: var(--fs-m); font-weight: 600; color: var(--ink-2); margin: 36px 0 16px; }
.clients { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px 24px; align-items: center;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.clients li { max-width: none; }
.clients img { display: block; width: 100%; height: auto; max-width: 160px; margin: 0 auto;
	filter: grayscale(1); opacity: .65; transition: filter .15s ease, opacity .15s ease; }
.clients img:hover { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .clients img { transition: none; } }

/* ---------- Анонсы блога и повторный призыв на главной ---------- */
.teasers { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 28px; }
.teasers__item { max-width: none; }
.teasers__title { font-size: var(--fs-m); font-weight: 600; margin: 0 0 4px; }
.teasers__title a { color: inherit; text-decoration: none; }
.teasers__title a:hover { color: var(--fresh-ink); text-decoration: underline; }
.teasers .muted { margin-bottom: 6px; }
.teasers p { margin: 0; }
@media (min-width: 768px) { .teasers { grid-template-columns: repeat(3, 1fr); gap: 32px 40px; } }

.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 479px) { .cta__buttons .btn { width: 100%; } }

/* ---------- Блог ---------- */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 75ch; }
.posts__item { padding: 20px 0; border-bottom: 1px solid var(--line); max-width: none; }
.posts__title { font-size: var(--fs-l); margin: 0 0 4px; }
.posts__title a { color: inherit; text-decoration: none; }
.posts__title a:hover { color: var(--fresh-ink); text-decoration: underline; }
.post { max-width: 65ch; }
.post h1 { max-width: 28ch; }
.post .muted { margin-bottom: 1.5em; }
/* Типографика длинного текста: статьи приходят из инфоблока, разметка без классов */
.post__body > *:first-child { margin-top: 0; }
.post__body p { margin: 0 0 1em; }
.post__body h2 { font-size: var(--fs-l); margin: 1.8em 0 0.6em; }
.post__body h3 { font-size: var(--fs-m); font-weight: 600; margin: 1.5em 0 0.5em; }
.post__body ul, .post__body ol { margin: 0 0 1em; padding-left: 1.2em; }
.post__body li { margin-bottom: 0.4em; }
.post__body li > ul, .post__body li > ol { margin-top: 0.4em; }
.post__body blockquote { margin: 1.5em 0; padding: 0 0 0 16px; border-left: 2px solid var(--fresh); color: var(--ink-2); }
.post__body blockquote p:last-child { margin-bottom: 0; }
.post__body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--paper-2); padding: 1px 4px; border-radius: 3px; }
.post__body img { margin-block: 16px; max-width: 100%; height: auto; }
.post__body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: var(--fs-s); }
.post__body th, .post__body td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.post__body th { font-weight: 600; border-bottom-color: var(--ink); }
.post__body td:last-child, .post__body th:last-child { padding-right: 0; }
.post__body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post__body strong { font-weight: 600; }
/* Таблицы шире экрана на телефоне — горизонтальная прокрутка вместо ломаной вёрстки */
@media (max-width: 599px) {
	.post__body table { display: block; overflow-x: auto; white-space: nowrap; }
	.post__body td, .post__body th { white-space: normal; min-width: 8em; }
}
.post__back { margin-top: 2.5em; padding-top: 1.5em; border-top: 1px solid var(--line); }

/* ---------- Работы (старое портфолио из инфоблока) ---------- */
.works { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.works__item { max-width: none; display: grid; gap: 12px; }
.works__pic { display: block; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.works__pic img { width: 100%; height: auto; }
.works__title { font-size: var(--fs-l); margin: 0 0 2px; }
.works__title a { color: inherit; text-decoration: none; }
.works__title a:hover { color: var(--fresh-ink); text-decoration: underline; }
.works__lead { margin: 0 0 6px; color: var(--ink); }
.works__meta { margin: 0; color: var(--ink-2); font-size: var(--fs-s); }
@media (min-width: 640px) { .works { grid-template-columns: 1fr 1fr; gap: 32px 40px; } }
@media (min-width: 1024px) { .works { grid-template-columns: 1fr 1fr 1fr; } }
.work { max-width: none; }
.work__meta { color: var(--ink-2); }
.work__text { max-width: 65ch; margin-bottom: 24px; }
.work__screen { margin: 0 0 24px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.work__screen img { width: 100%; height: auto; }
.section h2 + .works { border-top: 0; padding-top: 0; }
.section__gap { margin-top: 40px; }

/* End */
/* /local/templates/fc/template_styles.css?179030922422361 */
