.consultation-page {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    position: relative;
}

.consultation-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

.consultation-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.consultation-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease;
}

.consultation-header h1 {
    color: white;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.consultation-header p {
    color: rgba(255,255,255,0.95);
    font-size: 18px;
    margin: 0;
    font-weight: 400;
}

.progress-wrapper {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    animation: fadeIn 0.6s ease 0.2s both;
}

.progress-bar-container {
    position: relative;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00A651 0%, #00A8D8 100%);
    border-radius: 10px;
    width: 16.66%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 166, 81, 0.6);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6) !important;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
    transform: scale(1) !important;
    box-shadow: none !important;
}

.progress-wrapper .progress-step.active {
    background: linear-gradient(135deg, #00A651 0%, #00A8D8 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.5) !important;
    transform: scale(1.15) !important;
}

.progress-wrapper .progress-step.completed {
    background: linear-gradient(135deg, #00A651 0%, #00A8D8 100%) !important;
    color: white !important;
}

.progress-wrapper .progress-step.completed::after {
    content: '\2713';
}

.progress-text {
    text-align: center;
    color: white;
    font-size: 15px;
    font-weight: 500;
}

.progress-text span {
    font-weight: 700;
}

.form-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.6s ease 0.3s both;
    min-height: 450px;
    position: relative;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 30px 0;
    text-align: center;
}

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

.option-btn {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border: 3px solid transparent;
    border-radius: 16px;
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.option-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-color: #00A651;
}

.option-btn.selected {
    background: linear-gradient(135deg, #00A651 0%, #00A8D8 100%);
    border-color: #00A651;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 166, 81, 0.4);
}

.option-btn .emoji {
    font-size: 36px;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-list-btn {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border: 3px solid transparent;
    border-radius: 14px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    text-align: left;
}

.option-list-btn:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: #00A651;
}

.option-list-btn.selected {
    background: linear-gradient(135deg, #00A651 0%, #00A8D8 100%);
    border-color: #00A651;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 166, 81, 0.4);
    transform: translateX(8px);
}

.option-list-btn .emoji {
    font-size: 28px;
    min-width: 28px;
}

.option-content {
    flex: 1;
}

.option-label {
    font-weight: 700;
    margin-bottom: 4px;
}

.option-desc {
    font-size: 13px;
    opacity: 0.9;
}

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

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

.form-label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f7fafc;
    color: #2d3748;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #00A651;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.1);
}

.form-input::placeholder {
    color: #a0aec0;
}

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

.form-input.error {
    border-color: #f87171 !important;
    background: rgba(239, 68, 68, 0.05) !important;
    animation: shake 0.3s ease;
}

.form-input.success {
    border-color: #00A651 !important;
    background: rgba(0, 166, 81, 0.05) !important;
}

.error-message {
    color: #ffffff !important;
    font-size: 12px;
    margin-top: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 6px;
    display: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    border-left: 4px solid #b91c1c;
}

.error-message.show {
    display: flex;
    align-items: center;
    gap: 6px;
    animation: slideDown 0.3s ease;
}

.error-message::before {
    content: '\26A0\FE0F';
    font-size: 14px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-preview {
    text-align: center;
}

.services-preview-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.services-preview-subtitle {
    font-size: 14px;
    color: #718096;
    margin: 0 0 25px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.service-card {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

.service-card.disabled {
    pointer-events: none;
}

.service-icon {
    font-size: 32px;
    display: block;
}

.service-name {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    text-align: center;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.btn {
    flex: 1;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-back {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-back:hover {
    background: linear-gradient(135deg, #e8ecf1 0%, #d4d9e0 100%);
    transform: translateX(-4px);
}

.btn-submit {
    background: linear-gradient(135deg, #00A651 0%, #00A8D8 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 166, 81, 0.3);
}

.btn-submit:hover {
    box-shadow: 0 12px 28px rgba(0, 166, 81, 0.4);
    transform: translateY(-2px);
}

.footer-info {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    color: white;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease 0.4s both;
}

.footer-info span {
    font-weight: 600;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-message.active {
    display: block;
    animation: fadeInScale 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A651 0%, #00A8D8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: white;
}

.success-message h3 {
    font-size: 28px;
    color: #2d3748;
    margin: 0 0 15px 0;
}

.success-message p {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .consultation-page {
        padding: 20px 15px;
    }

    .consultation-header h1 {
        font-size: 32px;
    }

    .consultation-header p {
        font-size: 16px;
    }

    .form-card {
        padding: 35px 25px;
    }

    .step-title {
        font-size: 24px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-info {
        font-size: 13px;
        gap: 12px;
    }

    .progress-step {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
    }
}