/*
Theme Name: dds_trangtienao.com
Author: Алексей Гордеев
Description: Тема для информационно-аналитического портала по доходной недвижимости и криптосделкам.
Version: 1.1
Text Domain: ledgrid
*/

:root {
    --lg-bg: #f4f6f9;
    --lg-bg-alt: #e8edf3;
    --lg-dark: #0f172a;
    --lg-side: #eef2f7;
    --lg-text: #1e293b;
    --lg-text-2: #475569;
    --lg-accent: #0ea5e9;
    --lg-accent-2: #6366f1;
    --lg-accent-dark: #0284c7;
    --lg-muted: #64748b;
    --lg-line: #d1d9e6;
    --lg-light: #f1f5f9;
    --lg-dim: #94a3b8;
    --lg-head-font: "Inter Tight", "Space Grotesk", "Segoe UI Semibold", "Arial Narrow", system-ui, sans-serif;
    --lg-body-font: "Inter", "Source Sans Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--lg-body-font);
    font-size: 17px;
    line-height: 1.72;
    color: var(--lg-text);
    background-color: var(--lg-bg);
    background-image:
        repeating-linear-gradient(0deg, rgba(209, 217, 230, 0.3) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(90deg, rgba(209, 217, 230, 0.3) 0 1px, transparent 1px 24px);
}

img { max-width: 100%; height: auto; }

a { color: var(--lg-accent); text-decoration: none; }

.entry-content a,
.widget-block a,
.textwidget a {
    color: var(--lg-accent);
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 3px;
    transition: background-size .25s ease, color .2s ease;
}
.entry-content a { background-size: 100% 1px; }
.entry-content a:hover,
.widget-block a:hover,
.textwidget a:hover {
    color: var(--lg-accent-2);
    background-size: 100% 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lg-head-font);
    color: var(--lg-dark);
    line-height: 1.22;
    letter-spacing: -0.01em;
    margin: 0 0 0.7em;
    font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.15em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .45em; }

blockquote {
    margin: 1.8em 0;
    padding: 1.4rem 1.6rem;
    background: #ffffff;
    border-left: 3px solid var(--lg-accent);
    color: var(--lg-text-2);
    border-radius: 2px;
}
blockquote p:last-child { margin-bottom: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    background: #fff;
    font-size: .96rem;
}
table th, table td {
    border: 1px solid var(--lg-line);
    padding: .7rem .85rem;
    text-align: left;
}
table th { background: var(--lg-bg-alt); color: var(--lg-dark); font-family: var(--lg-head-font); }

code, pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: .92em;
}
pre {
    background: var(--lg-dark);
    color: var(--lg-light);
    padding: 1.1rem;
    overflow-x: auto;
    border-radius: 2px;
}

/* ---------- Контейнер ---------- */
.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
}

.shell-front {
    width: min(85%, 1180px);
    margin-inline: auto;
}

/* ---------- Полоса-индикатор ---------- */
.top-indicator {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--lg-accent) 0%, var(--lg-accent-2) 100%);
}

/* ---------- Шапка ---------- */
.site-head {
    background-color: var(--lg-dark);
    background-image:
        repeating-linear-gradient(0deg, rgba(30, 41, 59, 0.5) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(90deg, rgba(30, 41, 59, 0.5) 0 1px, transparent 1px 24px);
    color: var(--lg-light);
    padding: 1.8rem 0 0;
}
.head-top {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    text-decoration: none;
    flex: 1 1 320px;
}
.brand-logo { display: block; width: 54px; height: 54px; flex: 0 0 auto; }
.brand-text { min-width: 0; }
.brand-name {
    display: block;
    font-family: var(--lg-head-font);
    font-size: 1.12rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}
.brand-desc {
    display: block;
    font-size: .8rem;
    color: var(--lg-dim);
    line-height: 1.5;
    margin-top: .25rem;
}
.head-search { flex: 0 0 auto; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, .5);
    color: var(--lg-light);
    font-family: var(--lg-head-font);
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .55rem .9rem;
    border-radius: 2px;
    cursor: pointer;
}

.site-nav { margin-top: 1.4rem; border-top: 1px solid rgba(148, 163, 184, .18); }
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
    display: block;
    padding: .95rem 1.15rem;
    color: #cbd5e1;
    font-family: var(--lg-head-font);
    font-size: .95rem;
    letter-spacing: .01em;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--lg-accent); }
.site-nav .current-menu-item > a { color: #fff; border-bottom-color: var(--lg-accent); }

/* ---------- Поиск ---------- */
.search-form { display: flex; align-items: stretch; }
.search-form input[type="search"] {
    border: 1px solid var(--lg-line);
    background: #fff;
    color: var(--lg-text);
    padding: .55rem .75rem;
    font-family: var(--lg-body-font);
    font-size: .92rem;
    border-radius: 2px 0 0 2px;
    min-width: 0;
    width: 190px;
}
.search-form button {
    border: 1px solid var(--lg-accent);
    background: var(--lg-accent);
    color: #fff;
    font-family: var(--lg-head-font);
    font-size: .88rem;
    padding: .55rem .95rem;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
    transition: background-color .2s ease;
}
.search-form button:hover { background: var(--lg-accent-dark); border-color: var(--lg-accent-dark); }
.site-head .search-form input[type="search"] {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(148, 163, 184, .35);
    color: #fff;
}
.site-head .search-form input[type="search"]::placeholder { color: #94a3b8; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    font-family: var(--lg-head-font);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .01em;
    padding: .8rem 1.5rem;
    border-radius: 2px;
    border: 1px solid var(--lg-accent);
    background: var(--lg-accent);
    color: #fff;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.btn:hover { background: var(--lg-accent-dark); border-color: var(--lg-accent-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--lg-accent); }
.btn-ghost:hover { background: transparent; color: #fff; border-color: var(--lg-accent-dark); }
.btn-on-dark { background: transparent; border-color: var(--lg-accent); color: #ffffff; }
.btn-on-dark:hover { background: var(--lg-accent-dark); border-color: var(--lg-accent-dark); color: #fff; }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs {
    font-size: .85rem;
    color: var(--lg-muted);
    padding: 1.3rem 0 0;
    line-height: 1.6;
}
.breadcrumbs a { color: var(--lg-muted); }
.breadcrumbs a:hover { color: var(--lg-accent); }
.breadcrumbs .sep { margin: 0 .45rem; color: var(--lg-line); }

/* ---------- Раскладки ---------- */
.site-main { padding: 2.2rem 0 4rem; }
.layout-single { display: block; }
.layout-single .content-area {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
}
.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 6%;
    align-items: start;
}
.layout-with-sidebar .content-area { min-width: 0; }

/* ---------- Заголовки секций ---------- */
.section-head { margin-bottom: 2.2rem; }
.section-kicker {
    display: block;
    font-family: var(--lg-head-font);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--lg-muted);
    margin-bottom: .7rem;
    padding-left: 16px;
    border-left: 3px solid transparent;
}
.section-title {
    margin: 0;
    padding-left: 16px;
    border-left: 3px solid var(--lg-accent);
    font-size: 1.85rem;
}
.section-dark .section-title { color: #f1f5f9; }
.section-dark .section-kicker { color: var(--lg-dim); }

/* ---------- Главная: секции ---------- */
.front-section { padding: 80px 0; }
.front-section.is-alt { background: var(--lg-bg-alt); }
.front-section.is-dark {
    background-color: var(--lg-dark);
    background-image:
        repeating-linear-gradient(0deg, rgba(30, 41, 59, 0.5) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(90deg, rgba(30, 41, 59, 0.5) 0 1px, transparent 1px 24px);
    color: var(--lg-light);
}
.front-section.is-dark p { color: #cbd5e1; }

/* Блок 1 — hero */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 3.5rem;
    align-items: center;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { color: #ffffff; margin-bottom: 1.1rem; }
.hero-lead { color: var(--lg-dim); font-size: 1.08rem; margin-bottom: 1.9rem; }
.hero-art { min-width: 0; }
.hero-art svg { display: block; width: 100%; height: auto; }

/* Блок 2 — статистика */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat-cell {
    padding: .4rem 1.4rem;
    border-left: 1px solid var(--lg-line);
    min-width: 0;
}
.stat-cell:first-child { border-left: 0; padding-left: 0; }
.stat-num {
    display: block;
    font-family: var(--lg-head-font);
    font-size: 3rem;
    font-weight: 700;
    color: var(--lg-dark);
    line-height: 1.05;
}
.stat-label {
    display: block;
    margin-top: .7rem;
    font-family: var(--lg-head-font);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--lg-muted);
}

/* Блок 3 — шаги */
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    position: relative;
}
.step-card {
    border: 1px solid var(--lg-line);
    background: #ffffff;
    border-radius: 2px;
    padding: 1.6rem 1.5rem;
    min-width: 0;
    position: relative;
}
.step-card::after {
    content: "";
    position: absolute;
    top: 2.4rem;
    right: -1.4rem;
    width: 1.4rem;
    border-top: 1px dashed var(--lg-accent);
}
.step-card:last-child::after { display: none; }
.step-head { display: flex; align-items: baseline; gap: .7rem; margin-bottom: .6rem; }
.step-num {
    font-family: var(--lg-head-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lg-accent);
    line-height: 1;
}
.step-card h3 { margin: 0; font-size: 1.08rem; }
.step-card p { margin: 0; color: var(--lg-text-2); font-size: .95rem; }

/* Блок 4 — CTA */
.cta-plate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 2.5rem;
    align-items: center;
}
.cta-copy { min-width: 0; }
.cta-copy h2 { color: #f1f5f9; font-size: 2.1rem; margin-bottom: .9rem; }
.cta-copy p { color: var(--lg-dim); margin-bottom: 1.8rem; }
.cta-path svg { display: block; width: 100%; height: auto; }

/* ---------- Лента записей ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}
.layout-with-sidebar .cards-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--lg-line);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    min-width: 0;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    border-color: var(--lg-accent);
    transform: translateY(-2px);
}
.card-thumb { display: block; }
.card-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.3rem 1.4rem;
    min-width: 0;
}
.card-cat {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--lg-head-font);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    padding: .28rem .55rem;
    border-radius: 2px;
    background: rgba(99, 102, 241, .1);
    color: var(--lg-accent-2);
    margin-bottom: .7rem;
}
.card-cat.is-crypto { background: rgba(14, 165, 233, .1); color: var(--lg-accent-dark); }
.card-title { font-size: 1.12rem; margin: 0 0 .55rem; line-height: 1.32; }
.card-title a { color: var(--lg-dark); }
.card-title a:hover { color: var(--lg-accent); }
.card-meta { font-size: .78rem; color: var(--lg-muted); margin-bottom: .75rem; }
.card-excerpt { color: var(--lg-text-2); font-size: .94rem; flex: 1; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more {
    margin-top: 1rem;
    font-family: var(--lg-head-font);
    font-size: .88rem;
    font-weight: 600;
    color: var(--lg-accent);
    align-self: flex-start;
}
.card-more:hover { color: var(--lg-accent-2); }

/* ---------- Пагинация ---------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: 2.6rem;
}
.pagination .page-numbers {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    padding: .55rem .8rem;
    border: 1px solid var(--lg-line);
    border-radius: 2px;
    background: #fff;
    color: var(--lg-text);
    font-family: var(--lg-head-font);
    font-size: .92rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pagination a.page-numbers:hover { border-color: var(--lg-accent); color: var(--lg-accent); }
.pagination .page-numbers.current {
    background: var(--lg-accent);
    border-color: var(--lg-accent);
    color: #fff;
}
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* ---------- Запись ---------- */
.page-title { margin-bottom: .8rem; }
.entry-meta {
    font-size: .85rem;
    color: var(--lg-muted);
    margin-bottom: 1.6rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--lg-line);
}
.entry-thumb { margin: 0 0 1.8rem; }
.entry-thumb img { display: block; width: 100%; border-radius: 4px; }
.entry-content { font-size: 1.02rem; }
.entry-content h2 {
    margin-top: 2rem;
    padding-left: 16px;
    border-left: 3px solid var(--lg-accent);
}
.entry-content h3 { margin-top: 1.7rem; }
.entry-content img { border-radius: 4px; }
.entry-tags { margin-top: 2rem; font-size: .85rem; color: var(--lg-muted); }
.entry-tags a {
    display: inline-block;
    background: rgba(99, 102, 241, .1);
    color: var(--lg-accent-2);
    padding: .25rem .55rem;
    border-radius: 2px;
    margin: 0 .3rem .3rem 0;
    font-size: .78rem;
}

.post-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--lg-line);
    font-size: .92rem;
}
.post-nav span { display: block; color: var(--lg-muted); font-size: .78rem; }

/* ---------- Комментарии ---------- */
.comments-area {
    margin-top: 3rem;
    padding: 1.8rem 1.8rem 2rem;
    background: #ffffff;
    border: 1px solid var(--lg-line);
    border-radius: 4px;
}
.comments-area h2 { font-size: 1.35rem; }
.comment-list { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.comment-list ul.children { list-style: none; padding-left: 1.6rem; }
.comment-item { margin-bottom: 1.4rem; }
.comment-box {
    border: 1px solid var(--lg-line);
    border-left: 3px solid var(--lg-accent);
    border-radius: 2px;
    padding: 1rem 1.2rem;
    background: var(--lg-bg);
}
.comment-author { font-family: var(--lg-head-font); font-weight: 600; color: var(--lg-dark); }
.comment-date { font-size: .78rem; color: var(--lg-muted); margin-left: .5rem; }
.comment-text { margin-top: .5rem; font-size: .95rem; }
.comment-text p:last-child { margin-bottom: 0; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    border: 1px solid var(--lg-line);
    border-radius: 2px;
    padding: .65rem .8rem;
    font-family: var(--lg-body-font);
    font-size: .95rem;
    background: #fff;
    color: var(--lg-text);
}
.comment-respond label { display: block; font-size: .85rem; color: var(--lg-muted); margin-bottom: .3rem; }
.comment-respond .submit {
    border: 1px solid var(--lg-accent);
    background: var(--lg-accent);
    color: #fff;
    font-family: var(--lg-head-font);
    font-size: .95rem;
    padding: .75rem 1.5rem;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.comment-respond .submit:hover { background: var(--lg-accent-dark); transform: translateY(-2px); }

/* ---------- Сайдбар ---------- */
.sidebar {
    background: var(--lg-side);
    border: 1px solid var(--lg-line);
    border-radius: 4px;
    padding: 1.5rem 1.4rem;
    min-width: 0;
}
.sidebar .widget { margin-bottom: 1.8rem; color: var(--lg-text); }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title,
.sidebar .widget h2 {
    font-size: 1.05rem;
    color: var(--lg-dark);
    padding-left: 14px;
    border-left: 3px solid var(--lg-accent);
    margin-bottom: 1rem;
}
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li {
    padding: .55rem 0;
    border-bottom: 1px solid var(--lg-line);
    font-size: .94rem;
}
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget a { color: var(--lg-text); }
.sidebar .widget a:hover { color: var(--lg-accent); }
.sidebar .post-date,
.sidebar .widget .post-date { display: block; font-size: .76rem; color: var(--lg-muted); }
.sidebar .textwidget { font-size: .94rem; color: var(--lg-text-2); }

/* ---------- Подвал ---------- */
.site-foot {
    background-color: var(--lg-dark);
    background-image:
        repeating-linear-gradient(0deg, rgba(30, 41, 59, 0.5) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(90deg, rgba(30, 41, 59, 0.5) 0 1px, transparent 1px 24px);
    color: #cbd5e1;
    padding: 3.5rem 0 1.8rem;
}
.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}
.foot-col { min-width: 0; }
.foot-col .widget { margin-bottom: 1.5rem; color: #cbd5e1; }
.foot-col .widget:last-child { margin-bottom: 0; }
.foot-col .widget-title,
.foot-col .widget h2 {
    color: #ffffff;
    font-size: 1.02rem;
    padding-left: 14px;
    border-left: 3px solid var(--lg-accent);
    margin-bottom: 1rem;
}
.foot-col .widget ul { list-style: none; margin: 0; padding: 0; }
.foot-col .widget li {
    padding: .4rem 0;
    font-size: .93rem;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}
.foot-col .widget li:last-child { border-bottom: 0; }
.foot-col .widget a { color: #cbd5e1; }
.foot-col .widget a:hover { color: var(--lg-accent); }
.foot-col .textwidget { color: #94a3b8; font-size: .93rem; }
.foot-col .post-date { display: block; font-size: .76rem; color: #94a3b8; }

.foot-bottom {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(148, 163, 184, .18);
    font-size: .84rem;
    color: #94a3b8;
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #0f172a;
    border-top: 3px solid var(--lg-accent);
    color: #e2e8f0;
    padding: 1.1rem 1.6rem;
    font-size: .9rem;
}
.cookie-banner p { margin: 0; max-width: 70ch; }
.cookie-banner .btn { padding: .6rem 1.3rem; font-size: .9rem; }

/* ---------- 404 ---------- */
.notfound { padding: 1rem 0 2rem; }
.notfound .search-form { margin: 1.6rem 0; }
.notfound .search-form input[type="search"] { width: 260px; }

/* ---------- Прочее ---------- */
.archive-intro { margin-bottom: 2rem; }
.no-posts { color: var(--lg-muted); }
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
    h1 { font-size: 2.1rem; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
    .layout-single .content-area { width: 100%; }
    .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step-card:nth-child(2)::after { display: none; }
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.8rem; }
    .stat-cell:nth-child(3) { border-left: 0; padding-left: 0; }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-plate { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
    .cta-path { max-width: 90px; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
    .section-title { font-size: 1.4rem; }
    .front-section { padding: 52px 0; }
    .nav-toggle { display: inline-block; }
    .site-nav { display: none; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; }
    .site-nav a { padding: .8rem .2rem; border-bottom: 1px solid rgba(148, 163, 184, .14); }
    .site-nav a:hover { border-bottom-color: var(--lg-accent); }
    .head-search { width: 100%; }
    .head-search .search-form input[type="search"] { width: 100%; }
    .steps-row { grid-template-columns: minmax(0, 1fr); }
    .step-card::after { display: none; }
    .stat-row { grid-template-columns: minmax(0, 1fr); row-gap: 1.6rem; }
    .stat-cell { border-left: 0; padding-left: 0; }
    .foot-cols { grid-template-columns: minmax(0, 1fr); }
    .comments-area { padding: 1.3rem 1.2rem 1.5rem; }
    .cookie-banner { padding: 1rem 1.2rem; }
    .hero-copy h1 { font-size: 1.85rem; }
    .cta-copy h2 { font-size: 1.55rem; }
}
