@import url('https://fonts.googleapis.com/css2?family=Ledger&display=swap');

@font-face {
  font-family: "AA Stetica";
  src: url('../founts/AAStetica-Regular.woff2') format('woff2'),
       url('../founts/AAStetica-Regular.woff') format('woff'),
       url("../founts/AA_Stetica_Regular.otf") format("opentype"),
       url('../founts/AAStetica-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "AA Stetica";
  src: url('../founts/AA_Stetica_Medium_Regular.otf') format("opentype");
  font-style: normal;
  font-weight: 450;
  font-display: swap;
}

@font-face {
  font-family: "AA Stetica";
  src: url('../founts/AA_Stetica_Medium.otf') format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "AA Stetica";
  src: url('../founts/AA_Stetica_Bold.otf') format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Custom CSS Variables */
:root {
    --primary-green: #727967;
    --light-green: #b8bfad;
    --brown: #89503c;
    --light-brown: #c58c78;
    --dark-bg: #1a1715;
    --text-muted: #565351;
    --Global-Black: #000;
    --Global-Brown-Brown-70: #89503C;
    --Global-white: #FFF;
    --Text-Accent: #702C29;
    --Global-Green-Green-30: #E0E7D5;
    --Global-Gray-Gray-20: #ECE9E7;
    --Text-Secondary: #565351;
    --Botton-Active-Enabled: #727967;
    --Global-Brown-Brown-50 : #C58C78;
    --Global-Gray-Gray-30: #CECBC9;
    --Global-Green-Green-60: #727967;
    --Global-Green-Green-80: #363D2B;
    --Global-Gray-Gray-10: #F5F5F5;
    --Global-Green-Green-40: #B8BFAD;
    --Global-Gray-Gray-90: #1A1715;
    --Global-Gray-Gray-50: #928F8D;
    --bs-body-font-family: "AA Stetica", sans-serif;
    --bs-font-sans-serif: "AA Stetica", sans-serif;
    --bs-body-bg: #F5F5F5;
    --bs-card-bg: #F5F5F5;
    --bs-accordion-bg: #F5F5F5;
    --bs-accordion-btn-bg: #F5F5F5;
    --bs-accordion-active-bg: #F5F5F5;
  }
  
  .mt-72 {
    margin-top: 72px;
  }

  .mb-72 {
    margin-bottom: 72px;
  }

  .desktop-hidd {
    display: none !important;
  }

  p {
    word-wrap: break-word;  
    overflow-wrap: break-word;
    word-break: break-word; 
    line-height: 1.5;
    max-width: 100%;
    margin: 0px;
  }

  .lead strong,
  .lead b,
  .event-contact-info-div strong,
  .event-contact-info-div b,
  .artifact-description strong,
  .artifact-description b,
  .accord-text strong,
  .accord-text b,
  .schedule-modal-description strong,
  .schedule-modal-description b {
    font-weight: 700 !important;
  }

  body {
    font-family: "AA Stetica", sans-serif;
    background-color: #F5F5F5;
    --bs-body-font-family: "AA Stetica", sans-serif;    
  }
  
  .section_standart {
    margin: 72px 120px;
    display: flex;
  }

  .display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Ledger', serif;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }

  a.privacy-consent-link {
    text-decoration: underline;
  }

  .btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
  }
  
  .btn-success:hover {
    background-color: #5a6152;
    border-color: #5a6152;
  }
  
  .btn-outline-success {
    color: var(--primary-green);
    border-color: var(--primary-green);
  }
  
  .btn-outline-success:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
  }
  
  .text-success {
    color: var(--primary-green) !important;
  }
  
  .border-success {
    border-color: var(--primary-green) !important;
  }

  .swiper-slide {
    padding: 15px;
  }

  /* Hero Section */
  .hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    height: 973px;
    max-height: calc(100vh - 100px);
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 72px;
    gap: 10px;
    background: var(--Global-Brown-Brown-70, #89503C);
    margin-top: 100px;
  }

  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
  }

  .hero-video--desktop { display: block; }
  .hero-video--mobile  { display: none;  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
  }

  .hero-conteiner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: stretch;
  }
  
  h1.display-5 {
    font-weight: 400;
    font-size: clamp(18px, 1.6vw, 32px);
    line-height: normal;
    color: var(--Global-white, #FFF);
  }

  h2.display-6 {
    font-size: clamp(18px, 1.4vw, 28px);
  }

  /* Bootstrap .h2 используется для цифр в статистике */
  .h2 {
    font-size: clamp(24px, 2vw, 38px);
  }

  .lead ul, .lead ol,
  .event-contact-info-div ul, .event-contact-info-div ol,
  .artifact-description ul, .artifact-description ol,
  .accord-text ul, .accord-text ol,
  .schedule-modal-description ul, .schedule-modal-description ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
  }

  .lead li,
  .event-contact-info-div li,
  .artifact-description li,
  .accord-text li,
  .schedule-modal-description li {
    margin: 0 0 0.3em; 
  }

  .lead li p,
  .event-contact-info-div li p,
  .artifact-description li p,
  .accord-text li p,
  .schedule-modal-description li p {
    margin: 0; 
  }

  /* Логотип в статистике */
  .stat-mobile-sec .img-fluid {
    max-height: clamp(80px, 8vw, 157px) !important;
  }

  /* Statistics Section */
  .py-custom {
    padding-top: 120px;
    padding-bottom: 27px;
    margin-top: 72px;
    margin-bottom: 72px;  
  }

  .card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    flex: 1 0 0;
    align-self: stretch;
    justify-content: space-between;
  }

  .card-text {
    font-family: "AA Stetica";
    font-size: clamp(12px, 0.83vw, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 24px;  
  }

  /* Upcoming Events Section */
  #events {
    min-height: 875px;
    height: auto;
  }

  .text-data {
    color: var(--Text-Accent);
    font-family: "AA Stetica";
    font-size: clamp(18px, 1.25vw, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .card-title {
    color: var(--Global-Black);
    font-family: Ledger;
    font-size: clamp(18px, 1.25vw, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    align-self: stretch;
  }

  .pr-card-text {
    overflow: hidden;
    color: var(--Global-Black);
    text-overflow: ellipsis;
    font-family: "AA Stetica";
    font-size: clamp(11px, 0.73vw, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    height: 65px;
    align-self: stretch;
    display: -webkit-box;       
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;       
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
  }

  .pr-card {
    padding: 32px !important;
    gap: 18px !important;
    border-radius: 12px;
  }

  .online {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--Global-Green-Green-30);
    color: #000;
    font-family: "AA Stetica";
    font-size: clamp(9px, 0.625vw, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 0 !important;
  }

  .btninfo {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    /* gap нельзя: между <a> и ", " появляется лишний отступ перед запятой */
    gap: 0;
    background: var(--Global-Gray-Gray-20);
    color: #000;
    font-family: "AA Stetica";
    font-size: clamp(9px, 0.625vw, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 0 !important;
  }

  .price {
    color: var(--Text-Secondary);
    font-family: "AA Stetica";
    font-size: clamp(12px, 0.83vw, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 22px; 
  }

  .sum {
    line-height: 24px !important;
    color: #000 !important;
    font-family: "AA Stetica";
    font-size: clamp(12px, 0.83vw, 16px);
    font-style: normal;
    font-weight: 400;
  }
 
  .more {
    display: flex;
    height: 44px;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    border: 1px solid var(--Botton-Active-Enabled);
    background: var(--Botton-Active-Enabled);
    color: #FFF;
    font-family: "AA Stetica";
    font-size: clamp(12px, 0.83vw, 16px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .more:hover {
    background: var(--Global-Brown-Brown-50);
    color: #FFF;
  }

  #prevBtn, #prevBtn1, #nextBtn, #prevBtnPr, #prevBtnPr1, #nextBtnPr {
    display: flex;
    height: 44px;
    width: 48px;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    border: 1px solid var(--Botton-Active-Enabled);
    background-color: #F5F5F5;
    margin: 11px;
    background: transparent;
    flex-shrink: 0;
  }

  #prevBtn:hover svg,
  #prevBtn1:hover svg,
  #nextBtn:hover svg,
  #prevBtnPr:hover svg,
  #prevBtnPr1:hover svg,
  #nextBtnPr:hover svg {
    fill: var(--Global-Brown-Brown-50);
  }

  #prevBtn:hover,
  #prevBtn1:hover,
  #nextBtn:hover,
  #prevBtnPr:hover,
  #prevBtnPr1:hover,
  #nextBtnPr:hover {
    border: 1px solid var(--Global-Brown-Brown-50);
  }

  #prevBtn svg,
  #prevBtn1 svg, 
  #nextBtn svg,
  #prevBtnPr svg,
  #prevBtnPr1 svg,
  #nextBtnPr svg {
    fill: var(--Botton-Active-Enabled);
  }

  .events-mobile-Hprbtn {
    opacity: 0 !important;
    display: none !important;
  }

  .section-swapper {
    display: flex;
    justify-content: center;
    align-content: center;
  }

  .container-swapper {
    justify-content: center;
    align-content: center;
    width: 85%;
    margin-bottom: 72px;
  }

  .div-swapper {
    display: flex;
    align-items: center;
  }

  .btn-more {
    height: 44px;
    padding: 12px;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: #F5F5F5;
    gap: 4px;
    border-bottom: 1px solid var(--Botton-Active-Enabled);
    color: var(--Botton-Active-Enabled);
    font-family: "AA Stetica";
    font-size: clamp(12px, 0.83vw, 16px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .btn-more:hover {
    color: var(--Global-Brown-Brown-50);
    border-bottom: 1px solid var(--Global-Brown-Brown-50);
  }

  /* Swiper Events */
  .mySwiper {
    flex: 1;
    min-width: 0;
    height: 530px;
    overflow: hidden;
  }

  .mySwiper .swiper-wrapper {
    align-items: stretch;
  }

  .mySwiper .swiper-slide {
    height: 100%;
  }

  .mySwiper .swiper-slide .pr-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Method Section */
  .method-cont {
    display: flex;
    width: 100%;
    align-items: center;
    gap: var(--padding-padding-11, 18px);
    align-self: stretch;
    background-color: #F5F5F5;
    justify-content: center;
  }

  .method-img {
    width: 735px;
    height: 728px;
    flex-shrink: 0;
    aspect-ratio: 105/104;
  }

  .method-div {
    width: 50% !important;
    padding: 30px;  
  }

  .text-method {
    color: var(--Global-Black);
    text-align: center;
    align-self: stretch;
    font-family: Ledger;
    font-size: clamp(22px, 1.67vw, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .method-mob-img{
    display: none !important;
  }

  .method-desc-img {
    display: flex !important;
    justify-content: center;
  }

  /* Practices Section */
  .pr-card-video-conteiner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    flex: 1 0 0;
    width: 100%;
    overflow: hidden;
  }

  .practice-video-card {
    display: flex;
    gap: 10px;
    align-self: stretch;
    border-radius: 12px;
    background: #ece8e1;
    box-shadow: 0 4px 11.8px 0 var(--Global-Gray-Gray-30);
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    min-height: 420px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .practiceBtn {
    display: flex;
    width: 99%;
    height: 44px;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid var(--Botton-Active-Enabled);
    color: var(--Botton-Active-Enabled);
    font-family: "AA Stetica";
    font-size: clamp(12px, 0.83vw, 16px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    background: transparent !important;
    text-decoration: none;
  }

  .practiceBtn:hover {
    border: 1px solid var(--Global-Brown-Brown-50);
    color: var(--Global-Brown-Brown-50);
  }

  .practice-video-card video,
  .practice-video-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: #d8d2c6;
  }

  .practice-video-card .video-poster {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #e9ecef 0%, #764ba200 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 2;
  }

  .practice-video-card .video-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    display: none;
  }

  .practice-video-card .video-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
    display: none;
  }

  .practice-video-card.playing:not(.is-loading) .video-poster {
    opacity: 0;
    pointer-events: none;
  }

  .practice-video-card .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0.92;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 3;
  }

  .practice-video-card:has(video) .play-overlay {
    display: flex;
  }

  .practice-video-card.is-loading .play-overlay,
  .practice-video-card.playing .play-overlay {
    opacity: 0;
  }

  .play-icon {
    width: 28px;
    height: 28px;
    fill: #333;
    margin-left: 3px;
  }

  .loading-indicator {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.18);
  }

  .practice-video-card.is-loading .loading-indicator {
    display: block;
  }

  @keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }

  .video-loaded .video-poster {
    opacity: 0.8;
  }

  .video-loaded.playing:not(.is-loading) .video-poster {
    opacity: 0;
    pointer-events: none;
  }

  /* Fancybox */
  .fancybox-bg {
    background: rgba(0, 0, 0, 0.95);
  }

  .fancybox-content {
    border-radius: 8px;
    overflow: hidden;
  }

  .fancybox-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    text-align: center;
  }

  .fancybox-caption h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
  }

  .fancybox-caption p {
    font-size: 1rem;
    opacity: 0.9;
  }

  /* Benefits Section */
  .benefits-sec {
    display: flex;
    align-content: center;
    height: auto;
    justify-content: center;
    margin-bottom: 72px;
  }

  .main-container-benefits {
    width: 95%;
    align-content: center;
    justify-content: center;
    display: flex;
  }

  .photo-container-left {
    width: min(633px, 33vw);
    height: min(781px, 40.7vw);
    flex-grow: 0;
    aspect-ratio: 47/58;
    border-radius: 0 28px 28px 0;
    overflow: hidden;
    transform: translateX(-100px);
  }

  .photo-container-left picture,
  .photo-container-left img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .container-info {
    display: flex;
    padding: 32px 0;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    gap: var(--padding-padding-7, 44px);
    align-items: center;
  }

  .sub-container-info {
    display: flex;
    width: 100%;
    padding: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--padding-padding-6, 32px);
  }

  .info-block {
    display: flex;
    height: 160px;
    padding: 56px 36px;
    align-items: center;
    gap: 36px;
    align-self: stretch;
    border-radius: 12px;
    border: 4px solid var(--Global-Green-Green-60);
    color: var(--Global-Green-Green-60, #727967);
    text-align: center;
    font-family: "AA Stetica";
    font-size: clamp(18px, 1.25vw, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    justify-content: center;
  }

  .info-block-noBr {
    display: flex;
    padding: 56px 28px;
    align-items: center;
    gap: var(--padding-padding-11, 18px);
    align-self: stretch;
    border-radius: 12px;
    align-content: center;
    justify-content: center;
  }

  .info-block-noBr-sub {
    color: var(--Global-Green-Green-80);
    text-align: center;
    font-family: Ledger;
    font-size: clamp(22px, 1.67vw, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    justify-content: center;
    align-content: center;
    display: flex;
    gap: 11px;
  }

  .info-block-noBr-sub-m {
    display: none;
  }

  .btnwrt {
    display: flex;
    height: 56px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;
    border-radius: 4px;
    border: 1px solid var(--Botton-Active-Enabled);
    background: var(--Botton-Active-Enabled);
    color: #FFF;
    font-family: "AA Stetica";
    font-size: clamp(18px, 1.25vw, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
  }

  .btnwrt:hover {
    border: 1px solid var(--Global-Brown-Brown-50);
    background: var(--Global-Brown-Brown-50);
    color: #FFF;
    text-decoration: none;
  }

  /* Features Section */
  .main-container {
    width: 85%;
    align-content: center;
    justify-content: center;
    display: flex;
  }

  .features-sec {
    display: flex;
    align-content: center;
    height: auto;
    min-height: 600px;
    justify-content: center;
    margin-bottom: 72px;
  }

  .photo-container-r {
    width: min(650px, 34vw);
    height: min(807px, 42vw);
    aspect-ratio: 54/67;
    border-radius: 28px 0 0 28px;
    background: url(../images/features-photo.jpg) center/cover no-repeat;
    transform: translateX(150px);
    flex-grow: 0;
  }

  .container-info-features {
    width: 861px;
    padding: 73px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 10px;
    flex-grow: 1;
  }

  .features-card {
    display: flex;
    gap: 40px;
    flex: 1 0 0;
    align-self: stretch;
    align-content: center;
    flex-direction: column;
    font-family: "AA Stetica";
    text-align: center;
  }

  .features-header {
    color: var(--Global-Black);
    font-family: "AA Stetica";
    font-size: clamp(18px, 1.25vw, 24px);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .text-features {
    color: var(--Text-Secondary);
    font-family: "AA Stetica";
    font-size: clamp(12px, 0.83vw, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }

  /* Pricing Section */
  .pricing-sec {
    display: flex;
    height: auto;
    min-height: 600px;
    padding: 72px 0;
    justify-content: center;
    gap: 72px;
    align-self: stretch;
  }

  .main-container-pricing {
    width: 85%;
    align-content: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .pricing-card-container {
    display: flex;
    align-content: center;
    justify-content: center;
    gap: 18px;
    align-self: stretch;
  }

  .pricing-card {
    width: 480px;
    height: 510px;
    aspect-ratio: 29/31;
    display: flex;
    flex-direction: column;
    color: #FFF;
    text-align: center;
    font-family: "AA Stetica";
    font-size: clamp(24px, 1.875vw, 36px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 70px;
    gap: 10px;
  }

  .test-card {
    background: url(../images/test.png) rgba(211, 211, 211, 0) 50% / cover no-repeat;
    justify-content: end;
  }

  .new-card {
    background: url(../images/new.png) rgba(211, 211, 211, 0) 50% / cover no-repeat;
    justify-content: start;
  }

  .nineex-card {
    background: url(../images/8ex.png) rgba(211, 211, 211, 0) 50% / cover no-repeat;
    justify-content: end;
  }

  /* Gallery Section */
  .gallery-sec {
    display: flex;
    height: 1051px;
    justify-content: flex-end;
    background: url(../images/chom-bg.jpg) lightgray 50% / cover no-repeat;
  }

  .main-container-gal {
    width: 45%;
    margin: 72px;
    align-content: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    padding-right: 70px;
  }

  .container-chom {
    display: flex;
    height: 578px;
    align-items: center;
    gap: 18px;
    color: var(--Global-white);
    font-family: "AA Stetica";
    font-size: clamp(18px, 1.25vw, 24px);
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
  }

  .container-chom-bot {
    color: var(--Global-white);
    font-family: Ledger;
    font-size: clamp(22px, 1.67vw, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .border-chom {
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    padding: 10px;
  }

  .chom-header {
    padding-left: 10px;
  }

  /* Reviews Section */
  .reviews-section {
    display: flex;
    padding-top: 72px;
    align-items: flex-start;
    gap: 72px;
    align-self: stretch;
    justify-content: center;
    margin: 72px;
  }

  .container-reviews {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    width: 85%;
  }
  
  .reviews-cards-cont {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .reviews-card-body {
    display: flex;
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: none;
    align-self: stretch;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: min-content;
    box-sizing: border-box;
    overflow: visible;
    border-radius: 12px;
    box-shadow: 0 4px 20.9px 0 var(--Global-Gray-Gray-30);
  }


  .reviews-card-body .stars {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    align-items: center;
    flex-wrap: nowrap;
  }

  .reviews-card-body .stars .star {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0;
  }

  .reviews-text {
    color: var(--Text-primary);
    font-family: "AA Stetica";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
  }

  .user {
    color: var(--Text-Secondary);
    font-family: "AA Stetica";
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 600;
    line-height: normal;
  }

  .rdate {
    overflow: hidden;
    color: var(--Text-Secondary);
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 22px;
    text-transform: uppercase;
  }

  .reviews-card-body .cardTop {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
    height: auto;
  }

  .reviews-card-body .cardBott {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
    flex-shrink: 0;
    height: auto;
  }

  .reviews-card-body .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
  }

  .reviews-card-body .meta-tag {
    background: #f1f5f9;
    color: black;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    font-family: "AA Stetica";
  }

  .reviews-card-body .meta-tag.city { background: #ECE9E7; }
  .reviews-card-body .meta-tag.practice { background: #E0E7D5; }
  .reviews-card-body .meta-tag.source { background: #F6E2DB; }

  .reviews-card-body a.meta-tag.source {
    text-decoration: none;
    color: black;
    cursor: pointer;
  }

  .reviews-card-body a.meta-tag.source:hover {
    text-decoration: underline;
  }

  .reviews-card-body .reviews-text {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .reviews-card-body .review-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .reviews-card-body .review-gallery a {
    display: block;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
  }

  .reviews-card-body .gallery-thumbnail {
    width: 100% !important;
    height: 100% !important;
    max-width: 80px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }

  /* Photo section */
  .swip-photo-conteiner {
    display: flex;
    height: 295px;
    border-radius: 18px;
    background: var(--Global-Brown-Brown-50);
    width: fit-content;
  }

  .photo-section {
    display: flex;
    align-content: center;
    justify-content: center;
  }

  .gallery-cont {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 85%;
  }

  #mySwiperPhoto {
    height: 500px;
  }

  .swiper-pagination {
    position: relative !important; 
    margin-top: 10px !important;
    text-align: center;
    z-index: 1001 !important;
  }

  .swiper-button-next, .swiper-button-prev {
    display: none !important;
  }

  .mySwiperPhotoM .swiper-wrapper {
    gap: 0 !important;
  }

  .mySwiperPhotoM .swiper-slide {
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    width: auto !important;
  }

  .mySwiperPhotoM .swiper-slide img {
    display: block;
    margin: 0;
    padding: 0;
    width: auto;
  }

  .mySwiperPhotoM .swip-photo-conteiner {
    width: 100% !important;
    height: 100% !important;
    object-fit: scale-down !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    vertical-align: top !important;
    line-height: 0;
    font-size: 0;
  }

  .mySwiperPhotoM {
    height: 300px;
    overflow: hidden;
  }

  .mySwiperPhotoM .swip-photo-conteiner {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover; 
  }

  /* FAQ section */
  .faq-section {
    display: flex;
    padding: 72px 0;
    align-self: stretch;
    justify-content: center;
    align-content: center;
  }

  .faq-container {
    padding: 72px 0;
    width: 85%;
    gap: 72px;
  }

  .telegramm {
    font-weight: 500 !important;
    width: 300px;
  }
  
  /* Registration Form */
  .registration-sector {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-content: center;
    background: var(--Global-Gray-Gray-90);
    padding-bottom: 72px;
  }

  .registration-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-content: center;
    padding-left: 72px;
  }

  .registration-photo {
    background: url(../images/Алхим.png) no-repeat;
    border-radius: 0%;
    width: 611px;
    height: 910px;
  }

  .registration-card-body {
    background: #F5F5F5;
    margin: 72px;
    display: flex;
    width: 961px;
    min-height: 685px;
    height: auto;
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 19px;
  }

  .registration-card-head {
    color: #000;
    font-family: Ledger;
    font-size: clamp(22px, 1.67vw, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 44px;
  }

  .input-block {
    display: flex;
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
  }

  .input-container {
    display: flex;
    height: 56px;
    padding: 10px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 6px;
    border: 1px solid var(--Global-Gray-Gray-50);
    background: var(--Global-Gray-Gray-10);
    margin-bottom: 24px;
  }

  .input-header {
    color: #000;
    font-family: "AA Stetica";
    font-size: clamp(18px, 1.25vw, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
  }

  .checkbox-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 8px;
    padding: 0;
    border-radius: 8px;
  }

  .checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #727967;
    flex-shrink: 0;
  }

  .checkbox-label {
    font-size: 14px;
    color: #5A6C7D;
    line-height: 1.5;
  }

  .checkbox-label a {
    color: #727967;
    text-decoration: underline;
    font-weight: 600;
  }

  .checkbox-container .error-message {
    display: none;
    flex-basis: 100%;
    margin-top: 0;
    margin-left: 30px;
    color: #dc3545;
    font-size: 12px;
  }

  .checkbox-container .error-message.show {
    display: block;
  }
  
  .reg {
    display: flex;
    height: 56px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    border: 1px solid var(--Botton-Active-Enabled, #727967);
    background: var(--Botton-Active-Enabled, #727967);
    font-size: clamp(18px, 1.25vw, 24px);
  }

  /* Scroll reveal (AOS-like, IntersectionObserver — reliable with overflow-x) */
  [data-reveal] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
  }

  [data-reveal="fade-up"] {
    transform: translate3d(0, 28px, 0);
  }

  [data-reveal="fade-left"] {
    transform: translate3d(40px, 0, 0);
  }

  [data-reveal="fade-right"] {
    transform: translate3d(-40px, 0, 0);
  }

  [data-reveal="fade"] {
    transform: none;
  }

  [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }

  /* Keep layout offsets on side photos after reveal */
  .photo-container-left[data-reveal="fade-right"] {
    transform: translate3d(-140px, 0, 0);
  }

  .photo-container-left[data-reveal].is-revealed {
    transform: translateX(-100px);
  }

  .photo-container-r[data-reveal="fade-left"] {
    transform: translate3d(190px, 0, 0);
  }

  .photo-container-r[data-reveal].is-revealed {
    transform: translateX(150px);
  }

  @media (max-width: 1023px), (prefers-reduced-motion: reduce) {
    [data-reveal] {
      opacity: 1 !important;
      transition: none !important;
    }

    [data-reveal]:not(.photo-container-left):not(.photo-container-r) {
      transform: none !important;
    }
  }

  /* Animation Classes */
  .fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  .fade-in.show {
    opacity: 1;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Card Hover Effects */
  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .practice-card {
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  
  .practice-card:hover {
    transform: scale(1.05);
  }
  
  .shadow-sm {
    box-shadow: 0 2px 10px rgba(206, 203, 201, 0.3) !important;
  }
  
  /* Accordion */
  .accordion-button {
    background-color: transparent;
    border: 1px solid var(--Global-Green-Green-40);
    color: var(--Text-primary);
    font-family: Ledger;
    font-size: clamp(18px, 1.25vw, 24px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 36px;
    max-width: 100%; 
  }
  
  .accordion-button:not(.collapsed) {
    color: #333;
    background-color: #F5F5F5;
  }
  
  .accordion-item {
    border: 1px solid var(--Global-Green-Green-40);
    margin: -1px;
  }

  .accordion-item:last-child {
    border-radius: 0 0 6px 6px; 
  }

  .accordion-button::after {
    background-image: url("../icons/plus.svg");
    background-size: 36px;
    width: 36px;
    height: 36px;
  }

  .accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid var(--Global-Green-Green-40);
    border-bottom: 0px !important;
    border-right: 0px;
    border-left: 0px;
  }

  .accordion-button:not(.collapsed)::after {
    background-image: url("../icons/minus.svg");
    width: 36px;
    height: 36px;
  }

  .accordion {
    display: flex;
    flex-direction: column;
    padding: 24px;
  }

  .accord-text {
    max-width: 100%; 
    word-wrap: break-word;
    word-break: break-word;
  }

  .nextBtnP, .prevBtnP {
    background-image: none;
    width: auto;
  }

  .accordion-collapse {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 25px;
    gap: 10px;
    align-self: stretch;
    max-width: 100%; 
    color: #000;
    font-family: "AA Stetica";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
    overflow-wrap: break-word;
  }

  .accordion-content {
    max-width: 100%;     
    overflow-wrap: break-word;
  }

  .accordion .accordion-body {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .accordion .accordion-collapse.show .accordion-body {
    opacity: 1;
  }

  /* Form Styles */
  .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(114, 121, 103, 0.25);
  }

  /* стили от бека */

    
  .event-master-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .event-master-link:hover {
    color: #727967;
  }

  .event-title-link {
    color: inherit;
    text-decoration: none;
  }

  .card-title .event-title-link,
  .event-title .event-title-link {
    display: block;
  }

  .event-title-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .card-info-grid .event-master-link {
    text-transform: none;
  }

  .offline {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #F6E2DB;
    color: #000;
    font-family: "AA Stetica";
    font-size: clamp(9px, 0.625vw, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 0 !important;
  }  


  .lead figure.table,
  .event-contact-info-div figure.table,
  .artifact-description figure.table,
  .accord-text figure.table,
  .schedule-modal-description figure.table {
    margin: 1.2em 0;
    max-width: 100%;
    overflow-x: auto;
  }

  /* Десктоп: таблица по ширине контента, а не растянута на весь блок */
  .lead figure.table table,
  .event-contact-info-div figure.table table,
  .artifact-description figure.table table,
  .accord-text figure.table table,
  .schedule-modal-description figure.table table,
  .lead table,
  .event-contact-info-div table,
  .artifact-description table,
  .accord-text table,
  .schedule-modal-description table {
    border-collapse: collapse;
    width: auto;
    max-width: 100%;
    font-family: "AA Stetica", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #4a4a4a;
  }

  .lead table th,
  .lead table td,
  .event-contact-info-div table th,
  .event-contact-info-div table td,
  .artifact-description table th,
  .artifact-description table td,
  .accord-text table th,
  .accord-text table td,
  .schedule-modal-description table th,
  .schedule-modal-description table td {
    border: 1px solid #D6D6D6;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
    font-weight: 400;
  }

  .lead table th,
  .event-contact-info-div table th,
  .artifact-description table th,
  .accord-text table th,
  .schedule-modal-description table th {
    font-style: italic;
  }

  .lead table caption,
  .event-contact-info-div table caption,
  .artifact-description table caption,
  .accord-text table caption,
  .schedule-modal-description table caption {
    caption-side: bottom;
    padding: 8px 0 0;
    font-size: 13px;
    color: #909785;
    text-align: left;
  }

  .lead tbody,
  .event-contact-info-div tbody,
  .artifact-description tbody,
  .accord-text tbody,
  .schedule-modal-description tbody {
    width: auto !important;
  }


  .lead a,
  .event-contact-info-div a,
  .artifact-description a,
  .accord-text a,
  .schedule-modal-description a {
    color: #727967;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .lead a:hover,
  .event-contact-info-div a:hover,
  .artifact-description a:hover,
  .accord-text a:hover,
  .schedule-modal-description a:hover {
    color: #4D1400;
  }

  @media (min-width: 1024px) {
    /* overflow-x:hidden on html/body breaks AOS scroll detection — clip avoids that */
    html, body {
      overflow-x: clip;
    }

    .photo-container-left.aos-animate {
      transform: translateX(-100px);  
    }

    [data-aos="fade-right-custom"] {
      opacity: 0;
      transform: translateX(-80px); 
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    [data-aos="fade-right-custom"].aos-animate {
      opacity: 1;
      transform: translateX(-100px) !important; 
    }

    [data-aos="fade-left-custom"] {
      opacity: 0;
      transform: translateX(80px); 
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    [data-aos="fade-left-custom"].aos-animate {
      opacity: 1;
      transform: translateX(150px) !important; 
    }
  }

  /* Responsive Adjustments */
  @media (max-width: 767px) {
    .section_standart {
      margin: 72px 40px;
    }

    .phone-hidd {
      display: none;
    }

    .hero-section {
      height: 100svh;
    }

    .hero-video--desktop { display: none !important; }
    .hero-video--mobile  { display: block !important; }

    .desktop-hidd {
      display: flex !important;
    }

    .body {
      display: flex;
      width: var(--Lauout-frame-Mobile-W, 412px);
      min-width: var(--Lauout-frame-Mobile-W-min, 375px);
      max-width: var(--Lauout-frame-Mobile-W-max, 940px);
      padding: 0 var(--Lauout-frame-Tablet-Padding, 40px);
      flex-direction: column;
      align-items: flex-start;
      gap: var(--padding-padding-9, 72px);
    }

    .hero-mobile {
      display: flex;
      flex-direction: column-reverse;
      padding: 0 20px;
    }

    .hero-mobile-btns {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .hero-mobile-sbtn {
      margin-right: 0px !important;
    }

    .hero-mobile-btn{
      margin-right: 0px !important;
    }

    .hero-header-mobile {
      font-size: 28px !important;
      text-align: start !important;
    }
    
    .stat-mobile-sec {
      margin-top: 0px;
    }

    .stat-mobile-cards {
      gap: 11px;
    }

    .events-mobile-Hprbtn {
      opacity: 1 !important;
      display: flex !important;
    }

    .mySwiper {
      width: 100%;
      flex: none;
      height: 530px;
    }

    .div-swapper {
      flex-direction: column;
    }

    .event-mobile-div {
      display: flex;
      align-items: center;
      flex-direction: column;
    }

    #events {
      margin-top: 144px;
      margin-bottom: 72px;
    }

    .event-hed-mobile {
      margin-bottom: 10px !important;
    }

    .event-mbtns {
      display: flex;
      width: 100%;
    }

    #prevBtn1, #nextBtn {
      width: 45%;
    }

    .pr-btn-hmoobile {
      opacity: 0;
      display: none;
    }

    .method-mob-img {
      display: flex !important;
      margin: 0px !important;
      justify-content: center;
    }

    .method-desc-img {
      display: none !important;
    }

    .method-text-mob {
      padding: 20px;
    }
  
    .method-img {
      height: 320px;
      width: 323px;
    }

    .text-method {
      margin-bottom: 20px !important;
    }
    
    .method-cont {
      height: 600px;
      justify-content: center;
    }

    .method-cont-sub {
      padding-left: 0%;
    }

    .method-div {
      width: 100% !important;
      padding: 0px;
    }

    .section-swapper {
      margin-top: 72px;
    }

    .mySwiperPr {
      width: 100%;
    }

    #prevBtnPr1, #nextBtnPr {
      width: 46%;
    }

    #prevBtnPr1 {
      margin-left: 0px !important;
    }
    
    #nextBtnPr {
      margin-right: 0px !important;
    }

    .photo-container-left {
      display: none !important;
    }

    .container-info {
      width: 85%;
    }

    .sub-container-info {
      width: 100%;
    }

    .info-block-noBr {
      padding: 0px;
    }

    .info-block-noBr-sub {
      flex-direction: column;
    }

    .info-block {
      height: 255px !important;
    }

    .info-block-noBr-sub-m {
      display: none;
    }

    .benefits-sec {
      margin-bottom: 0px;
    }

    .photo-container-r {
      display: none;
    }

    .container-info-features {
      flex-direction: column;
      display: flex;
      gap: 38px;
      margin-top: 72px;
      margin-bottom: 72px;
    }

    .features-card {
      gap: 20px;
    }

    .main-container-pricing {
      margin-top: 72px;
    }

    .pricing-card-container {
      flex-direction: column;
    }
    
    .pricing-sec {
      height: auto;
      margin-top: 144px;
    }

    .pricing-card {
      width: auto;
      border-radius: 12px;
      overflow: hidden;
    }

    .test-card {
      background: url(../images/test_mob.png) rgba(211, 211, 211, 0) 50% / cover no-repeat;
      justify-content: end;
    }
  
    .new-card {
      background: url(../images/new_mob.png) rgba(211, 211, 211, 0) 50% / cover no-repeat;
      justify-content: start;
    }
  
    .nineex-card {
      background: url(../images/8ex_mob.png) rgba(211, 211, 211, 0) 50% / cover no-repeat;
      justify-content: end;
    }

    .gallery-sec {
      overflow: hidden;
      background-position-x: -480px;
      height: auto;
    }

    .main-container-gal {
      padding: 0px;
      width: 90%;
    }

    .container-chom {
      align-items: flex-start;
    }

    .mobile-hidd {
      display: none;
    }

    .reviews-cards-cont {
      display: flex;
      flex-direction: column;
    }

    .reviews-card-body {
      flex: none;
      height: auto;
      min-height: min-content;
      overflow: visible;
    }

    .reviews-section {
      margin: 72px 0px;
      margin-bottom: 0px;
    }

    .accordion {
      padding: 0%;
    }

    .registration-sector {
      justify-content: center;
      align-content: center;
    }

    .registration-container {
      padding: 20px;
      width: auto;
    }

    .registration-card-body {
      height: auto;
      width: auto;
      flex-shrink: 1;
      margin: 0%;
    }

    .display-5 {
      font-size: 2rem;
    }
    
    .display-6 {
      font-size: 1.5rem;
    }
    
    .practice-card {
      height: 200px !important;
    }

    .pr-btn-hmoobile {
      display: none;
    }
    
    .event-mbtns {
      display: flex;
    }
    
    .video-status {
      font-size: 12px;
    }
    
    .video-title {
      font-size: 16px;
    }
    
    .video-poster::after {
      content: "Коснитесь для просмотра";
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 12px;
      opacity: 0.7;
      text-align: center;
    }
    
    .accordion-button {
      font-size: 18px;
    }  

    .registration-card-head {
      font-size: 26px;
    }

    .fancybox-slide--image .fancybox-content {
      width: 100% !important;
      height: auto !important;
      max-width: 100% !important;
      margin: 0 !important;
      display: contents !important;
    }

    .fancybox-image {
      object-fit: contain;
    }

    .fancybox-slide--video {
      align-items: center;
      justify-content: center;
      padding: 44px 12px;
    }

    .fancybox-slide--video.fancybox-slide--current,
    .fancybox-slide--video.fancybox-slide--next,
    .fancybox-slide--video.fancybox-slide--previous {
      display: flex !important;
    }

    .fancybox-slide--video::before {
      display: none;
    }

    .fancybox-slide--video .fancybox-content {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      max-height: calc(100vh - 120px) !important;
      margin: 0 auto !important;
      background: #000;
    }

    .fancybox-slide--video .fancybox-video,
    .fancybox-slide--video video {
      display: block;
      width: 100% !important;
      height: auto !important;
      max-height: calc(100vh - 120px);
      object-fit: contain;
    }

    .links-btn-div {
      flex-direction: column;
    }

    .telegramm {
      width: 100% !important;
    }

    /* Мобилка: игнорируем инлайновые px-ширины из CKEditor (figure/table/td/th),
       таблица сжимается по ширине контейнера, при необходимости — горизонтальный скролл */
    .lead figure.table,
    .event-contact-info-div figure.table,
    .artifact-description figure.table,
    .accord-text figure.table,
    .schedule-modal-description figure.table {
      -webkit-overflow-scrolling: touch;
      width: 100% !important;
      max-width: 100% !important;
    }

    .lead table,
    .event-contact-info-div table,
    .artifact-description table,
    .accord-text table,
    .schedule-modal-description table {
      width: 100% !important;
      max-width: 100% !important;
      table-layout: auto;
    }

    .lead table th,
    .lead table td,
    .event-contact-info-div table th,
    .event-contact-info-div table td,
    .artifact-description table th,
    .artifact-description table td,
    .accord-text table th,
    .accord-text table td,
    .schedule-modal-description table th,
    .schedule-modal-description table td {
      width: auto !important;
      max-width: 100% !important;
      padding: 8px 10px;
      font-size: 14px;
    }    

  }

  @media (min-width: 768px) and (max-width: 1200px) {
    .hero-section {
      height: 600px;
    }

    .section_standart {
      margin: 72px 40px;
    }

    .hero-mobile-btns {
      display: flex;
      justify-content: center;
    }

    .hero-mobile-sbtn {
      width: 45%;
    }

    .hero-mobile-btn {
      width: 45%;
    }

    .hero-header-mobile {
      font-size: 28px !important;
    }
    
    .stat-mobile-sec {
      margin-top: 0px;
    }

    .stat-mobile-cards {
      gap: 11px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, auto);   
    }
      
    .stat-mobile-cards-cont {
      width: 100%;
    }

    .method-mob-img {
      display: flex !important;
      margin: 0px !important;
      justify-content: center;
    }

    .method-desc-img {
      display: none !important;
    }

    .method-img {
      height: 320px;
      width: 323px;
    }
    
    .method-cont {
      margin: -72px;
    }

    .method-cont-sub {
      padding-left: 0%;
    }

    .text-method {
      margin-bottom: 20px !important;
    }
    
    .method-cont {
      height: 600px;
    }

    .method-div {
      padding: 0px;
      width: 95%;
    }

    .section-swapper {
      margin: 72px 0px;
      height: 100%;
    }

    .photo-container-left {
      width: 540px;
      height: 666px;
      aspect-ratio: 30/37;
      transform: translateX(-70px);
    }

    .container-info {
      width: 50%;
      padding: 0px;
    }

    .sub-container-info {
      width: 100%;
      padding-left: 0px;
      padding-top: 0px;
      padding-bottom: 0px;
    }

    .info-block-noBr-sub-m {
      width: 85%;
      margin: auto;
      margin-top: 72px;
      display: flex;
      color: var(--Global-Green-Green-80);
      text-align: center;
      font-family: Ledger;
      font-size: 32px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      justify-content: center;
      align-content: center;
      gap: 11px;
      margin-bottom: 100px;      
    }

    .info-block-noBr {
      display: none;
    }

    .info-block{
      min-width: 210px;
      word-break: break-word;
    }

    .benefits-sec {
      flex-direction: column;
      margin-bottom: 0px;
    }

    .photo-container-r {
      display: none;
    }

    .features-card {
      justify-content: flex-start;
    }
    
    .features-sec {
      height: auto;
    } 

    .container-info-features {
      gap: 32px;
      padding: 0px;
    }

    .features-card {
      gap: 20px;
    }

    .test-card {
      background: url(../images/test_mob.png) rgba(211, 211, 211, 0) 50% / cover no-repeat;
      justify-content: end;
    }
  
    .new-card {
      background: url(../images/new_mob.png) rgba(211, 211, 211, 0) 50% / cover no-repeat;
      justify-content: start;
    }
  
    .nineex-card {
      background: url(../images/8ex_mob.png) rgba(211, 211, 211, 0) 50% / cover no-repeat;
      justify-content: end;
    }

    .main-container-pricing {
      width: 100%;
    }

    .pricing-card-container {
      padding: 72px;
    }

    .pricing-card {
      width: auto !important;
      height: 519px !important;
      aspect-ratio: auto;
      flex: 1;
      padding: 50px;
      border-radius: 16px;
      overflow: hidden;
      font-size: 18px;
    }

    .main-container-gal {
      padding: 0%;
    }

    .mobile-hidd {
      display: none;
    }

    .reviews-section {
      margin-bottom: 0px;
    }

    .reviews-cards-cont {
      display: flex;
      flex-direction: column;
    }

    .reviews-card-body {
      flex: none;
      height: auto;
      min-height: min-content;
      overflow: visible;
    }

    .registration-sector {
      justify-content: center;
      align-content: center;
    }

    .registration-container {
      padding: 0%;
      width: auto;
    }

    .display-5 {
      font-size: 2rem;
    }

    .no-mobile {
      display: none;
    }
    
    .display-6 {
      font-size: 1.5rem;
    }
    
    .practice-card {
      height: 200px !important;
    }

    .registration-card-body {
      width: auto;
    }
  }

  @media (min-width: 1201px) and (max-width: 1500px) {
    .hero-section {
      height: 800px;
    }

    .section_standart {
      margin: 72px 40px !important;
    }

    .hero-mobile-btns {
      display: flex;
      justify-content: center;
    }

    .hero-mobile-sbtn {
      width: 45%;
    }

    .hero-mobile-btn {
      width: 45%;
    }

    .hero-header-mobile,
    h1.hero-header-mobile,
    h1.display-5.hero-header-mobile,
    .hero-conteiner h1 {
      font-size: 20px !important;
    }

    h1.display-5 {
      font-size: 20px !important;
    }
    
    .stat-mobile-sec {
      margin-top: 0px;
    }

    .stat-mobile-cards {
      gap: 11px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(2, auto);   
    }
      
    .stat-mobile-cards-cont {
      width: 100%;
    }

    .method-img {
      height: 600px;
      width: auto;
    }

    .method-div {
      padding: 0px;
      width: 95%;
    }

    .section-swapper {
      margin: 72px 0px;
      height: 100%;
    }

    .events-main-div {
      width: 95%;
    }

    .photo-container-left {
      width: 540px;
      height: 666px;
      aspect-ratio: 30/37;
      transform: translateX(-70px);
    }

    .container-info {
      width: 50%;
      padding: 0px;
    }

    .sub-container-info {
      width: 100%;
      padding-left: 0px;
      padding-top: 0px;
      padding-bottom: 0px;
    }

    .info-block-noBr-sub-m {
      width: 85%;
      margin: auto;
      margin-top: 72px;
      display: flex;
      color: var(--Global-Green-Green-80);
      text-align: center;
      font-family: Ledger;
      font-size: 32px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      justify-content: center;
      align-content: center;
      gap: 11px;
      margin-bottom: 100px;
    }

    .info-block {
      height: 120px;
    }

    .info-block-noBr {
      display: none;
    }

    .benefits-sec {
      flex-direction: column;
      margin-bottom: 0px;
    }

    .photo-container-r {
      display: none;
    }

    .features-card {
      justify-content: flex-start;
    }
    
    .features-sec {
      height: auto;
    } 

    .container-info-features {
      gap: 32px;
      padding: 0px;
    }

    .features-card {
      gap: 20px;
    }

    .main-container-pricing {
      width: 100%;
    }

    .pricing-card-container {
      padding: 72px;
    }

    .pricing-card {
      width: auto !important;
      height: 400px !important;
      flex: 1;
      padding: 50px;
      border-radius: 16px;
      overflow: hidden;
      font-size: 32px;
    }

    .main-container-gal {
      padding: 0%;
    }

    .container-swapper {
      width: 95%;
    }

    .container-reviews {
      width: 100%;
    }

    .registration-sector {
      justify-content: center;
      align-content: center;
    }

    .registration-container {
      padding: 0%;
      width: auto;
    }

    .display-5 {
      font-size: 2rem;
    }
    
    .display-6 {
      font-size: 1.5rem;
    }
    
    .practice-card {
      height: 200px !important;
    }

    .registration-photo {
      width: 543px;
    }

    .registration-card-body {
      width: 575px;
      min-height: 705px;
      height: auto;
    }
  }

  html {
    scroll-behavior: smooth;
  }
  
  .loading {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .loaded {
    opacity: 1;
  }
  
  .badge.bg-success {
    background-color: var(--light-green) !important;
    color: #333 !important;
  }
  
  .badge.bg-secondary {
    background-color: #ece9e7 !important;
    color: #333 !important;
  }
  
  .text-warning {
    color: #ffc107 !important;
  }
  
  .img-fluid {
    transition: transform 0.3s ease;
  }
  
  .img-fluid:hover {
    transform: scale(1.05);
  }
  
  .pricing-card-1 {
    background-color: var(--light-green) !important;
  }
  
  .pricing-card-2 {
    background-color: #909785 !important;
  }
  
  .pricing-card-3 {
    background-color: var(--primary-green) !important;
  }
  
  .gallery-section {
    background-color: var(--brown) !important;
  }
  
  .border-bottom {
    border-bottom-width: 2px !important;
  }
  
  .btn-link {
    text-decoration: none;
    font-weight: 500;
  }
  
  .btn-link:hover {
    text-decoration: none;
  }
  
  .carousel-btn {
    background-color: transparent;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .carousel-btn:hover {
    background-color: var(--primary-green);
    color: white;
  }

  @media (min-width: 1500px) and (max-width: 1600px) {
    .master-sub-div {
      transform: translateX(10%);
    }  

    .registration-card-body {
      width: 760px;
    }

    .info-block {
      height: 120px;
    }
  }

  @media (min-width: 1600px) and (max-width: 1800px) {
    .info-block {
      height: 130px;
    }
  }

.admin-edit-link {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--primary-green);
  color: #fff;
  font-family: "AA Stetica", Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.admin-edit-link:hover {
  color: #fff;
  opacity: 0.92;
}