/* ============================================================
   АйРус | ПромАльп — Premium Gold Theme
   Тёмный фон + золотые акценты = дорого и премиально
   ============================================================ */

:root {
    --bg-deep: #080b10;
    --bg-primary: #0c1017;
    --bg-secondary: #111620;
    --bg-card: #141b26;
    --bg-card-hover: #1a2230;
    --border-subtle: rgba(255,255,255,0.05);
    --border-gold: rgba(212,175,55,0.15);
    --gold-1: #d4af37;
    --gold-2: #f0c75e;
    --gold-3: #b8860b;
    --gold-glow: rgba(212,175,55,0.12);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; color-scheme: dark; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    padding-top: 72px;
    overflow-x: hidden;
}

/* ==================== TYPOGRAPHY ==================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

.badge-premium {
    display: inline-block;
    background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(240,199,94,0.06));
    color: var(--gold-1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--border-gold);
}

.badge-light {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ==================== SECTIONS ==================== */
.section-dark { padding: 6rem 0; background: var(--bg-primary); }
.section-darker { padding: 6rem 0; background: var(--bg-secondary); }
.section-accent {
    padding: 6rem 0;
    background: linear-gradient(160deg, #1a1a0a 0%, #0f0d05 30%, #0a0a08 60%, #0d0b02 100%);
    position: relative;
    overflow: hidden;
}
.section-accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.06), transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(240,199,94,0.04), transparent 60%);
}
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.min-vh-75 { min-height: 75vh; }

/* ==================== NAVBAR ==================== */
#mainNav {
    background: rgba(8, 11, 16, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.brand-accent { color: var(--gold-1); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; }
.brand-light { color: rgba(255,255,255,0.35); font-weight: 300; font-size: 1.5rem; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.4)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.88rem;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--gold-1);
    background: rgba(212,175,55,0.06);
}

.btn-login {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--gold-1);
    border-radius: 8px;
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}
.btn-login:hover {
    border-color: var(--border-gold);
    color: var(--gold-2);
    background: rgba(212,175,55,0.08);
}

/* ==================== BUTTONS ==================== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    color: #0a0a05;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    transition: var(--transition);
    box-shadow: 0 0 20px var(--gold-glow);
    position: relative;
    overflow: hidden;
}
.btn-gold:hover {
    color: #0a0a05;
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(212,175,55,0.2);
}

.btn-outline-gold {
    border: 1px solid var(--border-gold);
    color: var(--gold-1);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    transition: var(--transition);
    background: transparent;
}
.btn-outline-gold:hover {
    background: rgba(212,175,55,0.08);
    border-color: rgba(212,175,55,0.35);
    color: var(--gold-2);
}

.btn-light {
    background: #fff;
    color: #0a0a05;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-light:hover { transform: translateY(-1px); }

/* ==================== HERO ==================== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: var(--bg-deep);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 80% 40%, rgba(212,175,55,0.03), transparent 70%),
        radial-gradient(ellipse 60% 40% at 20% 70%, rgba(240,199,94,0.02), transparent 70%);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
}
.hero-title span { color: var(--gold-1); }
.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 460px;
    margin-top: 1rem;
}
.hero-stats { gap: 2.5rem; }
.stat-number {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--gold-1);
    letter-spacing: -0.02em;
}
.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Hero rings */
.hero-visual { position: relative; width: 320px; height: 320px; margin: 0 auto; }
.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}
.ring-1 {
    width: 250px; height: 250px;
    border-color: rgba(212,175,55,0.1);
    top: 3%; left: 12%;
    animation: ringSpin 25s linear infinite;
}
.ring-2 {
    width: 190px; height: 190px;
    border-color: rgba(212,175,55,0.15);
    top: 14%; left: 20%;
    animation: ringSpin 18s linear infinite reverse;
}
.ring-3 {
    width: 130px; height: 130px;
    border-color: rgba(240,199,94,0.12);
    top: 25%; left: 28%;
    animation: ringSpin 14s linear infinite;
}
.hero-diamond {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
    transform: rotate(45deg);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(212,175,55,0.3), 0 0 80px rgba(212,175,55,0.1);
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
}
.hero-icon-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

@keyframes ringSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== SERVICE TABS ==================== */
.service-tabs { gap: 0.5rem; }
.service-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    transition: var(--transition);
}
.service-tabs .nav-link:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.08);
    color: #fff;
}
.service-tabs .nav-link.active {
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(240,199,94,0.04));
    border-color: var(--border-gold);
    color: var(--gold-1);
    box-shadow: 0 0 0 1px var(--border-gold), 0 4px 16px rgba(0,0,0,0.3);
}
.tab-icon {
    font-size: 1.35rem;
    color: var(--gold-2);
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.service-tabs .nav-link.active .tab-icon { color: var(--gold-1); }
.tab-text strong { display: block; font-size: 0.85rem; }
.tab-text small { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* Service card */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    min-height: 360px;
}
.service-features {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}
.service-features li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
}
.service-features li i { color: var(--gold-2); margin-right: 0.5rem; font-size: 0.85rem; }

.service-visual {
    border-radius: var(--radius-md);
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}
.service-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212,175,55,0.06), transparent 70%);
}
.service-icon {
    font-size: 5rem;
    color: var(--gold-1);
    opacity: 0.12;
}

/* ==================== CLIENTS ==================== */
.client-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
}
.client-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(240,199,94,0.06));
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem;
    color: var(--gold-1);
}
.client-badge {
    display: inline-block;
    background: rgba(212,175,55,0.1);
    color: var(--gold-2);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
}

.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.carousel-dots button {
    width: 36px; height: 3px;
    border-radius: 2px;
    border: none;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    transition: var(--transition);
}
.carousel-dots button.active { background: var(--gold-1); width: 56px; }

/* ==================== NEWS ==================== */
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    height: 100%;
    transition: var(--transition);
    cursor: pointer;
}
.news-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}
.news-date { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.news-link {
    color: var(--gold-2);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.news-link:hover { color: var(--gold-1); gap: 0.6rem; }

/* ==================== CONTACT ==================== */
.contact-icon { color: var(--gold-1); width: 24px; margin-right: 0.75rem; text-align: center; }
.contact-lines p { margin-bottom: 0.75rem; font-size: 1rem; color: rgba(255,255,255,0.8); }
.contact-lines a { color: rgba(255,255,255,0.85); text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; color: #fff; }
.contact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

/* ==================== FOOTER ==================== */
.footer-section { background: var(--bg-deep); border-top: 1px solid var(--border-subtle); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-2); }

/* ==================== BOOKING MODAL ==================== */
.booking-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
}
.booking-modal .modal-header { padding: 1.5rem 1.5rem 0; }
.booking-modal .modal-body { padding: 1.5rem; }
.booking-modal .form-control {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    transition: var(--transition);
}
.booking-modal .form-control:focus {
    border-color: var(--border-gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
    background: var(--bg-secondary);
    color: #fff;
}
.booking-modal .form-control::placeholder { color: var(--text-muted); }
.booking-modal .form-label { color: var(--text-secondary); }
.booking-modal .btn-close { filter: invert(0.7); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .service-tabs {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }
    .service-tabs .nav-link {
        flex: 0 0 calc(50% - 0.2rem);
        gap: 0.5rem;
        padding: 0.7rem;
    }
    .tab-icon { font-size: 1.1rem; width: auto; }
    .tab-text strong { font-size: 0.78rem; }
    .tab-text small { display: none; }
    .service-card { padding: 1.5rem; }
    .section-title { font-size: 2rem; }
    .hero-stats { gap: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-dark,
    .section-darker,
    .section-accent { padding: 3rem 0; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
}
