.novateplica-greenhouse-block {
    /* width: min(calc(100% - 32px), var(--container-width, 1540px)); */
    margin: clamp(24px, 3vw, 40px) auto;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.88);
    /* border-radius: clamp(22px, 2.4vw, 34px); */
    background: #fff;
    color: #171a21;
    box-shadow: 0 24px 70px rgba(31, 41, 55, 0.08);
    font-family: 'Manrope', var(--font-main, 'Inter'), sans-serif;
}

.novateplica-greenhouse-block *,
.novateplica-greenhouse-block *::before,
.novateplica-greenhouse-block *::after {
    box-sizing: border-box;
}

.novateplica-greenhouse-block__main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    min-height: clamp(640px, 52vw, 760px);
}

.novateplica-greenhouse-block--no-image .novateplica-greenhouse-block__main {
    display: block;
    min-height: 0;
}

.novateplica-greenhouse-block--no-image .novateplica-greenhouse-block__content {
    min-height: 0;
}

.novateplica-greenhouse-block__media {
    display: flex;
    align-items: stretch;
    justify-content: center;
    /* padding: clamp(32px, 3.8vw, 64px); */
    background: #f7f6f7;
}

.novateplica-greenhouse-block__media img {
    flex: 1 1 auto;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: var(--greenhouse-image-position, center center);
    /* border-radius: clamp(20px, 2.2vw, 32px); */
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
}

.novateplica-greenhouse-block__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 4.7vw, 76px);
    background: #fff;
}

.novateplica-greenhouse-block__eyebrow {
    display: none;
}

.novateplica-greenhouse-block__title {
    max-width: 620px;
    margin: 0 0 16px;
    color: var(--primary-color, #3bc54e);
    font-family: 'Manrope', var(--font-main, 'Inter'), sans-serif;
    font-size: clamp(34px, 2.25vw, 36px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.novateplica-greenhouse-block__lead {
    max-width: 620px;
    margin: 0 0 clamp(22px, 2.3vw, 34px);
    color: #263847;
    font-family: 'Manrope', var(--font-main, 'Inter'), sans-serif;
    font-size: clamp(16px, 1.35vw, 14px);
    line-height: 1.24;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.novateplica-greenhouse-block__stat {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: clamp(8px, 1vw, 8px);
    width: fit-content;
    max-width: 100%;
    margin-bottom: clamp(24px, 3.6vw, 24px);
    color: #ead9c7;
    font-family: 'Manrope', var(--font-main, 'Inter'), sans-serif;
    line-height: 1;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

.novateplica-greenhouse-block__stat-label {
    font-size: 28px;
    font-weight: 800;
}


.novateplica-greenhouse-block__stat-number {
    font-size: 52px;
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: 0;
    transform: translateY(6px);
}

.novateplica-greenhouse-block__stat-suffix {
    font-size: 28px;
    font-weight: 800;
}

.novateplica-greenhouse-block__stat-caption {
    color: var(--primary-color, #3bc54e);
    font-size: 28px;
    font-weight: 800;
}

.novateplica-greenhouse-block__text {
    max-width: 610px;
    color: #263126;
    font-size: clamp(15px, 1.1vw, 15px);
    line-height: 1.58;
    font-weight: 500;
}

.novateplica-greenhouse-block__text p {
    margin: 0 0 18px;
}

.novateplica-greenhouse-block__text p:last-child {
    margin-bottom: 0;
}

.novateplica-greenhouse-block__text a {
    color: #22a33d;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.novateplica-greenhouse-block__highlight {
    position: relative;
    margin: clamp(30px, 3vw, 42px) 0 0;
    padding-left: 22px;
    color: #111318;
    font-size: clamp(19px, 1.35vw, 22px);
    line-height: 1.35;
    font-weight: 800;
}

.novateplica-greenhouse-block__highlight::before {
    content: '';
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 4px;
    border-radius: 999px;
    background: var(--primary-color, #3bc54e);
}

.novateplica-greenhouse-block__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.novateplica-greenhouse-block__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.novateplica-greenhouse-block__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.novateplica-greenhouse-block__button:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.novateplica-greenhouse-block__button--primary {
    border: 1px solid var(--primary-color, #3bc54e);
    background: var(--primary-color, #3bc54e);
    color: #fff;
    box-shadow: 0 8px 20px rgba(59, 197, 78, 0.22);
}

.novateplica-greenhouse-block__button--primary:hover {
    background: #2fae41;
    border-color: #2fae41;
    color: #fff;
    box-shadow: 0 10px 24px rgba(59, 197, 78, 0.3);
}

.novateplica-greenhouse-block__button--secondary {
    border: 1px solid #6f7b6f;
    background: #fff;
    color: #111318;
}

.novateplica-greenhouse-block__button--secondary:hover {
    border-color: #354435;
    background: #f7fbf7;
    color: #111318;
}

.novateplica-greenhouse-block__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(28px, 3vw, 38px) clamp(24px, 4.2vw, 66px) clamp(30px, 3.2vw, 40px);
    border-top: 1px solid #e9e9e9;
    background: #fafafa;
}

.novateplica-greenhouse-block__feature {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    color: #253025;
    text-align: center;
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.35;
    font-weight: 500;
}

/* Продающий блок комплектаций: отдельный компонент для главной страницы. */
.novateplica-greenhouse-offer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin: clamp(28px, 4vw, 64px) 0;
    transform: translateX(-50%);
    border-radius: 0;
    background: transparent;
    color: #172638;
    font-family: 'Manrope', var(--font-main, 'Inter'), sans-serif;
}

.novateplica-greenhouse-offer *,
.novateplica-greenhouse-offer *::before,
.novateplica-greenhouse-offer *::after { box-sizing: border-box; }

.novateplica-greenhouse-offer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--greenhouse-offer-background) center/cover no-repeat;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, .28) 9%,
        #000 24%,
        #000 76%,
        rgba(0, 0, 0, .28) 91%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, .28) 9%,
        #000 24%,
        #000 76%,
        rgba(0, 0, 0, .28) 91%,
        transparent 100%
    );
}

.novateplica-greenhouse-offer__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(244, 250, 252, 0) 0%, rgba(244, 250, 252, .24) 14%, rgba(244, 250, 252, .08) 30%, rgba(244, 250, 252, .08) 70%, rgba(244, 250, 252, .24) 88%, rgba(244, 250, 252, 0) 100%),
        linear-gradient(90deg, rgba(238, 250, 239, .3), rgba(244, 251, 255, .22) 42%, rgba(239, 250, 239, .34));
}

.novateplica-greenhouse-offer__inner {
    width: min(calc(100% - 32px), 1980px);
    margin: 0 auto;
    padding: clamp(22px, 2.6vw, 42px) 0 clamp(24px, 2.8vw, 42px);
}

.novateplica-greenhouse-offer__eyebrow {
    width: min(100%, 1260px);
    margin: 0 auto 8px;
    color: #08752e;
    font-size: clamp(16px, 1.1vw, 22px);
    line-height: 1.15;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.novateplica-greenhouse-offer__title {
    width: min(100%, 1260px);
    margin: 0 auto;
    color: #1d2d40;
    font-size: clamp(24px, 2.15vw, 38px);
    line-height: 1.08;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.novateplica-greenhouse-offer__lead {
    width: min(100%, 1260px);
    max-width: 1260px;
    margin: 10px auto 20px;
    color: #344252;
    font-size: clamp(13px, .85vw, 15px);
    line-height: 1.45;
    font-weight: 500;
    text-align: center;
}

.novateplica-greenhouse-offer__cards {
    width: min(100%, 1260px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1vw, 18px);
    align-items: stretch;
}

.novateplica-greenhouse-offer__card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    min-height: 540px;
    padding: clamp(16px, 1.2vw, 22px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 12px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 15px 34px rgba(34, 72, 49, .14);
}

.novateplica-greenhouse-offer__sale {
    position: absolute;
    top: 8px;
    right: -25px;
    z-index: 1;
    width: 92px;
    padding: 5px 0;
    transform: rotate(45deg);
    background: #f3263d;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(152, 20, 38, .2);
}

.novateplica-greenhouse-offer__card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48%;
    gap: 12px;
    align-items: center;
    min-height: 112px;
}

.novateplica-greenhouse-offer__card-copy {
    min-width: 0;
}

.novateplica-greenhouse-offer__card-head h3 {
    margin: 0;
    color: #08752e;
    font-size: clamp(18px, 1.15vw, 22px);
    line-height: 1.03;
    font-weight: 800;
}

.novateplica-greenhouse-offer__card-head p {
    margin: 7px 0 0;
    color: #53616d;
    font-size: clamp(11px, .68vw, 13px);
    line-height: 1.22;
    font-weight: 500;
}

.novateplica-greenhouse-offer__card-head img {
    display: block;
    width: 100%;
    height: 112px;
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 10px rgba(42, 92, 53, .15));
}

.novateplica-greenhouse-offer__price {
    margin: 12px 0 10px;
    color: #07953c;
    font-size: clamp(25px, 1.7vw, 32px);
    line-height: 1;
    font-weight: 800;
}

.novateplica-greenhouse-offer__features {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    color: #53616d;
    font-size: clamp(13px, .82vw, 15px);
    line-height: 1.3;
}

.novateplica-greenhouse-offer__features li {
    position: relative;
    padding-left: 30px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e7ebee;
}

.novateplica-greenhouse-offer__features li:last-child { border-bottom: 0; }

.novateplica-greenhouse-offer__features li::before {
    content: '✓';
    position: absolute;
    top: -.1em;
    left: 0;
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    background: #2bbb51;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.novateplica-greenhouse-offer__button {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.novateplica-greenhouse-offer__button:hover {
    color: #fff;
}

.novateplica-greenhouse-offer__button span { font-size: 28px; line-height: 1; }

.novateplica-greenhouse-offer__note {
    margin-top: 7px;
    color: #6d7780;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 900px) {
    .novateplica-greenhouse-offer__eyebrow,
    .novateplica-greenhouse-offer__title,
    .novateplica-greenhouse-offer__lead,
    .novateplica-greenhouse-offer__cards { width: 100%; margin-left: auto; margin-right: auto; }
    .novateplica-greenhouse-offer__cards { grid-template-columns: 1fr; max-width: 620px; }
    .novateplica-greenhouse-offer__card { min-height: 0; }
    .novateplica-greenhouse-offer__card-head h3 { font-size: 24px; }
    .novateplica-greenhouse-offer__card-head img { height: 104px; }
}

@media (max-width: 640px) {
    .novateplica-greenhouse-offer { margin: 24px 0; }
    .novateplica-greenhouse-offer__inner { width: min(100% - 24px, 620px); padding: 34px 0 30px; }
    .novateplica-greenhouse-offer__eyebrow { font-size: 17px; }
    .novateplica-greenhouse-offer__title { font-size: 26px; }
    .novateplica-greenhouse-offer__lead { margin: 14px auto 24px; font-size: 15px; }
    .novateplica-greenhouse-offer__card { padding: 20px; border-radius: 12px; }
    .novateplica-greenhouse-offer__card-head { grid-template-columns: minmax(0, 1fr) 38%; min-height: 72px; }
    .novateplica-greenhouse-offer__card-head h3 { font-size: 23px; }
    .novateplica-greenhouse-offer__card-head img { height: 92px; }
    .novateplica-greenhouse-offer__price { font-size: 34px; }
}

/* Dark theme: keep the offer block readable without a bright white surface. */
[data-theme="dark"] .novateplica-greenhouse-offer {
    background-color: transparent;
    color: #edf5f8;
}

[data-theme="dark"] .novateplica-greenhouse-offer__overlay {
    background:
        linear-gradient(180deg, rgba(16, 25, 35, 0) 0%, rgba(16, 25, 35, .5) 14%, rgba(9, 20, 29, .28) 30%, rgba(9, 20, 29, .28) 70%, rgba(16, 25, 35, .5) 88%, rgba(16, 25, 35, 0) 100%),
        linear-gradient(90deg, rgba(8, 24, 18, .5), rgba(11, 29, 40, .42) 50%, rgba(8, 24, 18, .54));
}

[data-theme="dark"] .novateplica-greenhouse-offer__card {
    border-color: rgba(148, 163, 184, .28);
    background: rgba(22, 34, 45, .94);
    box-shadow: 0 15px 34px rgba(0, 0, 0, .3);
}

[data-theme="dark"] .novateplica-greenhouse-offer__card-head h3 {
    color: #69db7a;
}

[data-theme="dark"] .novateplica-greenhouse-offer__eyebrow {
    color: #72e487;
}

[data-theme="dark"] .novateplica-greenhouse-offer__title {
    color: #f1f7fb;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}

[data-theme="dark"] .novateplica-greenhouse-offer__lead {
    color: #d6e1e8;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}

[data-theme="dark"] .novateplica-greenhouse-offer__card-head p,
[data-theme="dark"] .novateplica-greenhouse-offer__features,
[data-theme="dark"] .novateplica-greenhouse-offer__note {
    color: #c5d0d8;
}

[data-theme="dark"] .novateplica-greenhouse-offer__features li {
    border-bottom-color: rgba(148, 163, 184, .22);
}

[data-theme="dark"] .novateplica-greenhouse-offer__price {
    color: #55d66b;
}

.novateplica-greenhouse-block__feature .novateplica-greenhouse-block__icon {
    color: var(--primary-color, #3bc54e);
    width: 30px;
    height: 30px;
}

[data-theme="dark"] .novateplica-greenhouse-block {
    border-color: rgba(55, 65, 81, 0.72);
    background: #111827;
    color: #f3f4f6;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .novateplica-greenhouse-block__media {
    background: #0b0f19;
}

[data-theme="dark"] .novateplica-greenhouse-block__content {
    background: #111827;
}

[data-theme="dark"] .novateplica-greenhouse-block__title,
[data-theme="dark"] .novateplica-greenhouse-block__highlight,
[data-theme="dark"] .novateplica-greenhouse-block__button--secondary {
    color: #f9fafb;
}

[data-theme="dark"] .novateplica-greenhouse-block__text,
[data-theme="dark"] .novateplica-greenhouse-block__feature {
    color: #d1d5db;
}

[data-theme="dark"] .novateplica-greenhouse-block__button--secondary {
    border-color: #6b7280;
    background: #111827;
}

[data-theme="dark"] .novateplica-greenhouse-block__button--secondary:hover {
    background: #1f2937;
}

[data-theme="dark"] .novateplica-greenhouse-block__features {
    border-top-color: #253044;
    background: #0f1624;
}

@media (max-width: 1280px) {
    .novateplica-greenhouse-block__main {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.95fr);
    }

    .novateplica-greenhouse-block__content {
        padding: 44px 40px;
    }
}

@media (max-width: 1080px) {
    .novateplica-greenhouse-block {
        border-radius: 28px;
    }

    .novateplica-greenhouse-block__main {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .novateplica-greenhouse-block__media {
        min-height: 0;
        padding: 38px;
    }

    .novateplica-greenhouse-block__media img {
        aspect-ratio: 16 / 10;
        height: auto;
        min-height: 0;
    }

    .novateplica-greenhouse-block__content {
        align-items: flex-start;
        padding: 50px 46px 56px;
    }

    .novateplica-greenhouse-block__text {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .novateplica-greenhouse-block {
        width: min(calc(100% - 24px), var(--container-width, 1540px));
        margin: 24px auto;
        border-radius: 22px;
    }

    .novateplica-greenhouse-block__media {
        padding: 22px;
    }

    .novateplica-greenhouse-block__media img {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .novateplica-greenhouse-block__content {
        padding: 34px 24px 40px;
    }

    .novateplica-greenhouse-block__eyebrow {
        display: none;
    }

    .novateplica-greenhouse-block__title {
        font-size: 28px;
        line-height: 1.08;
    }

    .novateplica-greenhouse-block__lead {
        font-size: 14px;
        line-height: 1.18;
    }

    .novateplica-greenhouse-block__stat {
        gap: clamp(7px, 2.2vw, 10px);
        margin-bottom: 26px;
    }

    .novateplica-greenhouse-block__stat-label {
        font-size: 25px;
    }

    .novateplica-greenhouse-block__stat-number {
        font-size: 54px;
    }

    .novateplica-greenhouse-block__stat-suffix {
        font-size: 25px;
    }

    .novateplica-greenhouse-block__stat-caption {
        font-size: clamp(22px, 6vw, 30px);
    }

    .novateplica-greenhouse-block__text {
        font-size: 16px;
        line-height: 1.5;
    }

    .novateplica-greenhouse-block__highlight {
        margin-top: 32px;
        font-size: 19px;
    }

    .novateplica-greenhouse-block__actions {
        gap: 10px;
        margin-top: 24px;
    }

    .novateplica-greenhouse-block__button {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        border-radius: 8px;
        font-size: 14px;
    }

    .novateplica-greenhouse-block__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 28px 22px 30px;
    }
}

@media (max-width: 520px) {
    .novateplica-greenhouse-block {
        width: min(calc(100% - 16px), var(--container-width, 1540px));
        margin: 18px auto;
        border-radius: 4px;
    }

    .novateplica-greenhouse-block__media {
        padding: 0;
    }

    .novateplica-greenhouse-block__media img {
        aspect-ratio: 1 / 1;
        border-radius: 0;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
    }

    .novateplica-greenhouse-block__content {
        padding: 28px 18px 34px;
    }

    .novateplica-greenhouse-block__title,
    .novateplica-greenhouse-block__lead {
        max-width: 100%;
    }

    .novateplica-greenhouse-block__text p {
        margin-bottom: 14px;
    }

    .novateplica-greenhouse-block__highlight {
        padding-left: 16px;
    }
}

@media (max-width: 420px) {
    .novateplica-greenhouse-block__content {
        padding: 26px 16px 32px;
    }

    .novateplica-greenhouse-block__title {
        font-size: 24px;
    }

    .novateplica-greenhouse-block__stat {
        gap: 6px;
        margin-bottom: 22px;
    }

    .novateplica-greenhouse-block__stat-label {
        font-size: clamp(18px, 6vw, 25px);
    }

    .novateplica-greenhouse-block__stat-number {
        font-size: clamp(50px, 17vw, 50px);
    }

    .novateplica-greenhouse-block__stat-suffix {
        font-size: clamp(23px, 8vw, 25px);
    }

    .novateplica-greenhouse-block__stat-caption {
        font-size: clamp(18px, 6vw, 25px);
    }

    .novateplica-greenhouse-block__lead {
        margin-bottom: 16px;
    }

    .novateplica-greenhouse-block__highlight {
        font-size: 18px;
    }

    .novateplica-greenhouse-block__button {
        min-height: 46px;
        padding: 0 16px;
        font-size: 13px;
    }

    .novateplica-greenhouse-block__features {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 18px 26px;
    }
}

@media (max-width: 360px) {
    .novateplica-greenhouse-block__content {
        padding: 24px 14px 30px;
    }

    .novateplica-greenhouse-block__stat {
        gap: 6px;
    }

    .novateplica-greenhouse-block__stat-label {
        font-size: 17px;
    }

    .novateplica-greenhouse-block__stat-number {
        font-size: 48px;
    }

    .novateplica-greenhouse-block__stat-suffix {
        font-size: 22px;
    }

    .novateplica-greenhouse-block__stat-caption {
        font-size: 17px;
    }
}
