/* ============================================
   FORTINET-STYLE HERO SECTION
   CSS Variables · Flexbox/Grid · Responsive
   ============================================ */

/* Visually hidden (SEO + accessibility) */
.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;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --color-bg-dark: #0D0D0D;
    --color-bg-hero: #111111;
    --color-bg-nav: #FFFFFF;
    --color-primary-red: #DA291C;
    --color-accent-cyan: #00D4E8;
    --color-accent-blue: #2E5BFF;
    --color-accent-teal: #1DA5B5;
    --color-text-white: #FFFFFF;
    --color-text-dark: #1A1A1A;
    --color-text-gray: #B0B0B0;
    --color-text-green: #27AE60;
    --color-block-1: #1E1E1E;
    --color-block-2: #2A2A2A;
    --color-block-3: #333333;
    --color-block-4: #444444;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fs-hero-title: clamp(2.2rem, 5vw, 3.5rem);
    --fs-hero-subtitle: clamp(1rem, 2vw, 1.25rem);
    --fs-hero-details: clamp(0.875rem, 1.5vw, 1.05rem);
    --fs-nav-link: 0.875rem;
    --fs-body: 1rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Misc */
    --nav-height: 64px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background: var(--color-bg-nav);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* ===== NAVIGATION ===== */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg-nav);
    height: var(--nav-height);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition-base);
}

.nav-header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    color: var(--color-text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links a {
    font-size: var(--fs-nav-link);
    font-weight: 500;
    color: var(--color-text-dark);
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-base);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-red);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-primary-red);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    color: var(--color-text-dark);
    transition: opacity var(--transition-base);
    flex-shrink: 0;
}

.nav-cta:hover {
    opacity: 0.7;
}

.nav-cta strong {
    color: var(--color-text-green);
}


/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-2xl);
}


/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 55%;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow), visibility 0s 0.6s;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity var(--transition-slow), transform var(--transition-slow), visibility 0s 0s;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hero-title {
    font-size: var(--fs-hero-title);
    font-weight: 800;
    color: var(--color-text-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: var(--fs-hero-subtitle);
    font-weight: 300;
    color: var(--color-text-white);
    opacity: 0.9;
    max-width: 540px;
    line-height: 1.5;
}

.hero-details {
    font-size: var(--fs-hero-details);
    color: var(--color-text-gray);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3em;
    margin-top: var(--space-xs);
}

.hero-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.2em;
    font-weight: 300;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-text-white);
    background: var(--color-primary-red);
    border-radius: var(--border-radius-sm);
    transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    width: fit-content;
}

.hero-cta-btn:hover {
    background: #b8221a;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(218, 41, 28, 0.35);
}

.hero-cta-btn:active {
    transform: translateY(0);
}


/* ===== HERO SPECS ===== */
.hero-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: var(--space-sm);
}

.hero-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-spec-item iconify-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent-cyan);
}

.hero-spec-item div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hero-spec-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-gray);
}

.hero-spec-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-white);
    line-height: 1.3;
}


/* ===== GEOMETRIC BLOCKS ===== */
.hero-geometry {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.geo-block {
    position: absolute;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Large dark gray — top right cluster */
.geo-1 {
    width: 180px;
    height: 160px;
    background: var(--color-block-2);
    top: 12%;
    right: 18%;
    opacity: 0.8;
}

.geo-2 {
    width: 160px;
    height: 140px;
    background: var(--color-block-3);
    top: 10%;
    right: 5%;
    opacity: 0.7;
}

.geo-3 {
    width: 140px;
    height: 140px;
    background: var(--color-block-1);
    top: 8%;
    right: 32%;
    opacity: 0.55;
}

/* Accent blocks — cyan, blue, red */
.geo-4 {
    width: 200px;
    height: 180px;
    background: var(--color-accent-cyan);
    top: 22%;
    right: 6%;
    opacity: 0.85;
}

.geo-5 {
    width: 170px;
    height: 180px;
    background: var(--color-accent-blue);
    top: 32%;
    right: 22%;
    opacity: 0.8;
}

.geo-6 {
    width: 160px;
    height: 140px;
    background: var(--color-accent-teal);
    top: 26%;
    right: 16%;
    opacity: 0.65;
    mix-blend-mode: screen;
}

.geo-7 {
    width: 120px;
    height: 100px;
    background: var(--color-primary-red);
    top: 24%;
    right: 0%;
    opacity: 0.9;
}

/* Bottom cluster — reflective blocks */
.geo-8 {
    width: 200px;
    height: 100px;
    background: var(--color-accent-blue);
    bottom: 16%;
    right: 12%;
    opacity: 0.65;
}

.geo-9 {
    width: 150px;
    height: 80px;
    background: var(--color-accent-cyan);
    bottom: 14%;
    right: 0%;
    opacity: 0.5;
}

.geo-10 {
    width: 100px;
    height: 80px;
    background: var(--color-primary-red);
    bottom: 20%;
    right: 28%;
    opacity: 0.6;
}

.geo-11 {
    width: 130px;
    height: 120px;
    background: var(--color-block-3);
    bottom: 22%;
    right: 4%;
    opacity: 0.4;
}

/* Chevron pseudo-elements on some blocks */
.geo-4::after,
.geo-5::after,
.geo-8::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-right: 3px solid rgba(255, 255, 255, 0.25);
    border-bottom: 3px solid rgba(255, 255, 255, 0.25);
    transform: rotate(-45deg);
    bottom: 30%;
    right: 25%;
}

.geo-5::after {
    width: 30px;
    height: 30px;
    bottom: 40%;
    right: 30%;
}


/* ===== SLIDE DOTS ===== */
.hero-dots {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 5;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
    cursor: pointer;
}

.dot.active {
    background: var(--color-text-white);
    border-color: var(--color-text-white);
    transform: scale(1.15);
}

.dot:hover:not(.active) {
    border-color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.3);
}


/* ===== WAVE DIVIDER ===== */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: var(--space-2xl) var(--space-lg);
    background: #f4f5f7;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-red);
    margin-bottom: var(--space-sm);
    text-align: center;
}

.products-heading {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.products-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-primary-red);
    flex-wrap: wrap;
}

.products-category iconify-icon {
    color: var(--color-primary-red);
}

.products-category-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-gray);
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.product-card {
    background: #fff;
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.product-card-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.product-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--color-primary-red), #e84e40);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.product-form {
    font-size: 0.8rem;
    color: var(--color-text-gray);
    margin-bottom: var(--space-sm);
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--space-sm);
    flex-grow: 1;
}

.product-specs>div {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.82rem;
}

.product-specs>div:last-child {
    border-bottom: none;
}

.product-specs>div>span:first-child {
    color: var(--color-text-gray);
    font-weight: 500;
}

.product-specs>div>span:last-child {
    color: var(--color-text-dark);
    font-weight: 600;
    text-align: right;
}

.product-note {
    font-size: 0.78rem;
    color: var(--color-text-gray);
    font-style: italic;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: var(--space-sm);
}

.stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #059669;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.25);
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: auto;
}

.product-price-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary-red);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.product-price-value::after {
    content: 'с НДС 22%';
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-text-gray);
}

.product-cta {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary-red);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
    transition: background var(--transition-base), transform var(--transition-base);
    white-space: nowrap;
}

.product-cta:hover {
    background: #c0231a;
    transform: translateY(-1px);
}


/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-bg-nav);
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-red);
    margin-bottom: var(--space-sm);
    text-align: center;
}

.about-heading {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.about-card {
    background: #F7F8FA;
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.about-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary-red), #e84e40);
    color: var(--color-text-white);
    margin-bottom: var(--space-sm);
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

.about-text-block {
    background: #F7F8FA;
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    border-left: 4px solid var(--color-primary-red);
    margin-bottom: var(--space-lg);
}

.about-text-block p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: var(--space-sm);
}

.about-text-block p:last-child {
    margin-bottom: 0;
}

.about-signature {
    text-align: right;
    font-size: 0.95rem;
    color: #555;
    padding-right: var(--space-sm);
}

.about-signature strong {
    color: var(--color-text-dark);
    font-weight: 700;
}


/* ===== NEWS TEASER ===== */
.news-teaser {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-bg-nav);
}

.news-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-red);
    margin-bottom: var(--space-sm);
}

.news-heading {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-dark);
}


/* ===== CONTACTS SECTION ===== */
.contacts {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-bg-dark);
}

.contacts-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contacts-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-red);
    margin-bottom: var(--space-sm);
    text-align: center;
}

.contacts-heading {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-white);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.contacts-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.contacts-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.contacts-card--main {
    border-left: 4px solid var(--color-primary-red);
}

.contacts-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary-red), #e84e40);
    color: var(--color-text-white);
    margin-bottom: var(--space-sm);
}

.contacts-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: var(--space-xs);
}

.contacts-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-gray);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.contacts-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-gray);
}

.contacts-info-row:last-child {
    border-bottom: none;
}

.contacts-info-row iconify-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary-red);
}

.contacts-info-row div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contacts-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-gray);
}

.contacts-info-value {
    font-size: 0.95rem;
    color: var(--color-text-white);
    line-height: 1.5;
}

.contacts-info-note {
    font-size: 0.8rem;
    color: var(--color-text-gray);
    font-style: italic;
}

.contacts-link {
    color: var(--color-accent-cyan) !important;
    transition: color var(--transition-base);
}

.contacts-link:hover {
    color: var(--color-text-white) !important;
}

.contacts-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: var(--space-xs);
}

.contacts-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
}


/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-slide.active .hero-title {
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.hero-slide.active .hero-subtitle {
    animation: fadeInUp 0.7s ease-out 0.25s both;
}

.hero-slide.active .hero-details {
    animation: fadeInUp 0.7s ease-out 0.4s both;
}

.hero-slide.active .hero-cta-btn {
    animation: fadeInUp 0.7s ease-out 0.55s both;
}

.geo-block {
    animation: scaleIn 0.8s ease-out both;
}

.geo-1 {
    animation-delay: 0.1s;
}

.geo-2 {
    animation-delay: 0.2s;
}

.geo-3 {
    animation-delay: 0.15s;
}

.geo-4 {
    animation-delay: 0.3s;
}

.geo-5 {
    animation-delay: 0.35s;
}

.geo-6 {
    animation-delay: 0.4s;
}

.geo-7 {
    animation-delay: 0.25s;
}

.geo-8 {
    animation-delay: 0.45s;
}

.geo-9 {
    animation-delay: 0.5s;
}

.geo-10 {
    animation-delay: 0.55s;
}

.geo-11 {
    animation-delay: 0.6s;
}


/* ===== RESPONSIVE ===== */

/* Tablet & below */
@media (max-width: 1024px) {
    .nav-cta {
        display: none;
    }

    .hero-slider {
        width: 65%;
    }

    .hero-geometry {
        width: 45%;
        opacity: 0.6;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-bg-nav);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-md) var(--space-lg);
        gap: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        transform: translateY(-110%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: var(--space-sm) 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-links a::after {
        display: none;
    }

    .hero-inner {
        flex-direction: column;
        justify-content: center;
        padding-top: calc(var(--nav-height) + var(--space-lg));
        padding-bottom: var(--space-xl);
    }

    .hero-slider {
        width: 100%;
    }

    .hero-geometry {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 10%;
        opacity: 0.3;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .hero-dots {
        bottom: var(--space-lg);
    }

    .hero-details {
        flex-direction: column;
        gap: 0.15em;
    }

    .hero-separator {
        display: none;
    }

    .hero-specs {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--space-sm);
    }

    .hero-inner {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .hero-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== NEWS GRID ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.news-card {
    background: #fff;
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.news-date {
    font-size: 0.8rem;
    color: var(--color-text-gray);
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: var(--space-md);
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-red);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-base);
}

.news-link:hover {
    color: #b8221a;
}

.news-loading,
.news-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-lg);
    color: var(--color-text-gray);
    font-style: italic;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== CALLBACK FORM SECTION ===== */
.callback-section {
    padding: var(--space-2xl) var(--space-lg);
    background: #f4f5f7;
}

.callback-container {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.callback-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-red);
    margin-bottom: var(--space-sm);
}

.callback-heading {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.callback-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: var(--space-xl);
}

.callback-form {
    background: #fff;
    border-radius: var(--border-radius-md);
    padding: var(--space-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.form-required {
    color: var(--color-primary-red);
}

.form-group input {
    height: 48px;
    padding: 0 var(--space-sm);
    border: 1.5px solid #dde1e9;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-family);
    color: var(--color-text-dark);
    background: #fafbfc;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    outline: none;
}

.form-group input::placeholder {
    color: #b0b8c8;
}

.form-group input:focus {
    border-color: var(--color-primary-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(218, 41, 28, 0.1);
}

.form-group input.input-error {
    border-color: var(--color-primary-red);
    background: #fff5f5;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group textarea {
    padding: 0.75rem var(--space-sm);
    border: 1.5px solid #dde1e9;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-family);
    color: var(--color-text-dark);
    background: #fafbfc;
    resize: vertical;
    min-height: 100px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
    outline: none;
    line-height: 1.6;
}

.form-group textarea::placeholder {
    color: #b0b8c8;
}

.form-group textarea:focus {
    border-color: var(--color-primary-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(218, 41, 28, 0.1);
}

.form-error {
    font-size: 0.78rem;
    color: var(--color-primary-red);
    min-height: 1em;
    font-weight: 500;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary-red);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    font-family: var(--font-family);
    white-space: nowrap;
}

.form-submit-btn:hover {
    background: #b8221a;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(218, 41, 28, 0.35);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-privacy {
    font-size: 0.78rem;
    color: #999;
    line-height: 1.5;
}

.form-privacy a {
    color: var(--color-primary-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-success[hidden] { display: none !important; }

.form-success {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: #f0faf4;
    border: 1.5px solid #27AE60;
    border-radius: var(--border-radius-sm);
    color: #1e8449;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeInUp 0.4s ease-out;
}

.form-success iconify-icon {
    color: #27AE60;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .callback-form {
        padding: var(--space-md);
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: #0D0D0D;
    padding: 80px 0;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #DA291C;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.faq-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 48px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(218, 41, 28, 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    list-style: none;
    gap: 16px;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #DA291C;
    transition: transform 0.25s ease, border-color 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(0deg);
    border-color: rgba(218, 41, 28, 0.5);
}

.faq-question:hover {
    color: #DA291C;
}

.faq-answer {
    padding: 0 24px 20px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-answer a {
    color: #DA291C;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 56px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

.footer-col--brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    border-radius: 8px;
    display: block;
}

.footer-brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 16px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #DA291C;
}

.footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-address p {
    margin: 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-address a:hover {
    color: #DA291C;
}

.footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 56px 0;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 0.9375rem;
    }

    .faq-answer {
        padding: 0 20px 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   PRODUCT PAGE STYLES
   Breadcrumb · Hero · Specs · Related
   ============================================ */

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: #F5F5F5;
    border-bottom: 1px solid #E8E8E8;
    padding: 12px 0;
    margin-top: var(--nav-height);
}
.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: #888;
    flex-wrap: wrap;
}
.breadcrumb-list li + li::before {
    content: '›';
    margin-right: 8px;
    color: #CCC;
}
.breadcrumb-list a {
    color: var(--color-primary-red);
    text-decoration: none;
}
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list [aria-current="page"] { color: #555; }

/* ===== PRODUCT PAGE HERO ===== */
.product-page-hero {
    background: var(--color-bg-dark);
    color: var(--color-text-white);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}
.product-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(218,41,28,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.product-page-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: center;
}

/* Hero product image */
.product-page-hero-img {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-page-hero-img img {
    max-width: 320px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.4));
}

/* Product card image (main page + related) */
.product-card-img {
    display: block;
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    padding: 8px 16px 0;
}
.product-page-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-cyan);
    margin-bottom: 12px;
}
.product-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px;
}
.product-page-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-gray);
    margin: 0 0 24px;
    line-height: 1.5;
}
.product-page-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.product-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--color-text-gray);
}
.product-page-hero-price {
    margin-bottom: 28px;
}
.product-page-price-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.product-page-price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-white);
}

/* Hero specs grid */
.product-page-hero-specs {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 36px;
}
.product-page-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.product-page-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.product-page-spec-item iconify-icon {
    color: var(--color-accent-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}
.product-page-spec-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.product-page-spec-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-white);
}

/* ===== PRODUCT DETAIL SECTION ===== */
.product-detail-section {
    padding: 80px 0;
    background: #FAFAFA;
}
.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}
.product-detail-heading {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 32px;
}

/* ===== SPECS TABLE ===== */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 60px;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.specs-table th,
.specs-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #F0F0F0;
    font-size: 0.95rem;
}
.specs-table th {
    background: #F7F7F7;
    color: #555;
    font-weight: 500;
    width: 42%;
}
.specs-table td {
    color: var(--color-text-dark);
    font-weight: 500;
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: #FCFCFC; }

/* ===== PRODUCT DESCRIPTION ===== */
.product-detail-description {
    max-width: 820px;
}
.product-detail-description h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 24px;
}
.product-detail-description p {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 20px;
}

/* ===== RELATED SECTION ===== */
.related-section {
    padding: 60px 0;
    background: #FFFFFF;
    border-top: 1px solid #EFEFEF;
}
.related-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}
.related-heading {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 32px;
}
.related-section .product-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}
.related-section .product-card h3 a {
    color: var(--color-text-dark);
    text-decoration: none;
}
.related-section .product-card h3 a:hover {
    color: var(--color-primary-red);
}

/* ===== RESPONSIVE: PRODUCT PAGE ===== */
@media (max-width: 1024px) {
    .product-page-hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    /* Image moves to span full width below content on tablet */
    .product-page-hero-img {
        grid-column: 1 / -1;
        order: 3;
    }
    .product-page-hero-content {
        order: 1;
    }
    .product-page-hero-specs {
        order: 2;
    }
    .product-page-hero-img img {
        max-width: 400px;
    }
}
@media (max-width: 900px) {
    .product-page-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .product-page-hero-img {
        order: 1;
        grid-column: auto;
    }
    .product-page-hero-content {
        order: 2;
    }
    .product-page-hero-specs {
        order: 3;
    }
    .product-page-hero {
        padding: 40px 0 60px;
    }
}
@media (max-width: 600px) {
    .product-page-spec-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-page-hero-specs {
        padding: 24px;
    }
    .specs-table th { width: 50%; }
    .product-detail-section { padding: 40px 0; }
    .related-section { padding: 40px 0; }
}

/* ===== PRODUCT CARD LINKS ===== */
.product-card-title-link {
    color: inherit;
    text-decoration: none;
}
.product-card-title-link:hover {
    color: var(--color-primary-red);
}
.product-details-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    padding: 6px 0;
    margin-left: auto;
    white-space: nowrap;
}
.product-details-link:hover {
    color: var(--color-primary-red);
    text-decoration: underline;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── FAQ-блок на страницах товаров ──────────────────────────────────────── */
.faq-section {
    background: #0d1117;
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.faq-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}
.faq-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f6fc;
    margin: 0 0 32px;
}
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: #f0f6fc;
    margin: 0 0 8px;
}
.faq-answer {
    font-size: 0.95rem;
    color: #8b949e;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   BLOG STYLES
   ============================================================ */

/* Hub Hero */
.blog-hub-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 140px 20px 60px;
    color: #fff;
}
.blog-hub-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}
.blog-hub-hero-inner h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 16px 0 20px;
    line-height: 1.2;
}
.blog-hub-hero-inner p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.7;
}

/* Hub Grid */
.blog-hub-grid-section {
    background: #f8fafc;
    padding: 60px 20px 80px;
}
.blog-hub-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 900px) {
    .blog-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .blog-hub-grid { grid-template-columns: 1fr; }
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.blog-card-img-link {
    display: block;
    overflow: hidden;
    height: 200px;
    background: #f1f5f9;
}
.blog-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-card:hover .blog-card-img-link img {
    transform: scale(1.04);
}
.blog-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
    color: #111827;
}
.blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.blog-card-title a:hover { color: #e53e3e; }
.blog-card-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
}
.blog-card-date { color: #9ca3af; }
.blog-card-read {
    color: #e53e3e;
    font-weight: 600;
    text-decoration: none;
}
.blog-card-read:hover { text-decoration: underline; }
