/*!
Theme Name: My Custom Theme
Theme URI: https://underscores.me/
Author: YuVeliR
Author URI: https://t.me/+380501973107
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lawfirm-theme
*/


html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* ---- MINIMAL BOOTSTRAP GRID (sm / md / lg, extended with .col-9) ---- */
*, *::before, *::after { box-sizing: border-box; }

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1200px; } }

@media (min-width: 576px)  { .container2 { max-width: 540px; } }
@media (min-width: 768px)  { .container2 { max-width: 720px; } }
@media (min-width: 992px)  { .container2 { max-width: 960px; } }
@media (min-width: 1200px) { .container2 { max-width: 1200px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.flexmedia {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-menu-row {
  display: flex;
  flex-wrap: wrap;
}


[class^="col"], [class*=" col"] {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* --- Base columns --- */
.col       { flex: 1 0 0%; max-width: 100%; }
.col-12    { flex: 0 0 100%; max-width: 100%; }
.col-9     { flex: 0 0 75%; max-width: 75%; }
.col-8     { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-6     { flex: 0 0 50%; max-width: 50%; }
.col-4     { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-3     { flex: 0 0 25%; max-width: 25%; }

/* --- sm breakpoint (≥576px) --- */
@media (min-width: 576px) {
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  .col-sm-9  { flex: 0 0 75%; max-width: 75%; }
  .col-sm-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-sm-6  { flex: 0 0 50%; max-width: 50%; }
  .col-sm-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-sm-3  { flex: 0 0 25%; max-width: 25%; }
}

/* --- md breakpoint (≥768px) --- */
@media (min-width: 768px) {
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  .col-md-9  { flex: 0 0 75%; max-width: 75%; }
  .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-md-6  { flex: 0 0 50%; max-width: 50%; }
  .col-md-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-3  { flex: 0 0 25%; max-width: 25%; }
}

/* --- lg breakpoint (≥992px) --- */
@media (min-width: 992px) {
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  .col-lg-9  { flex: 0 0 75%; max-width: 75%; }
  .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-lg-6  { flex: 0 0 50%; max-width: 50%; }
  .col-lg-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-3  { flex: 0 0 25%; max-width: 25%; }
}

/* --- Utility Flex Helpers --- */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }

/* --- Optional: remove gutters --- */
.no-gutters { margin-left: 0; margin-right: 0; }
.no-gutters > [class^="col"], .no-gutters > [class*=" col"] {
  padding-left: 0;
  padding-right: 0;
}

body {
	margin: 0;
}
hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}
pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}
a {
	background-color: transparent;
	transition: all 0.2s;
    color: #5E665F;
    font-weight: 700;
    text-decoration: underline;
}
a:hover {
    opacity: .7;
    text-decoration: none;
}
abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}
b,
strong {
	font-weight: bolder;
}
code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}
small {
	font-size: 80%;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
img {
	border-style: none;
}

/* ================== Forms ========================================================================== */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}
button,
input { /* 1 */
	overflow: visible;
}
button,
select { /* 1 */
	text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}
fieldset {
	padding: 0.35em 0.75em 0.625em;
}
legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}
progress {
	vertical-align: baseline;
}
textarea {
	overflow: auto;
}
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* ============= Interactive ========================================================================== */
details {
	display: block;
}
summary {
	display: list-item;
}
template {
	display: none;
}
[hidden] {
	display: none;
}
/*========================= Typography ==============================================================*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #1A1A1A;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-family: "Cormorant Garamond", serif;
}
p {
	margin-top: 0;
	margin-bottom: 1.5em;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
big {
	font-size: 125%;
}
/*=============================== Elements =================================================*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}
body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 0;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	height: auto;
	max-width: 100%;
}
figure {
	margin: 1em 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
.datepickers-container {
	z-index: 999;
}
/*============================= Forms =================================================*/
button,
input[type="button"],
input[type="reset"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
/*	border-color: #ccc #bbb #aaa; */
}
button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
/*	border-color: #aaa #bbb #bbb; */
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}
select {
	border: 1px solid #ccc;
}
textarea {
	width: 100%;
}
/* ================ Do not show the outline on the skip link target ================================= */
#content[tabindex="-1"]:focus {
	outline: 0;
}
/*============================================= Media ==============================================*/

.page p {
	color: #5e5e5e;
}
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
embed,
iframe,
object {
	max-width: 100%;
}
body {
    font-family: "Inter", sans-serif;
	font-size: 17px;
	background-color: #F2F1EC;
}
.ff-lobster {
	font-family: 'Lobster', cursive, sans-serif;
}
.section {
	padding: 50px 0;
}
img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* ======================================== HEADER ============================================= */
#header {
	padding-top: 100px;
	height: 100px;
}
.mobile-only {
    display: none !important;
}
.desktop-only {
    display: block !important;
}
.header-top {
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	position: fixed;
	background-color:#fff;
	min-height: 100px;
}
.header_top {
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	position: fixed;
	padding: 4px 0;
	background-color: #f3f3f3;
	display: none !important;
}
.header_top .container {
	padding-left: 20px;
	padding-right: 20px;
}

.header-text {
    color: #F2F1EC;
    font-size: 13px;
}

.container2 {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}
.container2-wrapper {
    width: 100%;
}
.green-bg {
    background-color: #1c6e45;
}
a.map-link {
    text-decoration: underline;
}
a.map-link:hover {
    text-decoration: none;
}
.footer .map-link {
    color: #F2F1EC;
    font-family: "Cormorant Garamond", serif;
}

.header_top .header_phone {
	display: inline-block;
	font-size: 15px;
    line-height: 1;
    font-weight: normal;
	font-style: normal;
	vertical-align: middle;
    letter-spacing: 0.0em;
    text-transform: none;
    color: #5E665F;
}
.header_top .header_phone + .header_phone {
	margin-left: 35px;
}

.header_content .row {
	padding: 4px 0px;
	font-size: 15px;
    line-height: 1;
    align-items:center;
}
.header_content .header_icon {
	fill: #2fa360;
	vertical-align: super;
	margin-right: 13px;
	width: 22px;
}
.header_menu {
	background-color: #2D4A42;
	position: relative;
	min-height: 100px;
}

.menu-header {
	margin: 0;
	padding: 0;
	line-height: 1;
}
.menu-header li {
	display: inline-block;
	line-height: 1;
}
.menu-header a {
	display: inline-block;
	font-size: 14px;
    line-height: 1;
	color: #F2F1EC;
	padding: 16px 6px;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: "Cormorant Garamond", serif;
}
.menu-header a:hover {
	background-color:rgba(255,255,255,0.12);
}
.container2 .menu-header a:hover {
	color: #5E665F;
}
.menu-header .menu-item > a {
    line-height: 1;
	font-weight: 600;
}

@media (max-width: 1200px) {
    .header_menu {
    	min-height: 60px;
    }
}

@media (max-width: 1200px) {
    #header {
	    padding-top: 60px;
	    height: 60px;
    }
    .header_top {
		background-color: #e78a4b;
		padding: 8px 0 0 0;
    }
    .header-top {
		min-height: 60px;
    }
    .mobile-only { display: block !important; }
    .desktop-only { display: none !important; }
}
@media (min-width: 1201px) {
    .mobile-only { display: none !important; }
}
/* =================================== H1 ========================================= */
.first-section h1 {
	font-size: 56px;
	line-height: 1.2;
	font-weight: 700;
	margin: 10px 0 20px 0;
	max-width: 900px;
	color: #2D4A42;
}

.first-section h1 .h1-small {
    font-size: .48em;
    line-height: 1.1;
    letter-spacing: .08em;
}

.article-header h1,
.page-header h1 {
	color: #2D4A42;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.2;
	margin: 30px 0 50px 0;
	text-align: center;
	min-height: calc(1.2em * 2);
	text-transform: uppercase;
}
@media (max-width: 800px) {
    .first-section h1 {
        font-size: 36px;
        padding: 10px 0 10px 0;
        margin: 0 0 10px 0;
    }
    .article-header h1,
    .page-header h1 {
    	font-size: 32px;
	    margin: 15px 0 25px 0;
    }
}


/* ================================== BREADCRUMBS ===================================== */
.breadcrumbs a svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  fill: #5E665F;
  transition: fill 0.3s;
}
.breadcrumbs a:hover svg {
  fill: #1c3a50;
}
.breadcrumbs {
	font-family: "Cormorant Garamond", serif;
	text-align: left;
	padding: 15px 0;
	text-align-last: left;
	min-height: 66px;
}
.breadcrumbs a {
	color: #1A1A1A;
	text-decoration: none;
	font-weight: 400;
}
.breadcrumbs span {
	color: #1A1A1A;
}
.breadcrumbs span:not(:last-child) {
	margin-right: 10px;
}
/* ======================================== MOBILE BREADCRUMBS COMPACT ============================= */
@media (max-width: 800px) {
  .breadcrumbs {
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE, Edge */
    line-height: normal;
  }
  .breadcrumbs::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  .breadcrumbs span,
  .breadcrumbs a {
    flex: 0 0 auto; /* чтобы элементы не сжимались */
    font-size: 15px;
  }
  .breadcrumbs span:not(:last-child) {
    margin-right: 8px; /* чуть меньше отступов */
  }
  .breadcrumbs a svg {
    width: 19px;
    height: 19px;
    vertical-align: middle;
  }
}

/* ================= H2 ================= */
h2,
.section-team h2,
.section-items h2,
.box-advantages h2,
.box-banner h2,
.box-cabinets h2,
.box-call-mobile h2,
.box-certificates h2,
.box-cost h2,
.box-doctors h2,
.box-faq h2,
.box-faq-form h2,
.box-form h2,
.box-green h2,
.box-image-with-text h2,
.box-leave-rev h2,
.box-map h2,
.box-posts h2,
.box-orange h2,
.box-results h2,
.box-reviews h2,
.box-reviews-doc h2,
.box-service h2,
.box-signature h2,
.box-step_2 h2,
.box-step_3 h2,
.box-step_4 h2,
.box-step_X h2,
.box-text h2,
.box-video h2,
.page-box-text h2,
.front-article h2,
h2.lawfirm-modal__title,
.front-come h2,
.front-doctors h2,
.front-form h2,
.front-reviews h2,
.front-service h2,
.front-step_3 h2,
.front-text h2,
.front-video h2 {
	text-align: center;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 30px 0;
	color: #1A1A1A;
	font-family: "Cormorant Garamond", serif;
	text-transform: uppercase;
}
.box-price-page h2 {
	text-align: center;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}
@media (max-width: 800px) {
    h2,
    .section-team h2,
    .section-items h2,
    .box-advantages h2,
    .box-banner h2,
    .box-cabinets h2,
    .box-call-mobile h2,
    .box-certificates h2,
    .box-cost h2,
    .box-doctors h2,
    .box-faq h2,
    .box-faq-form h2,
    .box-form h2,
    .box-green h2,
    .box-image-with-text h2,
    .box-leave-rev h2,
    .box-map h2,
    .box-posts h2,
    .box-orange h2,
    .box-price-page h2,
    .box-results h2,
    .box-reviews h2,
    .box-reviews-doc h2,
    .box-service h2,
    .box-signature h2,
    .box-step_2 h2,
    .box-step_3 h2,
    .box-step_4 h2,
    .box-step_X h2,
    .box-text h2,
    .box-video h2,
    h2.lawfirm-modal__title,
    .page-box-text h2,
    .front-article h2,
    .front-come h2,
    .front-doctors h2,
    .front-form h2,
    .front-reviews h2,
    .front-service h2,
    .front-step_3 h2,
    .front-text h2,
    .front-video h2 {
    	font-size: 32px;
    }
}
/* ================= BLOCKS ================= */
.first-section,
.section-items,
.section-team,
.section-team-all,
.section-practices,
.section-services,
.box-advantages,
.box-banner,
.box-cabinets,
.box-call-mobile,
.box-certificates,
.box-cost,
.box-doctors,
.box-faq,
.box-faq-form,
.box-green,
.box-image-with-text,
.box-leave-rev,
.box-map,
.box-orange,
.box-results,
.box-reviews,
.box-reviews-doc,
.box-service,
.box-signature,
.box-step_2,
.box-step_3,
.box-step_4,
.box-step_X,
.box-text,
.box-video,
.page-box-text,
.page-header,
.front-article,
.front-come,
.front-doctors,
.front-reviews,
.front-service,
.front-step_3,
.front-text,
.front-video {
	margin-bottom: 100px;
}
.article-header {
	margin-bottom: 25px;
}
@media (max-width: 800px) {
    .first-section,
    .section-items,
    .section-team,
    .section-team-all,
    .section-practices,
    .section-services,
    .box-advantages,
    .box-banner,
    .box-cabinets,
    .box-call-mobile,
    .box-certificates,
    .box-cost,
    .box-doctors,
    .box-faq,
    .box-faq-form,
    .box-green,
    .box-image-with-text,
    .box-leave-rev,
    .box-map,
    .box-orange,
    .box-results,
    .box-reviews,
    .box-reviews-doc,
    .box-service,
    .box-signature,
    .box-step_2,
    .box-step_3,
    .box-step_4,
    .box-step_X,
    .box-text,
    .box-video,
    .page-box-text,
    .page-header,
    .front-article,
    .front-come,
    .front-doctors,
    .front-reviews,
    .front-service,
    .front-step_3,
    .front-text,
    .front-video {
    	margin-bottom: 60px;
    }
    .article-header {
    	margin-bottom: 10px;
    }
}
.box-image-with-text::after {
	content: "";
	display: block;
	clear: both;
}
.page-header {
	min-height: auto;
	text-align: center;
	position: relative;
}
/* ================================== FIRST-SECTION + PARALLAX ========================================= */
.first-section {
    position: relative;
    min-height: calc((100vh - 100px) * 0.8);
    min-height: calc((100svh - 100px) * 0.8);
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background-color: #F2F1EC;
}
.hero-flex-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: inherit;
    position: relative;
    box-sizing: border-box;
}

.hero-main {
    display: flex;
    flex: 1 1 auto;
}

.hero-main > .container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.first-section .breadcrumbs {
    flex: 0 0 auto;
    margin-bottom: 12px;
}

.hero-main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0px, 3vw, 20px);
}

.hero-advantages {
    flex: 0 0 auto;
}
.first-section .container {
    position: relative;
    z-index: 2;
}

.first-section .col-12 {
    display: flex;
    flex-direction: column;
}

.hero-flex-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    justify-content: space-between;
    gap: clamp(0px, 3vw, 50px);
}

.hero404-flex-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    justify-content: center;
    gap: clamp(0px, 3vw, 100px);
}

/* Крошки всегда сверху */
.first-section .breadcrumbs {
  flex: 0 0 auto;
  margin-bottom: 12px; /* можно 8–16 */
}

/* Центрируется только контент героя */
.hero-main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0px, 3vw, 20px);
/*    max-width: 600px; */
}

.parallax-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    animation: fadeInParallax 5s ease-out forwards;
}

.parallax-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #F2F1EC 0%,
        rgba(242, 241, 236, 0.85) 35%,
        rgba(242, 241, 236, 0.35) 70%,
        rgba(242, 241, 236, 0) 100%
    );
}

#make-appointment .parallax-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    animation: fadeInParallax 5s ease-out forwards;
}

#make-appointment .parallax-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        270deg,
        #F2F1EC 0%,
        rgba(242, 241, 236, 0.85) 35%,
        rgba(242, 241, 236, 0.35) 70%,
        rgba(242, 241, 236, 0) 100%
    );
}

#make-appointment .container {
    position: relative;
    z-index: 2;
}

.page-header .parallax-bg {
    filter: brightness(1);
}
@keyframes fadeInParallax {
    from { opacity: 0; }
    to { opacity: 1; }
}
.first-section-bg-mobile img.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.box-text-entro,
.box-text-entro p {
	line-height: 1.5;
	color: #2D4A42;
	font-size: 20px;
	margin-bottom: 20px;
/*	max-width: 700px;  */
}
.box-text-entro ul li {
	margin-bottom: 25px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}
.box-text-motto {
	line-height: 1.5;
	color: #2D4A42;
	font-size: 36px;
	font-family: "Cormorant Garamond", serif;
    font-style: italic;
}
@media (max-width: 1200px) {
    .first-section-bg-mobile {
        position: absolute;
        inset: 0;
        z-index: 1;
        background-size: cover;
        background-position: 60% center;
        background-repeat: no-repeat;
        filter: brightness(1.25);
        opacity: .25;
    }
}

@media (max-width: 800px) {
    .first-section {
        height: calc(100svh - 60px) !important;
        overflow: hidden;
        position: relative;
    }
    .first-section-bg-mobile {
        position: absolute;
        inset: 0;
        z-index: 1;
        background-size: cover;
        background-position: 60% center;
        background-repeat: no-repeat;
        filter: brightness(1.25);
        opacity: .25;
    }
    .first-section .container {
        position: relative;
        z-index: 2;
    }
    .parallax-bg {
        background-attachment: scroll;
    }
    .box-text-entro p {
    	margin-bottom: 10px;
    	font-size: 20px;
    	line-height: 1.5;
    }
    .box-text-entro ul {
        margin-bottom: 20px;
        padding-left: 20px;
    }
    .box-text-entro ul li {
    	margin-bottom: 5px;
    	font-size: 16px;
    }
    .box-text-motto {
    	font-size: 24px;
    	font-weight: 700;
    }
}

.hero-main {
    width: 100%;
}

.hero-advantages {
    background: #F2F1EC;
}
.hero-advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}
.hero-advantages__item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 34px;
    min-height: 112px;
    border-right: 1px solid rgba(30, 53, 47, .16);
    border-bottom: 1px solid rgba(30, 53, 47, .16);
    background: rgba(255, 255, 255, .22);
}
.hero-advantages__item:last-child {
    border-right: 0;
}
.hero-advantages__icon {
    flex: 0 0 48px;
}
.hero-advantages__icon img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.hero-advantages__text {
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: #1A1A1A;
    font-weight: 500;
}
@media (max-width: 1199px) {
    .hero-advantages__grid {
        grid-template-columns: 1fr;
    }
    .hero-advantages__item {
        border-right: 0;
        border-bottom: 1px solid rgba(30, 53, 47, 0.16);
        padding: 10px 0;
        min-height: 1px;
        background: inherit;
    }
    .hero-advantages__item:last-child {
        border-bottom: 0;
    }
}
@media (max-width: 400px) {
    .first-section h1 {
        font-size: 32px;
    }
    .box-text-entro,
    .box-text-entro p {
    	font-size: 18px;
    }
    .hero-advantages__item {
        padding: 2px 0;
    }
}
/* =============================== GOOGLE REVIEWS ============================= */
.google-reviews,
.google-reviews * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: inherit;
}
.google-reviews img,
.google-reviews picture,
.google-reviews svg {
    max-width: none !important;
    height: auto !important;
}
.google-reviews * {
    flex: unset !important;
    float: none !important;
}
.google-reviews .google-reviews-inner {
    display: flex !important;
    gap: 40px !important;
    padding: 40px 0 !important;
}
.google-reviews .gr-left {
    width: 25% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 18px !important;
}
.google-reviews .gr-stars {
    font-size: 32px !important;
    line-height: 1 !important;
}
.google-reviews .star.full  { color: #f7c600 !important; }
.google-reviews .star.empty { color: #dcdcdc !important; }

.google-reviews .gr-main-comment {
    font-size: 16px !important;
    line-height: 1.45 !important;
    max-width: 240px !important;
}
.google-reviews .gr-logo img {
    width: 110px !important;
    display: block !important;
    margin-top: auto !important;
}
.google-reviews .gr-right {
    width: 75% !important;
    overflow: hidden !important;
    position: relative !important;
}
.google-reviews .gr-track {
    display: flex !important;
    gap: 20px !important;
    animation: grSlide 30s linear infinite !important;
    will-change: transform !important;
}
.google-reviews:hover .gr-track {
    animation-play-state: paused !important;
}
.google-reviews .gr-card {
    width: calc((100% - 40px) / 3) !important;
    min-width: calc((100% - 40px) / 3) !important;
    background: #fff !important;
    border-radius: 12px !important;
    padding: 22px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.07) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.google-reviews .gr-avatar img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.google-reviews .gr-author {
    font-weight: 600 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 15px !important;
}
.google-reviews .gr-author-stars .star.full  { font-size: 15px !important; color: #f7c600 !important; }
.google-reviews .gr-author-stars .star.empty { font-size: 15px !important; color: #dcdcdc !important; }

.google-reviews .gr-text {
    font-size: 14px !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
@keyframes grSlide {
    0%, 16%    { transform: translateX(0); }           /* 1-2-3 */
    20%, 36%   { transform: translateX(-33.33%); }     /* 2-3-4 */
    40%, 56%   { transform: translateX(-66.66%); }     /* 3-4-5 */
    60%, 76%   { transform: translateX(-100%); }       /* 4-5-6 */
    80%, 100%  { transform: translateX(0); }           /* возвращаемся */
}

@media (max-width: 800px) {
    .google-reviews .google-reviews-inner {
        flex-direction: column !important;
        gap: 40px !important;
    }
    .google-reviews .gr-left,
    .google-reviews .gr-right {
        width: 100% !important;
    }
    .google-reviews .gr-track {
        display: flex !important;
        gap: 0 !important;
        width: calc(6 * 100%) !important;
        min-width: calc(6 * 100%) !important;
        animation: grSlideMob 30s linear infinite !important; /* чуть медленнее, чтобы все 6 прочитать */
        max-width: 100% !important;
        min-width: 100% !important;
    }
    .google-reviews .gr-card {
        width: 100% !important;
        min-width: 100% !important;
        flex-shrink: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* ✅ 6 полноценных кадров: 0, -100, -200, -300, -400, -500, затем плавно на 0 */
    @keyframes grSlideMob {
        0%, 10%    { transform: translateX(0);       }
        15%, 25%   { transform: translateX(-100%);   }
        30%, 40%   { transform: translateX(-200%);   }
        45%, 55%   { transform: translateX(-300%);   }
        60%, 70%   { transform: translateX(-400%);   }
        75%, 85%   { transform: translateX(-500%);   }
        90%, 100%  { transform: translateX(0);       } /* мягкий возврат без рывка */
    }
    /* родительский контейнер не даём растягивать flex-item */
    .google-reviews .gr-right {
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    /* И самое важное, без чего текст не переносится */
    .google-reviews .gr-card,
    .google-reviews .gr-author,
    .google-reviews .gr-text {
        min-width: 0 !important;     /* 🔥 главный фикс */
        word-break: break-word !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}
/* ==================================== SHORT DESCRIPTIONS ==================================== */

.short_descr {
	line-height: 1.5;
	max-width: 100%;
	margin-bottom: 30px;
}
.text_with_image_descr {
	color: #1c6e45;
	font-size: 18px;
	line-height: 1.5;
	max-width: 100%;
	text-align: center;
	margin-bottom: 15px;
	font-weight: 700;
}
.contact-page .short_descr {
	font-size: 18px;
	line-height: 1.6;
	color: #5e5e5e;
}
.box-text-content .entity_info {
	color: #757575;
	font-size: 12px;
	line-height: 1.45;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 30px;
}
/* ====================================== CTA-BOX ========================================= */
.box-call-mobile-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 36px;
	margin-top: 12px;
}
/* ====================================== BOX-STEP ========================================= */
.box-step {
	padding: 20px 0;
	counter-reset: section-step;
	background-color: #fafafa;
}	
.box-item-step {
    margin-bottom: 20px;
}
.box-item-step_i {
	background-color: #2fa360; 
	border-radius: 50%;
	font-size: 19px;
	font-weight: 700;
	width: 56px;
	height: 56px;
	line-height: 56px;
	text-align: center;
	margin-bottom: 20px;
}
.box-item-step_i:before {
	counter-increment: section-step;
	content: counter(section-step);
	color: #fff;
}
.box-item-step_t {
	font-size: 17px;
	line-height: 1.5;
	font-weight: 700;
	color: #5E665F;
	letter-spacing: 1.7px;
}
.box-item-step_t h3 {
	font-size: 32px;
	line-height: 1.5;
	font-weight: 700;
	color: #1A1A1A;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	margin: 0 0 10px 0;
	text-align: center;
}
.box-item-step_d {
	margin: 0 0 10px 0;
}
.box-item-step_d img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* ========================================================= BUTTONS ========================================== */

.btn-wrap {
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap: 15px;
}
.btn {
	font-size: 16px;
	text-transform: uppercase;
	font-family: "Cormorant Garamond", serif;
	border-radius: 7px;
	padding: 10px 15px;
    background-color: #B79A63;
	color: #1A312A;
	font-weight: 700;
	vertical-align: middle;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		transform 0.2s ease;
	text-decoration: none;
	line-height: 1;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
	text-shadow: 0 0.5px 0 rgba(255, 255, 255, .18);
}
.btn:hover{
    opacity: .7;
	text-decoration: none;
}


.btn_mb_block {
	display:flex;
	align-items:center;
}

.btn_mb_popup {
	display:flex;
	align-items:center;
}



.mobile-header-bar .btn:hover{
	background-color:rgba(255,255,255,0.12);
}

.btn_mb_call{
	display:flex;
	align-items:center;
}
.mobile-header-bar .btn-call{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:46px;
	height:46px;
	background-color:transparent;
	transition:background-color 0.2s ease, transform 0.2s ease;
}

.mobile-header-bar .btn-call:hover{
	background-color:rgba(255,255,255,0.12);
}

.mobile-header-bar .btn-call:active{
	transform:scale(0.97);
}

/* иконка */
.mobile-header-bar .btn-call img{
	display:block;
	width:46px;
	height:46px;
}

.btnvbr {
	display:inline-block;
	width:36px;
	height:36px;
	vertical-align:middle;
	margin-left:10px;
	background-color:#fff;
	transition:background-color 0.25s ease, transform 0.2s ease;
}
.btnvbr img{
	width:36px;
	height:36px;
	display:block;
	transition:filter 0.25s ease;
}
.btnvbr:hover{
	background-color:#5E665F;
}
.btnvbr:hover img{
	filter:invert(1);
}
.btn-on-page {
	font-size: 20px;
	text-transform: uppercase;
	border-radius: 7px;
	padding: 10px 20px;
	background-color: #B79A63;
	color: #1A312A;
	font-weight: 700;
	vertical-align: middle;
	transition: background-color 0.3s, transform 0.2s ease;
	text-decoration: none;
	line-height: 1;
	margin: 0 auto 35px;
	text-align: center;
	display: block;
	width: max-content;
	border: 1px solid #5E665F;
	font-family: "Cormorant Garamond", serif;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
	text-shadow: none;
}
.btn-on-page:hover {
	opacity: 1;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(26, 26, 26, .08);
}

@media (max-width: 800px) {
    .btn {
    	font-size: 16px;
    }
    .btn-on-page {
    	font-size: 18px;
    	text-transform: uppercase;
    	letter-spacing: 0.1em;
    	border-radius: 7px;
    	padding: 10px 20px;
    	background-color: #B79A63;
    	color: #244138;
    	font-weight: 700;
    	vertical-align: middle;
    	transition: background-color 0.3s, transform 0.2s ease;
    	text-decoration: none;
    	line-height: 1;
    	margin: 0 auto 20px;
    	text-align: center;
    	display: block;
    	max-width: 280px;
    	min-width: 240px;
    	border: 1px solid #5E665F;
    	font-family: "Cormorant Garamond", serif;
    	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
        text-shadow: 0 0.5px 0 rgba(255, 255, 255, .18);
    }
    .box-text-entro .btn-on-page {
    	margin: 0 auto 20px;
    }
    .btn-on-page:hover {
    	background-color: #5E665F;
    	color: #fff;
    	font-weight: 600;
    	opacity: 0.85;
        text-decoration: none !important;
    }
    .btn-wrap {
        margin: auto 0;
    }
    .doctor_page .btn-wrap {
        margin: auto auto;
        padding: 20px 0;
    }
}

/* ====================================== APPOINTMENT POPUP ========================================== */
/* Appointment modal */
.lawfirm-modal {
  border: 0;
  padding: 0;
  width: min(720px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  border-radius: 14px;
}
.lawfirm-modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
.lawfirm-modal__box {
  position: relative;
  padding: 18px 18px 16px;
  overflow: auto;
  max-height: calc(100vh - 24px);
}
.lawfirm-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 40px;
  cursor: pointer;
  padding: 0;
}
.lawfirm-modal__title {
  margin: 24px 22px 12px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.lawfirm-modal__messengers {
    margin-bottom: 24px;
}

.lawfirm-modal__messengers-text {
    text-align: center;
    font-size: 15px;
    margin-bottom: 12px;
}

#appointmentModal .lawfirm-modal__messengers-list {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 36px;
	margin-top: 12px;
}

@media (max-width: 800px) {
    .lawfirm-modal__title {
        font-size: 28px;
    }
}
/* CF7 в попапе: поля на всю ширину формы */
#appointmentModal .wpcf7-form input[type="text"],
#appointmentModal .wpcf7-form input[type="email"],
#appointmentModal .wpcf7-form input[type="tel"],
#appointmentModal .wpcf7-form textarea,
#appointmentModal .wpcf7-form select {
  max-width: 100%;
  width: 100%;
}

/* CF7 в форме: поля на всю ширину формы */
#make-appointment .wpcf7-form input[type="text"],
#make-appointment .wpcf7-form input[type="email"],
#make-appointment .wpcf7-form input[type="tel"],
#make-appointment .wpcf7-form textarea,
#make-appointment .wpcf7-form select {
  max-width: 100%;
  width: 100%;
}



.messenger-checkbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #1A1A1A;
    background-color: #fff;
}

.messenger-checkbox .wpcf7-list-item {
    margin: 0;
}

.messenger-checkbox .wpcf7-list-item label {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 0 16px;
    border-right: 1px solid #1A1A1A;
    cursor: pointer;
}

.messenger-checkbox .wpcf7-list-item:last-child label {
    border-right: 0;
}

.messenger-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.messenger-checkbox .wpcf7-list-item label {
    justify-content: center;
}

.messenger-checkbox .wpcf7-list-item:has(input:checked) label {
    background: #1E352F;
    color: #fff;
}
/* ====================================== BOX PRACTICES ========================================== */
.section-practices__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 34px);
}
.section-practices__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 230px;
    min-width: 0;
    padding: 36px 20px;
    text-align: center;
    text-decoration: none;
    color: #1A1A1A;
    border-right: 1px solid rgba(30, 53, 47, .16);
    border-bottom: 1px solid rgba(30, 53, 47, .16);
    background: rgba(255, 255, 255, .22);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.section-practices__card:hover {
    transform: translateY(-2px);
    border-color: rgba(30, 53, 47, .35);
    box-shadow: 0 18px 36px rgba(26, 26, 26, .08);
}
.section-practices__icon {
    display: block;
    width: 100px;
    height: 100px;
}
.section-practices__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.section-practices__title {
    font-size: clamp(20px, 2.1vw, 24px);
    line-height: 1.15;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}
.section-practices__more {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.2;
    color: #7B5D27;
    letter-spacing: .06em;
}
.section-practices__more::after {
	content: "\2192";
	display: inline-block;
	margin-left: 6px;
	transition: transform .25s ease;
}
@media (max-width: 767px) {
    .section-practices__grid {
        grid-template-columns: 1fr;
    }
    .section-practices__card {
        min-height: 190px;
        padding: 32px 20px;
    }
    .section-practices__icon {
        width: 100px;
        height: 100px;
    }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
	.section-practices__more {
		opacity: .75;
		transition: opacity .25s ease;
	}
	.section-practices__card:hover {
		transform: translateY(-2px);
		border-color: rgba(30, 53, 47, .35);
		box-shadow: 0 18px 36px rgba(26, 26, 26, .08);
	}
	.section-practices__card:hover .section-practices__more {
		opacity: 1;
	}
	.section-practices__card:hover .section-practices__more::after {
		transform: translateX(2px);
	}
}
/* ====================================== BOX SECTION ITEMS WITH AND WITHOUT DESCRIPTIONS ========================================== */
.section-items__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.section-items__item {
    min-height: 96px;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-right: 1px solid rgba(30, 53, 47, .16);
    border-bottom: 1px solid rgba(30, 53, 47, .16);
    background: rgba(255, 255, 255, .22);
}
.section-items__icon {
    flex: 0 0 72px;
}
.section-items__icon img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}
.section-items__item-title {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
    color: #1A1A1A;
}
.section-items-with-desc__item {
    min-height: 96px;
    padding: 20px 30px 26px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 24px;
    row-gap: 14px;
    align-items: center;
    border-right: 1px solid rgba(30, 53, 47, .16);
    border-bottom: 1px solid rgba(30, 53, 47, .16);
    background: rgba(255, 255, 255, .22);
}

.section-items-with-desc__icon {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
}

.section-items-with-desc__icon img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.section-items-with-desc__content {
    display: contents;
}

.section-items-with-desc__item-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
    color: #1A1A1A;
}

.section-items-with-desc__item-description {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 15px;
    line-height: 1.5;
    color: #5E665F;
}
@media (max-width: 1199px) {
    .section-items__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 800px) {
    .section-items__grid {
        grid-template-columns: 1fr;
    }
    .section-items__item {
        min-height: auto;
        padding: 12px 20px;
    }
    .section-items-with-desc__item {
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 18px;
        row-gap: 12px;
        padding: 18px 20px 22px;
    }
    .section-items-with-desc__icon img {
        width: 56px;
        height: 56px;
    }
    .section-items-with-desc__item-description {
        font-size: 13px;
    }
}
/* ====================================== BOX SERVICES ========================================== */

.section-services__description {
	margin-bottom: 30px;
}

.section-services__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 0 0 40px;
}

.section-services__item {
	min-height: 150px;
	min-width: 0;
	padding: 28px 32px;
	display: flex;
	align-items: center;
	gap: 28px;
	border-right: 1px solid rgba(30, 53, 47, .16);
	border-bottom: 1px solid rgba(30, 53, 47, .16);
	background: rgba(255, 255, 255, .22);
	color: #1A1A1A;
	text-decoration: none;
	transition:
		transform .25s ease,
		box-shadow .25s ease,
		border-color .25s ease;
}

.section-services__icon {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-services__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.section-services__content {
	min-width: 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.section-services__title {
    font-size: clamp(20px, 2.1vw, 24px);
    line-height: 1.15;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.section-services__more {
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.2;
	color: #7B5D27;
	letter-spacing: .06em;
}

.section-services__more::after {
	content: "\2192";
	display: inline-block;
	margin-left: 6px;
	transition: transform .25s ease;
}

.section-services__item:focus-visible {
	outline: 2px solid #1E352F;
	outline-offset: 3px;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
	.section-services__more {
		opacity: .75;
		transition: opacity .25s ease;
	}

	.section-services__item:hover {
		transform: translateY(-2px);
		border-color: rgba(30, 53, 47, .35);
		box-shadow: 0 18px 36px rgba(26, 26, 26, .08);
	}

	.section-services__item:hover .section-services__more {
		opacity: 1;
	}

	.section-services__item:hover .section-services__more::after {
		transform: translateX(2px);
	}
}

@media (max-width: 800px) {
	.section-services__grid {
		grid-template-columns: 1fr;
	}

	.section-services__item {
		min-height: 128px;
		padding: 22px 20px;
		gap: 20px;
	}

	.section-services__title {
		font-size: 18px;
	}

	.section-services__more {
		margin-top: 10px;
	}
}

@media (max-width: 480px) {
	.section-services__item {
		padding: 18px 16px;
		gap: 16px;
	}

	.section-services__icon {
		flex-basis: 64px;
		width: 64px;
		height: 64px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.section-services__item,
	.section-services__more,
	.section-services__more::after {
		transition: none;
	}

	.section-services__item:hover,
	.section-services__item:hover .section-services__more::after {
		transform: none;
	}
}

/* ====================================== BOX IMAGE CONTENT ========================================== */
.box-image-with-text .row {
    gap: 10px;
}
.box-image-content {
	display: block;
	overflow: hidden;
	margin: 15px 15px 15px 5px;
	padding: 1px;
	position: relative;
	min-height: 250px;
	width: 100%;
}
.box-image-content img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 550 / 370;
}
.box-text-image-content {
    margin: 15px 5px;
    padding:1px;
    float:left;
    border:0px solid #000;
    width: 100%;
}
.box-text-image-content p {
    margin-top: 0px;
}
@media (min-width: 1001px) {
	.box-image-content {
		float: left;
		width: 47%;
		min-height: 370px; /* гарантированная высота под LCP */
	}
    .box-text-image-content {
        margin: 15px 5px;
        padding:1px;
        float:left;
        border:0px solid #000;
        width:48%;
    }
}
@media (max-width: 800px) {
	.box-text {
		content-visibility: visible !important;
		contain: layout paint style;
	}
	.box-image-content {
		float: none;
        position: relative;
        width: 100%;
        aspect-ratio: 370 / 250;
        min-height: auto;
        overflow: hidden;
        transform: translateZ(0);
		margin: 0 0 15px;
		padding: 0 15px 0;
	}
	.box-image-content img {
		height: 100%;
		contain: paint;
		animation: lcpFadeIn 0.1s linear both;
		aspect-ratio: 370 / 250;
	}
    .box-text-image-content {
        margin: 15px 5px;
        padding: 0 15px 0;
        float:left;
        border:0px solid #000;
        width:100%;
    }
    .box-text-image-content p {
        margin-top: 0px;
    }
}
@keyframes lcpFadeIn {
	from { opacity: 0.99; }
	to { opacity: 1; }
}

.clear{clear:left;clear:both;line-height:0 !important;height:0 !important}
/* ==================================== BOX TEXT CONTENT ================================== */
.box-text-content ul {
    max-width: 900px;
    margin: 0 auto 0;
    padding: 0;
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.box-text-content ul li {
	position: relative;
	font-size: 16px;
    line-height: 1.5;
	padding-left: 55px;
	padding-right: 20px;
	margin-bottom: 5px;
}
.box-text-content ul li:before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: #2D4A42;
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
}

.box-text-content,
.box-text-content p {
	line-height: 1.5;
	color: #1A1A1A;
	font-size: 17px;
	margin-bottom: 30px;
	text-align: center;
}
.box-text-image-content a,
.box-text-content a {
	color: #5E665F;
	text-decoration: underline;
}
.box-text-image-content a:hover,
.box-text-content a:hover {
	opacity: .7;
	text-decoration: none;
}
.box-text-content ol {
	padding: 0;
	margin: 0 0 30px;
	counter-reset: lis; 
	list-style-type: none;
	text-align: left;
}
.box-text-content ol li {
	position: relative;
	padding-left: 60px;
	margin-bottom: 24px;
}
.box-text-content ol li strong {
	display: block;
}
.box-text-content ol li strong + br { /* allow change */
	display: none;
}
.box-text-content ol li::before {
    counter-increment: lis;
    content: counter(lis);

    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 48px;
    height: 48px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2D4A42;
    color: #fff;

    font-size: 40px;
    font-weight: 700;
}
.box-green .box-text-content p,
.box-green .box-text-content {
	font-size: 17px;
	color: #fff;
	line-height: 1.5;
	margin-bottom: 40px;
}

.box-orange .box-text-content p,
.box-orange .box-text-content {
	font-size: 17px;
	color: #2b1c0f !important;
	line-height: 1.5;
	margin-bottom: 40px;
	text-align: center;
}
.front-text .box-text-content p {
	font-size: 17px;
	text-align: left;
	color: #5E665F;
}
.front-reviews .box-text-content p {
	font-size: 17px;
	text-align: left;
	color: #5E665F;
}

.contact-page .box-text-content p {
	margin-top: 10px;
}

@media (max-width: 800px) {
	.box-text-content ul li {
		width: 100%;
	}
    .box-text-content,
    .box-text-content p {
    	font-size: 16px;
    }
}
/* ==================================== BOX TEAM ================================== */
.section-team__wrap {
    padding: 0 0 40px;
}

.section-team__leader {
    max-width: 310px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-team__leader-photo {
    width: 220px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 22px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(30, 53, 47, .08);
}

.section-team__leader-photo img,
.section-team__partner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-team__name {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 600;
    color: #1A1A1A;
}

.section-team__job {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.4;
    color: #7B5D27;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.section-team__partners {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.section-team__partner {
    text-align: center;
    min-width: 0;
}

.section-team__partner-photo {
    width: 170px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 18px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(30, 53, 47, .08);
}

.section-team__partner-name {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    color: #1A1A1A;
}

@media (min-width: 768px) {
    .section-team__partner-name {
        min-height: 55px;
    }
}

.section-team__button {
    margin-top: 48px;
    text-align: center;
}

@media (max-width: 1199px) {
    .section-team__partners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 620px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .section-team__leader-photo {
        width: 190px;
    }

    .section-team__partners {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-team__partner-photo {
        width: 160px;
    }

    .section-team__name {
        font-size: 25px;
    }

    .section-team__partner-name {
        font-size: 22px;
    }
}
/* ==================================== BOX TEAM ALL ================================== */
.section-team-all__member {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    border: 1px solid rgba(26, 26, 26, .22);
    background: rgba(255, 255, 255, .22);
    margin: 0 0 30px;
}

.section-team-all__side {
    padding: 24px 18px;
    border-right: 1px solid rgba(26, 26, 26, .22);
}

.section-team-all__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 18px;
    overflow: hidden;
    background: rgba(30, 53, 47, .08);
}

.section-team-all__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-team-all__job {
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    color: #1A1A1A;
    text-transform: uppercase;
}

.section-team-all__erau {
    display: inline-block;
    font-size: 15px;
    line-height: 1.35;
    color: #1E352F;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-team-all__content {
    padding: 0 0 0;
    min-width: 0;
}

.section-team-all__name {
    margin: 0;
    padding: 18px 28px;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    color: #1A1A1A;
    border-bottom: 1px solid rgba(26, 26, 26, .22);
}

.section-team-all__description {
    padding: 24px 32px 28px;
    font-size: 16px;
    line-height: 1.5;
    color: #1A1A1A;
}

.section-team-all__description p {
    margin: 0 0 16px;
}

.section-team-all__description p:last-child {
    margin-bottom: 0;
}

.section-team-all__description ul {
    margin: 0;
    padding-left: 22px;
}

.section-team-all__description li {
    margin-bottom: 8px;
}

.section-team-all__description li:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .section-team-all__list {
        margin-top: 36px;
    }
    .section-team-all__member {
        display: block;
        border: 1px solid rgba(26, 26, 26, .22);
    }
    .section-team-all__member + .section-team-all__member {
        margin-top: 28px;
        border-top: 1px solid rgba(26, 26, 26, .22);
    }
    .section-team-all__side {
        padding: 24px 20px 0;
        border-right: 0;
        text-align: center;
    }
    .section-team-all__photo {
        max-width: 190px;
        margin: 0 auto 12px;
    }
    .section-team-all__job {
        margin-bottom: 8px;
        font-size: 14px;
    }
    .section-team-all__erau {
        margin-bottom: 18px;
        font-size: 14px;
    }
    .section-team-all__name {
        padding: 0 20px 20px;
        font-size: 28px;
        border-bottom: 0;
    }
    .section-team-all__content {
        display: flex;
        flex-direction: column;
    }
    .section-team-all__description {
        padding: 22px 20px 26px;
        font-size: 16px;
        text-align: left;
        border-top: 1px solid rgba(26, 26, 26, .16);
    }
    .section-team-all__description ul {
        padding-left: 20px;
    }
}
/* ==================================== BOX ADVANTAGES ================================== */
.box_adv_item {
	text-align: center;
	margin-bottom: 25px;
}
.box_adv_item .box_item_icon {
	margin-bottom: 10px;
	height: 60px;
}
@media (max-width: 800px) {
	.box_adv_item {
		max-width: 300px;
    	margin: 15px auto;
	}
}
h3.box_item_title {
	font-weight: 600;
	font-size: 20px;
	line-height: 1.4;
	margin-bottom: 15px;
	width: 220px;
    margin: 0 auto 15px;
    min-height: 48px;
}
.box_item_text {
	font-size: 15px;
	color: #4d4d4d;
	line-height: 1.6;
}
/* ==================================== CONTACT FORM 7 ================================== */
.wpcf7-form input[type="text"],
.wpcf7-form select,
.wpcf7-form textarea,
.wpcf7-form input[type="date"],
.wpcf7-form input[type="email"] {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.65;
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	padding: 0.64286em 1.07143em;
	border: 1px solid #cccccc;
	border-radius: 0;
	margin-bottom: 20px;
	width: 100%;
	background-color: #fff;
	max-width: 480px;
	border: 1px solid #1A1A1A;
}
.wpcf7-form input[type="file"] {
	margin-bottom: 20px;
	font-size: 12px;
}
.wpcf7-form select {
	height: 56px;
	background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 10px), calc(100% - 15px) calc(1em + 10px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}
.wpcf7-form textarea {
	height: 69px;
}
.wpcf7-form p {
	margin-bottom: 1em;
}
.wpcf7-form .btn-green {
	cursor: pointer;
	padding: 18px 43px;
    display: inline-block;
	font-size: 18px;
	border: none;
}
/* НЕ УДАЛЯТЬ - ЭТО HONEY-POT В ФОРМЕ*/
.agree {
    display:none !important;
}
.form-row {
	display: flex;
	flex-wrap: wrap;
}
.form-spacer {
	display: none;
}

@media (min-width: 800px) {
	.form-spacer {
		display: block;
		flex: 0 0 50%; /* занимает место как col-sm-6 */
	}
}


.box-txt,
.video-txt {
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #2b1c0f;
	margin-bottom: 60px;
}
.box-txt {
	color: #696969;
	text-align: center;
	margin-bottom: 5px;
}
.css-tringle {
    width: 80px;     /* реальный кликабельный размер */
    height: 80px;
    display: block;
    position: static;        /* ← больше НЕ absolute */
    margin: 20px auto 0;     /* отступ сверху + по центру */
    cursor: pointer;
    z-index: 5;
    border-style: solid;
    border-width: 45px 0 45px 78px;
    border-color: transparent;
    border-left-color: #1c6e45;
    transition: opacity 0.25s ease;
}


/* ==================================== SINGLE PAGE ================================== */
.single-page-box {
    margin-bottom: 100px;
}
.single-page-content {
	color: #1A1A1A; 
	text-align: left;
}
.single-page-content h2 {
	color: #1A1A1A; 
	text-align: center;
}


.single-page-content blockquote {
	line-height: 1.6;
	color: #157144;
	font-style: italic;
	text-align: right;
}

.single-page-content ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
	color: #1A1A1A;
}
.single-page-content .aligncenter {
	display: block;
	margin: 0 auto;
}
.single-page-content img {
	max-width: 100% !important;
}
.single-page-content ul li:before {
	content: '\2713';
	margin-right: 10px;
	color: #2D4A42;
	font-weight: 600;
}
blockquote p {
	line-height: 1.6;
	color: #5E665F;
	font-style: italic;
	text-align: right;
}

.medical-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 16px;
}
.medical-table th,
.medical-table td {
    border: 1px solid #e3e6ea;
    padding: 12px 14px;
    text-align: left;
}
.medical-table th {
    background-color: #f7f9fb;
    font-weight: 600;
}
.medical-table tr:nth-child(even) {
    background-color: #fbfcfd;
}
.medical-table th:first-child,
.medical-table td:first-child{
    width:50%;
}
.medical-table th:last-child,
.medical-table td:last-child{
    width:50%;
}

@media (max-width: 800px){
    .medical-table th,
    .medical-table td{
        padding:10px;
        font-size:14px;
    }
}
.expert-note,
.expert-note p {
	line-height: 1.6;
	color: #157144 !important;
	font-style: italic;
	text-align: right;
	margin: 0 1.5em 1.5em;
	font-size: 14px;
}

.single-page-content ol {
	margin: 0 0 1.5em 0.5em;
}
.single-page-content h5 {
	color: #2fa360;
	margin-bottom: 5px;
	text-transform: uppercase;
    line-height: 1.7;
    letter-spacing: 0.05em;
    font-size: 16px;
}
/* ================= FRONT/BOX-DOCTORS ================= */
.doc-name {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 600;
	color: #5E665F;
	text-decoration: none;
	display: inline-block;
	margin: 0 0 10px;
	min-height: 60px;
}
.photo-doctor {
    width: 370px;
    height: 370px;
}
.doc-txt {
	font-size: 16px;
	line-height: 1.4;
	color: #5E665F;
	font-weight: 400;
	margin: 0 0 10px;
}
.doctor_page .doc-txt {
	font-weight: 700;
}
.doc-work {
	color: #1e7643;
	font-size: 16px;
	margin: 0 0 10px;
	font-weight: 400;
}
.doc-photo {
	margin-bottom: 20px;
	display: inline-block;
}
.block-doctor {
	text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
	border:1px solid #e6e6e6;
	border-radius:12px;
	background:#fff;
	overflow:hidden;
	height:100%;
	transition:0.2s ease;
}
.block-doctor:hover {
    transform: translateY(-4px);
}
.doctor_page .block-doctor:hover {
    transform: none;
}
.block-doctor-link {
    padding: 0 15px 20px;
    text-decoration: none;
}
.block-doctor-link:hover {
    opacity: .7;
    text-decoration: none;
}
a.col-lg-3.col-md-6.col-sm-6.col-12.block-doctor{
	display:block;
	text-decoration:none;
	color:inherit;
}

@media (max-width: 800px) { 
    .block-doctor .doc-name {
    	font-size: 18px;
    	line-height: 1.4;
    	font-weight: 700;
    	color: #111;
    	text-decoration: none;
    	display: inline-block;
    	min-height: auto;
    }
}
/* ================= FRONT/BOX-REVIEWS ================= */
#make-reviews .container {
	padding: 70px 70px 80px;
}

@media (max-width: 800px) {
    .box-leave-rev .static-bg {
        background-position: center;
    }
}

/* Контейнер одного отзыва — управление порядком */
.item-review {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Имя автора */
.review_name {
	font-weight: 600;
	font-size: 20px;
	margin-bottom: 5px;
	text-align: center;
    color: #5E665F;
}
/* Звёзды в отзывах */
.review_stars {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1;
    color: #e8b007; /* приятный жёлто-золотой */
    text-align: center;
    letter-spacing: 2px;
}
/* Текст отзыва */
.review_text {
	max-width: 822px;
	text-align: center;
	font-size: 17px;
	color: #5e5e5e;
	margin: 0 auto;
	max-height: 100px;
	overflow: hidden;
	position: relative;
	transition: max-height 0.3s ease;
}
/* Fade-эффект при обрезанном тексте */
.review_text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: linear-gradient(transparent, #ffffff);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}
/* При раскрытии — убираем */
.review_text.clamp-expanded::after {
    opacity: 0;
}
/* Полный текст */
.review_text.clamp-expanded {
    max-height: none;
}
/* Кнопка “Показать полностью” */
.review-expand-btn {
    display: inline-flex;
    justify-content: center;
    margin: 15px auto 0;
    background: none;
    border: none;
    color: #1c6e45;
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

/* Убираем системный фокус */
.review-expand-btn:focus {
    outline: none;
}
.reviews-counter {
    margin: 15px auto 0 auto;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #5E665F;
}
/* Slick ломал блочную модель — возвращаем управление */
.slider-reviews .slick-slide {
    display: block !important;
    text-align: center !important;
}
.reviews-note {
	text-align: center;
	color: #1c6e45;
	font-size: 12px;
}
.review_age {
	color: #1c6e45;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
}
.box-reviews-doc,
.box-reviews {
  overflow-x: hidden;
}
/* ================= UNIVERSAL SLICK ARROWS ================= */
/* Вся платформа Slick опирается на эти стрелки */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 0;
    border: none;
    background: #fff;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.slick-prev {
    left: 15px;
}
.slick-next {
    right: 15px;
}
.slick-prev:before,
.slick-next:before {
    content: "";
    position: absolute;
    border-style: solid;
    border-color: transparent;
    border-width: 29px 42px;
    transform: scale(0.9999);
}
.slick-prev:before {
    border-left-width: 0;
    border-right-color: #1c6e45;
    left: 0;
}
.slick-next:before {
    border-right-width: 0;
    border-left-color: #1c6e45;
    right: 0;
}
.slick-prev:after,
.slick-next:after {
    content: "";
    position: absolute;
    border-style: solid;
    border-color: transparent;
    border-width: 16px 23px;
    transform: scale(0.9999);
    top: 13px;
}
.slick-prev:after {
    border-left-width: 0;
    border-right-color: #2b1c0f;
    left: 12px;
}
.slick-next:after {
    border-right-width: 0;
    border-left-color: #2b1c0f;
    right: 12px;
}
.slick-prev:hover:after,
.slick-next:hover:after {
    border-right-color: #fff;
    border-left-color: #fff;
}
.slick-disabled {
    opacity: .25;
    cursor: not-allowed;
}
.slider-reviews,
.slider-cab,
.slider-res,
.slider-certificates {
    position: relative;
    overflow: hidden;
    padding: 0 70px; /* место под стрелки */
}
.slider-reviews {
    position: relative;
    overflow: hidden;
    padding: 0; /* стрелки НЕ должны жить внутри */
}
.box-reviews {
    position: relative;
}
.box-reviews .slick-prev,
.box-reviews .slick-next {
    top: 50%;
    transform: translateY(-50%);
}
.slider-reviews .slick-list {
    height: auto !important;
    overflow: visible !important;
}
.slider-reviews .slick-track {
    height: auto !important;
}
@media (max-width: 800px) {
    .slick-prev,
    .slick-next {
        display: none !important;
    }
}
.box-cabinets .slider-cab {
	padding: 0 75px;
}
.box-cabinets img {
	margin: 0 auto;
}
.box-results img {
	padding: 0 5px;
}
.box-certificates .slider-cab {
	padding: 0 75px;
}
.box-certificates img {
	margin: 0 auto;
}
.cab-counter {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    color: #5E665F;
    letter-spacing: 0.02em;
    user-select: none;
}
@media (min-width: 801px) {
  .box-reviews-doc,
  .box-reviews {
    position: relative;
    overflow-x: hidden;
  }
  .box-reviews-doc .slider-reviews,
  .box-reviews .slider-reviews {
    position: relative;
    padding: 0 60px; /* Добавим отступы, чтобы в них разместить стрелки */
  }
}
@media (max-width: 800px) {
    .review_text {
		font-size: 16px;
		max-width: 98%;
	}
}
/* ======================================= BOX-VIDEO ========================================== */

.box-video .lazyframe {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 22px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	background-color: #f5f5f5;
	box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.55);
	transition: box-shadow 0.2s ease;
}

.box-video .lazyframe iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	z-index: 5;
}

.box-video .lazyframe::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 84px;
	height: 84px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	z-index: 2;
	transition: opacity 0.2s ease;
}

.box-video .lazyframe::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-38%, -50%);
	width: 0;
	height: 0;
	border-top: 14px solid transparent;
	border-bottom: 14px solid transparent;
	border-left: 22px solid #4f7c6b;
	z-index: 3;
	transition: opacity 0.2s ease;
}

.box-video .lazyframe.lazyframe--loaded::before,
.box-video .lazyframe.lazyframe--loaded::after {
	opacity: 0;
	pointer-events: none;
}

.box-video .box-video__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 28px 32px 46px;
	background: linear-gradient(
		to top,
		rgba(255, 255, 255, 0.88) 0%,
		rgba(255, 255, 255, 0.72) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	pointer-events: none;
}

.box-video .box-video__overlay {
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.box-video .video_title {
	margin-bottom: 36px;
	font-size: 28px;
	line-height: 1.2;
	text-align: center;
	font-family: "Cormorant Garamond", serif;
	color: #5E665F;
}

.box-video .video_desc {
	font-size: 17px;
	line-height: 1.35;
	text-align: center;
	color: #2b1c0f;
}

@media (max-width: 1200px) {
    .box-video .video_title {
    	font-size: 15px;
    	margin-bottom: 6px;
    }
    
    .box-video .video_desc {
    	font-size: 14px;
    }

    .box-video .box-video__overlay {
    	padding: 5px 5px 5px;
    }
}

/* ================= FRONT/BOX-COME ================= */

/* ================= FRONT/BOX-FORM ================= */
.static-bg {
    width: 100%;
    min-height: 740px;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
}
.box-form,
.front-form {
    min-height: 740px;
    position: relative;
    overflow: hidden;
}

.box-form span.wpcf7-not-valid-tip {
	margin-top: -15px;
	font-size: 12px;
}
.box-form .box_title {
	font-family: "Cormorant Garamond", serif;
	line-height: 1.5;
	color: #5E665F;
	font-size: 45px;
	text-align: center;
	margin-bottom: 20px;
}
.front-form .section_title,
.box-form .section_title {
	text-align: right;
}
#make-appointment {
	position: relative;
	min-height: 740px;
	overflow: hidden;
}
#make-appointment::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}
#make-appointment .parallax-content {
	position: relative;
	z-index: 1;
}
#make-appointment .container {
	padding: 70px 15px 80px;
}
#faq-form .container {
	padding: 70px 70px 80px;
}
/* ================= FRONT/BOX-ARTICLES ================= */
.post-dates{
    text-align: left;
    font-size: 12px;
}

.article-guidelines p {
    font-size: 14px;
}

.article-guidelines ol li {
    font-size: 12px;
}

.signature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    align-items: center;
    margin: 20px 0 40px;
}
.signature-photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.author-article {
    color: #2D4A42;
    padding-left: 20px;
    text-align: left;
}

@media (max-width: 800px) {
    .signature-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sig-empty-1,
    .sig-empty-2 {
        display: none;
    }
    .signature-photo img {
        margin: 0 auto 20px;
        width: 180px;
        height: 180px;
    }
    .author-article {
        text-align: center;
        padding-left: 0;
    }
}
.article_items {
    margin-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
}
.article_items a {
    text-decoration: none;
    margin-bottom: 15px;
}

.article_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 230px;
    min-width: 0;
    padding: 36px 20px;
    text-align: center;
    text-decoration: none;
    color: #1A1A1A;
    border-right: 1px solid rgba(30, 53, 47, .16);
    border-bottom: 1px solid rgba(30, 53, 47, .16);
    background: rgba(255, 255, 255, .22);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.article_more {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.2;
    color: #7B5D27;
    letter-spacing: .06em;
}
.article_more::after {
	content: "\2192";
	display: inline-block;
	margin-left: 6px;
	transition: transform .25s ease;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {

    .article_link:hover .article_item {
        transform: translateY(-2px);
        border-color: rgba(30, 53, 47, .35);
        box-shadow: 0 18px 36px rgba(26, 26, 26, .08);
    }

    .article_link:hover .article_more {
        opacity: 1;
    }

    .article_link:hover .article_more::after {
        transform: translateX(2px);
    }

}

.article_img {
    margin-bottom: 15px;
}
.article_info {
	padding: 0 20px 0;
}
.article_title {
	font-size: clamp(20px, 2.1vw, 24px);
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
	color: #1A1A1A;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 170px;
    text-transform: uppercase;
}
.article_date {
    font-size: 14px;
    color: #1A1A1A;
    margin-bottom: 10px;
    font-weight: 400;
    padding: 0 20px 0;
}
.article_desc {
	margin-bottom: 13px;
}
.article_link {
    padding-bottom: 20px;
}

@media (max-width: 800px) {
	.article_img img {
		width: 100%;
	}
}
/* ================= ARTICLES / NEWS / DISCOUNT ================= */
.box-discounts {
	padding-top: 50px;
}
.box-discounts .box-txt {
	font-size: 17px;
}
.discount-page .col-6{
	display: -webkit-flex;
	display: flex;
	justify-content: center;
    flex-flow: column wrap;
    align-items: flex-start;
}
.discount-page {
	margin-bottom: 75px;
}
.discount-page .btn {
	font-size: 18px;
	padding-top: 15px;
    padding-bottom: 15px;
}
.discount-page:nth-child(odd) {
	background-color: #fafafa;
}
.dis_page_name {
	font-size: 28px;
	line-height: 1.5;
	font-weight: 700;
	color: #5E665F;
	margin-bottom: 20px;
}
.discount-page .col-lg-6.col-md-12 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.discount-page .btn {
  align-self: flex-start; /* кнопка вернётся к своей естественной ширине */
}
.discount-page img {
	width: 100%;
	max-width: 585px;
	aspect-ratio: 585 / 330;
	height: auto;
	object-fit: cover;
	display: block;
	border-radius: 6px; /* опционально, если нужны скругления */
}
.dis_page_desc { 
	line-height: 1.5;
	margin-bottom: 20px;
}
.box_services_links {
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	flex-flow: row wrap;
	gap: 5px;
	margin-bottom: 1.5em;
}
.box_services_links_item {
	padding: 10px 5px;
	height: auto;
	box-sizing: border-box;
	color:  #5E665F;
    border:1px solid #f0f0f0;
	margin: 0 0 6px;
	width: 520px;	
}
.box_services_links_item img {
	height: 25px;
	width: 25px;
	vertical-align: middle;
	margin-right: 10px;
}
.box_services_links_item .link {
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 40px);
}
.box_services_links_item .link p {
    margin: 0;
}
.box_services_links_item a {
	color:  #2D4A42;
	font-weight: 400;
	text-decoration: none;
	position: relative;
}
.box_services_links_item a:hover {
	opacity: .7;
	text-decoration: underline;
}
.box_services_links_item a::after {
    content: '\203A';
	margin-left: 6px;
	font-size: 18px;
	line-height: 1;
}
.box_services_links_item .service_link {
	color: #d97a3a;
	font-weight: 400;
	text-decoration: none;
	font-size: 18px;
}
.box_services_links_item .service_link:hover {
	opacity: .7;
}
@media (max-width: 800px) {
    .box_services_links_item .link h3 {
    	font-size: 16px;
    }

	.discount-page img {
		display: block;
		margin: 0 auto 20px;
	}
	.box_services_links {
		justify-content: space-around;
	}
}
/* ========================== BOX COST ================================ */
.box-cost-name {
	font-size: 16px;
	display: table-cell;
    width: 100%;
    overflow: hidden;
    vertical-align: bottom;
	color: #1e7643;
}
.box-cost-name span {
	display: block;
    position: relative;
    padding-right: 80px;
}
.box-cost-name span:after {
	content: '';
    display: inline-block;
	border-top: 1px dashed #e8e8e8;
    width: 100%;
    bottom: 0.5em;
    position: absolute;
    margin-left: 20px;
}
.box-cost-val {
	line-height: 1.5;
	color: #1e7643;
	display: table-cell;
    vertical-align: middle;
    white-space: nowrap;
    padding-left: 20px;
    font-weight: 700;
	font-size: 16px;
}
.cost-item {
	margin-bottom: 50px;
}
.box-cost-items {
	margin: 0 0 15px;
}
.box-cost-item {
	display: table;
	max-width: 960px;
	margin: 0 auto 12px;
}
.box-banner {
	padding-bottom: 100px;
}
.box-banner img {
	max-width: 100%;
}
#mapss {
	margin-bottom: -6px;
}
/* ========================== FOOTER ================================ */
.line-social {
	text-align: center;
	display: flex;
	justify-content: center
}
.line-social svg {
	fill: #fff;
	max-height: 26px;
    max-width: 26px;
}
.line-social a {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100px;
	height: 40px;
	line-height: 60px;
}
.line-social a:hover svg {
	fill: #2fa360;
}
.line-social a:nth-child(2) {
	margin: 0 -1px;
}
.footer {
	background-color: #2D4A42;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #F2F1EC;
}
.container-privacy {
	background-color: #ffffff;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #1A1A1A;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
    font-size: 16px;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
}

.container-copyright {
    text-align: center;
    font-family: "Inter", serif;
    font-size: 12px;
    margin: 10px 0;
}
.line-social,
.footer-info {
	margin-bottom: 20px;
}

.footer-info p {
	color: #fff;
	font-size: 18px;
	margin: 0;
	text-align: center;
}
.footer-info div {
	font-size: 15px;
}

@media (max-width: 800px) {
    .footer-info p {
    	font-size: 16px;
    }
}

.payments-text {
  display: flex;
  align-items: center; /* прижимаем по вертикали */
  line-height: 1;      /* убираем избыточный интерлиньяж */
}

.payments-text span {
  margin: 0;           /* убираем возможные отступы */
  padding: 0;
}

.number-404 {
    font-size: 98px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    color: #1A1A1A;
    margin-bottom: 20px;
}

.menu-footer {
	padding: 0;
	margin: 0;
	list-style: none;
}
.menu-footer a {
	color: #F2F1EC;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 14px;
	margin-bottom: 9px;
	display: block;
	font-weight: 600;
	font-family: "Cormorant Garamond", serif;
}
.menu-footer a:hover {
	background-color:rgba(255,255,255,0.12);
}
.menu-footer-one {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin-bottom: 10px;
}
.menu-footer-one li {
	width: 33.3%;
}
.amoung-us {
	max-width: 900px;
	text-align: center;
	margin: 0 auto;
}
.amoung_num {
	color: #2fa360;
	font-weight: 100;
	font-size: 62px;
	line-height: 1;
	margin-bottom: 10px;
	font-family: 'Roboto', sans-serif;
}
.amount_name {
	font-size: 20px;
	color: #5E665F;
	text-align: center;
	padding: 0 10px;
}
.col-12.amount_name {
	margin-bottom: 20px;
}

.single-page .box-adv {
	padding: 50px 0;
	background-color: #f5f5f5;
}
.box-green {
	color: #fff;
	background-color: rgba(47, 163, 96, .85);
}
.box-green h2 {
	padding-top: 20px;
}
.box-green-info {
	padding: 0 0 15px 0;
}
.green-title {
	font-size: 36px;
	line-height: 1.25;
	margin-bottom: 25px;
}
.base-page .box-adv {
	margin-bottom: 0;
	background-color: #f5f5f5;
	padding: 20px 0;
}

.green_num {
	font-family: "Roboto", sans-serif;
    font-size: 72px;
    line-height: 1;
	font-weight: 100;
	margin-bottom: 12px;
	text-align: center;
}
.green_txt {
	font-size: 17px;
	line-height: 1.5;
	max-width: 260px;
	text-align: center;
}
.box-orange {
	color: #2b1c0f !important;
}

.orange-title {
	font-size: 36px;
	line-height: 1.25;
	margin-bottom: 15px;
	text-align: center;
}
.base-page .box-adv {
	margin-bottom: 0;
	background-color: #f5f5f5;
	padding: 20px 0;
}

.orange_num {
	font-family: "Roboto", sans-serif;
    font-size: 72px;
    line-height: 1;
	font-weight: 100;
	margin-bottom: 12px;
}
.orange_txt {
	font-size: 20px;
	line-height: 1.6;
	max-width: 260px;
}






.accordionItem {
  height: auto;
  overflow: hidden;
  transition: all 1s;
  color: #5e5e5e;
}
.textPriceFirst {
    background: #f5f5f5;
    width: 100%;
    border-bottom-style: dotted;
    border-bottom-color: #dcdcdc;
    border-bottom-width: 1px;
    height: auto;
    display: flex;
    align-items: center;
}
.textPriseTwo {
    width: 85%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}
.textPriceThird {
    width: 15%;
    height: auto;
    padding-top: 10px;
    text-align: right;
    padding-right: 10px;
}
@media screen and (min-width: 48em) {
  .accordionItem {
    transition: all 0.5s;
    margin-top: 5px;
  }
}
.accordion dl {
	margin: 5px 0 5px;
}
.accordionItem.is-collapsed {
  max-height: 0;
  font-size: 0;
  margin-top: 0;
}
.cost-block {
	width: 100%;
}
.no-js .accordionItem.is-collapsed {
  max-height: auto;
  font-size: 16px;
}

.animateIn {
  -webkit-animation: accordionIn 0.45s normal ease-in-out both 1;
          animation: accordionIn 0.45s normal ease-in-out both 1;
}

.animateOut {
  -webkit-animation: accordionOut 0.45s alternate ease-in-out both 1;
          animation: accordionOut 0.45s alternate ease-in-out both 1;
}

@-webkit-keyframes accordionIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.9) rotateX(-60deg);
            transform: scale(0.9) rotateX(-60deg);
    -webkit-transform-origin: 50% 0;
            transform-origin: 50% 0;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes accordionIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.9) rotateX(-60deg);
            transform: scale(0.9) rotateX(-60deg);
    -webkit-transform-origin: 50% 0;
            transform-origin: 50% 0;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes accordionOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(0.9) rotateX(-60deg);
            transform: scale(0.9) rotateX(-60deg);
  }
}
@keyframes accordionOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(0.9) rotateX(-60deg);
            transform: scale(0.9) rotateX(-60deg);
  }
}
.accordion-title {
	color: #5E665F;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	padding: 20px 80px 23px 30px;
	background-color: #f5f5f5;
	display: block;
	text-decoration: none;
	position: relative;
}
.accordion-title h3 {
    all: unset;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin: 0;
    padding: 0;
    display: inline;
}
.accordion-title:before {
	content: '';
    position: absolute;
    top: 35px;
    right: 30px;
    border-style: solid;
    border-width: 5px 8px 0;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    -webkit-transform: scale(0.999);
    transform: scale(0.999);
    transition: opacity 0.25s ease;
}
.accordion-title.is-expanded:before {
	border-width: 0 8px 5px;
    top: 34px;
}

.cs-service-name {
	font-size: 24px;
	line-height: 1.25;
	color: #2fa360;
	font-weight: 700;
	text-align: center;
	margin-bottom: 0.88em;
	text-decoration: none;
}
.box-green-text {
	padding: 50px 0;
	background-color: #2FA360;
	font-size: 19px;
	line-height: 1.9;
	font-weight: 300;
	margin-bottom: 50px;
}
.box-orange-text p{
	color: #ebebeb;
}
.box-orange-text {
	padding: 50px 0;
	background-color: #e78a4b;
	font-size: 19px;
	line-height: 1.9;
	font-weight: 300;
	margin-bottom: 50px;
}
.box-green-text p{
	color: #ebebeb;
}

.relation_post {
	position: relative;
	display: block;
	padding-left: 55px;
	color: #2fa360;
	margin-bottom: 20px;
}
.relation_post span{
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.5;
	letter-spacing: 1.6px;
	font-weight: 700;
	font-size: 16px;
}
.relation_post:before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #e78a4b url(img/icons-check.png) center / 17px 15px no-repeat;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}
.review-item {
	background-color: #f5f5f5;
	padding: 40px;
	box-sizing: border-box;
	margin-bottom: 40px;
	width: calc(50% - 20px);
}
.review-name {
	font-size: 24px;
	line-height: 1.8;
	font-weight: 700;
	color: #5E665F;
}
.review-content {
	font-size: 16px;
	line-height: 1.4;
}
.review-content span {
	font-weight: 700;
}

/* ----------------------- FAQ Page ---------------------------- */
.faq-block {
	width: 100%;
	margin-bottom: 30px;
}
/* Posts pages*/

.box-posts .box-txt {
	padding-top: 50px;
}

.post-item .post-title {
	padding-top: 5px;
}
.post-item {
	margin-bottom: 40px;
}
.post-item p {
	margin-bottom: 1em;
}
.post-item .btn-green {
	text-decoration: none;
}
.post-item .btn-green:hover {
	color: #5E665F;
}
.post-title {
	font-size: 24px;
	line-height: 1.25;
	color: #5E665F;
}
.post-descr {
	font-size: 16px;
}
/* Header menu */
.sub-menu-wrap {
	display: none;
	position: absolute;
	width: 100%;
	z-index: 60;
	left: 0;
	right: 0;
	background-color: #ebebeb;
	padding: 25px 0;
	margin: 0 auto;
	height: 190px;
}

.menu-header li:hover .sub-menu-wrap {
	display: block;
}
.sub-menu {
	max-width: 1165px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-flow: row wrap;
}
.sub-menu li {
	width: 25%;
	padding-right: 40px;
	display: flex;
    align-items: center;
    margin-bottom: 7px;
}
.sub-menu li a {
	color: #5E665F;
	line-height: 1;
	text-transform: none;
	font-size: 17px;
	white-space: normal;
	line-height: 1.08;
	padding: 0;
}
.sub-menu li a:hover {
	color: #2fa360;
}
.box-service  {
	margin: 0 auto 75px auto;
    content-visibility: auto;
    contain-intrinsic-size: 2400px;
}
/* ================= HOME PAGE ================= */
.fs_srv {
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	flex-flow: row wrap;
}
.fs_item {
	padding: 5px 10px 5px;
	height: 55px;
	box-sizing: border-box;
	color:  #5E665F;
	background-color: #f6f6f6;
	margin: 0 15px 6px;
	width: 260px;	
}
.fs_item img {
	height: 100%;
	vertical-align: middle;
	margin-right: 5px;
    width: 40px;
    height: 40px;
}
.fs_item .link {
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 55px);
}
.fs_item a {
	color:  #5E665F;
	font-weight: 700;
	text-decoration: none;
}

.fs_item_link {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  height:100%;
  text-decoration:none;
  color:inherit;
}
.fs_item_link:focus-visible{
  outline:2px solid currentColor;
  outline-offset:3px;
}
.bs_item {
	padding: 10px 10px 10px;
	height: auto;
	box-sizing: border-box;
	color:  #1A1A1A;
    border: 1px solid #f0f0f0;
	margin: 0 3px 6px;
	width: 520px;	
}
.bs_item img {
	height: 30px;
	width: 30px;
	vertical-align: middle;
	margin-right: 10px;
}
.bs_item .link {
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 65px);
}
.bs_item a {
	color: #1A1A1A;
	font-weight: 700;
	text-decoration: none;
	position: relative;
}
.bs_item a:hover {
	opacity: .7;
	text-decoration: underline;
}

.bs_item .link h3 {
	margin: 0 0 5px 0;
	font-size: clamp(25px, 2.1vw, 32px);
	font-weight: 700;
	color: inherit;
}
.bs_item .short-description {
	margin: 0 0 8px 0;
	color: #555;
	font-size: 16px;
	line-height: 1.4;
}
.bs_item .article_link {
	color: #d97a3a;
	font-weight: 400;
	text-decoration: none;
	font-size: 18px;
}
.bs_item .article_link:hover {
	opacity: .7;
}
@media (max-width: 800px) {
    .fs_item {
    	width: 320px;	
    }
    .bs_item .link h3 {
    	font-size: 16px;
    }
    .fs_item img {
	margin-right: 15px;
    }
    .fs_item .link {
	width: calc(100% - 85px);
    }
    .amoung-us {
    	margin: 0 auto 10px;
    }
}
/* ================= HOME PAGE ================= */

/* Для мобильных */
.service-page .box-step .front-text {
	color: #5E665F;
	text-align: center;
	font-size: 36px;
	margin-bottom: 30px;
}
.service-page .front-text {
	color: #5E665F;
	text-align: center;
	font-size: 36px;
	margin-bottom: 30px;
}
.front-text .tt_txt p{
	font-size: 1rem;
	color: #5c5c5c;
}
.why-us-item {
	margin-bottom: 40px;
}
.why-img {
	vertical-align: middle;
	display: inline-block;
	margin-right: 25px;	
}
.why-title {
	width: calc(100% - 100px);
	display: inline-block;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	vertical-align: middle;
}
.why-txt {
	font-size: 17px;
	line-height: 1.6;
	color: #5e5e5e;
	margin-top: 18px;
	padding-right: 20px;
}
.contact-page .entity_info {
	font-size: 12px;
	line-height: 1.6;
	color: #5e5e5e;
}
.wrap-photo{padding:5px 15px;float:left;width:20%;height:100%;}
.wrap-text{text-align:center;margin:5px 0px;padding:1px;border:0px solid #000;width:80%;}
.contacts_column{margin:5px 0px;float:left;}
.clear{clear:left;clear:both;line-height:0 !important;height:0 !important}

.contacts-data .row {
    justify-content: center;
    gap: 15px;
}

.contact_phone {
    margin-bottom: 15px;
}

.contact-page .box-txt {
	font-size: 17px;
}

.contact-form {
	padding: 50px 0;
	background-color: #fafafa;
}
.contact-form .block-title {
	text-align: center;
	font-size: 36px;
	color: #5E665F;
	line-height: 1.2;
	font-weight: 700;
}
.contact-form {
	text-align: center;
}
.contact_form input[type="text"],
.contact_form input[type="tel"],
.contact_form textarea,
.contact_form input[type="email"] {
	background-color: #fafafa;
	max-width: 760px;
    border-color: #999;
}
.contact_form span.wpcf7-not-valid-tip {
	margin-top: -13px;
	font-size: 14px;
}
.contact_form .wpcf7-form .btn-green {
	font-size: 18px;
}
.content-social {
	text-align: center;
}
.content-social a {
	display: inline-block;
	border-radius: 50%;
	background-color: #d7d7d7;
	padding: 6px;
	text-align: center;
	margin: 0 5px;
}
.content-social svg {
	width: 26px;
	fill: #fff;
	height: 26px;
	vertical-align: middle;
}
.content-social a:hover {
	opacity: .8;
}
.green-link {
	color:  #2fa360;
	text-decoration: none;
}
.green-link:hover {
	text-decoration: underline;
}

.faq-section .accordion .green-txt {
	font-size: 20px;
	color:  #2fa360;
	font-weight: 700;
	margin-bottom: 15px;
}
.faq-section .accordion p {
	margin-bottom: 10px;
	color: #5E665F;
}
.faq-section .accordion .accordion-content {
	background-color: #f5f5f5;
	margin: 5px 0 0;
}
.faq-section .accordion .accordion-content.is-expanded {
	background-color: #f5f5f5;
	padding: 20px 30px 20px 30px;
}
.box-price-page .accordion .accordion-content {
	margin: 5px 0 0;
}
.box-price-page .accordion .accordion-content.is-expanded {
	padding: 5px 0px 5px 10px;
}
.service-page .front-text {
	background: transparent;
}
.service-page .front-text .container {
	/* background-color: #2fa360; */
	padding: 40px;
}
.service-page .front-text p {
    color: #5E665F;
	font-size: 18px;
}
.header_mobile_control {
	display: none;
}
.header_mobile_control .phone {
	display: none; /* скрываем иконку */
}
.header_mobile_control .call-text {
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	background-color: #e78a4b;
	color: #2b1c0f;
	font-weight: 600;
	vertical-align: middle;
	transition: background-color 0.3s, transform 0.2s ease;
	text-decoration: none;
	line-height: 1;
}
.header_top.active .call-text {
	display: none;
}
.header_top.active .close use {
	stroke: #2b1c0f;
	stroke-width: 2px;
}
.hfa_text {
	font-weight: 700;
	margin-bottom: 0px;
	font-size: 18px;
	text-align: center;
}
.header_worktime p {
	color: #5E665F;
}
.mobile-arrow-left,
.mobile-arrow-right {
	display: none;
	position: absolute;
	left: 0;
	width: 40px;
	cursor: pointer;
	z-index: 2;
	align-items: center;
	justify-content: flex-start;
	padding-left: 10px;
	box-sizing: border-box;
	height: 40px;
	background: linear-gradient(to right, rgb(34, 74, 99) 0, rgba(34, 74, 99, .4)100%);
}
.mobile-arrow-left svg,
.mobile-arrow-right svg {
	fill: #fff;
}
.mobile-arrow-right {
	background: linear-gradient(to left, rgb(34, 74, 99) 0, rgba(34, 74, 99, .4)100%);
	right: 0;
	left: auto;
	justify-content: flex-end;
	padding-left: 0;
	text-align: right;
	padding-right: 10px;
}
.mobile-arrow-left.active,
.mobile-arrow-right.active {
	display: flex;
}
@media (max-width: 1200px) {
    .header_mobile_control {
        position: relative;
        z-index: 9999;
		display: block;
		text-align: center;
		padding-bottom: 8px;
    }
    .menu-toggle, .hamburger, .mobile-menu-button {
        position: relative;
        z-index: 9997 !important; /* ← гарантировано ниже активного блока */
    }
	.menu-header {
		overflow: auto;
		overflow-y: hidden;
		white-space: nowrap;
		position: relative;
	}
	.menu-header li:hover .sub-menu-wrap {
		display: none;
	}
	.menu-header li .sub-menu-wrap.active {
		display: block;
	}
	.menu-header::-webkit-scrollbar {
		width: 4px;
		height: 4px;
	}
	.menu-header::-webkit-scrollbar-track {
		background: #f1f1f1; 
	}
	.menu-header::-webkit-scrollbar-thumb {
		background: #000; 
	}
	.menu-header::-webkit-scrollbar-thumb:hover {
		background: #555; 
	}
	.menu-header a {
		padding: 17px 10px;
	}
	.menu-header .menu-item-has-children > a {
		position: relative;
	}
	.menu-header .menu-item-has-children > a:after {
		content: '';
		display: inline-block;
		margin-left: 6px;
		position: relative;
		top: -1px;
		border-style: solid;
		border-width: 5px 3px 0;
		border-color: #fff transparent transparent;
	}
	.menu-header .menu-item-has-children > a:not('.active'):hover:after,
	.menu-header .menu-item-has-children > a.active:after {
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
    	top: -2px;
	}
	.sub-menu-wrap {
		height: auto;
	}
	.sub-menu li a {
		font-size: 15px;
	}
	.sub-menu li {
		width: 100%;
		border-bottom: 1px solid #fff;
		padding: 10px 15px;
		margin-bottom: 0;
	}
    .header_top .row {
        margin-left: 0;
        margin-right: 0;
    }
    .header_top.active {
    	background-color: #e78a4b !important;
    	opacity: 1 !important;
    }
	.header_top .header_phone {
		width: 100%;
		font-size: 24px;
		text-align: center;
		color: #5E665F;
		padding: 14px 10px;
		border-top: solid 1px #e7e7e7;
		margin: 0 !important;
	}
    .header_top .header_phone:last-child {
        border-bottom: 1px solid #e7e7e7;
        margin-bottom: 10px !important;
    }

    .header_top .header_phone a {
        color: #1c6e45;
        text-decoration: underline;
    }

	.header_top .close {
    	background-color: transparent;
    	transition: all 0.2s;
        color: #1c6e45;
        font-weight: 600;
        text-decoration: underline;
    }
	.header_top .header_last {
		border-bottom: solid 1px #e7e7e7;
	}
	.header_phone img {
	display: block;
	margin: 0 auto;
    }
	.header_top .container {
		padding: 0;
	}

	.header_mobile_control svg {
		width: 24px;
		height: 24px;
		margin-top: 8px;
	}
	.header_top .close,
	.header_top .btn {
		display: none;
	}
    .header_top .btn {
    	margin-left: 0px;
    }
	.header_top .header_phone {
		display: none;
	}
	.header_top.active .phone {
		display: none;
	}
	.header_top.active .close {
		display: inline-block;
	}
	.header_top.active .header_phone {
		display: block;
	}
	.box-cabinets .slider-cab {
		padding: 0 50px;
	}
	.box-certificates .slider-cab {
		padding: 0 50px;
	}
	.box-results .slider-res {
		padding: 0 15px;
	}
    .cab-item img {
        max-width: 264px;
        margin: 0;
        padding: 0;
    }
    .res-item img {
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 740px) {
	.accordionItem {
		margin: 0;
	}
	
	.header_top.active {
		height: auto;
		overflow: scroll;
		border-radius: 10px;
        z-index: 9999;
	}
}

@media (max-width: 1200px) {
	.header_content .row {
		padding: 0;
	}
}

@media (max-width: 800px) {
	.front-video .video_title {
		font-size: 40px;
		margin-bottom: 70px;
	}
	.doc-photo {
		display: block;
		margin-bottom: 10px;
	}
	.container.box-cabinets {
		overflow: hidden;
	}
	.container.box-certificates {
		overflow: hidden;
	}
	.review-item {
		width: 100%;
	}
	.dis_page_name {
		font-size: 26px;
	}
}
@media (max-width: 800px) { 

	.menu-footer-one {
		margin-bottom: 30px;
		display: flex;
		flex-wrap: wrap;
	}
	.menu-footer-one li {
		width: 50%;
		margin: 0 0 8px 0;
	}
	.box-txt, .video-txt {
		font-size: 18px;
	}
	.video_title,
	.green-title,
	.orange-title,
	.contact-form .block-title {
		font-size: 30px;
	}
	.dis_page_name {
		font-size: 20px;
	}
	.textPriseTwo,
	.textPriceThird p {
		font-size: 14px;
	}
	.section {
		padding: 20px 0;
	}
	.amount_name {
		font-size: 18px;
		margin-bottom: 15px;
	}
	.green_txt {
		max-width: 100%;
		text-align: center;
		margin-bottom: 20px;
	}
	.green_num {
		margin-bottom: 5px;
		text-align: center;
	}
	.orange_txt {
		max-width: 100%;
		text-align: center;
		margin-bottom: 20px;
	}
	.orange_num {
		margin-bottom: 5px;
		text-align: center;
	}
	.service_header {
		min-height: 50px
	}
	.box-cost-name span {
		padding-right: 20px;
		font-size: 16px;
	}
	.fs_srv {
		justify-content: space-around;
	}
}

.mobile-header-bar{
	display:flex;
	align-items:center;
	justify-content:space-between;
	height: 60px;
	gap: 10px;
}

.mobile-logo img{
	display:block;
	height:40px;
	width:auto;
}

.burger-menu-toggle{
	margin-left:auto;
}

/* Кнопка-гамбургер */
.burger-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	cursor: pointer;
	background: transparent;
	border: none;
	padding: 0;
	margin: 10px;
	position: relative;
	z-index: 999;
}

.burger-menu-toggle span {
	display: block;
	width: 24px;
	height: 3px;
	background-color: #ffffff;
	margin: 4px 0;
	transition: 0.3s;
}

/* Анимация превращения в крестик */
.burger-menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg);
	position: absolute;
}
.burger-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}
.burger-menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg);
	position: absolute;
}
/* Стили мобильного меню */
@media (max-width: 1200px) {
  .header_menu.mobile-only .row {
    width: 100vw;
    margin-left: -15px;
    margin-right: -15px;
    flex-wrap: wrap !important;
  }

  .header_menu.mobile-only .menu-header {
    width: 100vw !important;
  }

  .header_menu.mobile-only .menu-header a {
    display: block !important;
    width: 100% !important;
  }
}
/* Правки 11-07-2025 вопрос-ответ*/
.accordion-title-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  padding: 10px 10px 10px 10px;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
}
.accordion-question-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #5E665F;
}
.accordion-toggle-btn {
  font-size: 26px;
  font-weight: 700;
  background: none;
  border: none;
  color: #1c6e45;
  line-height: 1;
  padding: 0;
  margin-left: 10px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}
.accordion-toggle-btn.active {
  transform: rotate(45deg); /* превращает + в × (вместо минуса, но можно заменить на - по желанию) */
}

@media screen and (max-width: 799px) {
  .js-accordionTrigger-desktop {
    pointer-events: none;
  }
}
/* Контейнеры */
.container2 {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.container2-wrapper {
    width: 100%;
}
.submenu-wrapper {
/*    display: block;   */
    display: none;
}

/* Ховер эффект на десктопе */
.container2 .menu-header a:hover {
    color: #5E665F;
}

/* Гамбургер */
.header_menu.mobile-only .burger-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 10px;
}
.header_menu.mobile-only .burger-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}
/* ============ МОБИЛЬНЫЕ  ============ */  
@media (max-width: 1200px) {
  /* Бургер внутри mobile-only */
  .header_menu.mobile-only .burger-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 10px 0 0;
    position: relative;
    z-index: 999;
  }

  .header_menu.mobile-only .burger-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    margin: 1px 0;
    transition: 0.3s;
  }

  /* Прячем меню и десктопную навигацию */
  .header_menu.mobile-only .menu-header {
    display: none !important;
  }

  .header_menu.mobile-only .submenu-wrapper {
    display: none;
  }

  /* Когда меню открыто */
  body.menu-open .header_menu.mobile-only .mobile-menu-columns {
    display: flex;
  }

  /* Активный бургер */
  .header_menu.mobile-only .burger-menu-toggle {
    display: flex !important;
    width: 60px;
    height: 60px;
    z-index: 1001;
  }

  .header_menu.mobile-only .burger-menu-toggle span {
    height: 3px;
    background: #fff;
    border-radius: 2px;
  }

  /* Контейнер колонок меню */
  .header_menu.mobile-only .mobile-menu-columns {
    display: none;
    flex-direction: row;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    justify-content: flex-end;
  }

  .header_menu.mobile-only .mobile-menu-columns > .main-menu,
  .header_menu.mobile-only .mobile-menu-columns > .directions-menu {
    width: 50%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* Цветовые подменю */
  .header_menu.mobile-only .submenu-blue {
    background-color: #2D4A42;
    text-align: right;
  }

  .header_menu.mobile-only .submenu-green {
    background-color: #1c6e45;
    text-align: right;
  }

  .header_menu.mobile-only .submenu-blue li,
  .header_menu.mobile-only .submenu-green li {
    padding: 10px 25px;
  }

  .header_menu.mobile-only .submenu-blue a,
  .header_menu.mobile-only .submenu-green a {
	display: inline-block;
	font-size: 14px;
    line-height: 1;
	color: #F2F1EC;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: "Cormorant Garamond", serif;
  }
}

/* ================= HEADER CONTENT ================= */
.header-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}
.logo-wrapper {
    width: 280px;
    height: 100px;
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

.logo-wrapper img {
    display: block;
    max-width: 240px;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: brightness(1.08);
}
.header_adress,
.header_worktime {
	display: inline-block;
	line-height: 1.625;
	height: 52px;
}
.header_adress p,
.header_worktime p {
	padding: 0;
	margin: 0;
	font-weight: 700;
}

.col-4.btn-wrap {
    height: 36px;
}

@media (max-width: 767px) {
    .logo-wrapper {
        width: 150px;
        height: 50px;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .logo-wrapper a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    .logo-wrapper img {
        width: 150px !important;
        height: 50px !important;
    }
	.header_adress {
	    line-height: 1.612;
	}
	.header_adress p {
		font-size: 14px;
	}
    .col-4.logo-wrapper {
        flex: 0 0 45%;
/*        max-width: 45%; */
    }
    .col-8.header_adress {
        flex: 0 0 55%;
        max-width: 55%;
    }
}
/* ================= ++++++++++ ================= */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}



/* Кнопка "Наверх" (иконка SVG внутри <a id="scrollToTop">) */
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2D4A42;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
  z-index: 9997;

  /* ВАЖНО: по умолчанию прячем кнопку */
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
}

#scrollToTop svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: #fff;
}

#scrollToTop:hover svg {
  fill: #fff;
  opacity: 0.7;
}
/* Класс, который делает кнопку видимой */
#scrollToTop.show {
  opacity: 1;
  pointer-events: auto;
}
/* Мобильная настройка (можно подкорректировать размеры, если надо) */
@media (max-width: 1200px) {
  #scrollToTop {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;

    /* центрирование остаётся через flex */
    align-items: center;
    justify-content: center;
  }

  #scrollToTop svg {
    width: 24px;
    height: 24px;
  }
}



