@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #333333;
    --primary-light: #555555;
    --primary-dark: #222222;
    --accent-red: #C62828;
    --accent-red-hover: #B71C1C;
    --dark: #1a1a1a;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo img {
    height: 50px;
    width: auto;
}

.header-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.header-logo .logo-text .brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: 1px;
}

.header-logo .logo-text .brand-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-logo .logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 10px 40px rgba(0,0,0,0.12);
    z-index: 1000;
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 10px;
    border: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
}

.dropdown-content a {
    color: #444 !important;
    padding: 12px 20px !important;
    text-decoration: none !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: 0.2s !important;
    border-bottom: none !important;
}

.dropdown-content a::after { display:none !important; }

.dropdown-content a:hover {
    background-color: #f8f9fa !important;
    color: var(--accent-red) !important;
    padding-left: 25px !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.header-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.header-nav a:hover { color: var(--red-primary); }
.header-nav a:hover::after { width: 100%; }

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.header-phone i {
    color: var(--primary);
    font-size: 16px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-content {
    width: 280px;
    height: 100%;
    background: var(--white);
    padding: 30px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu .close-menu {
    text-align: right;
    margin-bottom: 20px;
}

.mobile-menu .close-menu button {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

.mobile-menu-nav a {
    display: block;
    padding: 14px 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-gray);
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.mobile-menu-nav a:hover {
    color: var(--primary);
    padding-left: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 550px;
    background: linear-gradient(135deg, rgba(26,26,46,0.8), rgba(60,60,60,0.6));
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
    color: white;
}

.hero-content .hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.hero-btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-red);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    text-transform: none;
}

.hero-btn:hover {
    background: var(--accent-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198,40,40,0.4);
}

/* ===== ABOUT SECTION ===== */
.about-section-bg {
    background: #f8f4f0;
    padding: 70px 0;
}

.about-section {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.about-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    min-width: 200px;
    position: relative;
}

.about-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.about-header p {
    font-size: 15px;
    color: var(--medium-gray);
    line-height: 1.7;
}

.features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 200px;
    padding: 25px;
    background: var(--white);
    border: 2px solid #e8e0d8;
    border-radius: 14px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--primary);
}

.feature-card:hover i,
.feature-card:hover span {
    color: white;
}

.feature-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* ===== COUNTER SECTION ===== */
.counter-section {
    background: linear-gradient(135deg, #444, #333, #222);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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.05'%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");
}

.counter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.counter-item {
    text-align: center;
    color: white;
}

.counter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

.counter-number {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.counter-item p {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: white;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card .card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.product-card:hover .card-overlay { opacity: 1; }

.product-card .card-overlay span {
    color: white;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-card .card-body {
    padding: 15px;
    text-align: center;
}

.product-card .card-body h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* ===== REFERENCES/PROJECTS SECTION ===== */
.projects-section {
    padding: 70px 20px;
    background: var(--light-gray);
}

.projects-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section .section-title {
    color: var(--primary);
}

.projects-slider {
    position: relative;
    overflow: hidden;
}

.projects-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 10px 0;
}

.project-slide {
    min-width: 280px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    align-items: center;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    font-size: 18px;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent-red);
    transform: scale(1.2);
}

/* ===== FOOTER ===== */
.footer {
    background: #2a2a2a;
    color: white;
    padding: 50px 20px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-brand .brand-logo .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.footer-brand .brand-logo span {
    font-size: 20px;
    font-weight: 800;
}

.footer-brand .brand-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.footer-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-info p i {
    color: var(--accent-red);
    width: 16px;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a.fb { background: #1877f2; color: white; }
.footer-social a.ig { background: #e4405f; color: white; }
.footer-social a.wa { background: #25d366; color: white; }

.footer-social a:hover { transform: translateY(-3px); }

/* Footer Contact Form */
.footer-form h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #333;
    color: white;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-form input:focus,
.footer-form textarea:focus {
    border-color: var(--accent-red);
    outline: none;
}

.footer-form textarea { resize: vertical; min-height: 80px; }

.footer-form button {
    padding: 12px 30px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.footer-form button:hover {
    background: var(--accent-red-hover);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 18px 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== FIXED SOCIAL SIDEBAR ===== */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.social-sidebar a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: var(--transition);
    border-radius: 8px 0 0 8px;
}

.social-sidebar a:hover {
    width: 56px;
}

.social-sidebar a.sw { background: #25d366; }
.social-sidebar a.sp { background: #333; }
.social-sidebar a.si { background: #e4405f; }
.social-sidebar a.sf { background: #1877f2; }

.whatsapp-float { display: none !important; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}



/* ===== PRODUCT DETAIL ===== */
.product-detail-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-detail-img img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.product-detail-info .category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(198,40,40,0.1);
    color: var(--red-primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-detail-info .description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--medium-gray);
}

/* ===== PROJECTS PAGE ===== */
.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project-page-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-page-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-page-card .card-info {
    padding: 18px;
}

.project-page-card .card-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

/* ===== BREADCRUMB ===== */
.page-breadcrumb {
    background: var(--light-gray);
    padding: 20px;
}

.page-breadcrumb .inner {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: var(--medium-gray);
}

.page-breadcrumb a { color: var(--red-primary); }

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-info-card {
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-card i {
    font-size: 24px;
    color: var(--red-primary);
    width: 30px;
}

.contact-form-page input,
.contact-form-page textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 15px;
    transition: var(--transition);
}

.contact-form-page input:focus,
.contact-form-page textarea:focus {
    border-color: var(--red-primary);
    outline: none;
}

.contact-form-page button { 
    padding: 14px 35px;
    background: var(--red-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .footer-inner { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-header { flex-direction: column; }
    .counter-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .header-phone { display: none; }
    .hamburger { display: block; }
    
    .header-logo .brand-name { font-size: 16px; }
    .header-logo .brand-subtitle { font-size: 8px; }
    .header-logo img { height: 35px; }
    .header-logo .logo-icon { width: 35px; height: 35px; font-size: 16px; }

    .hero { height: 400px; }
    .hero-content h1 { font-size: 38px; }
    .hero-content .hero-subtitle { font-size: 16px; }

    .section-title { font-size: 24px; }

    .whatsapp-float { bottom: 20px; }

    .social-sidebar {
        top: auto;
        bottom: 25px;
        right: 0;
        transform: none;
    }

    .social-sidebar a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card .card-img { height: 140px; }

    .features { flex-direction: column; }

    .projects-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .hero-content h1 { font-size: 28px; }
    .product-card .card-body h3 { font-size: 14px; }
    .counter-inner { grid-template-columns: 1fr; gap: 20px; }
    .counter-number { font-size: 36px; }
    .counter-icon { width: 60px; height: 60px; font-size: 24px; }
}

/* ===== PLACEHOLDER IMAGE ===== */
.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 40px;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 999px;
    padding: 6px 8px 6px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.header-search {
    min-width: 250px;
}

.header-search input,
.mobile-search input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 14px;
    color: var(--dark-gray);
}

.header-search input::placeholder,
.mobile-search input::placeholder {
    color: #999;
}

.header-search button,
.mobile-search button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--accent-red);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(198,40,40,0.22);
}

.header-search button:hover,
.mobile-search button:hover {
    transform: translateY(-1px);
}

.mobile-search {
    margin-bottom: 18px;
}

.search-page {
    padding: 45px 0 80px;
}

.search-summary {
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 0 20px;
}

.search-summary-box {
    background: linear-gradient(135deg, #fff, #fafafa);
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.search-summary-box h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

.search-summary-box p {
    color: #666;
    line-height: 1.7;
}

.search-groups {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 28px;
}

.search-group {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.search-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.search-group-title h2 {
    font-size: 22px;
    color: #222;
}

.search-count {
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--accent-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.search-list {
    display: grid;
    gap: 16px;
}

.search-item {
    display: block;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    padding: 18px 20px;
    transition: var(--transition);
    background: #fcfcfc;
}

.search-item:hover {
    border-color: rgba(198,40,40,0.18);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.search-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.search-item-top h3 {
    font-size: 18px;
    color: #222;
}

.search-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-red);
    background: rgba(198,40,40,0.08);
    padding: 7px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.search-item p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.search-empty {
    text-align: center;
    padding: 80px 20px;
    color: #888;
    background: #fafafa;
    border: 2px dashed #ececec;
    border-radius: 22px;
}

.search-empty i {
    font-size: 56px;
    color: #d8d8d8;
    margin-bottom: 16px;
}

@media (max-width: 1100px) {
    .header-search {
        min-width: 220px;
    }
}

@media (max-width: 992px) {
    .header-actions {
        display: none;
    }
}



/* ===== HEADER SEARCH FIX ===== */
.header-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    flex-wrap: nowrap !important;
}

.header-logo {
    flex: 0 0 auto !important;
}

.header-actions {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 22px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.header-nav {
    display: flex !important;
    align-items: center !important;
    gap: 26px !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
}

.header-search {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 270px !important;
    max-width: 270px !important;
    height: 46px !important;
    padding: 4px 6px 4px 16px !important;
    margin: 0 !important;
    align-self: center !important;
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 26px rgba(0,0,0,0.07) !important;
}

.header-search input {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px !important;
    margin: 0 !important;
}

.header-search button {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    border: none !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.header-search:focus-within {
    border-color: var(--accent-red) !important;
    box-shadow: 0 12px 30px rgba(198,40,40,0.16) !important;
}

@media (max-width: 992px) {
    .header-actions {
        display: none !important;
    }

    .hamburger {
        display: block !important;
        margin-left: auto !important;
    }
}


/* FINAL HEADER SEARCH POSITION FIX */
.header-top{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:nowrap;}
.header-logo{flex:0 0 auto;}
.header-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:22px;flex:1 1 auto;min-width:0;}
.header-nav{display:flex;align-items:center;justify-content:flex-end;gap:26px;flex-wrap:nowrap;}
.header-search{display:flex;align-items:center;justify-content:center;min-width:270px;max-width:270px;height:46px;padding:4px 6px 4px 16px;margin:0;align-self:center;background:#fff;border:1px solid #e8e8e8;border-radius:999px;box-shadow:0 10px 26px rgba(0,0,0,0.07);}
.header-search input{width:100%;height:100%;border:none;outline:none;background:transparent;font-size:14px;margin:0;}
.header-search button{width:36px;min-width:36px;height:36px;border:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;margin:0;background:#C62828;color:#fff;cursor:pointer;}
.header-search:focus-within{border-color:#C62828;box-shadow:0 12px 30px rgba(198,40,40,0.16);}
@media (max-width: 992px){.header-actions{display:none !important;}.hamburger{display:block !important;margin-left:auto !important;}}


/* ===== RESPONSIVE HEADER & MOBILE IMPROVEMENTS ===== */
@media (max-width: 1200px) {
    .header-top {
        gap: 18px !important;
    }

    .header-actions {
        gap: 16px !important;
    }

    .header-nav {
        gap: 18px !important;
    }

    .header-search {
        min-width: 220px !important;
        max-width: 220px !important;
    }

    .header-nav a {
        font-size: 13px !important;
    }
}

@media (max-width: 992px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 3000;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    }

    .header-top {
        padding: 12px 16px !important;
        min-height: 78px;
    }

    .header-logo {
        min-width: 0;
        gap: 10px !important;
    }

    .header-logo img {
        max-height: 48px !important;
        width: auto !important;
    }

    .logo-text {
        min-width: 0;
    }

    .brand-name {
        font-size: 17px !important;
        line-height: 1.15 !important;
        display: block;
        word-break: break-word;
    }

    .brand-subtitle {
        font-size: 11px !important;
        line-height: 1.2 !important;
        display: block;
    }

    .hamburger {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: #f7f7f7;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
    }

    .mobile-menu-content {
        width: min(86vw, 320px);
        padding: 24px 18px;
    }

    .mobile-menu-nav a {
        border-radius: 12px;
        margin-bottom: 6px;
        border-bottom: none;
        background: #fafafa;
    }

    .mobile-menu-nav a:hover {
        padding-left: 18px;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 10px 14px !important;
        min-height: 72px;
        gap: 12px !important;
    }

    .header-logo img {
        max-height: 42px !important;
    }

    .brand-name {
        font-size: 15px !important;
    }

    .brand-subtitle {
        font-size: 10px !important;
    }

    .hamburger {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .mobile-menu-content {
        width: min(88vw, 300px);
        padding: 22px 16px;
    }

    .mobile-menu-nav a {
        font-size: 15px;
        padding: 13px 14px;
    }

    .page-breadcrumb .inner {
        padding-left: 14px;
        padding-right: 14px;
        font-size: 13px;
        line-height: 1.5;
    }

    .search-summary,
    .search-groups {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .search-summary-box,
    .search-group {
        border-radius: 18px;
        padding: 18px;
    }

    .search-summary-box h1 {
        font-size: 24px;
    }

    .search-group-title h2 {
        font-size: 19px;
    }

    .search-item {
        padding: 16px;
        border-radius: 16px;
    }

    .search-item-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .search-item-top h3 {
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .header-top {
        padding: 10px 12px !important;
        min-height: 68px;
        gap: 10px !important;
    }

    .header-logo {
        gap: 8px !important;
        max-width: calc(100% - 54px);
    }

    .header-logo img {
        max-height: 38px !important;
    }

    .brand-name {
        font-size: 14px !important;
    }

    .brand-subtitle {
        font-size: 9px !important;
        letter-spacing: 0.3px;
    }

    .hamburger {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 10px;
        font-size: 20px;
    }

    .mobile-menu-content {
        width: 90vw;
        padding: 20px 14px;
    }

    .mobile-menu .close-menu {
        margin-bottom: 12px;
    }

    .mobile-menu .close-menu button {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: #f7f7f7;
    }

    .mobile-menu-nav a {
        font-size: 14px;
        padding: 12px 13px;
    }

    .search-summary-box,
    .search-group {
        padding: 16px;
        border-radius: 16px;
    }

    .search-summary-box h1 {
        font-size: 21px;
    }

    .search-summary-box p,
    .search-item p {
        font-size: 14px;
    }

    .search-group-title {
        margin-bottom: 18px;
    }

    .search-group-title h2 {
        font-size: 17px;
    }

    .search-count {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .search-item-top h3 {
        font-size: 16px;
    }

    .search-badge {
        font-size: 11px;
        padding: 6px 10px;
    }

    .search-empty {
        padding: 52px 16px;
        border-radius: 18px;
    }

    .search-empty i {
        font-size: 42px;
    }

    .search-empty h3 {
        font-size: 18px;
    }

    .search-empty p {
        font-size: 14px;
        line-height: 1.6;
    }

    .search-page {
    padding: 45px 0 80px;
}

.search-summary {
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 0 20px;
}

.search-summary-box {
    background: linear-gradient(135deg, #fff, #fafafa);
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.search-summary-box h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

.search-summary-box p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.search-groups {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 28px;
}

.search-group {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.search-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.search-group-title h2 {
    font-size: 22px;
    color: #222;
    margin: 0;
}

.search-count {
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #C62828;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.search-list {
    display: grid;
    gap: 16px;
}

.search-item {
    display: block;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    padding: 18px 20px;
    transition: 0.3s;
    background: #fcfcfc;
    text-decoration: none;
}

.search-item:hover {
    border-color: rgba(198,40,40,0.18);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.search-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.search-item-top h3 {
    font-size: 18px;
    color: #222;
    margin: 0;
}

.search-badge {
    font-size: 12px;
    font-weight: 700;
    color: #C62828;
    background: rgba(198,40,40,0.08);
    padding: 7px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.search-item p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.search-empty {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 20px;
    color: #888;
    background: #fafafa;
    border: 2px dashed #ececec;
    border-radius: 22px;
}

.search-empty i {
    font-size: 56px;
    color: #d8d8d8;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .search-summary,
    .search-groups {
        padding-left: 14px;
        padding-right: 14px;
    }

    .search-summary-box,
    .search-group {
        border-radius: 18px;
        padding: 18px;
    }

    .search-summary-box h1 {
        font-size: 24px;
    }

    .search-group-title h2 {
        font-size: 19px;
    }

    .search-item {
        padding: 16px;
        border-radius: 16px;
    }

    .search-item-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .search-item-top h3 {
        font-size: 17px;
    }
