* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    color: #1a2c3e;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Навигация */
.navbar {
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    cursor: pointer;
    font-size: 22px;
    font-weight: 700;
}

.logo i {
    color: #2b8b5a;
}

.badge {
    font-size: 12px;
    background: #eaf9f0;
    color: #2b8b5a;
    padding: 2px 8px;
    border-radius: 20px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #4a5c6b;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2b8b5a;
}

.btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    color: #1a2c3e;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: #2b8b5a;
    color: #2b8b5a;
}

.btn-primary {
    background: #2b8b5a;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #1f6e46;
}

/* Hero секция */
.hero {
    background: linear-gradient(105deg, #eef5f0 0%, #e0ede7 100%);
    padding: 48px 0;
    border-radius: 0 0 32px 32px;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 0.7;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.15);
}

.hero h1 {
    font-size: 42px;
    background: linear-gradient(125deg, #1b4d34, #2f7a54);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #2d4a3b;
    margin-bottom: 28px;
}

/* Поиск */
.search-box {
    display: flex;
    gap: 12px;
    background: white;
    padding: 6px 12px;
    border-radius: 60px;
    max-width: 560px;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    border-radius: 40px;
    outline: none;
    font-size: 16px;
}

.search-box button {
    background: #2b8b5a;
    border: none;
    padding: 10px 28px;
    border-radius: 44px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* Категории */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 16px;
}

.badge-line {
    width: 60px;
    height: 4px;
    background: #2b8b5a;
    border-radius: 4px;
    margin-bottom: 24px;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.cat-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.cat-btn:hover,
.cat-btn.active {
    background: #2b8b5a;
    color: white;
    border-color: #2b8b5a;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

.view-all {
    color: #2b8b5a;
    text-decoration: none;
    font-weight: 500;
}

/* Карточки мест */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin: 32px 0 56px;
}

.place-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.place-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.card-img {
    height: 180px;
    background: linear-gradient(135deg, #cbdcd2, #b1cdbc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #316e51;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-cat {
    display: inline-block;
    background: #eef3f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 8px 0;
}

.card-desc {
    color: #6b7f72;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #f5b342;
    letter-spacing: 2px;
}

.rating-value {
    background: #f0f2f5;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.loading {
    text-align: center;
    padding: 60px;
    color: #8ba394;
}

/* Футер */
.footer {
    background: #1e2f2a;
    color: #cddfd7;
    padding: 48px 0 32px;
    margin-top: 48px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
}

.footer-grid a {
    color: #cddfd7;
    text-decoration: none;
    display: block;
    margin: 8px 0;
}

.footer-grid a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #3a5e50;
    font-size: 13px;
}

/* Модальные окна */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: white;
    max-width: 500px;
    width: 90%;
    border-radius: 28px;
    padding: 32px;
}

.modal-content h3 {
    margin-bottom: 20px;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    margin-bottom: 16px;
    font-family: inherit;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

/* Адаптив */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-grid {
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
    }
    
    .nav-inner {
        flex-direction: column;
    }
}