/* Стили для страницы партнеров (единый стиль сайта) */

.content-section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 80%;
}

.bg-light {
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    color: rgb(153, 128, 0);
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 300;
    padding-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: rgb(139, 107, 0);
}

/* Блок истории */
.history-block {
    background: white;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    border: 2px solid rgb(153, 128, 0);
}

.history-image {
    flex: 0 0 300px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgb(153, 128, 0);
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
}

.history-content {
    flex: 1;
}

.year-badge {
    display: inline-block;
    background: rgb(153, 128, 0);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.history-content h3 {
    font-size: 1.8rem;
    color: rgb(153, 128, 0);
    margin-bottom: 20px;
}

.history-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Миссия */
.mission-block {
    background: rgb(153, 128, 0);
    border-radius: 10px;
    padding: 40px;
    color: white;
    text-align: center;
    margin: 60px 0;
    border: 2px solid rgb(139, 107, 0);
}

.mission-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: rgb(253, 212, 76);
}

.mission-text {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
}

/* Форматы сотрудничества */
.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.cooperation-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid rgb(153, 128, 0);
    border: 2px solid #eee;
    height: 100%;
}

.cooperation-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: rgb(153, 128, 0);
}

.card-icon {
    font-size: 2rem;
    color: rgb(153, 128, 0);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
    color: rgb(153, 128, 0);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-text {
    color: #555;
    line-height: 1.6;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.advantage-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid #eee;
}

.advantage-item:hover {
    border-color: rgb(153, 128, 0);
}

.advantage-number {
    background: rgb(153, 128, 0);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advantage-content h4 {
    color: rgb(153, 128, 0);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.advantage-content p {
    color: #555;
    line-height: 1.6;
}

/* CTA блок */
.cta-section {
    background: rgb(153, 128, 0);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 80px;
    border-top: 2px solid rgb(139, 107, 0);
    border-bottom: 2px solid rgb(139, 107, 0);
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: white;
    color: rgb(153, 128, 0);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: transparent;
    color: white;
}

.cta-button i {
    margin-right: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .history-block {
        flex-direction: column;
        text-align: center;
    }
    
    .history-image {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .history-block,
    .mission-block,
    .cooperation-card {
        padding: 25px;
    }
    
    .cooperation-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-text {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .cooperation-card,
    .advantage-item {
        padding: 20px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Стили для страницы партнеров (единый стиль сайта) */

/* Герой-секция для страницы партнёров */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/picture/rice-field-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    margin-bottom: 80px;
    border-bottom: 2px solid rgb(139, 107, 0);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-quote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    font-style: italic;
    border-left: 4px solid rgb(253, 212, 76);
    padding-left: 20px;
    text-align: left;
}

/* Инфографика */
.infographic {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 60px 0;
    flex-wrap: wrap;
    position: relative;
}

.infographic::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgb(153, 128, 0);
    z-index: 1;
}

.infographic-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: rgb(153, 128, 0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgb(153, 128, 0);
}

.step-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: calc(100% - 65px);
}

.step-content h4 {
    margin: 10px 0;
    color: rgb(153, 128, 0);
    font-size: 1.3rem;
    font-weight: 600;
}

.step-content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.step-arrow {
    position: absolute;
    right: -15px;
    top: 25px;
    color: rgb(153, 128, 0);
    font-size: 2rem;
    z-index: 3;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Субтитул секции */
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.2rem;
    font-style: italic;
}

/* Объяснение модели */
.model-explanation {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 10px;
    border: 2px solid rgb(153, 128, 0);
}

.explanation-block h3 {
    text-align: center;
    margin-bottom: 40px;
    color: rgb(153, 128, 0);
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.explanation-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.explanation-item:hover {
    border-color: rgb(153, 128, 0);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.explanation-icon {
    font-size: 2.5rem;
    color: rgb(153, 128, 0);
    margin-bottom: 15px;
}

.explanation-item h4 {
    margin-bottom: 15px;
    color: rgb(153, 128, 0);
    font-size: 1.3rem;
    font-weight: 600;
}

.explanation-item p {
    color: #555;
    line-height: 1.6;
}

/* Кому подходит - используем стили cooperation-card */
.cooperation-grid .cooperation-card {
    height: 100%;
}

/* CTA секция обновленная */
.cta-section {
    background: linear-gradient(135deg, rgb(153, 128, 0) 0%, rgb(139, 107, 0) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-top: 2px solid rgb(253, 212, 76);
    border-bottom: 2px solid rgb(253, 212, 76);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: white;
    color: rgb(153, 128, 0);
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    cursor: pointer;
}

.cta-button:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background-color: white;
    color: rgb(153, 128, 0);
}

.cta-button i {
    font-size: 1.2rem;
}

/* Адаптивность для новых элементов */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .infographic {
        flex-direction: column;
        gap: 40px;
    }
    
    .infographic::before {
        display: none;
    }
    
    .infographic-step {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .step-arrow {
        position: relative;
        right: 0;
        top: 0;
        margin: 15px 0;
        transform: rotate(90deg);
        display: inline-flex;
    }
    
    .step-content {
        height: auto;
    }
    
    .explanation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-quote {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .infographic-step {
        min-width: 100%;
    }
    
    .model-explanation {
        padding: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 80%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .step-content {
        padding: 15px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Дополнительные уточнения для существующих элементов */
.content-section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

/* Убедимся, что все заголовки соответствуют единому стилю */
h2.section-title {
    color: rgb(153, 128, 0);
}

h3, h4 {
    color: rgb(153, 128, 0);
}

/* Консистентность цвета акцентов */
.step-number,
.year-badge,
.advantage-number {
    background: rgb(153, 128, 0);
    color: white;
}

/* Единые стили границ */
.history-block,
.mission-block,
.model-explanation,
.cooperation-card,
.advantage-item,
.explanation-item,
.step-content {
    border-color: rgb(153, 128, 0) !important;
}

/* Ховер-эффекты в едином стиле */
.cooperation-card:hover,
.advantage-item:hover,
.explanation-item:hover {
    border-color: rgb(153, 128, 0) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Медиа-запросы для партнеров */
/* Планшеты и небольшие ноутбуки (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .infographic-step {
        min-width: 200px;
    }
    
    .explanation-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .cooperation-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* Ноутбуки (1025px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
    .container {
        max-width: 1100px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .infographic-step {
        min-width: 180px;
    }
    
    .step-content {
        padding: 18px;
    }
}

/* Мониторы 4:3 (до 1600px) */
@media (max-width: 1600px) and (min-aspect-ratio: 4/3) {
    .hero-section {
        padding: 90px 0;
        margin-bottom: 60px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .infographic::before {
        top: 30px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Старые ноутбуки (до 1280px) */
@media (max-width: 1280px) {
    .infographic-step {
        min-width: 170px;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
    }
    
    .model-explanation {
        padding: 30px;
    }
}

/* Узкие экраны (высота < 750px) */
@media (max-height: 750px) and (min-width: 1024px) {
    .hero-section {
        padding: 70px 0;
    }
    
    .infographic {
        margin: 40px 0;
    }
}