:root {
  --light-gray: #F0F0F0;
  --text-gray: #AEAEAE;
  --main-green: #60A584;
  --main-purple: #A37897;
  --dark-gray: #2c3e50;
}

.p-cost {
  color: var(--main-purple);
  font-weight: 600;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.fancybox-content {
  border-radius: 10px !important;
  overflow: hidden !important;
  width: 600px !important;
  max-height: 80% !important;
}

.fancybox-iframe {
  border-radius: 10px !important;
}

body {
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid var(--main-green);
}

.header-content {
  display: flex;
  align-items: center;
  position: relative;
  padding: 1rem 0;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  width: 280px;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
}

.header-title {
  margin-left: 45px;
  width: fit-content;
  display: flex;
  flex-direction: column;
}

.header-title span {
  text-transform: uppercase;
  font-weight: bold;
}

.header-title-main {
  color: var(--main-green);
  font-size: 1.6rem;
  text-align: center;

}

.header-title-under-main {
  color: var(--main-purple);
  font-size: 1.3rem;
  text-align: end;
}

.header-under-main {
  color: var(--main-purple);
  text-align: end;
}

.blind-mode {
  background-color: #fff;
  border-radius: 20px;
  padding: 0 20px 0 5px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  text-decoration: none;
  color: var(--main-green);
  font-weight: 600;
}

.blind-mode img {
  height: 30px;
  padding: 5px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: left 0.4s ease;
  padding: 60px 20px 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  margin-bottom: 10px;
}

.mobile-menu ul li a {
  display: block;
  padding: 12px;
  color: #333;
  text-decoration: none;
  border-radius: 8px 8px 8px 0;
  transition: all 0.3s ease;
  font-weight: 500;
}

.mobile-menu ul li a:hover {
  background: var(--main-green);
  color: var(--light-gray);
  padding-left: 20px;
}

.close-menu {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.main-content {
  display: flex;
  flex: 1;
  margin: 20px 0;
  gap: 20px;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.menu {
  background: white;
  border-radius: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid var(--main-green);
  display: flex;
  flex-direction: column;
  max-width: 300px;
}

.menu h3,
.rss-header h3 {
  color: var(--dark-gray);
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--main-green);
  line-height: 1.2;
}

.menu ul {
  list-style: none;
}

.menu ul li {
  margin-bottom: 2px;
}

.menu ul li a {
  display: block;
  color: #555;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s;
}

.menu ul li a:hover {
  background-color: var(--main-green);
  color: white;
  padding-left: 18px;
}

.news-desktop {
  display: flex;
}

.news-mobile {
  display: none
}

.rss-container {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  margin-bottom: 20px;
  border-radius: 20px;
  border: 2px solid var(--main-green);
  flex-direction: column;
  max-height: 480px;
  /* max-height: 400px; */
}

.rss-header {
    flex-shrink: 0;
    margin: 0 10px;
}

.rss-list {
    list-style: none;
    padding-left: 10px;
    overflow-y: auto;
    flex-grow: 1;
    overflow-x: hidden;
}
/* Для Webkit браузеров (Chrome, Safari, Edge) */
.rss-list::-webkit-scrollbar {
    width: 4px;
}

.rss-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.rss-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.rss-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Для Firefox */
.rss-list {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}
.rss-list li {
  background: white;
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 5px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.rsstit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 5px;
    align-content: flex-start;
    justify-content: flex-start;
}

.date {
    font-size: 12px;
    color: #8c8c8c;
}

.tit {
  font-weight: bold;
  font-size: 15px;
  color: var(--main-purple);
}

.rssinfo {
    border-bottom: 1px dashed #999;
    padding-bottom: 10px;
}

.desk {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 14px;
}

.desk img {
  float: none;
  display: block;
  width: 100%;
  max-height: 200px;
  margin: 5px auto 10px auto !important;
  border-radius: 5px;
}

.autor, .cat {
    color: #666;
    font-size: 10px;
    text-align: end;
}

.link {
    color: #fff;
    display: inline-block;
    text-decoration: none;
    background-color: var(--main-green);
    padding: 0 5px;
  border-radius: 50%;
}

.link:hover {
    animation: arrow-pulse 1s ease-in-out infinite;
    background-color: var(--main-purple);
}

@keyframes arrow-pulse {
    0%, 100% {
        padding: 0 5px;
    }
    90% {
        padding: 0 1px 0 9px;
    }
}
.loading {
  text-align: center;
  padding: 20px;
  color: #666;
}

.sv-mode {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.sv-mode span {
  display: flex;
  gap: 10px;
  align-items: center;
}

.low_see {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  border-radius: 20px;
  padding: 5px 10px;
  text-decoration: none;
  color: var(--main-green);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.accessibility-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

#sv_settings {
  top: 100%;
  transform: translateY(-100%);
}

/*#sv_settings.active {*/
/*  display: block;*/
/*}*/

/*.sv_settings {*/
/*  display: grid;*/
/*  grid-template-columns: repeat(2, 1fr);*/
/*  gap: 15px;*/
/*}*/

/*.sv_settings span {*/
/*  display: block;*/
/*  margin-bottom: 8px;*/
/*  font-weight: 500;*/
/*  color: #333;*/
/*  font-size: 14px;*/
/*}*/

/*.low-outer {*/
/*  display: flex;*/
/*  gap: 5px;*/
/*  margin-bottom: 15px;*/
/*}*/

/*.low-outer button {*/
/*  padding: 8px 12px;*/
/*  border: 1px solid #ddd;*/
/*  background: white;*/
/*  border-radius: 5px;*/
/*  cursor: pointer;*/
/*  transition: all 0.3s;*/
/*  font-size: 14px;*/
/*}*/

/*.low-outer button:hover {*/
/*  background: var(--light-gray);*/
/*}*/

/*.fs-n {*/
/*  font-size: 14px !important;*/
/*}*/

/*.fs-m {*/
/*  font-size: 18px !important;*/
/*}*/

/*.fs-l {*/
/*  font-size: 22px !important;*/
/*}*/

/*.ff-n {*/
/*  font-family: 'Arial', sans-serif !important;*/
/*}*/

/*.ff-z {*/
/*  font-family: 'Times New Roman', serif !important;*/
/*}*/

/*.low-outer button.active {*/
/*  background: var(--main-green);*/
/*  color: white;*/
/*  border-color: var(--main-green);*/
/*}*/

/*.sv-title {*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  flex-direction: row;*/
/*}*/

/*.sv-title a {*/
/*  color: var(--dark-gray);*/
/*}*/

.content {
  flex: 1;
  background: white;
  border-radius: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 10px 25px;
}

.content h2 {
  color: var(--dark-gray);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--main-green);
}

.article {
  margin-bottom: 25px;
}

.article h3 {
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.article p {
  margin-bottom: 15px;
  color: #555;
}

.article-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.article ul {
  color: #555;
  padding-left: 20px;
  margin-bottom: 15px;
}

.project-list li a {
  color: var(--main-green);
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
}

.about-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 25px;
}

.about-links a {
  color: var(--main-green);
}

.check-container {
  background: var(--light-gray);
  border-radius: 20px;
  position: relative;
  min-height: 400px;
  font-size: 20px;
  font-weight: 500;
  z-index: 1;
  padding: 2rem 3rem 2.5rem 3rem;
}

.packs-rate {
  display: flex;
  flex-direction: column;
}

.packs-rate div {
  display: flex;
  flex-direction: row;
  text-align: center;
  transition: all .3s ease-in-out;
  justify-content: space-between;
  margin-top: 30px;
  padding: 0 30px;
}

.packs-rate div:last-child{
  align-self: center;
}

.packs-rate a{
  display: flex;
  flex-direction: column;
  transition: all .3s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.packs-rate a span {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--main-purple);
}

.packs-rate a img {
  transition: all .3s ease-in-out;
}

.packs-rate a img:hover {
  transform: translateY(-10px);
  filter: drop-shadow(0 0 10px var(--main-green));
}

.packs-rate img {
  height: 250px;
}

.check-container h2 {
  line-height: 1.2;
  padding-bottom: 2rem;
}

.form-container {
  display: flex;
  flex-direction: column;
  transition: all 0.5s ease-out;
}

.check-website {
  width: 100%;
  padding: 10px 15px;
  margin: 10px 0;
  border: 1px solid #ddd;
  outline: none;
  border-radius: 15px;
  font-size: 17px;
  box-sizing: border-box;
  height: 60px;
}

.error-message-cls {
  height: 0;
  overflow: hidden;
  color: var(--light-gray);
  padding: 0 20px;
  background-color: #FF5252;
  border-radius: 30px;
  font-weight: 400;
  font-size: 0.8em;
  width: max-content;
  margin-top: 0;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  transform-origin: top;
  opacity: 0;
}

.check-buttons-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.form-select {
  width: 100%;
  height: 40px;
  outline: none;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  border: 1px solid #ddd;
  background-color: white;
  color: #333;
  font-size: 17px;
}


.btn {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 20px;
  color: var(--light-gray);
  padding: 5px;
  font-weight: 600;
  border: none;
  gap: 1rem;
  background-color: var(--main-green);
  transition: all .3s ease-in-out;
}

.btn svg {
  width: 30px;
  height: 30px;
  transition: .5s ease-in-out;
}

.btn svg path {
  stroke: var(--main-green);
  transition: all .3s ease-in-out;
}

.btn span {
  padding-right: 20px;
}

.btn:hover {
  background-color: var(--main-purple);
}

.btn:hover svg {
  transform: rotate(360deg);
}

.btn:hover svg path {
  stroke: var(--main-purple);
}

.buttons-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 20px;
  justify-content: center;
}

.main-buttons {
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all .2s ease-in-out;
  background-color: var(--light-gray);
  color: var(--main-green);
  border: 2px solid var(--main-green);
  cursor: pointer;
  text-decoration: none;
}

.main-buttons:hover {
  border-color: var(--main-purple);
  color: var(--main-purple);
  transform: translateY(-3px);
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 250px;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-gray);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--main-green);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.check-manual {
  margin-top: 1rem;
  margin-left: 1rem;
}

.check-manual div {
  margin-bottom: 1rem;
}

.check-manual ol {
  padding-left: 1.5rem;
  font-size: 17px;
}

.read-more {
  display: inline-block;
  color: var(--main-green);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.read-more:hover {
  color: var(--dark-gray);
  text-decoration: underline;
}

footer {
  background: var(--main-green);
  color: white;
  padding: 2rem 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  padding: 0 15px;
}

.footer-section h3 {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.footer-section a {
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.partners {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 20px;
}

.partners-mobile {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
}

.partners-mobile div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.partners-mobile div a {
  width: 200px;
  margin-right: 20px;
}

.partners a {
  display: flex;
  align-items: center;
}

.partners a img {
  width: 130px;
  margin-right: 30px;
}

.partners div h3 {
  font-weight: 600;
  font-size: 1.4rem;
}

.partners div h3 a {
  color: var(--main-green);
  transition: color .2s ease-in-out;
}

.partners div h3 a:hover {
  color: var(--main-purple)
}

.partners div p {
  color: #5c5c5c;
}

@media (max-width: 1170px) {

  .header-title {
    margin: 0 40px;
  }

  .logo {
    display: none;
  }

  .header-content {
    text-align: center;
    padding: 1rem 0;
  }
}

@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    gap: 20px;
  }

  .menu,
  .rss-container {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 15px;
  }

  .container {
    padding: 0 5px;
  }

  .header-content {
    padding: 0.5rem 0;
  }

  .header-title-main {
    font-size: 1rem;
  }

  .header-title-under-main  {
    font-size: 0.8rem;
  }

  .logo {
    display: none;
  }

  .blind-mode {
    padding: 5px 20px 5px 5px;
  }

  .menu {
    display: none;
  }

  .sidebar {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 20px;
    text-align: center;
  }

  .check-container {
    padding: 1rem 1rem 1.5rem 1rem;
  }

  .check-container h2 {
    font-size: 20px;
    padding-bottom: 1rem;
  }

  .btn {
    gap: 0.5rem
  }

  .btn span {
    padding-right: 10px;
  }

  .buttons-container {
    flex-direction: column;
  }

  .partner-projects {
    display: none;
  }

  .packs-rate {
    flex-direction: column;
    width: 100%;
  }

  .packs-rate div {
    flex-direction: column;
  }

  .news-desktop {
    display: none;
  }

  .news-mobile {
    display: flex;
  }

  .partners {
    flex-direction: column;
  }

  .partners a img{
    margin-bottom: 1rem;
  }

  .partners div p {
    padding-left: 20px;
    border-left: 2px solid var(--main-green);
  }

  .sv-title {
    flex-direction: column;
    gap: 20px;
    font-size: 1.4rem;
  }
}

/* ФОРМА РЕГИСТРАЦИИ В МОДАЛКЕ */

.registration-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.step-header {
  background-color: var(--main-green);
  color: white;
  padding: 15px 20px;
  border-radius: 10px 10px 10px 0;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.step-subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

.form-group {
  margin-bottom: 20px;
}

.form-group a {
  color: var(--main-green);
  margin: 10px 0;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--main-green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(96, 165, 132, 0.2);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.radio-option:hover {
  border-color: var(--main-green);
  background-color: rgba(96, 165, 132, 0.05);
}

.radio-option input {
  margin-right: 10px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-check {
  display: flex;
  align-items: flex-start;
}

.form-check input {
  margin-top: 3px;
  margin-right: 10px;
}

.form-check-label {
    line-height: 1.5;
    text-align: left;
    font-size: small;
}

.form-check-label a {
  color: var(--main-green);
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.btn-prev, .btn-next, .btn-submit {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-prev {
  background-color: var(--light-gray);
  color: var(--dark-gray);
}

.btn-prev:hover {
  background-color: #e9ecef;
}

.btn-next, .btn-submit {
  background-color: var(--main-green);
  color: white;
}

.btn-next:hover, .btn-submit:hover {
  background-color: var(--main-purple);
}

.btn-next:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.summary-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.summary-label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 5px;
}

.success-message {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8fff9;
  border-radius: 10px;
  border: 1px solid #e1f5e1;
}

.success-icon {
  font-size: 3rem;
  color: var(--main-green);
  margin-bottom: 20px;
}

.other-specialty {
  margin-top: 10px;
  display: none;
}

.other-specialty.visible {
  display: block;
}

.error-message {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 5px;
  margin-left: 5px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.error-message.visible {
  display: block;
}

.form-error {
  border-color: #d32f2f !important;
}