/* =========================================
   RESET & BASE
   ========================================= */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

ul,
ol,
li {
  list-style: none;
}

html,
body {
  height: 100%;
  background: #1e1e1e;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
  scroll-behavior: smooth;
}

h1 {
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 27px;
  text-transform: uppercase;
}

h2 {
  color: #ab0101;
  font-size: 36px;
  font-weight: 700;
  line-height: 51px;
}

h3 {
  color: #ab0101;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
}

p,
.wp-block-preformatted {
  font-size: clamp(16px, 1.5vw, 18px);
}

/* =========================================
   LAYOUT
   ========================================= */
.wrapper {
  background: #ffffff;
  margin: 0 auto;
}

/* =========================================
   HEADER
   ========================================= */
header {
  background: #fff6f6;
}

.header-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  max-width: 100%;
}

.logo-text {
  margin-left: 16px;
}

.header-list {
  display: flex;
  gap: 30px;
}

.header-list li a {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
}

.header-list li a::after {
  content: "";
  position: absolute;
  height: 1px;
  background-color: #ab0101;
  width: 100%;
  left: 0;
  bottom: -5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header-list li a:hover::after {
  transform: scaleX(1);
}

.header-list li a.activ {
  color: #ab0101;
}

.header-list li a:hover {
  color: #ab0101;
}

.header_burger,
.burger_menu {
  display: none;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  padding: 20px 35px;
  display: inline-block;
  background-color: #ab0101;
  border-radius: 60px;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
  border: none;
  font-family: "Montserrat", sans-serif;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #880000;
}

.btn a {
  color: #fff;
}

/* =========================================
   HERO VIDEO
   ========================================= */
#video-text {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-text {
  display: flex;
  position: relative;
}

#myVideo {
  display: block;
  right: 0;
  bottom: 0;
  width: 100%;
  position: relative;
  height: 60vh;
  object-fit: cover;
}

.video-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 53%);
  z-index: 1;
}

.mobile-hero-bg {
    display: none;
}

.content {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 0 20px;
}

.content-top {
  font-size: 23px;
  text-transform: uppercase;
}

.content-bottom {
  text-transform: uppercase;
  margin: 10px 0 60px;
  font-size: 41px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

/* =========================================
   WELCOME
   ========================================= */
/* .welcome-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px;
}

.welcome-title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.welcome-title h2 {
  color: #ab0101;
}

.welcome-title h2::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.welcome-content {
  display: flex;
  gap: 30px;
}

.welcome-text {
  display: flex;
  flex-direction: column;
  width: 70%;
}

.welcome-text p {
  margin-bottom: 10px;
}

.welcome-img {
  display: flex;
}

.welcome-img img {
  max-width: 100%;
  object-fit: cover;
} */


.welcome-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 80px 50px;
}

.welcome-title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.welcome-title h2 {
  color: #ab0101;
}

.welcome-title h2::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.welcome-content {
  overflow: hidden;
}

.welcome-content img {
  /* Настройки для десктопа */
  float: right;
  width: 50%;
  min-width: 350px;
  /* Чтобы не стала слишком мелкой */
  height: auto;
  margin-left: 30px;
  margin-bottom: 10px;
  transition: width 0.3s ease;
}


.welcome-text p {
  margin-bottom: 10px;
  text-align: justify;
}

.welcome-text p:last-child {
  margin-bottom: 0;
}

.welcome-text p a {
    font-size: clamp(14px, 1.5vw, 16px);
    margin-left: 10px;
    color: #ab0101;
}

.welcome-text p a svg {
    width: 20px;
}

.welcome-text-mobile {
  display: none;
}

/* =========================================
   CENTRAL CTA
   ========================================= */
#central {
  background-image: url(../img/topbg.jpg);
  background-attachment: fixed;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  /* height: 70vh; */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.central-wrapper {
  padding: 10vh 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 73%);
  padding: 80px 50px;
}

.central-content {
  max-width: 900px;
  width: 100%;
  margin: 0px auto;
  overflow: hidden;
  text-align: center;
}

.central-content h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #fff;
}

.central-content p {
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto 60px;
  max-width: 600px;
  width: 100%;
}

/* =========================================
   CONSULTATION CARDS
   ========================================= */
.concultation-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px;
  gap: 50px;
}

.concultation-wrapper h2 {
  color: #ab0101;
  text-align: center;
}

.concultation-wrapper h2::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.concultation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.card {
  display: flex;
  align-items: center;
  background-color: transparent;
  width: 100%;
  height: 500px;
  perspective: 1000px;
  transition: transform 0.8s;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card.is-flipped .card-inner {
  transform: rotateX(180deg);
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.front {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image: linear-gradient(180deg, #9d9d9d 0%, #ab0101 100%);
}

.front h3 {
  color: #fff;
  font-size: 27px;
  font-weight: 700;
  max-width: 280px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.front img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  opacity: 0.2;
}

.back {
  background-color: #ab0101;
  color: #fff;
  transform: rotateX(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 10px;
}

.back h4 {
  text-align: center;
  font-size: 27px;
  max-width: 280px;
  line-height: 1.2;
}

.back p {
  line-height: 1.6;
  text-align: center;
}

.back ul {
  color: #fff;
  padding-left: 21px;
  margin-bottom: 20px;
  font-size: 18px;
}

.back ul li {
  list-style: disc;
}

/* =========================================
   REVIEWS
   ========================================= */
#reviews {
  position: relative;
  background-image: url(../img/fon-reviews.jpg);
  background-attachment: fixed;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#reviews::before {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ab0101;
  content: "";
  opacity: 0.5;
}

.reviews-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  /* padding: 40px 50px 76px; */
  padding: 80px 50px;
  gap: 50px;
}

.reviews-wrapper h2 {
  text-align: center;
  color: #fff;
}

.reviews-wrapper h2::after {
  content: "";
  width: 150px;
  background: #ffffff;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.reviews-slider {
  position: relative;
  max-width: 1320px;
  width: 100%;
  margin: auto;
}

.reviews-slider-item {
  display: flex;
  flex-direction: column;
  margin-right: 8px;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  gap: 10px;
}

.reviews-title {
  display: flex;
  flex-direction: column;
}

.reviews-title h4 {
  color: #040404;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}

.reviews-title p {
  color: #040404;
  font-size: 12px;
  text-align: left;
  margin-top: 4px;
  margin-bottom: 2px;
}

.reviews-text p {
  color: #040404;
  font-size: 16px;
  text-align: left;
}

.slick-list {
  overflow: hidden;
}

.slick-track {
  display: flex;
  align-items: flex-start;
}

.reviews-slider .slick-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-top: 24px; */
  bottom: -85px;
}

.reviews-slider .slick-dots li {
  list-style: none;
  margin: 0 10px;
}

.reviews-slider .slick-dots button {
  font-size: 0;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
}

.reviews-slider .slick-dots li.slick-active button {
  width: 14px;
  height: 14px;
}

.reviews-slider .slick-arrow {
  position: absolute;
  z-index: 0;
  font-size: 0;
  width: 17px;
  height: 32px;
  border: none;
}

.reviews-slider .slick-arrow.slick-prev {
  left: 6%;
  top: 90%;
  background: url(../icons/arrow-left.svg) 0 0 / 100% no-repeat;
  cursor: pointer;
}

.reviews-slider .slick-arrow.slick-next {
  right: 6%;
  top: 90%;
  background: url(../icons/arrow-right.svg) 0 0 / 100% no-repeat;
  cursor: pointer;
}

#feedback-reviews {
  margin: 60px auto 0;
}

/* =========================================
   CONTACTS (homepage)
   ========================================= */
.contacts-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 50px;
}

.contacts-wrapper h2 {
  color: #ab0101;
  text-align: center;
}

.contacts-wrapper h2::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 50px;
}

.contacts-blocks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts-blocks h3 {
  color: #ab0101;
  text-align: left;
  margin: 10px 0;
}

.contacts-block {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.contacts-block a {
  display: flex;
}

.contacts-block a span:hover {
  color: #ab0101;
}

.contacts-block a span {
  color: #040404;
  font-size: 20px;
  font-weight: 400;
  margin-left: 15px;
  margin-top: 6px;
}

.contacts-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

iframe {
  max-width: 100%;
}

/* =========================================
   APPOINTMENT FORM (all pages)
   ========================================= */

#appointment {
  background: #fff6f6;
}

.appointment-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 50px;
}

.appointment-wrapper h2 {
  color: #ab0101;
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
}

.appointment-wrapper h2::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.appointment-wrapper .appointment-subtitle {
  text-align: center;
  color: #555;
  font-size: 16px;
  margin-bottom: 40px;
}

.appointment-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(4, 4, 4, 0.05);
  border: 1px solid #f2f2f2;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  outline: none;
  transition: border 0.3s;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: #ab0101;
}

.appointment-form textarea {
  min-height: 100px;
  resize: vertical;
  margin-bottom: 60px;
}

.appointment-form .btn {
  display: inline-block;
  margin: 0 auto;
}

.form-message {
  text-align: center;
  font-size: 16px;
  margin-top: 10px;
  display: none;
}

.form-message.success {
  color: #1a7a1a;
}

.form-message.error {
  color: #ab0101;
}

/* =========================================
   FOOTER
   ========================================= */

footer {
  background: #ab0101;
}

.footer-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrapper h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 12px;
}

.footer-wrapper p {
  color: #fff;
  font-size: 17px;
  line-height: 1.6;
}

.footer-logo {
    display: flex;
    align-items: center;
}
.logo-text-footer {
  margin-left: 16px;
}

.logo-text-footer h3 {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  margin-bottom: 0;
}

.logo-text-footer p {
  color: #9b9b9b;
  font-size: 12px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.bankcard img {
  max-width: 100%;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-list li a,
.footer-right a,
.footer-right-mobile a,
.footer-center-mobile a {
  color: #fff;
  font-size: clamp(14px, 4vw, 17px);
  line-height: 1.6;
  transition: all 0.3s;
}

.footer-list li a:hover,
.footer-right a:hover,
.footer-privacy a:hover {
  color: #9b9b9b;
}

.footer-right,
.footer-center-mobile {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-center-mobile {
  display: none;
}

.footer-right-mobile {
  display: none;
}

.footer-privacy {
    margin-top: 15px;
}

.footer-privacy a {
    color: #fff;
    font-size: 17px;
    line-height: 1.6;
    transition: all 0.3s;
}



/* =========================================
   PRICES PAGE
   ========================================= */

.price-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 50px 60px;
}

.price-wrapper h1 {
  color: #ab0101;
  font-size: 36px;
  text-align: center;
  margin-bottom: 30px;
  text-transform: none;
}

.price-wrapper h1::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.relevant {
    margin: 0 auto 50px;
    display: flex;
    justify-content: center;
    color: #ab0101;
    font-size: 32px;
    text-align: center;
    font-weight: 400;
    font-weight: 500;
}
.prices-group-title {
  color: #ab0101;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ab0101;
}

.price-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #f2f2f2;
  box-shadow: 0 4px 8px rgba(4, 4, 4, 0.05);
  transition: border 0.3s, box-shadow 0.3s;
}

/* .price-item-card:hover {
  border-color: #ab0101;
  box-shadow: 0 6px 12px rgba(171, 1, 1, 0.1);
} */

.price-item-left {
    max-width: 40%;
}
.price-item-left h4 {
  color: #040404;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.price-item-left p {
  color: #9b9b9b;
  font-size: 14px;
}

.price-item-right {
  color: #ab0101;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================================
   USEFUL PAGE
   ========================================= */
.useful-page-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 50px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.useful-page-wrapper h1 {
  color: #ab0101;
  font-size: 36px;
  text-align: center;
  text-transform: none;
}

.useful-page-wrapper h1::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.useful-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.useful-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f2f2f2;
  box-shadow: 0 4px 8px rgba(4, 4, 4, 0.05);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.useful-card:hover {
  box-shadow: 0 8px 20px rgba(171, 1, 1, 0.15);
}

.useful-card-thumb {
  overflow: hidden;
  height: 220px;
}

.useful-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.useful-card:hover .useful-card-thumb img {
  transform: scale(1.05);
}

.useful-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.useful-card-body h3 {
  color: #040404;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.useful-card-body p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.useful-card-body .read-more {
  display: inline-block;
  margin-top: 15px;
  color: #ab0101;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.useful-card-body .read-more:hover {
  text-decoration: underline;
}

.useful-card-video-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: #ab0101;
  color: #fff;
  font-size: 18px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  height: 220px;
  transition: transform 0.4s, background 0.3s;
}

.useful-card:hover .useful-card-video-badge {
  transform: scale(1.05);
  background: #880000;
}


/* =========================================
   SINGLE USEFUL POST
   ========================================= */
.single-useful-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 50px;
}

.single-useful-wrapper h1 {
  color: #040404;
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: none;
}

.single-useful-meta {
  color: #9b9b9b;
  font-size: 14px;
  margin-bottom: 30px;
}

.single-useful-thumb {
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
}

.single-useful-thumb img {
  max-width: 100%;
  height: auto;
}

.single-useful-video {
  display: flex;
  justify-content: center;
  height: 700px;
}

.single-useful-video video {
  width: 100%;
  border-radius: 12px;
}

.single-useful-content {
  color: #333;
  font-size: 17px;
  line-height: 1.8;
}

.single-useful-content p {
  margin-bottom: 16px;
}

.single-useful-content h3 {
    color: #333;
  font-size: 26px;
  margin: 30px 0 20px;
}

.single-useful-content ul {
    margin-bottom: 40px;
}

.single-useful-content ul li {
    list-style: disc;
    margin-left: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  color: #ab0101;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* =========================================
   ABOUT PAGE
   ========================================= */

.about-hero {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 50px 0;
}

.about-content img {
  display: none;
}

.about-hero-img {
  width: 40%;
  border-radius: 12px;
  overflow: hidden;
}

.about-hero-img img {
  width: 100%;
  height: auto;
}

.about-hero-text {
    justify-content: center;
    display: flex;
    flex-direction: column;
  flex: 1;
}

.about-hero-text h1 {
  color: #ab0101;
  font-size: 36px;
  text-transform: none;
  margin-bottom: 50px;
  text-align: center;
}

.about-hero-text h1::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.about-content {
  margin-bottom: 60px;
}

.about-content .wp-block-preformatted {
  font-family: "Montserrat", sans-serif;
  color: #333;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.1;
  margin-bottom: 10px;
}

.about-content .wp-block-preformatted:last-child {
  margin-bottom: 0;
}

/*.about-certs {*/
/*  max-width: 1440px;*/
/*  width: 100%;*/
/*  margin: 0 auto;*/
/*  padding: 80px 50px;*/
/*}*/

/*.about-certs h2 {*/
/*  color: #ab0101;*/
/*  text-align: center;*/
/*}*/

/*.about-certs h2::after {*/
/*  content: "";*/
/*  width: 150px;*/
/*  background: #ab0101;*/
/*  height: 2px;*/
/*  position: relative;*/
/*  display: block;*/
/*  margin: 30px auto 60px;*/
/*}*/

/*.about-certs-grid {*/
/*  display: grid;*/
/*  grid-template-columns: repeat(3, 1fr);*/
/*  gap: 20px;*/
/*}*/

/*.about-certs-grid img {*/
/*  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
/*  object-fit: cover;*/
/*  max-width: 100%;*/
/*}*/

.about-hero-text .btn {
    margin: 0 auto;
}
.admission-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 50px 0;
  display: flex;
  flex-direction: column;
}

.admission-wrapper h2 {
  text-align: center;
}

.admission-wrapper h2::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.admission-blocks {
  display: flex;
  flex-direction: row;
  padding: 0;
  gap: 20px;
  margin-top: 60px;
  justify-content: space-between;
}

.admission-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 0;
  flex: 1;
}

.admission-line_top-mobile,
.admission-line_bootom-mobile {
  display: none;
}

.help-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 50px 0;
  display: flex;
  gap: 70px;
  justify-content: center;
}

.help-img-desctop {
  width: 100%;
  object-fit: contain;
  height: 100%;
}

.help-img-mobile {
  display: none;
}

.help-containt {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
  margin-bottom: 14px;
}

.help-containt h3 {
  color: #ab0101;
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 0em;
  text-align: left;
}

.help-list {
  margin-top: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.help-item {
  display: flex;
  margin-bottom: 16px;
}

.help-item p {
  margin-left: 12px;
  color: #040404;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
}



/* =========================================
   CONTACTS PAGE
   ========================================= */
.contacts-page-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 50px;
}

.contacts-page-wrapper h1 {
  color: #ab0101;
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  text-transform: none;
}

.contacts-page-wrapper h1::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.contacts-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contacts-info h3 {
  color: #ab0101;
  margin-bottom: 20px;
  font-size: 28px;
}

.contacts-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.contacts-info-item img {
  width: 32px;
  flex-shrink: 0;
}

.contacts-info-item a,
.contacts-info-item p {
  color: #333;
  font-size: 22px;
  line-height: 1.5;
  transition: all 0.3s;
}

.contacts-info-item a:hover {
  color: #ab0101;
}

.contacts-map-full iframe {
  width: 100%;
  min-height: 100% !important;
  border-radius: 12px;
}

/*--- 404  ---*/

.error-404-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
}

.error-404-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.error-404-logo img {
  max-width: 200px;
  height: auto;
  margin-bottom: 30px;
}

.error-404-logo h1 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 30px;
}

.page-title {
  font-size: 2.2em;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.error-message {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.error-404-actions {
  margin-bottom: 40px;
}

/* .btn {
  display: inline-block;
  color: #ab0101;
  font-family: Nunito Sans;
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: center;
  border: 2px solid #ab0101;
  border-radius: 12px;
  padding: 15px 36px;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.btn:hover {
  background: #ab0101;
  color: #fff;
} */

.search-form-wrapper {
  max-width: 400px;
  margin: 0 auto;
}

.search-form-wrapper .search-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.search-form-wrapper input[type="search"] {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  flex: 1;
  min-width: 250px;
}

.search-form-wrapper button {
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

/* Cтили для аватара и звёзд в отзывах */

.reviews-avatar {
    border-radius: 50%;
    margin-bottom: 8px;
}
.reviews-stars {
    display: flex;
    gap: 2px;
    margin: 4px 0;
}
.reviews-stars .star {
    font-size: 16px;
}
.reviews-stars .star.filled { color: #f5c518; }
.reviews-stars .star.empty  { color: #ccc; }

/* =========================================
   Політика конфіденційності
   ========================================= */
   .privacy-page-wrapper {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 50px;
}

.privacy-title {
    color: #ab0101;
    font-size: clamp(1.5rem, 4vw, 2rem);
     text-align: center;
    margin-bottom: 50px;
    text-transform: none;
}

.privacy-title::after {
  content: "";
  width: 150px;
  background: #ab0101;
  height: 2px;
  position: relative;
  display: block;
  margin: 30px auto 0;
}

.privacy-content h2 {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin: 30px 0 10px;
    color: #333;
}

.privacy-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

.privacy-content p a {
     font-size: clamp(14px, 3vw, 18px);
}
.privacy-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.privacy-content ul li {
    line-height: 1.8;
    color: #444;
}
   
/*--- Медичний дисклеймер  ---*/

.medical-disclaimer {
    background: #fff8f8;
    border-left: 4px solid #ab0101;
    padding: 15px 20px;
    margin-top: 40px;
    border-radius: 4px;
}

.medical-disclaimer p {
    margin: 0;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}