/*
Theme Name: Agrobau Лендинг
Theme URI: https://agrobau.ru
Author: Agrobau Team
Author URI: https://agrobau.ru
Description: Премиум лендинг для оптовых поставок запчастей сельхозтехники
Version: 1.0.0
License: GPL v2 or later
Text Domain: agrobau
Tags: landing-page, agricultural, b2b, wholesale, corporate
*/

:root {
    --primary-dark: #222222;
    --primary-green: #00B707;
    --accent-green: #00a306;
    --gradient-primary: linear-gradient(135deg, #00B707 0%, #008a05 100%);
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #475569;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 183, 7, 0.12);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--light-gray);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== КНОПКИ (общие стили) ========== */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 20px 36px;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 183, 7, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.btn-primary:hover:before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 183, 7, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 20px 36px;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ========== RESPONSIVE (общее) ========== */
@media (max-width: 768px) {
    /* Общие медиастили для кнопок */
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* Общие медиастили для кнопок */
    .btn-primary, .btn-secondary {
        padding: 18px 24px;
        font-size: 16px;
    }
}

/* WordPress Content Styles */
.site-main {
    padding: 40px 0;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    color: var(--primary-dark);
    font-size: 36px;
    margin-bottom: 20px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    color: var(--primary-dark);
    margin: 30px 0 15px;
    font-size: 28px;
}

.entry-content h3 {
    color: var(--primary-dark);
    margin: 25px 0 15px;
    font-size: 24px;
}

/* ========== REQUISITES SECTION ========== */
.requisites-section {
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.requisites-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.requisites-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #222222 0%, #00B707 50%, #222222 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientText 8s ease infinite;
}

.requisites-header .section-subtitle {
    font-size: 1.125rem;
    color: #666666;
    line-height: 1.5;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.requisites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.requisites-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px 35px;
    border: 1px solid rgba(0, 183, 7, 0.15);
    box-shadow: 
        0 20px 50px rgba(0, 183, 7, 0.08),
        0 8px 25px rgba(0, 183, 7, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.requisites-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 25px 60px rgba(0, 183, 7, 0.12),
        0 12px 35px rgba(0, 183, 7, 0.08);
    border-color: rgba(0, 183, 7, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 183, 7, 0.1);
}

.card-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #00B707 0%, #008a05 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 183, 7, 0.2);
    transition: all 0.3s ease;
}

.requisites-card:hover .card-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 183, 7, 0.3);
}

.card-title {
    font-size: 1.5rem;
    color: #222222;
    font-weight: 700;
    flex: 1;
    line-height: 1.3;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.requisites-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 183, 7, 0.1);
    transition: background 0.2s;
}

.requisites-row:hover {
    background: rgba(0, 183, 7, 0.02);
}

.requisites-label {
    font-size: 0.9375rem;
    color: #666666;
    font-weight: 500;
    letter-spacing: 0.3px;
    flex: 0 0 40%;
    max-width: 40%;
}

.requisites-value {
    font-size: 1rem;
    color: #222222;
    font-weight: 600;
    flex: 1;
    text-align: right;
    word-break: break-word;
    line-height: 1.4;
}

/* Удалены все фоновые декоративные элементы */

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Адаптивность */
@media (max-width: 992px) {
    .requisites-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 700px;
    }
    
    .requisites-header .section-title {
        font-size: 2rem;
    }
    
    .requisites-card {
        padding: 35px 30px;
    }
    
    .card-title {
        font-size: 1.375rem;
    }
}

@media (max-width: 768px) {
    .requisites-section {
        padding: 60px 0;
    }
    
    .requisites-header .section-title {
        font-size: 1.75rem;
    }
    
    .requisites-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .requisites-label {
        flex: 0 0 100%;
        max-width: 100%;
        font-size: 0.875rem;
    }
    
    .requisites-value {
        text-align: left;
        font-size: 1rem;
        width: 100%;
        padding-left: 0;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .requisites-card {
        padding: 25px 20px;
    }
    
    .card-header {
        gap: 12px;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
}

/* Пример: высота шапки 80px. Для мобильных устройств можно задать меньший отступ через медиазапросы */
#audience,
#problem-solution-section,
#manufacturers,
#cost-saving,
#factory-tours,
#contacts {
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    #audience,
    #problem-solution-section,
    #manufacturers,
    #cost-saving,
    #factory-tours,
    #contacts {
        scroll-margin-top: 60px; /* меньший отступ для мобильных */
    }
}