:root {
    --primary-color: #182b41;
    --secondary-color: #f5d135;
    --background-color: #fcfbf7;
}

body {
    background-color: var(--background-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo-prof {
    color: white;
}

.logo-sushka {
    color: var(--secondary-color);
}

.phone {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-color) 0%, #f8f6f0 100%);
}

.hero-content h1 {
    color: var(--primary-color);
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .quiz-button {
        width: 100%;
        padding: 18px 20px;
        font-size: 16px;
    }
    
    .service-card {
        padding: 30px 15px;
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .quiz-container {
        padding: 25px 20px;
        margin: 0 15px;
    }
    
    .quiz-step h3 {
        font-size: 20px;
    }
    
    .quiz-option {
        padding: 15px;
        font-size: 16px;
    }
    
    .form-input {
        font-size: 16px;
        padding: 18px 15px;
    }
    
    .quiz-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .quiz-buttons-right {
        margin-left: 0;
        width: 100%;
    }
    
    .quiz-btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .header .uk-flex {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        font-size: 20px;
        flex: 1;
        min-width: 0;
    }
    
    .logo-prof {
        color: white;
    }
    
    .logo-sushka {
        color: var(--secondary-color);
    }
    
    .phone {
        font-size: 16px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .services-section {
        padding: 50px 0;
    }
    
    .benefits-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .benefit-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
    
    .benefit-card h4 {
        font-size: 18px;
    }
    
    .benefit-card p {
        font-size: 13px;
    }
    
    .quiz-section {
        padding: 50px 0;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer .uk-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer .uk-width-1-2 {
        width: 100% !important;
    }
    
    .footer .uk-text-right {
        text-align: left !important;
    }
    
    .footer-info {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .footer-phone {
        font-size: 16px;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .hero-image img {
        max-width: 80%;
        border-radius: 10px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .service-card {
        padding: 25px 10px;
    }
    
    .service-card h3 {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .benefit-card {
        padding: 20px 10px;
    }
    
    .benefit-card h4 {
        font-size: 16px;
    }
    
    .benefit-card p {
        font-size: 12px;
    }
    
    .quiz-container {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .quiz-step h3 {
        font-size: 18px;
    }
    
    .quiz-option {
        padding: 12px;
        font-size: 15px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo-prof {
        color: white;
    }
    
    .logo-sushka {
        color: var(--secondary-color);
    }
    
    .phone {
        font-size: 14px;
    }
    
    .footer-info {
        font-size: 13px;
    }
    
    .footer-phone {
        font-size: 15px;
    }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content p {
        font-size: 17px;
    }
    
    .service-card {
        padding: 35px 20px;
    }
    
    .quiz-container {
        padding: 35px;
    }
    
    .quiz-step h3 {
        font-size: 22px;
    }
}

/* Большие экраны */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 52px;
    }
    
    .hero-content p {
        font-size: 20px;
    }
    
    .service-card {
        padding: 45px 25px;
    }
    
    .quiz-container {
        padding: 50px;
    }
}

/* Улучшения для touch-устройств */
@media (hover: none) and (pointer: coarse) {
    .quiz-option {
        padding: 18px 20px;
        min-height: 60px;
    }
    
    .quiz-btn {
        padding: 18px 25px;
        min-height: 50px;
    }
    
    .form-input {
        padding: 20px 15px;
        min-height: 50px;
    }
    
    .quiz-button {
        padding: 20px 30px;
        min-height: 60px;
    }
}

.hero-content p {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.quiz-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-button:hover {
    background-color: #e6c42f;
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    margin: 0 auto;
}


.services-section {
    padding: 80px 0;
    background-color: white;
}

.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-color) 0%, #f8f6f0 100%);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.benefit-card h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.service-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.quiz-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.quiz-options {
    margin-bottom: 30px;
}

.quiz-option {
    margin-bottom: 10px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quiz-option:hover {
    border-color: var(--secondary-color);
    background-color: #fefdf8;
}

.quiz-option input[type="radio"] {
    margin: 0;
    order: 2;
}

.quiz-option span {
    order: 1;
    flex: 1;
}

.quiz-option.selected {
    border-color: var(--secondary-color);
    background-color: #fefdf8;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.quiz-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.quiz-buttons-right {
    margin-left: auto;
}

.quiz-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-btn.back {
    background-color: #f0f0f0;
    color: #666;
}

.quiz-btn.next, .quiz-btn.submit {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
}

.quiz-btn:hover {
    transform: translateY(-2px);
}

.quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
}

.footer-info {
    color: #ccc;
    line-height: 1.6;
}

.footer-phone {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: bold;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

