* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #F1F8FF;
    color: #1E2B33;
    line-height: 1.4;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

/* Карточка-обёртка */
.hub-card {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem 1.8rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Анимация появления */
.fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Логотип и текст */
.logo-area {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-wrapper {
    margin-bottom: 1rem;
}

.logo-img {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    box-shadow: 0 8px 20px rgba(45, 123, 204, 0.15);
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

h1 {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #1E2B33;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E2B33;
    margin-bottom: 0.5rem;
}

.sub {
    color: #4a6272;
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Контейнеры шагов */
.step-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: fadeInUp 0.4s ease forwards;
}

.hidden {
    display: none !important;
}

/* Кнопки шага 1 */
.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem;
    border-radius: 1.2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.btn-good {
    background: #2D7BCC;
    color: white;
    box-shadow: 0 8px 20px rgba(45, 123, 204, 0.2);
}

.btn-good:hover {
    background: #1c5b9b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 123, 204, 0.3);
}

.btn-bad {
    background: #F1F8FF;
    color: #1E2B33;
    border: 1px solid rgba(45, 123, 204, 0.2);
}

.btn-bad:hover {
    background: #ffebe6;
    color: #d13d29;
    border-color: #ffc9c0;
    transform: translateY(-2px);
}

/* Заголовок площадок */
.platforms-title {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1E2B33;
}

/* Кнопки-ссылки шага 2 */
.link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F1F8FF;
    padding: 0.9rem 1.6rem;
    border-radius: 60px;
    text-decoration: none;
    color: #1E2B33;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.25s ease;
    border: 1px solid rgba(45, 123, 204, 0.15);
}

.link-btn:hover {
    background: #ffffff;
    border-color: #2D7BCC;
    box-shadow: 0 8px 18px rgba(45, 123, 204, 0.12);
    transform: translateY(-2px);
}

.btn-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Иконки Font Awesome */
.btn-left i {
    font-size: 1.6rem;
    width: 1.9rem;
    text-align: center;
    color: #2D7BCC;
    transition: color 0.2s;
}

.link-btn:hover .btn-left i {
    color: #BA5B01;
}

/* Инлайн SVG (Tripadvisor) */
.btn-svg-inline {
    width: 1.9rem;
    height: 1.6rem;
    flex-shrink: 0;
    color: #2D7BCC;
    transition: color 0.2s;
}

.link-btn:hover .btn-svg-inline {
    color: #BA5B01;
}

/* Стрелка */
.arrow-icon {
    color: #2D7BCC;
    font-size: 1rem;
    opacity: 0.7;
    transition: 0.2s;
}

.link-btn:hover .arrow-icon {
    opacity: 1;
    transform: translateX(3px);
    color: #BA5B01;
}

/* Кнопка назад */
.back-btn {
    background: none;
    border: none;
    color: #5c7f94;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    transition: color 0.2s;
    width: 100%;
}

.back-btn:hover {
    color: #1E2B33;
}

/* Футер */
.footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.75rem;
    color: #5c7f94;
    border-top: 1px solid #e0edf8;
    padding-top: 1.5rem;
    font-weight: 500;
}

.footer-note i {
    color: #BA5B01;
    margin: 0 2px;
}

.footer-note a {
    color: #5c7f94;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-note a:hover {
    color: #2D7BCC;
}

/* Адаптив */
@media (max-width: 480px) {
    .hub-card {
        padding: 1.8rem 1.2rem;
    }

    .link-btn {
        padding: 0.75rem 1.2rem;
        font-size: 0.95rem;
    }

    .btn-left i {
        font-size: 1.4rem;
        width: 1.6rem;
    }

    .btn-action {
        font-size: 1rem;
        padding: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .logo-img {
        max-width: 80px;
        max-height: 80px;
    }
}

/* Новые стили для формы обратной связи */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1E2B33;
}

.form-group label .required {
    color: #d13d29;
}

.form-group input[type="text"],
.form-group textarea {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(45, 123, 204, 0.2);
    background: #F1F8FF;
    color: #1E2B33;
    font-size: 1rem;
    transition: all 0.2s ease;
    outline: none;

    -webkit-appearance: none;
    -moz-appearance: none;    
    appearance: none;    
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: #2D7BCC;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(45, 123, 204, 0.1);
}

/* Два поля в один ряд (корпус/месяц, тип путёвки/визит) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Выпадающие списки — в стиле обычных полей формы */
.form-group select {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(45, 123, 204, 0.2);
    background: #F1F8FF;
    color: #1E2B33;
    font-size: 1rem;
    transition: all 0.2s ease;
    outline: none;
    cursor: pointer;
}

.form-group select:focus {
    border-color: #2D7BCC;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(45, 123, 204, 0.1);
}

/* Радиокнопки в виде пилюль (Визит: Впервые/Повторно) */
.radio-grid {
    display: flex;
    gap: 0.6rem;
}

.radio-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #F1F8FF;
    padding: 1rem;
    border-radius: 1rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
    user-select: none;
}

.radio-item input[type="radio"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #2D7BCC;
    cursor: pointer;
    flex-shrink: 0;
}

.radio-item:hover {
    background: #e6f2fe;
    border-color: rgba(45, 123, 204, 0.2);
}

/* Звёздный рейтинг общей оценки */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.3rem;
    margin-top: 0.2rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.9rem;
    line-height: 1;
    color: #d8e6f3;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f5a623;
}

.star-rating label:hover {
    transform: scale(1.12);
}

/* Ловушка для ботов — скрыта от людей, но видна автозаполняющим скриптам */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Сетка для чекбоксов */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 0.3rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #F1F8FF;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
    user-select: none;
}

.checkbox-item input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #2D7BCC;
    cursor: pointer;
	flex-shrink: 0;

    -webkit-appearance: checkbox;
}

.checkbox-item:hover {
    background: #e6f2fe;
    border-color: rgba(45, 123, 204, 0.2);
}

/* Стили успеха */
.text-center {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 0.5rem;
    animation: scaleUp 0.3s ease forwards;
}

@keyframes scaleUp {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Адаптивность для чекбоксов */
@media (max-width: 580px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

#feedback-form .back-btn {
    margin-top: 0.5rem;
}