@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

:root {
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --color-primary: #90C140;
    --color-primary-dark: #2c5f2d;
    --color-primary-light: #A3E635;
    --color-accent: #22C55E;
    --color-accent-dark: #16A34A;
    
    --text-primary: #0a0a0a;
    --text-secondary: #1f2937;
    --text-muted: #6b7280;
    --text-inverse: #ffffff;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 25px -5px rgba(144, 193, 64, 0.4), 0 4px 10px -2px rgba(144, 193, 64, 0.3);
    
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-max: 1400px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 30%, rgba(144, 193, 64, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(34, 197, 94, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 600;
}

p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: 500;
}

a:hover {
    color: var(--color-primary-dark);
}

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

@media (min-width: 1536px) {
    .container {
        padding: 0 var(--space-10);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-primary);
    padding: var(--space-4) var(--space-10);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-primary);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(144, 193, 64, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: #ef4444;
}

.error-message {
    display: none;
    font-size: 0.875rem;
    color: #ef4444;
    margin-top: var(--space-2);
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444;
}

.site-content {
    min-height: 60vh;
    padding: var(--space-8) 0;
}

@media (max-width: 768px) {
    .site-content {
        padding: var(--space-6) 0;
    }
}

.price-list-wrapper {
    background: var(--bg-secondary);
    padding: var(--space-12) 0;
}

.price-list-wrapper .container {
    max-width: var(--container-max);
}

.price-list-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.price-list-header h1 {
    margin-bottom: var(--space-3);
}

.price-list-header p {
    margin-bottom: var(--space-2);
}

.price-list-header .price-note {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.price-section {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.price-section-header {
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-8);
}

.price-section-header h2 {
    margin: 0;
}

.price-subsection {
    margin-bottom: var(--space-8);
}

.price-subsection:last-child {
    margin-bottom: 0;
}

.price-subsection h3 {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    padding: var(--space-3) var(--space-4);
    border-left: 4px solid var(--color-primary);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-6);
    border-radius: var(--radius-sm);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.price-table thead {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.price-table thead th {
    padding: var(--space-4) var(--space-5);
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-inverse);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all var(--transition-fast);
}

.price-table tbody tr:hover {
    background: rgba(144, 193, 64, 0.05);
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table tbody td {
    padding: var(--space-4) var(--space-5);
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-table tbody td strong {
    font-weight: 700;
    color: var(--text-primary);
}

.price-table .price-value {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.125rem;
}

.price-table tbody tr.price-special {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.price-table tbody tr.price-special .price-value {
    color: #ef4444;
    font-size: 1.25rem;
}

.price-contact {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    text-align: center;
    border: 1px solid rgba(144, 193, 64, 0.1);
    margin-top: var(--space-12);
}

.price-contact h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.price-contact p {
    font-size: 1.125rem;
    margin-bottom: var(--space-3);
}

.price-contact strong {
    color: var(--color-primary);
    font-weight: 700;
}

.price-contact ul {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.price-contact ul li {
    padding: var(--space-2) 0 var(--space-2) var(--space-8);
    position: relative;
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-contact ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .price-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .price-table thead th,
    .price-table tbody td {
        padding: var(--space-3) var(--space-4);
        font-size: 0.875rem;
    }
    
    .price-section {
        padding: var(--space-6);
    }
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(144, 193, 64, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.main-header-bar {
    background: transparent;
    padding: var(--space-3) 0;
    border-bottom: none;
}

.ast-primary-header-bar .ast-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 72px;
    gap: var(--space-6);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
    flex-wrap: nowrap !important;
}

.ast-primary-header-bar .ast-container > * {
    flex-shrink: 0;
}

.site-branding,
.ast-primary-header-bar .ast-container [data-section="title_tagline"] {
    flex: 0 0 auto !important;
    order: 1 !important;
    z-index: 10;
    margin-right: auto;
}

.site-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.site-title a {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
}

.main-header-bar-navigation,
.ast-primary-header-bar .ast-container [data-section="section-hb-menu-1"],
.ast-primary-header-bar .ast-container .ast-builder-menu-1,
.ast-primary-header-bar .ast-container .ast-header-menu-1 {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    order: 2 !important;
    min-width: 0;
    margin-left: auto;
    margin-right: 0;
}

.main-header-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-header-menu > .menu-item {
    position: relative;
}

.main-header-menu > .menu-item > a {
    display: flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
}

.main-header-menu > .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: var(--space-1);
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
    transition: transform var(--transition-base);
}

.main-header-menu > .menu-item:hover > a,
.main-header-menu > .menu-item.current-menu-item > a {
    color: var(--color-primary);
    background: rgba(144, 193, 64, 0.05);
}

.main-header-menu > .menu-item:hover > a::after,
.main-header-menu > .menu-item.current-menu-item > a::after {
    transform: translateX(-50%) scaleX(1);
}

.main-header-menu .sub-menu {
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(144, 193, 64, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    list-style: none;
    margin: 0;
}

.main-header-menu > .menu-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-header-menu .sub-menu .menu-item {
    margin: 0;
}

.main-header-menu .sub-menu a {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.main-header-menu .sub-menu a:hover {
    background: rgba(144, 193, 64, 0.1);
    color: var(--color-primary);
    padding-left: var(--space-5);
}

.bonseeds-header-cart,
.ast-primary-header-bar .ast-container .bonseeds-header-cart {
    flex: 0 0 auto !important;
    order: 3 !important;
    margin-left: var(--space-4) !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
    z-index: 10;
}

.bonseeds-header-cart-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--text-inverse);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.bonseeds-header-cart-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.bonseeds-header-cart-link:hover::before {
    left: 100%;
}

.bonseeds-header-cart-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-primary);
}

.bonseeds-cart-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.bonseeds-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--space-2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.bonseeds-cart-count[data-count="0"],
.bonseeds-cart-count:not([data-count]) {
    display: none;
}

@media (max-width: 1024px) {
    .ast-primary-header-bar .ast-container {
        min-height: 64px;
        padding: 0 var(--space-4);
        flex-wrap: wrap;
        gap: var(--space-3);
    }
    
    .main-header-menu > .menu-item > a {
        padding: var(--space-2) var(--space-3);
        font-size: 0.875rem;
    }
    
    .main-header-bar-navigation,
    .ast-primary-header-bar .ast-container [data-section="section-hb-menu-1"] {
        order: 3 !important;
        width: 100%;
        justify-content: center !important;
        margin-top: var(--space-2);
    }
    
    .bonseeds-header-cart {
        order: 2 !important;
        margin-left: auto !important;
    }
}

@media (max-width: 768px) {
    .ast-primary-header-bar .ast-container {
        min-height: 60px;
    }
    
    .main-header-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .main-header-menu > .menu-item {
        width: 100%;
    }
    
    .main-header-menu > .menu-item > a {
        width: 100%;
        justify-content: center;
    }
}

/* Скрываем стандартный футер Astra */
.site-below-footer-wrap,
.ast-footer-copyright,
footer#colophon:not(.site-footer),
.ast-builder-footer-wrap:not(.site-footer) {
    display: none !important;
}

.site-footer {
    background: linear-gradient(180deg, var(--color-primary-dark) 0%, #152e16 100%);
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
    margin-top: var(--space-20);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(144, 193, 64, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: footerGlow 15s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-16) var(--space-6);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-column h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
}

.footer-column p,
.footer-column li {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-3);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-column a:hover {
    color: var(--color-primary-light);
    transform: translateX(4px);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: var(--space-2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    color: var(--text-inverse);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-container {
        padding: var(--space-12) var(--space-4);
    }
}

.checkout-container,
.thank-you-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-10) var(--space-6);
}

.checkout-title,
.thank-you-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-8);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-form {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-8);
}

.checkout-form h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid #e5e7eb;
}

.checkout-summary {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(144, 193, 64, 0.1);
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.cart-items {
    margin-bottom: var(--space-6);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    box-shadow: var(--shadow-sm);
}

.order-total {
    border-top: 2px solid #e5e7eb;
    padding-top: var(--space-6);
    margin-top: var(--space-6);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    font-size: 1rem;
    color: var(--text-secondary);
}

.total-row.final {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-top: var(--space-4);
    border-top: 2px solid var(--color-primary);
}

.submit-btn {
    width: 100%;
    padding: var(--space-5) var(--space-8);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-primary);
    margin-top: var(--space-6);
    position: relative;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-primary);
}

.submit-btn:active {
    transform: translateY(0);
}

.empty-cart {
    text-align: center;
    padding: var(--space-16) var(--space-6);
    display: none;
}

.empty-cart.show {
    display: block;
}

.empty-cart svg {
    width: 80px;
    height: 80px;
    color: #9ca3af;
    margin-bottom: var(--space-6);
}

.empty-cart h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.empty-cart p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.checkout-content {
    display: none;
}

.checkout-content.show {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-8);
}

@media (max-width: 1024px) {
    .checkout-content.show {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}

.thank-you-container {
    text-align: center;
    padding: var(--space-16) var(--space-6);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-8);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-primary);
    }
    50% {
        transform: scale(1.05);
        box-shadow: var(--shadow-xl), var(--shadow-primary);
    }
}

.success-icon svg {
    width: 60px;
    height: 60px;
    color: var(--text-inverse);
    stroke-width: 3;
}

.order-info {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin: var(--space-8) 0;
    border: 1px solid rgba(144, 193, 64, 0.1);
}

.order-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: var(--space-4) 0;
    letter-spacing: 0.05em;
}

.order-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-4);
}

.next-steps {
    text-align: left;
    max-width: 600px;
    margin: var(--space-8) auto;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.next-steps h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    padding: var(--space-3) 0 var(--space-3) var(--space-8);
    position: relative;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.action-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-8);
    flex-wrap: wrap;
}

.page-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
    padding: var(--space-16) 0;
    margin-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: rotate(45deg);
    animation: pageHeaderGlow 15s ease-in-out infinite;
}

@keyframes pageHeaderGlow {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: rotate(45deg) scale(1.1);
    }
}

.page-header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

.tech-hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
    padding: var(--space-16) var(--space-6);
    text-align: center;
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-12);
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: rotate(45deg);
    animation: techHeroGlow 20s ease-in-out infinite;
}

@keyframes techHeroGlow {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: rotate(45deg) scale(1.15);
    }
}

.tech-hero h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.tech-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.technologies-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6) var(--space-12);
}

.tech-content {
    margin-bottom: var(--space-16);
}

.tech-overview {
    text-align: center;
    margin-bottom: var(--space-12);
}

.tech-overview h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-4);
}

.tech-overview .lead {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-secondary);
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.feature {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
    transition: all var(--transition-base);
    text-align: center;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--space-5);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 64px;
    height: 64px;
    color: var(--color-primary);
}

.feature-content h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: var(--space-4);
}

.feature-content p {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.tech-benefits {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    border: 1px solid rgba(144, 193, 64, 0.1);
}

.tech-benefits h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-6);
    text-align: center;
}

.tech-benefits ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.tech-benefits li {
    margin-bottom: var(--space-4);
    padding-left: var(--space-8);
    position: relative;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.tech-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.tech-products {
    margin-bottom: var(--space-12);
}

.tech-products h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-6);
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

/* ИСКЛЮЧЕНИЕ для прайс-листа - правила определены в price-list.css */
/* Не переопределяем здесь, чтобы избежать дублирования */

.product-link {
    text-decoration: none;
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.product-card h5 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-2);
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.tech-cta {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
    padding: var(--space-16) var(--space-6);
    text-align: center;
    color: var(--text-inverse);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.tech-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: rotate(45deg);
    animation: techCtaGlow 15s ease-in-out infinite;
}

@keyframes techCtaGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.tech-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.tech-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-10);
    position: relative;
    z-index: 1;
}

.tech-cta .btn {
    position: relative;
    z-index: 1;
}

.tech-info-box {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-left: 4px solid var(--color-primary);
    padding: var(--space-5);
    margin: var(--space-6) 0;
    border-radius: var(--radius-md);
}

.tech-warning-box {
    background: linear-gradient(135deg, rgba(255, 243, 205, 0.8) 0%, rgba(255, 243, 205, 0.6) 100%);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    margin-top: var(--space-6);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.warning-title {
    color: #ef4444;
    margin-bottom: var(--space-4);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tech-table thead {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.tech-table thead th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid #e5e7eb;
}

.tech-table tbody td {
    padding: var(--space-3) var(--space-4);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    border: 1px solid #e5e7eb;
}

.tech-table tbody tr:hover {
    background: rgba(144, 193, 64, 0.05);
}

.tech-table tbody td strong {
    font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .tech-features {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* ИСКЛЮЧЕНИЕ для прайс-листа - правила определены в price-list.css */
}
    
    .tech-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}


/* ========================================
   СТРАНИЦА "ПРО КОМПАНІЮ" - ПРЕМИУМ ДИЗАЙН
   ======================================== */

/* Hero Section */
.about-hero {
    background: transparent !important; /* Убираем зеленый градиент */
    border-radius: var(--radius-xl);
    padding: 0;
    margin-bottom: var(--space-12);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: clamp(400px, 50vh, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(144, 193, 64, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    animation: aboutHeroGlow 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes aboutHeroGlow {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: rotate(45deg) scale(1.1);
    }
}

.about-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px);
    width: 100%;
}

.about-hero .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: var(--space-4);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    /* КРИТИЧНО: Переопределяем градиентный текст */
    background: none !important;
    background-image: none !important;
    background-size: unset !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
    animation: none !important;
}

.about-hero .hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
    color: #ffffff !important;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    padding: 0 clamp(16px, 3vw, 32px);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Company Info Section */
.company-info {
    margin-top: var(--space-16);
    margin-bottom: var(--space-16);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.info-card {
    background: var(--bg-primary);
    border: 1px solid rgba(144, 193, 64, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.info-card > * {
    position: relative;
    z-index: 2;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform var(--transition-base);
    z-index: 1;
    pointer-events: none;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.15) 0%, rgba(101, 163, 13, 0.1) 100%);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(132, 204, 22, 0.2);
    position: relative;
    color: #84CC16;
}

.info-icon svg {
    width: 32px;
    height: 32px;
}

.info-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.info-card:hover .info-icon::after {
    opacity: 0.3;
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.info-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Timeline Section */
.company-timeline {
    margin-top: var(--space-16);
    margin-bottom: var(--space-16);
}

.company-timeline > h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-12);
    letter-spacing: -0.02em;
}

.timeline {
    position: relative;
    padding: var(--space-8) 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
    z-index: 1;
    pointer-events: none;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-10);
    position: relative;
}

/* Timeline positioning: 2004, 2008, 2020 - left; 2015, 2024 - right */
/* Применяется на планшетах и десктопах (min-width: 769px) */
@media (min-width: 769px) {
    .timeline-item:nth-child(1),
    .timeline-item:nth-child(2),
    .timeline-item:nth-child(4) {
        flex-direction: row !important;
    }
    
    .timeline-item:nth-child(3),
    .timeline-item:nth-child(5) {
        flex-direction: row-reverse !important;
    }
    
    /* Более специфичные селекторы для гарантии */
    .company-timeline .timeline .timeline-item:nth-child(1),
    .company-timeline .timeline .timeline-item:nth-child(2),
    .company-timeline .timeline .timeline-item:nth-child(4) {
        flex-direction: row !important;
    }
    
    .company-timeline .timeline .timeline-item:nth-child(3),
    .company-timeline .timeline .timeline-item:nth-child(5) {
        flex-direction: row-reverse !important;
    }
}

/* Timeline year позиционирование - относительно timeline, а не timeline-item */
.timeline-year {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%) !important;
    color: var(--text-inverse) !important;
    padding: var(--space-3) var(--space-6) !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-display) !important;
    min-width: 80px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    z-index: 10 !important;
    font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
    font-weight: 800 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 3 !important;
    box-shadow: var(--shadow-primary) !important;
    white-space: nowrap !important;
    min-width: 100px !important;
    text-align: center !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
}

/* КРИТИЧНО: Позиционирование timeline-year относительно .timeline */
/* Годы должны быть слева от вертикальной линии для элементов слева (2004, 2008, 2020) */
/* И справа от вертикальной линии для элементов справа (2015, 2024) */
@media (min-width: 769px) {
    /* Элементы слева: 2004 (1), 2008 (2), 2020 (4) - год слева от линии */
    .company-timeline .timeline .timeline-item:nth-child(1) .timeline-year,
    .company-timeline .timeline .timeline-item:nth-child(2) .timeline-year,
    .company-timeline .timeline .timeline-item:nth-child(4) .timeline-year {
        position: absolute !important;
        left: calc(50% - 220px) !important; /* Увеличено до 220px для полного устранения наезда */
        transform: translateX(-50%) !important;
        top: 0 !important;
        margin: 0 !important;
        z-index: 10 !important;
    }
    
    /* Элементы справа: 2015 (3), 2024 (5) - год справа от линии */
    .company-timeline .timeline .timeline-item:nth-child(3) .timeline-year,
    .company-timeline .timeline .timeline-item:nth-child(5) .timeline-year {
        position: absolute !important;
        left: calc(50% + 220px) !important; /* Увеличено до 220px для полного устранения наезда */
        transform: translateX(-50%) !important;
        top: 0 !important;
        margin: 0 !important;
        z-index: 10 !important;
    }
    
    /* Увеличиваем отступы для timeline-content чтобы не наезжал на годы */
    .company-timeline .timeline .timeline-item:nth-child(1) .timeline-content,
    .company-timeline .timeline .timeline-item:nth-child(2) .timeline-content,
    .company-timeline .timeline .timeline-item:nth-child(4) .timeline-content {
        margin-left: 280px !important; /* Увеличено до 280px */
        margin-right: 0 !important;
        width: calc(50% - 300px) !important; /* Уменьшаем ширину с учетом отступа */
        max-width: calc(50% - 300px) !important;
    }
    
    .company-timeline .timeline .timeline-item:nth-child(3) .timeline-content,
    .company-timeline .timeline .timeline-item:nth-child(5) .timeline-content {
        margin-right: 280px !important; /* Увеличено до 280px */
        margin-left: 0 !important;
        width: calc(50% - 300px) !important; /* Уменьшаем ширину с учетом отступа */
        max-width: calc(50% - 300px) !important;
    }
}

.timeline-content {
    background: var(--bg-primary);
    border: 1px solid rgba(144, 193, 64, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    width: calc(50% - 70px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    z-index: 2;
}

/* Переопределяем ширину для desktop чтобы не наезжал на годы */
@media (min-width: 769px) {
    .company-timeline .timeline .timeline-item .timeline-content {
        width: calc(50% - 200px) !important; /* Уменьшаем базовую ширину */
        max-width: calc(50% - 200px) !important;
    }
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Mission & Values Section */
.mission-section {
    margin-top: var(--space-16);
    margin-bottom: var(--space-16);
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.03) 0%, rgba(34, 197, 94, 0.03) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-6);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-10);
    max-width: var(--container-max);
    margin: 0 auto;
}

.mission-block,
.values-block {
    background: white;
    border-radius: 16px;
    padding: clamp(32px, 4vw, 40px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(132, 204, 22, 0.15);
    position: relative;
    overflow: hidden;
}

.mission-icon,
.values-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.15) 0%, rgba(101, 163, 13, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #84CC16;
}

.mission-icon svg,
.values-icon svg {
    width: 28px;
    height: 28px;
}

.mission-block h2,
.values-block h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
    letter-spacing: -0.02em;
}

.mission-block p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

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

.values-list li {
    padding: var(--space-4) 0;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(132, 204, 22, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: var(--space-4) 0;
    padding-left: 0;
}

.values-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
    color: #84CC16;
}

.values-list li span {
    flex: 1;
}

.values-list li::before {
    display: none;
}

.values-list li strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Team Section */
.team-section {
    margin-top: var(--space-16);
    margin-bottom: var(--space-16);
}

.team-section > h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-12);
    letter-spacing: -0.02em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-8);
    max-width: var(--container-max);
    margin: 0 auto;
    justify-items: center; /* Центрируем карточки внутри grid */
}

/* Когда только 2 карточки команды - центрируем их */
.team-grid:has(.team-member:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(380px, 1fr));
    justify-content: center;
    max-width: 1100px; /* Увеличено с 900px для более широких карточек */
}

/* Альтернативный способ для браузеров без поддержки :has() */
.team-section .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
}

.team-section .team-grid .team-member {
    flex: 0 1 380px; /* Увеличено с 300px */
    max-width: 480px; /* Увеличено с 400px */
}

.team-member {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(144, 193, 64, 0.1);
    transition: all var(--transition-base);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.member-photo {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-5);
    overflow: hidden;
    border: 4px solid rgba(144, 193, 64, 0.2);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.member-photo::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
    pointer-events: none;
}

.member-photo img {
    position: relative;
    z-index: 1;
}

.team-member:hover .member-photo::before {
    opacity: 0.3;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Поворот фото Живага Валентина Михайлівна на 90 градусов по часовой стрелке */
.member-photo img[alt="Живага Валентина Михайлівна"],
.member-photo img[alt*="Живага"] {
    transform: rotate(90deg);
    transform-origin: center center;
}

.team-member h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.team-member .position {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.about-cta {
    margin-top: var(--space-16);
    margin-bottom: var(--space-16);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-16) var(--space-6);
    text-align: center;
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-12);
    z-index: 1;
}

.about-cta > * {
    position: relative;
    z-index: 2;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: rotate(45deg);
    animation: aboutCtaGlow 15s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes aboutCtaGlow {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: rotate(45deg) scale(1.1);
    }
}

.about-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.about-cta p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    padding: var(--space-4) var(--space-8);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.cta-buttons .btn-primary {
    background: var(--text-inverse);
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.95);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: var(--text-inverse);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-inverse);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop Timeline - принудительно для экранов больше 768px (планшеты и десктопы) */
@media (min-width: 769px) {
    .company-timeline .timeline .timeline-item:nth-child(1),
    .company-timeline .timeline .timeline-item:nth-child(2),
    .company-timeline .timeline .timeline-item:nth-child(4) {
        flex-direction: row !important;
    }
    
    .company-timeline .timeline .timeline-item:nth-child(3),
    .company-timeline .timeline .timeline-item:nth-child(5) {
        flex-direction: row-reverse !important;
    }
}

/* Mobile Timeline - только для экранов меньше 768px */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        gap: var(--space-4);
    }
    
    .timeline-item:nth-child(1),
    .timeline-item:nth-child(2),
    .timeline-item:nth-child(3),
    .timeline-item:nth-child(4),
    .timeline-item:nth-child(5) {
        flex-direction: column !important;
    }
    
    .timeline-year {
        position: static !important;
        transform: none !important;
        left: auto !important;
        margin-bottom: var(--space-2);
    }
    
    .timeline-content {
        width: 100%;
        margin-left: var(--space-10);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: var(--space-10) var(--space-4);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-cta {
        padding: var(--space-12) var(--space-4);
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    /* Убираем специфичные отступы timeline на мобильных */
    .company-timeline .timeline .timeline-item:nth-child(1) .timeline-content,
    .company-timeline .timeline .timeline-item:nth-child(2) .timeline-content,
    .company-timeline .timeline .timeline-item:nth-child(3) .timeline-content,
    .company-timeline .timeline .timeline-item:nth-child(4) .timeline-content,
    .company-timeline .timeline .timeline-item:nth-child(5) .timeline-content {
        margin-left: var(--space-10) !important;
        margin-right: 0 !important;
        width: calc(100% - var(--space-10)) !important;
        max-width: none !important;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .timeline-content {
        margin-left: var(--space-8);
    }
}


/* ========================================
   КОНТЕЙНЕРЫ СТРАНИЦ - ПРЕМИУМ ДИЗАЙН
   ======================================== */

/* Page Content Container */
.page-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-6) var(--space-6) var(--space-16);
}

.content-inner {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-12) var(--space-8);
    border: 1px solid rgba(144, 193, 64, 0.1);
}

/* Убираем стандартные отступы Astra */
.ast-separate-container .ast-article-inner {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    padding: 0 !important;
    background: transparent !important;
}

/* Breadcrumb стилизация */
.breadcrumb {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--space-2);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--text-inverse) !important;
    opacity: 1;
}

/* Улучшаем отображение контента страницы */
#content-continue .ast-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (max-width: 768px) {
    .page-content {
        padding: var(--space-4) var(--space-4) var(--space-12);
    }
    
    .content-inner {
        padding: var(--space-8) var(--space-4);
    }
}


/* ========================================
   ПЕРЕОПРЕДЕЛЕНИЯ СТАРЫХ СТИЛЕЙ
   ======================================== */

/* Переопределяем старые стили для страницы "Про компанію" */
.page-content .about-hero,
.page-content .company-info,
.page-content .company-timeline,
.page-content .mission-section,
.page-content .team-section,
.page-content .about-cta {
    /* Используем новые премиум стили */
}

/* Убираем старые стили из style.css если они есть */
.content-inner .about-hero,
.content-inner .company-info {
    /* Переопределяем через более специфичные селекторы */
}


/* ========================================
   ВЫСОКАЯ СПЕЦИФИЧНОСТЬ ДЛЯ ПЕРЕОПРЕДЕЛЕНИЯ
   ======================================== */

/* Переопределяем старые стили с более высокой специфичностью */
.page-content .about-hero,
.content-inner .about-hero,
.ast-article-single .about-hero {
    background: transparent !important; /* Убираем зеленый градиент */
    border-radius: var(--radius-xl) !important;
    padding: 0 !important;
    margin-bottom: var(--space-12) !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: clamp(400px, 50vh, 600px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-content .info-grid,
.content-inner .info-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: var(--space-6) !important;
    margin-bottom: var(--space-12) !important;
}

.page-content .info-card,
.content-inner .info-card {
    background: var(--bg-primary) !important;
    border: 1px solid rgba(144, 193, 64, 0.1) !important;
    border-radius: var(--radius-xl) !important;
    padding: var(--space-8) !important;
    text-align: center !important;
    transition: all var(--transition-base) !important;
}

.page-content .info-card:hover,
.content-inner .info-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-xl) !important;
    border-color: var(--color-primary) !important;
}

.page-content .info-icon,
.content-inner .info-icon {
    width: 72px !important;
    height: 72px !important;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%) !important;
    border-radius: var(--radius-full) !important;
    margin: 0 auto var(--space-5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: var(--shadow-primary) !important;
}


/* ========================================
   HERO ИЗОБРАЖЕНИЕ ДЛЯ СТРАНИЦЫ "ПРО КОМПАНІЮ"
   ======================================== */

/* Убираем дублирование - используем стили выше */
.about-hero {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    min-height: clamp(500px, 60vh, 700px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important; /* Убираем зеленый градиент */
}

.hero-image-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    overflow: hidden !important;
    border-radius: var(--radius-xl) !important;
    background: #2a2a2a !important; /* Темный фон для плейсхолдера */
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%) !important;
    z-index: 1 !important;
    opacity: 1 !important;
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 100px) clamp(24px, 4vw, 48px);
    text-align: center;
    width: 100%;
}

/* Белый текст и увеличенный размер для hero-title и hero-subtitle */
body.page-id-9 .about-hero .hero-title,
.about-hero .hero-title {
    color: #ffffff !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 800 !important;
    /* КРИТИЧНО: Переопределяем градиентный текст */
    background: none !important;
    background-image: none !important;
    background-size: unset !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
    animation: none !important;
}

body.page-id-9 .about-hero .hero-subtitle,
.about-hero .hero-subtitle {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    font-weight: 400 !important;
}

/* Fallback если изображение не загрузилось */
.about-hero:has(.hero-background-image[src=""]) .hero-overlay,
.about-hero:not(:has(.hero-background-image)) .hero-overlay {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
}

/* Улучшенные стили для изображений команды */
.member-photo {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-5);
    overflow: hidden;
    border: 4px solid rgba(144, 193, 64, 0.2);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

/* Поворот фото Живага Валентина Михайлівна на 90 градусов по часовой стрелке */
.member-photo img[alt="Живага Валентина Михайлівна"],
.member-photo img[alt*="Живага"] {
    transform: rotate(90deg);
    transform-origin: center center;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

/* Сохраняем поворот при hover для фото Живага */
.team-member:hover .member-photo img[alt="Живага Валентина Михайлівна"],
.team-member:hover .member-photo img[alt*="Живага"] {
    transform: rotate(90deg) scale(1.1);
}

/* Fallback для отсутствующих изображений */
.member-photo img[src=""],
.member-photo:not(:has(img[src])) {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo img[src=""]::after,
.member-photo:not(:has(img[src]))::after {
    content: '👤';
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Адаптивность для hero */
@media (max-width: 768px) {
    .about-hero {
        min-height: 400px;
    }
    
    .about-hero .hero-content {
        padding: var(--space-6) var(--space-4);
    }
    
    .member-photo {
        width: 150px;
        height: 150px;
    }
}


/* ========================================
   SVG ИКОНКИ В INFO-CARD
   ======================================== */

.info-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-inverse);
    stroke: currentColor;
    fill: none;
}

.info-card:hover .info-icon svg {
    transform: scale(1.1);
    transition: transform var(--transition-base);
}

/* Улучшенные стили для info-icon с SVG */
.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon:empty::before {
    content: '✓';
    font-size: 2rem;
    color: var(--text-inverse);
    font-weight: 800;
}


/* ========================================
   FALLBACK ДЛЯ ОТСУТСТВУЮЩИХ ИЗОБРАЖЕНИЙ
   ======================================== */

/* Если hero изображение не загрузилось, используем градиент */
.about-hero .hero-image-wrapper:not(:has(img[src])) {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.about-hero .hero-background-image[src=""],
.about-hero .hero-background-image:not([src]) {
    display: none;
}

/* Улучшенный fallback для hero-overlay */
.about-hero .hero-image-wrapper:not(:has(img[src])) ~ .hero-overlay,
.about-hero .hero-background-image[src=""] ~ .hero-overlay {
    background: linear-gradient(135deg, rgba(144, 193, 64, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
}

/* ========================================
   OFFICES SECTION - About Page
   ======================================== */

.offices-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

.offices-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: clamp(50px, 6vw, 80px);
    letter-spacing: -0.02em;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(32px, 4vw, 48px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 48px);
}

.office-card {
    background: white;
    border-radius: 16px;
    padding: clamp(32px, 4vw, 40px);
    border: 2px solid rgba(132, 204, 22, 0.15);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.office-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.15) 0%, rgba(101, 163, 13, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #84CC16;
}

.office-card-icon svg {
    width: 24px;
    height: 24px;
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(132, 204, 22, 0.2);
    border-color: rgba(132, 204, 22, 0.3);
}

.office-card:hover::before {
    transform: scaleX(1);
}

.office-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.office-location {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.office-address {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

@media (max-width: 768px) {
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .office-card {
        padding: 28px;
    }
}

/* ========================================
   SEED SELECTION PAGE STYLES
   ======================================== */

.seed-selection-hero {
    text-align: center;
    padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 80px);
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.1) 0%, rgba(101, 163, 13, 0.1) 100%);
}

.seed-selection-hero h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.seed-selection-hero p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto;
}

.technologies-overview-section,
.selection-checklist-section,
.selection-recommendations-section,
.seed-selection-advice-section {
    padding: clamp(60px, 8vw, 100px) 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: clamp(24px, 4vw, 48px);
    padding-right: clamp(24px, 4vw, 48px);
}

.technologies-overview-section h3,
.selection-checklist-section h3,
.selection-recommendations-section h3,
.seed-selection-advice-section h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.tech-comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(32px, 4vw, 48px);
    margin-top: 48px;
}

.tech-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
    border-radius: 24px;
    padding: clamp(32px, 4vw, 40px);
    border: 2px solid rgba(132, 204, 22, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(132, 204, 22, 0.2);
    border-color: rgba(132, 204, 22, 0.3);
}

.tech-card h4 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--color-primary);
}

.tech-pros-cons {
    margin: 24px 0;
}

.pros, .cons {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 16px;
}

.pros {
    background: rgba(132, 204, 22, 0.1);
    border-left: 4px solid var(--color-primary);
}

.cons {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
}

.pros h5, .cons h5 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.pros h5 {
    color: var(--color-primary-dark);
}

.cons h5 {
    color: #dc2626;
}

.tech-description {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-medium);
    margin-top: 20px;
}

.checklist-items {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.checklist-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.checklist-item h4 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.recommendation-card {
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.08) 0%, rgba(101, 163, 13, 0.08) 100%);
    border-radius: 24px;
    padding: clamp(32px, 4vw, 40px);
    margin-bottom: 32px;
    border: 2px solid rgba(132, 204, 22, 0.2);
}

.recommendation-card h4 {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 2.5vw, 1.625rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.recommendation-card p {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-medium);
    margin: 0;
}

.advice-content {
    background: rgba(255, 255, 255, 0.8);
    padding: clamp(40px, 5vw, 56px);
    border-radius: 24px;
    margin-top: 32px;
}

.advice-content h4 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 20px;
}

.advice-content p {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.advice-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.advice-content li {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.seed-selection-cta {
    text-align: center;
    padding: clamp(60px, 8vw, 100px) 0;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.1) 0%, rgba(101, 163, 13, 0.1) 100%);
    margin-top: 60px;
}

.seed-selection-cta h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.seed-selection-cta p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-medium);
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .tech-comparison-cards {
        grid-template-columns: 1fr;
    }
    
    .tech-card,
    .recommendation-card {
        padding: 28px;
    }
}

