/* css/modern.css */
/* Сучасний дизайн для МАРТЕН – доповнення до основного стилю */

:root {
    --primary-color: #C22225; 
    --primary-dark: #9e1b1f;
    --secondary-color: #1D3557;
    --dark-color: #232020;   
    --light-color: #F8F8F8; 
    --gray-color: #4D4D4D;
    --gray-light: #717171;
    --gray-lighter: #A6A6A6;
    --dark-bg:  #0F172A;
    --light-bg: #F8F8F8;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.05);
    --header-height: 74px;
}

body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--light-color);
}

@media (max-width: 768px) {
    a, button, .btn, .series-card, .nav-links a {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Компенсація фіксованого хедера — щоб контент (хлібні крихти,
   заголовки сторінок) не ховався під навбаром на жодній сторінці */
main {
    padding-top: var(--header-height);
}

/* Hero на головній сторінці сам відповідає за відступ під текстом
   (в нього великий padding-top), тому компенсацію від main скасовуємо,
   щоб фон hero, як і раніше, починався від самого верху екрана */
.hero {
    margin-top: calc(-1 * var(--header-height));
}

/* ===== Хедер (перевизначення, якщо потрібно) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: block;
}

body.dark-theme .header {
    background: rgba(15,23,42,0.95);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 0.75rem 2rem;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 24px;
}

.logo {
    height: 46px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: 1.4rem;
    align-items: center;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    white-space: nowrap;
}

body.dark-theme .nav-links a {
    color: var(--light-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:active {
    background: rgba(0,0,0,0.06);
}

body.dark-theme .mobile-menu-btn:active {
    background: rgba(255,255,255,0.08);
}

body.dark-theme .mobile-menu-btn {
    color: var(--light-color);
}

/* ===== Hero секція ===== */
.hero {
    position: relative;
    padding: 8rem 2rem 6rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(69,123,157,0.9) 0%, rgba(29,53,87,0.9) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--light-color);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-color);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--light-color);
    color: var(--light-color);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--light-color);
    color: var(--dark-color);
}

/* ===== Загальні секції ===== */
.section {
    padding: 6rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    display: inline-block;
    position: relative;
}

body.dark-theme .section-title h2 {
    color: var(--light-color);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 1rem auto 0;
}

/* ===== Про компанію ===== */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

body.dark-theme .about-text h3 {
    color: var(--light-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

body.dark-theme .about-text p {
    color: var(--gray-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

body.dark-theme .feature-item {
    background: rgba(30,41,59,0.5);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

body.dark-theme .feature-item h4 {
    color: var(--light-color);
}

/* ===== Продукція ===== */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

body.dark-theme .product-card {
    background: rgba(30,41,59,0.5);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 350px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 2rem;
}

.product-category {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

body.dark-theme .product-title {
    color: var(--light-color);
}

.product-description {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-specs {
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

body.dark-theme .spec-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.spec-name {
    color: var(--gray-color);
}

.spec-value {
    font-weight: 600;
    color: var(--dark-color);
}

body.dark-theme .spec-value {
    color: var(--light-color);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.product-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--primary-dark);
}

.product-link:hover i {
    transform: translateX(5px);
}

/* ===== Відгуки ===== */
.testimonials {
    background: linear-gradient(135deg, rgba(69,123,157,0.1) 0%, rgba(29,53,87,0.1) 100%);
    padding: 6rem 2rem;
}

body.dark-theme .testimonials {
    background: linear-gradient(135deg, rgba(69,123,157,0.05) 0%, rgba(29,53,87,0.05) 100%);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-slide {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    position: relative;
}

body.dark-theme .testimonial-slide {
    background: rgba(30,41,59,0.5);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

body.dark-theme .testimonial-quote {
    color: var(--gray-color);
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

body.dark-theme .author-info h4 {
    color: var(--light-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* ===== Контакти ===== */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

body.dark-theme .contact-text h3 {
    color: var(--light-color);
}

.contact-text p,
.contact-text a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

body.dark-theme .contact-form {
    background: rgba(30,41,59,0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

body.dark-theme .form-group label {
    color: var(--light-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

body.dark-theme .form-control {
    background: rgba(15,23,42,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--light-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ===== Карта ===== */
.map-container {
    width: 100%;
}

/* ===== Футер ===== */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 2rem 2rem;
}

body.dark-theme .footer {
    background: #0A1120;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 1.3fr) repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--light-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
}

.newsletter-btn {
    padding: 0 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Кнопка "Наверх" та перемикач теми ===== */
.theme-switcher {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #333, #666);
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background: #fff;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.back-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== Анімації ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ===== Адаптивність ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .about-content { flex-direction: column; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    .navbar { padding: 0.55rem 1rem; }
    .logo { height: 38px; }
    .logo-link { margin-right: 0; }
    .mobile-menu-btn { margin-left: auto; }
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 1002;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    body.dark-theme .nav-links { background: var(--dark-bg); }
    .nav-links.active { transform: translateY(0); }
    .nav-links a {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        -webkit-tap-highlight-color: transparent;
    }
    body.dark-theme .nav-links a { border-bottom-color: rgba(255,255,255,0.08); }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links a::after { display: none; }
    .nav-links a:active { background: rgba(194,34,37,0.06); }
    .mobile-menu-btn { display: flex; }
    .hero { padding: 6rem 1rem 4rem; min-height: 70vh; }
    .hero h1 { font-size: 2.5rem; }
    .section { padding: 4rem 1rem; }
    .section-title h2 { font-size: 2rem; }
    .btn-group { display: flex; flex-direction: column; gap: 1rem; }
    .btn-outline { margin-left: 0; }
    .map-container iframe { height: 280px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .section-title h2 { font-size: 1.8rem; }
    .products-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .theme-switcher { bottom: 1rem; right: 1rem; }
    .back-to-top { bottom: 5rem; right: 1rem; width: 40px; height: 40px; font-size: 1rem; }
}
/* ===== Сітка серій ===== */
/* ===== КАРТОЧКИ СЕРИЙ (премиальная версия) ===== */
.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.series-card {
    display: block;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05), 0 0 0 1px rgba(230,57,70,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: var(--color-dark);
}

body.dark-theme .series-card {
    background: rgba(30,41,59,0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
    color: var(--light-color);
}

.series-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(230,57,70,0.15), 0 0 0 1px var(--color-primary);
}

.series-card__image {
    height: 220px; /* чуть выше, чтобы фото было виднее */
    overflow: hidden;
    position: relative;
}

.series-card__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.02));
    pointer-events: none;
}

.series-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.series-card:hover .series-card__image img {
    transform: scale(1.05);
}

.series-card__content {
    padding: 25px 25px 30px;
}

.series-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary);
    font-family: 'PlumC', 'Montserrat', sans-serif;
    line-height: 1.2;
}

.series-card__desc {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-dark);
    font-family: 'PlumC', 'Montserrat', sans-serif;
}

body.dark-theme .series-card__desc {
    color: var(--light-color);
}

.series-card__text {
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: 'PlumC', 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.series-card__specs {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(230,57,70,0.2);
    border-bottom: 1px solid rgba(230,57,70,0.2);
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-family: 'PlumC', 'Montserrat', sans-serif;
}

.series-card__specs span {
    display: flex;
    flex-direction: column;
    color: var(--color-gray);
}

.series-card__specs strong {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-top: 4px;
}

.series-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-primary);
    transition: all 0.3s ease;
    font-family: 'PlumC', 'Montserrat', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.series-card__link i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.series-card:hover .series-card__link i {
    transform: translateX(8px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .series-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .series-card__image {
        height: 180px;
    }
    
    .series-card__content {
        padding: 20px;
    }
    
    .series-card__title {
        font-size: 1.5rem;
    }
}

/* ===== Фільтр каталогу ===== */
.catalog-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.catalog-filter .filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.catalog-filter .filter-btn.active,
.catalog-filter .filter-btn:hover {
    background: var(--primary-color);
    color: white;
}
/* ===== ПРЕМИАЛЬНА СТАТИСТИКА – зменшена на 40% та фірмовий червоний ===== */
.premium-stats {
    position: relative;
    padding: 90px 20px; /* було 150px, зменшено на 40% */
    isolation: isolate;
    overflow: hidden;
}

/* Статичний фон (глибокий фірмовий синій) */
.premium-stats__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1a2f 0%, #1b253f 100%);
    z-index: -2;
}

/* Легка текстура */
.premium-stats__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
}

/* Верхній перехід */
.premium-stats::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 50px; /* було 80px */
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    z-index: -1;
    pointer-events: none;
}

/* Нижній перехід */
.premium-stats::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px; /* було 100px */
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
    z-index: -1;
    pointer-events: none;
}

.premium-stats__container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px; /* було 80px */
    position: relative;
    z-index: 2;
    align-items: center;
}

/* Ліва частина – заголовок */
.premium-stats__header {
    border-left: 3px solid var(--color-primary);
    padding-left: 24px; /* було 40px */
}

.premium-stats__badge {
    font-size: 0.6rem; /* було 1rem, зменшено пропорційно, але залишимо 0.8 для читабельності? краще 0.8 */
    /* Для читабельності зробимо 0.8rem, це приблизно 60% від 1.3, але 1.3 не було. Нехай буде 0.8rem */
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 4px; /* було 6px -> 4px */
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 18px; /* було 30px */
    display: block;
    font-family: 'PlumC', 'Montserrat', sans-serif;
}

.premium-stats__title {
    margin-bottom: 18px; /* було 30px */
    line-height: 1;
}

.premium-stats__title--thin {
    display: block;
    font-size: 6rem; /* було 10rem * 0.6 = 6rem */
    font-weight: 300;
    color: #ffffff;
    line-height: 0.9;
    font-family: 'PlumC', 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px; /* було -2px */
    margin-bottom: -0.1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.premium-stats__title--bold {
    display: block;
    font-size: 3.6rem; /* було 6rem * 0.6 = 3.6rem */
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    font-family: 'PlumC', 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px; /* було 2px */
    text-shadow: 0 2px 10px rgba(230,57,70,0.4);
}

.premium-stats__line {
    width: 60px; /* було 100px * 0.6 = 60px */
    height: 2px;
    background: var(--color-primary);
    margin-bottom: 20px; /* було 35px */
    box-shadow: 0 0 8px rgba(230,57,70,0.3);
}

.premium-stats__description {
    font-size: 0.9rem; /* було 1.3rem * 0.6 ≈ 0.78rem, але для читабельності збільшимо до 1rem */
    font-size: 1rem;
    line-height: 1.6; /* трохи зменшено */
    color: #e0e0e0;
    max-width: 350px; /* було 450px */
    font-family: 'PlumC', 'Montserrat', sans-serif;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Права частина – композиція */
.premium-stats__composition {
    display: flex;
    flex-direction: column;
    gap: 20px; /* було 35px */
}

/* Головний блок (30 000+) */
.premium-stats__hero {
    background: rgba(10, 15, 25, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230,57,70,0.3);
    border-radius: 18px; /* було 28px */
    padding: 28px 25px; /* було 45px 40px */
    transition: all 0.4s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.premium-stats__hero-number {
    font-size: 3.3rem; /* було 5.5rem * 0.6 = 3.3rem */
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 12px; /* було 20px */
    font-family: 'PlumC', 'Montserrat', sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.premium-stats__hero-label {
    font-size: 1rem; /* було 1.6rem * 0.6 = 0.96rem, округлимо до 1rem */
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px; /* було 10px */
    font-family: 'PlumC', 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.premium-stats__hero-desc {
    font-size: 0.8rem; /* було 1rem * 0.6 = 0.6, але для читабельності 0.8rem */
    color: #cccccc;
    font-family: 'PlumC', 'Montserrat', sans-serif;
}

/* Сітка маленьких карток */
.premium-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* було 25px */
}

.premium-stats__item {
    background: rgba(10, 15, 25, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; /* було 24px */
    padding: 18px 15px; /* було 30px 25px */
    transition: all 0.3s ease;
}

.premium-stats__item-number {
    font-size: 2rem; /* було 3.2rem * 0.6 = 1.92rem, округлимо до 2rem */
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 6px; /* було 10px */
    font-family: 'PlumC', 'Montserrat', sans-serif;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.premium-stats__item-label {
    font-size: 0.7rem; /* було 1rem * 0.6 = 0.6rem, але краще 0.7rem */
    font-weight: 600;
    color: #dddddd;
    text-transform: uppercase;
    letter-spacing: 0.6px; /* було 1px */
    font-family: 'PlumC', 'Montserrat', sans-serif;
}

/* Акцентний елемент (15 країн) */
.premium-stats__item--accent {
    background: linear-gradient(135deg, rgba(230,57,70,0.25), rgba(230,57,70,0.15));
    border: 1px solid rgba(230,57,70,0.5);
}

.premium-stats__item--accent .premium-stats__item-number {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(230,57,70,0.5);
}

.premium-stats__item--accent .premium-stats__item-label {
    color: #ffffff;
}

/* Нижня панель */
.premium-stats__footer {
    max-width: 1300px;
    margin: 50px auto 0; /* було 80px */
    position: relative;
    z-index: 2;
}

.premium-stats__footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px; /* було 30px */
    padding: 20px 28px; /* було 35px 45px */
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230,57,70,0.3);
    border-radius: 42px; /* було 70px */
}

.premium-stats__total {
    display: flex;
    align-items: baseline;
    gap: 12px; /* було 20px */
    flex-wrap: wrap;
}

.premium-stats__total-number {
    font-size: 2rem; /* було 3.2rem * 0.6 = 1.92rem, округлимо до 2rem */
    font-weight: 800;
    color: var(--color-primary);
    font-family: 'PlumC', 'Montserrat', sans-serif;
    line-height: 1;
    text-shadow: 0 0 10px rgba(230,57,70,0.4);
}

.premium-stats__total-text {
    font-size: 0.9rem; /* було 1.3rem * 0.6 ≈ 0.78, збільшимо до 0.9rem */
    color: #ffffff;
    font-family: 'PlumC', 'Montserrat', sans-serif;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.premium-stats__button {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* було 15px */
    padding: 10px 24px; /* було 16px 40px */
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 30px; /* було 50px */
    font-weight: 600;
    font-size: 0.8rem; /* було 1.1rem */
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'PlumC', 'Montserrat', sans-serif;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.premium-stats__button:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateX(5px);
    border-color: transparent;
}

/* Адаптивність (з урахуванням зменшення) */
@media (max-width: 1024px) {
    .premium-stats__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .premium-stats__title--thin {
        font-size: 4.2rem; /* 7rem * 0.6 ≈ 4.2rem */
    }
    
    .premium-stats__title--bold {
        font-size: 2.7rem; /* 4.5rem * 0.6 ≈ 2.7rem */
    }
    
    .premium-stats__header {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .premium-stats {
        padding: 50px 20px;
    }
    
    .premium-stats__title--thin {
        font-size: 2.7rem; /* 4.5rem * 0.6 = 2.7rem */
    }
    
    .premium-stats__title--bold {
        font-size: 2rem; /* 3.2rem * 0.6 ≈ 1.92rem */
    }
    
    .premium-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .premium-stats__footer-inner {
        flex-direction: column;
        text-align: center;
        padding: 18px 15px;
    }
    
    .premium-stats__total {
        justify-content: center;
    }
    
    .premium-stats__button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .premium-stats__title--thin {
        font-size: 2rem; /* 3.2rem * 0.6 ≈ 1.92rem */
    }
    
    .premium-stats__title--bold {
        font-size: 1.5rem; /* 2.4rem * 0.6 ≈ 1.44rem */
    }
    
    .premium-stats__description {
        font-size: 0.9rem;
    }
    
    .premium-stats__hero-number {
        font-size: 2.5rem; /* 4rem * 0.6 = 2.4rem, округлимо до 2.5rem */
    }
}