/* CSS Reset и профессиональные переменные */
:root {
    --ivory: #FDFCFA;
    --linen: #F8F5F0;
    --sage: #E8F0E8;
    --slate: #2C3E50;
    --taupe: #8C7C6C;
    --bronze: #B68D40;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #888888;
    --border-light: #EAEAEA;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-elevated: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--ivory);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Основной герой-блок */
.professional-hero {
    min-height: 100vh;
    padding: 100px 1rem 2rem;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--ivory) 0%, var(--linen) 100%);
    overflow: hidden;
}

/* Фоновые элементы - текстура дерева */
.wood-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 L100,50" stroke="rgba(140,124,108,0.05)" stroke-width="1" fill="none"/><path d="M50,0 L50,100" stroke="rgba(140,124,108,0.05)" stroke-width="1" fill="none"/></svg>');
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

/* Основной контент */
.hero-content-pro {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Левая колонка - О компании */
.company-intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.years-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(182, 141, 64, 0.1);
    border: 1px solid rgba(182, 141, 64, 0.2);
    padding: 0.7rem 1.3rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bronze);
    width: fit-content;
    backdrop-filter: blur(5px);
    animation: fadeInPro 0.8s ease 0.2s forwards;
    opacity: 0;
}

.years-badge i {
    font-size: 1rem;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--slate);
    margin-bottom: 1rem;
    animation: fadeInPro 0.8s ease 0.4s forwards;
    opacity: 0;
}

.headline-accent {
    color: var(--bronze);
    position: relative;
    display: inline-block;
}

.headline-accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bronze);
    opacity: 0.3;
}

.company-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    animation: fadeInPro 0.8s ease 0.6s forwards;
    opacity: 0;
}

.company-description:last-of-type {
    margin-bottom: 0;
}

.description-highlight {
    color: var(--slate);
    font-weight: 600;
    background: rgba(182, 141, 64, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

/* Продукция компании */
.products-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 2rem;
    animation: fadeInPro 0.8s ease 0.8s forwards;
    opacity: 0;
    padding-left: 0px !important;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-item:hover {
    background-color: rgba(232, 240, 232, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-subtle);
}

.product-icon {
    width: 40px;
    height: 40px;
    background: var(--sage);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bronze);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.product-item:hover .product-icon {
    background: var(--bronze);
    color: white;
    transform: rotate(5deg);
}

.product-name {
    font-weight: 600;
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.3;
    transition: var(--transition-smooth);
}

.product-item:hover .product-name {
    color: var(--bronze);
}

/* Правая колонка - Преимущества */
.benefits-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Преимущество как процесс */
.quality-process {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    animation: fadeInPro 0.8s ease 1s forwards;
    opacity: 0;
}

.process-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.process-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--bronze);
}

/* Процесс контроля качества */
.quality-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.quality-step {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--slate);
    font-size: 1rem;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
}

.step-title {
    font-weight: 600;
    color: var(--slate);
    font-size: 1rem;
}

.step-description {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Карточки преимуществ */
.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    animation: fadeInPro 0.8s ease 1.2s forwards;
    opacity: 0;
}

.benefit-card-pro {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.benefit-card-pro:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(182, 141, 64, 0.2);
}

.benefit-card-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bronze);
    opacity: 0;
    transition: var(--transition-smooth);
}

.benefit-card-pro:hover::before {
    opacity: 1;
}

.benefit-icon-pro {
    width: 50px;
    height: 50px;
    background: var(--sage);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    color: var(--bronze);
    transition: var(--transition-smooth);
}

.benefit-card-pro:hover .benefit-icon-pro {
    background: var(--bronze);
    color: white;
    transform: rotate(5deg);
}

.benefit-title-pro {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.benefit-desc-pro {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA секция */
.cta-section {
    background: linear-gradient(135deg, var(--slate) 0%, #1a2530 100%);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-top: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    animation: fadeInPro 0.8s ease 1.4s forwards;
    opacity: 0;
}

.cta-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
}

.cta-button.primary {
    background: var(--bronze);
    color: white;
    box-shadow: 0 4px 15px rgba(182, 141, 64, 0.3);
}

.cta-button.primary:hover {
    background: #a87c30;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(182, 141, 64, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.phone-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.9rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.phone-cta i {
    color: var(--bronze);
    font-size: 1.4rem;
}

/* Индикатор скролла */
.scroll-indicator-pro {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.scroll-arrow {
    width: 28px;
    height: 45px;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.scroll-arrow:hover {
    border-color: var(--bronze);
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 5px;
    height: 5px;
    background: var(--bronze);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDownPro 2s infinite;
}

@keyframes scrollDownPro {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* Адаптация */
@media (min-width: 1200px) {
    .hero-content-pro {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
    
    .professional-hero {
        padding: 120px 2rem 3rem;
    }
}

@media (max-width: 1199px) {
    .professional-hero {
        padding: 100px 1.5rem 2rem;
    }
    
    .hero-content-pro {
        gap: 2.5rem;
    }
    
    .hero-headline {
        font-size: clamp(2.2rem, 4vw, 3.2rem);
    }
    
    .quality-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .professional-hero {
        padding: 120px 1rem 1.5rem;
        padding-top: 1rem;
        min-height: auto;
    }
    
    .hero-content-pro {
        gap: 2rem;
    }
    
    .benefit-card-pro {
        padding: 1.5rem;
    }
    
    .benefit-icon-pro {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .benefit-title-pro {
        font-size: 1.2rem;
    }
    
    .quality-process {
        padding: 1.8rem;
    }
    
    .process-title {
        font-size: 1.6rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 2rem;
    }
    
    .phone-cta {
        justify-content: center;
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .products-overview {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        padding: 1.5rem;
        gap: 0.8rem;
    }
    
    .product-item {
        padding: 0.8rem;
    }
    
    .product-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .company-description {
        font-size: 1rem;
    }
    
    .products-overview {
        grid-template-columns: 1fr;
    }
    
    .quality-steps {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .benefit-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .years-badge {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .quality-step {
        gap: 0.6rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .hero-headline {
        font-size: 1.8rem;
    }
    
    .professional-hero {
        padding: 100px 0.8rem 1rem;
        padding-top: 1rem;
    }
    
    .cta-section {
        padding: 1.5rem 1rem;
    }
    
    .quality-process {
        padding: 1.5rem;
    }
    
    .benefit-card-pro {
        padding: 1.2rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Анимации появления */
@keyframes fadeInPro {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Улучшенная доступность для фокуса */
.cta-button:focus,
.product-item:focus {
    outline: 2px solid var(--bronze);
    outline-offset: 2px;
}

/* Улучшенное скрытие для скринридеров */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}