@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans-600.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-600.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #bb001c;
    --primary-dark: #960016;
    --text: #525252;
    --text-dark: #000000;
    --bg: #e6e7e8;
    --bg-white: #ffffff;
    --gray: #707070;
    --gray-light: #ebebeb;
    --gray-medium: #9b9b9b;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Open Sans", sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

h1, h2, h3, h4, h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

a { color: var(--text-dark); text-decoration: underline; transition: color 0.3s; }
a:hover { color: var(--primary); text-decoration: none; }

img { max-width: 100%; height: auto; vertical-align: middle; }

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--bg-white);
    box-shadow: 0 1rem 0.5625rem -0.75rem rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.company-line-red {
    background: var(--primary);
    height: 35px;
    color: #ffffff;
    text-align: center;
    padding-top: 4px;
    font-size: 0.975rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.company-line-red img {
    height: 18px;
    width: auto;
    vertical-align: middle;
    margin-right: 2px;
}
.company-line-red a {
    color: #fff;
    text-decoration: none;
}
.company-line-red a:hover {
    text-decoration: underline;
    color: #fff;
}
.company-line-red .separator {
    margin: 0 0.75rem;
}
@media (max-width: 575px) {
    .company-line-red { display: none; }
}

.header-main {
    padding: 0.6rem 0;
}
.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo img { height: 55px; width: auto; }

.header-nav {
    display: flex;
    gap: 0;
    align-items: center;
}
.header-nav a {
    text-decoration: none;
    color: var(--text);
    padding: 1.5rem;
    position: relative;
    font-size: 0.875rem;
    font-family: "Montserrat", sans-serif;
    transition: color 0.3s;
}
.header-nav a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    border-bottom: 6px solid var(--primary);
    transition: width 0.4s;
}
.header-nav a:hover::before,
.header-nav a.active::before { width: 100%; }
.header-nav a:hover { color: var(--primary); }

/* ===== HERO / PARALLAX ===== */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.12;
    transform: translateZ(0);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
}
.hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.hero h1 span { color: var(--primary); }
.hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-content .btn + .btn { margin-left: 0.5rem; }

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0.125rem;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* ===== USP BAR ===== */
.usp-bar {
    background: var(--bg-white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-light);
}
.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.usp-item { padding: 1rem; }
.usp-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.usp-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.usp-item p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}
.section-white { background: var(--bg-white); }
.section-gray { background: var(--bg); }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0.75rem auto 0;
}
.section-header p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 700px;
    margin: 1rem auto 0;
}

/* ===== CATEGORY CARDS ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.category-card {
    background: var(--bg-white);
    border-radius: 0.125rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.category-card-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #f9f9f9;
}
.category-card-img img {
    max-height: 160px;
    object-fit: contain;
}
.category-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.category-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.category-card p {
    font-size: 0.8125rem;
    color: var(--gray);
    flex-grow: 1;
}
.category-card .card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.8125rem;
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.category-card .card-link:hover { text-decoration: underline; }
.category-card .card-link::after { content: " →"; }

/* ===== PRODUCT CARDS ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.product-card {
    background: var(--bg-white);
    border-radius: 0.125rem;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.product-card-img {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #fafafa;
    overflow: hidden;
}
.product-card-img img {
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.4s;
}
.product-card:hover .product-card-img img {
    transform: scale(1.05);
}
.product-card-img .badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
}
.product-card-body {
    padding: 1rem 1.25rem 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-card h4 {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-weight: 600;
}
.product-card .product-model {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}
.product-card .product-price {
    font-family: "Montserrat", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
}
.product-card .product-price small {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 400;
    display: block;
}

/* ===== PARALLAX SECTION ===== */
.parallax-section {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-color: #1a1a2e;
}
.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}
.parallax-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
    width: 100%;
}
.parallax-content h2 { color: #fff; font-size: 1.875rem; margin-bottom: 1rem; }
.parallax-content p { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 600px; margin-bottom: 2rem; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}
.stat-item h3 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
}
.stat-item p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-top: 0.25rem; }

/* ===== MACHINE SELECTOR ===== */
.machine-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.machine-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--bg-white);
    border: 2px solid var(--gray-light);
    border-radius: 0.125rem;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}
.machine-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(187,0,28,0.15);
    transform: translateY(-2px);
}
.machine-btn h4 {
    font-size: 0.875rem;
    margin: 0;
}
.machine-btn p {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0.25rem 0 0;
}

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg-white);
    margin-bottom: 0.75rem;
    border-radius: 0.125rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-dark);
    user-select: none;
    transition: background 0.2s;
}
.faq-question:hover { background: #fafafa; }
.faq-question::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
    content: "−";
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text);
}

/* ===== CTA ===== */
.cta-section {
    background: var(--primary);
    padding: 3rem 0;
    text-align: center;
}
.cta-section h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 1rem; }
.cta-section .btn { margin: 0 0.5rem; }
.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.btn-white:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg);
    padding: 3rem 0 0;
    color: var(--text);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col h4 {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
    text-decoration: none;
    font-size: 0.8125rem;
    color: var(--gray);
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    background: var(--text);
    color: var(--bg);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.75rem;
}
.footer-bottom a { color: var(--bg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .header-nav { display: none; }
    .hero h1 { font-size: 1.75rem; }
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .machine-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .usp-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .machine-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .hero { min-height: 400px; }
    .hero h1 { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .parallax-section { background-attachment: scroll; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Breadcrumb */
.breadcrumb-wrap {
    background: var(--bg-white);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--gray-light);
}
.breadcrumb-wrap a { text-decoration: none; color: var(--gray); }
.breadcrumb-wrap a:hover { color: var(--primary); }
.breadcrumb-wrap span { color: var(--text-dark); font-weight: 700; }

/* Badge */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-bestseller { background: var(--primary); color: #fff; }
.badge-new { background: #28a745; color: #fff; }

/* SEO text section */
.seo-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.9375rem;
    line-height: 1.8;
}
.seo-text h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.seo-text h3 { font-size: 1.125rem; margin: 1.5rem 0 0.75rem; }
.seo-text p { margin-bottom: 1rem; }
.seo-text ul { margin: 0.5rem 0 1rem 1.5rem; }
.seo-text li { margin-bottom: 0.35rem; }

/* ===== PRODUCT HIGHLIGHT ===== */
.product-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--bg-white);
    border-radius: 0.125rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}
.product-highlight:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.product-highlight-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f9f9f9;
}
.product-highlight-img img {
    max-height: 350px;
    object-fit: contain;
}
.product-highlight-img .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}
.product-highlight-body {
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-highlight-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.product-highlight-body p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1rem;
}
.feature-list {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}
.feature-list li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
    font-size: 0.85rem;
    color: var(--text);
}
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}
.product-highlight-body .product-price {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.product-highlight-body .product-price small {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 400;
    display: block;
}
@media (max-width: 768px) {
    .product-highlight {
        grid-template-columns: 1fr;
    }
    .product-highlight-body {
        padding: 1.5rem;
    }
}
