/* ========== СТРАНИЦА "ПРАКТИКА И СТАЖИРОВКИ" ========== */

/* ========== ГЕРОЙ-СЕКЦИЯ (practice-hero) ========== */

.practice-hero {
    margin-bottom: var(--hero-margin-bottom);
}

.practice-hero__title {
    font-size: var(--hero-title-size);
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.practice-hero__divider {
    width: 80px;
    height: 4px;
    margin: 0 auto var(--hero-divider-margin);
    border-radius: 2px;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .practice-hero__title {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .practice-hero__title {
        margin-bottom: 15px;
    }
}

/* ========== БЛОК "ПРЕИМУЩЕСТВА" (practice-advantages) ========== */

.practice-advantages {
    margin-bottom: var(--adv-margin-bottom);
}

.practice-advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--adv-grid-gap);
}

.practice-advantages__card {
    background: white;
    border-radius: 20px;
    padding: var(--adv-card-padding);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-advantages__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.practice-advantages__icon {
    width: var(--adv-icon-bg-size);
    height: var(--adv-icon-bg-size);
    border-radius: var(--adv-icon-bg-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: var(--adv-icon-size);
    color: white;
    transition: transform 0.3s ease;
}

.practice-advantages__card:hover .practice-advantages__icon {
    transform: scale(1.05);
}

.practice-advantages__icon-image {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.practice-advantages__title {
    font-size: var(--adv-title-size);
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.practice-advantages__text {
    color: #666;
    font-size: var(--adv-text-size);
    line-height: 1.5;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .practice-advantages__grid {
        gap: 20px;
    }
    
    .practice-advantages__card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .practice-advantages__grid {
        grid-template-columns: 1fr;
        gap: var(--adv-grid-gap-mobile);
    }
    
    .practice-advantages__icon-image {
        max-width: 40px;
        max-height: 40px;
    }
}

/* ========== БЛОК "ПРОЕКТНАЯ ЛАБОРАТОРИЯ" (project-lab) ========== */

.project-lab {
    margin-bottom: var(--lab-margin-bottom);
}

.project-lab__title {
    font-size: var(--lab-title-size);
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
    padding-left: 20px;
}

.project-lab__container {
    padding: var(--lab-container-padding);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: white;
}

.project-lab__icon {
    font-size: var(--lab-icon-size);
    text-align: center;
    margin-bottom: 20px;
}

.project-lab__icon-image {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.project-lab__invite {
    font-size: var(--lab-invite-size);
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 300;
}

.project-lab__description {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-lab__description p {
    font-size: var(--lab-description-size);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.project-lab__benefits-title {
    font-size: var(--lab-benefits-title-size);
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.project-lab__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.project-lab__benefits-col {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.project-lab__benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-lab__benefit-item {
    margin-bottom: 15px;
    font-size: var(--lab-benefit-item-size);
    display: flex;
    align-items: flex-start;
}

.project-lab__benefit-check {
    color: #ffd700;
    margin-right: 10px;
    flex-shrink: 0;
}

.project-lab__contact {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.project-lab__contact-text {
    font-size: var(--lab-contact-text-size);
    margin-bottom: 15px;
    font-weight: 500;
}

.project-lab__contact-name {
    font-size: var(--lab-contact-name-size);
    margin-bottom: 10px;
}

.project-lab__email-button {
    display: inline-block;
    background: white;
    color: #2980b9;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--lab-email-button-size);
    margin-top: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-lab__email-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .project-lab__icon-image {
        max-width: 65px;
        max-height: 65px;
    }
    
    .project-lab__benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .project-lab__icon-image {
        max-width: 55px;
        max-height: 55px;
    }
    
    .project-lab__benefits-col {
        padding: 15px;
    }
}

/* ========== БЛОК "ДЛЯ СТУДЕНТОВ" (students-block) ========== */

.students-block {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.students-block__header {
    padding: 25px;
    color: white;
}

.students-block__title {
    font-size: var(--students-title-size);
    margin: 0;
    font-weight: bold;
}

.students-block__content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.students-block__vacancy {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: var(--students-vacancy-padding);
    margin-bottom: var(--students-vacancy-margin);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.students-block__vacancy:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.students-block__vacancy--last {
    margin-bottom: 20px;
}

.students-block__vacancy-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.students-block__vacancy-company {
    font-weight: 600;
    font-size: var(--students-company-size);
    color: #2c3e50;
}

.students-block__vacancy-salary {
    background: #e8f5e8;
    color: #2ecc71;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: var(--students-salary-size);
    font-weight: bold;
}

.students-block__vacancy-title {
    color: #666;
    font-size: var(--students-title-vacancy-size);
    margin-bottom: 8px;
}

.students-block__vacancy-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.students-block__vacancy-tag {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: var(--students-tag-size);
}

.students-block__button {
    display: block;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--students-button-size);
    margin-top: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.students-block__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .students-block__header {
        padding: 20px;
    }
    
    .students-block__content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .students-block__vacancy-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== БЛОК "ДЛЯ РАБОТОДАТЕЛЕЙ" (employers-block) ========== */

.employers-block {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.employers-block__header {
    padding: 25px;
    color: white;
}

.employers-block__title {
    font-size: var(--employers-title-size);
    margin: 0;
    font-weight: bold;
}

.employers-block__content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.employers-block__advantages {
    background: #f8f9fa;
    border-radius: 12px;
    padding: var(--employers-advantage-padding);
    margin-bottom: 20px;
}

.employers-block__advantages-title {
    font-size: var(--employers-why-title-size);
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-weight: bold;
}

.employers-block__advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.employers-block__advantage-item {
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    font-size: var(--employers-advantage-text-size);
    color: #666;
}

.employers-block__advantage-check {
    color: #27ae60;
}

.employers-block__form-title {
    font-size: var(--employers-form-title-size);
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-weight: bold;
}

.employers-block__form {
    display: flex;
    flex-direction: column;
}

.employers-block__input,
.employers-block__textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    font-size: var(--employers-input-size);
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.employers-block__input:focus,
.employers-block__textarea:focus {
    outline: none;
    border-color: var(--employers-gradient-start, #e74c3c);
}

.employers-block__textarea {
    resize: vertical;
}

.employers-block__checkbox {
    margin-bottom: 15px;
}

.employers-block__checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: var(--employers-checkbox-size);
    cursor: pointer;
}

.employers-block__checkbox input {
    cursor: pointer;
}

.employers-block__submit {
    width: 100%;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: var(--employers-button-size);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.employers-block__submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.employers-block__footer {
    font-size: var(--employers-footer-size);
    color: #999;
    text-align: center;
    margin-top: 15px;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .employers-block__header {
        padding: 20px;
    }
    
    .employers-block__content {
        padding: 20px;
    }
}

/* ========== БЛОК "АККОРДЕОН" (how-to-apply) ========== */

.how-to-apply {
    max-width: 800px;
    margin: 0 auto var(--how-apply-margin-bottom);
}

.how-to-apply__title {
    font-size: var(--how-apply-title-size);
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.how-to-apply__step {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.how-to-apply__step:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.how-to-apply__step-header {
    padding: var(--how-apply-step-padding);
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s ease;
}

.how-to-apply__step-header:hover {
    background: #f0f0f0;
}

.how-to-apply__step-number {
    margin-right: 10px;
}

.how-to-apply__step-title {
    flex: 1;
    font-size: var(--how-apply-step-title-size);
    color: #2c3e50;
}

.how-to-apply__step-toggle {
    font-size: var(--how-apply-toggle-size);
    transition: transform 0.3s ease;
}

.how-to-apply__step-content {
    display: none;
    padding: var(--how-apply-content-padding);
    border-top: 1px solid #eaeaea;
}

.how-to-apply__step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: var(--how-apply-step-text-size);
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .how-to-apply__step-title {
        font-size: 1.6rem;
    }
}

/* ========== БЛОК "ЦЕНТР КАРЬЕРЫ" (career-center) ========== */

.career-center {
    border-radius: 20px;
    padding: var(--career-padding);
    text-align: center;
    color: white;
}

.career-center__title {
    font-size: var(--career-title-size);
    margin-bottom: 15px;
    font-weight: bold;
}

.career-center__contact {
    font-size: var(--career-contact-size);
    margin-bottom: 10px;
    opacity: 0.9;
}

.career-center__address {
    font-size: var(--career-address-size);
    margin-bottom: 25px;
    opacity: 0.8;
}

.career-center__social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.career-center__social-icon {
    background: rgba(255, 255, 255, 0.2);
    width: var(--career-icon-bg-size);
    height: var(--career-icon-bg-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--career-icon-size);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.career-center__social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.career-center__button {
    display: inline-block;
    color: white;
    padding: var(--career-button-padding);
    border-radius: var(--career-button-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--career-button-size);
    transition: all 0.3s ease;
}

.career-center__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.career-center__hours {
    font-size: var(--career-hours-size);
    margin-top: 25px;
    opacity: 0.7;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .career-center__social-icon {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

/* ----- ОСНОВНЫЕ СТИЛИ СТРАНИЦЫ ----- */
.practice-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--practice-container-padding) 20px;
}

.practice-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--practice-grid-gap);
    margin-bottom: var(--practice-grid-margin-bottom);
}

.practice-page__back-wrapper {
    text-align: center;
    margin-top: var(--practice-back-button-margin-top);
}

.practice-page__back-button {
    display: inline-block;
    color: white;
    padding: var(--practice-back-button-padding);
    border-radius: var(--practice-back-button-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--practice-back-button-size);
    transition: all 0.3s ease;
}

.practice-page__back-button:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ----- АДАПТИВНОСТЬ ----- */
@media (max-width: 992px) {
    .practice-page__grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .practice-page__grid {
        grid-template-columns: 1fr;
        gap: var(--practice-grid-gap-mobile);
    }
}