:root {
    --primary: #1a5276;
    --secondary: #2c5e7a;
    --accent: #e67e22;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #27ae60;
    --error: #c0392b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.section {
    padding: 40px 0;
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo i {
    margin-right: 10px;
    color: var(--accent);
}

.header-menu {
    padding: 0 0 10px 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.header-menu li {
    text-align: center;
    line-height: 110%;
}

.header-menu a {
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease 0s;
}

.header-menu a:hover {
    color: var(--accent);
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0 0 20px 0;
    list-style: none;
}

.mobile-menu a {
    text-decoration: none;
}

.header-contacts {
    display: flex;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.contact-item i {
    margin-right: 8px;
    color: var(--secondary);
}

.btn {
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.btn:focus {
    outline: 3px solid rgba(230, 126, 34, 0.4);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #d35400;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.phone-with-margin {
    margin-right: 15px;
}

.main-content {
    display: flex;
    padding: 30px 0 40px 0;
    gap: 30px;
}

.services-column {
    flex: 1;
}

.details-column {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.services-section {
    margin-bottom: 30px;
}

.section-title {
    text-align: center;
    margin: 30px 0 30px 0;
    color: var(--dark);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 15px auto;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-item.active {
    border-left: 5px solid var(--accent);
    background-color: #f8f9fa;
}

.service-item i {
    font-size: 32px;
    color: var(--secondary);
    margin-right: 15px;
    min-width: 40px;
    text-align: center;
}

.service-item h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.service-item p {
    color: #555;
    font-size: 14px;
}

.service-details {
    display: none;
}

.service-details.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.service-details h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.service-details ul {
    list-style-type: none;
    margin-bottom: 25px;
}

.service-details li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    padding-left: 25px;
    display: flex;
    align-items: center;
}

.service-details li:before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.mobile-details {
    display: none;
    background: white;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    margin-top: -10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mobile-header {
    display: none;
    padding: 10px 0;
    align-items: center;
    justify-content: space-between;
}

.mobile-header .logo {
    font-size: 20px;
    margin-right: 15px;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
}

.mobile-nav {
    display: none;
    background: white;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-contact {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.mobile-contact i {
    margin-right: 10px;
    color: var(--secondary);
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-buttons .btn {
    text-align: center;
    padding: 12px;
}

footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contact-item i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--accent);
}

.copyright {
    margin-top: 20px;
    color: #bbb;
    font-size: 14px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal {
    background: white;
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    z-index: 10;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-title {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    padding-right: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-control.error {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-top: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: normal;
    line-height: 1.4;
    margin-bottom: 0;
}

.privacy-link {
    color: var(--secondary);
    text-decoration: none;
    cursor: pointer;
}

.privacy-link:hover {
    text-decoration: underline;
}

a {
    color: #2c5e7a;
}

a:hover {
    color: #1a5276;
}

.modal-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-submit:hover:not(:disabled) {
    background-color: #e67e22;
}

.modal-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.privacy-modal {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.privacy-content {
    line-height: 1.6;
}

.privacy-content h2 {
    color: var(--primary);
    margin: 20px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.privacy-content h3 {
    color: var(--secondary);
    margin: 15px 0 10px 0;
}

.privacy-content p,
.privacy-content ul {
    margin-bottom: 15px;
}

.privacy-content ul {
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 8px;
}

.success-modal {
    text-align: center;
    padding: 40px 30px;
}

.success-icon {
    font-size: 60px;
    color: var(--success);
    margin-bottom: 20px;
}

.success-title {
    color: var(--success);
    margin-bottom: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s;
}




[data-editor] {
    font-size: 16px;
    line-height: 120%;


}

[data-editor] h1,
[data-editor] h2,
[data-editor] h3,
[data-editor] h4,
[data-editor] h5,
[data-editor] h6 {

    line-height: 130%;
}

[data-editor] h1 {
    font-size: 30px;
}

[data-editor] h2 {
    font-size: 28px;


}

[data-editor] h3 {
    font-size: 26px;


}

[data-editor] h4 {
    font-size: 24px;


}

[data-editor] h5 {
    font-size: 22px;


}

[data-editor] h6 {
    font-size: 20px;


}

[data-editor]> :not(:last-child) {
    margin-bottom: 16px;
}

[data-editor] blockquote {
    border-left: 3px solid #eee;
    font-style: italic;
    padding: 16px 24px;
}

[data-editor] video {
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
}

[data-editor] iframe {
    border: none;
    border-radius: 6px;
    width: 100%;
}

[data-editor] img {
    border-radius: 6px;
    display: block;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
}

[data-editor] b,
[data-editor] strong {
    font-weight: 700;
}

[data-editor]>ul {
    list-style-type: disc;
}

[data-editor]>ol {
    list-style-type: decimal;
}

[data-editor] ol,
[data-editor] ul {
    padding-left: 20px;
}

[data-editor] li {
    margin-bottom: 8px;
}

[data-editor] a:not([class*="button"]) {
    color: #b21f22;
    text-decoration: underline;
    transition: color 0.2s ease;
}

@media (max-width: 992px) {
    .header-top {
        display: none;
    }

    .header-menu {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        flex-direction: column;
    }

    .details-column {
        display: none;
    }

    .mobile-details {
        display: block;
    }

    .service-item.active {
        border-left: none;
        border-top: 5px solid var(--accent);
        border-radius: 8px 8px 0 0;
        margin-bottom: 0;
    }

    .service-actions {
        justify-content: center;
    }

    .mobile-details ul {
        padding-left: 5px;
        list-style: none;
    }

    .mobile-details li {
        padding-left: 20px;
        position: relative;
        display: flex;
        align-items: center;
    }

    .mobile-details li:before {
        content: '•';
        color: var(--accent);
        font-weight: bold;
        position: absolute;
        left: 5px;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .mobile-details h3 {
        display: none;
    }

    .mobile-buttons .btn {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .service-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin: 5px 0;
        padding: 12px;
        font-size: 14px;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .service-item i {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 28px;
    }

    .service-item h3 {
        font-size: 18px;
    }

    .service-item p {
        font-size: 13px;
    }

    .mobile-details {
        padding: 15px;
    }

    .mobile-details li {
        font-size: 14px;
        padding: 8px 0;
        padding-left: 20px;
    }

    .section-title {
        font-size: 22px;
        margin: 20px 0;
    }

    .footer-contacts {
        gap: 20px;
    }

    .footer-contact-item {
        font-size: 14px;
    }

    .service-actions {
        align-items: center;
    }

    .modal {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

    .mobile-menu-btn {
        font-size: 20px;
    }

    .service-item {
        padding: 12px;
    }

    .mobile-details {
        padding: 12px;
    }

    .footer-contacts {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-details li:before {
        left: 3px;
    }

    .modal {
        padding: 15px;
    }

    .modal-title {
        font-size: 20px;
    }

    .checkbox-group {
        align-items: flex-start;
    }

    .checkbox-group label {
        font-size: 14px;
    }
}

.pd-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pd-header {
    padding: 20px;
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.pd-header p {
    font-style: italic;
    opacity: 0.9;
}

.pd-content {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
    padding-bottom: 80px;
}

.pd-section {
    margin-bottom: 25px;
}

.pd-section h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eaeaea;
}

.pd-section h3 {
    color: #3498db;
    font-size: 18px;
    margin: 15px 0 10px;
}

.pd-section p,
.pd-section li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.pd-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.pd-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    text-align: right;
    font-style: italic;
    color: #7f8c8d;
}

.pd-note {
    background: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #3498db;
    margin: 20px 0;
    font-size: 15px;
}

@media (max-width: 768px) {
    .pd-container {
        border-radius: 0;
    }

    .pd-content {
        padding: 20px;
    }

    .pd-header h1 {
        font-size: 20px;
    }
}