:root {
  --background-color: #EFEFF1;
  --text-color: #1a1a1a;
  --primary-color: #4a4a4a; 
  --card-background: #FFFFFF;
  --card-hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--background-color); 
  color: var(--text-color);
  font-family: 'Unbounded', sans-serif;
  font-weight: 400; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
  
* {
  box-sizing: border-box;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, h3 {
  font-weight: 400; 
  text-align: center;
  margin-bottom: 30px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

/* ============================================= */
/*           СТИЛИ ДЛЯ ХЕДЕРА И НАВИГАЦИИ        */
/* ============================================= */

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: var(--background-color);
  padding: 15px 0;
  position: fixed ;
  left: 0;
}


.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-logo {
  display: block;    
  flex-shrink: 0;    
  width: 24px;      
  height: 24px;    
}

.nav-logo svg {
  display: block;
  transition: transform 0.3s ease;
  width: 100%;       
  height: 100%;     
}

.nav-logo:hover svg {
  transform: scale(1.15);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-links a {
  font-weight: 400; 
  font-size: 15px;
  color: var(--text-color);
  text-decoration: none; 
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  color: var(--background-color);
  bottom: 0;
  left: 0;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.hamburger-menu {
  display: none; 
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: var(--text-color);
}

/* ============================================= */
/*           АДАПТИВНОСТЬ МЕНЮ (ГАМБУРГЕР)       */
/* ============================================= */

@media (max-width: 800px) {

  .hamburger-menu {
    display: block; 
    z-index: 101; 
  }

  .main-nav {
    display: none; 
  }

  .main-nav.is-open {
    display: flex; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
  }

  .main-nav.is-open .nav-links {
    flex-direction: column;
    gap: 40px; 
    text-align: center;
  }

  .main-nav.is-open .nav-links a {
    font-size: 24px;
  }

  .nav-group {
      gap: 0;
  }
}

/* ============================================= */
/*                  Главная страница             */
/* ============================================= */
.menu {
  padding: 80px 0 0 0;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 80px; 
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px 20px; 
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-title {
    font-size: clamp(30px, 3vw, 54px);
    line-height: 1.15;
    text-align: left;
    margin: 0 0 24px 0;
    text-transform: lowercase;
}

.subtitle {
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    margin: 0 0 32px 0;
    max-width: 420px;
}

.main-button {
    display: inline-block;
    background-color: var(--text-color);
    color: var(--background-color);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    text-decoration: none;
    margin-right: 20px; 
    margin-bottom: 24px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.main-button:hover {
    background-color: var(--primary-color);
    transform: scale(1.03);
    text-decoration: none;
}
.secondary-link {
    font-size: 12px;
    color: var(--primary-color);
    text-decoration: none;
}

.secondary-link:hover {
  opacity: 1;
  text-decoration: none;
  color: var(--text-color);
}

.lottie-container {
    width: 450px; 
    height: 450px;
    background-color: var(--card-background);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr; 
        gap: 40px;
        padding: 40px 0;
    }

    .lottie-container {
        order: 1;
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto; 
    }

    .text-content {
        order: 2;
        align-items: center; 
        width: 100%;
    }

    .main-title, .subtitle {
        text-align: center;
    }

    .hero-section .text-content > div:has(.main-button) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
    }
}

.target-title,
.target-subtitle,
.section-title {
  font-size: 28px;
  text-align: left;
  margin-bottom: 36px;
}

.target-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 25px;
  width: 100%;
}

.target-buttons button {
  width: 100%;
  text-align: center;
  padding: 18px 28px;
  border-radius: 12px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  font-family: inherit;
  font-size: 18px;
}

.target-buttons button:hover {
  background: var(--text-color);
  color: var(--background-color);
}

.target-subtitle {
  margin-bottom: 24px;
}

.target-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card-background);
  border-radius: 12px;
  padding: 22px 28px;
  box-shadow: var(--card-shadow);
}

.benefit-card p {
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-color);
  margin: 0;
}

.benefit-card lottie-player {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .benefit-card {
    padding: 18px 22px;
  }
  .target-title,
  .target-subtitle {
    font-size: 24px;
  }
}

@media (max-width: 550px) {
  .target-buttons {
    grid-template-columns: 1fr;
  }
}

/* ============================================= */
/*           СТИЛИ ДЛЯ СЕКЦИИ ТАРИФОВ            */
/* ============================================= */

.section-title {
    font-size: 28px;
    text-align: left; 
    margin-bottom: 30px;
}

.pricing-grid {
    display: flex; 
    gap: 30px;     
    justify-content: flex-start; 
}

.price-card {
    background-color: var(--card-background, #FFFFFF);
    border-radius: 12px;
    width: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    overflow: hidden; 
    transition: transform 0.25s ease;
}

.price-card:hover {
    transform: translateY(-8px); 
}

.card-content {
    padding: 24px 24px 16px 24px;
}

.card-content h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
    min-height: 48px; 
  }

.card-image-placeholder {
    height: 140px;
    margin-top: 16px;
    display: flex;
    justify-content: center; 
    align-items: center;     
}

.card-image-placeholder img,
.card-image-placeholder lottie-player {
    width: 120px;        
    height: 120px;        
    object-fit: contain;  
}

.card-previews-grid {
    display: flex;            
    justify-content: center;   
    gap: 12px;                 
    margin: 20px 0;          
}

.preview-item {
    width: 64px;              
    height: 64px;              
    border-radius: 12px;   
    background-color: var(--background-color); 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;         
}

.preview-item img,
.preview-item lottie-player {
    width: 100%;   
    height: 100%;   
    object-fit: cover; 
}

.card-description {
    font-size: 15px;
    line-height: 1.4;
    color: var(--primary-color, #333);
    margin: 0; 
    min-height: 64px;
}

.card-price {
    background-color: var(--text-color, #333);
    color: var(--card-background, #FFFFFF);
    padding: 14px 20px;
    font-size: 18px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.pricing-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%; 
}

.sub-prices-list {
    display: flex;
    flex-direction: column;
    gap: 12px; 
}

.sub-price-item {
    display: flex;
    border-radius: 12px; 
    overflow: hidden;
    background-color: var(--card-background, #FFFFFF);
    transition: transform 0.25s ease; 
}

.sub-price-item:hover {
    transform: translateY(-8px);
}

.sub-price-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 12px;
    flex-grow: 1;
}

.sub-price-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px; 
    border: 1px solid var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.sub-price-icon img,
.sub-price-icon lottie-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-price-label {
    font-size: 14px;
    color: var(--text-color, #333);
}

.sub-price-value {
    background-color: var(--text-color, #333);
    color: var(--card-background, #FFFFFF);
    font-size: 15px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;      
    flex-shrink: 0; 
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    
}

@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column; 
        gap: 20px; 
    }

    .section-title {
        text-align: left;  
    }

    .price-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* ============================================= */
/*     СТИЛИ ДЛЯ СЕКЦИИ ПРИЗЫВА К ДЕЙСТВИЮ (CTA) */
/* ============================================= */

.cta-card {
    background-color: var(--card-background, #FFFFFF);
    border-radius: 12px; 
    padding: 32px 40px;
    text-align: left;
    margin: 0 auto;  
}

.cta-title {
    font-size: 24px;
    margin: 0 0 16px 0;
}

.cta-info-link {
    display: inline-flex; 
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #000000);
    text-decoration: none;
    margin-bottom: 24px;
    font-size: 15px;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.cta-info-text {
    position: relative;
    top: 2px; 
}

.cta-info-link:hover {
    color: var(--text-color, #333);
    text-decoration: none;
}

.cta-info-link lottie-player {
    width: 40px !important; 
    height: 40px !important;
    flex-shrink: 0; 
    margin-top: 2px; 
}

.cta-buttons {
    display: flex;
    gap: 16px;    
    width: 100%;
}

.cta-button {
    display: inline-block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px; 
    font-size: 16px;
    line-height: 1.3;
    text-decoration: none;
    text-align: center; 
    border: 2px solid var(--text-color, #333);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cta-button.primary {
    background-color: var(--text-color, #333);
    color: var(--background-color, #FFFFFF);
}
.cta-button.primary:hover {
    background-color: #333;
    border-color: #333;
    transform: scale(1.03);
    text-decoration: none;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text-color, #333);
}
.cta-button.secondary:hover {
    background-color: var(--text-color, #333);
    color: var(--background-color, #FFFFFF);
    transform: scale(1.03);
    text-decoration: none;
}

@media (max-width: 600px) {
    .cta-card {
        padding: 24px; 
    }

    .cta-buttons {
        flex-direction: column; 
    }

    .cta-button {
        font-size: 15px;
    }
}

/* ============================================= */
/*             СТИЛИ ДЛЯ ПОДВАЛА (FOOTER)        */
/* ============================================= */

.site-footer {
    background-color: var(--text-color, #333); 
    color: var(--background-color, #FFFFFF); 
    padding: 60px 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    gap: 40px; 
}

.footer-left {
    max-width: 280px; 
}

.footer-logo {
    width: 160px; 
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 24px 0;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color:var(--primary-color); 
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.footer-social-link:hover {
    background-color: #3f3f3f;
}

.footer-social-link img {
    width: 20px;
    height: 20px;
    position: relative;
    left: -2px; 
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav li:last-child {
    margin-bottom: 0;
}

.footer-nav a {
    color: #b0b0b0; 
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-nav a:hover {
    text-decoration: none;
    color: #ffffff;
    text-decoration: underline;
}

.footer-nav a.download-link {
  font-size: 12px;
    margin-bottom: 0;
    color: #6a6a6a; 
}
.footer-nav a.download-link:hover {
  text-decoration: none;
  color: #999999; 
}

.footer-right .footer-nav:last-child li {
  margin-bottom: 4px; 
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0;
    }

    .footer-content {
        flex-direction: column; 
        align-items: center;  
        text-align: center;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center; 
        margin-bottom: 30px;
    }

    .footer-right {
        align-items: center; 
    }
}

/* ================================================= */
/*          СТИЛИ ДЛЯ КАРТОЧКИ "ОБО МНЕ"             */
/* ================================================= */

.about-card {
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card__header {
  display: flex;
  align-items: flex-start; 
  gap: 24px;
}

.about-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 12px; 
  flex-shrink: 0;
  object-fit: cover;
}

.about-card__title {
  text-align: left;
  font-size: 24px;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.about-card__description {
  text-align: left;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.about-card__quote {
  position: relative; 
  background-color: var(--card-background);
  border-radius: 12px; 
  padding: 24px;
}

.about-card__quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  max-width: 95%; 
}

.about-card__clip {
  position: absolute;
  width: 56px;
  height: 56px;
  top: -24px;      
  right: 8px;    
  pointer-events: none; 
}

.about-card__actions {
  display: flex;
  gap: 16px;
}

.about-card__button {
  flex: 1; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  text-decoration: none; 
  transition: transform 0.2s ease;
  text-align: center;
}

.about-card__button:hover {
  text-decoration: none; 
  transform: scale(1.03);
}

.about-card__button--primary {
  background-color: var(--text-color);
  color: var(--card-background);
  border: 1px solid var(--text-color);
}

.about-card__button--primary:hover {
  background-color: #333;
  border-color: #333;
  transform: scale(1.03);
  text-decoration: none;
}

.about-card__button-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0; 
  color: var(--card-background); 
}

.about-card__button--secondary {
  background-color: var(--card-background);
  color: var(--text-color);
  border: 1px solid var(--text-color);
}

@media (max-width: 768px) {
  .about-card {
    padding: 20px;
  }

  .about-card__header {
    flex-direction: column;
    align-items: center; 
    gap: 16px;
  }

  .about-card__title,
  .about-card__description {
    text-align: center; 
  }

  .about-card__quote p {
    max-width: 100%;
    text-align: center;
  }

  .about-card__actions {
    flex-direction: column; 
    gap: 12px;
  }
}

/* ========================================= */
/*          СТИЛИ ГАЛЕРЕИ НАБОРОВ            */
/* ========================================= */

.sets-title {
  text-align: left;
  font-size: 28px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap; 
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  padding: 8px 16px;
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  border-radius: 8px; 
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.filter-btn:hover {
  background-color: #f0f0f0;
}

.filter-btn.active {
  background-color: var(--text-color);
  color: var(--card-background);
}

.sets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.set-card {
  background-color: var(--card-background);
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  display: flex;
  flex-direction: column; 
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.set-card:hover {
  transform: translateY(-5px);
}

.set-card__content {
  padding: 20px;
}

.set-card__title {
  font-size: 18px;
  text-align: left;
  margin: 0 0 16px 0;
  line-height: 1.3;
  min-height: 46px; 
}

.set-card__previews {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.set-card__preview-item {
  flex: 1; 
  aspect-ratio: 1 / 1; 
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.set-card__preview-item img,
.set-card__preview-item lottie-player {
    width: 60%;
    height: 60%;
    object-fit: contain; 
}

.set-card__button {
  display: block;
  width: 100%;
  margin-top: auto; 
  padding: 16px 20px;
  background-color: var(--text-color);
  color: var(--card-background);
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  border-radius: 10px; 
  transition: background-color 0.2s ease;
}

.set-card__button:hover {
  background-color: var(--primary-color);
  text-decoration: none;
}

@media (min-width: 600px) {
  .sets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .sets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.special-idea {
  margin: 0 0; 
  padding: 0;
}

.special-idea__title {
  text-align: left; 
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 20px 0; 
}

.special-idea__text {
  text-align: left; 
  font-size: 16px;
  line-height: 1.6; 
  margin: 0;
  color: var(--primary-color); 
}

@media (max-width: 768px) {
  .special-idea {
    margin: 40px auto; /
  }

  .special-idea__title {
    font-size: 24px; 
  }

  .special-idea__text {
    font-size: 15px; 
  }
}

/* ===================================== */
/*      СТИЛИ СТРАНИЦЫ "ПОРЯДОК РАБОТЫ"   */
/* ===================================== */

.workflow {
  width: 100%;
}

.workflow__title {
  text-align: left;
  margin-bottom: 30px;
  font-size: 28px;
}

.workflow__steps {
  display: grid;
  gap: 16px; 
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--card-background);
  border-radius: 12px; 
  padding: 24px;
}

.workflow-step__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-step__icon lottie-player {
  width: 100%;
  height: 100%;
}

.workflow-step__content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.workflow-step__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--primary-color);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.workflow-step__link:hover {
  opacity: 1;
  text-decoration: none;
}

.workflow-step--dark {
  background-color: var(--text-color);
  color: var(--background-color);
}

.workflow-step--dark .workflow-step__link {
  color: var(--background-color);
}

.workflow-note {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--text-color);
  border-radius: 12px; 
}

.workflow-note h3 {
  text-align: left;
  margin: 0 0 10px 0;
  font-size: 18px;
}

.workflow-note p {
  margin: 0;
  line-height: 1.6;
}

.workflow-note__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--primary-color);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.workflow-note__link:hover {
  opacity: 1;
  text-decoration: none;
}

.animated-block {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animated-block:nth-child(2) { transition-delay: 0.1s; }
.animated-block:nth-child(3) { transition-delay: 0.2s; }
.animated-block:nth-child(4) { transition-delay: 0.3s; }
.animated-block:nth-child(5) { transition-delay: 0.4s; }
.animated-block:nth-child(6) { transition-delay: 0.5s; }
.animated-block:nth-child(7) { transition-delay: 0.6s; }
.workflow-note.animated-block { transition-delay: 0.7s; }


@media (max-width: 768px) {
  .workflow__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .workflow-step {
    padding: 16px;
    gap: 16px;
  }

  .workflow-step__icon {
    width: 40px;
    height: 40px;
  }

  .workflow-step__content p {
    font-size: 15px;
  }

  @media (max-width: 420px) {
    .workflow-step {
      flex-direction: column; 
      align-items: flex-start; 
    }
  }

  .workflow-note {
    padding: 16px;
    margin-top: 30px;
  }

  .workflow-note h3 {
    font-size: 16px;
  }
}

/*
========================================
Стили для секции со статьями
========================================
*/

.article-text {
  text-align: left;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; 
}

.article-card {
  display: flex;
  flex-direction: column; 
  background-color: var(--card-background);
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  text-decoration: none;
  color: var(--text-color);
  overflow: hidden; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-8px); 
  text-decoration: none; 
}

.article-card__content {
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex-grow: 1; 
}

.article-card__title {
  margin: 0 0 16px 0;
  font-size: 20px;
  text-align: left; 
  min-height: 2.5em; 
}

.article-card__image-placeholder {
  flex-grow: 1; 
  min-height: 200px; 
}

.article-card__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover ;
  border-radius: 12px;
}

.article-card__cta {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background-color: var(--text-color);
  color: var(--card-background); 
  text-align: center;
  margin-top: auto; 
  transition: background-color 0.2s ease;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.article-card:hover .article-card__cta {
  background-color: var(--primary-color); 
}

.offer-section__title {
  font-size: 28px;
  text-align: left;
  margin-bottom: 30px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.offer-card {
  background-color: var(--card-background);
  border-radius: 12px; 
  display: flex;
  flex-direction: column; 
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-8px);
}

.offer-card__body {
  padding: 24px 24px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
  border-radius: 12px; 
}

.offer-card__heading {
  font-size: 24px; 
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.offer-card__visual {
  height: 120px;
  margin: 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.offer-card__visual lottie-player {
  width: 100px;
  height: 100px;
}

.offer-card__description {
  font-size: 16px; 
  line-height: 1.5;
  color: var(--primary-color);
  margin: 0;
  text-align: center;
  flex-grow: 1; 
}

.offer-card__footer {
  background-color: var(--text-color);
  color: var(--card-background);
  padding: 18px 20px;
  font-size: 20px;
  text-align: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-top: auto; 
  border-radius: 12px; 
}

/* ======================================== */
/*         СТИЛИ СТРАНИЦЫ СТАТЬИ          */
/* ======================================== */

.article-header {
  padding: 60px 0;
  background-color: var(--background-color);
}

.article-header .container {
  display: flex;
  align-items: stretch; 
  gap: 40px;
  justify-content: space-between;
}

.back-link {
  display: inline-flex; 
  align-items: center; 
  gap: 4px; 
  font-size: 14.5px; 
  color: var(--text-color); 
  text-decoration: none;
  margin-bottom: 24px;
  opacity: 0.7; 
  transition: opacity 0.3s ease; 
}

.back-link:hover {
  opacity: 1;
}

.article-header__content {
  flex: 1; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}

.article-header h1 {
  font-size: 56px; 
  line-height: 1.2;
  text-align: left;
  margin: 0;
}

.article-header__visual {
  flex-shrink: 0; 
  width: 280px;
  height: 280px;
  background-color: var(--card-background);
  border-radius: 12px; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /
}

.article-header__visual img,
.article-header__visual lottie-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  background-color: var(--background-color);
}

.article-container p {
  font-size: 18px; 
  line-height: 1.7;
  margin: 0 0 1.5em 0; 
}

.article-container p:last-child {
  margin-bottom: 0;
}

.article-quote {
  position: relative; 
  background-color: var(--card-background);
  border-radius: 12px; 
  padding: 24px;
  margin: 40px 0; 
}

.article-quote p {
  margin: 0;
  font-size: 16px; 
  line-height: 1.5;
  max-width: 90%; 
}

.article-quote__pin {
  position: absolute;
  width: 56px;
  height: 56px;
  top: -24px;   
  right: 8px;   
  pointer-events: none; 
}

@media (max-width: 991.98px) {
  .article-header .container {
    flex-direction: column; 
    text-align: center;
     align-items: center; 
  }
  .article-header h1 {
    text-align: center;
    font-size: 40px; 
  }
  .article-header__visual {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 767.98px) {
  .article-header {
    padding: 40px 0;
  }
  .article-header h1 {
    font-size: 32px; 
  }
  .article-container p {
    font-size: 16px; 
  }
  .article-quote p {
    max-width: 85%;
  }
}

/* ======================================== */
/*          БЛОК "ВИДЫ ЭМОДЗИ"            */
/* ======================================== */
.emoji-types-section {
  margin-top: 20px;
}

.emoji-types-section__title {
  text-align: left;
  margin-bottom: 10px;
}

.emoji-types-section > p {
  text-align: left;
  margin-bottom: 30px;
}

.emoji-type-item {
  margin-bottom: 30px;
}
.emoji-type-item:last-of-type {
  margin-bottom: 0;
}

.emoji-type-item__description {
  margin-top: 16px;
  padding-left: 10px; 
  padding-top: 20px;
}

.emoji-type-card {
  background-color: var(--card-background);
  border-radius: 12px; 
  padding: 24px;
}

.emoji-type-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.emoji-type-card__header h3 {
  margin: 0;
  font-size: 24px; 
  text-align: left;
}

.emoji-type-card__tag {
  background-color: var(--text-color);
  color: var(--card-background);
  font-size: 14px; 
  padding: 6px 12px;
  border-radius: 6px; 
  white-space: nowrap;
}

.emoji-type-card__body {
  display: flex;
  gap: 24px;
}

.emoji-type-card__visual {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  background-color: #F2F2F2;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.emoji-type-card__visual img,
.emoji-type-card__visual video,
.emoji-type-card__visual lottie-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.emoji-type-card__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.emoji-type-card__specs {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.emoji-type-card__specs div {
  margin: 0;
  padding: 0;
}

.emoji-type-card__specs dt { 
  font-size: 14px; 
  color: var(--primary-color);
  margin-bottom: 4px;
}

.emoji-type-card__specs dd { 
  font-size: 16px;
  margin: 0;
}

.emoji-type-card__pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.emoji-type-card__pros-cons .list-title {
  font-size: 14px; 
  color: var(--primary-color);
  display: block;
  margin-bottom: 8px;
}

.emoji-type-card__pros-cons ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.emoji-type-card__pros-cons li {
  font-size: 1rem; 
  margin-bottom: 8px;
}

.emoji-type-card__pros-cons li:last-child {
  margin-bottom: 0;
}

.adaptive-set-item {
    margin-top: 30px;
}
.adaptive-set-card {
    background-color: var(--card-background);
    border-radius: 12px; 
    padding: 24px;
}
.adaptive-set-card h3 {
    text-align: left;
    margin: 0 0 16px 0;
    font-size: 1.5rem;
}
.adaptive-set-card p {
    margin: 0;
}
.adaptive-set-card__visual {
    height: 100px;
    width: 100%;
    background-color: var(--background-color);
    border-radius: 12px; 
    margin: 24px 0;
}
.adaptive-set-card__note {
    font-size: 0.875rem;
    color: var(--primary-color);
}

@media (max-width: 767.98px) {
  .emoji-type-card__body {
    flex-direction: column;
  }
  .emoji-type-card__visual {
    width: 100px; 
    height: 100px;
  }
  .emoji-type-card__pros-cons {
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  .emoji-type-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .emoji-type-item__description {
      padding-left: 0;
  }
}

/* ======================================== */
/*   БЛОК "КАК СОЗДАТЬ НАБОР ЭМОДЗИ"      */
/* ======================================== */

.creation-methods-section {
  margin-top: 20px;
}

.creation-methods-section .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.creation-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}

/* Общий стиль карточки */
.creation-method-card {
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 24px;
  position: relative; 
  display: flex;
  flex-direction: column;
}

.creation-method-card__top {
  display: flex;
  justify-content: space-between; 
  align-items: flex-start; 
  margin-bottom: 24px;
}

.creation-method-card__visual {
  width: 140px;
  height: 140px;
  background-color: var(--card-background);
  border-radius: 12px; 
  flex-shrink: 0; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.creation-method-card__visual lottie-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creation-method-card__label {
  background-color: var(--text-color);
  color: var(--background-color); 
  padding: 6px 12px;
  border-radius: 6px; 
  font-size: 0.875rem; 
  line-height: 1.2;
}

.creation-method-card__body {
  text-align: left;
}

.creation-method-card__title {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  text-align: left;
}

.creation-method-card__description {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .creation-methods-grid {
    grid-template-columns: 1fr; 
    gap: 30px; 
  }
}
@media (max-width: 767.98px) {
  .creation-method-card {
    padding: 20px;
    border-radius: 12px; 
  }

  .creation-method-card__visual {
    width: 100px; 
    height: 100px;
    border-radius: 12px; 
  }

  .creation-method-card__title {
    font-size: 1.5rem; 
  }

  .creation-method-card__description {
    font-size: 0.9375rem; 
  }
}

.marketing-section {
  margin-top: 20px;
}

.marketing-section p {
  text-align: left;
  line-height: 1.6;
}

.marketing-tags {
  display: flex;
  flex-wrap: wrap; 
  gap: 12px; 
  margin: 24px 0; 
  padding: 0;
  list-style: none; 
}

.marketing-tag {
  display: inline-flex; 
  align-items: center; 
  background-color: var(--card-background);
  padding: 10px 16px;
  border-radius: 12px; 
  font-size: 1rem; 
  line-height: 1.4;
  flex-shrink: 0; 
}

.marketing-tag .tag-icon {
  width: 40px;
  height: 40px;
  margin-right: 8px; 
}

.marketing-quote {
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px; 
}

.marketing-quote p {
  margin: 0; 
  font-size: 1.125rem; 
}

.quote-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: var(--card-background);
  border-radius: 12px;
  flex-shrink: 0; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote-icon-wrapper lottie-player {
  width: 100%;
  height: 100%;
}

@media (max-width: 767.98px) {

    .marketing-tags {
        display: block; 
    }

    .marketing-tag {
        display: flex;
        margin-bottom: 12px; 
    }

    .marketing-tag:last-child {
        margin-bottom: 0;
    }

    .marketing-quote {
        padding: 20px;
        border-radius: 12px; 
        gap: 16px;
    }

    .marketing-quote p {
        font-size: 1rem;
    }

    .quote-icon-wrapper {
        width: 48px;
        height: 48px;
    }
}

/* ================================================ */
/*  Стили для блока "Техническое задание" (v2)    */
/* ================================================ */

.article-body {
  padding-top: 60px; 
}

.info-card.large-card {
  margin: 0 auto; 
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 32px 40px; 
}

.large-card h2 {
  font-size: 28px; 
  text-align: left;
  margin: 0 0 16px 0;
}

.large-card p {
  font-size: 16px; 
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

.large-card p.quote {
  font-size: 14px; 
  line-height: 1.5;
  color: var(--text-color);
  opacity: 0.6; 
  margin-top: 24px;
}

.card-content-article {
  padding: 0 0 0 ;
}

.cards-title {
  font-size: 22px; 
  text-align: left;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 24px;
}

.info-card.small-card {
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 24px; 
  display: flex;
  align-items: flex-start; 
  gap: 20px;
}

.small-card .card-content {
  flex: 1; 
}

.small-card h3 {
  font-size: 20px; 
  margin: 0 0 10px 0;
  text-align: left;
}

.small-card p {
  font-size: 15px; 
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.8; 
  margin: 0;
}

.small-card .card-visual {
  flex-shrink: 0; 
  width: 100px;
  height: 100px;
  background-color: var(--background-color); 
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.small-card .card-visual lottie-player {
  width: 70%; 
  height: 70%;
}

@media (max-width: 991px) {

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .article-body {
    padding-top: 40px;
  }

  .info-card.large-card {
    padding: 24px;
  }

  .large-card h2 { font-size: 24px; }
  .large-card p { font-size: 15px; }
  .large-card p.quote { margin-top: 20px; }

  .cards-title {
    margin: 40px 0 16px 0;
    font-size: 20px;
  }

  .cards-grid {
    gap: 16px;
  }

  .info-card.small-card {
    padding: 20px;
    flex-direction: column-reverse; 
    align-items: flex-start; 
    gap: 16px;
  }

  .small-card .card-visual {
    width: 80px;
    height: 80px;
  }

  .small-card h3 { font-size: 18px; }
  .small-card p { font-size: 14px; }
}

/* ================================================ */
/*  Стили для блока "Что должно быть в ТЗ"         */
/* ================================================ */

.section-title {
  text-align: left;
  font-size: 28px; 
  margin-bottom: 24px;
}

.checklist-items {
  display: grid;
  gap: 16px; 
}

.checklist-item {
  background-color: var(--card-background);
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 24px 28px;
}

.item-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.item-arrow {
  width: 40px !important; 
  height: 40px !important;
  flex-shrink: 0;
}

.item-header h3 {
  margin: 0;
  font-size: 20px; 
}

.item-content {
  padding-left: 40px; 
}

.item-content p {
  margin: 0;
  font-size: 16px; 
  line-height: 1.6;
  opacity: 0.9;
}

.details-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 14px; 
  color: var(--text-color);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.details-link:hover {
  opacity: 1;
  text-decoration: none;
}

.details-link-arrow {
  width: 25px !important;
  height: 25px !important;
}

@media (max-width: 767px) {

  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .checklist-item {
    padding: 20px;
  }

  .item-header h3 {
    font-size: 18px;
  }

  .item-content {
    padding-left: 0;
  }

  .item-content p {
    font-size: 15px;
  }
}

/* ================================================ */
/*             Стили для блока FAQ                */
/* ================================================ */

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background-color: var(--card-background);
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 12px 28px; 
  transition: padding 0.3s ease;
}

.faq-item[open] {
  padding-bottom: 28px;
}

.faq-question {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  gap: 10px;
  font-size: 20px;
  cursor: pointer;
  list-style: none; 
  width: 100%;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
  display: none; 
}

.faq-tag {
  background-color: var(--text-color);
  color: var(--card-background);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.faq-answer {
  padding-top: 16px;
  border-top: 1px solid var(--text-color);
  margin-top: 16px;
}

.faq-answer p {
  margin: 0 0 16px 0;
  font-size: 16px;
  line-height: 1.6;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer p.exception {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 16px;
}

.answer-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.option-card {
  background-color: var(--background-color);
  border-radius: 12px;
  padding: 16px;
}

.option-card h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 400;
}

.option-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
  color: var(--primary-color);
}


@media (max-width: 767px) {

  .faq-item {
    padding: 12px 20px;
  }

  .faq-item[open] {
    padding-bottom: 20px;
  }

  .faq-question {
    font-size: 18px;
  }

  .faq-answer p {
    font-size: 15px;
  }

  .answer-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.info-content {
  margin: 0 auto; 
}

.info-content > p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.info-content > p + .important-note {
  margin-top: 24px;
}
.important-note + p {
  margin-top: 24px;
}

.important-note {
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 24px;
}

.important-note h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 400;
}

.important-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

@media (max-width: 767px) {

  .info-content > p,
  .important-note p {
    font-size: 15px;
  }

  .important-note {
    padding: 20px;
  }

  .important-note h4 {
    font-size: 17px;
  }
}

/* ================================================ */
/*       Стили для блока с пошаговой инструкцией    */
/* ================================================ */

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.step-tag {
  background-color: var(--text-color);
  color: var(--card-background);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 15px;
  white-space: nowrap; 
}

.step-header h2 {
  margin: 0;
  font-size: 28px;
}

.step-methods {
  display: grid;
  gap: 24px;
}

.method-card {
  display: flex;
  background-color: var(--card-background);
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 24px 28px;
  gap: 24px;
}

.method-content {
  flex: 1; 
}

.method-title {
  background-color: var(--text-color);
  color: var(--background-color);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 15px;
  margin: 0 0 20px 0;
}

.method-steps {
  margin: 0;
  padding-left: 20px; 
  font-size: 16px;
  line-height: 1.8;
  display: grid;
  gap: 12px; 
}

.method-steps code {
  background-color: var(--background-color);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-color);
}

.method-summary {
  margin: 20px 0 0 0;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
}
e
.method-visual {
  flex-shrink: 0; 
  width: 280px; 
  align-self: center; 
}

.method-visual video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background-color: var(--background-color);
  border: 1px solid var(--text-color);
}


@media (max-width: 991px) {
  .method-card {
    flex-direction: column;
  }

  .method-visual {
    width: 280px; 
    margin: 0 auto; 
    order: -1; 
  }
}

@media (max-width: 767px) {

  .step-header h2 {
    font-size: 24px;
  }

  .method-card {
    padding: 20px;
  }

  .method-steps,
  .method-summary {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .method-visual {
    width: 240px; 
  }
}

.step-intro {
  line-height: 1.7;
  margin: 0 0 28px 0; 
}

.custom-list {
  display: grid;
  gap: 20px; 
}

.custom-list-item h4 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 400;
}

.custom-list-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.custom-list-item code {
background-color: var(--background-color);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-color);
}

@media (max-width: 767px) {
  .custom-list-item h4 {
    font-size: 17px;
  }
  .custom-list-item p {
    font-size: 15px;
  }
}

/* ================================================ */
/*          Стили для завершающего блока (CTA)      */
/* ================================================ */

.final-cta .info-content h3 {
  margin: 0 0 12px 0;
  font-size: 22px;
  text-align: left;
}

.final-cta .info-content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9; 
}

@media (max-width: 767px) {

  .final-cta .info-content h3 {
    font-size: 20px;
  }

  .final-cta .info-content p {
    font-size: 16px;
  }
}

/* ======================================== */
/*      БЛОК-КАРТОЧКА "ОФОРМЛЕНИЕ"        */
/* ======================================== */

.service-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 32px; 
  margin: 0 auto;
  background-color: var(--card-background);
  border-radius: 12px; 
  padding: 24px;
}

.service-card__clip {
  position: absolute;
  width: 56px;
  height: 56px;
  top: -24px;
  right: 8px;
  pointer-events: none;
}
.service-card__clip lottie-player {
  width: 100%;
  height: 100%;
}

.service-card__avatar {
  flex-shrink: 0;
  width: 190px;
  height: 190px; 
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  overflow: hidden;
}

.service-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1; 
  min-width: 0; 
}

.service-card__title {
  margin: 0 0 12px 0;
  text-align: left;
  font-size: 1.5rem;
}
.service-card__description {
  margin: 0 0 20px 0;
  line-height: 1.6;
  font-size: 1rem;
}

.service-card__button {
  display: flex;
  align-items: center;
  justify-content: center; 
  width: 100%; 
  padding: 14px 20px;
  background-color: var(--text-color);
  color: var(--card-background);
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.service-card__button:hover {
  background-color: var(--primary-color);
  transform: scale(1.03);
  text-decoration: none;
}

.service-card__button-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  color: var(--card-background);
}

@media (max-width: 767.98px) {
  .service-card {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  .service-card__avatar {
    width: 100px; 
    height: 100px;
  }

  .service-card__content {
    align-items: center; 
    text-align: center;
    width: 100%; 
  }

  .service-card__title {
    font-size: 1.25rem;
    text-align: center;
  }

  .service-card__button {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .service-card__clip {
    top: -20px;
    right: 0px;
  }
}

/* ======================================== */
/*         СТИЛИ БЛОКА "ЦЕНЫ"               */
/* ======================================== */


.pricing-title-two, .pricing-subtitle-two {
  text-align: left;
  margin-left: 10px;
  margin-right: 10px;
}
.pricing-title-two {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.pricing-subtitle-two {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}
.price-card-two {
  background-color: var(--card-background);
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 24px;
  margin-bottom: 24px;
}
.price-card__title-two {
  text-align: left;
  margin: 0 0 16px 0;
  font-size: 1rem;
}

.image-gallery {
  overflow: hidden;
  margin-bottom: 16px;
}

.image-gallery__wrapper {
  display: flex;
  gap: 12px;
  justify-content: center; 
  flex-wrap: wrap; 
  max-width: 100%; 
}

.gallery-image {
  height: 250px; 
  width: auto;   
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;

  opacity: 0.2;
  transition: opacity 0.5s ease-in-out;
}

.gallery-image.is-active {
  opacity: 1;
}


.price-tags {
  display: flex;
  gap: 16px; 
  flex-wrap: wrap; 
}

.price-item {
  display: flex;
  align-items: center; 
  flex-grow: 1;
  background-color: transparent; 
  border: 1px solid var(--text-color);
  border-radius: 12px;
  font-size: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-item:hover {
  transform: translateY(-5px);
}

.price-item__label {
  padding: 0 16px; 
  flex-grow: 1; 
}

.price-item__value {
  background-color: var(--text-color); 
  color: var(--card-background); 
  padding: 8px 16px; 
  border-radius: 6px; 
  white-space: nowrap; 
}

@media (max-width: 767.98px) {

    .price-tags {
    flex-direction: column; 
    gap: 8px; 
  }

  .pricing-title { font-size: 2rem; }
  /* .price-card { padding: 16px; } */

  .image-gallery__wrapper {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1080 / 1350; 
  }

  .gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .gallery-image:not(:first-child) {
      opacity: 0;
  }

}

/* ======================================== */
/*         СТИЛИ БЛОКА "ПАКЕТЫ УСЛУГ"        */
/* ======================================== */
.packages-section {
  padding: 60px 0;
}

.packages-title {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 30px;
  padding: 0 10px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px;
  padding: 0 10px;
}

.package-card {
  display: flex; 
  flex-direction: column; 
  border: 1px solid var(--text-color);
  background-color: var(--card-background);
  border-radius: 12px; 
  overflow: hidden; 
}

.package-card__content {
  padding: 24px;
  flex-grow: 1; 
  display: flex;
  flex-direction: column;
}

.package-card__title {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.package-card__animation {
  width: 100%;
  aspect-ratio: 1 / 1; 
  margin-bottom: 24px;
}

.package-card__details {
  flex-grow: 1; 
}

.package-card__details h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.package-card__details ul {
  list-style-type: none;
  padding-left: 16px; 
  margin: 0;
  color: var(--text-color-secondary); 
}

.package-card__details ul li {
  position: relative;
  margin-bottom: 8px;
}

.package-card__details ul li::before {
  content: '–'; 
  position: absolute;
  left: -16px;
  top: 0;
}

.package-card__details .optional {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--text-color-secondary);
  font-size: 0.9rem;
}

.package-card__price {
  background-color: var(--text-color);
  color: var(--background-color);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 16px;
}

@media (max-width: 991.98px) {
  .packages-grid {
    grid-template-columns: 1fr; 
  }
}

@media (max-width: 767.98px) {
  .packages-title { font-size: 2rem; }
  .packages-grid { gap: 16px; }
  .package-card__content { padding: 16px; }
  .package-card__title { font-size: 1.5rem; }
  .package-card__details h4 { font-size: 1.1rem; }
  .package-card__price { font-size: 1.25rem; }
}


.comprehensive-offers {
  color: var(--text-color);
}

.comprehensive-offers__main-title {
  text-align: left;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.comprehensive-offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.offer-card {
  display: flex;
  flex-direction: column; 
  border: 1px solid var(--text-color);
  background-color: var(--card-background);
  border-radius: 12px; 
  overflow: hidden; 
}

.offer-card__header {
  margin-bottom: 16px;
}

.offer-card__title {
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.2;
}

.offer-card__visual-placeholder {
 width: 50%; 
  aspect-ratio: 1 / 1; 
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.offer-card__details {
  flex-grow: 1; 
  display: flex;
  flex-direction: column;
}

.offer-card__subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.offer-card__feature-list {
  list-style-type: none;
  padding-left: 20px;
  margin: 0;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.offer-card__feature-item {
  position: relative;
  margin-bottom: 8px;
  line-height: 1.4;
}

.offer-card__feature-item::before {
  content: '–'; 
  position: absolute;
  left: -20px;
  top: 0;
  color: var(--primary-color);
}

.offer-card__optional-note {
  margin-top: auto; 
  padding-top: 16px;
  margin-bottom: 0;
  color: var(--text-color-secondary);
  font-size: 0.9rem;
  color: var(--primary-color);
}

.offer-card__price {
  background-color: var(--text-color);
  color: var(--card-background); 
  text-align: center;
  font-size: 1.2rem;
}

/* ======================================== */
/*                АДАПТАЦИЯ               */
/* ======================================== */
@media (max-width: 767.98px) {
  .comprehensive-offers__main-title { font-size: 2rem; }
  .comprehensive-offers__grid { gap: 16px; }
  .offer-card__body { padding: 16px; }
  .offer-card__title { font-size: 1.75rem; }
  .offer-card__subtitle { font-size: 1.1rem; }
  .offer-card__price { font-size: 1.25rem; }
}

.additional-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px; 
  margin-top: 60px; 
}

.info-block {
  border: 1px solid var(--text-color);
  border-radius: 12px; 
  padding: 32px;
}

.info-block__title {
  font-size: 24px;
  margin: 0 0 8px 0;
  line-height: 1.3;
  text-align: left;
}

.info-block__subtitle {
  font-size: 24px;
  font-weight: 400;
  margin: 24px 0 8px 0;
  line-height: 1.3;
}

.info-block__paragraph {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color); 
}

.info-block__paragraph + .info-block__paragraph {
    margin-top: 1em; 
}


/* ======================================== */
/*                АДАПТАЦИЯ               */
/* ======================================== */

  .additional-info-wrapper {
    margin-top: 40px;
  }
  .info-block,
  .contact-card {
    padding: 24px 16px;
  }


/* ============================================= */
/*         СТИЛИ КАРТОЧКИ "СВЯЗАТЬСЯ СО МНОЙ"     */
/* ============================================= */

.contact-widget {
  position: relative; 
  display: flex;
  align-items: flex-start; 
  gap: 24px; 
  background-color: var(--card-background, #fff); 
  border-radius: 12px; 
  padding: 32px;
}

.contact-widget__avatar {
  width: 150px;
  height: 150px;
  border-radius: 12px; 
  border: 1px solid var(--text-color, #111);
  object-fit: cover; 
  flex-shrink: 0; 
}

.contact-widget__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
  min-height: 100%; 
}

.contact-widget__title {
  font-size: 24px;
  text-align: left;
  margin: 0;
  line-height: 1.2;
}

.contact-widget__description {
  font-size: 16px;
  line-height: 1.5;
  margin: 12px 0 0 0; 
  flex-grow: 1; 
}

.contact-widget__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--text-color, #111);
  color: var(--card-background, #fff);
  border-radius: 12px; 
  padding: 16px 24px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  margin-top: 24px; 
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-widget__button:hover {
  transform: scale(1.02);
  text-decoration: none;
  background-color: #333; 
}

.contact-widget__button-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  transform: scale(0.9) translateY(1px); 
}

.contact-widget__button-note {
  color: #ccc; 
  margin-left: 8px;
  font-weight: 400;
}

.contact-widget__clip {
  position: absolute;
  width: 56px;
  height: 56px;
  top: -24px;      
  right: 8px;     
  pointer-events: none; 
}

@media (max-width: 767.98px) {
  .contact-widget {
    flex-direction: column;
    align-items: center; 
    padding: 24px 16px;
    gap: 20px; 
  }

  .contact-widget__avatar {
    width: 120px; 
    height: 120px;
  }

  .contact-widget__content {
    align-items: center; 
    text-align: center;
    width: 100%; 
  }

  .contact-widget__title {
    font-size: 20px;
  }

  .contact-widget__description {
    flex-grow: 0; /
  }

  .contact-widget__button {
    flex-direction: column; 
    padding: 16px;
    line-height: 1.4;
  }

  .contact-widget__button-icon {
    margin-right: 0;
    margin-bottom: 8px; 
  }

  .contact-widget__button-note {
    margin-left: 0;
    margin-top: 4px; 
  }
}

/* ============================================= */
/*                    Документация               */
/* ============================================= */

.page-title {
      font-size: 42px;
      margin: 60px 0 20px;
      text-align: left;
      color: var(--text-color);
    }

    .date {
      text-align: left;
      color: var(--primary-color);
      font-size: 10px;
      margin-bottom: 20px;
    }

    .content {
      margin: 0 auto;
      font-size: 12px;
      line-height: 1.3;
    }

    .content h2 {
      font-size: 18px;
      text-align: left;
      margin: 20px 0 20px;
      color: #000;
    }

    .content p,
    .content ol li {
      margin-bottom: 10px;        
    }

    .content ol {
      padding-left: 10px;
    }

    .content ol li {
      margin-bottom: 16px;
    }

    .subparagraph {
      padding-left: 15px;
    }
    /* Адаптивность */
    @media (max-width: 768px) {
      .page-title {font-size: 20px; margin: 40px 0 20px;}
      .content { font-size: 10px;}
    }



