html {height:100%;width:100%;scroll-behavior: smooth;}
::-webkit-scrollbar {width: 6px; height:2px; border-radius:4px;}
::-webkit-scrollbar-track {background-color: #eee;box-shadow: 0 0 1px 1px #fff inset;}
::-webkit-scrollbar-thumb {background-color: #f3c5d0;}
::-webkit-scrollbar-thumb:hover {background-color: #d48598;}
::-webkit-input-placeholder {color: #96a7bd!important;}
:focus-visible {outline: none;}
body {font-family: "Montserrat Alternates", sans-serif; font-size: 17px;line-height: 1.7;color: #666; background: #f2edea;}
a {transition: linear .3s;}
img {max-width: 100%; height: auto;} blockquote {position: relative;background: #f2edea;margin: 1.5rem 0;padding: 20px 80px 20px 20px;border-radius: 20px;z-index: 3;}
ol, ul {padding-left: 1rem;}
.post__entry {padding-top: 70px;}
.post__entry li {position: relative;list-style: none;padding-left: 34px;}
.post__entry li:before {content: '';
background: url(//psykontact.ru/wp-content/themes/psy/images/icon-check.svg) no-repeat 0 0;
position: absolute;
top: 7px;
left: 0;
display: block;
width: 18px;
height: 18px;}
.post__entry a:hover {color: #b28496}
.rating {     
position: absolute;
top: 40px;
right: 16px;
font-size: 14px;
font-weight: 300;
padding: 7px 16px 2px;
border-radius: 20px;
z-index: 2;
background: #fff;}
.rmp-rating-widget .rmp-icon--ratings {color: transparent;background: url(//psykontact.ru/wp-content/themes/psy/images/empty-star.svg) no-repeat;background-size: contain;}
.rmp-icon--full-highlight,.rmp-icon--hovered,.rmp-rating-widget .rmp-icon--full-highlight {color: transparent;background: url(//psykontact.ru/wp-content/themes/psy/images/fill-star.svg) no-repeat;background-size: contain;}
.js-rmp-replace-half-star {color: transparent;background: url(//psykontact.ru/wp-content/themes/psy/images/half-star.svg) no-repeat;background-size: contain;}
.h1, h1 {font-size: 2rem; color: #b28496}
h2,.h2 {font-size: 1.8rem;margin: 36px 0;color: #b28496}
h3,.h3 {font-size: 1.5rem;margin: 30px 0;color: #b28496}
h1,h2,h3,h4,h5 {font-weight: 600;}
h3,h4,h5,b,strong {color: #353535}
b,strong {font-weight: 600;} header {display: flex;align-items: center;justify-content: space-around;padding: 10px 15px;}
.sticky {position: sticky;top: 0; z-index: 10000; background: #f2edea;box-shadow: 0 0 5px #ddd;}
.logo,.quote {padding: 0 15px;}
.logo img {max-width: 100px;}
.quote a {display: flex;font-weight: 500;letter-spacing: 1px;padding: 10px 20px;background: #b28496;border-radius: 20px;color: #fff;text-decoration: none;}
.quote a:hover {color:#eee;background: #ad6d86;transform: scale(1.05);} .page-wrapper {max-width: 1530px;margin-left: auto;margin-right: auto;background-color: #fff;-webkit-box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.08);box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.08);position: relative;margin: 0 auto;width: 100%;min-width: 300px;}
.hero-psychologist {padding: 80px 20px;}
.hero-psychologist__inner {max-width: 1200px;margin: 0 auto;display: grid;grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);gap: 60px;align-items: center;}
.hero-psychologist__media {position: relative;}
.hero-psychologist__photo-wrap {
position: relative;
border-radius: 24px;
overflow: hidden;
box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);}
.hero-psychologist__photo {
display: block;
width: 100%;
height: auto;
object-fit: cover;
}
.hero-psychologist__floating-card {
position: absolute;
left: 30px;
bottom: 30px;
background: #fff;
border-radius: 16px;
padding: 22px 26px;
max-width: 270px;
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}
.floating-card__icon-row {
display: flex;
gap: 10px;
margin-bottom: 14px;
}
.floating-card__title {font-size: 18px;font-weight: 600;margin-bottom: 6px;}
.floating-card__subtitle {font-size: 14px;margin-bottom: 16px;}
.floating-card__btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 22px;
border-radius: 999px;
border: none;
background: #0088cc;
color: #fff;
font-size: 14px;
font-weight: 600;
cursor: pointer;}
.floating-card__btn:hover {background: #ad6d86;} .hero-psychologist__eyebrow {
font-size: 12px;
letter-spacing: 0.2em;
text-transform: uppercase;
margin-bottom: 16px;
}
.hero-psychologist__title {
font-size: 40px;
line-height: 1.15;
margin: 0 0 24px;
}
.hero-psychologist__lead {
font-size: 16px;
line-height: 1.6;
margin-bottom: 18px;
color: #5c4339;
}
.hero-psychologist__text {
font-size: 15px;
line-height: 1.7;
margin-bottom: 26px;
color: #7b6053;
} .hero-psychologist__progress-block {
margin-bottom: 32px;
}
.progress-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
font-size: 14px;
font-weight: 600;
}
.progress-bar {
width: 100%;
height: 8px;
border-radius: 999px;
background: #f1ded1;
overflow: hidden;
}
.progress-bar__fill {
display: block;
height: 100%;
border-radius: inherit;
background: #b28496;
} .hero-psychologist__footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
}
.signature__name {
font-family: "Pacifico", "Segoe Script", cursive;
font-size: 26px;
margin-bottom: 4px;
}
.signature__role {
font-size: 14px;
}
.hero-psychologist__socials {
display: flex;
gap: 10px;
list-style: none;
padding: 0;
margin: 0;
}
.hero-psychologist__socials a {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
font-size: 14px;
text-decoration: none;
}
.hero-psychologist__socials a:hover {
color: #fff;
} @media (max-width: 992px) {
.hero-psychologist__inner {
grid-template-columns: 1fr;
gap: 40px;
}
.hero-psychologist__media {
max-width: 480px;
margin: 0 auto;
}
}
@media (max-width: 600px) {
.hero-psychologist {
padding: 50px 16px;
}
.hero-psychologist__floating-card {
left: 14px;
right: 14px;
max-width: none;
}
.hero-psychologist__title {
font-size: 30px;
}
}
.services__list {background: #f4f4f7; padding: 90px 0;}
.services__list_text {max-width: 980px;padding: 40px;margin: auto;}
.services__list_text .h3 {color: #333;}
.services__list_text .h3 a {color: #b28496;}
.services__list_text .h3 a:hover {color: #222;} .card {min-height:200px; position: relative;border-radius: 8px;border:0; box-shadow: none;overflow: hidden; transition: linear .3s;}
.card-body {display: flex;align-items:center;font-weight:600;word-space:1px;position: relative;overflow: hidden;z-index: 1;transition: color 0.3s ease;}
.card-bg::before { content: "";
position: absolute;
inset: 0;
background-image: var(--bg-img);
background-size: cover;
background-position: center;
opacity: 0;
filter: grayscale(90%) brightness(0.6);
transition: opacity 0.5s ease;
z-index: -1;
}
.card-bg::after {
content: "";
position: absolute;
inset: 0;
background: rgba(0,0,0,0.25);
opacity: 0;
transition: opacity 0.5s ease;
z-index: -1;
}
.card:hover .card-bg::before,
.card:hover .card-bg::after {opacity: .8;}
.card:hover .card-body {color: #fff;}
.benefits {
padding: 70px 20px;
color: #3b2921;
}
.benefits__inner {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 36px;
} .benefits__top {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
gap: 40px;
align-items: start;
}
.benefits__eyebrow {
font-size: 12px;
letter-spacing: 0.18em;
text-transform: uppercase;
margin-bottom: 12px;
}
.benefits__title {
font-size: 34px;
line-height: 1.2;
margin: 0;
} .benefits__bottom {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
width: 100%;
} .benefits-card {
padding: 32px 30px;
border-radius: 14px;
background: #f4f4f7;
text-align: left;
}
.benefits-card--top {
width: 100%;
}
.benefits-card__icon {
width: 56px;
height: 56px;
border-radius: 50%;
background: #ffffff;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 18px;
}
.benefits-card__title {
font-size: 20px;
font-weight: 600;
line-height: 1.5;
color: #5a6d7f;
margin-bottom: 20px;
} @media (max-width: 992px) {
.benefits__top {
grid-template-columns: 1fr;
}
.benefits__bottom {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.benefits-card {
text-align: center;
}
.benefits-card__icon {
margin-left: auto;
margin-right: auto;
}
}
.psy-block {padding: 80px 15px;}
.psy-block__inner {
max-width: 1200px;
margin: 0 auto;
position: relative;
}
.psy-block__content {
position: relative;
display: flex;
align-items: center;
}
.psy-block__text {
max-width: 880px;
padding: 70px 80px 70px 40px;
background: #f4f4f7;
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
position: relative;
z-index: 2;
}
.psy-block__image {
position: relative;
z-index: 3;
margin-left: -40px;
}
.psy-block__image img {
width: 100%;
height: auto;
display: block;
} .quotes {
padding: 80px 20px;    margin: 70px 0;
background: #faf5f1;
}
.quotes__container {
max-width: 1200px;
margin: 0 auto;
}
.quotes__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr)); 
gap: 30px;
} .quote-card {
background: #ffffff;
padding: 32px 28px;
border-radius: 18px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.quote-card__icon {
position: absolute;
top: -18px;
left: 22px;
width: 46px;
height: 46px;
border-radius: 50%;
background: #b28496;
color: #ffffff;
font-size: 26px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
}
.quote-card__text {
font-size: 16px;
line-height: 1.65;
color: #3b2921;
margin-bottom: 22px;
}
.quote-card__author {
font-size: 14px;
font-weight: 600;
color: #b28496;
text-align: right;
} @media (max-width: 992px) {
.quotes__grid {
grid-template-columns: repeat(2, 1fr); 
}
}
@media (max-width: 600px) {
.quotes {
padding: 50px 16px;
}
.quotes__grid {
grid-template-columns: 1fr; 
}
.quote-card {
padding: 26px 22px;
}
.quote-card__text {
font-size: 15px;
}
} .post__entry a {color:#212529; font-weight: 600;}
.post__entry_img {position: relative;}
.post__entry img {border-radius: 20px; margin: 20px auto; text-align: center;}
#breadcrumbs {font-size: 16px;font-weight: 300;
position: absolute;
left: 20px;
padding: 5px 20px;
border-radius: 20px;
bottom: 38px;
z-index: 2;
color: #fff;
background: #b28496a6;
}
#breadcrumbs a {font-weight: 300; color:#fff; text-decoration: none;}
#breadcrumbs a:hover {text-decoration: underline;}
.breadcrumb_last {display: none;}
.post-card{border:0;border-radius:1rem;box-shadow:0 10px 24px rgba(0,0,0,.08);overflow:hidden;background:#f2edea;}
.post-media{position:relative;border-top-left-radius:1rem;border-top-right-radius:1rem;overflow:hidden;}
.post-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease;}
.post-card:hover .post-media img{transform:scale(1.04);}
.date-badge{position:absolute;top:1rem;right:1rem;background:#b57658;color:#fff;font-weight:700;border-radius:.5rem;padding:.35rem .6rem;line-height:1;text-transform:uppercase;font-size:.75rem;box-shadow:0 4px 10px rgba(0,0,0,.12);}
.post-body{position:relative;margin-top:-1.8rem;background:#fff;border-radius:.75rem;padding:1.25rem 1.25rem 1rem;margin-left:1rem;margin-right:1rem;box-shadow:0 10px 24px rgba(0,0,0,.06);}
.author{position:absolute;left:1rem;top:-1.25rem;width:40px;height:40px;border-radius:50%;border:3px solid #fff;overflow:hidden;box-shadow:0 6px 14px rgba(0,0,0,.15);}
.byline{font-size:.85rem;color:#7a7a7a;padding-left:3rem;margin-bottom:.4rem;}
.post-title{font-size:1.25rem;font-weight:700;color:#2a2a2a;margin:0;min-height: 50px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;}
.post-title a{color:inherit;text-decoration:none;}
.post-title a:hover{text-decoration:underline;}
.post-footer{display:flex;justify-content:space-between;align-items:center;color:#7a7a7a;font-weight:600;font-size:.9rem;padding:0 1.25rem 1.1rem;margin-top:1.2rem;}
.post-footer .more{display:inline-flex;align-items:center;gap:.4rem;text-decoration:none;color:#7a7a7a;}
.post-footer .more:hover{color:#2a2a2a;} .img__slide_in {max-width: 100%; clip-path: inset(100% 0% 0% 0%);}
.pagination {display: flex;align-items: center;justify-content: center;}
.p_link {display: inline-flex;
align-items: center;
justify-content: center;
color: #fff;
text-decoration: none;
width: 30px;
height: 30px;
margin: 0 5px;
border-radius: 50%;
background: #b28496;}
.p_link.inactive    {background: #f2edea;
color: #222;}
.p_link.inactive:hover {color: #fff;background: #b28496;}  .go-top {position:fixed; cursor:pointer; top:0; right:15px; color:#fff; background:#b28496; z-index:99999999; text-align:center; 
border-radius: 50%; width:46px; height:46px; line-height:46px; opacity:0; visibility:hidden; transition:0.9s;}
.go-top.active {top:98%; transform:translateY(-98%); opacity:1; visibility:visible;}
.go-top svg {position:absolute; top:50%; transform:translateY(-50%); left:0; right:0; margin:0 auto; transition:.5s;}
.go-top::before {content:''; position:absolute; top:0; left:0; width:100%; height:100%; z-index:-1; background:#ad6d86; opacity:0; visibility:hidden; transition:.5s;}
.go-top:hover::before, .go-top:focus::before {opacity:1; visibility:visible;border-radius: 50%;}
.footer__shape {
position: absolute;
bottom: -30px;
left: 0;
mix-blend-mode: luminosity;
opacity: 0.03;
z-index: -1;
}
@-webkit-keyframes float-bob-y {
0% {
transform: translateY(-20px);
}
50% {
transform: translateY(-10px);
}
100% {
transform: translateY(-20px);
}
}
@keyframes float-bob-y {
0% {
transform: translateY(-20px);
}
50% {
transform: translateY(-10px);
}
100% {
transform: translateY(-20px);
}
}
.float-bob-y {
-webkit-animation-name: float-bob-y;
animation-name: float-bob-y;
-webkit-animation-duration: 2s;
animation-duration: 2s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
}
footer {position: relative; color: #fff;background: #212529; padding: 90px 0; z-index: 1;overflow: hidden;}
footer a {color:#fff; text-decoration: none;}
ul.footer__menu  {list-style:none; padding-left:0;}
ul.footer__menu a {position: relative;display: inline-block; overflow: hidden;text-decoration: none;}
ul.footer__menu a:hover,footer a:hover {color:#b28496;}
ul.footer__menu a::after {content: '';position: absolute;bottom: 0;left: 0;width: 0%;height: 1px; background-color: #b28496;transition: width 0.3s ease;}
ul.footer__menu a:hover::after {width: 100%;}
.footer__soc_link {display: flex;
flex-direction: column;
gap: 10px; margin-bottom: 30px;}
@media (max-width:1260px) {
.logo {display: none;}
}
@media (max-width:1159px) {
header {justify-content: space-between;}
}
@media (max-width:768px) {
.psy-block__content {display:block;}
.psy-block__image {display: none;}
}