/* ==========================================================================
   1. ГЛОБАЛЬНЫЕ СТИЛИ И СБРОСЫ
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Wix Madefor Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
    color: #212529;
}

body.modal-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Стандартные отступы для секций */
.hero,
.need-comparison,
.service-description,
.work-stages,
.pricing,
.other-services,
.advantages,
.portfolio,
.reviews,
.faq,
.connect,
.other-articles {
    padding-top: 30px;
    padding-bottom: 30px;
}

.section-title {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 800;
    font-size: 44px;
    line-height: 1.1;
    color: #000000;
    margin-bottom: 20px;
}

.section-subtitle {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.26;
    color: #000000;
    padding-bottom: 30px;
}

.other-color-title {
    color: #0475D2;
}

.section-title .other-color-title {
    display: inline-flex;
    align-items: baseline;
    gap: 15px;
}

.section-title .other-color-title img {
    height: 0.6em;
    width: auto;
    position: relative;
    top: 0.05em;
}

/* Вспомогательные классы */
.form-is-hidden {
    position: absolute;
    left: -9999px;
    display: none !important;
}


/* ==========================================================================
   2. ОБЩИЕ КОМПОНЕНТЫ
   ========================================================================== */

/* Кнопки */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #0475D2;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #035e9b;
}

.btn-light {
    background-color: #ffffff;
    color: #0475D2;
    font-weight: bold;
}

.btn-light:hover {
    background-color: #f0f0f0;
}

button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Элементы форм */
.form-checkbox-group {
    display: flex;
    align-items: center;
    color: #0475D2;
}

.form-checkbox-group input[type="checkbox"] {
    display: none;
}

.form-checkbox-group label {
    font-size: 0.9rem;
    color: #6c757d;
    position: relative;
    padding-left: 30px;
    pointer-events: none;
}

.form-checkbox-group label a {
    pointer-events: auto;
    cursor: pointer;
    color: #0475D2;
    text-decoration: underline;
}

.form-checkbox-group label a:hover {
    text-decoration: none;
}

.form-checkbox-group label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid #dee2eb;
    border-radius: 50%;
    background-color: #ffffff;
    transition: background-color 0.2s, border-color 0.2s;
    pointer-events: auto;
    cursor: pointer;
}

.form-checkbox-group input[type="checkbox"]:checked+label::before {
    background-color: #0475D2;
    border-color: #0475D2;
}

.form-checkbox-group input[type="checkbox"]:checked+label::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
}

.form-disclaimer-small {
    font-size: 12px;
    line-height: 1.4;
    color: #0475D2;
    margin-top: 15px;
    max-width: 700px;
}

.form-disclaimer-small a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.form-disclaimer-small a:hover {
    text-decoration: none;
}

.form-error-summary {
    background: #fee;
    border: 1px solid #f00;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
    color: #d00;
    font-size: 14px;
}

/* Аккордеон (общие стили для service-description и faq) */
.accordion-item,
.faq-item {
    margin-bottom: 15px;
}

.accordion-item summary,
.faq-item summary {
    font-weight: 800;
    font-size: 21px;
    line-height: 1.3;
    cursor: pointer;
    color: black;
    padding: 15px 0 15px 30px;
    position: relative;
    transition: color 0.3s ease;
    list-style: none;
}

.accordion-item summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary::before,
.faq-item summary::before {
    content: '^';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

details[open]>summary {
    color: #0475D2;
}

details[open]>summary::before {
    transform: translateY(-50%) rotate(180deg);
    color: #0475D2;
}

.accordion-content,
.faq-content {
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 30px;
    overflow: hidden;
    max-height: 0;
    padding-bottom: 0;
    transition: max-height 0.4s ease-out, padding-bottom 0.4s ease-out;
}

/* Хлебные крошки */
.breadcrumbs-container {
    width: 100%;
    margin-bottom: 20px;
    flex-basis: 100%;
}

.breadcrumbs {
    list-style: none;
    padding: 30px 0 0 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumbs__item {
    font-size: 14px;
    color: #6c757d;
}

.breadcrumbs__separator {
    margin: 0 10px;
    color: #adb5bd;
}

.breadcrumbs__link {
    color: #0475D2;
    text-decoration: none;
}

.breadcrumbs__link:hover {
    text-decoration: underline;
}

.breadcrumbs__current {
    font-weight: 500;
    color: #212529;
}

/* Модальные окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    max-width: 580px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 300;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #000;
}

.modal-container .section-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-container .connect-subtitle {
    margin-bottom: 5px;
}

.phone-list {
    font-size: 1rem;
}

.phone-list a {
    color: #0475D2;
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
}

.phone-list a:hover {
    text-decoration: underline;
}

/* Модальное окно "Успех" */
.success-modal-wrapper {
    text-align: left;
}

.success-modal-wrapper .section-title {
    font-size: 2rem;
    line-height: 1.2;
}

.success-subtitle,
.success-prompt {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 15px;
}

.success-prompt {
    font-weight: 500;
    margin-top: 25px;
}

.success-contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 20px;
}

.contact-person h3 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.contact-person a {
    display: block;
    text-decoration: none;
    color: #0475D2;
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-person a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   3. СТИЛИ СЕКЦИЙ
   ========================================================================== */

/* Секция Hero */
.hero {
    padding-top: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 700px;
    position: relative;
    left: 80px;
}

.hero-subtitle {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1;
    color: #000000;
    margin-bottom: 15px;
}

.hero-title {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 800;
    font-size: 80px;
    line-height: 1.1;
    color: #000000;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: #0475D2;
    display: flex;
    align-items: center;
    gap: 30px;
}

.title-arrows {
    padding-top: 20px;
    height: 70px;
}

.hero-description {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #000000;
    line-height: 1.5;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin-top: 30px;
}

.hero-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #0475D2;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #ffffff;
}

.hero-form input[type="tel"]::placeholder {
    color: #0475D2;
}

.hero-dots-separator {
    display: block;
    margin-top: 40px;
    height: auto;
    width: auto;
}

/* Секция Need Comparison */
.need-comparison .section-title {
    color: #0475D2;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.comparison-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(97, 108, 129, 0.08);
    border: 1px solid #f0f2f5;
}

.card-left-column {
    flex-shrink: 0;
    width: 200px;
}

.card-left-column h3 {
    font-size: 21px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 20px;
    text-align: center;
}

.card-image img {
    width: 100%;
    height: auto;
}

.features-list {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.features-list li {
    font-size: 18px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.features-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 0;
}

.comparison-footer {
    margin-top: 40px;
    font-size: 18px;
    line-height: 1.6;
    color: #212529;
}

/* Стили для карточек без изображения */
.comparison-card.no-image .card-image {
    display: none;
}
.comparison-card.no-image {
    flex-wrap: wrap;
    gap: 15px;
}
.comparison-card.no-image .card-left-column,
.comparison-card.no-image .features-list {
    flex-basis: 100%;
    width: 100%;
}
.comparison-card.no-image .card-left-column h3 {
    text-align: left;
    margin-bottom: 0;
}
.comparison-card.no-image .features-list {
    padding-top: 0;
}


/* Секция Service Description */
.accordion-grid {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

.accordion-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.accordion-item[open] .accordion-content {
    padding-bottom: 10px;
}

/* Секция Work Stages */
.work-stages .section-title {
    margin-bottom: 40px;
}

/* НОВЫЕ СТИЛИ ДЛЯ СЛАЙДЕРА ЭТАПОВ РАБОТЫ */
.stages-field-main-page .slick-track {
    display: flex !important;
    gap: 0;
}

.stages-field-main-page .slick-slide {
    padding: 15px;
    height: inherit !important;
}

.stages-field-main-page .slick-slide > div,
.stage-page-many {
    height: 100%;
}

.stage-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #f0f2f5;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stage-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #0475D2;
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stage-icon {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.stage-icon img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.stage-card h3 {
    font-weight: 700;
    font-size: 21px;
    line-height: 1.3;
}

.stage-card p {
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.5;
    color: #6c757d;
}

.stage-dots {
    padding-top: 20px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #6c757d;
}

/* Секция Pricing */
.pricing {
    padding-top: 70px;
}

.pricing-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pricing-info {
    flex: 1;
    max-width: 600px;
}

.pricing-item {
    margin-bottom: 30px;
}

.pricing-item h3 {
    font-weight: 800;
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.pricing-item p {
    font-size: 18px;
    line-height: 1.6;
}

.price-card {
    flex-shrink: 0;
    width: 380px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(97, 108, 129, 0.08);
    border: 1px solid #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-top {
    display: flex;
    align-items: center;
    gap: 20px;
}

.price-card img {
    width: 80px;
    height: auto;
}

.price-details {
    flex-grow: 1;
}

.price-label {
    font-size: 14px;
    line-height: 1.4;
    color: #0475D2;
    margin-bottom: 5px;
}

.price-value {
    font-weight: 700;
    font-size: 42px;
    line-height: 1.1;
    color: #0475D2;
    margin-bottom: 20px;
}

.price-value:last-of-type {
    margin-bottom: 0;
}

.price-dots {
    font-weight: 700;
    font-size: 1.5rem;
    color: #6c757d;
}

.price-offer {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
}

.price-offer-desc {
    font-size: 18px;
    line-height: 1.4;
    color: #6c757d;
}

/* Секция Other Services */
.other-services .section-title {
    margin-bottom: 40px;
}

.services-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 20px;
    overflow-x: auto;
    padding: 10px;
    margin: -10px;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    -webkit-user-drag: none;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.services-slider::-webkit-scrollbar {
    display: none;
}

.services-slider.active-drag {
    cursor: grabbing;
    scroll-behavior: auto;
}

.services-slider.active-drag * {
    user-select: none !important;
}

.service-tag {
    display: inline-block;
    padding: 12px 40px 12px 24px;
    border: 2px solid #0475D2;
    border-radius: 8px;
    color: #0475D2;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
    -webkit-user-drag: none;
}

.service-tag::after {
    content: '›';
    position: absolute;
    top: 49%;
    right: 24px;
    transform: translateY(-50%);
    font-size: 20px;
}

.service-tag:hover {
    background-color: #0475D2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 117, 210, 0.3);
}

/* Секция CTA Banner */
.cta-banner {
    padding: 0;
    background: linear-gradient(135deg, #0475D2 0%, #2196F3 100%);
    overflow: hidden;
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 50px;
}

.cta-image {
    flex-shrink: 0;
    width: 400px;
}

.cta-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cta-content {
    flex: 1;
    color: #ffffff;
}

.cta-title {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.1;
    color: white;
    margin-bottom: 30px;
}

.cta-container ul {
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
}

.cta-content li {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.cta-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.cta-container .btn-light {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

/* Секция Advantages - ИСПРАВЛЕННЫЕ СТИЛИ */
.advantages {
    padding-top: 80px;
}

.advantages-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #f0f2f5;

    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advantages-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #0475D2;
}

.advantages-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.advantages-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.advantages-icon img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.advantages-card h3 {
    font-weight: 700;
    font-size: 21px;
    line-height: 1.3;
}

.advantages-card p {
    flex-grow: 1;
    font-size: 18px;
    line-height: 1.4;
    color: #6c757d;
}

.advantages-dots {
    font-weight: 700;
    font-size: 1.5rem;
    color: #6c757d;
    margin-top: 20px;
}

.advantages-field-main-page .slick-track {
    display: flex !important;
}

.advantages-field-main-page .slick-slide {
    padding: 15px;
    height: inherit !important;
}

.advantages-field-main-page .slick-slide > div,
.advantages-page-many {
    height: 100%;
}


/* Секция Portfolio */
.portfolio .section-title {
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-image-wrapper {
    display: block;
    position: relative;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    overflow: hidden;
    flex-shrink: 0;
}

.portfolio-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(4, 117, 210, 0.2);
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-title-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #0475D2;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
}

.portfolio-title-overlay h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.portfolio-subtitle {
    margin-top: 20px;
    padding: 0 5px;
    font-size: 1rem;
    color: #6c757d;
    flex-grow: 1;
}

.portfolio-more-link {
    display: block;
    margin-top: 50px;
    color: #0475D2;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: underline;
    text-align: left;
}

.portfolio-more-link:hover {
    text-decoration: none;
}

/* Секция Reviews */
.reviews {
    padding-top: 70px;
    padding-bottom: 70px;
}

.review-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.review-slider {
    flex-grow: 1;
    max-width: 750px;
    overflow: hidden;
}

.review-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    flex-shrink: 0;
    border: 1px solid #f0f2f5;
    box-shadow: 0 8px 32px rgba(97, 108, 129, 0.05);
}

.review-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.review-service {
    display: block;
    color: #0475D2;
    margin-bottom: 25px;
    text-decoration: none;
}

.review-service:hover {
    text-decoration: underline;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
}

.review-dots {
    display: block;
    margin-top: 25px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #6c757d;
}

.slider-arrow {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background-color: transparent;
    color: #0475D2;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: #0475D2;
    color: white;
    border-color: #0475D2;
}

/* Секция FAQ */
.faq .section-title {
    margin-bottom: 40px;
}

.faq-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.faq-image {
    flex: 1;
    max-width: 450px;
}

.faq-image img {
    width: 100%;
}

.faq-accordion-wrapper {
    flex: 1.5;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.faq-item[open] .faq-content {
    padding-bottom: 5px;
}

/* Секция Connect */
.connect-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.connect-form-wrapper {
    flex: 1 1 60%;
    max-width: 600px;
}

.connect .section-title {
    margin-bottom: 10px;
}

.connect-subtitle {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #000;
}

.connect-subtitle a {
    color: #0475D2;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.connect-subtitle a:hover {
    text-decoration: underline;
}

.connect-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.connect-form .form-group input,
.connect-form .form-group textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    background-color: #f8f9fa;
    color: #212529;
}

.connect-form .form-group input:focus,
.connect-form .form-group textarea:focus {
    outline: none;
    border-color: #0475D2;
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(4, 117, 210, 0.2);
}

.connect-form .form-group input::placeholder,
.connect-form .form-group textarea::placeholder {
    color: #6c757d;
}

.connect-form .form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-attachment {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.file-upload-label {
    font-size: 14px;
    color: #6c757d;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.file-upload-label:hover {
    color: #0475D2;
}

.connect-disclaimer {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.26;
    color: #0475D2;
}

.connect-image-wrapper {
    flex: 1 1 60%;
    text-align: center;
}

.connect-image-wrapper img {
    max-width: 100%;
}

/* Секция Other Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
}

.article-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #0475D2;
}

.article-image-wrapper {
    position: relative;
}

.article-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.article-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(50%);
    width: auto;
    max-width: 90%;
    background-color: #0475D2;
    padding: 10px 20px;
}

.article-title-overlay h3 {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
}

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-description {
    margin-top: 25px;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.27;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-date {
    font-size: 14px;
    color: #0475D2;
    margin-top: auto;
}


/* ==========================================================================
   4. МЕДИА-ЗАПРОСЫ (АДАПТИВНОСТЬ)
   ========================================================================== */

/* Планшеты и небольшие десктопы (до 1024px) */
@media (max-width: 1024px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .section-title {
        font-size: 36px;
    }
    .hero-container {
        gap: 40px;
    }
    .hero-title {
        font-size: 64px;
    }
    .hero-subtitle {
        font-size: 26px;
    }
    .title-arrows {
        height: 56px;
    }
    .hero-form {
        margin-left: auto;
        margin-right: auto;
    }
    .comparison-grid {
        gap: 20px;
    }
    .accordion-grid {
        gap: 60px;
    }
    .pricing-container {
        gap: 40px;
    }
    .price-card {
        width: 320px;
    }
    .cta-container {
        gap: 40px;
        padding: 50px 30px;
    }
    .cta-image {
        width: 350px;
    }
    .cta-title {
        font-size: 40px;
    }
    .connect-container,
    .faq-container {
        gap: 40px;
    }
}

/* Вертикальные планшеты (до 768px) */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero, .need-comparison, .service-description, .work-stages, .pricing, .other-services, .advantages, .portfolio, .reviews, .faq, .connect, .other-articles {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .hero {
        padding-top: 60px;
    }
    .pricing, .reviews {
        padding-top: 50px;
    }
    .advantages {
        padding-top: 60px;
    }
    .section-title,
    .section-subtitle {
        text-align: center;
    }
    .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .section-title {
        font-size: 32px;
    }
    .hero-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .hero-title {
        font-size: 48px;
    }
    .hero-subtitle {
        font-size: 22px;
    }
    .title-arrows {
        align-items: center;
        height: 42px;
    }
    .hero-image {
        order: -1;
        text-align: center;
    }
    .hero-image img {
        max-width: 500px;
        left: 0;
    }
    .hero-form {
        margin-left: auto;
        margin-right: auto;
    }

    /* ИСПРАВЛЕННЫЙ СТИЛЬ ДЛЯ МОБИЛЬНЫХ */
    .comparison-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    
    .comparison-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .card-left-column {
        width: 100%;
    }
    .accordion-grid {
        flex-direction: column;
        gap: 30px;
    }
    .stage-card {
        padding: 20px;
    }
    .pricing-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .pricing-info {
        text-align: center;
        max-width: none;
    }
    .price-card {
        width: 100%;
        max-width: 400px;
    }
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }
    .cta-image {
        width: 100%;
        max-width: 300px;
    }
    .cta-title {
        font-size: 36px;
    }
    .advantages-card {
        min-width: 250px;
        padding: 25px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .review-slider-container {
        flex-direction: column;
        gap: 20px;
    }
    .slider-arrow {
        display: none;
    }
    .faq-container {
        flex-direction: column;
        gap: 30px;
    }
    .faq-list {
        grid-template-columns: 1fr;
    }
    .faq-image {
        max-width: 300px;
        margin: 0 auto;
    }
    .connect-container {
        flex-direction: column;
        gap: 30px;
    }
    .connect-image-wrapper {
        order: -1;
    }
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .modal-container {
        padding: 30px;
        margin: 20px;
    }
}

/* Мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .hero, .need-comparison, .service-description, .work-stages, .pricing, .other-services, .advantages, .portfolio, .reviews, .faq, .connect, .other-articles {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .hero {
        padding-top: 40px;
    }
    .section-title {
        font-size: 28px;
    }
    .section-subtitle {
        font-size: 16px;
    }
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    .hero-title {
        font-size: 36px;
        line-height: 1;
    }
    .hero-subtitle {
        font-size: 20px;
    }
    .title-arrows {
        height: 32px;
    }
    .hero-image img {
        max-width: 100%;
    }
    .hero-description {
        font-size: 16px;
    }
    .hero-dots-separator {
        margin-top: 20px;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    .comparison-card {
        padding: 20px;
        gap: 15px;
    }
    .card-left-column h3 {
        font-size: 18px;
    }
    .features-list li {
        font-size: 16px;
    }
    .accordion-item summary,
    .faq-item summary {
        font-size: 18px;
        padding: 12px 0 12px 25px;
    }
    .accordion-content {
        padding-left: 25px;
        font-size: 14px;
    }
    .stage-card {
        padding: 15px;
    }
    .stage-card h3 {
        font-size: 18px;
    }
    .stage-card p {
        font-size: 14px;
    }
    .pricing-item h3 {
        font-size: 24px;
    }
    .pricing-item p {
        font-size: 16px;
    }
    .price-value {
        font-size: 32px;
    }
    .price-offer {
        font-size: 18px;
    }
    .price-offer-desc {
        font-size: 16px;
    }
    .service-tag {
        padding: 10px 35px 10px 20px;
        font-size: 14px;
    }
    .cta-title {
        font-size: 28px;
    }
    .cta-content li {
        font-size: 16px;
    }
    .cta-container .btn-light {
        padding: 14px 24px;
        font-size: 16px;
    }
    .advantages-card {
        min-width: 240px;
        padding: 20px;
    }
    .advantages-card h3 {
        font-size: 18px;
    }
    .advantages-card p {
        font-size: 16px;
    }
    .review-card {
        padding: 25px;
    }
    .review-card h3 {
        font-size: 1.25rem;
    }
    .faq-item summary {
        font-size: 16px;
    }
    .faq-content {
        font-size: 14px;
    }
    .connect .section-title {
        font-size: 24px;
    }
    .connect-subtitle {
        font-size: 16px;
    }
    .connect-form .form-group input,
    .connect-form .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    .article-title-overlay h3 {
        font-size: 16px;
        line-height: 1.2;
    }
    .article-content {
        padding: 20px;
    }
    .article-description {
        font-size: 13px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .modal-container {
        padding: 20px;
        margin: 10px;
    }
    .modal-container .section-title {
        font-size: 1.5rem;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 32px;
    }
    .section-title {
        font-size: 24px;
    }
    .advantages-card,
    .stage-card {
        min-width: 260px;
    }
}

/* Горизонтальная ориентация на мобильных */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .hero-container {
        flex-direction: row;
        gap: 20px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .modal-container {
        max-height: 90vh;
        overflow-y: auto;
    }
}