:root {
    --primary: #9A7B3C;
    --primary-dark: #7D6330;
    --primary-light: #C5A058;
    --dark: #1A1A1A;
    --gray: #525252;
    --gray-light: #9CA3AF;
    --light: #F3F4F6;
    --white: #FFFFFF;
    --success: #059669;
    --radius: 10px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
address { font-style: normal; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-primary { background: #B8860B; color: #fff; }
.btn-primary:hover { background: #996F0A; transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-outline-white { background: transparent; color: #000; border: 2px solid #000; }
.btn-outline-white:hover { background: #000; color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo img { height: 45px; width: 45px; object-fit: contain; border-radius: 8px; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--gray); transition: color 0.3s; }
.nav a:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.phone-link:hover { color: var(--primary); }

/* Language Switcher */
.lang-switcher, .lang-switcher-mobile {
    display: flex;
    gap: 4px;
    background: var(--light);
    padding: 4px;
    border-radius: 8px;
}
.lang-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    color: var(--gray);
    transition: all 0.3s;
}
.lang-btn.active { background: #B8860B; color: #fff; }
.lang-btn:hover:not(.active) { color: var(--dark); }
.lang-switcher-mobile { display: none; }

/* Mobile Header */
.mobile-header-right { display: none; align-items: center; gap: 12px; }
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--dark); transition: all 0.3s; }

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px 16px;
    z-index: 999;
    overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-lang-switcher { display: none; }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.mobile-nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 14px 16px;
    background: var(--light);
    border-radius: var(--radius);
    transition: all 0.3s;
}
.mobile-nav a:hover { background: var(--primary); color: var(--white); }
.mobile-menu-cta { display: flex; flex-direction: column; gap: 12px; }

/* Hero */
.hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 20px;
}
.hero h1 { font-size: 44px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--primary); }
.hero-subtitle { font-size: 17px; color: var(--gray); margin-bottom: 28px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.hero-feature { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.hero-feature svg { color: var(--success); width: 20px; height: 20px; flex-shrink: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); }
.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}
.hero-image-badge .number { display: block; font-size: 24px; font-weight: 800; color: var(--dark); }
.hero-image-badge .text { font-size: 12px; color: var(--gray); }

/* Stats */
.stats { padding: 48px 0; background: var(--dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 36px; font-weight: 800; color: #D4AF37; margin-bottom: 4px; }
.stat-label { font-size: 14px; color: #D1D5DB; }

/* Section Header */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--gray); max-width: 500px; margin: 0 auto; }

/* Services */
.services { padding: 80px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    transition: all 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 12px;
    margin-bottom: 16px;
    color: #8B6914;
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.5; }

/* Results */
.results { padding: 80px 0; background: var(--light); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result-card { overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); }
.result-card img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.3s; }
.result-card:hover img { transform: scale(1.03); }
.results-cta { text-align: center; margin-top: 40px; }

/* Clinic */
.clinic { padding: 80px 0; }
.clinic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 180px);
    gap: 12px;
    margin-bottom: 40px;
}
.clinic-card { overflow: hidden; border-radius: 12px; }
.clinic-card img { width: 100%; height: 100%; object-fit: cover; }
.clinic-card-large { grid-column: span 2; grid-row: span 2; }
.clinic-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.clinic-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.clinic-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #B8860B;
    color: #000;
    border-radius: 50%;
}
.clinic-feature-icon svg { width: 18px; height: 18px; }

/* Reviews */
.reviews { padding: 80px 0; background: var(--light); }
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.video-wrapper { position: relative; padding-bottom: 177.78%; height: 0; background: #1a1a1a; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #B8860B 0%, #8B6914 100%);
    text-align: center;
}
.cta-content h2 { font-size: 36px; font-weight: 800; color: #000; margin-bottom: 12px; }
.cta-content p { font-size: 17px; color: rgba(0,0,0,0.7); margin-bottom: 28px; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Contact */
.contact { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.contact-info > p { font-size: 15px; color: var(--gray); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 14px; }
.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius);
    color: #8B6914;
    flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--gray); margin: 0; }
.contact-item a { transition: color 0.3s; }
.contact-item a:hover { color: var(--primary); }
.map-link { display: inline-block; font-size: 13px; font-weight: 600; color: #8B6914 !important; text-decoration: underline; margin-top: 4px; }
.social-links { display: flex; gap: 10px; }
.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius);
    color: var(--gray);
    transition: all 0.3s;
}
.social-link:hover { background: var(--primary); color: var(--white); }

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-size: 15px;
    transition: all 0.3s;
    background: var(--light);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-note { text-align: center; font-size: 12px; color: var(--gray); margin-top: 14px; }

/* Footer */
.footer { padding: 48px 0 32px; background: var(--dark); }
.footer-content { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.footer-logo { height: 50px; width: 50px; object-fit: contain; border-radius: 8px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--gray-light); margin-bottom: 6px; }
.footer-copyright { font-size: 12px; color: var(--gray); margin-top: 20px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-column h4 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-column a { display: block; font-size: 13px; color: var(--gray-light); padding: 6px 0; transition: color 0.3s; }
.footer-column a:hover { color: var(--primary); }

/* Telegram Float */
.telegram-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0088cc;
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: transform 0.3s;
}
.telegram-float:hover { transform: scale(1.1); }
.telegram-float svg { width: 26px; height: 26px; }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .hero-subtitle { margin: 0 auto 28px; max-width: 500px; }
    .hero-features { justify-content: center; }
    .hero-cta { justify-content: center; }
    .hero-image { max-width: 400px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .clinic-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .clinic-card-large { grid-column: span 2; grid-row: span 1; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-logo { margin: 0 auto 12px; }
    .footer-links { justify-items: center; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav, .header-cta { display: none; }
    .mobile-header-right { display: flex; }
    .lang-switcher-mobile { display: flex; }
    .mobile-menu-btn { display: flex; }
    
    .header-content { height: 60px; }
    .logo img { height: 40px; width: 40px; }
    
    .hero { padding: 80px 0 48px; }
    .hero h1 { font-size: 28px; }
    .hero-subtitle { font-size: 15px; }
    .hero-badge { font-size: 12px; padding: 6px 12px; }
    .hero-features { gap: 12px; }
    .hero-feature { font-size: 13px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-image-badge { padding: 10px 14px; bottom: 12px; left: 12px; }
    .hero-image-badge .number { font-size: 20px; }
    
    .stats { padding: 36px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 28px; }
    .stat-label { font-size: 12px; }
    
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 26px; }
    .section-header p { font-size: 14px; }
    
    .services, .results, .clinic, .reviews, .contact { padding: 56px 0; }
    .services-grid { grid-template-columns: 1fr; gap: 12px; }
    .service-card { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
    .service-icon { margin-bottom: 0; flex-shrink: 0; width: 48px; height: 48px; }
    .service-card h3 { font-size: 16px; margin-bottom: 6px; }
    .service-card p { font-size: 13px; }
    
    .results-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .result-card img { height: 200px; }
    
    .clinic-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 10px; }
    .clinic-card-large { grid-column: span 1; }
    .clinic-card { height: 180px; }
    .clinic-card-large { height: 220px; }
    .clinic-features { flex-direction: column; align-items: center; gap: 12px; }
    .clinic-feature { background: var(--light); padding: 12px 20px; border-radius: var(--radius); width: 100%; max-width: 280px; }
    
    .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    
    .cta-section { padding: 56px 0; }
    .cta-content h2 { font-size: 24px; }
    .cta-content p { font-size: 15px; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }
    
    .contact-form-wrapper { padding: 24px 20px; }
    .contact-form h3 { font-size: 20px; }
    
    .footer-links { grid-template-columns: 1fr; gap: 24px; }
    
    .telegram-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* Small Mobile */
@media (max-width: 380px) {
    .container { padding: 0 12px; }
    .hero h1 { font-size: 24px; }
    .btn-lg { padding: 14px 20px; font-size: 14px; }
    .stat-number { font-size: 24px; }
    .results-grid { grid-template-columns: 1fr; }
    .result-card img { height: 280px; }
    .reviews-grid { grid-template-columns: 1fr; }
}

/* Performance: Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
