/* Homepage layout from шаблон_головна_Manrope.html. WordPress supplies the section contents. */
.home .dvk-page { font-size: 16px; line-height: normal; }
.home .dvk-hero__copy { max-width: 920px; padding: 67px 0 110px; }
.home .dvk-hero__accent { color: var(--dvk-blue); }
.home .dvk-hero__body {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    max-width: 760px;
    margin-bottom: 26px;
    border-color: #e1e7f0;
    color: #45556e;
}
.home .dvk-hero__body > div { min-width: 0; }
.home .dvk-hero__body ul { list-style: none; padding-inline-start: 0; }
.home .dvk-hero .dvk-button--primary { border-color: var(--dvk-blue); }

.home .dvk-card__icon-wrap {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 13px;
    background: #eef8fd;
    color: #28a9e0;
    font-size: 26px;
}

.home .dvk-section--services > h2 { margin: 0 0 18px; font-size: 33px; font-weight: 700; line-height: normal; text-align: center; }
.home .dvk-section--services { margin-block: 0; padding: 30px 0 65px; }
.home .dvk-section--services .dvk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home .dvk-section--services .dvk-card { min-height: 214px; box-shadow: 0 6px 19px #1c4d8608; }
.home .dvk-section--services .dvk-card__icon-wrap { width: 43px; height: 43px; margin-bottom: 14px; border-radius: 11px; font-size: 25px; }
.home .dvk-section--services .dvk-card h3 { margin: 0; color: var(--dvk-text); font-size: 17px; font-weight: 700; line-height: 1.35; }
.home .dvk-section--services .dvk-card__body { flex: none; margin: 10px 0 17px; font-size: 14px; line-height: 1.6; }
.home .dvk-section--services .dvk-card .dvk-button {
    min-height: 0;
    margin-top: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #168cf4;
    font-weight: 700;
    line-height: normal;
}
.home .dvk-section--services .dvk-card .dvk-button::after { content: "→"; margin-inline-start: .2em; }
.home .dvk-section--services .dvk-card .dvk-button:hover { transform: none; box-shadow: none; color: #087cdd; }

.home .dvk-form h2 { margin-bottom: 30px; color: #2c3e59; font-size: 30px; font-weight: 700; line-height: normal; letter-spacing: -.025em; text-align: center; }
.home .dvk-form__card { box-shadow: 0 10px 30px #33415b08; }
.home .dvk-form form { position: relative; }
.home .dvk-form .wpcf7-spinner { position: absolute; inset: auto 12px 12px auto; margin: 0; }
.home .dvk-form form > p, .home .dvk-form .dvk-fields p { margin: 0; }
.home .dvk-form .dvk-fields label > br, .home .dvk-form form > p > br { display: none; }
.home .dvk-form .dvk-fields label { display: grid; gap: 9px; font-size: 14px; font-weight: 650; }
.home .dvk-form .dvk-field:has(textarea) { grid-column: 1 / -1; }
.home .dvk-form .wpcf7 :where(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"]), select, textarea) {
    padding: 12px;
    color: #273951;
    font-size: 14px;
    font-weight: 400;
}
.home .dvk-form textarea { height: 83px; min-height: 83px; }
.home .dvk-form .dvk-field:has(.wpcf7-acceptance) legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.home .dvk-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 9px; color: #56657d; font-size: 13px; font-weight: 400; line-height: 1.5; }
.home .dvk-form .wpcf7-acceptance input { margin: 3px 0 0; flex: none; }
.home .dvk-form .wpcf7-acceptance a { padding: 0; background: transparent; color: #0d7ddc; font-weight: 400; }
.home .dvk-form .wpcf7-submit { width: calc((100% - 18px) / 2); min-height: 52px; margin-top: 18px; padding: 17px 20px; border: 0; border-radius: 8px; font-size: 13px; font-weight: 700; line-height: normal; }
.dvk-home-telegram { max-width: 950px; margin: 18px auto 0; gap: 18px; }
.dvk-home-telegram__copy { display: flex; align-items: center; gap: 13px; min-width: 0; }
.dvk-home-telegram__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 13px; background: #e0f2ff; color: #168ef0; }
.dvk-home-telegram__icon svg { width: 27px; height: 27px; }
.dvk-home-telegram__title { margin: 0 0 3px; color: var(--dvk-ink); font-size: 17px; font-weight: 800; }
.dvk-home-telegram__desc { margin: 0; color: var(--dvk-muted); font-size: 13px; }
.dvk-home-telegram .dvk-button { flex: none; min-height: 44px; padding: 13px 18px; border: 0; background: #168ef0; font-size: 13px; font-weight: 750; line-height: normal; }

.home .dvk-reviews { margin-block: 0; padding-block: 60px 55px; text-align: center; }
.home :is(.dvk-reviews, .dvk-faq) > h2 { margin: .83em 0; font-size: 31px; font-weight: 700; line-height: normal; text-align: center; }
.home .dvk-reviews summary { min-height: 54px; padding: 17px 20px; border-radius: 8px; color: #0d7ddc; font-size: 13px; font-weight: 700; line-height: normal; list-style: none; }
.home .dvk-reviews__widget { margin-top: 14px; }

@media (max-width: 900px) {
    .home .dvk-hero__copy { max-width: none; padding-block: 29px 61px; }
    .home .dvk-hero h1 { max-width: 620px; margin-bottom: 19px; letter-spacing: -.7px; }
    .home .dvk-hero__body { max-width: none; gap: 10px; margin-bottom: 18px; padding: 15px; border-color: #e2e7ed; color: #40516e; font-size: 14px; line-height: 1.52; }
    .home .dvk-hero .dvk-actions { max-width: none; gap: 10px; }
    .home .dvk-hero .dvk-button { min-height: 48px; padding: 11px 10px; font-size: 13px; font-weight: 750; line-height: 1.3; }
    .home .dvk-hero .dvk-button--primary { min-height: 50px; font-size: 14px; }
    .home .dvk-hero :is(.dvk-button--secondary, .dvk-button--telegram) { border-color: #c8ddeb; color: #0b80df; }
}

@media (min-width: 650px) and (max-width: 900px) {
    .home { --dvk-gutter: 26px; }
    .home .dvk-hero__copy { padding-block: 37px 67px; }
    .home .dvk-hero .dvk-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home .dvk-hero .dvk-button--primary { grid-column: auto; }
}

@media (max-width: 700px) {
    .home .dvk-hero .dvk-button--telegram { border-color: #89caff; background: #e7f4ff; color: #006fbd; }
    .dvk-home-telegram { flex-direction: column; align-items: stretch; margin-inline: 16px; padding: 16px; gap: 13px; }
    .dvk-home-telegram__title { font-size: 15px; }
    .dvk-home-telegram .dvk-button { width: 100%; }
}

@media (max-width: 650px) {
    .home .dvk-section--advantages .dvk-card__icon-wrap { width: 44px; height: 44px; font-size: 23px; }
    .home .dvk-section--services { padding-block: 20px 55px; }
    .home .dvk-section--services { padding-inline: var(--dvk-gutter); }
    .home .dvk-section--services .dvk-grid { grid-template-columns: minmax(0, 1fr); }
    .home .dvk-section--services > h2, .home :is(.dvk-reviews, .dvk-faq) > h2 { font-size: 25px; }
    .home .dvk-section--services .dvk-card { min-height: 160px; }
    .home .dvk-form h2 { margin-bottom: 24px; font-size: 24px; line-height: 1.3; }
    .dvk-home-telegram { margin-top: 14px; }
    .home .dvk-form .wpcf7-submit { width: 100%; min-height: 47px; padding: 13px 14px; margin-top: 15px; font-size: 14px; }
    .home .dvk-reviews { padding-block: 48px 42px; }
    .home .dvk-reviews summary { width: 100%; min-height: 47px; padding: 13px 14px; font-size: 14px; }
    .home .dvk-form .wpcf7-spinner { bottom: 11px; }
}

@media (max-width: 360px) {
    .home { --dvk-gutter: 14px; }
    .home .dvk-hero--banner .dvk-hero__inner { padding-inline: 15px; }
    .home .dvk-hero .dvk-button { padding: 10px 6px; font-size: 12px; }
}
