:root {
    --gold: #FFD700;
    --gold-dark: #B8860B;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--black);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- ЖИВОЙ ФОН (Mesh Gradient) --- */
.mesh-gradient {
    position: fixed;
    inset: -50%;
    z-index: -2;
    background: radial-gradient(circle at 20% 30%, #1a1500 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, #0a0a0a 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, #050505 0%, #000 100%);
    filter: blur(80px);
    animation: meshMove 25s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(5deg) scale(1.1) translate(20px, 20px); }
}

.noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: url('https://grainy-gradients.vercel.app');
}

/* --- КОНТЕЙНЕР --- */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ШАПКА (HEADER) --- */
.header {
    padding: 15px 0;
    position: sticky;
    top: 10px;
    z-index: 1000;
    margin: 0 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    border-radius: 25px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 1px;
}

.logo span span {
    color: var(--gold);
    font-weight: 300;
}

.logo-svg {
    width: 24px;
    height: 24px;
    fill: var(--gold);
    filter: drop-shadow(0 0 5px var(--gold));
}

.header-tel {
    color: var(--gold);
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

/* --- ГЛАВНЫЙ БЛОК (HERO) --- */
.hero {
    text-align: center;
    padding: 60px 25px;
    margin-top: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: var(--glass);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    border-radius: 40px;
}

.status-badge {
    font-size: 9px;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 25px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 15px;
}

.gold-text {
    background: linear-gradient(90deg, #FFD700, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: #aaa;
    font-size: 16px;
    max-width: 500px;
    margin: 15px auto 0;
}

/* --- КНОПКИ --- */
.hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.gold {
    background: var(--gold);
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.wa { background: #25D366; color: #fff; }
.tg { background: #229ED9; color: #fff; }

.btn:hover {
    transform: scale(1.05) translateY(-5px);
    filter: brightness(1.1);
}

/* --- ВКЛАДКИ (TABS) --- */
.tabs-section { margin-top: 40px; }

.tabs-nav {
    display: flex;
    padding: 6px;
    margin-bottom: 15px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 22px;
}

.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
    flex: 1;
    padding: 14px 22px;
    border: none;
    background: none;
    color: #888;
    cursor: pointer;
    font-weight: 800;
    border-radius: 16px;
    transition: 0.3s;
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--gold);
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.tab-content {
    display: none;
    padding: 40px;
    background: var(--glass);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    border-radius: 35px;
}

.tab-content.active {
    display: block;
    animation: tabPop 0.5s ease-out;
}

@keyframes tabPop {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

h2 { color: var(--gold); margin-bottom: 20px; font-size: 24px; }

.quote {
    border-left: 4px solid var(--gold);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
    border-radius: 0 20px 20px 0;
}

.practice-grid { display: grid; gap: 25px; }
.p-item h4 { color: var(--gold); margin-bottom: 8px; font-size: 18px; }
.p-item p { color: #ccc; font-size: 15px; }

.price-list { display: flex; flex-direction: column; gap: 15px; }
.price-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.price-row strong { color: var(--gold); font-size: 16px; }

/* --- СЕКЦИЯ "ДЕЛА" --- */
.section-label {
    text-align: center;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 4px;
    margin: 60px 0 25px;
    font-weight: 900;
    opacity: 0.8;
}

.cases-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.case-tile {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 28px;
    transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    text-decoration: none;
}

.case-tile:hover {
    transform: scale(1.15) rotate(8deg);
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
}

.case-tile svg {
    width: 38px;
    height: 38px;
    fill: var(--gold);
}

/* --- КАРТА --- */
.map-box {
    text-align: center;
    padding: 60px 30px;
    margin-bottom: 80px;
}

.map-btn {
    background: #fff;
    color: #000;
    margin-top: 30px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

/* --- АНИМАЦИИ (FADE IN) --- */
.animate-drop { animation: dropIn 1s cubic-bezier(0.2, 1, 0.2, 1); }
.animate-pop { animation: popIn 1s cubic-bezier(0.2, 1, 0.2, 1) backwards; }

@keyframes dropIn {
    from { transform: translateY(-60px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ --- */
@media (max-width: 600px) {
    .header { top: 5px; }
    .hero { padding: 45px 20px; border-radius: 35px; }
    .hero-btns .btn { width: 100%; }
    .tab-btn { font-size: 10px; padding: 12px 15px; }
    .tab-content { padding: 25px; border-radius: 30px; }
    .case-tile { width: 75px; height: 75px; }
    .container { padding: 0 15px; }
}
