/* tecmaster.css - стили только для этой страницы */

/* Базовые сбросы и общие стили */
.container-tec {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* HERO секция */
.hero-full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    padding: 80px 20px;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,0) 70%), url('/images/pr/hero-painter-DWKlBAq6.jpg') center/cover no-repeat;
    opacity: 0.10;
    z-index: 0;
}

.hero-content {
    opacity: 1;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.badge-tec {
    background: #fff8cc;
    color: #333;
    border: 0;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.hero-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.2;
}

.hero-title strong span {
    font-size: 36pt;
}

.hero-title .accent {
    color: #f9ba1a;
    font-size: 36pt;
}

.hero-description-tec {
    color: #555;
    margin-top: 20px;
    max-width: 700px;
}

.btn-group-tec {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-primary-tec  {
    background: #f9ba1a;
    color: #000;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary-tec:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    background: #ffcc00;
    color: #000;
}

.btn-secondary-tec {
    background: #fff;
    color: #000;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.btn-secondary-tec:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    background: #666;
    color: #fff;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
    text-align: left;
}

.stat-number {
    color: #f9ba1a;
    font-size: 28px;
    font-weight: bold;
}

.stat-label {
    color: #555;
}

/* Партнёрский блок */
.partner-header {
    text-align: center;
    margin: 60px 0 20px;
}

.section-title {
    text-align: center;
    font-weight: bold;
}

.section-title .accent {
    color: #f5c518;
}

/* Брендовый блок */
.brand-block {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin: 60px 0;
    position: relative;
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: rgba(249,186,26,0.2);
    overflow: hidden;
    z-index: 0;
}

.energy-flow {
    position: absolute;
    top: 0;
    left: -100px;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #f9ba1a, transparent);
    box-shadow: 0 0 15px rgba(249,186,26,0.8);
}

.brand-card {
    text-decoration: none;
    display: block;
}

.brand-card-inner {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 18px;
    max-width: 260px;
    width: 100%;
    margin: auto;
    text-align: center;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(30px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.brand-card-inner:hover {
    border-color: #f9ba1a;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.brand-logo {
    width: 100%;
    height: 60px;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-height: 100%;
    max-width: 100%;
}

.brand-name {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14pt;
    color: black;
}

.brand-desc {
    color: #555;
}

.center-icon-tec {
    width: 80px;
    height: 80px;
    background: #f9ba1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 2;
    box-shadow: 0 0 20px rgba(249,186,26,0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(249,186,26,0.6); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(249,186,26,0.9); }
    100% { transform: scale(1); box-shadow: 0 0 20px rgba(249,186,26,0.6); }
}

/* Карточки преимуществ */
.info-cards-tec {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin: 40px 0;
}

.info-card-tec {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.info-card-tec:hover {
    border-color: #f5c518;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.card-icon-tec {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5c518;
    font-weight: bold;
    flex-shrink: 0;
}

.card-header-tec {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.card-title-tec {
    font-weight: bold;
    font-size: 12pt;
}

.card-text-tec {
    color: #555;
    margin-left: 38px;
}

/* Фильтр */
.filter-bar-tec {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 60px 0 30px;
}

.filter-wrapper-tec {
    position: relative;
    display: inline-flex;
    background: #f1f1f1;
    border-radius: 50px;
    padding: 6px;
    width: 600px;
    max-width: 100%;
}

.filter-btn-tec {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    padding: 12px;
    cursor: pointer;
    border-radius: 50px;
    color: #000;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

.filter-slider-tec {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    width: calc(50% - 6px);
    background: #f5c518;
    border-radius: 50px;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Сетка продуктов */
.products-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    border-color: #f5c518;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-tag {
    display: inline-block;
    background: #f5c518;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.product-title {
    margin: 10px 0;
}

/* Рекомендации */
.recommendations-tec {
    margin-top: 40px;
    display: none;
    position: relative;
}

.close-recs-tec {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: #fff8cc;
    color: #f9ba1a;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.rec-title-tec {
    text-align: center;
    font-size: 12px;
    color: #f9ba1a;
    font-weight: 600;
    margin-bottom: 10px;
}

.rec-line-tec {
    width: 1000px;
    max-width: 100%;
    height: 2px;
    background: rgba(245,197,24,0.2);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.rec-energy-tec {
    position: absolute;
    top: 0;
    left: -100px;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #f9ba1a, transparent);
    box-shadow: 0 0 10px rgba(245,197,24,0.8);
}

.recs-grid-tec {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
}

/* Блок загрузки PDF */
.download-block {
    max-width: 900px;
    margin: 60px auto;
    border: 2px solid #fff8cc;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.download-block:hover {
    border-color: #ffcc00;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.download-left {
    flex: 1 1 300px;
    background: #fffae6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.download-icon {
    width: 120px;
    height: 120px;
    border-radius: 5%;
    background: #f9ba1b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.download-count {
    font-weight: bold;
    font-size: 24pt;
    color: #f5c518;
}

.download-right {
    flex: 2 1 400px;
    padding: 25px;
    position: relative;
}

.download-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff8cc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.download-title {
    margin-top: 40px;
    margin-bottom: 10px;
}

.download-list {
    padding-left: 18px;
    margin-bottom: 20px;
}

.download-btn {
    display: block;
    width: 100%;
    background: #f9ba1b;
    color: #333;
    text-align: center;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 8px;
}

.download-note {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
    text-align: center;
}

/* Telegram блок */
.telegram-block {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #3f4551;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.telegram-badge {
    display: inline-block;
    background: #625a44;
    color: #f5b90f;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.telegram-title {
    margin: 0px 0px 10px;
    color: #ffffff;
}

.telegram-title .accent {
    color: #f5c518;
}

.telegram-desc {
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #ddd;
}

.telegram-btn {
    display: inline-block;
    background: #f9ba1a;
    color: #333;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    margin-bottom: 40px;
}

.telegram-btn:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    background: #ffcc00;
    color: #000;
}

.community-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.community-card {
    border: 1px solid #f5c518;
    border-radius: 12px;
    padding: 20px;
    background: #525762;
    transition: all 0.3s;
}

.community-card:hover {
    border-color: #ffcc00;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.community-icon {
    width: 40px;
    height: 40px;
    background: #f9ba1a;
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.community-icon img {
    max-width: 100%;
    max-height: 100%;
}

.community-card-title {
    font-weight: bold;
    margin-bottom: 8px;
    text-align: left;
}

.community-card-text {
    color: #cccccc;
    text-align: left;
}

/* Футер */
.footer-tec {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
}

/* Адаптив */
@media (max-width: 768px) {
    .info-cards,
    .products-grid,
    .recs-grid,
    .community-cards {
        grid-template-columns: 1fr;
    }
    
    .brand-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
	.connection-line {
        display: block;
        width: 2px;
        height: 140px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .energy-flow {
        width: 100%;
        height: 100px;
        background: linear-gradient(180deg, transparent, #f9ba1a, transparent);
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}