:root {
    --orange: #ff8a00;
    --blue: #229ED9;
    --blue-dark: #1b8bbf;
    --dark: #2b2b2b;
    --gray: #6f6f6f;
    --bg: #f6f9fc;
    --light-gray: #e9ecef;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, #2f9bd6 0%, #1f2b38 70%);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-logo {
    max-width: 120px;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.hero-title {
    font-size: 48px;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.highlight {
    color: var(--orange);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 20px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 24px;
    margin-top: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ===== СЕКЦИИ ===== */
.section {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.section h2 {
    color: var(--blue);
    font-size: 32px;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--light-gray);
    padding-bottom: 15px;
}

/* ===== ОБО МНЕ ===== */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-photo {
    flex: 1;
    text-align: center;
}

.photo-img {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    box-shadow: 0 20px 30px rgba(0,0,0,0.15);
    border: 4px solid white;
}

.about-text {
    flex: 2;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    background: var(--bg);
    padding: 20px;
    border-radius: 15px;
    flex: 1;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--orange);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--orange);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* ===== УСЛУГИ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--orange);
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,138,0,0.1);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 50%;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    border-color: var(--orange);
    background: white;
    transform: scale(1.05);
}

.service-icon svg {
    width: 60px;
    height: 60px;
    stroke: var(--orange);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
    stroke: var(--blue);
    transform: scale(1.05);
}

.service-icon svg circle[fill="var(--orange)"] {
    fill: var(--orange);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg circle[fill="var(--orange)"] {
    fill: var(--blue);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--blue);
    line-height: 1.3;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg);
    border-radius: 15px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    color: var(--orange);
}

.advantage-icon svg {
    width: 60px;
    height: 60px;
    stroke: currentColor;
}

.advantage-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.advantage-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.4;
}

/* ===== СТОИМОСТЬ ===== */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.price-card {
    background: var(--bg);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.price-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.price-card-wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .price-card-wide {
        grid-column: span 1;
    }
}

.price-card h3 {
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 15px;
}

.price-desc {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.4;
}

.price-amount {
    font-size: 32px;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 5px;
}

.price-time {
    font-size: 16px;
    color: var(--gray);
}

/* ===== ЭТАПЫ РАБОТ ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.step-item {
    background: var(--bg);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
}

.step-item:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.step-free {
    background: linear-gradient(135deg, var(--bg), #fff5e6);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-item h3 {
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 15px;
}

.step-item p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

.step-time {
    font-size: 14px;
    color: var(--orange);
    font-weight: bold;
    border-top: 1px solid var(--light-gray);
    padding-top: 15px;
}

/* ===== ФОРМА ОБРАТНОЙ СВЯЗИ ===== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 15px;
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--white);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255,138,0,0.1);
}

.form-footer {
    text-align: center;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(255,138,0,0.3);
}

.submit-button:hover {
    background: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,138,0,0.45);
}

.submit-icon {
    font-size: 20px;
}

.form-note {
    margin-top: 15px;
    color: var(--gray);
    font-size: 14px;
}

/* ===== КНОПКИ ===== */
.tg-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(34,158,217,0.4);
    border: 2px solid transparent;
}

.tg-button:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34,158,217,0.55);
}

.tg-icon {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M22.05 2.4L1.82 10.2c-.9.35-.89 1.6.02 1.94l5.12 1.93 2.01 6.19c.25.77 1.2.97 1.73.36l2.9-3.35 5.65 4.15c.7.52 1.7.12 1.88-.77l3.52-16.53c.2-.94-.67-1.68-1.61-1.32z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    animation: fly 1.8s ease-in-out infinite;
}

.phone-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(255,138,0,0.3);
}

.phone-button:hover {
    background: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,138,0,0.45);
}

.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.phone-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
    fill: none;
}

@keyframes fly {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(-6deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ===== КОНТАКТЫ ===== */
.contact-section {
    text-align: center;
}

.contact-description {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* ===== ФУТЕР ===== */
.footer {
    text-align: center;
    padding: 30px;
    color: var(--gray);
    border-top: 2px solid var(--light-gray);
}

/* ===== УТИЛИТЫ ===== */
.desktop-only {
    display: block;
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-photo {
        order: -1;
        margin-bottom: 20px;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .section {
        padding: 25px;
    }
    
    .section h2 {
        font-size: 26px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-icon {
        width: 90px;
        height: 90px;
    }
    
    .service-icon svg {
        width: 54px;
        height: 54px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tg-button, .phone-button {
        width: 100%;
        justify-content: center;
    }
    
    .desktop-only {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }
    
    .section {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .photo-img {
        max-width: 250px;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .price-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}