:root {
    --ink: #07134d;
    --muted: #3c466b;
    --muted-soft: #66708d;
    --blue: #121fc4;
    --blue-hover: #07139d;
    --line: #dde3ef;
    --panel: #ffffff;
    --soft: #f5f8ff;
    --success: #059b67;
    --shadow: 0 14px 40px rgba(9, 25, 83, 0.08);
    --container: 1392px;
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: calc(100% - 48px);
    max-width: var(--container);
    margin-inline: auto;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #e6ebf4;
    backdrop-filter: blur(14px);
}

.header-container {
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.logo span span {
    color: #6b78ff;
}

.logo-mark {
    width: 31px;
    height: 31px;
    position: relative;
    background: linear-gradient(135deg, #9aa3ff, #6271ff);
    clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
    border: 2px solid #101aab;
    box-shadow: inset -8px -4px 0 rgba(9, 18, 160, 0.18);
}

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

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 66px;
    position: relative;
    color: #020d3f;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active,
.link-more:hover,
.btn-link:hover {
    color: var(--blue-hover);
}

.main-nav a.is-active::after {
    content: "";
    height: 2px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-actions .btn {
    white-space: nowrap;
}

.btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn i {
    font-size: 21px;
}

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

.btn-primary {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 10px 22px rgba(18, 31, 196, 0.16);
}

.btn-primary:hover {
    background: var(--blue-hover);
}

.btn-outline {
    color: var(--blue);
    background: #fff;
    border-color: var(--blue);
}

.btn-outline:hover {
    background: #f5f7ff;
}

.btn-white {
    color: var(--ink);
    background: #fff;
    border-color: #fff;
}

.btn-dark-outline {
    color: #fff;
    background: transparent;
    border-color: transparent;
}

.btn-large {
    min-width: 214px;
    height: 50px;
    padding-inline: 27px;
    font-size: 15px;
}

.btn-icon {
    width: 39px;
    height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--blue);
    border-radius: 999px;
    color: var(--blue);
    font-size: 22px;
}

.hero {
    background:
        radial-gradient(circle at 82% 28%, rgba(18, 31, 196, 0.08), rgba(18, 31, 196, 0) 32%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    padding: 0;
    overflow: hidden;
}

.hero-container {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(480px, 0.9fr) minmax(620px, 1.1fr);
    align-items: center;
    gap: 58px;
    min-width: 0;
    padding: 32px 0 28px;
}

.hero-content,
.feature-card > div,
.calc-content,
.step-text {
    min-width: 0;
}

.hero-content h1,
.hero-content p,
.feature-card p,
.calc-content p,
.step p {
    overflow-wrap: anywhere;
}

.badge {
    width: max-content;
    margin-bottom: 16px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #e9ecff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

h1 {
    max-width: 620px;
    margin-bottom: 18px;
    color: var(--ink);
    font-size: 44px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.hero p {
    max-width: 520px;
    margin-bottom: 28px;
    color: #1f2a5d;
    font-size: 16px;
    line-height: 1.72;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 26px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    color: #07133f;
    font-size: 13px;
    font-weight: 600;
}

.hero-features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-features i {
    color: var(--success);
    font-size: 16px;
}

.hero-image {
    min-height: 372px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-image img {
    width: min(100%, 790px);
    height: auto;
    filter: drop-shadow(0 22px 28px rgba(11, 20, 55, 0.08));
}

.features-row {
    background: #fff;
    padding: 22px 0 34px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: #fff;
    overflow: hidden;
}

.feature-card {
    min-height: 118px;
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 20px;
    padding: 24px 30px;
    position: relative;
}

.feature-card + .feature-card::before {
    content: "";
    width: 1px;
    height: 38px;
    position: absolute;
    left: 0;
    top: 50%;
    background: #d7deec;
    transform: translateY(-50%);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eef2fb;
}

.feature-icon img,
.step-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.feature-card h3 {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.feature-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.calculators-section {
    background: #fff;
    padding: 12px 0 42px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

h2 {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.link-more,
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.calc-card {
    min-height: 198px;
    display: grid;
    grid-template-columns: 104px 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.calc-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    border-right: 1px solid #edf1f7;
}

.calc-img img {
    max-width: 88px;
    max-height: 108px;
    object-fit: contain;
}

.calc-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 18px 16px;
}

.calc-content h3 {
    margin-bottom: 10px;
    color: #050d36;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}

.calc-content p {
    flex: 1;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.badge-new {
    padding: 4px 10px;
    border-radius: 999px;
    background: #dff6e7;
    color: var(--success);
    font-size: 10px;
    font-weight: 800;
}

.how-it-works {
    background: #fff;
    padding: 6px 0 54px;
}

.steps-row {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 38px 1fr 38px 1fr 38px 1fr;
    align-items: center;
    gap: 24px;
}

.step {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    gap: 14px;
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef2fb;
}

.step h4 {
    margin-bottom: 4px;
    color: #050d36;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}

.step p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.step-arrow {
    justify-self: center;
    color: #bdc8de;
    font-size: 25px;
}

.partners {
    background: linear-gradient(180deg, #f4f7fc 0%, #edf2f8 100%);
    padding: 36px 0 30px;
}

.partners-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.partners h4 {
    color: #162155;
    font-size: 12px;
    font-weight: 700;
}

.partners-logos {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    opacity: 0.72;
}

.partners-logos img {
    width: 118px;
    height: 28px;
    object-fit: contain;
    filter: grayscale(1);
}

.cta-banner {
    background: linear-gradient(180deg, #edf2f8 0%, #fff 100%);
    padding: 10px 0 34px;
}

.cta-inner {
    min-height: 112px;
    display: grid;
    grid-template-columns: 68px 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 26px 36px;
    border-radius: 8px;
    background: linear-gradient(100deg, #05145f 0%, #071765 55%, #0c2188 100%);
    color: #fff;
}

.cta-icon {
    width: 58px;
    height: 58px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 45px;
}

.cta-icon span {
    width: 18px;
    height: 18px;
    position: absolute;
    right: 4px;
    bottom: 2px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: #071765;
    font-size: 12px;
    font-weight: 800;
}

.cta-text h2 {
    margin-bottom: 2px;
    color: #fff;
    font-size: 22px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 22px;
}

@media (max-width: 1180px) {
    .main-nav ul {
        gap: 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        justify-content: center;
        min-height: auto;
    }

    .features-container,
    .calc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card + .feature-card::before {
        display: none;
    }

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

    .step-arrow {
        display: none;
    }
}

@media (max-width: 900px) {
    .container {
        width: calc(100% - 28px);
        max-width: var(--container);
    }

    .header-container {
        height: auto;
        min-height: 66px;
        flex-wrap: wrap;
        padding-block: 12px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        min-width: 0;
        overflow-x: auto;
    }

    .main-nav ul {
        width: max-content;
        padding-bottom: 2px;
    }

    .hero {
        padding-top: 28px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    h1 {
        font-size: 32px;
    }

    .hero-features {
        gap: 14px;
    }

    .calc-card {
        grid-template-columns: 82px 1fr;
    }

    .partners-container,
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .partners-logos {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .cta-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .logo {
        font-size: 21px;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .badge {
        font-size: 11px;
    }

    h1 {
        font-size: 29px;
    }

    .hero-container {
        padding: 22px 0 20px;
    }

    .hero-content,
    .hero-content h1,
    .hero-content p {
        max-width: 100%;
        word-break: break-word;
    }

    .hero-buttons,
    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-image img {
        width: 100%;
    }

    .features-container,
    .calc-grid,
    .steps-row {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .step {
        grid-template-columns: 54px 1fr;
    }

    .calc-card {
        min-height: 150px;
    }
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 18px;
    color: #344184;
    font-size: 12px;
}

.breadcrumbs a {
    color: var(--blue);
}

.breadcrumbs a[aria-current="page"] {
    color: #344184;
    font-weight: 600;
}

.contractors-hero {
    background:
        radial-gradient(circle at 73% 21%, rgba(18, 31, 196, 0.07), rgba(18, 31, 196, 0) 36%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border-top: 1px solid #edf1f7;
}

.contractors-hero-grid {
    min-height: 288px;
    display: grid;
    grid-template-columns: minmax(390px, 0.95fr) minmax(320px, 0.82fr) 252px;
    align-items: start;
    gap: 30px;
    padding: 20px 0 34px;
    min-width: 0;
}

.contractors-copy {
    padding-top: 18px;
    min-width: 0;
}

.contractors-copy h1,
.contractors-copy p,
.contractor-row-body,
.contractor-profile,
.how-card,
.filter-bar label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.badge-shield {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.contractors-copy p {
    max-width: 570px;
    margin-bottom: 24px;
    color: #15205c;
    font-size: 15px;
    line-height: 1.65;
}

.contractor-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(82px, 1fr));
    max-width: 500px;
    gap: 18px;
}

.contractor-benefits li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 9px;
    color: #111a54;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.contractor-benefits i,
.why-grid i,
.trust-grid i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 18px;
}

.contractors-visual {
    align-self: end;
    margin-top: -34px;
}

.contractors-visual img {
    width: 100%;
    max-width: 435px;
    margin-inline: auto;
    filter: drop-shadow(0 18px 24px rgba(9, 25, 83, 0.08));
}

.how-card,
.filter-bar,
.contractors-list,
.contractor-profile,
.why-contractors .container {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(9, 25, 83, 0.055);
}

.how-card {
    margin-top: 34px;
    padding: 22px 18px;
}

.how-card h3 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 800;
}

.how-card ol {
    display: grid;
    gap: 13px;
    margin-bottom: 18px;
    list-style: none;
}

.how-card li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: center;
    color: #18225d;
    font-size: 12px;
    font-weight: 600;
}

.how-card li span {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.contractors-search {
    padding: 0 0 18px;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto auto;
    gap: 14px;
    padding: 14px;
}

.filter-bar label,
.list-head label {
    min-height: 52px;
    display: grid;
    align-content: center;
    position: relative;
    padding: 9px 34px 9px 44px;
    border: 1px solid #dfe5f1;
    border-radius: 8px;
    color: #0b1550;
    background: #fff;
}

.filter-bar label > span,
.list-head label > span {
    color: #66708d;
    font-size: 10px;
    line-height: 1;
}

.filter-bar label > span i {
    position: absolute;
    left: 14px;
    top: 17px;
    color: var(--blue);
    font-size: 18px;
}

.filter-bar label strong,
.list-head label strong {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.1;
}

.filter-bar select,
.list-head select {
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    border: 0;
    outline: 0;
    appearance: none;
    background: transparent;
    color: #07134d;
    font: inherit;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 800;
    cursor: pointer;
}

.filter-bar label > i,
.list-head label > i {
    position: absolute;
    right: 13px;
    top: 21px;
    color: #5c6684;
}

.filter-bar .btn {
    height: 52px;
    white-space: nowrap;
}

.is-hidden {
    display: none !important;
}

.list-empty {
    margin-top: 14px;
    padding: 16px;
    border: 1px dashed #cfd8ec;
    border-radius: 8px;
    background: #fbfcff;
    color: #5e6884;
    font-size: 13px;
    font-weight: 700;
}

.contractors-main {
    padding: 0 0 18px;
}

.contractors-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.contractors-layout.is-empty {
    grid-template-columns: 1fr;
}

.contractors-list,
.contractor-profile {
    padding: 22px;
}

.list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.list-head h2 {
    font-size: 18px;
}

.list-head label {
    width: 150px;
    min-height: 48px;
    padding-left: 14px;
}

.contractor-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 130px;
    gap: 18px;
    position: relative;
    padding: 18px 14px;
    border-top: 1px solid #edf1f7;
}

.contractor-row.is-active {
    border: 1.5px solid #4352ff;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(18, 31, 196, 0.06);
}

.contractor-row img,
.contractor-logo {
    width: 112px;
    height: 94px;
    align-self: center;
    border-radius: 6px;
    object-fit: cover;
}

.contractor-logo {
    display: grid;
    place-items: center;
    padding: 10px;
    color: #151f50;
    background: #f8fafc;
    border: 1px solid #e4eaf4;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.top-badge,
.profile-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.top-badge {
    width: 30px;
    height: 18px;
    position: absolute;
    top: 14px;
    left: 14px;
}

.row-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.row-title h3 {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.row-title span,
.verified {
    padding: 5px 10px;
    border-radius: 999px;
    color: #06936b;
    background: #e7f7ee;
    font-size: 10px;
    font-weight: 800;
}

.contractor-row-body p {
    color: #3d4669;
    font-size: 11px;
    line-height: 1.7;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tags span {
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--blue);
    background: #eef2ff;
    font-size: 10px;
    font-weight: 700;
}

.row-actions {
    display: grid;
    justify-items: stretch;
    gap: 8px;
    align-content: start;
    text-align: right;
}

.row-actions strong,
.rating {
    color: #0b1550;
    font-size: 12px;
}

.row-actions strong i,
.rating i,
.stars,
.review-score span {
    color: #f59f00;
}

.row-actions .btn {
    min-height: 32px;
    padding-inline: 12px;
    font-size: 11px;
}

.compare {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #66708d;
    font-size: 11px;
}

.show-more {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    border-radius: 8px;
    background: #f8faff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.contractor-profile {
    position: relative;
}

.contractor-profile .profile-top {
    width: 34px;
    height: 20px;
    position: absolute;
    top: 37px;
    right: 22px;
}

.contractor-profile h2 {
    margin: 14px 0 8px;
    font-size: 24px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.profile-stats span {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 8px;
    color: #3d4669;
    font-size: 11px;
    line-height: 1.35;
}

.profile-stats i {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid #dbe2f0;
    border-radius: 6px;
    color: var(--blue);
}

.profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.profile-actions .btn {
    min-height: 48px;
}

.country {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 12px 0 24px;
    color: #33406e;
    font-size: 12px;
    font-weight: 600;
}

.contractor-profile h3 {
    margin: 20px 0 9px;
    font-size: 15px;
    font-weight: 800;
}

.contractor-profile p {
    color: #34405e;
    font-size: 12px;
    line-height: 1.65;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.work-list span {
    display: flex;
    gap: 8px;
    color: #25305e;
    font-size: 12px;
}

.work-list i {
    color: #06936b;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.work-gallery img {
    width: 100%;
    aspect-ratio: 1.25;
    border-radius: 6px;
    object-fit: cover;
}

.review-box {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 18px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #e5eaf4;
    border-radius: 8px;
}

.review-score {
    display: grid;
    justify-items: center;
    align-content: center;
}

.review-score strong {
    font-size: 36px;
    line-height: 1;
}

.review-score small,
.review-box time {
    color: #66708d;
    font-size: 11px;
}

.review-box p {
    margin-top: 6px;
}

.why-contractors {
    padding: 0 0 18px;
}

.why-contractors .container {
    padding: 22px;
}

.why-contractors h2 {
    margin-bottom: 22px;
    font-size: 18px;
}

.why-grid,
.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 22px;
}

.why-grid div,
.trust-grid div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
}

.why-grid strong,
.trust-grid strong {
    color: #121b54;
    font-size: 11px;
    line-height: 1.3;
    overflow-wrap: normal;
}

.why-grid span,
.trust-grid span {
    display: block;
    grid-column: 2;
    margin-top: 4px;
    color: #5e6884;
    font-size: 10px;
    line-height: 1.45;
    max-width: 190px;
    overflow-wrap: normal;
}

.contractors-cta {
    padding-top: 0;
}

.trust-row {
    padding: 18px 0 28px;
    background: #fff;
}

.trust-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    border-top: 1px solid #edf1f7;
    padding-top: 22px;
}

@media (max-width: 1180px) {
    .contractors-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    }

    .how-card {
        grid-column: 1 / -1;
    }

    .filter-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .contractors-layout {
        grid-template-columns: 1fr;
    }

    .contractor-profile {
        order: -1;
    }

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

@media (max-width: 900px) {
    .contractors-hero-grid,
    .filter-bar,
    .why-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .contractor-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .contractors-visual {
        order: 2;
    }

    .how-card {
        order: 3;
    }

    .contractor-row {
        grid-template-columns: 92px 1fr;
    }

    .contractor-row img,
    .contractor-logo {
        width: 86px;
        height: 78px;
    }

    .row-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .compare {
        justify-content: flex-start;
    }

    .profile-stats,
    .profile-actions,
    .work-list {
        grid-template-columns: 1fr 1fr;
    }

    .review-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contractors-hero-grid {
        padding-top: 18px;
    }

    .contractors-copy,
    .contractors-copy h1,
    .contractors-copy p {
        max-width: 320px;
    }

    .contractors-copy h1 {
        font-size: 28px;
    }

    .contractors-copy p {
        font-size: 14px;
    }

    .contractor-benefits,
    .profile-stats,
    .profile-actions,
    .work-list,
    .work-gallery,
    .row-actions {
        grid-template-columns: 1fr;
    }

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

    .contractor-row img,
    .contractor-logo {
        width: 100%;
        height: 130px;
    }

    .row-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .filter-bar .btn {
        width: 100%;
    }
}

.suppliers-hero {
    background:
        radial-gradient(circle at 70% 22%, rgba(18, 31, 196, 0.06), rgba(18, 31, 196, 0) 36%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border-top: 1px solid #edf1f7;
}

.suppliers-hero-grid {
    min-height: 326px;
    display: grid;
    grid-template-columns: minmax(390px, 0.95fr) minmax(360px, 0.85fr) 276px;
    align-items: start;
    gap: 34px;
    padding: 30px 0 38px;
    min-width: 0;
}

.suppliers-copy {
    min-width: 0;
    padding-top: 18px;
}

.suppliers-copy h1,
.suppliers-copy p,
.supplier-row-body,
.supplier-profile {
    min-width: 0;
    overflow-wrap: anywhere;
}

.suppliers-copy p {
    max-width: 620px;
    margin-bottom: 26px;
    color: #15205c;
    font-size: 15px;
    line-height: 1.65;
}

.supplier-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(82px, 1fr));
    max-width: 620px;
    gap: 20px;
}

.supplier-benefits li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 9px;
    color: #111a54;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.supplier-benefits i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 18px;
}

.suppliers-visual {
    align-self: center;
    min-height: 232px;
    display: grid;
    place-items: center;
}

.map-plate {
    width: min(100%, 440px);
    aspect-ratio: 1.62;
    position: relative;
    border-radius: 45% 55% 47% 53%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(217, 223, 235, 0.16)),
        #eef1f6;
    box-shadow: inset 0 -18px 32px rgba(7, 19, 77, 0.08);
}

.map-plate::before,
.map-plate::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(7, 19, 77, 0.07);
    inset: 22px 28px;
    border-radius: 52% 48% 56% 44%;
}

.map-plate::after {
    inset: 55px 70px 34px 46px;
}

.pin {
    position: absolute;
    z-index: 3;
    color: var(--blue);
    font-size: 28px;
    filter: drop-shadow(0 8px 10px rgba(18, 31, 196, 0.18));
}

.pin-one { left: 30%; top: 17%; }
.pin-two { left: 23%; top: 43%; }
.pin-three { left: 46%; top: 8%; }

.eps-stack {
    width: 205px;
    position: absolute;
    right: 30px;
    bottom: 55px;
    z-index: 2;
    display: grid;
    gap: 0;
    transform: perspective(700px) rotateX(0deg) rotateY(-12deg);
    filter: drop-shadow(0 18px 20px rgba(7, 19, 77, 0.12));
}

.eps-stack span {
    height: 32px;
    border: 1px solid #d8deea;
    background:
        radial-gradient(circle at 22% 34%, #d7dbe5 1px, transparent 1.6px),
        linear-gradient(180deg, #fff 0%, #edf1f7 100%);
    background-size: 18px 18px, auto;
}

.pallet {
    width: 205px;
    height: 28px;
    position: absolute;
    right: 31px;
    bottom: 32px;
    z-index: 1;
    background: repeating-linear-gradient(90deg, #b58c5f 0 32px, #8a683f 32px 38px);
    transform: perspective(700px) rotateY(-12deg);
}

.suppliers-search,
.suppliers-main {
    padding: 0 0 18px;
}

.suppliers-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
    gap: 28px;
    align-items: start;
}

.suppliers-layout.is-empty {
    grid-template-columns: 1fr;
}

.suppliers-list,
.supplier-profile,
.why-suppliers .container {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(9, 25, 83, 0.055);
}

.suppliers-list,
.supplier-profile {
    padding: 22px;
}

.supplier-row {
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr) 146px;
    gap: 18px;
    position: relative;
    padding: 18px 14px;
    border-top: 1px solid #edf1f7;
}

.supplier-row.is-active {
    border: 1.5px solid #4352ff;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(18, 31, 196, 0.06);
}

.supplier-logo,
.supplier-profile-logo {
    display: grid;
    place-items: center;
    align-self: stretch;
    min-height: 96px;
    padding: 14px;
    border-right: 1px solid #edf1f7;
    color: #121b54;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
}

.supplier-logo small,
.supplier-profile-logo small {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    font-weight: 700;
}

.logo-etna {
    font-size: 31px;
}

.logo-mimeta {
    color: #202329;
}

.logo-mimeta::first-letter {
    color: #f05b22;
}

.logo-austro {
    color: #0b1b54;
    font-size: 19px;
}

.logo-neoporas,
.logo-termopor {
    color: #6b7288;
    font-size: 20px;
}

.supplier-row-body p {
    color: #3d4669;
    font-size: 11px;
    line-height: 1.7;
}

.supplier-profile-head {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 20px;
    align-items: start;
    margin-bottom: 18px;
}

.supplier-profile h2 {
    margin: 14px 0 6px;
    font-size: 24px;
}

.supplier-profile-head p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: #34405e;
    font-size: 12px;
}

.supplier-profile-logo {
    min-height: 92px;
    border: 0;
}

.supplier-profile h3 {
    margin: 22px 0 10px;
    font-size: 15px;
    font-weight: 800;
}

.supplier-profile p {
    color: #34405e;
    font-size: 12px;
    line-height: 1.65;
}

.product-list,
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 22px;
}

.product-list span,
.contacts-grid span,
.delivery-grid span {
    display: flex;
    gap: 8px;
    color: #25305e;
    font-size: 12px;
}

.product-list i {
    color: #06936b;
}

.profile-products {
    width: max-content;
    margin-top: 16px;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.usage-grid span {
    min-height: 78px;
    display: grid;
    place-items: center;
    gap: 7px;
    border: 1px solid #e4eaf4;
    border-radius: 8px;
    color: #121b54;
    font-size: 12px;
    font-weight: 700;
}

.usage-grid i {
    color: var(--blue);
    font-size: 24px;
}

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

.delivery-grid span {
    line-height: 1.45;
}

.delivery-grid i,
.contacts-grid i {
    color: var(--blue);
    font-size: 18px;
}

.delivery-grid small {
    display: block;
    margin-top: 3px;
    color: #66708d;
}

.contacts-grid {
    margin-bottom: 24px;
}

.supplier-wide-cta {
    width: 100%;
    min-height: 52px;
}

.why-suppliers {
    padding: 0 0 18px;
}

.why-suppliers .container {
    padding: 22px;
}

.why-suppliers h2 {
    margin-bottom: 22px;
    font-size: 18px;
}

.suppliers-cta {
    padding: 0 0 28px;
}

@media (max-width: 1180px) {
    .suppliers-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    }

    .suppliers-layout {
        grid-template-columns: 1fr;
    }

    .supplier-profile {
        order: -1;
    }
}

@media (max-width: 900px) {
    .suppliers-hero-grid,
    .suppliers-filter,
    .delivery-grid {
        grid-template-columns: 1fr;
    }

    .supplier-benefits,
    .product-list,
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .supplier-row {
        grid-template-columns: 118px 1fr;
    }

    .supplier-logo {
        min-height: 86px;
        border-right: 0;
        font-size: 19px;
    }

    .supplier-row .row-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .suppliers-copy h1 {
        font-size: 28px;
    }

    .supplier-benefits,
    .supplier-row,
    .supplier-profile-head,
    .product-list,
    .usage-grid,
    .contacts-grid,
    .supplier-row .row-actions {
        grid-template-columns: 1fr;
    }

    .supplier-logo {
        min-height: 120px;
    }
}

.quote-hero {
    background:
        radial-gradient(circle at 76% 22%, rgba(18, 31, 196, 0.06), rgba(18, 31, 196, 0) 36%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border-top: 1px solid #edf1f7;
}

.quote-hero-grid {
    min-height: 342px;
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
    gap: 38px;
    align-items: center;
    padding: 30px 0 36px;
}

.quote-copy p {
    max-width: 620px;
    margin-bottom: 28px;
    color: #15205c;
    font-size: 15px;
    line-height: 1.65;
}

.quote-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(90px, 1fr));
    gap: 24px;
    max-width: 590px;
}

.quote-benefits li {
    display: grid;
    gap: 9px;
    color: #111a54;
    font-size: 11px;
    font-weight: 800;
}

.quote-benefits i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eef2ff;
    color: var(--blue);
    font-size: 27px;
}

.quote-visual {
    position: relative;
    min-height: 290px;
}

.quote-visual img {
    width: min(100%, 600px);
    margin-inline: auto 70px;
    filter: drop-shadow(0 20px 26px rgba(9, 25, 83, 0.08));
}

.quote-hint {
    width: 228px;
    position: absolute;
    right: 0;
    top: 32%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.quote-hint strong,
.quote-hint span,
.quote-hint a {
    display: block;
}

.quote-hint strong {
    margin-bottom: 7px;
    font-size: 13px;
}

.quote-hint span {
    margin-bottom: 16px;
    color: #3d4669;
    font-size: 12px;
    line-height: 1.5;
}

.quote-hint a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.quote-section {
    padding: 0 0 24px;
}

.quote-shell,
.quote-flow .container,
.why-quote .container {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(9, 25, 83, 0.055);
}

.quote-shell {
    display: grid;
    grid-template-columns: 270px 1fr;
    overflow: hidden;
}

.quote-steps {
    display: grid;
    align-content: start;
    gap: 22px;
    padding: 24px;
    border-right: 1px solid #e6ebf4;
}

.quote-step {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
    padding: 18px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.quote-step.is-active {
    border-color: #4352ff;
}

.quote-step span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: #121fc4;
    font-weight: 900;
}

.quote-step.is-active span {
    color: #fff;
    background: var(--blue);
}

.quote-step strong {
    font-size: 13px;
}

.quote-step small {
    grid-column: 2;
    color: #5e6884;
    font-size: 11px;
    line-height: 1.45;
}

.quote-help {
    margin-top: 170px;
    display: grid;
    gap: 6px;
    color: #15205c;
    font-size: 12px;
}

.quote-help i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 21px;
}

.quote-help a {
    color: var(--blue);
    font-weight: 800;
}

.quote-form {
    padding: 32px 42px;
}

.quote-form h2 {
    margin-bottom: 24px;
    font-size: 18px;
}

.quote-form h2 span {
    color: var(--blue);
}

.quote-form h2 small {
    font-size: 12px;
}

.quote-choice-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.quote-choice {
    min-height: 142px;
    display: grid;
    place-items: center;
    gap: 7px;
    padding: 18px 10px;
    border: 1px solid #dfe5f1;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
}

.quote-choice input {
    position: absolute;
    opacity: 0;
}

.quote-choice.is-selected {
    border-color: #4352ff;
    background: #fbfcff;
}

.quote-choice i {
    color: var(--blue);
    font-size: 34px;
}

.quote-choice strong {
    font-size: 13px;
}

.quote-choice span {
    color: #3d4669;
    font-size: 11px;
}

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

.quote-fields label {
    display: grid;
    gap: 9px;
    color: #101a54;
    font-size: 12px;
    font-weight: 800;
}

.quote-fields input,
.quote-fields select {
    width: 100%;
    height: 52px;
    border: 1px solid #dfe5f1;
    border-radius: 8px;
    background: #fff;
    color: #25305e;
    padding: 0 16px;
    font: inherit;
    font-weight: 500;
}

.input-with-unit {
    display: grid;
    grid-template-columns: 1fr 78px;
}

.input-with-unit input {
    border-radius: 8px 0 0 8px;
}

.input-with-unit select {
    border-left: 0;
    border-radius: 0 8px 8px 0;
}

.upload-box {
    min-height: 104px;
    display: grid;
    place-items: center;
    gap: 4px;
    border: 1px dashed #cbd5e7;
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.upload-box i {
    font-size: 26px;
}

.upload-box small {
    color: #66708d;
    font-weight: 500;
    line-height: 1.5;
}

.form-success {
    padding: 13px 16px;
    border: 1px solid #bdebd0;
    border-radius: 8px;
    background: #f0fff6;
    color: #05734d;
    font-size: 13px;
    font-weight: 800;
}

.form-error {
    padding: 13px 16px;
    border: 1px solid #ffd0d0;
    border-radius: 8px;
    background: #fff5f5;
    color: #b42318;
    font-size: 13px;
    font-weight: 800;
}

.quote-form-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    margin-top: 34px;
}

.quote-form-footer p {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 8px;
    background: #f2f5ff;
    color: #5e6884;
    font-size: 12px;
}

.quote-form-footer i {
    color: var(--blue);
    font-size: 22px;
}

.quote-flow,
.why-quote {
    padding: 0 0 24px;
}

.quote-flow .container,
.why-quote .container {
    padding: 26px;
}

.quote-flow h2,
.why-quote h2 {
    margin-bottom: 22px;
    font-size: 18px;
}

.quote-flow-grid {
    display: grid;
    grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
    align-items: center;
    gap: 22px;
}

.quote-flow-grid > div {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: center;
}

.quote-flow-grid > div > i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 26px;
}

.quote-flow-grid strong {
    font-size: 13px;
}

.quote-flow-grid span {
    color: #5e6884;
    font-size: 11px;
    line-height: 1.45;
}

.quote-flow-grid > i {
    color: #bdc8de;
    font-size: 24px;
}

.why-quote .why-grid {
    grid-template-columns: repeat(4, 1fr);
}

.quote-cta {
    padding: 0 0 28px;
}

@media (max-width: 1180px) {
    .quote-hero-grid,
    .quote-shell {
        grid-template-columns: 1fr;
    }

    .quote-steps {
        grid-template-columns: repeat(3, 1fr);
        border-right: 0;
        border-bottom: 1px solid #e6ebf4;
    }

    .quote-help {
        margin-top: 0;
    }

    .quote-choice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .quote-benefits,
    .quote-fields,
    .quote-form-footer,
    .quote-flow-grid,
    .why-quote .why-grid {
        grid-template-columns: 1fr;
    }

    .quote-flow-grid > i {
        display: none;
    }

    .quote-visual img {
        margin-inline: auto;
    }

    .quote-hint {
        position: static;
        width: 100%;
        margin-top: 18px;
    }
}

@media (max-width: 640px) {
    .quote-form {
        padding: 24px 18px;
    }

    .quote-steps,
    .quote-choice-grid {
        grid-template-columns: 1fr;
    }
}

.facade-hero {
    background:
        radial-gradient(circle at 74% 24%, rgba(18, 31, 196, 0.06), rgba(18, 31, 196, 0) 36%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border-top: 1px solid #edf1f7;
}

.facade-hero-grid {
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(430px, 0.9fr) minmax(560px, 1.1fr);
    align-items: center;
    gap: 44px;
    padding: 28px 0 34px;
}

.facade-copy p {
    max-width: 620px;
    margin-bottom: 24px;
    color: #15205c;
    font-size: 15px;
    line-height: 1.65;
}

.facade-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(112px, 1fr));
    gap: 22px;
    margin-top: 26px;
}

.facade-benefits li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 9px;
    color: #111a54;
    font-size: 12px;
    font-weight: 700;
}

.facade-benefits i {
    color: var(--success);
    font-size: 16px;
}

.facade-visual {
    min-height: 310px;
    position: relative;
    display: grid;
    place-items: center;
}

.facade-visual img {
    width: min(100%, 570px);
    filter: drop-shadow(0 20px 26px rgba(9, 25, 83, 0.08));
}

.facade-callouts {
    width: 248px;
    position: absolute;
    right: 0;
    top: 24px;
    display: grid;
    gap: 8px;
}

.facade-callouts span {
    min-height: 37px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid #e5eaf4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(9, 25, 83, 0.07);
    color: #101a54;
    font-size: 11px;
    font-weight: 800;
}

.facade-callouts b,
.etics-list span {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 10px;
}

.etics-section,
.eps-types,
.facade-calc-preview,
.facade-mistakes {
    padding: 0 0 24px;
}

.etics-shell,
.calc-preview-shell,
.facade-mistakes .container {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(9, 25, 83, 0.055);
}

.etics-shell {
    padding: 24px 26px;
}

.etics-shell h2 {
    margin-bottom: 20px;
}

.etics-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr) 390px;
    gap: 34px;
    align-items: center;
}

.layer-demo {
    min-height: 296px;
    position: relative;
    display: grid;
    place-items: center;
}

.layer {
    width: 165px;
    height: 210px;
    position: absolute;
    border: 1px solid rgba(7, 19, 77, 0.12);
    transform: skewY(-8deg) translateX(var(--x));
    box-shadow: -12px 12px 20px rgba(9, 25, 83, 0.06);
}

.layer-wall { --x: 58px; background: #d5b18b; }
.layer-eps { --x: 32px; background: radial-gradient(circle, #d7dbe5 1px, transparent 1.5px), #f7f8fb; background-size: 15px 15px; }
.layer-glue { --x: 8px; background: #e3e6ee; }
.layer-mesh { --x: -16px; background: repeating-linear-gradient(90deg, rgba(18,31,196,.16) 0 1px, transparent 1px 10px), repeating-linear-gradient(0deg, rgba(18,31,196,.16) 0 1px, transparent 1px 10px), #f6f7fb; }
.layer-base { --x: -40px; background: #c9cdd7; }
.layer-primer { --x: -64px; background: #e9ddce; }
.layer-finish { --x: -88px; background: #cba77f; }

.etics-list {
    display: grid;
    gap: 14px;
    list-style: none;
}

.etics-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
}

.etics-list strong {
    font-size: 12px;
}

.etics-list small {
    grid-column: 2;
    color: #5e6884;
    font-size: 11px;
    line-height: 1.45;
}

.etics-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcff;
}

.etics-card h3 {
    margin-bottom: 20px;
    font-size: 17px;
}

.etics-card div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.etics-card i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 20px;
}

.etics-card strong {
    font-size: 12px;
}

.etics-card span {
    grid-column: 2;
    color: #5e6884;
    font-size: 11px;
    line-height: 1.45;
}

.eps-types h2 {
    margin: 4px 0 16px;
}

.eps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.eps-grid article {
    min-height: 230px;
    position: relative;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.eps-grid h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.eps-grid p {
    max-width: 210px;
    color: #34405e;
    font-size: 12px;
    line-height: 1.65;
}

.eps-grid .btn {
    min-width: 160px;
    position: absolute;
    left: 24px;
    bottom: 18px;
}

.eps-block {
    width: 86px;
    height: 56px;
    position: absolute;
    right: 22px;
    bottom: 66px;
    transform: skewY(-12deg);
    box-shadow: -12px 14px 18px rgba(9, 25, 83, 0.11);
}

.eps-white {
    background: radial-gradient(circle, #d8dce6 1px, transparent 1.5px), linear-gradient(180deg, #fff, #eef1f7);
    background-size: 14px 14px, auto;
}

.eps-white.stack::before,
.eps-white.stack::after {
    content: "";
    position: absolute;
    inset: 9px 0 auto 0;
    height: 1px;
    background: #cbd3e2;
    box-shadow: 0 12px 0 #cbd3e2;
}

.eps-graphite {
    background: radial-gradient(circle, rgba(255,255,255,.22) 1px, transparent 1.5px), linear-gradient(180deg, #6f737c, #454952);
    background-size: 12px 12px, auto;
}

.eps-grid .help-card {
    background: #fbfcff;
}

.calc-preview-shell {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 0.8fr) 250px;
    gap: 26px;
    align-items: center;
    padding: 24px;
}

.calc-preview-shell p {
    margin: 12px 0 16px;
    color: #34405e;
    font-size: 13px;
    line-height: 1.65;
}

.calc-preview-shell ul {
    display: grid;
    gap: 8px;
    color: #25305e;
    font-size: 12px;
}

.calc-preview-shell li {
    display: flex;
    gap: 8px;
}

.calc-preview-shell li i {
    color: var(--success);
}

.mini-calculator,
.calc-results {
    border: 1px solid #dfe5f1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(9, 25, 83, 0.055);
}

.mini-calculator {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.mini-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
}

.mini-tabs span:first-child {
    color: var(--blue);
    background: #eef2ff;
}

.mini-tabs span {
    padding: 6px;
    border-radius: 6px;
    text-align: center;
}

.mini-calculator label {
    display: flex;
    justify-content: space-between;
    padding: 11px 12px;
    border: 1px solid #e5eaf4;
    border-radius: 6px;
    color: #5e6884;
    font-size: 12px;
}

.mini-calculator strong {
    color: #101a54;
}

.calc-results {
    padding: 18px;
}

.calc-results h3 {
    margin-bottom: 14px;
    font-size: 14px;
}

.calc-results p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 11px;
}

.calc-results .btn {
    width: 100%;
    margin-top: 10px;
}

.facade-mistakes .container {
    padding: 22px 26px;
}

.facade-mistakes h2 {
    margin-bottom: 20px;
    font-size: 18px;
}

.mistakes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 14px;
}

.mistakes-grid div {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
}

.mistakes-grid i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff0f0;
    color: #df2e38;
    font-size: 18px;
}

.mistakes-grid strong {
    font-size: 12px;
}

.mistakes-grid span {
    grid-column: 2;
    color: #5e6884;
    font-size: 11px;
    line-height: 1.45;
}

.facade-cta {
    padding: 0 0 28px;
}

@media (max-width: 1180px) {
    .facade-hero-grid,
    .etics-grid,
    .calc-preview-shell {
        grid-template-columns: 1fr;
    }

    .facade-callouts {
        position: static;
        width: 100%;
        margin-top: 18px;
        grid-template-columns: repeat(2, 1fr);
    }

    .eps-grid,
    .mistakes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .facade-benefits,
    .facade-callouts,
    .eps-grid,
    .mistakes-grid {
        grid-template-columns: 1fr;
    }

    .facade-hero-grid {
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .facade-copy h1 {
        font-size: 28px;
    }

    .eps-grid .btn {
        position: static;
        margin-top: 18px;
    }

    .eps-block {
        position: static;
        margin: 18px 0 0 auto;
    }

    .mini-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}

.quantity-hero {
    background:
        radial-gradient(circle at 76% 22%, rgba(18, 31, 196, 0.06), rgba(18, 31, 196, 0) 36%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border-top: 1px solid #edf1f7;
}

.quantity-hero-grid {
    min-height: 358px;
    display: grid;
    grid-template-columns: minmax(430px, 0.92fr) minmax(560px, 1.08fr);
    gap: 44px;
    align-items: center;
    padding: 30px 0 36px;
}

.quantity-copy p {
    max-width: 640px;
    margin-bottom: 26px;
    color: #15205c;
    font-size: 15px;
    line-height: 1.65;
}

.quantity-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 22px;
}

.quantity-benefits li {
    display: grid;
    gap: 9px;
    color: #111a54;
    font-size: 11px;
    font-weight: 700;
}

.quantity-benefits i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eef2ff;
    color: var(--blue);
    font-size: 26px;
}

.quantity-visual {
    min-height: 300px;
    position: relative;
    display: grid;
    place-items: center;
}

.quantity-visual img {
    width: min(100%, 620px);
    filter: drop-shadow(0 20px 26px rgba(9, 25, 83, 0.08));
}

.marker {
    min-width: 118px;
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border: 1px solid #e5eaf4;
    border-radius: 8px;
    background: #fff;
    color: #101a54;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(9, 25, 83, 0.07);
}

.marker i {
    color: var(--blue);
    font-size: 22px;
}

.marker-roof { right: 42px; top: 26px; }
.marker-wall { right: 0; top: 104px; }
.marker-floor { right: 10px; bottom: 92px; }
.marker-foundation { right: 34px; bottom: 14px; }

.quantity-tool,
.system-cta {
    padding: 0 0 24px;
}

.quantity-tool-grid {
    display: grid;
    grid-template-columns: minmax(390px, 0.82fr) minmax(0, 1.18fr);
    gap: 18px;
    align-items: start;
}

.quantity-form,
.quantity-results,
.system-cta-inner {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(9, 25, 83, 0.055);
}

.quantity-form,
.quantity-results {
    padding: 28px;
}

.quantity-form h2,
.quantity-results h2 {
    margin-bottom: 22px;
    font-size: 19px;
}

.quantity-form h2 span,
.quantity-results h2 span {
    color: var(--blue);
}

.quantity-form fieldset,
.quantity-form label {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    border: 0;
}

.quantity-form legend,
.quantity-form label > span {
    color: #101a54;
    font-size: 13px;
    font-weight: 800;
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.purpose-card {
    min-height: 104px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 12px 8px;
    border: 1px solid #dfe5f1;
    border-radius: 8px;
    background: #fff;
    color: #101a54;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.purpose-card.is-active {
    border-color: #4352ff;
    background: #fbfcff;
    box-shadow: inset 0 0 0 1px rgba(67, 82, 255, 0.22);
}

.purpose-card i {
    color: var(--blue);
    font-size: 30px;
}

.quantity-form .input-with-unit {
    display: grid;
    grid-template-columns: 1fr 54px;
}

.quantity-form input,
.quantity-form select {
    width: 100%;
    height: 52px;
    border: 1px solid #dfe5f1;
    border-radius: 8px;
    background: #fff;
    color: #25305e;
    padding: 0 16px;
    font: inherit;
    font-weight: 500;
}

.quantity-form .input-with-unit input {
    border-radius: 8px 0 0 8px;
}

.quantity-form .input-with-unit strong {
    display: grid;
    place-items: center;
    border: 1px solid #dfe5f1;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    color: #101a54;
    background: #f8faff;
    font-size: 13px;
}

.quantity-form small {
    color: #66708d;
    font-size: 11px;
    line-height: 1.45;
}

.reserve-control {
    width: 190px;
    display: grid;
    grid-template-columns: 44px 1fr 28px 44px;
    align-items: center;
    border: 1px solid #dfe5f1;
    border-radius: 8px;
    overflow: hidden;
}

.reserve-control button {
    height: 44px;
    border: 0;
    background: #f8faff;
    color: var(--blue);
    cursor: pointer;
}

.reserve-control input {
    height: 44px;
    border: 0;
    text-align: center;
    padding: 0;
}

.reserve-control strong {
    color: #101a54;
    font-size: 13px;
}

.accordion-row {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 0 16px;
    border: 1px solid #dfe5f1;
    border-radius: 8px;
    background: #fff;
    color: #101a54;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}

.calculate-button {
    width: 100%;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 26px;
    border: 1px solid #d8e0f0;
    border-radius: 8px;
    overflow: hidden;
}

.result-summary div {
    min-height: 94px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 22px;
    background: #f8faff;
}

.result-summary div + div {
    border-left: 1px solid #d8e0f0;
}

.result-summary span {
    color: #101a54;
    font-size: 13px;
    font-weight: 800;
}

.result-summary strong {
    color: var(--blue);
    font-size: 32px;
    line-height: 1;
}

.result-summary div:last-child strong {
    color: #1f9b60;
}

.result-details {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 260px;
    gap: 28px;
    align-items: center;
    margin-bottom: 26px;
}

.result-details dl {
    display: grid;
    gap: 14px;
}

.result-details dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #34405e;
    font-size: 13px;
}

.result-details dd {
    color: #101a54;
    font-weight: 800;
}

.eps-measure {
    min-height: 182px;
    position: relative;
    display: grid;
    place-items: center;
}

.eps-measure span {
    width: 176px;
    height: 92px;
    display: block;
    transform: skewY(-12deg);
    background: radial-gradient(circle, #d8dce6 1px, transparent 1.5px), linear-gradient(180deg, #fff, #eef1f7);
    background-size: 14px 14px, auto;
    box-shadow: -16px 18px 22px rgba(9, 25, 83, 0.12);
}

.eps-measure b {
    position: absolute;
    color: #101a54;
    font-size: 11px;
}

.measure-height { right: 4px; top: 50%; }
.measure-length { left: 72px; bottom: 8px; }
.measure-width { right: 34px; bottom: 22px; }

.recommended-eps {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
    padding: 22px;
    border: 1px solid #d8e0f0;
    border-radius: 8px;
    background: #fff;
}

.recommended-eps h3 {
    margin-bottom: 14px;
    font-size: 15px;
}

.recommended-eps h3 span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--blue);
    font-size: 10px;
}

.recommended-eps strong {
    display: block;
    margin-bottom: 8px;
    color: #101a54;
    font-size: 25px;
}

.recommended-eps p {
    max-width: 440px;
    margin-bottom: 14px;
    color: #34405e;
    font-size: 12px;
    line-height: 1.6;
}

.recommended-eps .eps-block {
    position: static;
    margin-inline: auto;
}

.next-actions h3 {
    margin-bottom: 12px;
    font-size: 15px;
}

.next-actions > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.next-actions article {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #e5eaf4;
    border-radius: 8px;
}

.next-actions i {
    color: var(--blue);
    font-size: 22px;
}

.next-actions strong {
    font-size: 12px;
}

.next-actions span {
    color: #66708d;
    font-size: 10px;
    line-height: 1.45;
}

.next-actions .btn {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 11px;
}

.system-cta-inner {
    min-height: 128px;
    display: grid;
    grid-template-columns: 1fr auto 210px;
    gap: 28px;
    align-items: center;
    padding: 24px 32px;
    overflow: hidden;
}

.system-cta-inner > div:first-child {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
}

.system-cta-inner > div:first-child i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 24px;
}

.system-cta h2 {
    font-size: 20px;
}

.system-cta p {
    color: #34405e;
    font-size: 13px;
    line-height: 1.55;
}

.materials-preview {
    height: 84px;
    display: flex;
    align-items: end;
    gap: 10px;
}

.materials-preview span {
    width: 38px;
    border: 1px solid #d8e0f0;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #fff, #eef1f7);
}

.materials-preview span:nth-child(1) { height: 70px; }
.materials-preview span:nth-child(2) { height: 48px; }
.materials-preview span:nth-child(3) { height: 62px; }
.materials-preview span:nth-child(4) { height: 40px; }

.quantity-trust {
    padding-top: 0;
}

.quantity-cta {
    padding: 0 0 28px;
}

.tool-hero .quantity-visual {
    display: grid;
    place-items: center;
}

.tool-visual img {
    width: min(100%, 360px);
    max-height: 260px;
    object-fit: contain;
}

.tool-results .result-details dl {
    align-content: start;
}

.tool-measure {
    min-height: 180px;
}

.tool-measure span {
    width: 120px;
    height: 96px;
}

.tool-measure b {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
}

.tool-more {
    padding-top: 10px;
}

@media (max-width: 1180px) {
    .quantity-hero-grid,
    .quantity-tool-grid,
    .system-cta-inner {
        grid-template-columns: 1fr;
    }

    .quantity-benefits,
    .purpose-grid,
    .next-actions > div {
        grid-template-columns: repeat(2, 1fr);
    }

    .marker {
        position: static;
    }

    .quantity-visual {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .quantity-visual img {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .quantity-benefits,
    .purpose-grid,
    .result-summary,
    .result-details,
    .recommended-eps,
    .next-actions > div {
        grid-template-columns: 1fr;
    }

    .result-summary div + div {
        border-left: 0;
        border-top: 1px solid #d8e0f0;
    }

    .system-cta-inner {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .quantity-copy h1 {
        font-size: 28px;
    }

    .quantity-form,
    .quantity-results {
        padding: 20px 16px;
    }

    .quantity-visual {
        grid-template-columns: 1fr;
    }
}

.partners-hero {
    background:
        radial-gradient(circle at 68% 22%, rgba(18, 31, 196, 0.06), rgba(18, 31, 196, 0) 36%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border-top: 1px solid #edf1f7;
}

.partners-hero-grid {
    min-height: 438px;
    display: grid;
    grid-template-columns: minmax(390px, 0.82fr) minmax(380px, 0.8fr) 360px;
    gap: 36px;
    align-items: center;
    padding: 30px 0 34px;
}

.partners-copy .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.partners-copy p {
    max-width: 560px;
    margin-bottom: 28px;
    color: #15205c;
    font-size: 15px;
    line-height: 1.65;
}

.partner-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(84px, 1fr));
    gap: 22px;
}

.partner-benefits li {
    display: grid;
    gap: 9px;
    color: #111a54;
    font-size: 11px;
    font-weight: 800;
}

.partner-benefits i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eef2ff;
    color: var(--blue);
    font-size: 27px;
}

.partner-visual {
    min-height: 300px;
    position: relative;
    display: grid;
    place-items: center;
}

.partner-visual img {
    width: min(100%, 450px);
    filter: drop-shadow(0 20px 26px rgba(9, 25, 83, 0.08));
}

.partner-stack {
    width: 122px;
    position: absolute;
    left: 10px;
    bottom: 36px;
    display: grid;
    gap: 0;
    filter: drop-shadow(0 16px 18px rgba(9, 25, 83, 0.12));
}

.partner-stack span {
    height: 28px;
    border: 1px solid #d8deea;
    background: radial-gradient(circle, #d7dbe5 1px, transparent 1.6px), linear-gradient(180deg, #fff 0%, #edf1f7 100%);
    background-size: 14px 14px, auto;
}

.partner-form {
    display: grid;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.partner-form h2 {
    font-size: 20px;
}

.partner-form p {
    margin-bottom: 4px;
    color: #34405e;
    font-size: 12px;
}

.partner-form input,
.partner-form select {
    width: 100%;
    height: 46px;
    border: 1px solid #dfe5f1;
    border-radius: 8px;
    background: #fff;
    color: #25305e;
    padding: 0 14px;
    font: inherit;
    font-size: 12px;
}

.partner-form .btn {
    height: 48px;
    margin-top: 2px;
}

.partner-form small {
    display: flex;
    gap: 7px;
    color: #66708d;
    font-size: 10px;
    line-height: 1.45;
}

.lead-types,
.pricing-section,
.partner-audience,
.partner-process {
    padding: 0 0 24px;
}

.lead-types-shell,
.partner-process .container {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(9, 25, 83, 0.055);
}

.lead-types-shell {
    padding: 24px 28px;
}

.lead-types h2,
.partner-audience h2,
.partner-process h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.lead-types-shell > p,
.pricing-section .section-header p {
    color: #34405e;
    font-size: 13px;
}

.lead-flow {
    display: grid;
    grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr 24px 1fr 24px 1fr 24px 1fr;
    gap: 14px;
    align-items: start;
    margin: 28px 0 20px;
}

.lead-flow div {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.lead-flow div i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 26px;
}

.lead-flow > i {
    margin-top: 18px;
    color: var(--blue);
    font-size: 18px;
}

.lead-flow strong {
    font-size: 11px;
}

.lead-flow span {
    color: #5e6884;
    font-size: 10px;
    line-height: 1.4;
}

.lead-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #34405e;
}

.lead-note i {
    color: var(--blue);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(290px, 0.95fr);
    gap: 22px;
}

.price-card,
.pay-per-lead {
    position: relative;
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(9, 25, 83, 0.045);
}

.price-card.is-featured {
    border-color: #4352ff;
    box-shadow: 0 16px 40px rgba(18, 31, 196, 0.08);
}

.popular {
    position: absolute;
    left: 50%;
    top: -13px;
    transform: translateX(-50%);
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.price-card h3,
.pay-per-lead h3 {
    margin-bottom: 6px;
    font-size: 20px;
}

.price-card > span:not(.popular) {
    display: block;
    margin-bottom: 22px;
    color: #66708d;
    font-size: 12px;
}

.price-card > strong {
    display: block;
    margin-bottom: 24px;
    color: #101a54;
    font-size: 34px;
}

.price-card small {
    color: #66708d;
    font-size: 13px;
}

.price-card p,
.pay-per-lead p {
    margin-bottom: 12px;
    color: #34405e;
    font-size: 12px;
}

.price-card ul,
.pay-per-lead ul {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
    color: #25305e;
    font-size: 12px;
}

.price-card li,
.pay-per-lead li {
    display: flex;
    gap: 8px;
}

.price-card li i,
.pay-per-lead li i,
.audience-grid li::before {
    color: var(--success);
}

.price-card .btn {
    width: 100%;
}

.pay-per-lead {
    background: linear-gradient(180deg, #f0fff8 0%, #fff 100%);
}

.pay-per-lead .btn {
    margin-bottom: 24px;
}

.pay-per-lead blockquote {
    padding: 18px;
    border-radius: 8px;
    background: #fff;
    color: #34405e;
    font-size: 12px;
    line-height: 1.55;
}

.pay-per-lead blockquote p::before {
    content: "“";
    color: #17a36d;
    font-size: 24px;
    font-weight: 900;
}

.pay-per-lead blockquote strong,
.pay-per-lead blockquote span {
    display: block;
}

.partner-audience .container {
    padding-inline: 24px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 24px;
}

.audience-grid article {
    display: grid;
    gap: 10px;
}

.audience-grid article > i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 25px;
}

.audience-grid strong {
    font-size: 14px;
}

.audience-grid span,
.audience-grid li {
    color: #5e6884;
    font-size: 11px;
    line-height: 1.45;
}

.audience-grid ul {
    display: grid;
    gap: 6px;
}

.audience-grid li::before {
    content: "✓";
    margin-right: 7px;
    font-weight: 900;
}

.partner-process .container {
    padding: 26px;
}

.process-line {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 30px;
}

.process-line::before {
    content: "";
    height: 1px;
    position: absolute;
    left: 9%;
    right: 9%;
    top: 44px;
    border-top: 1px dashed #bfc9ff;
}

.process-line div {
    display: grid;
    justify-items: center;
    gap: 8px;
    position: relative;
    text-align: center;
}

.process-line span {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    z-index: 1;
}

.process-line i {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 27px;
    z-index: 1;
}

.process-line strong {
    font-size: 12px;
}

.process-line small {
    color: #5e6884;
    font-size: 10px;
    line-height: 1.45;
}

.partner-cta {
    padding: 0 0 18px;
}

.partner-trust {
    padding-top: 0;
}

@media (max-width: 1180px) {
    .partners-hero-grid,
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .partner-form,
    .pay-per-lead {
        grid-column: 1 / -1;
    }

    .lead-flow,
    .audience-grid,
    .process-line {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-flow > i,
    .process-line::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .partners-hero-grid,
    .partner-benefits,
    .pricing-grid,
    .lead-flow,
    .audience-grid,
    .process-line {
        grid-template-columns: 1fr;
    }

    .partner-form,
    .pay-per-lead {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .partners-copy h1 {
        font-size: 28px;
    }

    .lead-types-shell,
    .partner-process .container {
        padding: 20px 16px;
    }
}

.articles-hero {
    background:
        radial-gradient(circle at 78% 20%, rgba(18, 31, 196, 0.055), rgba(18, 31, 196, 0) 34%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border-top: 1px solid #edf1f7;
}

.articles-hero-grid {
    min-height: 286px;
    display: grid;
    grid-template-columns: minmax(520px, 1fr) minmax(360px, 0.62fr);
    gap: 42px;
    align-items: center;
    padding: 30px 0 34px;
}

.articles-hero p {
    max-width: 760px;
    color: #15205c;
    font-size: 15px;
    line-height: 1.7;
}

.articles-hero-visual {
    min-height: 210px;
    position: relative;
}

.article-eps-stack {
    width: 180px;
    position: absolute;
    left: 40px;
    top: 16px;
    display: grid;
    filter: drop-shadow(0 16px 18px rgba(9, 25, 83, 0.11));
}

.article-eps-stack span {
    height: 30px;
    border: 1px solid #d8deea;
    background: radial-gradient(circle, #d7dbe5 1px, transparent 1.6px), linear-gradient(180deg, #fff 0%, #edf1f7 100%);
    background-size: 14px 14px, auto;
}

.mesh-roll {
    width: 106px;
    height: 74px;
    position: absolute;
    right: 136px;
    top: 78px;
    border-radius: 999px;
    background:
        repeating-linear-gradient(90deg, rgba(7,19,77,.18) 0 1px, transparent 1px 8px),
        repeating-linear-gradient(0deg, rgba(7,19,77,.18) 0 1px, transparent 1px 8px),
        #d5d8df;
    transform: rotate(11deg);
}

.tool-trowel {
    width: 112px;
    height: 34px;
    position: absolute;
    left: 74px;
    bottom: 26px;
    background: #bfc5d2;
    clip-path: polygon(0 0, 82% 16%, 100% 50%, 82% 84%, 0 100%, 16% 50%);
    transform: rotate(-24deg);
}

.tool-trowel::after {
    content: "";
    width: 82px;
    height: 15px;
    position: absolute;
    left: -72px;
    top: 9px;
    border-radius: 999px;
    background: #173079;
}

.paint-bucket {
    width: 88px;
    height: 86px;
    position: absolute;
    right: 28px;
    bottom: 16px;
    border: 5px solid #d8dce6;
    border-radius: 12px 12px 20px 20px;
    background: linear-gradient(180deg, #fff, #eef1f7);
}

.paint-bucket::before {
    content: "";
    width: 98px;
    height: 22px;
    position: absolute;
    left: -10px;
    top: -18px;
    border: 4px solid #c3c9d6;
    border-bottom: 0;
    border-radius: 50%;
}

.article-categories {
    padding: 0 0 24px;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.category-pills a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid #dfe5f1;
    border-radius: 999px;
    background: #fff;
    color: #101a54;
    font-size: 12px;
    font-weight: 700;
}

.category-pills a.is-active {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.articles-main {
    padding: 0 0 24px;
}

.articles-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.articles-list {
    display: grid;
    gap: 14px;
}

.article-row {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 162px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(9, 25, 83, 0.045);
    overflow: hidden;
}

.article-thumb {
    min-height: 162px;
    position: relative;
    overflow: hidden;
    background: #edf1f7;
}

.article-thumb::before,
.article-thumb::after {
    content: "";
    position: absolute;
}

.thumb-house {
    background: linear-gradient(160deg, #d7e5f2 0%, #f7fafc 48%, #9ba588 49%, #76866b 100%);
}

.thumb-house::before {
    width: 150px;
    height: 92px;
    left: 54px;
    bottom: 30px;
    background: #f7f5f0;
    box-shadow: inset 0 -28px 0 #d9d2c5, 0 12px 18px rgba(7,19,77,.12);
}

.thumb-house::after {
    width: 174px;
    height: 68px;
    left: 42px;
    bottom: 112px;
    background: #2a2f38;
    clip-path: polygon(50% 0, 100% 72%, 0 72%);
}

.thumb-eps {
    background: linear-gradient(135deg, #f7f9fc, #d8dee9);
}

.thumb-eps::before {
    width: 126px;
    height: 70px;
    left: 68px;
    top: 48px;
    transform: skewY(-12deg);
    background: radial-gradient(circle, #d8dce6 1px, transparent 1.5px), linear-gradient(180deg, #fff, #edf1f7);
    background-size: 14px 14px, auto;
    box-shadow: -24px 24px 0 -6px #eef1f7, 22px 30px 0 -10px #eef1f7, 0 16px 24px rgba(7,19,77,.12);
}

.thumb-foundation {
    background: linear-gradient(180deg, #a58e76 0%, #6f6354 45%, #56483a 100%);
}

.thumb-foundation::before {
    width: 220px;
    height: 68px;
    left: 24px;
    bottom: 42px;
    transform: skewY(-10deg);
    background: #e9edf4;
    box-shadow: inset 0 -14px 0 #ccd3df;
}

.thumb-foundation::after {
    width: 220px;
    height: 58px;
    left: 20px;
    top: 30px;
    background: repeating-linear-gradient(90deg, #4d4f54 0 34px, #3d4148 34px 38px);
}

.thumb-floor {
    background: linear-gradient(180deg, #b7a18a, #8e7c69);
}

.thumb-floor::before {
    inset: 48px 14px 30px;
    transform: skewY(-8deg);
    background:
        repeating-linear-gradient(90deg, rgba(18,31,196,.2) 0 2px, transparent 2px 20px),
        repeating-linear-gradient(0deg, rgba(18,31,196,.16) 0 2px, transparent 2px 18px),
        #e7ebf2;
}

.thumb-install {
    background: linear-gradient(135deg, #d9dde5, #eef2f7);
}

.thumb-install::before {
    width: 180px;
    height: 64px;
    left: 44px;
    bottom: 42px;
    transform: skewY(-10deg);
    background: radial-gradient(circle, #d8dce6 1px, transparent 1.5px), linear-gradient(180deg, #fff, #edf1f7);
    background-size: 14px 14px, auto;
}

.thumb-install::after {
    width: 64px;
    height: 24px;
    right: 38px;
    top: 44px;
    border-radius: 999px 999px 10px 10px;
    background: #25305e;
    box-shadow: -74px 36px 0 -2px #25305e;
}

.thumb-savings {
    background: linear-gradient(150deg, #dfe9f3 0%, #f8fafc 52%, #f04b4b 53%, #c52c3d 100%);
}

.thumb-savings::before {
    width: 150px;
    height: 92px;
    left: 48px;
    bottom: 34px;
    background: #f7f5f0;
    box-shadow: inset 0 -28px 0 #d9d2c5;
}

.thumb-savings::after {
    width: 174px;
    height: 68px;
    left: 36px;
    bottom: 116px;
    background: #2a2f38;
    clip-path: polygon(50% 0, 100% 72%, 0 72%);
}

.article-body {
    min-width: 0;
    display: grid;
    align-content: center;
    padding: 22px 26px;
}

.article-body > span {
    width: max-content;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
}

.article-body h2 {
    margin-bottom: 10px;
    font-size: 19px;
}

.article-body p {
    color: #34405e;
    font-size: 13px;
    line-height: 1.65;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 18px;
    color: #34405e;
    font-size: 12px;
}

.article-meta time,
.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--blue);
    font-size: 17px;
}

.article-meta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    color: var(--blue);
    font-weight: 800;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.pagination a,
.pagination span {
    min-width: 36px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #dfe5f1;
    border-radius: 7px;
    background: #fff;
    color: #101a54;
    font-size: 12px;
    font-weight: 700;
}

.pagination a:first-child,
.pagination a:last-child {
    min-width: 104px;
}

.pagination .is-current {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.pagination .is-disabled {
    color: #7c859d;
}

.articles-sidebar {
    display: grid;
    gap: 24px;
}

.sidebar-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(9, 25, 83, 0.045);
}

.sidebar-card h3 {
    margin-bottom: 18px;
    font-size: 17px;
}

.search-card label {
    height: 48px;
    display: grid;
    grid-template-columns: 1fr 34px;
    align-items: center;
    padding: 0 12px 0 16px;
    border: 1px solid #dfe5f1;
    border-radius: 8px;
}

.search-card input {
    min-width: 0;
    border: 0;
    outline: 0;
    color: #25305e;
    font: inherit;
    font-size: 12px;
}

.search-card i {
    color: var(--blue);
    font-size: 21px;
}

.popular-card ol {
    display: grid;
    gap: 0;
    list-style: none;
}

.popular-card li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f7;
    color: #101a54;
    font-size: 12px;
    line-height: 1.45;
}

.popular-card li:last-child {
    border-bottom: 0;
}

.popular-card span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-weight: 900;
}

.calc-side-card {
    background: #fbfcff;
}

.calc-side-card > i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--blue);
    font-size: 26px;
}

.calc-side-card p {
    margin-bottom: 18px;
    color: #34405e;
    font-size: 12px;
    line-height: 1.6;
}

.calc-side-card .btn {
    width: 100%;
}

.topics-card {
    display: grid;
    gap: 11px;
}

.topics-card h3 {
    margin-bottom: 4px;
}

.topics-card a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #25305e;
    font-size: 12px;
}

.topics-card strong {
    color: #101a54;
}

.articles-cta {
    padding: 0 0 18px;
}

.articles-trust {
    padding-top: 0;
}

.article-detail-hero {
    padding: 0 0 28px;
    border-top: 1px solid #edf1f7;
    background:
        radial-gradient(circle at 78% 20%, rgba(18, 31, 196, 0.055), rgba(18, 31, 196, 0) 34%),
        linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.article-detail-head {
    display: grid;
    gap: 28px;
}

.article-detail-title {
    max-width: 860px;
    padding-top: 18px;
}

.article-detail-title > span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
}

.article-detail-title h1 {
    max-width: 820px;
    font-size: 44px;
}

.article-detail-title p,
.article-detail-hero > .container > p {
    max-width: 760px;
    color: #15205c;
    font-size: 16px;
    line-height: 1.7;
}

.article-detail-main {
    padding: 0 0 28px;
}

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

.article-content-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(9, 25, 83, 0.045);
}

.article-detail-thumb {
    min-height: 320px;
    margin-bottom: 26px;
    border-radius: 8px;
}

.article-content-card p {
    color: #263158;
    font-size: 15px;
    line-height: 1.85;
}

.article-content-card p + p {
    margin-top: 18px;
}

.article-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #edf1f7;
}

.popular-card li a {
    color: #101a54;
}

@media (max-width: 1180px) {
    .articles-layout,
    .articles-hero-grid,
    .article-detail-layout {
        grid-template-columns: 1fr;
    }

    .articles-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .article-row,
    .articles-sidebar {
        grid-template-columns: 1fr;
    }

    .article-meta a {
        margin-left: 0;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .articles-hero h1 {
        font-size: 30px;
    }

    .article-body {
        padding: 20px 16px;
    }

    .category-pills a {
        width: 100%;
    }
}
