/* ========== СТРАНИЦА ОБУЧЕНИЯ ЗА РУБЕЖОМ (ZAGRAN.HTML) ========== */

/* Общие стили для заголовков */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--logo-blue);
    margin-bottom: 15px;
}
.section-header h2 span {
    color: var(--accent-orange);
}
.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 5px;
}

/* Hero блок - по центру */
.hero-zagran {
    background: linear-gradient(135deg, #0A2B5B 0%, #1A4B8F 100%);
    padding: 160px 20px 100px;
    text-align: center;
}
.hero-zagran-container {
    max-width: 900px;
    margin: 0 auto;
}
.hero-zagran-content {
    text-align: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(245,166,35,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 25px;
}
.hero-zagran h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(32px, 5vw, 56px);
    color: white;
    margin-bottom: 20px;
}
.hero-zagran h1 span {
    color: var(--accent-orange);
}
.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-offer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 35px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}
.hero-offer i {
    font-size: 18px;
    color: var(--accent-orange);
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-buttons .btn-accent {
    margin-bottom: 0;
    padding: 16px 35px;
}
.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.hero-buttons .btn-outline:hover {
    background: white;
    color: var(--logo-blue);
}

/* Секция услуг */
.services-section {
    padding: 80px 20px;
    background: #F5F7FB;
}
.services-container {
    max-width: 1300px;
    margin: 0 auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: white;
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,86,156,0.1);
}
.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-ice);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.service-icon i {
    font-size: 32px;
    color: var(--logo-blue);
}
.service-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--logo-blue);
    margin-bottom: 12px;
}
.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Блок языкового лагеря (Челябинская область + выезды) */
.camp-section {
    padding: 60px 20px;
    background: white;
}
.camp-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.camp-card {
    background: linear-gradient(135deg, #F8FAFE 0%, #FFFFFF 100%);
    border-radius: 28px;
    padding: 35px 30px;
    display: flex;
    gap: 25px;
    border: 1px solid #eef2f7;
    transition: 0.3s;
}
.camp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,86,156,0.1);
}
.camp-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--accent-ice);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.camp-icon i {
    font-size: 32px;
    color: var(--accent-orange);
}
.camp-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--logo-blue);
    margin-bottom: 12px;
}
.camp-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}
.camp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.camp-features span {
    font-size: 13px;
    font-weight: 600;
    color: var(--logo-blue);
}
.camp-features span i {
    color: var(--accent-orange);
    margin-right: 6px;
}

/* Компактный блок "Как мы работаем" */
.howwork-section {
    padding: 80px 20px;
    background: #F5F7FB;
}
.howwork-container {
    max-width: 1100px;
    margin: 0 auto;
}
.steps-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    background: white;
    border-radius: 60px;
    padding: 25px 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.step-compact {
    text-align: center;
    min-width: 120px;
}
.step-num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--logo-blue), var(--btn-accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    margin: 0 auto 10px;
}
.step-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--logo-blue);
}
.step-arrow {
    color: var(--accent-orange);
    font-size: 20px;
}

/* Преимущества (исправлена ширина) */
.advantages-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0A2B5B 0%, #1A4B8F 100%);
    color: white;
}
.advantages-container {
    max-width: 1300px;
    margin: 0 auto;
}
.advantages-section .section-header h2 {
    color: white;
}
.advantages-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.advantage-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    transition: 0.3s;
}
.advantage-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}
.advantage-item i {
    font-size: 44px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}
.advantage-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 12px;
}
.advantage-item p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}

/* НОВЫЙ БЛОК: Hilton Camp 74 */
.hilton-camp-section {
    padding: 80px 20px;
    background: white;
}
.hilton-camp-container {
    max-width: 1200px;
    margin: 0 auto;
}
.hilton-intro {
    background: #F9FAFB;
    padding: 35px 40px;
    border-radius: 28px;
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 4px solid var(--accent-orange);
}
.hilton-intro p {
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hilton-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}
.hilton-feature {
    background: #F9FAFB;
    border-radius: 24px;
    padding: 30px 25px;
    text-align: center;
    transition: 0.3s;
}
.hilton-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,86,156,0.1);
}
.hilton-feature i {
    font-size: 44px;
    color: var(--accent-orange);
    margin-bottom: 15px;
}
.hilton-feature h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--logo-blue);
    margin-bottom: 10px;
}
.hilton-feature p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
.hilton-price {
    text-align: center;
    background: linear-gradient(135deg, #0A2B5B 0%, #1A4B8F 100%);
    border-radius: 28px;
    padding: 30px;
    margin-bottom: 40px;
}
.price-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.price-label {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}
.price-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: var(--accent-orange);
}
.price-note {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 10px;
}
.hilton-cta {
    text-align: center;
}
.hilton-cta .btn-accent {
    padding: 16px 50px;
    font-size: 18px;
}

/* Блок: языковые лагеря за рубежом */
.camps-abroad-section {
    padding: 80px 20px;
    background: #F5F7FB;
}
.camps-abroad-container {
    max-width: 1400px;
    margin: 0 auto;
}
.camps-intro {
    background: white;
    border-radius: 32px;
    padding: 35px 40px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.camps-intro-text p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}
.camps-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.camps-features-list span {
    font-size: 14px;
    font-weight: 600;
    color: var(--logo-blue);
    background: var(--accent-ice);
    padding: 8px 16px;
    border-radius: 30px;
}
.camps-features-list span i {
    color: var(--accent-orange);
    margin-right: 8px;
}
.camps-intro-icon i {
    font-size: 80px;
    color: var(--accent-orange);
    opacity: 0.7;
}
.camps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
.camp-card-abroad {
    background: white;
    border-radius: 24px;
    padding: 25px;
    transition: 0.3s;
    border: 1px solid #eef2f7;
}
.camp-card-abroad:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,86,156,0.1);
}
.camp-flag {
    font-size: 32px;
    margin-bottom: 12px;
}
.camp-card-abroad h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--logo-blue);
    margin-bottom: 5px;
}
.camp-cities {
    font-size: 13px;
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 12px;
}
.camp-card-abroad p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}
.camp-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.camp-details span {
    font-size: 12px;
    color: #888;
}
.camp-details span i {
    margin-right: 4px;
    color: var(--accent-orange);
}
.camp-accent {
    font-size: 12px;
    font-weight: 700;
    color: var(--logo-blue);
    background: var(--accent-ice);
    padding: 8px 12px;
    border-radius: 16px;
    margin-top: 10px;
}
.camps-cta {
    text-align: center;
    margin-top: 20px;
}
.camps-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--btn-accent);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.camps-link-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

/* Блок: системы образования за рубежом */
.education-systems-section {
    padding: 80px 20px;
    background: white;
}
.education-systems-container {
    max-width: 1300px;
    margin: 0 auto;
}
.education-intro {
    background: #F9FAFB;
    padding: 30px 35px;
    border-radius: 28px;
    margin-bottom: 50px;
    border-left: 5px solid var(--accent-orange);
}
.education-intro p {
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}
.block-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--logo-blue);
    margin-bottom: 25px;
    text-align: center;
}
.countries-list-section {
    margin-bottom: 60px;
}
.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.country-item {
    background: #F9FAFB;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--logo-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.country-flag {
    font-size: 22px;
}
.country-note {
    font-size: 13px;
    font-weight: normal;
    color: #888;
}
.top-countries-section {
    margin-bottom: 60px;
}
.top-countries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}
.top-country-card {
    background: #F9FAFB;
    border-radius: 24px;
    padding: 25px 20px;
    position: relative;
    transition: 0.3s;
}
.top-country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,86,156,0.1);
}
.top-country-rank {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--accent-orange);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}
.top-country-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--logo-blue);
    margin: 15px 0 10px;
}
.top-country-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}
.top-country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.top-country-tags span {
    background: var(--accent-ice);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--logo-blue);
}
.reasons-section {
    margin-bottom: 60px;
}
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.reason-card {
    display: flex;
    gap: 18px;
    background: #F9FAFB;
    padding: 22px 25px;
    border-radius: 24px;
    transition: 0.3s;
}
.reason-card:hover {
    background: var(--accent-ice);
}
.reason-card i {
    font-size: 32px;
    color: var(--accent-orange);
    flex-shrink: 0;
}
.reason-card strong {
    font-size: 16px;
    color: var(--logo-blue);
    margin-bottom: 5px;
    display: block;
}
.reason-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}
.how-studyland-helps {
    background: linear-gradient(135deg, #0A2B5B 0%, #1A4B8F 100%);
    border-radius: 32px;
    padding: 40px;
    margin-bottom: 50px;
    display: flex;
    gap: 40px;
    align-items: center;
    color: white;
}
.helps-icon i {
    font-size: 80px;
    color: var(--accent-orange);
}
.helps-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 15px;
}
.helps-content > p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
}
.helps-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
}
.helps-list li {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.helps-list li i {
    color: var(--accent-orange);
    font-size: 14px;
}
.education-cta {
    text-align: center;
    background: #F9FAFB;
    border-radius: 32px;
    padding: 40px;
}
.education-cta p {
    font-size: 20px;
    font-weight: 600;
    color: var(--logo-blue);
    margin-bottom: 25px;
}
.education-cta .btn-accent {
    padding: 16px 45px;
}

/* Аудитория */
.audience-section {
    padding: 80px 20px;
    background: white;
}
.audience-container {
    max-width: 1300px;
    margin: 0 auto;
}
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.audience-card {
    background: #F9FAFB;
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eef2f7;
}
.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,86,156,0.1);
}
.audience-card i {
    font-size: 44px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}
.audience-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--logo-blue);
    margin-bottom: 12px;
}
.audience-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Блок доверия */
.trust-section {
    padding: 80px 20px;
    background: #F5F7FB;
}
.trust-container {
    max-width: 1300px;
    margin: 0 auto;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.trust-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 24px;
    border-bottom: 4px solid var(--accent-orange);
}
.trust-item i {
    font-size: 40px;
    color: var(--accent-orange);
    margin-bottom: 15px;
}
.trust-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--logo-blue);
    margin-bottom: 10px;
}
.trust-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Форма заявки */
.form-section .form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.form-left h2 {
    text-align: left;
    font-size: 28px;
}
.form-left p {
    text-align: left;
    margin-bottom: 25px;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-method {
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.3s;
}
.contact-method:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}
.contact-method i {
    font-size: 20px;
    color: var(--accent-orange);
}
.contact-method span {
    font-size: 15px;
    font-weight: 500;
}

/* FAQ */
.faq-zagran {
    padding: 80px 20px;
    background: white;
}
.faq-zagran .faq-container {
    max-width: 1100px;
    margin: 0 auto;
}
.faq-zagran .faq-item {
    background: #F9FAFB;
    border-radius: 24px;
    margin-bottom: 15px;
    border: 1px solid #eef2f7;
}
.faq-zagran .faq-question {
    padding: 22px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--logo-blue);
}
.faq-zagran .faq-question i {
    transition: 0.4s;
    color: var(--accent-orange);
}
.faq-zagran .faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-zagran .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: white;
    padding: 0 30px;
}
.faq-zagran .faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 25px 30px;
}
.faq-zagran .faq-answer p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* Адаптив */
@media (max-width: 1200px) {
    .camps-grid { grid-template-columns: repeat(3, 1fr); }
    .top-countries-grid { grid-template-columns: repeat(3, 1fr); }
    .hilton-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .camp-container { grid-template-columns: 1fr; }
    .form-section .form-container { grid-template-columns: 1fr; gap: 30px; }
    .form-left h2, .form-left p { text-align: center; }
    .contact-methods { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .steps-compact { flex-direction: column; border-radius: 30px; gap: 15px; }
    .step-arrow { transform: rotate(90deg); }
    .countries-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .camps-grid { grid-template-columns: repeat(2, 1fr); }
    .top-countries-grid { grid-template-columns: repeat(2, 1fr); }
    .countries-grid { grid-template-columns: repeat(2, 1fr); }
    .reasons-grid { grid-template-columns: 1fr; }
    .helps-list { grid-template-columns: 1fr; }
    .how-studyland-helps { flex-direction: column; text-align: center; }
    .hilton-features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-zagran { padding: 140px 15px 60px; }
    .services-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .camps-grid { grid-template-columns: 1fr; }
    .camp-card { flex-direction: column; text-align: center; }
    .camp-features { justify-content: center; }
    .camps-intro { flex-direction: column; text-align: center; }
    .camps-features-list { justify-content: center; }
    .countries-grid { grid-template-columns: 1fr; }
    .top-countries-grid { grid-template-columns: 1fr; }
    .reason-card { flex-direction: column; text-align: center; align-items: center; }
    .education-intro { padding: 20px; }
    .faq-zagran .faq-question { font-size: 16px; padding: 18px 20px; }
    .faq-zagran .faq-item.active .faq-answer { padding: 0 20px 20px 20px; }
    .price-value { font-size: 24px; }
    .hilton-intro { padding: 25px; }
}
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn-accent, .hero-buttons .btn-outline { width: 100%; text-align: center; }
    .steps-compact { padding: 20px; }
}