.price-calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.calculator-header p {
    color: rgba(15, 23, 42, 0.7);
    font-size: 1.1rem;
}

.calculator-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

/* ТАРИФЫ */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.package-card {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #0c1220 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 1.5rem;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
}

.package-card:hover {
    box-shadow: 0 16px 56px rgba(14, 165, 233, 0.25);
    border-color: rgba(56, 189, 248, 0.35);
}

@media (hover: hover) {
    .package-card:hover {
        transform: translateY(-4px);
    }
}

.package-card.selected {
    border: 3px solid #38bdf8;
    background: linear-gradient(135deg, #0f172a 0%, #0c2540 100%);
    box-shadow: 0 16px 56px rgba(56, 189, 248, 0.35);
}

.package-radio {
    position: absolute;
    opacity: 0;
}

.package-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.package-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.package-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.package-checkmark {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #38bdf8;
    color: #0c1220;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

.package-card.selected .package-checkmark {
    display: flex;
}

/* УСЛУГИ */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.05);
}

.service-checkbox:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.12);
}

.service-checkbox.checked {
    border: 2px solid #0ea5e9;
    background: rgba(255, 255, 255, 0.5);
}

.service-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #0ea5e9;
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-name {
    font-weight: 600;
    color: #0f172a;
}

.service-desc {
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.7);
}

.service-price {
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ИТОГО */
.calculator-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #0c1220 100%);
    color: white;
    border-radius: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 48px rgba(14, 165, 233, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.total-label {
    font-size: 1.25rem;
    font-weight: 600;
}

.total-price {
    font-size: 2rem;
    font-weight: 700;
}

/* ФОРМА */
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-weight: 600;
    color: #0f172a;
}

.required {
    color: #ef4444;
}

.form-input {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    color: #0f172a;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.error {
    color: #ef4444;
    font-size: 0.875rem;
}

.btn-submit {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.25);
}

.btn-submit:hover:not(:disabled) {
    box-shadow: 0 12px 48px rgba(14, 165, 233, 0.35);
}

@media (hover: hover) {
    .btn-submit:hover:not(:disabled) {
        transform: translateY(-2px);
    }
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #0c1220 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.2);
    z-index: 1000;
}

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

    .calculator-total {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
