/* Tax Deduction Page Styles - New Design with Blocks */

/* Reset and Base Styles */
.nnew-hero {
    width: 100%;
    margin-bottom: 40px;
}

.nnew-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Container */
.nnew-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.nnew-section {
    margin-bottom: 50px;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(93, 91, 97, 0.08);
}

.nnew-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #5d5b61;
    margin: 0 0 25px 0;
    line-height: 1.3;
    padding-bottom: 15px;
    border-bottom: 3px solid #d5ba64;
}

/* Text Styles */
.nnew-intro {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #5d5b61;
    margin: 0 0 20px 0;
}

.nnew-text {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #5d5b61;
    margin: 0 0 20px 0;
}

/* Links */
.nnew-link {
    color: #d5ba64;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nnew-link:hover {
    color: #5d5b61;
    border-bottom-color: #d5ba64;
}

/* Items Container - замена списков */
.nnew-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.nnew-item {
    position: relative;
    padding-left: 60px;
    padding: 20px 20px 20px 60px;
    background: #f9f9f9;
    border-radius: 12px;
    border-left: 4px solid #d5ba64;
    transition: all 0.3s ease;
}

.nnew-item:hover {
    background: #f5f5f5;
    border-left-width: 5px;
    transform: translateX(5px);
}

.nnew-item::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #d5ba64;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.nnew-item-content {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #5d5b61;
}

.nnew-item-content a {
    color: #d5ba64;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nnew-item-content a:hover {
    color: #5d5b61;
    border-bottom-color: #d5ba64;
}

/* Steps - нумерованные блоки */
.nnew-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.nnew-step {
    position: relative;
    padding: 25px 25px 25px 90px;
    background: linear-gradient(to right, #ffffff 0%, #f9f9f9 100%);
    border-radius: 12px;
    border: 2px solid #d5ba64;
    transition: all 0.3s ease;
}

.nnew-step:hover {
    background: linear-gradient(to right, #fff9f0 0%, #f5f5f5 100%);
    box-shadow: 0 4px 15px rgba(213, 186, 100, 0.2);
    transform: translateY(-2px);
}

.nnew-step-number {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #d5ba64;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(213, 186, 100, 0.3);
}

.nnew-step-content {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #5d5b61;
}

.nnew-step-content a {
    color: #d5ba64;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nnew-step-content a:hover {
    color: #5d5b61;
    border-bottom-color: #d5ba64;
}

/* Form Styles */
.nnew-form-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.nnew-form-wrapper {
    display: flex;
    background: #5d5b61;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(93, 91, 97, 0.2);
}

.nnew-form-content {
    flex: 1;
    padding: 60px 50px;
}

.nnew-form-title {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.nnew-form-subtitle {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    color: #cccccc;
    margin: 0 0 35px 0;
}

.nnew-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nnew-form-row {
    display: flex;
    gap: 20px;
}

.nnew-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nnew-label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 8px;
}

.nnew-input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    background: #ffffff;
    color: #5d5b61;
    transition: all 0.3s ease;
}

.nnew-input:focus {
    outline: none;
    border-color: #d5ba64;
    box-shadow: 0 0 0 3px rgba(213, 186, 100, 0.1);
}

.nnew-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nnew-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.nnew-checkbox-label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    color: #cccccc;
    cursor: pointer;
}

.nnew-form-submit {
    margin-top: 10px;
}

.nnew-button {
    background: #d5ba64;
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    border-radius: 6px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nnew-button:hover {
    background: #c5aa54;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 186, 100, 0.3);
}

.nnew-form-success {
    margin-top: 10px;
    min-height: 25px;
}

/* Form Image */
.nnew-form-image {
    width: 50%;
    background: url('/images/price_banner_2.jpg') center/cover no-repeat;
}

/* Map */
.nnew-map {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(93, 91, 97, 0.08);
}

.nnew-map iframe {
    display: block;
    width: 100%;
    height: 550px;
    border: none;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .nnew-container {
        padding: 0 15px;
    }
    
    .nnew-section {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .nnew-title {
        font-size: 24px;
    }
    
    .nnew-intro,
    .nnew-text {
        font-size: 15px;
    }
    
    .nnew-item {
        padding: 18px 18px 18px 55px;
    }
    
    .nnew-item::before {
        left: 18px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .nnew-item-content {
        font-size: 15px;
    }
    
    .nnew-step {
        padding: 20px 20px 20px 80px;
    }
    
    .nnew-step-number {
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .nnew-step-content {
        font-size: 15px;
    }
    
    .nnew-form-wrapper {
        flex-direction: column;
    }
    
    .nnew-form-content {
        padding: 40px 30px;
    }
    
    .nnew-form-title {
        font-size: 24px;
    }
    
    .nnew-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .nnew-form-image {
        width: 100%;
        min-height: 250px;
        order: -1;
    }
    
    .nnew-map iframe {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .nnew-section {
        padding: 20px;
    }
    
    .nnew-title {
        font-size: 20px;
    }
    
    .nnew-intro,
    .nnew-text {
        font-size: 14px;
    }
    
    .nnew-hero {
        margin-bottom: 30px;
    }
    
    .nnew-item {
        padding: 15px 15px 15px 50px;
    }
    
    .nnew-item::before {
        width: 26px;
        height: 26px;
        font-size: 14px;
        left: 15px;
    }
    
    .nnew-item-content {
        font-size: 14px;
    }
    
    .nnew-step {
        padding: 18px 18px 18px 70px;
    }
    
    .nnew-step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .nnew-step-content {
        font-size: 14px;
    }
    
    .nnew-form-content {
        padding: 30px 20px;
    }
    
    .nnew-map iframe {
        height: 350px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nnew-section {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .nnew-form-container {
        display: none;
    }
    
    .nnew-map {
        display: none;
    }
}

