/* ===== Главная: новые блоки ===== */
:root { --es-teal: #087f7b; --es-teal-2: var(--primary-color, #089f9a); --es-ink: #1f2a2a; --es-muted: #4a5757; --es-gray: #f6f5f3; }

/* --- Первый экран --- */
.es-hero { position: relative; overflow: hidden; background: var(--es-teal); color: #fff; font-family: 'Manrope', sans-serif;
	padding-top: calc(var(--es-h, 84px) + var(--es-top, 0px)); }
.es-hero__inner { max-width: 1320px; margin: 0 auto; padding: 40px 24px 150px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.es-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 14px; font-weight: 600; }
.es-hero__title { margin: 22px 0 0; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.1; color: #fff; text-shadow: none; }
.es-hero__lead { margin: 20px 0 0; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.92); max-width: 600px; }
.es-hero__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; max-width: 620px; }
.es-hero__points li { display: flex; align-items: center; gap: 10px; margin: 0 !important; font-size: 16px; font-weight: 600; }
.es-hero__points li::before { content: none !important; }
.es-hero__check { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--es-teal); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.es-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.es-hero__msg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.88); }
.es-hero__msg a { min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.14); display: inline-flex; align-items: center; font-weight: 700; color: #fff !important; text-decoration: none; }
.es-hero__msg a:hover { background: rgba(255,255,255,.24); }
.es-hero__photo { position: relative; align-self: end; min-height: 620px; display: flex; justify-content: center; align-items: flex-end; margin-bottom: -150px; }
.es-hero__photo img { position: relative; z-index: 1; width: auto; max-width: 100%; max-height: 780px; object-fit: contain; display: block; }
.es-hero__circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,.10); }
.es-hero__circle--1 { width: 560px; height: 560px; right: 0; bottom: 170px; }
.es-hero__circle--2 { width: 400px; height: 400px; right: 80px; bottom: 250px; background: rgba(255,255,255,.12); }
.es-hero__stats { position: absolute; left: 50%; bottom: 0; z-index: 2; transform: translateX(-50%); width: calc(100% - 48px); max-width: 1272px;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; color: var(--es-ink); border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.08); }
.es-hero__stat { padding: 26px 32px; display: flex; align-items: baseline; gap: 14px; border-right: 1px solid #ecebe8; }
.es-hero__stat:last-child { border-right: 0; }
.es-hero__stat b { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 38px; color: var(--es-teal); line-height: 1; }
.es-hero__stat span { font-size: 16px; font-weight: 600; }

@media (max-width: 1199.98px) {
	.es-hero__inner { grid-template-columns: 1fr; padding: 24px 20px 110px; gap: 24px; }
	.es-hero__photo { order: 2; min-height: 0; margin-bottom: -110px; }
	.es-hero__photo img { max-height: 420px; }
	.es-hero__circle--1 { width: 340px; height: 340px; right: 50%; transform: translateX(50%); bottom: 60px; }
	.es-hero__circle--2 { display: none; }
	.es-hero__stats { width: 100%; border-radius: 20px 20px 0 0; }
	.es-hero__stat { flex-direction: column; align-items: center; gap: 4px; padding: 18px 8px; text-align: center; }
	.es-hero__stat b { font-size: 26px; }
	.es-hero__stat span { font-size: 13px; }
}
@media (max-width: 575.98px) {
	.es-hero__points { grid-template-columns: 1fr; }
	.es-hero__cta .es-btn { width: 100%; }
	.es-hero__lead { font-size: 16px; }
}

/* --- Вопрос-ответ --- */
.es-faq { overflow: hidden; padding: 6px; margin: -6px; }
.es-faq .swiper-slide { height: auto; }
.es-faq__nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }
.es-faq__nav .swiper-pagination { position: static; width: auto !important; transform: none !important; }
.es-round-btn.swiper-button-prev, .es-round-btn.swiper-button-next { position: static; margin: 0; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #cfd8d7;
	background: #fff; color: var(--es-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.es-round-btn::after { content: none !important; }
.es-round-btn--fill.swiper-button-next { background: var(--es-teal); border-color: var(--es-teal); color: #fff; }
.es-round-btn.swiper-button-disabled { opacity: .35; }
.es-round-btn svg { width: 18px !important; height: 18px !important; }

/* --- Документы --- */
.es-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; }
.es-docs__list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.45; }
.es-docs__list li { display: flex; gap: 14px; align-items: flex-start; margin: 0 !important; }
.es-docs__list li::before { content: none !important; }
.es-docs__icon { width: 40px; height: 40px; border-radius: 12px; background: #e7f5f4; color: var(--es-teal); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.es-docs__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.es-docs__fan { position: relative; height: 480px; background: #f1f7f6; border-radius: 28px; }
.es-docs__doc { position: absolute; width: 250px; height: 350px; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #ecebe8;
	box-shadow: 0 14px 34px rgba(20,40,40,.16); transition: transform .25s; }
.es-docs__doc img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.es-docs__doc--1 { left: calc(50% - 125px); top: 50px; z-index: 2; }
.es-docs__doc--2 { left: 8%; top: 80px; transform: rotate(-8deg); }
.es-docs__doc--3 { right: 8%; top: 80px; transform: rotate(8deg); }
.es-docs__doc--1:hover { transform: translateY(-6px); }
.es-docs__doc--2:hover { transform: rotate(-8deg) translateY(-6px); }
.es-docs__doc--3:hover { transform: rotate(8deg) translateY(-6px); }
.es-docs__hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; padding: 9px 16px; border-radius: 999px; background: var(--es-ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none; }
@media (max-width: 991.98px) {
	.es-docs { grid-template-columns: 1fr; gap: 36px; }
	.es-docs__fan { height: 380px; }
	.es-docs__doc { width: 190px; height: 266px; }
	.es-docs__doc--1 { left: calc(50% - 95px); top: 36px; }
	.es-docs__doc--2 { left: 4%; top: 60px; }
	.es-docs__doc--3 { right: 4%; top: 60px; }
}

/* --- Отзывы --- */
.es-reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.es-vid { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #cfe5e2, #a9cdc8);
	box-shadow: 0 8px 24px rgba(20,40,40,.12); color: #fff !important; text-decoration: none !important; }
.es-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.es-vid__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95);
	color: var(--es-teal); display: flex; align-items: center; justify-content: center; transition: transform .2s; z-index: 1; }
.es-vid:hover .es-vid__play { transform: translate(-50%, -50%) scale(1.08); }
.es-vid__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.55)); font-weight: 700; font-size: 15px; z-index: 1; }
.es-reviews__side { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.es-shot { flex: 1 1 0; min-height: 0; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(20,40,40,.08); overflow: hidden; display: block; }
.es-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.es-reviews__more { min-height: 56px; border-radius: 14px; }
@media (max-width: 991.98px) {
	.es-reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
	.es-reviews > * { scroll-snap-align: start; }
	.es-reviews__side { aspect-ratio: 9 / 16; }
}
@media (min-width: 576px) and (max-width: 991.98px) { .es-reviews { grid-auto-columns: 38%; } }
@media (max-width: 767.98px) { .es-sec { padding: 56px 0; } .es-sec__head { margin-bottom: 28px; } }
.es-round-btn svg { fill: none !important; stroke: currentColor !important; }
.es-round-btn--fill.swiper-button-next { color: #fff !important; }
.es-round-btn.swiper-button-prev { color: var(--es-ink) !important; }

/* Телефон/планшет: фото Андрея Александровича сразу после заголовка */
@media (max-width: 1199.98px) {
	.es-hero__text { display: contents; }
	.es-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.es-hero__badge { order: 1; justify-self: start; }
	.es-hero__title { order: 2; }
	.es-hero__photo { order: 3; margin: 22px 0 0; min-height: 0; height: 340px; border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.08); align-items: flex-end; }
	.es-hero__photo img { max-height: 330px; }
	.es-hero__circle--1 { width: 300px; height: 300px; bottom: -40px; }
	.es-hero__lead { order: 4; }
	.es-hero__points { order: 5; }
	.es-hero__cta { order: 6; }
	.es-hero__msg { order: 7; }
}
@media (min-width: 576px) and (max-width: 1199.98px) { .es-hero__photo { height: 420px; } .es-hero__photo img { max-height: 410px; } }
/* Телефон: «Или напишите нам:» строкой выше, мессенджеры — три равные кнопки в ряд */
@media (max-width: 575.98px) {
	.es-hero__msg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.es-hero__msg span { grid-column: 1 / -1; }
	.es-hero__msg a { justify-content: center; min-height: 44px; }
}
