@charset "UTF-8";

:root {
    /* Цветовая палитра */
    --orange: #ff792e;
    --yellow: #ffee32;
    --dark-bg: #2a2e34;
    --light-bg: #ebebeb;
    --text-dark: #333;
    --text-light: #fff;
    --primary: #4361ee;
    --primary-hover: #3a56d4;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #f8961e;
    --dark: #212529;
    --light: #f8f9fa;

    /* Типографика */
    --font-main: 'Ubuntu', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --text-base: 1rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.25rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;

    /* Отступы */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Тени */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* Скругления */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --radius-2xl: 20px;
    --radius-full: 30px;

    /* Анимации */
    --transition: all 0.3s ease;
}

/* Базовые стили */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    font-family: var(--font-main);
    line-height: 1.5;
    background: white;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
li {
    list-style-type: none;
}
button,
input,
textarea {
    font-family: inherit;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Типографика */
.text-bold { font-weight: 700; }
.text-medium { font-weight: 500; }
.text-orange { color: var(--orange); }
.text-black { color: var(--text-dark); }
.text-white { color: var(--text-light); }

/* Кнопки */
.button {
    display: inline-block;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-full);
    font-family: var(--font-secondary);
    font-size: var(--text-lg);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.button--yellow {
    background-color: var(--yellow);
    color: var(--text-dark);
}

.button--yellow:hover {
    background-color: var(--orange);
    color: var(--text-light);
}

/* Шапка */
.header {
    padding: var(--space-md) 0;
    background-color: var(--text-light);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header__image {
    width: 189px;
    height: 161px;
}

.header__text {
    display: flex;
    flex-direction: column;
    font-size: var(--text-xl);
    font-weight: 600;
}

.navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.navbar__list {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.navbar__item {
    font-size: var(--text-lg);
    font-weight: 600;
}

.navbar__item:hover {
    color: var(--orange);
}

.phone-button {
    width: 375px;
    margin-top: var(--space-md);
}

/* Герой-секция */
.hero {
    padding: var(--space-2xl) 0;
    background-color: var(--text-light);
}

.hero__title {
    text-align: center;
    font-weight: 400;
    margin: var(--space-xl) 0;
}

.hero__container {
    display: flex;
    align-items: center;
    gap: 150px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.hero__title img {
    width: 100%;
    max-width: 700px;
    height: auto;
}

.hero__button {
    margin-top: var(--space-xl);
}

.hero__image {
    position: relative;
    flex: 1;
}

.hero__bubble {
    position: absolute;
    top: -200px;
    left: -215px;
    padding: 75px 45px 132px;
    background: url(images/empty-thought-bubble-grap.png) no-repeat;
    z-index: 1;
}

.hero__bubble img {
    width: 262px;
    height: 80px;
}

/* Секция статистики */
.statistics {
    padding: var(--space-2xl) 0;
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.section-title img {
    width: 100%;
    max-width: 767px;
    height: auto;
    margin-bottom: 80px;
}

.statistics__grid {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.stat-card {
    max-width: 300px;
    text-align: center;
}

.stat-card__circle {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.stat-card__circle--gold {
    background: url(images/vektornyi_smart-obekt.png) no-repeat;
    background-size: contain;
}

.stat-card__circle img {
    max-width: 150px;
    height: auto;
}

.stat-card__text {
    margin-top: var(--space-xl);
    font-size: var(--text-lg);
    line-height: 1.4;
}

/* Секция специальностей */
.specialties {
    padding: var(--space-2xl) 0;
    background-color: var(--light-bg);
    padding-bottom: 0;
}

.specialty-card {
    display: flex;
    gap: 50px;
    align-items: center;
    border-radius: var(--radius-2xl);
}

.specialty-card__image img {
    width: 500px;
}

.specialty-card__content {
    flex: 1;
}

.specialty-card__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xl);
    line-height: 1.2;
}

.specialty-card__info {
    margin-bottom: var(--space-xl);
}

.specialty-card__duration {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-xl);
    font-weight: 400;
}

.specialty-card__description {
    font-size: var(--text-lg);
    font-weight: 300;
    line-height: 1.6;
}

/* Секция документов */
.documents {
    padding: var(--space-2xl) 0;
    background-color: var(--text-light);
}

.documents__content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.documents__list {
    flex: 1;
}
.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Общие стили для всех полей загрузки */
.file-upload {
    margin-bottom: 20px;
}

.file-upload-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #4361ee;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.file-upload-btn:hover {
    background: #3a56d4;
}

.file-list {
    margin-top: 10px;
}

.no-files {
    color: #999;
    font-style: italic;
}

.file-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 6px;
}

.file-icon {
    margin-right: 10px;
    font-size: 18px;
}

.file-info {
    flex-grow: 1;
}

.file-name {
    display: block;
    font-weight: 500;
    color: #333;
}

.file-size {
    font-size: 12px;
    color: #777;
}

.file-remove {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
    margin-left: 10px;
}

.file-remove:hover {
    color: #c0392b;
}
.modal-submit-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
}

.modal-submit-btn:hover {
    background-color: #219653;
}

.modal-submit-btn i {
    margin-right: 8px;
}
.requirements-list {
    list-style-type: none;
    font-size: var(--text-2xl);
    line-height: 1.6;
}

.requirements-list li {
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: var(--space-xl);
}

.requirements-list li::before {
    content: "•";
    color: var(--orange);
    font-size: 2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.documents__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}

.documents__prompt {
    text-align: center;
    font-size: var(--text-xl);
    margin-bottom: var(--space-xl);
}

.documents__illustration img {
    height: auto;
}

/* Секция оплаты */
.payment {
    padding: var(--space-2xl) 0;
    background-color: var(--light-bg);
}

.payment__block {
    display: flex;
    flex-direction: row;
}

.payment__content {
    flex: 1;
}

.section-title {
    font-size: var(--text-5xl);
    justify-self: center;
}

.section-title--left {
    text-align: left;
    margin-bottom: 60px;
}

.section-title--left span {
    display: block;
    font-size: var(--text-5xl);
}

.payment__intro {
    font-size: var(--text-xl);
    margin-bottom: 50px;
    line-height: 1.6;
}

.payment__option {
    margin-bottom: var(--space-xl);
}

.payment__option-title {
    font-size: var(--text-2xl);
    color: var(--orange);
    margin-bottom: var(--space-sm);
}

.payment__option p {
    font-size: var(--text-lg);
    line-height: 1.6;
}

.payment__illustration img {
    max-width: 400px;
    height: auto;
}

/* Подвал */
.footer {
    padding: 60px 0 30px;
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.footer__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xl);
}

.footer__contacts address p {
    margin-bottom: var(--space-sm);
    font-style: normal;
}

.footer__contacts a {
    transition: var(--transition);
}

.footer__contacts a:hover {
    color: var(--orange);
}

.footer__nav ul {
    list-style: none;
}

.footer__nav li {
    margin-bottom: var(--space-sm);
}

.footer__nav a:hover {
    color: var(--orange);
}

.footer__copyright {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Слайдер */
.swiper {
    padding: var(--space-md) 0;
    overflow: visible;
}

.swiper-slide {
    transition: var(--transition);
    opacity: 0.5;
    filter: blur(2px);
    transform: scale(0.9);
    height: auto !important;
}

.swiper-slide-active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    box-shadow: var(--shadow-lg);
}

.custom-swiper-button-prev,
.custom-swiper-button-next {
    position: absolute;
    top: 33%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 40px;
    height: 40px;
    z-index: 100;
}

.custom-swiper-button-prev {
    left: var(--space-sm);
}

.custom-swiper-button-next {
    right: var(--space-sm);
}

.custom-swiper-button-prev img,
.custom-swiper-button-next img {
    width: 100%;
    height: auto;
}

.custom-swiper-button-prev:hover img,
.custom-swiper-button-next:hover img {
    opacity: 0.8;
    transform: scale(1.1);
    transition: var(--transition);
}

/* Таймеры */
[id^="timer-text-"] {
    margin-top: var(--space-sm) !important;
    color: var(--text-light) !important;
}

/* Модальные окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-container {
    background: var(--text-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 1200px;
    max-height: 800px;
    overflow-y: auto;
    padding: var(--space-xl);
    position: relative;
}

.modal-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    font-size: var(--text-2xl);
    cursor: pointer;
    color: #777;
    background: none;
    border: none;
}

.modal-close:hover {
    color: var(--text-dark);
}

/* Формы */
.form-section {
    padding: 0 25px;
    margin-bottom: var(--space-md);
}

.documents-section {
    padding: var(--space-sm) 25px;
    margin-bottom: var(--space-sm);
    background-color: #f8f9fa;
    border-radius: var(--radius-lg);
}

.documents-section.required-docs {
    border-left: 4px solid var(--danger);
}

.documents-section.optional-docs {
    border-left: 4px solid var(--primary);
}

.documents-section h3 {
    font-size: var(--text-lg);
    color: var(--dark);
    margin-top: 0;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #34495e;
    margin-bottom: var(--space-xs);
    font-size: 15px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: var(--space-sm) 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
}

/* Загрузка файлов */
.file-upload {
    position: relative;
    margin: var(--space-sm) 0;
}
.file-upload input {
    visibility: hidden;
}
.document-info {
    flex: 1;
    min-width: 250px;
    margin-bottom: 10px;
}

.doc-number {
    display: inline-block;
    width: 25px;
    color: #7f8c8d;
    font-weight: 500;
}

.doc-title {
    display: inline-block;
    font-size: 15px;
    color: #2c3e50;
}
.doc-required {
    display: inline-block;
    font-size: 12px;
    color: #e74c3c;
    margin-left: 8px;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}
.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    color: var(--text-light);
    cursor: pointer;
}

.file-upload-label:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #38b6db 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.file-count {
    margin-left: var(--space-sm);
    padding: 4px 10px;
    background-color: var(--text-light);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero__container {
        flex-direction: column;
    }

    .hero__bubble {
        top: -180px;
        left: -180px;
    }

    .documents__content {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .header__container {
        flex-direction: column;
    }

    .navbar {
        margin-top: var(--space-xl);
        align-items: center;
    }

    .phone-button {
        margin: var(--space-xl) 0 0;
    }

    .specialty-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header__text {
        font-size: var(--text-lg);
    }

    .navbar__list {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .hero__bubble {
        top: -150px;
        left: -120px;
        padding: 50px 30px 90px;
        background-size: contain;
    }

    .statistics__grid {
        gap: 50px;
    }

    .stat-card {
        max-width: 250px;
    }

    .stat-card__circle {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .requirements-list {
        font-size: var(--text-lg);
    }

    .section-title--left span {
        font-size: var(--text-4xl);
    }
}

@media (max-width: 576px) {
    .hero__bubble {
        top: -100px;
        left: -80px;
        padding: 30px 20px 60px;
    }

    .specialty-card {
        padding: var(--space-md);
    }

    .specialty-card__title {
        font-size: var(--text-2xl);
    }

    .footer__content {
        flex-direction: column;
        gap: var(--space-xl);
    }
}

/*feedback*/

.relative-container {
    position: relative;
}

.feedback-wrapper {
    position: absolute;
    top: 30px;
    left: 30px;
    border-radius: 20px;
}

.feedback-form {
    position: absolute;
    width: 500px;
    background-color: floralwhite;
    padding: 20px;
    border-radius: 20px;
}

.feedback-title {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.image-container {
    width: auto;
    height: auto;
    place-content: center;
    display: flex;
}

.form-group textarea {
    resize: vertical;
}



/*etc*/
.obj {
    display: flex;
}
@media (max-width: 755px) {
    .feedback-wrapper {
        position: relative;
        top: 0;
        left: 0;
    }
    .feedback-form {
        width: auto;
        position: relative;
    }
}
@media (max-width: 1200px) {
    .obj {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .header__container {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .header__logo {
        margin-bottom: 25px;
    }
    .navbar {
        align-items: center;
    }
    .hero__content {
        margin-bottom: 30px;
    }
    .modal-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 25px;
    }
    .payment__block {
        flex-direction: column;
        align-items: flex-end;
    }

}

@media (max-width: 630px) {
    .payment__content {
        display: flex;
        flex-direction: column;
    }
    .payment__block {
        flex-direction: column;
    }
}
@media (min-width: 1201px) and (max-width: 1373px) {
    .header__container {
        justify-content: center;
    }
    .hero__container {
        margin-top: 120px;
    }
    .navbar {
        align-items: center;
    }
}
