/* Bronster.ru - Стили агрегатора отелей в стиле Booking.com 
 * 
 * 💡 Для изменения цветов, шрифтов и других параметров дизайна
 *    редактируйте файл: /static/css/theme.css
 */

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

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Хедер */
.header {
    background-color: var(--header-background);
    color: var(--header-text-color, var(--white));
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--logo-text-color, var(--white));
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-background, var(--primary-color));
    font-weight: 900;
    font-size: 1.2rem;
}

.header-search {
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 2px solid #D1D5DB;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.header-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--header-text-color, var(--white));
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6,
.section-title,
.hotel-name {
    color: var(--heading-color, var(--text-dark));
}

/* Ссылки */
a {
    color: var(--link-color, var(--primary-light));
    transition: color 0.2s;
}

a:hover {
    color: var(--link-hover-color, var(--primary-color));
}

.btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-light);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: 18px;
    background: linear-gradient(30deg, #0243F2 7.74%, #0A9BEE 92.26%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    color: #FFF;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(0, 0, 0, 0.15), 0 4px 8px -2px rgba(0, 0, 0, 0.15);
}

/* Секция героя */
.hero {
    /* Фон задается динамически через theme.to_css() или переменную --hero-background */
    color: var(--white);
    padding: 3rem 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Форма поиска (CSS из Figma) */
.search-form {
    display: flex;
    height: 82px;
    padding: 1px 4px 1px 1px;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 2rem;
    
    /* Style */
    border-radius: 16px;
    border: 1px solid #E6EAF2;
    background: #FFF;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

.search-fields {
    display: flex;
    flex: 1;
    height: 100%;
}

.search-field {
    display: flex;
    height: 80px;
    padding: 0 16px 0 24px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    flex-shrink: 0;
    position: relative;
}

/* Вертикальные разделители между полями */
.search-field:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: #E5E7EB;
}

/* Куда едем */
.search-field:nth-child(1) {
    flex: 2;
    min-width: 200px;
}

/* Заезд */
.search-field:nth-child(2) {
    flex: 1;
    min-width: 130px;
}

/* Отъезд */
.search-field:nth-child(3) {
    flex: 1;
    min-width: 130px;
}

/* Гости */
.search-field:nth-child(4) {
    flex: 1.5;
    min-width: 180px;
}

.search-field label {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
    line-height: 1;
}

.search-field input,
.search-field select {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    padding: 0;
    width: 100%;
    outline: none;
    cursor: pointer;
}

.search-field input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
}

.search-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}

/* Кнопка поиска */
.btn-search {
    display: flex;
    min-width: 98.1px;
    height: 56px;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin: 13px 13px 13px 0;
    
    /* Style */
    border-radius: 18px;
    background: linear-gradient(30deg, #0243F2 7.74%, #0A9BEE 92.26%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    
    color: #FFF;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(0, 0, 0, 0.15), 0 4px 8px -2px rgba(0, 0, 0, 0.15);
}

.btn-search svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* Популярные направления */
.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    padding: 0;
}

.tag {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    font-size: 14px;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 0;
}

.tag:hover {
    opacity: 0.8;
}

.popular-tags > span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Контент-секции */
.section {
    padding: 3rem 0;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Карточки отелей */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(var(--offers-columns-desktop, 4), minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .hotels-grid {
        grid-template-columns: repeat(var(--offers-columns-tablet, 2), minmax(0, 1fr));
    }
}

.hotel-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hotel-card {
    background: var(--white);
    border-radius: var(--offers-card-radius, var(--radius-md));
    overflow: hidden;
    box-shadow: var(--offers-card-shadow, var(--shadow-md));
    transition: all var(--transition-slow);
    position: relative;
    cursor: pointer;
}

.hotel-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.hotel-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Слайдер изображений в карточках */
.hotel-image-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.hotel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.hotel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hotel-slide.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s, background 0.2s;
    pointer-events: auto;
}

.hotel-card:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.slider-btn svg {
    pointer-events: none;
}

.slider-prev {
    left: 8px;
}

.slider-next {
    right: 8px;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    pointer-events: auto;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    pointer-events: auto;
}

.slider-dots .dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    pointer-events: auto;
    z-index: 10;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn svg {
    pointer-events: none;
}

.hotel-info {
    padding: 1rem;
}

.hotel-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.hotel-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.rating-score {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
}

.rating-stars {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.rating-reviews {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hotel-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Преимущества */
.features-section {
    background: var(--features-background, #FFFFFF);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    border: var(--features-card-border, none);
    box-shadow: var(--features-card-shadow, none);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.feature-icon i {
    color: var(--white);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Подписка на рассылку */
.newsletter {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-content {
    background: var(--newsletter-background, linear-gradient(90deg, #0243F2 0%, #0A9BEE 100%));
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    color: #FFFFFF;
}

.newsletter h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
}

.newsletter p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input:focus {
    border-color: #0A9BEE;
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.newsletter-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #FFFFFF;
}

.newsletter-checkbox label {
    font-size: 0.875rem;
    color: #FFFFFF;
    line-height: 1.5;
    cursor: pointer;
}

.newsletter-checkbox .privacy-link {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 500;
}

.newsletter-checkbox .privacy-link:hover {
    opacity: 0.8;
}

.btn-newsletter {
    width: 100%;
    padding: 0.875rem 2rem;
    background: #FFFFFF;
    color: #0243F2;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-newsletter:hover {
    background: transparent;
    color: #FFFFFF;
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    max-width: 400px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-modal);
}

.cookie-banner h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-accept {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-configure {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Страница поддержки */
.support-hero {
    background: var(--bg-light);
    padding: 3rem 0;
}

.support-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.support-hero__content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.support-hero__content p {
    color: var(--text-muted);
    font-size: 1rem;
}

.support-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: var(--white);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.support-search i {
    color: var(--text-muted);
}

.support-search input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text-dark);
}

.support-content {
    padding: 3rem 0 5rem;
}

.support-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.support-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.support-nav {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.support-nav__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.support-nav__item:hover {
    background: rgba(102, 126, 234, 0.08);
    color: var(--primary-color);
}

.support-nav__item i {
    width: 18px;
    height: 18px;
}

.support-mascot {
    margin-top: 1.5rem;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.support-mascot img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.support-mascot p {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.support-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.support-section {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.support-section__header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.support-section__header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 720px;
}

.support-faq {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.support-faq__item {
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.support-faq__item[open] {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.15);
}

.support-faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    gap: 1rem;
}

.support-faq__item summary::-webkit-details-marker {
    display: none;
}

.support-faq__item summary i {
    transition: transform var(--transition-fast);
}

.support-faq__item[open] summary i {
    transform: rotate(180deg);
}

.support-faq__answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.support-contact {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.25);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.support-contact__info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.support-contact__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.support-contact__text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.support-contact__text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.support-contact__channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.support-contact__channel {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.channel-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.channel-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.support-contact__actions {
    display: flex;
    justify-content: flex-start;
}

.support-contact__actions .btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
}

.support-response h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.support-response__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.support-response__item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.support-response__item i {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .support-layout {
        grid-template-columns: 1fr;
    }

    .support-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .support-hero__content {
        gap: 1rem;
    }

    .support-section,
    .support-contact {
        padding: 1.5rem;
    }

    .support-faq__item summary {
        font-size: 0.95rem;
    }
}

/* Футер */
.footer {
    /* Фон задается динамически через theme.to_css() */
    color: var(--footer-text-color, #FFFFFF);
    padding: 3rem 0 1.5rem;
    position: relative;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--footer-heading-color, #FFFFFF);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--footer-link-color, #D1D5DB);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s, opacity 0.2s;
}

.footer-column a:hover {
    opacity: 0.8;
    color: var(--footer-text-color, #FFFFFF);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: var(--footer-text-color, #FFFFFF);
    opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-search {
        max-width: 100%;
    }
    
    .header-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .search-form {
        flex-direction: column;
        height: auto;
        padding: 16px;
        gap: 12px;
    }
    
    .search-fields {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .search-field {
        width: 100% !important;
        height: auto;
        padding-left: 16px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    
    /* Убираем разделители на мобильных */
    .search-field:not(:last-child)::after {
        display: none;
    }
    
    .btn-search {
        width: 100% !important;
        height: 48px;
        margin-right: 0;
    }
    
    .hotels-grid {
        grid-template-columns: repeat(var(--offers-columns-mobile, 1), minmax(0, 1fr));
    }
    
    .newsletter-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .newsletter h2 {
        font-size: 1.5rem;
    }
    
    .newsletter p {
        font-size: 0.95rem;
    }
    
    .cookie-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Утилиты */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
