/* ===== THEME ===== */
:root{
    --accent:#2563eb;
    --accent-soft: color-mix(in srgb, var(--accent) 8%, #fff);
    --accent-border: color-mix(in srgb, var(--accent) 16%, transparent);
    --accent-bg: color-mix(in srgb, var(--accent) 20%, var(--bg));
    --accent-glow: 0 0 24px -14px color-mix(in srgb, var(--accent) 45%, transparent);
    --text:#111827;
    --muted:#6b7280;
    --bg:#f6f7fb;
    --card:#fff;
    --border:#e6e9ef;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
}

/* ===== BASE ===== */
html,body{margin:0;padding:0}
body{
    font-family:"Inter",system-ui,sans-serif;
    font-size:16px;
    line-height:1.65;
    font-weight:400;
    color:var(--text);
    background:
            radial-gradient(900px 360px at 0% -10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
            radial-gradient(900px 360px at 100% 110%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%),
            var(--bg);
    -webkit-font-smoothing:antialiased;
}
a{color:var(--accent);text-decoration:none;transition:opacity .2s}
a:hover{opacity:.8;text-decoration:underline}
p{margin:0 0 14px;text-align:left}
.container{
    width:1140px;
    max-width:92%;
    margin:0 auto;
    padding:0 10px;
    box-sizing:border-box;
    text-align:left;
}

/* ===== HEADER ===== */
header{
    margin:10px 0 18px;
    padding:10px 0 6px;
}
.site-header{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}
.brand{
    font-size:22px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:-.15px;
    color:var(--accent);
}

.site-nav{
    margin:0;
    padding:0;
    list-style:none;
    display:flex;
    flex-wrap:wrap;
    gap:4px;
}
.site-nav > li{margin:0}
.site-nav > li > a{
    display:inline-block;
    color:var(--text);
    font-weight:500;
    padding:8px 14px;
    border-radius:var(--radius-sm);
    transition:background .2s, color .2s;
    font-size:15px;
}
.site-nav > li > a:hover{
    color:var(--accent);
    background:color-mix(in srgb, var(--accent) 12%, var(--bg));
    text-decoration:none;
}
.site-nav > li.active > a{
    color:#fff;
    background:var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 14px;
}
.breadcrumbs a {
    color: var(--muted);
}
.breadcrumbs a:hover {
    color: var(--accent);
}
.breadcrumbs span {
    color: var(--text);
    font-weight: 500;
}

/* ===== ARTICLE ===== */
.description{
    margin:22px 0;
    padding:32px 36px;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius-lg);
    box-shadow: var(--accent-glow), 0 6px 22px rgba(16,24,40,.06);
}
.description h1,
.description h2,
.description h3,
.description h4{
    margin:0 0 14px;
    color:var(--text);
    line-height:1.3;
}
.description h1{
    font-size:30px;
    font-weight:700;
    letter-spacing:-.4px;
    text-align:left;
    margin:0 0 20px;
    padding:0 0 12px;
    background:linear-gradient(to right, var(--accent), var(--accent) 30%, transparent 70%) 0 100% / 100% 3px no-repeat;
}
/*
.description h1::first-letter{text-transform:uppercase}
*/
.description h2{
    font-size:24px;
    font-weight:600;
    letter-spacing:-.2px;
    margin:0 0 14px;
    padding:0 0 8px;
    background:linear-gradient(to right, var(--accent), transparent) 0 100% / 60% 2px no-repeat;
}
.description h3{
    font-size:19px;
    font-weight:600;
    margin:0 0 14px;
    padding:0 0 6px;
    background:linear-gradient(to right, var(--accent), transparent) 0 100% / 30% 2px no-repeat;
}

.description h4{font-size:16px;font-weight:600}

.description [itemprop="articleBody"] p{text-align:justify}

.description ul,
.description ol{margin:0 0 14px 0;padding:0}
.description ul li,
.description ol li{
    list-style-position:inside;
    margin:0 0 10px;
    text-align:left;
}
.description ul li{list-style-type:"• "}
.description table{
    width:100%;
    border-collapse:collapse;
    margin:0 0 20px;
    font-size:14px;
    line-height:1.55;
    border-radius:var(--radius-sm);
    overflow:hidden;
    border:1px solid var(--border);
}
.description thead{display:none}
.description table th,
.description table td{
    padding:12px 14px;
    text-align:left;
    border-bottom:1px solid var(--border);
    vertical-align:top;
}
.description table th{
    font-weight:600;
    font-size:13px;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.4px;
    background:var(--bg);
    border-bottom:2px solid var(--border);
}
.description table td:first-child,
.description table th:first-child{
    font-weight:500;
    color:var(--text);
}
.description table tr:last-child td{
    border-bottom:none;
}
.description table tr:nth-child(even) td{
    background:color-mix(in srgb, var(--bg) 50%, var(--card));
}
@media (max-width:650px){
    .description table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
        -webkit-overflow-scrolling:touch;
    }
}
.article-image {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}
.article-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.article-image-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 20px;
    background: color-mix(in srgb, var(--border) 25%, transparent);
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
}
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--muted);
}
.article-footer a {
	font-weight: 500;
}
.article-footer-meta {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	color: var(--muted);
}
.article-reading-time {
	white-space: nowrap;
}
.article-footer time {
	color: var(--muted);
}
.sitemap-card-reading-time {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 8px;
}
.article-toc {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.article-toc h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    border-left: 0;
    padding-left: 0;
}
.article-toc ol {
    margin: 0;
    padding-left: 20px;
    counter-reset: toc-counter;
}
.article-toc ol li {
    margin-bottom: 4px;
    list-style: none;
    counter-increment: toc-counter;
}
.article-toc ol li::before {
    content: counter(toc-counter) ". ";
    color: var(--accent);
    font-weight: 500;
}
.article-toc ol li a {
    color: var(--text);
}

/* ===== FORM ===== */
#try-for-free{
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    align-items:center;
    min-width:291px;
    max-width:500px;
    margin:0 auto 20px;
    padding:24px 28px;
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius-lg);
    box-shadow: var(--accent-glow), 0 6px 22px rgba(16,24,40,.06);
}
#try-for-free h3{
    margin:0;
    text-align:center;
    font-size:18px;
    font-weight:600;
    color:var(--text);
}
#try-for-free form{width:100%;margin-top:13px}
#try-for-free .form-row{position:relative;width:100%;margin-bottom:8px}
#try-for-free .form-row span{color:var(--accent);text-decoration:underline;cursor:pointer}
#try-for-free form input{
    width:100%;
    min-height:42px;
    margin:0;
    box-sizing:border-box;
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:10px 12px;
    font-size:16px;
    font-family:"Inter",system-ui,sans-serif;
    transition:border-color .2s, box-shadow .2s;
}
#try-for-free form input:focus{
    border-color:var(--accent);
    box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
    outline:none;
}
#try-for-free form input[type="checkbox"]{
    width:20px;min-height:20px;vertical-align:middle;
}
#try-for-free form input[type="submit"]{
    min-height:52px;
    margin-top:10px;
    border:0;
    border-radius:var(--radius-md);
    background:var(--accent);
    color:#fff;
    font-size:1.05em;
    font-weight:700;
    cursor:pointer;
    transition:opacity .2s, transform .15s;
}
#try-for-free form input[type="submit"]:hover{opacity:.92}
#try-for-free form input[type="submit"]:active{transform:scale(.98)}

/* ===== INLINE FOOTER (desktop one-line) ===== */
.footer.footer--inline{
    margin:28px 0 30px;
    padding:16px 0 0;
    border-top:1px solid var(--border);
    position:relative;

    display:grid;
    grid-template-columns: 1.6fr 1fr auto;
    gap:24px;
    align-items:start;
}
.footer.footer--inline:before{
    content:"";
    position:absolute;
    left:0; right:0; top:-1px; height:1px;
    background:color-mix(in srgb, var(--accent) 42%, #fff);
    opacity:.25;
}

.footer-col{min-width:0}

.footer-col--about .companyInfo{
    margin:0;
    color:var(--muted);
    font-size:13px;
    line-height:1.55;
}
.company-info-schema .ci-line {
    margin-bottom: 3px;
}
.company-info-schema .ci-line:last-child {
    margin-bottom: 0;
}
.company-info-schema .ci-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.footer-col--menu{
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
    align-content:flex-start;
}
.footer-col--menu a{
    color:var(--text);
    font-size:14px;
    font-weight:500;
    line-height:1.4;
}
.footer-col--menu a:hover{
    color:var(--accent);
    text-decoration:none;
}

.footer-col--contacts{
    justify-self:end;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:8px;
}
.footer-col--contacts .contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}
.footer-col--contacts .ci-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .6px;
}
.footer-col--contacts a{
    color:var(--text);
    font-size:14px;
    font-weight:600;
    line-height:1.35;
}
.footer-col--contacts a:hover{
    color:var(--accent);
    text-decoration:none;
}

.footer .f-logo{
    width:186px;
    height:26px;
    display:inline-block;
    background:url(/assets/images/footer-logo.svg) center center no-repeat;
    background-size:contain;
    filter:grayscale(100%) opacity(30%);
    text-indent:-9999px;
    overflow:hidden;
}

/* ===== responsive ===== */
@media (max-width: 980px){
    .footer.footer--inline{
        grid-template-columns: 1fr;
        gap:14px;
    }
}
@media (max-width: 980px){
    .footer-col--contacts{
        justify-self:start;
        align-items:flex-start;
    }
    .footer-col--contacts .contact-item {
        align-items: flex-start;
    }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 900px){
    .site-nav{margin-top:8px}
    .site-nav > li{display:inline-block}
}
@media (max-width:420px){
    .container{width:400px !important}
    .footer .right-column{text-align:left;padding-top:12px}
}

/* ===== SITEMAP ===== */
.sitemap-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.sitemap-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    transition: border-color .2s;
}
.sitemap-card:hover {
    border-color: var(--accent);
}
.sitemap-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
    background: color-mix(in srgb, var(--border) 30%, transparent);
}
.sitemap-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sitemap-card-title {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    display: block;
    margin-bottom: 6px;
}
.sitemap-card-date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}
.sitemap-card-preview {
    font-size: 14px;
    line-height: 1.55;
    color: #4b5563;
}

@media (max-width: 650px) {
	.description{padding:20px 18px;margin:12px 0}
	#try-for-free{padding:16px 14px}
	.sitemap-cards{grid-template-columns:1fr}
	.article-footer{flex-direction:column;align-items:stretch;gap:6px}
	.article-footer a{display:block;padding:10px 14px;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-md);text-align:center}
	.article-footer-meta{justify-content:center}
	.article-footer time{text-align:center;font-size:13px}
	.nav-toggle{display:flex}
	.site-header .site-nav{display:none;flex-basis:100%;margin-top:10px;order:3}
	.site-header .site-nav.open{display:flex;flex-direction:column}
	.site-nav > li > a{padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:4px;font-size:15px}
	.site-nav > li.active > a{border-color:var(--accent)}
}
.related-articles {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}
.related-articles h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 16px;
	color: var(--text);
}
.related-articles-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 14px;
}
.related-articles-card {
	display: flex;
	flex-direction: column;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
	color: var(--text);
	transition: border-color .2s;
}
.related-articles-card:hover {
	border-color: var(--accent);
	text-decoration: none;
	color: var(--text);
}
.related-articles-img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: color-mix(in srgb, var(--border) 30%, transparent);
}
.related-articles-img img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.related-articles-body {
	padding: 12px 14px;
	flex: 1;
}
.related-articles-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 4px;
}
.related-articles-preview {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.5;
}

@media (max-width: 650px) {
	.related-articles-grid { grid-template-columns: 1fr; }
}

.sitemap-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}
.sitemap-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: var(--card);
    transition: background .15s, border-color .15s;
}
.sitemap-page:hover {
    background: color-mix(in srgb, var(--accent) 8%, #fff);
    border-color: var(--accent);
    text-decoration: none;
}
.sitemap-page-active,
.sitemap-page-active:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.article-action-steps {
    margin: 32px 0 24px;
    padding: 28px 32px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
}
.article-action-steps > p {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -.2px;
}
.article-action-steps ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step-counter;
}
.article-action-steps ol li {
    counter-increment: step-counter;
    margin-bottom: 12px;
    padding: 2px 0 2px 40px;
    position: relative;
    line-height: 1.55;
}
.article-action-steps ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===== USEFUL LINKS ===== */
.article-useful-links {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
}
.article-useful-links p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted);
    font-size: 15px;
}
.article-useful-links .useful-links-label {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: inline-block;
    margin-bottom: 4px;
}
.article-useful-links a {
    font-weight: 500;
    white-space: nowrap;
}
.article-useful-links a:hover {
    text-decoration: none;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border-radius: 4px;
    padding: 1px 4px;
    margin: -1px -4px;
}
@media (max-width: 650px) {
    .article-useful-links a { white-space: normal; }
    .article-useful-links { padding: 16px; }
}
/*
.description a { text-decoration: underline; }
.description .article-toc a { text-decoration: none; }*/

/* ===== CONTACTS PAGE ===== */
.contacts-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.contacts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}
.contacts-info {
    flex: 1;
    min-width: 260px;
}
.contacts-info-inner {
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    padding: 24px;
}
.contacts-info-inner p {
    margin: 0 0 16px 0;
    font-size: 15px;
    line-height: 1.6;
}
.contacts-info-inner p:last-child {
    margin-bottom: 0;
}
.contacts-info-inner .ci-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 2px;
}
.contacts-info-inner .ci-value,
.contacts-info-inner .ci-value a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}
.contacts-info-inner .ci-value a:hover {
    color: var(--accent);
}
.contacts-map {
    flex: 1.2;
    min-width: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(16,24,40,.08);
}
.contacts-map iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}
.contacts-form-wrapper {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
}
.contacts-form-wrapper h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
}
.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contacts-form input[type="text"],
.contacts-form input[type="tel"],
.contacts-form input[type="email"],
.contacts-form textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: "Inter", system-ui, sans-serif;
    box-sizing: border-box;
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
}
.contacts-form input[type="text"]:focus,
.contacts-form input[type="tel"]:focus,
.contacts-form input[type="email"]:focus,
.contacts-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
    outline: none;
}
.contacts-form textarea {
    resize: vertical;
}
.contacts-form input[type="submit"] {
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity .2s, transform .15s;
}
.contacts-form input[type="submit"]:hover {
    opacity: .92;
}
.contacts-form input[type="submit"]:active {
    transform: scale(.98);
}
.contacts-agreement {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.contacts-agreement input[type="checkbox"] {
    margin-top: 2px;
}

@media (max-width: 650px) {
    .contacts-grid {
        flex-direction: column;
    }
    .contacts-map iframe {
        height: 240px;
    }
}

/* ===== HOMEPAGE ===== */
.home-hero {
    text-align: center;
    padding: 16px 0 24px;
}
.home-hero .home-hero-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing:-.6px;
    color: var(--text);
    margin: 0 0 4px;
    line-height: 1.1;
    text-align: center;
    background: none;
    padding: 0;
}
.home-hero-title:after {
    content:'';
    display:block;
    width:48px;
    height:3px;
    border-radius:2px;
    background:var(--accent);
    margin:16px auto 0;
}
.home-hero-subtitle {
    font-size: 17px;
    color: var(--muted);
    margin: 18px auto 28px;
    text-align: center;
    line-height: 1.5;
    max-width: 540px;
}
.home-hero-btn {
    display: inline-block;
    padding: 12px 32px;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    background: transparent;
    transition: background .2s, color .2s, transform .15s;
}
.home-hero-btn:hover {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
}
.home-hero-btn:active {
    transform: scale(.97);
}
.home-about h3,
.home-articles h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--text);
}
.home-about p {
/*    color: var(--muted);*/
    font-size: 15px;
    line-height: 1.65;
    text-align: justify;
}
.home-articles {
    margin-top: 28px;
}
.home-articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.home-article-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    color: var(--text);
}
.home-article-card:hover {
    text-decoration: none;
    color: var(--text);
}
.home-article-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: color-mix(in srgb, var(--border) 30%, transparent);
}
.home-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-article-body {
    padding: 14px 16px;
    flex: 1;
}
.home-article-date {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}
.home-article-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}
.home-form-section {
    margin-top: 28px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--accent-glow);
}
.home-form-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
}
.home-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}
.home-form input[type="text"],
.home-form input[type="tel"],
.home-form input[type="email"],
.home-form textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: "Inter", system-ui, sans-serif;
    box-sizing: border-box;
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
}
.home-form textarea {
    resize: vertical;
    min-height: 72px;
}
.home-form input[type="text"]:focus,
.home-form input[type="tel"]:focus,
.home-form input[type="email"]:focus,
.home-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
    outline: none;
}
.home-form input[type="submit"] {
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity .2s, transform .15s;
}
.home-form input[type="submit"]:hover {
    opacity: .92;
}
.home-form input[type="submit"]:active {
    transform: scale(.97);
}
.home-form-agreement {
    font-size: 13px;
    color: #555;
    display: flex; 
    align-items: flex-start;
    gap: 8px;
}
@media (max-width: 700px) {
	.home-hero { padding: 8px 0 16px; }
}

.home-articles-footer {
	text-align: center;
	margin-top: 20px;
}
.home-all-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 24px;
	font-size: 15px;
	font-weight: 600;
	color: var(--accent);
	border: 1.5px solid var(--accent);
	border-radius: var(--radius-md);
	transition: background .2s, color .2s;
}
.home-all-link:hover {
	background: var(--accent);
	color: #fff;
	text-decoration: none;
}

/* ===== HOME SERVICES ===== */
.home-services {
	margin-top: 28px;
}
.home-services-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
}
.home-service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 28px 20px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	color: var(--text);
	transition: border-color .2s, box-shadow .2s;
}
.home-service-card:hover {
	border-color: var(--accent);
	box-shadow: var(--accent-glow);
	text-decoration: none;
	color: var(--text);
}
.home-service-icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 22px;
	margin-bottom: 14px;
	transition: background .2s;
}
.home-service-card:hover .home-service-icon {
	background: var(--accent);
	color: #fff;
}
.home-service-title {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 6px;
	line-height: 1.3;
}
.home-service-text {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.5;
}

@media (max-width: 700px) {
	.home-services-grid { grid-template-columns: 1fr; }
	.home-hero-title { font-size: 28px; }
	.home-hero-title:after { width: 32px; height: 2px; margin: 12px auto 0; }
	.home-articles-grid { grid-template-columns: 1fr; }
}

/* ===== ERROR 404 ===== */
.error-404 {
    text-align: center;
    padding: 40px 20px;
}
.error-404-code {
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    opacity: .25;
    margin-bottom: 8px;
    letter-spacing: -4px;
}
.error-404 h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px;
    background: none;
    padding: 0;
}
.error-404 p {
    text-align: center;
    color: var(--muted);
    margin: 0 0 28px;
    font-size: 15px;
}
.error-404-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.error-404-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    transition: opacity .2s, transform .15s;
}
.error-404-btn:hover { text-decoration: none; opacity: .92; }
.error-404-btn:active { transform: scale(.97); }
.error-404-btn {
    background: var(--accent);
    color: #fff;
}
.error-404-btn--outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.error-404-btn--outline:hover {
    background: var(--accent);
    color: #fff;
}

/* ===== SCROLL TO TOP ===== */
#scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 100;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(16,24,40,.1);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px) scale(.9);
    transition: opacity .3s, transform .3s, color .2s, border-color .2s;
    pointer-events: none;
}
#scroll-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
#scroll-top:hover {
    color: var(--accent);
    border-color: var(--accent);
}
#scroll-top:active {
	transform: scale(.92);
}

/* ================================================================
   HOMEPAGE SECTIONS (service / community / knowledge variants)
   ================================================================ */

/* Remove article-card wrapper on homepage */
.homepage .home-content {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
}
.homepage .container {
	max-width: 92%;
}

/* Section base */
.home-section {
	padding: 72px 0;
}
.home-section + .home-section {
	border-top: 1px solid var(--border);
}
.home-section-title {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -.3px;
	color: var(--text);
	margin: 0 0 36px;
	text-align: center;
}

/* Hero */
.homepage .home-hero {
	padding: 60px 32px 68px;
	margin: 12px 0 8px;
	background:
		radial-gradient(560px 260px at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 72%),
		radial-gradient(460px 240px at 100% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%),
		var(--accent-soft);
	border: 1px solid var(--accent-border);
	border-radius: var(--radius-lg);
}
.homepage .home-hero-body {
	max-width: 680px;
	margin: 0 auto;
	text-align: center;
}
.homepage .home-hero-title {
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -.8px;
	line-height: 1.12;
	color: var(--text);
	margin: 0 0 18px;
	background: none;
	padding: 0;
	text-align: center;
}
.homepage .home-hero-title:after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	border-radius: 2px;
	background: var(--accent);
	margin: 22px auto 0;
}
.homepage .home-hero-subtitle {
	font-size: 17px;
	color: var(--muted);
	margin: 22px auto 34px;
	text-align: justify;
	text-align-last: center;
	-moz-text-align-last: center;
	line-height: 1.62;
	max-width: 540px;
}
.homepage .home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* Hero CTA buttons */
.homepage .home-hero-btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 34px;
	border-radius: var(--radius-md);
	font-size: 16px;
	font-weight: 600;
	transition: background .2s, color .2s, border-color .2s, transform .15s;
	text-decoration: none !important;
	cursor: pointer;
}
.home-hero-btn--primary {
	background: var(--accent);
	color: #fff;
	border: 1.5px solid var(--accent);
}
.home-hero-btn--primary:hover {
	opacity: .9;
	background: var(--accent);
	color: #fff;
}
.home-hero-btn--secondary {
	background: transparent;
	color: var(--accent);
	border: 1.5px solid var(--accent);
}
.home-hero-btn--secondary:hover {
	background: var(--accent);
	color: #fff;
}
.homepage .home-hero-btn:active {
	transform: scale(.97);
}

/* Services grid — inherits .home-services-grid from existing */
.home-section--services .home-services-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
}

/* Benefits grid */
.home-benefits-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
}
.home-benefit-card {
	padding: 26px 22px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	text-align: left;
	transition: border-color .2s, box-shadow .2s;
}
.home-benefit-card:hover {
	border-color: var(--accent);
	box-shadow: var(--accent-glow);
}
.home-benefit-title {
	font-size: 17px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
	line-height: 1.3;
}
.home-benefit-text {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.55;
}

/* Process steps */
.home-process-steps {
	display: flex;
	flex-direction: column;
	gap: 22px;
	max-width: 620px;
	margin: 0 auto;
}
.home-process-step {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}
.home-process-num {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}
.home-process-body {
	flex: 1;
}
.home-process-step-title {
	font-size: 17px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 4px;
}
.home-process-step-text {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.55;
}

/* Form section — on light accent background */
.home-section--form {
	background: var(--accent-soft);
	border-top: none;
}
.home-section--form + .home-section {
	border-top: none;
}
.home-form-wrapper {
	max-width: 480px;
	margin: 0 auto;
}
.home-form-intro {
	text-align: center;
	margin-bottom: 28px;
}
.home-form-intro .home-section-title {
	margin-bottom: 8px;
}
.home-form-desc {
	font-size: 15px;
	color: var(--muted);
	margin: 0;
}

/* About section — tighter prose */
.homepage .home-about {
	max-width: 780px;
	margin: 0 auto;
}
.homepage .home-about p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--muted);
	text-align: justify;
}

/* Knowledge: about block reuses article typography */
.home-about--knowledge h1,
.home-about--knowledge h2,
.home-about--knowledge h3 {
	font-size: 19px;
	font-weight: 600;
	margin: 24px 0 12px;
	background: none;
	padding: 0;
	text-align: left;
}
.home-about--knowledge h1:first-child,
.home-about--knowledge h2:first-child,
.home-about--knowledge h3:first-child {
	margin-top: 0;
}
.home-about--knowledge p {
	max-width: 100%;
}

/* Alternate section backgrounds */
.home-section--benefits,
.home-section--process {
	background: var(--bg);
}

/* Articles section — grid already defined in .home-articles-grid */
.home-section--articles .home-articles-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
}

/* Community: slightly warmer spacing for cards */
.home--community .home-service-card {
	padding: 32px 24px;
}
.home--community .home-service-icon {
	width: 56px;
	height: 56px;
	font-size: 24px;
	margin-bottom: 16px;
}

/* Knowledge: articles are primary content */
.home--knowledge .home-section--articles .home-articles-grid {
	grid-template-columns: 1fr 1fr;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
	.homepage .home-hero {
		padding: 40px 24px 48px;
	}
	.homepage .home-hero-title {
		font-size: 36px;
	}
	.homepage .home-hero-title:after {
		margin: 16px auto 0;
	}
	.homepage .home-hero-subtitle {
		margin: 16px auto 24px;
	}
	.home-section {
		padding: 48px 0;
	}
	.home-section-title {
		font-size: 22px;
		margin-bottom: 24px;
	}
	.home-benefits-grid {
		grid-template-columns: 1fr 1fr;
	}
	.home--knowledge .home-section--articles .home-articles-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 650px) {
	.homepage .home-hero {
		padding: 32px 18px 36px;
	}
	.homepage .home-hero-title {
		font-size: 28px;
	}
	.homepage .home-hero-title:after {
		width: 34px;
		height: 2px;
		margin: 12px auto 0;
	}
	.homepage .home-hero-subtitle {
		font-size: 15px;
		margin: 12px auto 22px;
	}
	.homepage .home-hero-btn {
		padding: 12px 24px;
		font-size: 15px;
		width: 100%;
		justify-content: center;
		box-sizing: border-box;
	}
	.homepage .home-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.homepage .container {
		max-width: 96%;
	}
	.home-section {
		padding: 32px 0;
	}
	.home-section-title {
		font-size: 20px;
		margin-bottom: 20px;
	}
	.home-services-grid,
	.home-benefits-grid {
		grid-template-columns: 1fr;
	}
	.home-articles-grid,
	.home-section--articles .home-articles-grid {
		grid-template-columns: 1fr;
	}
	.home--knowledge .home-section--articles .home-articles-grid {
		grid-template-columns: 1fr;
	}
	.home-process-steps {
		gap: 16px;
	}
	.home-process-num {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}
	.home-benefit-card {
		padding: 20px 16px;
	}
}

@media (max-width: 750px) {
	.home-section--services .home-services-grid,
	.home-services-grid {
		grid-template-columns: 1fr !important;
	}
}
