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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.5;
}

header {
    background: #1a1a2e;
    color: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

header h1 { font-size: 1.25rem; font-weight: 700; }
header a { color: #a0c4ff; text-decoration: none; font-size: 0.9rem; }
header a:hover { text-decoration: underline; }

main { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.tour-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
}

.tour-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.tour-card h2 {
    font-size: 1.1rem;
    padding: 16px 16px 4px;
}

.tour-card .museum {
    color: #666;
    font-size: 0.85rem;
    padding: 0 16px;
}

.tour-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    padding: 8px 16px;
    margin-top: auto;
}

.tour-card .btn {
    margin: 0 16px 16px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: opacity .15s;
}

.btn:hover { opacity: .85; }
.btn-primary { background: #1a1a2e; color: #fff; }
.btn-buy { background: #2563eb; color: #fff; width: 100%; }
.btn-pushkin { background: #7c3aed; color: #fff; width: 100%; margin-top: 8px; }

.stats-row {
    display: flex;
    gap: 24px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.stat {
    background: #fff;
    border-radius: 12px;
    padding: 20px 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    min-width: 160px;
}

.stat-value { font-size: 2rem; font-weight: 700; color: #1a1a2e; }
.stat-label { color: #666; font-size: 0.85rem; margin-top: 4px; }

table { width: 100%; border-collapse: collapse; margin-top: 16px; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #e5e7eb; }
th { font-weight: 600; background: #f9fafb; }

form { display: flex; flex-direction: column; gap: 12px; max-width: 400px; }
input, select, textarea {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2563eb;
}
