:root {
    --bg: #f4efe7;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: #fffdf8;
    --text: #1f1a16;
    --muted: #62554d;
    --line: rgba(54, 40, 32, 0.12);
    --brand: #b6532f;
    --brand-dark: #8f3d20;
    --shadow: 0 18px 45px rgba(36, 25, 18, 0.11);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container: 1180px;
}

.blog-hero .page-hero-card {
    max-width: 920px;
}

.blog-section {
    padding-top: 28px;
}

.blog-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.blog-category-nav a,
.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.86rem;
}

.blog-category-nav a:hover,
.blog-category-nav a.is-active {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 26px;
    border: 1px solid rgba(54, 40, 32, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow);
}

.blog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: -2px 0 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.82rem;
}

.blog-card-meta span {
    color: var(--brand-dark);
    background: rgba(182, 83, 47, 0.08);
    border-color: rgba(182, 83, 47, 0.18);
}

.blog-card h2 {
    margin: 22px 0 10px;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.12;
}

.blog-card h2 a {
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: var(--brand-dark);
}

.blog-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.blog-card .text-link {
    margin-top: auto;
}

.article-section {
    padding-top: 28px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
}

.article-content {
    max-width: 820px;
    min-width: 0;
}

.article-cover {
    margin: 0 0 24px;
    max-width: 100%;
    overflow: hidden;
}

.article-cover img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

@media (max-width: 760px) {
    .blog-card-image,
    .article-cover img {
        aspect-ratio: 4 / 3;
        max-height: 260px;
    }
}

.article-content h2 {
    margin: 30px 0 12px;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.12;
}

.article-content h2:first-of-type {
    margin-top: 0;
}

.article-content p,
.article-content li {
    color: var(--muted);
}

.article-lead {
    margin-top: 0;
    font-size: 1.12rem;
    color: var(--text) !important;
}

.article-steps {
    margin: 14px 0;
    padding-left: 24px;
}

.article-steps li + li {
    margin-top: 10px;
}

.article-callout {
    margin: 26px 0;
    padding: 20px;
    border-left: 4px solid var(--brand);
    border-radius: 14px;
    background: rgba(182, 83, 47, 0.08);
}

.article-callout p {
    margin: 6px 0 16px;
}

.article-callout .button {
    width: auto;
}

.article-sidebar {
    position: sticky;
    top: 104px;
}

.comparison-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    margin: 18px 0;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.comparison-table th {
    color: var(--text);
    background: rgba(255, 255, 255, 0.42);
}

.comparison-table td {
    color: var(--muted);
}

@media (max-width: 760px) {
    .comparison-table {
        display: block;
        min-width: 0;
        border: 0;
        overflow: visible;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table th,
    .comparison-table td {
        display: block;
        min-width: 0;
    }

    .comparison-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        overflow: hidden;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        overflow-wrap: anywhere;
    }

    .comparison-table td::before {
        display: block;
        margin-bottom: 3px;
        color: var(--text);
        font-size: 0.78rem;
        font-weight: 700;
    }

    .comparison-table td:nth-child(2)::before {
        content: "Мокрый фасад";
    }

    .comparison-table td:nth-child(3)::before {
        content: "Вентфасад";
    }

    .comparison-table td:last-child {
        border-bottom: 0;
    }

    .blog-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .blog-card,
    .page-hero-card,
    .content-card {
        padding: 22px;
    }

    .blog-card-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-callout .button {
        width: 100%;
    }
}

@media (prefers-color-scheme: dark) {
    .blog-card,
    .comparison-table th {
        background: rgba(22, 32, 29, 0.9);
        border-color: rgba(229, 222, 208, 0.12);
    }

    .blog-card-meta span {
        color: var(--brand);
        background: rgba(216, 131, 77, 0.12);
        border-color: rgba(216, 131, 77, 0.24);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(182, 83, 47, 0.16), transparent 28%),
        radial-gradient(circle at right center, rgba(36, 69, 61, 0.12), transparent 24%),
        var(--bg);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 1000;
    background: var(--brand);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(244, 239, 231, 0.82);
    border-bottom: 1px solid rgba(54, 40, 32, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), #d78b47);
    color: #fff;
    box-shadow: var(--shadow);
}

.brand-text {
    font-size: 1.05rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a,
.header-phone {
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s ease;
}

.main-nav a:hover,
.header-phone:hover {
    color: var(--brand-dark);
}

.header-phone {
    font-weight: 700;
    white-space: nowrap;
}

.header-phones {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.hero {
    position: relative;
    overflow: clip;
    padding: 72px 0 48px;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(28, 20, 16, 0.78), rgba(28, 20, 16, 0.28)),
        url("../img/fasadnye-raboty-kostroma-fascraft-hero.webp") center/cover no-repeat;
    transform: scale(1.03);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(244, 239, 231, 0), var(--bg));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 28px;
    align-items: end;
}

.hero-copy,
.hero-card,
.service-card,
.project-card,
.process-card,
.metric,
.lead-card,
.contacts-copy,
.trust-grid {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 34px;
    color: #fff9f3;
}

.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: #f6c887;
}

.hero h1,
.section-head h2 {
    margin: 0;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.hero h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.hero-lead {
    max-width: 60ch;
    margin: 22px 0 28px;
    font-size: 1.05rem;
    color: rgba(255, 249, 243, 0.86);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--brand);
    color: #fff;
}

.button-primary:hover {
    background: var(--brand-dark);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-points {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-points li::before {
    content: "•";
    margin-right: 10px;
    color: #f6c887;
}

.hero-card {
    padding: 28px;
    background: rgba(255, 248, 239, 0.92);
    color: var(--text);
}

.hero-card-label {
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--muted);
}

.hero-card-price {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
}

.hero-stats {
    display: grid;
    gap: 16px;
    margin: 24px 0 0;
}

.hero-stats div {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.hero-stats dt {
    font-size: 1.8rem;
    font-weight: 800;
}

.hero-stats dd {
    margin: 4px 0 0;
    color: var(--muted);
}

.trust-strip {
    padding: 18px 0 8px;
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(54, 40, 32, 0.08);
}

.trust-grid p {
    margin: 0;
    font-weight: 600;
}

.trust-grid ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.conversion-strip {
    padding: 34px 0 10px;
}

.conversion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.conversion-card {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 244, 0.68));
    border: 1px solid rgba(54, 40, 32, 0.08);
    box-shadow: 0 18px 42px rgba(54, 40, 32, 0.08);
}

.conversion-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #d47b47);
    font-weight: 800;
}

.conversion-card h2 {
    margin: 0 0 10px;
    font-size: 1.28rem;
    line-height: 1.18;
}

.conversion-card p {
    margin: 0;
    color: var(--muted);
}

.section {
    padding: 88px 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.38);
}

.reviews-section {
    background:
        radial-gradient(circle at 92% 12%, rgba(214, 139, 71, 0.16), transparent 35%),
        linear-gradient(145deg, rgba(31, 54, 47, 0.06), transparent 62%);
}

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
}

.reviews-copy h2 {
    max-width: 17ch;
    margin: 0 0 20px;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 1.08;
}

.reviews-copy > p:not(.eyebrow) {
    max-width: 56ch;
    color: var(--muted);
}

.reviews-copy .button {
    margin-top: 24px;
}

.reviews-note {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.reviews-note-number {
    display: inline-block;
    margin-bottom: 38px;
    color: var(--brand-dark);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.reviews-note h3 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.reviews-note p {
    color: var(--muted);
}

.reviews-note-small {
    margin: 28px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
}

.section-dark {
    background: linear-gradient(135deg, #1f362f, #152723);
    color: #f7f3ed;
}

.section-dark .eyebrow,
.section-dark .section-head p {
    color: rgba(247, 243, 237, 0.76);
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head h2 {
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.section-head p:last-child {
    margin: 14px 0 0;
    color: var(--muted);
    max-width: 62ch;
}

.service-grid,
.project-grid,
.process-grid,
.metrics-grid,
.contacts-grid,
.footer-inner {
    display: grid;
    gap: 22px;
}

.service-grid,
.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.project-card,
.metric,
.lead-card,
.contacts-copy {
    background: var(--surface);
    border: 1px solid rgba(54, 40, 32, 0.08);
}

.service-card,
.project-card,
.process-card,
.metric,
.contacts-copy,
.lead-card {
    padding: 24px;
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-card h3,
.project-card h3,
.process-card h3,
.contacts-copy h2,
.lead-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.service-card p,
.project-card p,
.process-card p,
.contacts-copy p,
.lead-card p,
.faq-item p {
    margin: 0;
    color: var(--muted);
}

.service-card-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(54, 40, 32, 0.12);
    margin: 0 0 14px;
}

.project-card-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: center;
    border-radius: 28px 28px 0 0;
    border-bottom: 1px solid rgba(54, 40, 32, 0.08);
}

.project-card.project-object-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: linear-gradient(180deg, #fffaf4, rgba(255, 255, 255, 0.92));
    border-color: rgba(54, 40, 32, 0.1);
}

.project-object-card::before,
.project-object-card::after {
    display: none;
}

.project-object-media {
    position: relative;
    margin: 12px 12px 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(31, 54, 47, 0.08);
    border: 1px solid rgba(54, 40, 32, 0.08);
}

.project-object-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(31, 54, 47, 0.32));
    pointer-events: none;
}

.project-object-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transition: transform 0.45s ease;
}

.project-object-card:hover .project-object-media img {
    transform: scale(1.045);
}

.project-object-card:first-child .project-object-media img {
    object-position: center 34%;
}

.project-object-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 24px 24px;
}

.project-object-card .project-top,
.project-object-card h3,
.project-object-card p {
    margin-left: 0;
    margin-right: 0;
}

.project-object-card .project-top {
    margin-top: 0;
    margin-bottom: 14px;
}

.project-object-card h3 {
    margin-bottom: 12px;
}

.project-object-card p {
    padding-bottom: 0;
}

.project-object-card p::after {
    content: none !important;
    display: none !important;
}

.project-object-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: auto 0 0;
    padding: 18px 0 0;
    list-style: none;
}

.project-object-meta li {
    min-height: 76px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(31, 54, 47, 0.06);
    border: 1px solid rgba(54, 40, 32, 0.08);
}

.project-object-meta strong,
.project-object-meta span {
    display: block;
}

.project-object-meta strong {
    color: var(--brand-dark);
    font-size: 1.02rem;
    line-height: 1.15;
}

.project-object-meta span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.25;
}

.service-card ul {
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 700;
}

.service-card-cta {
    margin-top: 18px;
    padding: 0 20px;
    min-height: 46px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #d47b47);
    border: 1px solid rgba(182, 83, 47, 0.42);
    box-shadow: 0 10px 22px rgba(182, 83, 47, 0.22);
}

.service-card-cta:hover {
    background: linear-gradient(135deg, var(--brand-dark), #c86c39);
    box-shadow: 0 14px 26px rgba(143, 61, 32, 0.28);
}

.single-link-card {
    margin-top: 22px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(54, 40, 32, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.single-link-card h3,
.single-link-card p {
    margin: 0;
}

.single-link-card p {
    margin-top: 12px;
    color: var(--muted);
}

.project-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.86rem;
    color: var(--muted);
}

.project-tag,
.project-time {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
}

#projects .section-head {
    max-width: none;
    margin-bottom: 28px;
    padding: 30px 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(216, 131, 77, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 239, 0.74));
    border: 1px solid rgba(54, 40, 32, 0.08);
    box-shadow: 0 24px 60px rgba(54, 40, 32, 0.08);
}

#projects .section-head::after {
    content: "320+ проектов";
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-top: 18px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(31, 54, 47, 0.08);
    color: var(--brand-dark);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.project-grid {
    gap: 24px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 244, 236, 0.92));
    box-shadow: 0 26px 50px rgba(54, 40, 32, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card::before {
    content: "";
    display: block;
    min-height: 180px;
    background:
        linear-gradient(180deg, rgba(31, 54, 47, 0.08), rgba(31, 54, 47, 0)),
        radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.5), transparent 18%),
        linear-gradient(135deg, #ffd48c, #e1844d 52%, #487f72);
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 18px 18px auto auto;
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(6px);
}

.project-card-photo::before,
.project-card-photo::after {
    display: none;
}

.project-card-photo .project-card-image {
    height: 260px;
    max-height: none;
    object-fit: cover;
    object-position: center 38%;
}

.project-card-photo .project-top {
    margin-top: 18px;
}

.project-card:nth-child(1)::before {
    background:
        linear-gradient(180deg, rgba(31, 54, 47, 0.08), rgba(31, 54, 47, 0)),
        radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.48), transparent 18%),
        linear-gradient(135deg, #ffe39b, #e28b50 55%, #5f9d8e);
}

.project-card:nth-child(2)::before {
    background:
        linear-gradient(180deg, rgba(31, 54, 47, 0.1), rgba(31, 54, 47, 0)),
        radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.42), transparent 16%),
        linear-gradient(135deg, #d8e9f0, #7ba9b7 50%, #274850);
}

.project-card:nth-child(3)::before {
    background:
        linear-gradient(180deg, rgba(31, 54, 47, 0.08), rgba(31, 54, 47, 0)),
        radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.42), transparent 16%),
        linear-gradient(135deg, #f9d3a1, #d77943 46%, #704532);
}

.project-object-card::before,
.project-object-card::after {
    display: none;
    content: none;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 56px rgba(54, 40, 32, 0.14);
    border-color: rgba(182, 83, 47, 0.24);
}

.project-card > * {
    position: relative;
    z-index: 1;
}

.project-card .project-top,
.project-card h3,
.project-card p {
    margin-left: 24px;
    margin-right: 24px;
}

.project-card .project-top {
    margin-top: -22px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.project-tag,
.project-time {
    background: rgba(255, 250, 244, 0.9);
    border: 1px solid rgba(54, 40, 32, 0.08);
    box-shadow: 0 12px 24px rgba(36, 25, 18, 0.08);
}

.project-tag {
    color: var(--brand-dark);
    font-weight: 800;
}

.project-time {
    color: var(--muted);
    font-weight: 700;
}

.project-card h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.12;
}

.project-card p {
    padding-bottom: 24px;
}

.project-card:nth-child(1) p::after,
.project-card:nth-child(2) p::after,
.project-card:nth-child(3) p::after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(54, 40, 32, 0.08);
    color: var(--text);
    font-weight: 800;
    white-space: pre-line;
}

.project-card:nth-child(1) p::after {
    content: "180 м²\Aплощадь фасада" "14 дней\Aсрок работ";
}

.project-card:nth-child(2) p::after {
    content: "240 м²\Aобъем монтажа" "3 слоя\Aподсистема и облицовка";
}

.project-card:nth-child(3) p::after {
    content: "6 узлов\Aвосстановлено" "до / после\Aвидимый результат";
}

.project-object-card .project-top,
.project-object-card h3,
.project-object-card p {
    margin-left: 0;
    margin-right: 0;
}

.project-object-card .project-top {
    margin-top: 0;
}

.project-object-card p {
    padding-bottom: 0;
}

.project-object-card p::after {
    content: none !important;
    display: none !important;
}

.process-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 800;
    margin-bottom: 18px;
}

.metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric {
    text-align: center;
    background: var(--surface-strong);
}

.metric strong {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
}

.price-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.price-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.78);
}

.price-table th,
.price-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(54, 40, 32, 0.08);
}

.price-table th {
    background: rgba(182, 83, 47, 0.08);
}

.price-note {
    margin: 18px 0 0;
    color: var(--muted);
}

.winter-service-page .winter-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(170, 212, 230, 0.42), transparent 32%),
        linear-gradient(180deg, rgba(232, 244, 248, 0.88), rgba(250, 247, 241, 0.35));
}

.winter-service-page .winter-hero-card {
    background:
        radial-gradient(circle at 82% 14%, rgba(123, 178, 203, 0.24), transparent 30%),
        rgba(255, 255, 255, 0.84);
}

.winter-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.winter-price-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(73, 131, 157, 0.18);
    box-shadow: 0 16px 36px rgba(50, 91, 110, 0.12);
}

.winter-price-card span {
    display: block;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 6px;
}

.winter-price-card strong {
    display: block;
    color: var(--green);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.05;
}

.winter-note {
    background:
        radial-gradient(circle at top right, rgba(170, 212, 230, 0.26), transparent 34%),
        var(--surface);
}

.winter-note .button {
    margin-top: 14px;
}

.winter-cta {
    background:
        linear-gradient(135deg, rgba(31, 54, 47, 0.96), rgba(42, 101, 126, 0.9)),
        var(--green);
}

.faq-section {
    padding-top: 72px;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    padding: 22px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(54, 40, 32, 0.08);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 14px;
    max-width: 70ch;
}

.contacts-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    align-items: start;
}

#lead-form {
    scroll-margin-top: 96px;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list span {
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.contact-list a,
.contact-list b {
    font-size: 1.1rem;
    text-decoration: none;
}

.contact-list a + a {
    display: block;
    margin-top: 6px;
}

.lead-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.lead-intro {
    font-size: 0.92rem;
    color: var(--muted);
}

.lead-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lead-form-row-compact {
    align-items: end;
}

.lead-form label {
    display: grid;
    gap: 5px;
}

.lead-form span {
    font-weight: 600;
    font-size: 0.9rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    border: 1px solid rgba(54, 40, 32, 0.14);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
}

.lead-form select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--brand-dark) 50%),
        linear-gradient(135deg, var(--brand-dark) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

.lead-form textarea {
    resize: vertical;
    min-height: 68px;
}

.captcha-note,
.form-alert {
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.86rem;
}

.captcha-note {
    background: rgba(182, 83, 47, 0.08);
    border: 1px solid rgba(182, 83, 47, 0.16);
    color: var(--text);
}

.captcha-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.captcha-refresh {
    border: 1px solid rgba(182, 83, 47, 0.22);
    border-radius: 10px;
    padding: 8px 12px;
    background: rgba(182, 83, 47, 0.08);
    color: var(--brand-dark);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.captcha-refresh:hover {
    background: rgba(182, 83, 47, 0.14);
}

@media (max-width: 760px) {
    .captcha-line {
        grid-template-columns: 1fr;
    }
}

.form-alert {
    background: rgba(143, 61, 32, 0.1);
    border: 1px solid rgba(143, 61, 32, 0.18);
    color: var(--brand-dark);
}

.form-alert[data-state="success"] {
    background: rgba(31, 97, 63, 0.1);
    border-color: rgba(31, 97, 63, 0.2);
    color: #1f613f;
}

.consent-check {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(54, 40, 32, 0.08);
}

.consent-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--brand);
}

.consent-check span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.consent-check a {
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: none;
}

.file-picker {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px dashed rgba(54, 40, 32, 0.18);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(248, 240, 233, 0.92));
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.file-picker:hover {
    border-color: rgba(182, 83, 47, 0.42);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(54, 40, 32, 0.08);
}

.file-picker-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), #d78b47);
    color: #fff;
    box-shadow: 0 14px 26px rgba(182, 83, 47, 0.2);
}

.file-picker-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.file-picker-copy {
    display: grid;
    gap: 4px;
}

.file-picker-copy b {
    font-size: 0.9rem;
}

.file-picker-copy small {
    color: var(--muted);
    font-size: 0.78rem;
}

.file-field input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-picker:has(input[type="file"]:focus-visible) {
    outline: 3px solid rgba(182, 83, 47, 0.28);
    outline-offset: 3px;
}

.file-field small {
    color: var(--muted);
    font-size: 0.78rem;
}

.file-list {
    display: grid;
    gap: 8px;
}

.file-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(54, 40, 32, 0.08);
    color: var(--muted);
    font-size: 0.94rem;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
}

.spam-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    padding: 28px 0 42px;
}

.page-hero {
    padding: 56px 0 24px;
}

.breadcrumb {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.94rem;
}

.breadcrumb a {
    text-decoration: none;
}

.page-hero-card,
.content-card,
.cta-strip {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(54, 40, 32, 0.08);
    box-shadow: var(--shadow);
}

.page-hero-card h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.page-hero-card p {
    margin: 18px 0 0;
    color: var(--muted);
    max-width: 62ch;
}

.service-page-visual {
    margin: 22px 0 0;
}

.service-page-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(54, 40, 32, 0.12);
}

.notfound-hero {
    min-height: calc(100vh - 164px);
    display: grid;
    align-items: center;
}

.notfound-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: center;
}

.notfound-copy h1 {
    max-width: 14ch;
}

.notfound-actions {
    margin-top: 24px;
    margin-bottom: 0;
}

.notfound-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(54, 40, 32, 0.2);
}

.notfound-secondary:hover {
    background: #fff;
}

.notfound-illustration {
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(54, 40, 32, 0.08);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.notfound-illustration img {
    display: block;
    width: 100%;
    height: auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
}

.content-card h2,
.content-card h3 {
    margin-top: 0;
}

.content-card p,
.content-card li {
    color: var(--muted);
}

.check-list,
.link-list {
    margin: 16px 0 0;
    padding-left: 18px;
}

.cta-strip {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
}

.cta-strip p {
    margin: 0;
    color: var(--muted);
}

.cta-strip .button {
    flex-shrink: 0;
    min-width: 190px;
    text-align: center;
    line-height: 1.1;
    align-self: center;
}

.footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 22px;
    border-top: 1px solid rgba(54, 40, 32, 0.12);
}

.footer-inner p {
    margin: 6px 0 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--muted);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(182, 83, 47, 0.35);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .hero-grid,
    .service-grid,
    .project-grid,
    .process-grid,
    .metrics-grid,
    .conversion-grid,
    .content-grid,
    .contacts-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-radius: 20px;
        background: rgba(255, 250, 244, 0.97);
        border: 1px solid rgba(54, 40, 32, 0.08);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-phone,
    .header-phones {
        display: none;
    }

    .notfound-wrap {
        grid-template-columns: 1fr;
    }

    #projects .section-head {
        padding: 26px 24px;
    }

    .project-card::before {
        min-height: 156px;
    }
}

@media (max-width: 980px) and (prefers-color-scheme: dark) {
    :root {
        --bg: #111a18;
        --surface: rgba(23, 33, 30, 0.88);
        --surface-strong: #1a2422;
        --text: #e9e4db;
        --muted: #b9b1a3;
        --line: rgba(229, 222, 208, 0.16);
        --brand: #d8834d;
        --brand-dark: #e79a68;
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    }

    body {
        background:
            radial-gradient(circle at top left, rgba(216, 131, 77, 0.14), transparent 28%),
            radial-gradient(circle at right center, rgba(66, 116, 102, 0.16), transparent 24%),
            var(--bg);
    }

    .site-header {
        background: rgba(14, 22, 20, 0.86);
        border-bottom-color: rgba(229, 222, 208, 0.12);
    }

    .reviews-section {
        background: radial-gradient(circle at 92% 12%, rgba(216, 131, 77, 0.1), transparent 35%);
    }

    .brand-mark {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    }

    .main-nav {
        background: rgba(20, 30, 27, 0.97);
        border-color: rgba(229, 222, 208, 0.12);
    }

    .menu-toggle {
        background: rgba(24, 35, 32, 0.9);
    }

    .menu-toggle span {
        background: #ece6dc;
    }

      .section-alt,
      .faq-item,
      .trust-grid,
      .conversion-card,
      .page-hero-card,
      .content-card,
      .cta-strip {
          background: rgba(22, 32, 29, 0.78);
      }

    .service-card,
    .project-card,
    .project-card.project-object-card,
    .metric,
    .lead-card,
    .contacts-copy,
    .hero-card,
    .notfound-illustration {
        background: rgba(22, 32, 29, 0.9);
    }

    #projects .section-head,
    .single-link-card,
    .price-table,
    .price-table th,
    .project-object-meta li {
        background: rgba(22, 32, 29, 0.86);
        border-color: rgba(229, 222, 208, 0.12);
    }

    .project-tag,
    .project-time {
        background: rgba(24, 35, 32, 0.94);
        border-color: rgba(229, 222, 208, 0.14);
        box-shadow: none;
    }

    .project-object-media,
    .service-card-image {
        border-color: rgba(229, 222, 208, 0.12);
    }

    .winter-service-page .winter-hero {
        background:
            radial-gradient(circle at top left, rgba(95, 150, 174, 0.18), transparent 28%),
            var(--bg);
    }

    .winter-price-card,
    .winter-note {
        background: rgba(18, 27, 24, 0.88);
        border-color: rgba(229, 222, 208, 0.12);
        box-shadow: none;
    }

    .price-table td,
    .price-table th {
        border-bottom-color: rgba(229, 222, 208, 0.12);
    }

    .lead-form input,
    .lead-form textarea {
        background: rgba(18, 27, 24, 0.94);
        color: var(--text);
        border-color: rgba(229, 222, 208, 0.16);
    }

    .lead-form input::placeholder,
    .lead-form textarea::placeholder {
        color: rgba(233, 228, 219, 0.46);
    }

    .captcha-note,
    .form-alert {
        background: rgba(216, 131, 77, 0.12);
        border-color: rgba(216, 131, 77, 0.24);
        color: var(--text);
    }

    .button-secondary,
    .notfound-secondary {
        color: #f3eee4;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.22);
    }

    .file-picker,
    .consent-check,
    .file-item {
        background: rgba(18, 27, 24, 0.94);
        border-color: rgba(229, 222, 208, 0.14);
    }

    .file-picker {
        background: linear-gradient(135deg, rgba(18, 27, 24, 0.96), rgba(27, 39, 35, 0.94));
    }

    .price-table tr {
        background: rgba(18, 27, 24, 0.94);
    }
}

@media (max-width: 720px) {
    .reviews-layout {
        grid-template-columns: 1fr;
    }

    .reviews-note-number {
        margin-bottom: 20px;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-copy,
    .hero-card,
    .service-card,
    .project-card,
    .process-card,
    .metric,
    .contacts-copy,
    .lead-card {
        padding: 22px;
    }

    #lead-form {
        scroll-margin-top: 76px;
    }

    .lead-card {
        padding: 18px;
    }

    .lead-card h3 {
        margin-bottom: 8px;
    }

    .lead-intro {
        font-size: 0.88rem;
    }

    .hero-actions,
    .trust-grid ul {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 72px 0;
    }

    .conversion-strip {
        padding: 26px 0 0;
    }

    .conversion-card {
        padding: 20px;
        border-radius: 18px;
    }

    .cta-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .lead-form-row {
        grid-template-columns: 1fr;
    }

    .lead-form {
        gap: 8px;
        margin-top: 10px;
    }

    .lead-form input,
    .lead-form textarea {
        padding: 9px 11px;
    }

    .lead-form textarea {
        min-height: 56px;
    }

    .file-picker {
        grid-template-columns: 32px 1fr;
        padding: 8px;
    }

    .file-picker-icon {
        width: 32px;
        height: 32px;
    }

    .file-picker-copy small,
    .file-field small,
    .form-note {
        display: none;
    }

    .consent-check {
        padding: 9px 10px;
    }

    /* Keep service cards visually compact on phones */
    .service-grid {
        justify-items: center;
    }

    .service-grid .service-card {
        width: 100%;
        max-width: 560px;
    }

    .service-grid .service-card .service-card-cta {
        width: auto;
        min-width: 160px;
        align-self: flex-start;
    }

    .service-grid .service-card h3 {
        line-height: 1.15;
    }

    #projects .section-head {
        padding: 22px 20px;
        border-radius: 24px;
    }

    #projects .section-head::after {
        min-height: 38px;
        margin-top: 14px;
        padding: 0 14px;
        font-size: 0.95rem;
    }

    .project-grid {
        justify-items: center;
    }

    .project-grid .project-card {
        width: 100%;
        max-width: 560px;
        border-radius: 24px;
    }

    .project-card.project-object-card {
        padding: 0;
    }

    .project-object-media {
        margin: 14px 14px 0;
        aspect-ratio: 16 / 10;
        border-radius: 18px;
    }

    .project-object-body {
        padding: 16px 20px 22px;
    }

    .project-card-image {
        max-height: 240px;
    }

    .project-card-photo .project-card-image {
        height: 220px;
    }

    .project-card::before {
        min-height: 138px;
    }

    .project-card::after {
        top: 14px;
        right: 14px;
        width: 62px;
        height: 62px;
        border-radius: 18px;
    }

    .project-card .project-top,
    .project-card h3,
    .project-card p {
        margin-left: 22px;
        margin-right: 22px;
    }

    .project-card h3 {
        line-height: 1.1;
    }

    .project-card:nth-child(1) p::after,
    .project-card:nth-child(2) p::after,
    .project-card:nth-child(3) p::after {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .project-object-card .project-top,
    .project-object-card h3,
    .project-object-card p {
        margin-left: 0;
        margin-right: 0;
    }

    .project-object-meta {
        grid-template-columns: 1fr;
    }

    /* Price table: no horizontal scrolling on phones */
    .price-table-wrap {
        overflow: visible;
        box-shadow: none;
        border-radius: 0;
    }

    .price-table {
        min-width: 0;
        background: transparent;
    }

    .price-table thead {
        display: none;
    }

    .price-table tbody {
        display: grid;
        gap: 10px;
    }

    .price-table tr {
        display: grid;
        gap: 6px;
        padding: 14px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(54, 40, 32, 0.1);
        box-shadow: 0 10px 24px rgba(36, 25, 18, 0.08);
    }

    .price-table td {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding: 4px 0;
        border-bottom: 1px dashed rgba(54, 40, 32, 0.12);
        word-break: break-word;
    }

    .price-table td:last-child {
        border-bottom: 0;
        color: var(--brand-dark);
        font-weight: 800;
    }

    .price-table td::before {
        color: var(--muted);
        font-weight: 600;
    }

    .price-table td:nth-child(1)::before {
        content: "Услуга";
    }

    .price-table td:nth-child(2)::before {
        content: "Ед.";
    }

    .price-table td:nth-child(3)::before {
        content: "Цена";
    }
}

@media (max-width: 980px) and (prefers-color-scheme: dark) {
    .price-table tr {
        background: rgba(18, 27, 24, 0.94);
        border-color: rgba(229, 222, 208, 0.14);
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
    }

    .price-table td {
        border-bottom-color: rgba(229, 222, 208, 0.14);
    }

    .price-table td:last-child {
        color: var(--brand-dark);
    }

    .project-card.project-object-card,
    .conversion-card,
    .single-link-card,
    .cta-strip,
    .lead-card,
    .contacts-copy {
        color: var(--text);
        background: rgba(22, 32, 29, 0.9);
        border-color: rgba(229, 222, 208, 0.12);
    }

    .project-object-meta li {
        background: rgba(18, 27, 24, 0.82);
    }
}

@media (max-width: 480px) {
    .container {
        width: min(var(--container), calc(100% - 20px));
    }

    .winter-price-grid {
        grid-template-columns: 1fr;
    }

    .service-grid .service-card {
        max-width: 420px;
    }

    .project-grid .project-card {
        max-width: 420px;
    }

    .project-object-media {
        aspect-ratio: 4 / 3;
    }

    .project-card-image {
        max-height: 200px;
    }

    .project-card-photo .project-card-image {
        height: 180px;
    }

    .project-card .project-top,
    .project-card h3,
    .project-card p {
        margin-left: 18px;
        margin-right: 18px;
    }

    .project-card p {
        font-size: 0.98rem;
    }

    .project-object-card .project-top,
    .project-object-card h3,
    .project-object-card p {
        margin-left: 0;
        margin-right: 0;
    }

    .project-object-body {
        padding: 15px 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.electrical-service-page .electrical-hero {
    background: radial-gradient(circle at 88% 5%, rgba(182, 83, 47, 0.14), transparent 34%);
}

.electrical-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: start;
}

.electrical-hero-card h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.electrical-hero-card .eyebrow {
    margin-top: 0;
}

.electrical-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.electrical-hero-actions .button-secondary {
    color: var(--text);
    border-color: var(--line);
    background: var(--surface-strong);
}

.electrical-hero-actions .button-secondary:hover {
    background: var(--surface);
}

.electrical-hero-card .electrical-launch-note {
    margin-top: 20px;
    padding-left: 14px;
    border-left: 3px solid var(--brand);
    font-size: 0.9rem;
}

.electrical-hero-visual {
    min-width: 0;
    margin: 0;
}

.electrical-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 65% center;
    border-radius: 20px;
}

.electrical-hero-visual figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.8rem;
}

.electrical-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.electrical-offer-grid .content-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.electrical-offer-grid .content-card h3 {
    margin: 14px 0 0;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.electrical-offer-grid .content-card p {
    flex: 1;
}

.electrical-card-number {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.electrical-offer-grid .text-link {
    margin-top: 20px;
}

.electrical-faq {
    display: grid;
    gap: 12px;
}

@media (max-width: 980px) {
    .electrical-offer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .electrical-hero-card,
    .electrical-offer-grid {
        grid-template-columns: 1fr;
    }

    .electrical-hero-visual img {
        aspect-ratio: 16 / 10;
    }

    .electrical-hero-actions .button {
        flex: 1 1 100%;
        text-align: center;
    }
}
