/* ==========================================================================
   RYF redesign — About / Reviews / FAQ blocks.
   Loaded after redesign.css. Snapshot of the previous state:
   _snapshots/before-blocks/
   ========================================================================== */

.eyebrow--left { text-align: left; }

/* ---------- ABOUT ---------- */
.about { padding: 96px 0; }
.about .container .row { padding: 0 15px; }
.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	column-gap: 72px;
	row-gap: 44px;
	align-items: start;
	position: relative;
	z-index: 1;
}
.about__intro { position: sticky; top: 110px; }
body .about__title { text-align: left; padding: 0 0 22px; margin: 0; }
body .about__title .span:before, body .about__title .span:after { display: none; }
.about__lead {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(24px, 2.3vw, 31px);
	line-height: 1.28;
	color: var(--gold);
	margin: 0;
	font-variant-numeric: lining-nums;
}
.about__items { display: block; }
/* number + heading share one grid row and are aligned on the text BASELINE, so they stay level
   at every width; the paragraph sits under the heading */
.about__item {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	align-items: baseline;
	padding: 30px 0;
	border-top: 1px solid rgba(206, 180, 117, .28);
}
.about__item:last-child { border-bottom: 1px solid rgba(206, 180, 117, .28); }
.about__num {
	grid-column: 1; grid-row: 1;
	font-family: var(--serif);
	font-size: 34px;
	line-height: 1.1;
	color: var(--gold);
	font-variant-numeric: lining-nums;
}
.about__h {
	grid-column: 2; grid-row: 1;
	font-family: var(--serif);
	font-weight: 500;
	font-size: 27px;
	line-height: 1.1;
	color: #fff;
	margin: 0 0 12px;
	padding: 0;
	font-variant-numeric: lining-nums;
}
.about__item p { grid-column: 2; grid-row: 2; }
.about__item p, .about__care p {
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	font-weight: 400;
	color: rgba(255, 255, 255, .9);
}
/* the 5 % for animals: its own highlighted card */
.about__care {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 34px;
	padding: 30px 38px;
	border: 1px solid rgba(206, 180, 117, .5);
	border-radius: var(--r);
	background: linear-gradient(90deg, rgba(206, 180, 117, .10), rgba(206, 180, 117, .02));
}
.about__care-icon { flex: none; width: 58px; height: 58px; color: var(--gold); }
.about__care-icon svg { width: 100%; height: 100%; display: block; }
.about__care .eyebrow { color: var(--gold); margin-bottom: 8px; }

/* ---------- REVIEWS ---------- */
.judge { padding: 96px 0 84px; }
.rv { position: relative; z-index: 1; padding: 0 15px; }
.rv .eyebrow { color: var(--gold); }
.rv .slider { margin: 18px auto 0; max-width: 500px; }
.rv__slide { padding: 0; }
.rv__card {
	display: block;
	background: #fff;
	border: 1px solid rgba(206, 180, 117, .35);
	border-radius: var(--r);
	padding: 8px;
	box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
	cursor: zoom-in;
	transition: transform .3s ease, border-color .3s ease;
}
.rv__card:hover { transform: translateY(-4px); border-color: var(--gold); }
body .judge .rv__card img { display: block; width: 100%; max-width: none; height: auto; margin: 0; border-radius: 1px; }
body .judge .owl-carousel .owl-item { display: block; }
.rv .owl-stage { display: flex; align-items: center; }

/* The block keeps ONE fixed height (the tallest screenshot); shorter cards sit in the middle.
   Arrows: on both sides of the card, vertically centred. Dots under the card. */
.rv .owl-carousel { position: relative; padding-bottom: 54px; }
body .judge .owl-nav {
	position: absolute;
	left: -86px; right: auto;
	width: calc(100% + 172px);  /* main.min.css forces width:100%, so the right offset is set via width */
	padding: 0;
	top: calc(50% - 27px);      /* centre of the card area (54px of dots padding below) */
	bottom: auto;
	height: 0;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	margin: 0;
}
body .judge .owl-nav .owl-prev, body .judge .owl-nav .owl-next {
	pointer-events: auto;
	transform: translateY(-50%);
	margin: 0;
	position: static;
	width: 46px; height: 46px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-gold);
	border-radius: 50%;
	color: var(--gold);
	background: transparent;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
body .judge .owl-nav .owl-prev:hover, body .judge .owl-nav .owl-next:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
body .judge .owl-nav svg { width: 18px; height: 18px; }
body .judge .owl-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 12px; padding: 0; margin: 0; }
body .judge .owl-dots .owl-dot { width: 9px; height: 9px; margin: 0; padding: 0; border: 1px solid rgba(206, 180, 117, .7); border-radius: 50%; background: transparent; display: block; transition: background-color .3s ease, transform .3s ease; }
body .judge .owl-dots .owl-dot span { display: none; }
body .judge .owl-dots .owl-dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.rv__all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;       /* air between the dots and the link (was 6px: gap was ~18px, now ~40px) */
	font-weight: 500;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
}
.rv__all:hover, .rv__all:focus { color: #fff; text-decoration: none; }
.rv__all i { display: inline-block; position: relative; width: 28px; height: 1px; background: currentColor; transition: width .3s ease; }
.rv__all i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.rv__all:hover i { width: 44px; }

/* ---------- FAQ ---------- */
.info { padding: 96px 0; }
#info .wrap.wrap-pad { padding: 0 15px; }
#info .wrap-pad > div {
	display: grid;
	grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
	column-gap: 80px;
	align-items: start;
	width: 100%;
	float: none;
	padding: 0;
}
#info .faq__aside { position: sticky; top: 110px; }
#info .faq__aside .h3 { text-align: left; padding: 0 0 22px; margin: 0; }
#info .faq__aside .h3 .span:before, #info .faq__aside .h3 .span:after { display: none; }
.faq__aside-text { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; max-width: 360px; }
#info .js-accord { width: 100%; float: none; padding: 0; counter-reset: faq; }

body .faq__item {
	counter-increment: faq;
	padding: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	will-change: auto;
}
body .faq__item:first-child { border-top: 1px solid var(--line); }
body .faq__item:hover, body .faq__item.opened { border-color: var(--line); border-bottom-color: var(--gold); background: transparent; }
body .faq__item-head { gap: 26px; min-height: 0; padding: 26px 0; align-items: center; }
body .faq__item-head::before {
	content: counter(faq, decimal-leading-zero);
	flex: none;
	width: 36px;
	font-family: var(--serif);
	font-size: 22px;
	line-height: 1;
	color: var(--gold-deep);
	font-variant-numeric: lining-nums;
}
body .faq__item-title {
	flex: 1;
	font-family: var(--serif);
	font-weight: 500;
	font-size: 26px;
	line-height: 1.15;
	color: var(--ink);
	transition: color .25s ease;
	font-variant-numeric: lining-nums;
}
body .faq__item:hover .faq__item-title, body .faq__item.opened .faq__item-title { color: var(--gold-deep); }
/* plus / minus instead of the arrow picture */
body .faq__item-plus { position: relative; width: 22px; height: 22px; flex: none; }
body .faq__item-plus img { display: none; }
body .faq__item-plus::before, body .faq__item-plus::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	width: 18px; height: 1px;
	margin: 0 0 0 -9px;
	background: var(--ink);
	transition: transform .3s ease, background-color .25s ease;
}
body .faq__item-plus::after { transform: rotate(90deg); }
body .faq__item.opened .faq__item-plus::after { transform: rotate(0deg); }
body .faq__item:hover .faq__item-plus::before, body .faq__item:hover .faq__item-plus::after,
body .faq__item.opened .faq__item-plus::before, body .faq__item.opened .faq__item-plus::after { background: var(--gold-deep); }
body .faq__item-content {
	max-width: none;
	padding: 0 56px 0 62px;
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	color: var(--ink-soft);
}
body .faq__item-content::after { content: ""; display: block; height: 28px; }
body .faq__item.opened .faq__item-content { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
	.about, .judge, .info { padding: 64px 0; }
	.about__grid { grid-template-columns: 1fr; row-gap: 30px; }
	.about__intro { position: static; }
	.about__care { gap: 22px; padding: 26px 24px; }
	#info .wrap-pad > div { grid-template-columns: 1fr; row-gap: 34px; }
	#info .faq__aside { position: static; }
}
@media (max-width: 575px) {
	.about__item { grid-template-columns: 46px minmax(0, 1fr); }
	.about__num { font-size: 26px; }
	.about__h { font-size: 24px; }
	.about__care { flex-direction: column; align-items: flex-start; }
	body .faq__item-head { gap: 14px; padding: 20px 0; }
	body .faq__item-head::before { width: 26px; font-size: 18px; }
	body .faq__item-title { font-size: 22px; }
	body .faq__item-content { padding: 0 8px 0 40px; font-size: 16px; }
	.rv .owl-carousel { padding-bottom: 54px; }
	/* phones: no room beside the card -> arrows go to the bottom corners, dots between them */
	.rv .owl-carousel { padding-bottom: 62px; }
	body .judge .owl-nav { left: 0; width: 100%; top: auto; bottom: 0; height: 42px; }
	body .judge .owl-nav .owl-prev, body .judge .owl-nav .owl-next { transform: none; width: 42px; height: 42px; }
	body .judge .owl-dots { bottom: 17px; }
	.rv__all { margin-top: 30px; }
}

/* ==========================================================================
   SECTION RHYTHM — one place to tune the space between blocks.
   --section-y       big blocks (services, about, reviews, FAQ, contacts)
   --section-y-tight stat + advantages (two light blocks next to each other)
   ========================================================================== */
:root { --section-y: 112px; --section-y-tight: 88px; }
body .practice, body .about, body .judge, body .info, body .contacts {
	padding-top: var(--section-y);
	padding-bottom: var(--section-y);
}
body .stat, body .advants {
	padding-top: var(--section-y-tight);
	padding-bottom: var(--section-y-tight);
}
@media (max-width: 1199px) { :root { --section-y: 88px; --section-y-tight: 72px; } }
@media (max-width: 767px)  { :root { --section-y: 80px; --section-y-tight: 64px; } }
@media (max-width: 767px) {
	/* heading -> content: 32px (was 22-24px) */
	body .h3 { padding-bottom: 32px; }
	body .about__title, body #info .faq__aside .h3 { padding-bottom: 28px; }
	.sec-lead { margin-bottom: 36px; }
	.svc__grid { gap: 20px; }
	.about__grid { row-gap: 40px; }
	#info .wrap-pad > div { row-gap: 40px; }
	.about__item { padding-top: 28px; padding-bottom: 28px; }
}

/* text reviews */
.rvt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rvt__card { display: flex; flex-direction: column; padding: 26px 26px 20px; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.rvt__stars { margin: 0 0 14px; font-size: 16px; line-height: 1; letter-spacing: .14em; color: var(--gold); }
.rvt__tr { display: block; margin: -4px 0 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.rvt__text { margin: 0 0 22px; font-size: 17px; line-height: 1.65; color: var(--ink); }
.rvt__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.rvt__name { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
.rvt__src { display: block; margin-top: 2px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.rvt__shot { flex: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid var(--line-gold); padding-bottom: 2px; }
.rvt__shot:hover { color: var(--navy); border-bottom-color: var(--navy); }
.rvt__card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
@media (max-width: 991px) { .rvt { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rvt__card:last-child:nth-child(3n+1) { grid-column: auto; } .rvt__card:last-child:nth-child(2n+1) { grid-column: 1 / -1; } }
@media (max-width: 767px) { .rvt { grid-template-columns: 1fr; gap: 14px; } .rvt__card, .rvt__card:last-child:nth-child(2n+1) { grid-column: auto; padding: 22px 20px 18px; } .rvt__text { font-size: 16px; } }

/* review cards in the slider (home + service pages) */
.rv--cards .slider { max-width: none; margin-top: 30px; }
.rv--cards .owl-stage { align-items: stretch; }
body .judge .rv--cards .owl-carousel .owl-item { display: flex; align-items: stretch; }
.rv--cards .rv__slide { display: flex; width: 100%; }
.rv--cards .rvt__card { width: 100%; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8); }
.rv--cards .rvt__text { font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.rv--cards .owl-carousel { padding-bottom: 62px; }
body .judge .rv--cards .owl-nav { left: 0; width: 100%; top: auto; bottom: 0; height: 42px; }
body .judge .rv--cards .owl-nav .owl-prev, body .judge .rv--cards .owl-nav .owl-next { transform: none; width: 42px; height: 42px; }
body .judge .rv--cards .owl-dots { bottom: 17px; }

