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

:root {
    --primary: #ea580c;
    --primary-light: #fb923c;
    --primary-dark: #c2410c;
    --secondary: #4a5568;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --bg-light: #fefcfb;
    --bg-white: #ffffff;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border: #fed7aa;
    --border-dark: #fdba74;
    --shadow-sm: 0 1px 3px rgba(249, 115, 22, 0.1);
    --shadow-md: 0 4px 6px rgba(249, 115, 22, 0.08);
    --shadow-lg: 0 10px 15px rgba(249, 115, 22, 0.08);
    --radius: 8px;
    --transition: all 0.2s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 32px;
    color: #ea580c;
}

header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

.logo img {
    height: 120px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    position: relative;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

nav .dropdown {
    position: relative;
}

nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

nav .dropdown:hover .dropdown-menu {
    display: block;
}

nav .dropdown-menu li {
    margin: 0;
}

nav .dropdown-menu a {
    padding: 10px 16px;
    display: block;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
}

nav .dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
}

.hero-slider {
    background: var(--bg-light);
    padding: 60px 0;
}

.hero-slider .swiper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-slider .swiper-slide {
    opacity: 0.6;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.hero-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.slide-text {
    flex: 1;
    max-width: 30%;
}

.slide-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.slide-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.slide-image {
    flex: 1;
    max-width: 70%;
}

.slide-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.swiper-pagination {
    position: relative;
    margin-top: 32px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--border);
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    width: 32px;
    border-radius: 6px;
}

.swiper-button-prev,
.swiper-button-next {
    display: none;
}

.hero {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 100px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 600px;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    max-width: 300px;
    margin: 0 auto;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(234, 88, 12, 0.1);
    border-color: var(--primary);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 24px auto 0;
}

.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    /* gap: 64px; */
    align-items: center;
}


.about-content img {
    width: 100%;
    border-radius: var(--radius);
}

.about-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    text-align: justify;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.product-card img {
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.02);
}

.product-card .product-info {
    padding: 20px;
}

.product-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

.product-card .btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 12px;
    background: var(--accent);
    color: white;
}

.product-card .btn:hover {
    background: var(--primary);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.product-detail:last-child {
    border-bottom: none;
}

.product-detail img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.product-detail h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.product-detail .subtitle {
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.product-detail p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
        text-align: justify;
}

.product-features {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius);
}

.product-features h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.products-layout {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 48px !important;
}

.sidebar {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius);
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 4px;
}

.sidebar a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.sidebar a:hover, .sidebar a.active {
    background: var(--accent);
    color: white;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-muted);
}

.news-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.news-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.news-card .news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-card .news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-card h3 a {
    color: inherit;
    text-decoration: none;
}

.news-card h3 a:hover {
    color: var(--accent);
}

.news-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    background: rgba(43, 108, 176, 0.1);
    border-radius: 20px;
}

.news-detail-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.news-detail-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.news-detail-header .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.news-detail-header .news-meta strong {
    color: var(--text-secondary);
}

.news-detail-content {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.news-detail-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 20px 0;
}

.news-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.news-detail-content th,
.news-detail-content td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.news-detail-content th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-primary);
}

.news-detail-content tr:nth-child(even) {
    background: var(--bg-light);
}

.news-detail-content ul,
.news-detail-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.news-detail-content li {
    margin-bottom: 8px;
}

.news-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.news-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.news-nav a:hover {
    color: var(--accent);
}

.news-nav a span {
    font-size: 18px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--bg-light);
    border-color: var(--accent);
    color: var(--accent);
}

.pagination .current {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 15px;
}

.contact-info strong {
    color: var(--text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input, .contact-form textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
    background: var(--bg-white);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.form-message.success {
    display: block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.contact-form button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-content p, .footer-content a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.footer-content a:hover {
    color: white;
}

.footer-content ul {
    list-style: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}
.footer-bottom a{
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-layout {
        grid-template-columns: 200px 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 1024px) {
    .slide-content {
        flex-direction: column;
        padding: 32px;
        gap: 24px;
    }
    
    .slide-text,
    .slide-image {
        max-width: 100%;
    }
    
    .slide-text h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 20px;
        border-bottom: 1px solid var(--border);
        display: none;
        gap: 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        margin-bottom: 4px;
    }
    
    nav a {
        padding: 12px;
        display: block;
        border-radius: var(--radius);
    }
    
    nav a:hover, nav a.active {
        background: var(--bg-light);
    }
    
    nav a.active::after {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-content, .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .sidebar {
        position: static !important;
        margin-bottom: 32px;
    }
    
    .products-layout {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }
    
    .news-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .news-detail-header h1 {
        font-size: 24px;
    }
    
    .news-nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 48px 0;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
}