:root {
    --bg: #0a0d12;
    --bg-light: #121820;
    --gold: #d4af37;
    --text: #c0c5cb;
    --white: #ffffff;
    --border: rgba(212, 175, 55, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.main-header { position: sticky; top: 0; z-index: 1000; background: rgba(10, 13, 18, 0.98); border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); }
.top-bar { background: #05070a; font-size: 11px; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; }
.header-main { min-height: 90px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 22px; font-weight: bold; color: #fff; letter-spacing: 2px; display: flex; flex-direction: column; }
.logo-sub { font-size: 10px; color: var(--gold); text-transform: uppercase; letter-spacing: 3px; margin-top: 5px; }
.main-nav a { color: #fff; text-decoration: none; margin-left: 20px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.main-nav a:hover { color: var(--gold); }

/* HERO */
.hero { min-height: 60vh; position: relative; display: flex; align-items: center; padding: 60px 0; }
.hero-bg { position: absolute; top:0; left:0; width:100%; height:100%; z-index:-1; }
.hero-bg img { width:100%; height:100%; object-fit:cover; filter: brightness(0.3); }
.hero-card { max-width: 600px; background: rgba(18, 24, 32, 0.95); padding: 50px; border: 1px solid var(--border); }
.gold-line { width: 60px; height: 2px; background: var(--gold); margin-bottom: 25px; }
.btn-gold { display: inline-block; padding: 18px 35px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; font-weight: bold; margin-top: 20px; text-transform: uppercase; }

/* УСЛУГИ */
.section-padding { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; font-family: 'Playfair Display', serif; font-size: 36px; color: #fff; }
.services-wrapper { display: flex; flex-direction: column; gap: 30px; }
.service-item { display: grid; grid-template-columns: 1fr 1.5fr 1.5fr; background: var(--bg-light); border: 1px solid var(--border); transition: 0.3s; }
.service-item:hover { border-color: var(--gold); }
.s-col { padding: 40px; border-right: 1px solid var(--border); }
.s-header { text-align: center; background: rgba(212,175,55,0.03); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.s-header i { font-size: 35px; color: var(--gold); margin-bottom: 15px; }
.s-header h3 { color: var(--gold); font-size: 20px; }
.s-col h5 { font-size: 12px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; letter-spacing: 1px; }
.s-list ul { list-style: none; font-size: 15px; }
.s-list li { margin-bottom: 10px; color: #fff; }

/* КОМАНДА - ФОТО 180PX */
.bg-alt { background: #0d1117; }
.team-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.expert-card { background: var(--bg-light); padding: 40px; border: 1px solid var(--border); border-left: 4px solid var(--gold); margin-bottom: 25px; }
.expert-header { display: flex; gap: 30px; align-items: center; margin-bottom: 25px; }
.gold-frame { width: 180px; height: 180px; flex-shrink: 0; border-radius: 12px; padding: 3px; background: linear-gradient(135deg, var(--gold), #fff); overflow: hidden; }
.gold-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.approach-sidebar { background: var(--bg-light); padding: 40px; border: 1px solid var(--gold); height: fit-content; position: sticky; top: 110px; }
.sidebar-label { color: var(--gold); font-weight: bold; text-transform: uppercase; margin-bottom: 20px; display: block; border-bottom: 1px solid var(--border); padding-bottom: 10px; }

/* ДИПЛОМЫ */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.cert-card { background: #fff; padding: 15px; text-align: center; border: 1px solid var(--gold); transition: 0.3s; }
.cert-card:hover { transform: translateY(-5px); }
.cert-card img { width: 100%; height: 380px; object-fit: contain; }
.cert-label { background: var(--bg); color: var(--gold); padding: 12px; font-size: 12px; font-weight: bold; text-transform: uppercase; margin-top: 10px; }

/* КАК МЫ РАБОТАЕМ УЛУЧШЕННЫЙ */
.work-steps-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 80px; position: relative; }
.work-step { text-align: center; position: relative; padding: 20px; }
.step-icon-wrap { width: 100px; height: 100px; background: var(--bg-light); border: 2px solid var(--gold); border-radius: 50%; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.step-icon-wrap i { font-size: 32px; color: var(--gold); }
.step-number { position: absolute; top: -5px; right: -5px; width: 30px; height: 30px; background: var(--gold); color: var(--bg); border-radius: 50%; font-weight: bold; display: flex; align-items: center; justify-content: center; }
.step-line { position: absolute; top: 50px; left: 60%; width: 80%; height: 1px; background: var(--border); z-index: 1; }
.urgent-cta-box { background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(10, 13, 18, 1) 100%); border: 1px solid var(--gold); padding: 60px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.urgent-badge { background: var(--gold); color: var(--bg); padding: 10px 20px; font-weight: bold; text-transform: uppercase; transform: rotate(-90deg); }
.urgent-main-text { font-size: 20px; color: #fff; margin-bottom: 10px; font-family: 'Playfair Display', serif; }
.btn-gold-filled { padding: 20px 40px; background: var(--gold); color: var(--bg); text-decoration: none; font-weight: bold; text-transform: uppercase; transition: 0.3s; }
.btn-gold-filled:hover { background: #fff; }

/* WHATSAPP */
.wa-fixed-button { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 1000; text-decoration: none; }
.wa-pulse { position: absolute; width: 100%; height: 100%; background: #25d366; border-radius: 50%; z-index: -1; animation: wa-pulse-ani 2s infinite; }
@keyframes wa-pulse-ani { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* FOOTER */
.footer-bottom { background: #05070a; padding: 30px 0; text-align: center; font-size: 12px; border-top: 1px solid var(--gold); }

/* MOBILE */
@media (max-width: 992px) {
    .service-item { grid-template-columns: 1fr; }
    .s-col { border-right: none; border-bottom: 1px solid var(--border); }
    .team-grid { grid-template-columns: 1fr; }
    .approach-sidebar { position: static; order: -1; margin-bottom: 40px; }
    .work-steps-container { grid-template-columns: repeat(2, 1fr); }
    .step-line { display: none; }
    .urgent-cta-box { grid-template-columns: 1fr; text-align: center; }
    .urgent-badge { transform: none; width: fit-content; margin: 0 auto; }
}

.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: 0.8s ease-out; }
.animate-on-scroll.active { opacity: 1; transform: translateY(0); }