/* Fonts loaded via link in header with font-display:swap */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #FF6B35;
    --orange-glow: rgba(255, 107, 53, 0.4);
    --orange-dark: #E55A2B;
    --graphite: #0D0D0D;
    --graphite-light: #1A1A1A;
    --white: #FFFFFF;
    --light: #F5F5F7;
    --gray: #8A8A8E;
    --gray-light: #C7C7CC;
    --border: rgba(255,255,255,0.1);
    --gradient: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%);
    --glass: rgba(255,255,255,0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--graphite);
    background: var(--white);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ HEADER ============ */
header {
    background: var(--graphite);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(13,13,13,0.95);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: var(--gray-light);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--white);
}

nav a:hover::after {
    width: 100%;
}

/* ============ NEWS BLOCK ============ */
.news-block {
    background: rgba(30,30,30,0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 20px 24px;
    margin-top: 40px;
    width: 512px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.news-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 16px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--gray-light);
    white-space: nowrap;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.news-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    -webkit-flex: 1;
    flex: 1;
    word-break: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

@media (max-width: 768px) {
    .news-block {
        padding: 16px 20px;
        margin-top: 30px;
        border-radius: 14px;
        max-width: 100%;
    }
    
    .news-header {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .news-item {
        gap: 10px;
        padding: 8px 0;
    }
    
    .news-date {
        font-size: 0.65rem;
        min-width: 45px;
        padding: 2px 6px;
    }
    
    .news-text {
        font-size: 0.8rem;
    }
}

/* ============ HERO ============ */
.hero {
    background: var(--graphite);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero .container {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-route {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.btn-route {
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-route:hover {
    background: var(--orange);
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 10px 40px var(--orange-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px var(--orange-glow);
}

.btn-secondary {
    background: var(--glass);
    color: var(--white);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--orange);
}

.hero-phone {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.hero-phone a {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.hero-phone p {
    color: var(--gray);
    margin-top: 8px;
    font-size: 0.9rem;
}

/* Messenger Buttons */
.messenger-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.phone-btn,
.telegram-btn,
.whatsapp-btn {
    background: var(--orange);
    color: var(--graphite);
}

.phone-btn:hover,
.telegram-btn:hover,
.whatsapp-btn:hover {
    background: var(--orange-dark);
    transform: scale(1.05);
}

/* ============ SECTIONS ============ */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(255,107,53,0.1);
    color: var(--orange);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

section h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ SERVICES ============ */
#services {
    background: var(--light);
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--gray);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

a.service-card-link {
    text-decoration: none;
    cursor: pointer;
}

a.service-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.25);
    border-color: var(--orange);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-color: rgba(255,107,53,0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,107,53,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.service-content {
    flex: 1;
    min-width: 0;
}

.service-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.service-desc {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.4;
}

.service-price {
    font-weight: 800;
    font-size: 1.05rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
    min-width: 95px;
}

.services-note {
    margin-top: 40px;
    padding: 24px 32px;
    background: var(--white);
    border-radius: 16px;
    border-left: 4px solid var(--orange);
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============ CALLBACK FORM ============ */
.callback-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0D0D0D 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.callback-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.callback-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.callback-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.callback-info > p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.callback-benefits {
    list-style: none;
}

.callback-benefits li {
    color: var(--gray-light);
    font-size: 1rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.callback-benefits li::before {
    content: '';
}

.callback-form {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255,107,53,0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.callback-form .btn-submit {
    width: 100%;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.callback-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.75rem;
    margin-top: 16px;
}

.form-success {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.form-success h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.form-success p {
    color: var(--gray);
    font-size: 1.1rem;
}

.services-note p {
    margin-bottom: 6px;
}

.services-note .highlight {
    color: var(--orange);
    font-weight: 600;
}

.services-note .note-warning {
    color: var(--graphite);
    font-weight: 500;
    background: rgba(255, 107, 53, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.price-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 8px;
    color: var(--orange);
    font-size: 0.9rem;
    text-align: center;
}

/* ============ ABOUT ============ */
#about {
    background: var(--graphite);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at right center, var(--orange-glow) 0%, transparent 60%);
    opacity: 0.3;
}

#about .container {
    position: relative;
    z-index: 10;
}

#about .section-tag {
    background: rgba(255,107,53,0.2);
}

#about h2 {
    color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-content p {
    color: var(--gray-light);
    font-size: 1.15rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--orange);
    transform: translateX(5px);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.advantage-text h4 {
    font-weight: 700;
    margin-bottom: 4px;
}

.advantage-text p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============ GALLERY ============ */
#gallery {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 32px;
    background: rgba(0,0,0,0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ============ CONTACTS ============ */
#contacts {
    background: var(--white);
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 28px 32px;
    background: var(--light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-card h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-card p,
.contact-card a {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-card a {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.contact-card.phone-card a {
    font-size: 1.75rem;
    font-weight: 800;
}

.schedule-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 24px;
}

.schedule-grid .day {
    color: var(--gray);
}

.schedule-grid .time {
    font-weight: 600;
}

.schedule-grid .closed {
    color: var(--orange);
    font-weight: 700;
}

.directions-card {
    background: linear-gradient(135deg, var(--graphite) 0%, var(--graphite-light) 100%);
    color: var(--white);
    padding: 32px;
    border-radius: 20px;
    margin-top: 20px;
}

.directions-card strong {
    color: var(--orange);
}

.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.map-wrapper #yandex-map {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* Payment */
.payment-section {
    text-align: center;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.payment-section h3 {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.payment-badge {
    background: var(--graphite);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.payment-badge:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

/* ============ PRIVACY PAGE ============ */
.privacy-page {
    background: var(--white);
    padding: 140px 0 80px;
    min-height: 100vh;
}

.privacy-page h1 {
    font-size: 2.5rem;
    color: var(--graphite);
    margin-bottom: 40px;
}

.privacy-content {
    max-width: 800px;
    line-height: 1.8;
}

.privacy-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.privacy-content h2 {
    font-size: 1.3rem;
    color: var(--graphite);
    margin-top: 35px;
    margin-bottom: 15px;
}

.privacy-content p {
    color: var(--graphite);
    margin-bottom: 15px;
}

.privacy-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-content li {
    color: var(--graphite);
    margin-bottom: 8px;
}

.privacy-content a {
    color: var(--orange);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-page {
        padding: 100px 0 60px;
    }
    
    .privacy-page h1 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .privacy-content h2 {
        font-size: 1.1rem;
    }
}

/* ============ FOOTER ============ */
footer {
    background: var(--graphite);
    color: var(--white);
    padding: 60px 20px 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

footer .logo {
    font-size: 1.75rem;
}

.footer-phone a {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-privacy {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.footer-privacy a {
    color: var(--gray);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-privacy a:hover {
    color: var(--orange);
}

footer .address {
    color: var(--gray-light);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    /* Header */
    header {
        padding: 12px 0;
    }
    
    .header-container {
        padding: 0 16px;
    }
    
    .logo {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    
    nav ul {
        gap: 16px;
    }
    
    nav a {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    /* Hero */
    .hero {
        padding: 90px 16px 50px;
        min-height: auto;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: -1px;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 10px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 0.95rem;
    }
    
    .hero-phone {
        margin-top: 32px;
        padding-top: 32px;
    }
    
    .hero-phone a {
        font-size: 1.5rem;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-tag {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    
    section h2 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Services */
    .services-intro {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-card {
        padding: 20px;
        gap: 16px;
    }
    
    .service-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 12px;
    }
    
    .service-name {
        font-size: 1rem;
    }
    
    .service-desc {
        font-size: 0.8rem;
    }
    
    .service-price {
        font-size: 1.1rem;
    }
    
    .services-note {
        padding: 20px;
        font-size: 0.85rem;
    }
    
    /* Callback Form */
    .callback-section {
        padding: 50px 0;
    }
    
    .callback-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .callback-info {
        text-align: center;
    }
    
    .callback-info h2 {
        font-size: 1.75rem;
    }
    
    .callback-info > p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .callback-benefits {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
        margin-bottom: 10px;
    }
    
    .callback-benefits li {
        font-size: 0.85rem;
        padding: 4px 0;
    }
    
    .callback-form {
        padding: 24px;
        border-radius: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    
    .callback-form .btn-submit {
        padding: 18px;
        font-size: 1rem;
    }
    
    .form-success {
        padding: 40px 20px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .form-success h3 {
        font-size: 1.5rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .stat-item {
        padding: 20px 12px;
        border-radius: 16px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* About */
    .about-content {
        margin-bottom: 40px;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .advantage-card {
        padding: 20px;
    }
    
    .advantage-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .advantage-text h4 {
        font-size: 0.95rem;
    }
    
    .advantage-text p {
        font-size: 0.85rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-item {
        border-radius: 16px;
    }
    
    /* Contacts */
    .contacts-wrapper {
        gap: 30px;
    }
    
    .contact-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .contact-card h3 {
        font-size: 0.75rem;
    }
    
    .contact-card.phone-card a {
        font-size: 1.4rem;
    }
    
    .schedule-grid {
        gap: 6px 16px;
        font-size: 0.9rem;
    }
    
    .directions-card {
        padding: 24px;
        font-size: 0.9rem;
        border-radius: 16px;
    }
    
    .map-wrapper {
        min-height: 280px;
        border-radius: 16px;
    }
    
    .map-wrapper #yandex-map {
        min-height: 280px;
    }
    
    /* Payment */
    .payment-section {
        margin-top: 50px;
        padding-top: 40px;
    }
    
    .payment-section h3 {
        font-size: 0.85rem;
    }
    
    .payment-methods {
        gap: 10px;
    }
    
    .payment-badge {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    /* Footer */
    footer {
        padding: 40px 16px 30px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    
    footer .logo {
        font-size: 1.4rem;
    }
    
    .footer-phone a {
        font-size: 1.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* ===== HEADER ===== */
    .header-container {
        justify-content: center;
    }
    
    nav {
        display: none;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    /* ===== HERO ===== */
    .hero {
        padding: 80px 12px 40px;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
        margin-bottom: 16px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 24px;
        padding: 0 5px;
    }
    
    .hero-buttons {
        padding: 0 5px;
        gap: 10px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .hero-phone {
        margin-top: 24px;
        padding-top: 24px;
    }
    
    .hero-phone a {
        font-size: 1.3rem;
    }
    
    /* ===== MESSENGER BUTTONS ===== */
    .messenger-buttons {
        margin-top: 20px;
        gap: 10px;
    }
    
    .messenger-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        border-radius: 10px;
    }
    
    /* ===== NEWS BLOCK ===== */
    .news-block {
        margin-top: 24px;
        padding: 14px 16px;
        width: 100%;
    }
    
    .news-header {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .news-item {
        padding: 8px 0;
        gap: 8px;
    }
    
    .news-date {
        font-size: 0.6rem;
        min-width: 40px;
        padding: 2px 5px;
    }
    
    .news-text {
        font-size: 0.75rem;
    }
    
    /* ===== SECTIONS ===== */
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-tag {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    
    section h2 {
        font-size: 1.4rem;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* ===== CALLBACK FORM ===== */
    .callback-section {
        padding: 40px 0;
    }
    
    .callback-info h2 {
        font-size: 1.5rem;
    }
    
    .callback-info > p {
        font-size: 0.9rem;
    }
    
    .callback-benefits li {
        font-size: 0.8rem;
    }
    
    .callback-form {
        padding: 20px;
        border-radius: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    
    .form-group {
        margin-bottom: 14px;
    }
    
    .callback-form .btn-submit {
        padding: 16px;
        font-size: 0.95rem;
    }
    
    .form-note {
        font-size: 0.7rem;
    }
    
    /* ===== SERVICES ===== */
    .services-intro {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .services-grid {
        gap: 10px;
    }
    
    .service-card {
        padding: 16px;
        gap: 12px;
        border-radius: 14px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }
    
    .service-name {
        font-size: 0.9rem;
    }
    
    .service-desc {
        font-size: 0.75rem;
    }
    
    .service-price {
        font-size: 1rem;
    }
    
    .services-note {
        padding: 16px;
        font-size: 0.8rem;
        border-radius: 12px;
    }
    
    /* ===== STATS ===== */
    .stats-grid {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .stat-item {
        padding: 16px 10px;
        border-radius: 14px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* ===== ABOUT ===== */
    .about-content p {
        font-size: 0.9rem;
    }
    
    .advantages-grid {
        gap: 10px;
    }
    
    .advantage-card {
        padding: 16px;
        gap: 12px;
        border-radius: 14px;
    }
    
    .advantage-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .advantage-text h4 {
        font-size: 0.9rem;
    }
    
    .advantage-text p {
        font-size: 0.8rem;
    }
    
    /* ===== GALLERY ===== */
    .gallery-grid {
        gap: 10px;
    }
    
    .gallery-item {
        border-radius: 14px;
    }
    
    /* ===== CONTACTS ===== */
    .contacts-wrapper {
        gap: 20px;
    }
    
    .contact-card {
        padding: 16px;
        border-radius: 14px;
    }
    
    .contact-card h3 {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .contact-card.phone-card a {
        font-size: 1.2rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    .schedule-grid {
        gap: 4px 12px;
        font-size: 0.85rem;
    }
    
    .directions-card {
        padding: 20px;
        font-size: 0.85rem;
        border-radius: 14px;
    }
    
    .map-wrapper {
        min-height: 250px;
        border-radius: 14px;
    }
    
    .map-wrapper #yandex-map {
        min-height: 250px;
    }
    
    /* ===== PAYMENT ===== */
    .payment-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .payment-section h3 {
        font-size: 0.8rem;
    }
    
    .payment-methods {
        gap: 8px;
    }
    
    .payment-badge {
        padding: 8px 14px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    /* ===== FOOTER ===== */
    footer {
        padding: 30px 12px 24px;
    }
    
    .footer-content {
        gap: 12px;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    
    footer .logo {
        font-size: 1.2rem;
    }
    
    .footer-phone a {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        gap: 10px;
    }
    
    .footer-bottom p,
    .address {
        font-size: 0.75rem;
    }
    
    .footer-privacy a {
        font-size: 0.7rem;
    }
    
    /* ===== PRIVACY PAGE ===== */
    .privacy-page {
        padding: 80px 0 50px;
    }
    
    .privacy-page h1 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .privacy-content h2 {
        font-size: 1rem;
        margin-top: 28px;
    }
    
    .privacy-content p,
    .privacy-content li {
        font-size: 0.85rem;
    }
}

/* ===== SERVICE PAGES ===== */
.service-page {
    padding: 120px 0 80px;
}

.service-page h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 30px;
}

.service-page-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-intro {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.service-page h2 {
    font-size: 1.5rem;
    color: var(--orange);
    margin: 40px 0 20px;
}

.price-table {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row span {
    color: var(--light-gray);
}

.price-row .price {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.service-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--light-gray);
    border-bottom: 1px solid var(--border);
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

.service-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    counter-reset: step;
}

.service-steps li {
    padding: 15px 0 15px 50px;
    position: relative;
    color: var(--light-gray);
    border-bottom: 1px solid var(--border);
    counter-increment: step;
}

.service-steps li:before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 32px;
    height: 32px;
    background: var(--orange);
    color: var(--graphite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.service-cta {
    background: linear-gradient(135deg, var(--orange), #ff8a5c);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}

.service-cta h3 {
    color: var(--graphite);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-cta p {
    color: var(--graphite);
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-cta .btn-primary {
    background: var(--graphite);
    color: var(--white);
}

.service-also {
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.service-also p {
    color: var(--light-gray);
    margin: 0;
}

.service-also a {
    color: var(--orange);
    text-decoration: none;
}

.service-also a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .service-page {
        padding: 100px 0 60px;
    }
    
    .service-page h1 {
        font-size: 1.8rem;
    }
    
    .service-intro {
        font-size: 1rem;
    }
    
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .service-cta {
        padding: 30px 20px;
    }
}
