:root {
    --bg-main: #f8f9fa;
    --bg-card: #ffffff;
    --text-main: #111111;
    --text-muted: #666666;
    
    --accent: #FFC107;
    --accent-hover: #E0A800;
    --accent-dark: #D39E00;
    
    --border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
    
    --transition: cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body { background-color: var(--bg-main); color: var(--text-main); font-family: 'Inter', sans-serif; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* Кастомный курсор */
.cursor { width: 6px; height: 6px; background-color: var(--text-main); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }
.cursor-follower { width: 40px; height: 40px; border: 2px solid var(--accent); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.3s var(--transition), height 0.3s var(--transition), background-color 0.3s var(--transition); }
.cursor-follower.active { width: 60px; height: 60px; background-color: rgba(255, 193, 7, 0.2); border-color: transparent; }

/* Шапка */
.header { position: fixed; top: 0; width: 100%; z-index: 100; padding: 30px 0; transition: padding 0.4s var(--transition), background-color 0.4s var(--transition), box-shadow 0.4s var(--transition); }
.header.scrolled { padding: 15px 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 22px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-main); }
.logo span { color: var(--accent-dark); }
.nav-menu a { color: var(--text-main); text-decoration: none; margin: 0 20px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s; }
.nav-menu a:hover { color: var(--accent-dark); }
.phone { color: var(--text-main); text-decoration: none; font-weight: 700; font-size: 16px; }

/* Главный экран */
.hero { height: 100vh; display: flex; align-items: center; position: relative; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, rgba(255, 193, 7, 0.1) 0%, var(--bg-main) 60%); z-index: -1; }
.promo-badge { display: inline-block; background: var(--bg-card); color: var(--text-main); padding: 10px 20px; border-radius: 100px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); border-left: 4px solid var(--accent); }
.reveal-overflow { overflow: hidden; margin-bottom: 5px; }
.hero h1 { font-size: clamp(40px, 7vw, 90px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; color: var(--text-main); }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--text-muted); max-width: 600px; margin: 30px 0 40px 0; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; border-radius: 100px; position: relative; overflow: hidden; transition: background 0.3s ease, transform 0.3s ease; box-shadow: var(--shadow-sm); }
.btn-primary { background-color: var(--accent); color: #111; padding: 20px 40px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-text { position: relative; z-index: 2; }

/* Блок Достижений (Счетчики) */
.stats-section { padding: 60px 0; margin-top: -60px; position: relative; z-index: 10; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 30px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-value { font-size: 42px; font-weight: 800; color: var(--accent-dark); margin-bottom: 5px; line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* Секции общие */
section { padding: 100px 0; }
.section-header { margin-bottom: 80px; }
.subtitle { display: block; color: var(--accent-dark); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; font-weight: 700; }
.title-large { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--text-main); }

/* Философия (Боли) */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.adv-card { background: var(--bg-card); border: 1px solid var(--border); padding: 50px 40px; border-radius: 12px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition), border-color 0.4s var(--transition); }
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.adv-title { font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--text-main); }
.adv-text { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.adv-text strong { color: var(--accent-dark); display: block; margin-bottom: 5px; font-weight: 700; }

/* Услуги Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.bento-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 50px 40px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: all 0.4s var(--transition); position: relative; overflow: hidden; }
.bento-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); opacity: 0; transition: opacity 0.4s ease; }
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.bento-card:hover::before { opacity: 1; }
.bento-tag { display: inline-block; background: rgba(255, 193, 7, 0.15); color: var(--accent-dark); padding: 6px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; border-radius: 100px; align-self: flex-start; margin-bottom: 25px; }
.bento-tag.opcional { background: #f0f0f0; color: var(--text-muted); }
.bento-title { font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin-bottom: 30px; color: var(--text-main); }
.bento-list { list-style: none; margin-bottom: 40px; flex-grow: 1; }
.bento-list li { font-size: 15px; color: var(--text-muted); margin-bottom: 15px; padding-left: 24px; position: relative; font-weight: 500;}
.bento-list li::before { content: '✔'; position: absolute; left: 0; top: 0; font-size: 12px; color: var(--accent-dark); font-weight: bold; }
.bento-link { color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; transition: color 0.3s ease; }
.bento-link span { margin-left: 10px; color: var(--accent-dark); font-size: 18px; transition: transform 0.3s ease; }
.bento-card:hover .bento-link { color: var(--accent-dark); }
.bento-card:hover .bento-link span { transform: translateX(10px); }

/* Промо-блок (Лид-магнит) */
.promo-section { padding: 40px 0 80px 0; }
.promo-box { background: var(--bg-card); border: 1px solid var(--border); padding: 60px; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; gap: 40px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.promo-box::after { content: ''; position: absolute; top: -50%; right: -10%; width: 50%; height: 200%; background: radial-gradient(circle, rgba(255,193,7,0.15) 0%, transparent 70%); pointer-events: none; }
.promo-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 15px; color: var(--text-main); }
.promo-content p { font-size: 16px; color: var(--text-muted); max-width: 600px; line-height: 1.6; font-weight: 500;}
.promo-action { flex-shrink: 0; position: relative; z-index: 2; }

/* Карта */
.map-section { padding: 0 0 50px 0; }
.map-wrapper { width: 100%; height: 450px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
[class*="ymaps-2"][class*="-ground-pane"] { filter: grayscale(0.8) contrast(1.1) brightness(1.1); } /* Легкая стилизация под дизайн */

/* Контакты и форма */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.address-item { margin-bottom: 30px; font-size: 18px; color: var(--text-muted); }
.address-item strong { color: var(--text-main); display: block; margin-bottom: 5px; font-weight: 700;}

.premium-form { background: var(--bg-card); padding: 50px; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md); }
.form-header { margin-bottom: 40px; }
.form-header h3 { font-size: 24px; font-weight: 800; margin-bottom: 5px; color: var(--text-main); }
.form-header p { color: var(--accent-dark); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.input-group { position: relative; margin-bottom: 40px; }
.input-group input { width: 100%; background: transparent; border: none; border-bottom: 2px solid var(--border); padding: 15px 0; font-size: 16px; color: var(--text-main); outline: none; font-weight: 500; transition: border-color 0.3s ease; }
.input-group label { position: absolute; top: 15px; left: 0; color: var(--text-muted); transition: 0.3s var(--transition); pointer-events: none; font-weight: 500; }
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label { top: -18px; font-size: 12px; color: var(--accent-dark); font-weight: 700; }
.input-group input:focus { border-bottom-color: var(--accent); }
.btn-submit { width: 100%; background: var(--text-main); color: #fff; padding: 22px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; border-radius: 8px; transition: background 0.3s ease; }
.btn-submit:hover { background: var(--accent); color: #111; }
.agreement { display: flex; gap: 10px; font-size: 12px; color: var(--text-muted); cursor: pointer; line-height: 1.4; font-weight: 500;}

/* Cookie */
.cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background: var(--bg-card); border-top: 1px solid var(--border); padding: 20px; display: flex; justify-content: center; align-items: center; gap: 30px; z-index: 10000; transition: bottom 0.5s ease; box-shadow: 0 -10px 40px rgba(0,0,0,0.05); }
.cookie-banner.show { bottom: 0; }
.cookie-banner p { font-size: 14px; max-width: 600px; margin: 0; color: var(--text-main); font-weight: 500;}
.cookie-buttons { display: flex; gap: 10px; }
.btn-cookie { padding: 10px 20px; border: none; font-weight: 700; border-radius: 4px; transition: transform 0.2s ease; }
.btn-cookie.accept { background: var(--accent); color: #111; }
.btn-cookie.reject { background: #f0f0f0; color: var(--text-muted); }
.btn-cookie:hover { transform: translateY(-2px); }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--border); background: var(--bg-card); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.footer-links a { color: var(--text-main); text-decoration: none; margin-left: 30px; font-weight: 600; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-dark); }

/* Адаптив */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-grid, .bento-grid { grid-template-columns: 1fr; gap: 40px; }
    .promo-box { flex-direction: column; text-align: center; padding: 40px 30px; }
    .premium-form { padding: 40px 20px; }
    .header-inner .nav-menu { display: none; } 
    .cursor, .cursor-follower { display: none; }
    * { cursor: auto; }
    .cookie-banner { flex-direction: column; text-align: center; gap: 15px; }
    .map-wrapper { height: 300px; }
}