/* TourCue — общие стили сайта */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f6f8;
    color: #1a1a2e;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tcr-site-header {
    background: #0f172a;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.tcr-header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    flex-wrap: wrap;
}

.tcr-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-right: auto;
}

.tcr-brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
}

.tcr-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.tcr-nav a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.tcr-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.tcr-nav a.active {
    color: #fff;
    background: #7c3aed;
}

.tcr-nav-external {
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.tcr-nav-external a {
    font-size: 0.85rem;
    opacity: 0.75;
}

.tcr-main {
    flex: 1;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

.tcr-main.wide { max-width: 960px; }

h1 { font-size: 1.75rem; margin-bottom: 8px; }
h2 { font-size: 1.1rem; margin: 24px 0 8px; color: #7c3aed; }
h2:first-child { margin-top: 0; }
.meta { color: #64748b; font-size: 0.9rem; margin-bottom: 24px; }
p, li { margin-bottom: 12px; }
ol, ul { padding-left: 1.25rem; }

.card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: #7c3aed;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover { background: #6d28d9; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn.secondary { background: #1e293b; }
.btn.secondary:hover { background: #0f172a; }
.btn.block { width: 100%; text-align: center; }

.note {
    background: #f5f3ff;
    border-left: 4px solid #7c3aed;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}

.alert {
    background: #fee2e2;
    border-left: 4px solid #b91c1c;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.price { font-size: 1.5rem; font-weight: 700; color: #7c3aed; margin-bottom: 12px; }

label.field { display: block; font-weight: 600; margin-bottom: 8px; }

input[type=email],
input[type=text],
input[type=password],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 16px;
}

.status { margin-top: 12px; font-size: 0.95rem; }
.status.ok { color: #15803d; }
.status.err { color: #b91c1c; }

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.hero-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}

.hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-card h3 { color: #7c3aed; margin-bottom: 8px; font-size: 1rem; }
.hero-card p { color: #64748b; font-size: 0.9rem; margin: 0; }

.tcr-site-footer {
    text-align: center;
    padding: 24px 20px;
    color: #64748b;
    font-size: 0.875rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.tcr-site-footer a { color: #7c3aed; text-decoration: none; }
.tcr-site-footer a:hover { text-decoration: underline; }
.tcr-footer-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

@media (max-width: 640px) {
    .tcr-header-inner { padding: 10px 16px; }
    .tcr-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .tcr-nav-external { border-left: 0; margin-left: 0; padding-left: 0; }
}
