/**
 * ── "Для бізнесу та дому" ────────────────────────────────────────────────
 * Styled to match the page's own live Elementor build (measured via
 * computed styles/rects at 1400/768/375px), not the theme's generic
 * tokens — this page's Elementor kit uses its own heading/text colors
 * and a green gradient band that differ from the rest of the site.
 */

.dbtd-hero,
.dbtd-intro,
.dbtd-audience,
.dbtd-biztype-outro { --content-width: 1400px; }

.dbtd-intro .container,
.dbtd-audience .container,
.dbtd-biztype-outro .container { max-width: var(--content-width); }

/* why-solar, hero and business-types measure wider on the reference than
   the rest of the page — each Elementor section has its own --content-width,
   not one shared value. padding:0 because the theme's shared .container
   class bakes in 20px side padding that would otherwise eat into this
   max-width (Elementor's own container has none here). */
.dbtd-why .container     { max-width: 1420px; padding: 0; }
.dbtd-biztype .container { max-width: 1720px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.dbtd-hero {
    position:            relative;
    background-size:     cover;
    background-position: center center;
    background-repeat:   no-repeat;
}

.dbtd-hero .container { max-width: 1680px; padding: 0; }

.dbtd-hero .dbtd-hero__breadcrumbs {
    position:      absolute;
    top:           24px;
    left:          0;
    right:         0;
    margin-bottom: 0;
    padding-left:  20px;
    z-index:       1;
}

.dbtd-hero__breadcrumbs .breadcrumbs__link  { color: rgba(255, 255, 255, .7); }
.dbtd-hero__breadcrumbs .breadcrumbs__link:hover { color: #ffffff; }
.dbtd-hero__breadcrumbs .breadcrumbs__sep   { color: rgba(255, 255, 255, .5); }
.dbtd-hero__breadcrumbs .breadcrumbs__current { color: #ffffff; }

.dbtd-hero__inner {
    width:      80%;
    max-width:  1344px;
    margin:     0 auto;
    padding:    100px 0 200px;
    text-align: center;
}

.dbtd-hero__title {
    margin:      0;
    font-size:   74px;
    font-weight: 500;
    line-height: 1.11;
    color:       #ffffff;
}

.dbtd-hero__cta {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           max-content;
    gap:             8px;
    margin:          30px auto 0;
    padding:         14px 27px 14px 26px;
    background:      linear-gradient(90deg, #3F8F46 0%, #6DC170 100%);
    border:          1px solid #ffffff;
    border-radius:   10px;
    box-shadow:       0 7px 13px rgba(0, 0, 0, .1);
    font-size:       16px;
    font-weight:     500;
    color:           #ffffff;
    cursor:          pointer;
    transition:      opacity var(--transition);
}

.dbtd-hero__cta:hover { opacity: .9; }
.dbtd-hero__cta svg { flex: none; width: 20px; height: 20px; }

@media (max-width: 900px) {
    .dbtd-hero__inner  { padding: 70px 0; }
    .dbtd-hero__title  { font-size: 48px; }
}

@media (max-width: 480px) {
    .dbtd-hero__title  { font-size: 32px; }
}

/* ── Intro ─────────────────────────────────────────────────────────────── */
.dbtd-intro { padding: 70px 0 0; }

.dbtd-intro__text {
    max-width:   1088px;
    margin:      0 auto;
    font-size:   18px;
    font-weight: 500;
    line-height: 24px;
    color:       #000000;
    text-align:  center;
}

.dbtd-intro__text + .dbtd-intro__text { margin-top: 18px; }

.dbtd-intro__highlight { color: #55ac61; }

/* ── Why solar (5-item icon row) ──────────────────────────────────────── */
.dbtd-why { padding: 88px 0 90px; }

.dbtd-why__title {
    max-width:   1420px;
    margin:      0 auto 20px;
    font-size:   48px;
    font-weight: 700;
    line-height: 1.2;
    color:       #353329;
    text-align:  center;
}

.dbtd-why__text {
    max-width:   1420px;
    margin:      0 auto;
    font-size:   16px;
    font-weight: 400;
    line-height: 1.6;
    color:       #000000;
    text-align:  center;
}

.dbtd-why__text + .dbtd-why__text { margin-top: 14px; }

.dbtd-why__grid {
    display:               grid;
    grid-template-columns: repeat(5, 1fr);
    gap:                   0;
    margin-top:            56px;
}

.dbtd-why__item {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    padding:        16px;
    text-align:     center;
    background:     #F7FCF8;
}

.dbtd-why__item:nth-child(even) { background: #F0F8F0; }

.dbtd-why__icon svg { display: block; width: 48px; height: 48px; margin-bottom: 17px; }

.dbtd-why__item-title {
    margin:      0 0 25px;
    font-size:   18px;
    font-weight: 500;
    line-height: 1.3;
    color:       #353329;
}

.dbtd-why__item-text {
    margin:      0;
    font-size:   16px;
    line-height: 1.4;
    color:       #000000;
}

.dbtd-why__cta {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           max-content;
    margin:          40px auto 0;
    padding:         14px 27px 14px 26px;
    background:      linear-gradient(90deg, #3F8F46 0%, #6DC170 100%);
    border:          0;
    border-radius:   10px;
    font-size:       16px;
    font-weight:     500;
    color:           #ffffff;
    cursor:          pointer;
    transition:      opacity var(--transition);
}

.dbtd-why__cta:hover { opacity: .9; }

@media (max-width: 900px) {
    .dbtd-why__grid { grid-template-columns: repeat(2, 1fr); }
    .dbtd-why__title { font-size: 36px; }
}

@media (max-width: 767px) {
    .dbtd-why__grid { grid-template-columns: 1fr; }
    .dbtd-why__title { font-size: 24px; }
}

/* ── Audience blocks (Дім / Бізнес / ОСББ) ────────────────────────────── */
.dbtd-audience { padding: 89px 0 20px; }

.dbtd-audience__item {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   80px;
    align-items:           center;
}

.dbtd-audience__item--reverse { grid-template-columns: 1fr 1fr; }
.dbtd-audience__item--reverse .dbtd-audience__col   { order: 2; }
.dbtd-audience__item--reverse .dbtd-audience__media { order: 1; }

.dbtd-audience__item + .dbtd-audience__item {
    margin-top:  60px;
    padding-top: 60px;
    border-top:  1px solid var(--color-border);
}

.dbtd-audience__media img {
    display:       block;
    width:         100%;
    height:        auto;
    border-radius: 16px;
    object-fit:    cover;
}

.dbtd-audience__icon {
    display:      block;
    margin:       0 0 29px;
    width:        60px;
    height:       60px;
}

.dbtd-audience__icon svg { display: block; width: 60px; height: 60px; }

.dbtd-audience__eyebrow {
    display:       inline-block;
    margin:        0 0 29px;
    padding:       10px 24px;
    border:        1px solid #55ac61;
    border-radius: 100px;
    font-size:     16px;
    font-weight:   400;
    line-height:   1.2;
    color:         #000000;
}

.dbtd-audience__heading {
    margin:      0 0 16px;
    font-size:   48px;
    font-weight: 700;
    line-height: 1.2;
    color:       #353329;
}

.dbtd-audience__text {
    margin:      0 0 24px;
    font-size:   16px;
    line-height: 20px;
    color:       #000000;
}

.dbtd-audience__list {
    display:        flex;
    flex-direction: column;
    gap:            10px;
    margin:         0 0 14px;
    padding:        0;
    list-style:     none;
}

.dbtd-audience__list li {
    display:      flex;
    align-items:  flex-start;
    gap:          10px;
    font-size:    16px;
    line-height:  20px;
    color:        #000000;
}

.dbtd-audience__list li svg { flex: none; margin-top: 1px; }

.dbtd-audience__cta {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           max-content;
    margin:          10px auto 0;
    padding:         14px 27px 14px 26px;
    background:      linear-gradient(90deg, #3F8F46 0%, #6DC170 100%);
    border:          0;
    border-radius:   10px;
    font-size:       16px;
    font-weight:     500;
    color:           #ffffff;
    cursor:          pointer;
    transition:      opacity var(--transition);
}

.dbtd-audience__cta:hover { opacity: .9; }

@media (max-width: 900px) {
    .dbtd-audience__item { gap: 40px; }
    .dbtd-audience__heading { font-size: 36px; }
}

@media (max-width: 767px) {
    .dbtd-audience__item,
    .dbtd-audience__item--reverse {
        grid-template-columns: 1fr;
    }
    .dbtd-audience__item--reverse .dbtd-audience__col,
    .dbtd-audience__item--reverse .dbtd-audience__media {
        order: initial;
    }
    .dbtd-audience__media { margin-top: 24px; }
}

/* ── Business types: full-bleed green band + 4-across card grid ──────── */
.dbtd-biztype { padding: 0; }

.dbtd-biztype__band {
    padding:    70px 20px;
    background: linear-gradient(90deg, #3F8F46 0%, #6DC170 100%);
}

.dbtd-biztype__title {
    margin:      0 0 40px;
    font-size:   48px;
    font-weight: 700;
    line-height: 1.2;
    color:       #ffffff;
    text-align:  center;
}

.dbtd-biztype__grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   20px;
}

.dbtd-biztype__item {
    padding:       16px;
    background:    #ffffff;
    border-radius: 16px;
}

.dbtd-biztype__item-img {
    display:       block;
    width:         100%;
    height:        auto;
    aspect-ratio:  293 / 163;
    object-fit:    cover;
    margin-bottom: 24px;
}

.dbtd-biztype__item-title {
    margin:      0 0 24px;
    font-size:   24px;
    font-weight: 700;
    color:       #000000;
}

.dbtd-biztype__item-text {
    margin:      0;
    font-size:   16px;
    line-height: 20px;
    color:       #000000;
}

.dbtd-biztype__list {
    display:        flex;
    flex-direction: column;
    gap:            8px;
    margin:         64px 0 0;
    padding:        0;
    list-style:     none;
}

.dbtd-biztype__list li {
    display:      flex;
    align-items:  flex-start;
    gap:          8px;
    font-size:    16px;
    line-height:  20px;
    color:        #000000;
}

.dbtd-biztype__list li svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }

@media (max-width: 900px) {
    .dbtd-biztype__grid   { grid-template-columns: repeat(2, 1fr); }
    .dbtd-biztype__title  { font-size: 36px; }
}

@media (max-width: 767px) {
    .dbtd-biztype__grid   { grid-template-columns: 1fr; }
    .dbtd-biztype__title  { font-size: 28px; }
}

/* ── Outro (rounded card inset in a plain section, matches prod) ─────── */
.dbtd-biztype-outro { padding: 90px 0 45px; }

.dbtd-biztype-outro__card {
    background-color:    #F7FCF8;
    background-image:    url('https://ecotech.net.ua/wp-content/uploads/2026/02/icon-39.svg');
    background-repeat:   no-repeat;
    background-position: 0% 50%;
    background-size:     contain;
    border-radius:       16px;
    padding:              40px;
}

.dbtd-biztype-outro__text {
    margin:      0;
    font-size:   36px;
    font-weight: 500;
    line-height: 1.3;
    color:       #000000;
    text-align:  center;
}

@media (max-width: 900px) {
    .dbtd-biztype-outro__card { padding: 32px; }
    .dbtd-biztype-outro__text { font-size: 20px; }
}

@media (max-width: 767px) {
    .dbtd-biztype-outro__card { padding: 28px; }
    .dbtd-biztype-outro__text { font-size: 18px; }
}
