/* Секция "О компании" */
    .about-section {
      padding: 80px 20px;
      text-align: center;
    }

    .about-section h2 {
      font-family: 'Playfair Display', serif;
      color: #d4af37;
      font-size: 2.6em;
      margin-bottom: 20px;
    }

    .about-card {
      max-width: 900px;
      margin: 0 auto;
      padding: 40px 30px;
      background: rgba(30, 30, 30, 0.85);
      backdrop-filter: blur(10px);
      border-radius: 18px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
      border: 1px solid #333;
      color: #eee;
      line-height: 1.8;
      font-size: 1.05em;
    }

    .about-card p {
      margin-bottom: 20px;
    }

    .about-card strong {
      color: #ffffff;
    }

    .about-card ul {
      text-align: left;
      max-width: 700px;
      margin: 25px auto;
      color: #ccc;
      font-size: 0.95em;
      line-height: 1.7;
      padding-left: 20px;
    }

    .about-card ul li {
      margin-bottom: 12px;
    }

    /* Адаптив */
    @media (max-width: 768px) {
      .about-section h2 {
        font-size: 2.2em;
      }

      .about-card {
        padding: 30px 20px;
        font-size: 0.98em;
      }

      .about-card ul {
        font-size: 0.9em;
      }
    }

    /* Списки */
.advantages {
    list-style: none;
    padding: 0;
}

.advantages li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
    font-size: 20px;
}

.advantages li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #0bf80b;
    text-shadow: 0 0 5px #001aff;
}

body {
    margin: 0;
    font-family: 'Monsterrat', sans-serif;
    background-image: url('background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: #fff;
}

/* Плавное появление */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Анимация загрузки прогресс-бара */
@keyframes progressLoad {
    from { width: 0%; }
    to { width: var(--target-width, 100%); }
}

/* Плавное появление результата */
#result {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

#result.show {
    opacity: 1;
    transform: translateY(0);
}

/* Анимация кнопки отправки */
.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.submit-btn:hover::after {
    left: 100%;
}

/* Пульсация при успешной отправке */
.success-message {
    animation: pulseGold 1.5s infinite;
}

/* Плавное появление элементов при скролле */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #121212;
    --bg-card: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --gold: #d4af37;
    --gold-light: #f9e0a2;
    --gold-hover: #b8860b;
    --border-light: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
        font-family: "Montserrat", sans-serif;
        background-color: #333;
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        background-size: cover;
        color: #ffffff;
        line-height: 1.7;
        background-attachment: fixed;
      }

      .logo-link {
    text-decoration: none; /* Убираем подчёркивание */
    color: inherit; /* Наследуем цвет от родителя (золотой) */
    display: inline-block; /* Чтобы можно было наводить на весь блок */
}

.logo-link:hover {
    text-decoration: none; /* Убираем подчёркивание при наведении */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Общие стили для header */
      header {
        background-color: #111;
        border-bottom: 3px solid #8b784a;
        padding: 20px;
        font-family: "Playfair Display", serif;
      }

      /* Контейнер верхней части шапки */
      .header-top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
      }

      /* Логотип с изображением слева */
      .logo-container {
        display: flex;
        align-items: center;
        flex: 1;
      }

      h1 {
        margin-left: 0px;
        font-size: 48px;
        font-weight: bold;
        color: #d4af37;
        letter-spacing: 2px;
        text-align: left;
        display: inline-block;
        border-width: 5px;
        border-style: solid;
        border-image: linear-gradient(
            to bottom,
            white 1%,
            white 20%,
            transparent 0%,
            transparent 80%,
            white 5%,
            white 100%
          )
          2 stretch;
        padding: 20px;
        margin: 0px;
      }

      .header-content {
        flex-direction: column;
        align-items: flex-start; /* или center, по желанию */
        font-size: small;
        text-align: center;
      }

      /* Логотип текста справа */
      .logo-text {
        margin-left: 20px;
        font-size: 48px;
        font-weight: bold;
        color: #d4af37;
        letter-spacing: 2px;
        text-align: left;
        display: inline-block;
      }

      .logo-text p {
        text-align: center;
      }

      /* Изображение логотипа слева */
      .logo-img {
        width: 150px;
        /* уменьшено для мобильных и общего вида */
        height: auto;
      }

/* Sections */
.section {
    padding: 60px 0;
}

.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.section-title {
    color: var(--gold);
    font-family: "Playfair Display", serif;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
    border-radius: 3px;
}

.section-text {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

/* Benefits Grid */
.benefits-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0;
}

.benefit-card {
    background: rgba(34, 34, 34, 0.8);
    color: var(--text-primary);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--gold);
}

.benefit-card strong {
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Quiz */
.quiz-card {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border: 1px solid #333;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    color: var(--text-primary);
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.quiz-title {
    font-family: "Playfair Display", serif;
    font-size: 1.8em;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.3;
}

.quiz-subtitle {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 1em;
}

.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    height: 8px;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 0%;
}

.question {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.question.active {
    opacity: 1;
    transform: translateY(0);
}

.option {
    display: block;
    padding: 16px 24px;
    background: #222;
    border: 2px solid #444;
    border-radius: 15px;
    margin: 12px 0;
    color: #e0c98a;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1.05em;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.option:hover {
    background: #333;
    border-color: var(--gold);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.option.selected {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold-hover);
    font-weight: 600;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.option:hover::before {
    left: 100%;
}

.btn-prev {
    display: inline-block;
    padding: 12px 24px;
    background: #555;
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1em;
    margin: 20px 0 30px;
    transition: var(--transition);
    font-weight: 500;
}

.btn-prev:hover {
    background: #666;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#result {
    margin-top: 30px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--gold);
    font-size: 1.2em;
    text-align: center;
    color: var(--text-primary);
    display: block !important;
}

#result.show {
    opacity: 1;
    transform: translateY(0);
}

#result strong {
    color: var(--gold);
}

/* Contacts */
.contact-info {
    text-align: center;
    font-size: 1.1em;
    line-height: 2;
}

.contact-link {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #000, #1a1a1a);
    border-top: 2px solid var(--gold);
    text-align: center;
    padding: 50px 0 30px;
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-top: 60px;
}

.footer-link {
    color: #ff4500;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--gold-light);
}

.fixed-buttons {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none; /* Чтобы не мешали при скролле */
    z-index: 9999;
}

.btn-fixed {
    pointer-events: auto; /* Восстанавливаем кликабельность */
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 24px;
    text-decoration: none;
}

.btn-fixed:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #f9e0a2, #d4af37);
}

.btn-fixed:active {
    transform: translateY(0) scale(1);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .fixed-buttons {
        padding: 0 20px;
        bottom: 20px;
    }

    .btn-fixed {
        width: 48px;
        height: 48px;
    }
}

/* Mobile */
@media  (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        justify-content: center;
        margin-bottom: 10px;
        flex-direction: column;
        text-align: center;
    }

    .header-content h1 {
        text-align: center;
        margin-left: 0;
        font-size: 36px;
        padding: 15px;
    }

    .logo-text {
        text-align: center;
        margin-left: 0;
        font-size: 32px;
    }

     .logo-text p {
        text-align: center;
        font-size: 0.8em;
    }

     .logo-img {
        width: 100px;
    }

    .section {
        padding: 40px 0;
    }

    .card {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.8em;
    }

    .quiz-title {
        font-size: 1.4em;
    }

    .option {
        padding: 14px 20px;
        font-size: 1em;
    }

    .benefit-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.2rem;
        padding: 10px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5em;
    }

    .quiz-title {
        font-size: 1.2em;
    }

    .option {
        padding: 12px 16px;
        font-size: 0.95em;
    }
}

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }


    /* Секция с двумя карточками и контактами */
    .personal-area {
      padding: 60px 20px;
      text-align: center;
    }


    .personal-area p.intro {
      font-size: 20px;
      color: #aaa;
      max-width: 800px;
      margin: 0 auto 40px;
    }

    /* Контейнер для двух карточек */
    .cards-container {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      max-width: 1000px;
      margin: 0 auto;
      gap: 30px;
    }

    /* Общие стили карточек */
    .card {
      flex: 1;
      min-width: 300px;
      padding: 30px;
      background: rgba(30, 30, 30, 0.8);
      backdrop-filter: blur(10px);
      border-radius: 15px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
      border: 1px solid #333;
      color: #fff;
    }

    .card h3 {
      color: #fdfdfd;
      margin-bottom: 15px;
      font-family: 'Montserrat', sans-serif;
    }

    .card p {
      color: #ccc;
      margin-bottom: 25px;
      line-height: 1.6;
    }

    /* Кнопки */
    .card a.btn {
      font-family: 'Playfair Display', serif;
      display: inline-block;
      background: linear-gradient(135deg, #000000, #bfa14d);
      box-shadow: 0 4px 15px rgba(37, 117, 252, 0.4);
      color: #ffffff;
      padding: 14px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s;
      
    }

    .card a.btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 16px rgba(212, 175, 55, 0.5);
    }

    /* Вертикальная черта */
    .divider {
      width: 1px;
      background: linear-gradient(to bottom, #d4af37, #887020, #d4af37);
      height: 300px;
      margin: auto 0;
      align-self: center;
      flex-shrink: 0;
    }

    /* Контакты — как карточка */
    .contacts-card {
      max-width: 800px;
      margin: 50px auto 0;
      padding: 30px;
      background: rgba(30, 30, 30, 0.8);
      backdrop-filter: blur(10px);
      border-radius: 15px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
      border: 1px solid #333;
      color: #ccc;
      font-size: 0.95em;
      line-height: 1.7;
    }

    .contacts-card strong {
      color: #fff;
    }

    .contacts-card a {
      color: #d4af37;
      text-decoration: none;
      font-weight: 600;
    }

    .contacts-card a:hover {
      text-decoration: underline;
    }

    /* Адаптив */
    @media (max-width: 768px) {
      .cards-container {
        flex-direction: column;
        align-items: center;
      }

      .divider {
        display: none; /* Убираем черту на мобильных */
      }

      .personal-area h2 {
        font-size: 2em;
      }
    }

    .calc {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(44, 62, 80, 0.3);;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.sliders {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
}

.label-text {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #ffffff;
}

.value {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

input[type=range] {
    width: 100%;
    appearance: none;
    /* Отключает стандартное оформление в браузерах */
    -webkit-appearance: none;
    /* Для Safari и Chrome */
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(135deg, #000000, #bfa14d);
    outline: none;
    transition: background 0.3s;
}

input[type=range]:hover {
    background: linear-gradient(135deg, #000000, #bfa14d);
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid #4facfe;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    background: #4facfe;
    transform: scale(1.1);
}

#repaymentInfo {
    padding: 20px;
    background: transparent;
    border-radius: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #ffffff;
    min-height: 100px;
}

/* Общие настройки */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #121212;
    --bg-card: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --gold: #d4af37;
    --gold-light: #f9e0a2;
    --gold-hover: #b8860b;
    --border-light: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

/* Секция обратной связи */
.feedback-section {
    padding: 80px 0;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Карточка обратной связи */
.feedback-card {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    max-width: 600px;
    margin: 0 auto;
}

.feedback-card h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 1px;
    position: relative;
}

.feedback-card h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
    border-radius: 3px;
}

/* Пометка об обязательных полях */
.required-note {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.required-note p {
    color: var(--gold);
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
}

/* Форма */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* Текстареа */
textarea {
    min-height: 120px;
    resize: none;
    line-height: 1.5;
    padding: 14px 14px 30px 14px;
}

.char-counter {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Чекбокс согласия */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: 15px;
    border-radius: 10px;
    transition: var(--transition);
    background: rgba(34, 34, 34, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.checkbox-container:hover {
    background: rgba(212, 175, 55, 0.05);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--gold);
    border-color: var(--gold);
}

.checkbox-container input:checked ~ .checkmark:after {
    content: '';
    display: block;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label a {
    color: var(--gold);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--gold-light);
}

/* Сообщение об ошибке */
.error-message {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.4);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Сообщение об успешной отправке */
.success-message {
    text-align: center;
    padding: 30px 20px;
    background: rgba(92, 184, 92, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(92, 184, 92, 0.4);
    margin-top: 20px;
}

.success-icon {
    font-size: 3rem;
    color: #5cb85c;
    margin-bottom: 15px;
    font-weight: bold;
}

.success-message h3 {
    color: #5cb85c;
    font-size: 1.5rem;
    margin: 0 0 15px;
}

.success-message p {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
}

/* Кнопка отправки */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--bg-dark);
    transition: var(--transition);
}

.submit-btn:hover svg {
    transform: translateX(3px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .feedback-section {
        padding: 60px 0;
    }

    .feedback-card {
        padding: 30px 20px;
    }

    .feedback-card h2 {
        font-size: 1.8rem;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .feedback-section {
        padding: 40px 0;
    }

    .feedback-card {
        padding: 25px 15px;
    }

    .feedback-card h2 {
        font-size: 1.6rem;
    }

    input, select, textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .char-counter {
        font-size: 0.8rem;
    }
}

.footer {
    background-color: #111;
    padding: 20px;
    border-top: 3px solid #8b784a;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: #FF4500;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #FFD700;
}

/* Общие стили для header */
header {
    background-color: #111;
    border-bottom: 3px solid #8b784a;
    padding: 20px;
    font-family: 'Playfair Display', serif;
}

/* Контейнер верхней части шапки */
.header-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

/* Логотип с изображением слева */
.logo-container {
    display: flex;
    align-items: center;
    flex: 1;
}


h1 {
    margin-left: 0px;
    font-size: 48px;
    font-weight: bold;
    color: #d4af37;
    letter-spacing: 2px;
    text-align: left;
    display: inline-block;
    border-width: 5px;
    border-style: solid;
    border-image:
        linear-gradient(to bottom,
            white 1%,
            white 20%,
            transparent 0%,
            transparent 80%,
            white 5%,
            white 100%) 2 stretch;
    padding: 20px;
    margin: 0px;
}

.header-content {
  flex-direction: column;
  align-items: flex-start; /* или center, по желанию */
  font-size: small;
  text-align: center;
}

/* Логотип текста справа */
.logo-text {
    margin-left: 20px;
    font-size: 48px;
    font-weight: bold;
    color: #d4af37;
    letter-spacing: 2px;
    text-align: left;
    display: inline-block;
}

.logo-text p {
    text-align: center;
}

/* Изображение логотипа слева */
.logo-img {
    width: 150px;
    /* уменьшено для мобильных и общего вида */
    height: auto;
}

/* Мобильная адаптация */
@media(max-width: 768px) {

    /* Вертикальный стек для логотипа и текста */
    .header-top {
        flex-direction: column;
        align-items: center;
    }

    /* Логотип с изображением */
    .logo-container {
        justify-content: center;
        margin-bottom: 10px;
    }

    /* Логотип текста */
    .logo-text {
        text-align: center;
        margin-left: 0;
        font-size: 12px;
    }

    .logo-text p {
        text-align: center;
    }


    h1 { 
        text-align: center;
        /* Центрировать текст */
        margin-left: 0;
        /* Убрать левый отступ */
        font-size: 18px;
        /* Уменьшить размер шрифта */
        padding: 10px;
        /* Добавить внутренние отступы для лучшей видимости */
        width: 100%;
        /* Сделать блок растянутым по ширине контейнера */
        box-sizing: border-box;
        /* Включить паддинги и бордеры в ширину */
    }

    /* Изображение логотипа */
    .logo-img {
        width: 60px;
    }

}

/* Общие стили для мобильных устройств */
@media (max-width: 768px) {

  /* Навигационная панель */
  .nav-panel {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  /* Логотип и кнопка */
  .header-top {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    text-align: center;
    font-size: 20px;
  }

  .logo-img {
    width: 100px;
    height: auto;
    margin: 10px 0;
  }

  /* Меню навигации */
  .nav-panel a {
    display: block;
    margin: 10px 0;
  }

  /* Заголовки и секции */
  section h2 {
    font-size: 24px;
  }

  /* Контент блоков */
  .method-block,
  .tips {
    padding: 10px;
  }

  /* Списки преимуществ */
  .advantages {
    flex-direction: column;
  }

  /* Кнопка "Наверх" */
  #scrollToTop {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* Общие настройки */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #121212;
    --bg-card: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --gold: #d4af37;
    --gold-light: #f9e0a2;
    --gold-hover: #b8860b;
    --border-light: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

/* Стили для модального окна */
.modal {
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    overflow: hidden;
    
    /* Анимация появления */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal.show .modal-content {
    opacity: 1;
    transform: translateY(0);
}

/* Кнопка закрытия */
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.close-button:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    transform: rotate(90deg);
}

.close-button svg {
    width: 24px;
    height: 24px;
}

/* Заголовок */
.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--gold);
    margin: 0 0 15px;
    font-weight: 600;
}

.required-note {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 500;
}

/* Форма */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* Текстареа */
textarea {
    min-height: 100px;
    resize: none;
    line-height: 1.5;
    padding: 14px 14px 30px 14px;
}

.char-counter {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Чекбокс согласия */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.checkbox-container:hover {
    background: rgba(212, 175, 55, 0.05);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--gold);
    border-color: var(--gold);
}

.checkbox-container input:checked ~ .checkmark:after {
    content: '';
    display: block;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label a {
    color: var(--gold);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--gold-light);
}

/* Сообщение об ошибке */
.error-message {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.4);
    margin-top: 10px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Кнопка отправки */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--bg-dark);
    transition: var(--transition);
}

.submit-btn:hover svg {
    transform: translateX(3px);
}

/* Уведомление об успешной отправке */
.success-message {
    text-align: center;
    padding: 30px 20px;
    background: rgba(92, 184, 92, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(92, 184, 92, 0.4);
    margin-top: 20px;
}

.success-icon {
    font-size: 3rem;
    color: #5cb85c;
    margin-bottom: 15px;
    font-weight: bold;
}

.success-message h3 {
    color: #5cb85c;
    font-size: 1.5rem;
    margin: 0 0 15px;
}

.success-message p {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0 0 25px;
}

.close-success-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-dark);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.close-success-btn:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .modal-content {
        padding: 25px 20px;
        margin: 10px;
    }

    .modal-header h2 {
        font-size: 1.6rem;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px 15px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    input, select, textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .char-counter {
        font-size: 0.8rem;
    }
}

/* Стили для header */
.nav-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(90deg, #111, #1a1a1a);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(8px);
    border-bottom: 3px solid #8b784a;
}

.nav-panel .logo {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-panel .logo:hover {
    color: #ffd700;
}

/* Контейнер для меню */
.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 998;
}

/* Бургер-иконка */
.menu-container .burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-container .burger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Список ссылок */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    padding: 10px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #8b784a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.phone-number {
    display: flex;
    align-items: center; /* Выравниваем иконку и текст */
    margin-left: auto; /* Перемещает блок вправо */
    gap: 10px; /* Расстояние между иконкой и номером */
}

.phone-number i {
    color: #d4af37; /* Золотой цвет для иконки */
    font-size: 20px; /* Размер иконки */
    transition: color 0.3s ease;
}

.phone-number a {
    color: #d4af37; /* Золотой цвет для номера */
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number a:hover,
.phone-number i:hover {
    color: #ff6347; /* Меняет цвет при наведении */
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    /* Скрываем обычные ссылки */
    .nav-links {
        display: none;
        flex-direction: column;
        background: #1a1a1a;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    /* Показываем бургер-иконку */
    .menu-container .burger {
        display: flex;
    }

    /* Активное состояние меню */
    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Анимация для бургера */
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .phone-number {
        margin-left: 0; /* Убираем отступ */
        order: 2; /* Размещаем после ссылок */
    }

    .nav-links {
        order: 1; /* Размещаем ссылки перед номером */
    }
}

.koguvcavis-varazdel {
    padding: 38px 0;
    background: transparent;
    text-align: center;
}

.sestim-donials {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

.sagestim-lonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.vemotau-vokusipol {
    flex: 33.33%;
    max-width: 33.33%;
    box-sizing: border-box;
    padding: 15px;
}

.testimonial {
    background: #222;
    ;
    padding: 28px;
}

.gecedanam {
    font-size: 20px;
    text-transform: uppercase;
    margin: 20px 0;
}

.apogered-gselected {
    color: #8b784a;
    margin-bottom: 20px;
}

@media screen and (max-width:960px) {
    .vemotau-vokusipol {
        flex: 100%;
        max-width: 80%;
    }
}

@media screen and (max-width:600px) {
    .vemotau-vokusipol {
        flex: 100%;
        max-width: 100%;
    }
}

#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none; /* Кнопка скрыта по умолчанию */
    background-color: #1a1a1a; /* Тёмно-чёрный фон */
    color: #fff; /* Белый значок */
    border: none; /* Без границ */
    padding: 15px; /* Внутренний отступ */
    border-radius: 12px; /* Закруглённые углы */
    font-size: 24px; /* Размер значка */
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Лёгкая тень */
    transition: all 0.3s ease; /* Плавные переходы */
    z-index: 1000; /* Выше других элементов */
    animation: pulse 2s infinite; /* Анимация пульсации */
}

#scrollToTop:hover {
    background: linear-gradient(135deg, #000000, #bfa14d);
    transform: translateY(-5px); /* Лёгкий подъём */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Усиленная тень */
}

/* Анимация пульсации */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
}

/*body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #000000;
  color: #fff;
}*/
html {
  scroll-behavior: smooth;
}


/* Разделы */
section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Блоки с эффектами */
.method,
.tip,
.promo {
  background-color: #222;
  border: 2px solid #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 20px #000000 inset, 0 0 20px #070707;
  transition: all 0.3s ease;
}

.method:hover,
.tip:hover,
.promo:hover {
  box-shadow: 0 0 25px #fdfdfd inset, 0 0 40px #8b784a;
  transform: scale(1.02);
}



p {
  font-size: 20px;
  line-height: 1.6;
  color: #fff;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* Стили для сообщений обратной связи */
.feedback-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
}

.feedback-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.feedback-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Стили для кнопки в состоянии загрузки */
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Заголовки */
h2 {
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 10px;
    border-bottom: 2px solid #8b784a;
    padding-bottom: 10px;
    text-align: center;
}

h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
    
}