/* ==========================================================================
   Главная (Elementor 290). Значения — из reference/css/post-290.css,
   в комментариях — id элементов Elementor. Брейкпоинты: ≤1024, ≤767.
   Ссылки и кнопки — с префиксом блока, чтобы на dev их не перебивал kit Elementor.
   ========================================================================== */

/* ---------- 1. Первый экран (41b8226) — вариант общей шапки ---------- */
.site-header--home { min-height: 100vh; }
.site-header--home .site-header__inner { justify-content: flex-start; }
@media (max-width: 1024px) {
	.site-header--home { min-height: 100vh; padding: 0 40px; }
	.site-header.site-header--home .btn-phone { font-size: 18px; }
}
@media (max-width: 767px) {
	.site-header--home { min-height: 1070px; }
	.site-header--home .site-header__logo { align-self: center; }
	.site-header--home .site-header__logo img { width: 59%; }
	.site-header.site-header--home .btn-phone { font-size: 16px; padding: 20px 6px; }
}

/* ---------- 2. Интро и короткая форма (5da65de) ---------- */
.h-intro {
	--margin-top: -537px; --margin-bottom: 0px; --margin-left: 0px; --margin-right: 0px;
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 168px; --padding-right: 168px;
	--flex-grow: 0; --flex-shrink: 0;
}
@media (min-width: 768px) { .h-intro { --width: 1570%; } }
@media (max-width: 1024px) { .h-intro { --margin-top: -633px; --padding-left: 50px; --padding-right: 50px; } }
@media (max-width: 767px)  { .h-intro { --margin-top: -850px; --padding-left: 20px; --padding-right: 20px; } }

.h-intro__title { text-align: center; }                               /* 6ea2a4d */
.h-intro__title .t { font-size: 92px; font-weight: 700; color: var(--c-white); }
.h-intro__sub { margin: -12px 0 0; text-align: center; }             /* 5736194 */
.h-intro__sub .t { font-size: 48px; font-weight: 400; color: var(--c-white); }
@media (max-width: 767px) {
	.h-intro__title .t { font-size: 54px; line-height: .9em; }
	.h-intro__sub { margin: 0; }
	.h-intro__sub .t { font-size: 36px; line-height: .9em; letter-spacing: 0; }
}

.h-intro__box {                                                       /* 07ede64 */
	--margin-top: 100px; --margin-bottom: 0px; --margin-left: 0px; --margin-right: 0px;
	--padding-top: 25px; --padding-bottom: 63px; --padding-left: 27px; --padding-right: 27px;
	--border-bottom-width: 2px;
	background-color: #FFFFFF90;
	border-bottom: 2px solid var(--c-primary);
}
@media (min-width: 768px) { .h-intro__box { --content-width: 1570px; } }
@media (max-width: 1024px) { .h-intro__box { --margin-top: 15px; } }
@media (max-width: 767px)  { .h-intro__box { --margin-top: 30px; } }
.h-intro__boxtitle { margin: 0 0 25px; text-align: start; }          /* bad528f */
.h-intro__boxtitle .t { font-size: 24px; font-weight: 400; color: var(--c-text); }
@media (max-width: 767px) { .h-intro__boxtitle { margin: 0; } }

/* ---------- 3. О Даниэле (1ccd0a3) ---------- */
.h-about {
	--min-height: 808px; --flex-direction: row;
	--gap: 0px 0px; --row-gap: 0px; --column-gap: 0px;
	--margin-top: 250px; --margin-bottom: 250px; --margin-left: 0px; --margin-right: 0px;
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
}
@media (min-width: 768px) { .h-about { --content-width: 1570px; } }
@media (max-width: 767px) {
	.h-about { --flex-direction: column-reverse; --margin-top: 199px; --margin-bottom: 150px; }
}

.h-about__photo {                                                     /* 36a5f6d */
	--flex-direction: column-reverse; --align-items: flex-start;
	--gap: 0px 0px; --row-gap: 0px; --column-gap: 0px;
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
	--background-overlay: '';
}
.h-about__photo::before {
	background-image: var(--about-photo);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
@media (max-width: 767px) {
	.h-about__photo { --min-height: 49vh; --flex-direction: column; --align-items: stretch; }
}
.h-about__name {                                                      /* 4a5dd54 */
	background-color: #FFFFFF98;
	padding: 17px 44px 15px 44px;
	text-align: start;
}
.h-about__name .t { font-size: 18px; font-weight: 500; color: var(--c-text); }
@media (max-width: 767px) { .h-about__name { --align-self: flex-end; --order: 99999; } }

.h-about__quote {                                                     /* a19441b */
	--flex-direction: column; --justify-content: center;
	--border-style: solid; --border-color: var(--c-primary); --border-bottom-width: 2px;
	--margin-right: -142px;
	--padding-top: 40px; --padding-bottom: 40px; --padding-left: 40px; --padding-right: 40px;
	--background-overlay: '';
	--align-self: center; --flex-grow: 0; --flex-shrink: 1;
	border-bottom: 2px solid var(--c-primary);
}
.h-about__quote::before { background-color: #C0C0C070; }
@media (max-width: 1024px) { .h-about__quote { --order: 99999; } }
@media (max-width: 767px) {
	.h-about__quote {
		--align-items: flex-start;
		--gap: 0px 0px; --row-gap: 0px; --column-gap: 0px;
		--margin-right: 0px;
		--padding-top: 20px; --padding-bottom: 20px; --padding-left: 20px; --padding-right: 20px;
		--order: -99999;
	}
}
.h-about__q1 { text-align: start; }                                  /* 31e2cd0 */
.h-about__text {                                                      /* 4830075 */
	margin: 0 67px;
	text-align: start;
	font-size: 40px;
	line-height: 42px;
	letter-spacing: -0.6px;
}
.h-about__q2 { text-align: end; }                                    /* 88f9dc1 */
@media (max-width: 1024px) { .h-about__text { font-size: 24px; line-height: 28px; } }
@media (max-width: 767px) {
	.h-about__text { margin: 20px; font-size: 24px; }
	.h-about__q2 { --align-self: flex-end; }
}

/* ---------- 4. Инструменты (7b69010) ---------- */
.h-tools {
	--overlay-opacity: .7;
	--margin-bottom: 250px;
	--padding-top: 200px; --padding-bottom: 200px; --padding-left: 0px; --padding-right: 0px;
	--background-overlay: '';
	background-image: var(--tools-bg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.h-tools::before { background-color: var(--c-text); }
@media (min-width: 768px) { .h-tools { --content-width: 1570px; } }
@media (max-width: 767px) {
	.h-tools { --padding-top: 84px; --padding-bottom: 100px; --padding-left: 20px; --padding-right: 20px; }
}
.h-tools__title { text-align: center; }                              /* 01c3cd2 */
.h-tools__title .t { font-size: 92px; font-weight: 700; color: var(--c-white); }
.h-tools__sub { margin: 10px 0 30px; text-align: center; }           /* cff5d7b */
.h-tools__sub .t { font-size: 48px; font-weight: 400; color: var(--c-white); }
@media (max-width: 1024px) { .h-tools__sub { margin: -12px 0 10px; } }
@media (max-width: 767px) {
	.h-tools__title .t { font-size: 54px; line-height: .9em; }
	.h-tools__sub { margin: 0; }
	.h-tools__sub .t { font-size: 36px; line-height: .9em; }
}

.h-tools__grid {                                                      /* 6a7691a */
	--e-con-grid-template-columns: repeat(4, 1fr);
	--e-con-grid-template-rows: repeat(1, 1fr);
	--margin-bottom: 30px;
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
}
@media (max-width: 1024px) {
	.h-tools__grid {
		--e-con-grid-template-columns: repeat(2, 1fr);
		--e-con-grid-template-rows: repeat(2, 1fr);
		--padding-top: 20px; --padding-bottom: 20px; --padding-left: 20px; --padding-right: 20px;
	}
}
@media (max-width: 767px) {
	.h-tools__grid {
		--e-con-grid-template-columns: repeat(1, 1fr);
		--gap: 20px 20px; --row-gap: 20px; --column-gap: 20px;
		--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
	}
}
.h-tool {                                                             /* 92b2cd3 и др. */
	--padding-top: 72px; --padding-bottom: 42px; --padding-left: 25px; --padding-right: 25px;
	background-color: #FFFFFF90;
}
.h-tool__title { text-align: center; }
.h-tool__title .t { font-size: 48px; font-weight: 400; letter-spacing: -0.4px; }
.h-tool__text {
	background-color: var(--c-white);
	padding: 23px 23px 27px 23px;
	border-bottom: 2px solid var(--c-primary);
	text-align: start;
	font-size: 24px;
	font-weight: 400;
	line-height: 28px;
}
@media (max-width: 767px) {
	.h-tool__img img { width: 72%; }
	.h-tool__title .t { font-size: 36px; }
	.h-tool__text { padding: 16px 16px 20px 16px; }
}

/* ---------- 5. Блог (545a973, карточка 331) ---------- */
.h-blog {
	--overlay-opacity: .7;
	--margin-bottom: 250px;
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
}
@media (min-width: 768px) { .h-blog { --content-width: 1570px; } }
@media (max-width: 767px) { .h-blog { --margin-bottom: 150px; } }
.h-blog__title { text-align: center; }                               /* edce48a */
.h-blog__title .t { font-size: 92px; font-weight: 700; color: var(--c-text); }
.h-blog__sub { margin: 10px 0 30px; text-align: center; }            /* 5e546c9 */
.h-blog__sub .t { font-size: 48px; font-weight: 400; color: var(--c-text); }
@media (max-width: 767px) {
	.h-blog__title { margin: 0 20px; }
	.h-blog__title .t { font-size: 54px; line-height: .9em; }
	.h-blog__sub { margin: 0 20px 20px; }
	.h-blog__sub .t { font-size: 36px; line-height: .9em; }
}

.h-blog__grid {                                                       /* 316de4a */
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 1fr;
	gap: 30px;
	margin: 0 0 30px;
}
@media (max-width: 767px) {
	.h-blog__grid { grid-template-columns: repeat(1, 1fr); margin: 0 20px 30px; }
}
.h-card * { word-break: break-word; }
.h-card > .ec { height: 100%; }
.h-card__con {                                                        /* 54561e1 */
	--justify-content: space-between;
	--gap: 15px 15px; --row-gap: 15px; --column-gap: 15px;
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
}
@media (min-width: 768px) { .h-card__con { --content-width: 100%; } }
.h-card__title {                                                      /* 6076c6b */
	padding: 0 18px 0 0;
	border-right: 2px solid var(--c-primary);
	text-align: start;
	--order: -99999;
}
.h-card__title .t { font-size: 48px; font-weight: 400; letter-spacing: -0.4px; }
.h-card__text {                                                       /* 2feb16e */
	padding: 0 18px 0 0;
	columns: 1;
	text-align: start;
	font-size: 24px;
	font-weight: 400;
	line-height: 28px;
	color: var(--c-text);
	--align-self: flex-start;
}
.h-card__btnw { background-color: var(--c-accent); text-align: left; } /* b24ab06 */
.h-card .h-card__btn {
	background-color: var(--c-accent);
	color: var(--c-text);
	fill: var(--c-text);
	font-size: 24px;
	font-weight: 400;
	padding: 10px 0 13px 32px;
	border-radius: 0;
}
.h-card .h-card__btn:hover,
.h-card .h-card__btn:focus { color: var(--c-white); }

/* ---------- 6. Кейсы (a2e517c) ---------- */
.h-case {
	--overlay-opacity: .7;
	--margin-bottom: 250px;
	--padding-top: 200px; --padding-bottom: 200px; --padding-left: 0px; --padding-right: 0px;
	--background-overlay: '';
	background-color: var(--c-text);
}
.h-case::before { background-color: var(--c-text); }
@media (min-width: 768px) { .h-case { --content-width: 1570px; } }
@media (max-width: 767px) { .h-case { --padding-top: 86px; --padding-bottom: 100px; } }
.h-case__title { text-align: center; }                               /* 520b394 */
.h-case__title .t { font-size: 92px; font-weight: 700; color: var(--c-white); }
.h-case__sub { margin: 10px 0 30px; text-align: center; }            /* 710e1f4 */
.h-case__sub .t { font-size: 48px; font-weight: 400; color: var(--c-white); }
@media (max-width: 1024px) { .h-case__sub { margin: -12px 0 10px; } }
@media (max-width: 767px) {
	.h-case__title { margin: 0 20px; }
	.h-case__title .t { font-size: 54px; line-height: .9em; }
	.h-case__sub { margin: 0 20px 10px; }
	.h-case__sub .t { font-size: 36px; line-height: .9em; }
}

/* width:100% — без явной ширины флекс-колонка на мобильном считает галерею высотой 0 */
.h-gallery { width: 100%; margin: 0 0 30px; padding: 0; }             /* e2dc5c6 */
.h-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}
.h-gallery__item {
	display: block;
	position: relative;
	overflow: hidden;
}
.h-gallery__img {
	/* квадрат, как padding-bottom:100% у Elementor; aspect-ratio — чтобы флекс-колонка считала высоту (иначе на мобильном схлопывается) */
	aspect-ratio: 1 / 1;
	background-position: center center;
	background-size: cover;
}
.h-gallery__overlay,
.h-gallery__content { position: absolute; inset: 0; }
.h-gallery__overlay { transition: background-color 800ms; }
.h-gallery__item:hover .h-gallery__overlay,
.h-gallery__item:focus .h-gallery__overlay { background-color: #000000B5; }
.h-gallery__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 50px;
	text-align: right;
}
.h-gallery__title,
.h-gallery__desc {
	width: 100%;
	color: var(--c-white);
	opacity: 0;
	transition: opacity 1500ms;
}
.h-gallery__desc { transition-delay: 1500ms; }
.h-gallery__item:hover .h-gallery__title,
.h-gallery__item:hover .h-gallery__desc,
.h-gallery__item:focus .h-gallery__title,
.h-gallery__item:focus .h-gallery__desc { opacity: 1; }
.h-gallery__title { font-size: 48px; font-weight: 600; line-height: 44px; letter-spacing: -1px; }
.h-gallery__desc { margin-top: 46px; font-size: 24px; font-weight: 300; line-height: 28px; letter-spacing: -0.2px; }
@media (max-width: 1024px) {
	.h-gallery { padding: 20px; }
	.h-gallery__content { padding: 40px; }
	.h-gallery__title { font-size: 36px; }
	.h-gallery__desc { font-size: 24px; line-height: 24px; }
}
@media (max-width: 767px) {
	.h-gallery__grid { grid-template-columns: 1fr; gap: 10px; }
	.h-gallery__content { padding: 5px; }
	.h-gallery__title { font-size: 24px; line-height: .9em; }
	.h-gallery__desc { font-size: 14px; line-height: 14px; }
}

.h-case__more { text-align: center; }                                /* 77f8672 */
.h-case .h-case__btn {
	background-color: var(--c-primary);
	border: 1px solid var(--c-white);
	border-radius: 0;
	color: var(--c-white);
	fill: var(--c-white);
	font-size: 24px;
	font-weight: 700;
	padding: 13px 40px 14px 40px;
}
.h-case .h-case__btn:hover,
.h-case .h-case__btn:focus { background-color: var(--c-accent); color: var(--c-white); }

/* ---------- 7. Призыв (6b8f04a) ---------- */
.h-cta {
	--overlay-opacity: .7;
	--padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
}
@media (min-width: 768px) { .h-cta { --content-width: 1570px; } }
.h-cta__title { text-align: center; }                                /* 3c1aba1 */
.h-cta__title .t { font-size: 92px; font-weight: 700; line-height: .8em; color: var(--c-text); }
.h-cta__sub { margin: 10px 0 30px; text-align: center; }             /* 1c94b29 */
.h-cta__sub .t { font-size: 48px; font-weight: 400; color: var(--c-text); }
@media (max-width: 767px) {
	.h-cta__title { margin: 0 20px; }
	.h-cta__title .t { font-size: 54px; line-height: .9em; }
	.h-cta__sub { margin: 0 20px 30px; }
	.h-cta__sub .t { font-size: 36px; line-height: .9em; }
}

/* ---------- 9. Подвал главной (0710696) — вариант общего подвала ---------- */
.site-footer--home { padding: 200px 0 150px; }
.site-footer--home .site-footer__logo img { width: auto; }
.site-footer--home .site-footer__contacts--mobile span { font-size: 24px; }
@media (max-width: 1024px) {
	.site-footer--home .site-footer__contacts--wide { display: none; }
	.site-footer--home .site-footer__contacts--mobile { display: block; }
}
@media (max-width: 767px) {
	.site-footer--home { padding: 100px 0; }
	.site-footer--home .site-footer__contacts--mobile span { font-size: 18px; }
	.site-footer--home .site-footer__slogan span { line-height: .9em; }   /* 0520b18 */
}
