:root {
  --primary: #0055a4;
  --primary-dark: #003d7a;
  --primary-light: #e8f0fb;
  --accent: #f0a500;
  --text: #1a2340;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,85,164,0.10);
  --shadow-lg: 0 8px 40px rgba(0,85,164,0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; width: 100%; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; width: 100%; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; margin-top: 0.75rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,85,164,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #d4920a; transform: translateY(-2px); }
.btn-success { background: #25d366; color: var(--white); }
.btn-success:hover { background: #1ebe57; transform: translateY(-2px); color: var(--white); }

/* TOPBAR */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,0.85); font-size: 0.82rem; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--white); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.lang-switcher { display: flex; gap: 6px; }
.lang-switcher a { padding: 2px 8px; border-radius: 4px; font-weight: 500; }
.lang-switcher a.active { background: var(--white); color: var(--primary); }

/* HEADER */
.header { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; transition: var(--transition); }
.header.scrolled { box-shadow: 0 4px 30px rgba(0,85,164,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 8px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; z-index: 1001; }
.logo img { max-height: 48px; width: auto; object-fit: contain; transition: var(--transition); }
.logo-text { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg,var(--primary),var(--primary-dark)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem; }
.logo-brand { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: 2px; line-height: 1; }
.logo-sub { display: block; font-size: 0.6rem; color: var(--text-light); letter-spacing: 1.5px; font-weight: 500; }
.nav ul { display: flex; gap: 4px; align-items: center; }
.nav ul li a { background: linear-gradient(45deg, var(--primary), #2a85ff); color: var(--white); padding: 6px 10px; border-radius: 6px; font-weight: 700; font-size: 0.75rem; display: block; position: relative; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 85, 164, 0.2); transition: var(--transition); white-space: nowrap; }
.nav ul li a:hover, .nav ul li a.active { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 85, 164, 0.4); color: var(--white); background: linear-gradient(45deg, var(--primary-dark), #1a6fd6); }
.nav ul li a::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shine 3s infinite; }
.nav ul li:nth-child(1) a::after { animation-delay: 0.0s; }
.nav ul li:nth-child(2) a::after { animation-delay: 0.4s; }
.nav ul li:nth-child(3) a::after { animation-delay: 0.8s; }
.nav ul li:nth-child(4) a::after { animation-delay: 1.2s; }
.nav ul li:nth-child(5) a::after { animation-delay: 1.6s; }
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.btn-whatsapp { background: #25d366; color: var(--white); padding: 7px 12px; border-radius: 6px; font-weight: 600; font-size: 0.75rem; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.btn-whatsapp:hover { background: #1ebe57; transform: translateY(-1px); color: var(--white); }
.btn-quote-header { background: linear-gradient(45deg, var(--accent), #ffca28); color: var(--text); padding: 7px 12px; border-radius: 6px; font-weight: 700; font-size: 0.75rem; display: flex; align-items: center; gap: 4px; position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(240, 165, 0, 0.3); border: none; transition: var(--transition); white-space: nowrap; }
.btn-quote-header:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(240, 165, 0, 0.4); color: var(--text); }
.btn-quote-header::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); animation: shine 2.5s infinite; }
.btn-catalog-header { background: linear-gradient(45deg, var(--primary), #2a85ff); color: var(--white); padding: 7px 12px; border-radius: 6px; font-weight: 700; font-size: 0.75rem; display: flex; align-items: center; gap: 4px; position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 85, 164, 0.3); border: none; transition: var(--transition); white-space: nowrap; }
.btn-catalog-header:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 85, 164, 0.4); color: var(--white); }
.btn-catalog-header::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shine 2.5s infinite 1.25s; }
@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; }
.nav-overlay.active { display: block; }

/* HERO SLIDER */
.hero-slider { position: relative; height: 620px; overflow: hidden; }
.swiper { width: 100%; height: 100%; }
.swiper-slide { position: relative; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-bg::after { content: ''; position: absolute; inset: 0; background: transparent; }
.slide-content { position: relative; z-index: 10; padding-top: 100px; }
.slide-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: var(--white); padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px; backdrop-filter: blur(10px); }
.slide-content h1 { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.15; max-width: 660px; }
.slide-content p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin: 18px 0 32px; max-width: 560px; }
.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--white); width: 24px; border-radius: 4px; }

/* STATS BAR */
.stats-bar { background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item { text-align: center; padding: 16px; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,0.2); }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-top: 4px; }

/* SECTIONS */
section { padding: 80px 0; }
.section-bg { background: var(--bg); }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon i { font-size: 1.6rem; color: var(--primary); }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.65; }

/* PRODUCTS */
.products-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn { padding: 8px 20px; border-radius: 6px; font-size: 0.88rem; font-weight: 500; border: 2px solid var(--border); background: var(--white); cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.product-img { height: 220px; overflow: hidden; position: relative; background: var(--bg); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--white); padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
.product-info { padding: 20px; }
.product-cat { font-size: 0.78rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-info h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; }
.product-info p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-weight: 700; color: var(--primary); font-size: 1rem; }
.product-link { font-size: 0.82rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; }
.product-link:hover { gap: 8px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge-float { position: absolute; bottom: -20px; right: -20px; background: var(--primary); color: var(--white); padding: 20px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-lg); }
.about-badge-float .num { font-size: 2rem; font-weight: 800; display: block; }
.about-badge-float .lbl { font-size: 0.78rem; opacity: 0.9; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.about-feat { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; }
.about-feat i { color: var(--primary); font-size: 1rem; }

/* REFERENCES */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.ref-card { background: var(--white); border-radius: var(--radius); padding: 24px 20px; text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.ref-card:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.ref-card img { height: 50px; object-fit: contain; margin: 0 auto 12px; }
.ref-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.ref-card p { font-size: 0.8rem; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; margin-top: 40px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); position: relative; }
.testimonial-card::before { content: '\201C'; font-size: 4rem; color: var(--primary-light); position: absolute; top: 10px; left: 20px; line-height: 1; font-family: Georgia; }
.testimonial-card p { color: var(--text-light); font-style: italic; padding-top: 20px; }
.testimonial-card h5 { font-weight: 700; margin-top: 16px; color: var(--primary); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-img { height: 200px; overflow: hidden; background: var(--bg); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 24px; }
.blog-date { font-size: 0.78rem; color: var(--text-light); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.blog-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-body p { color: var(--text-light); font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-readmore { font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon i { color: var(--primary); font-size: 1.1rem; }
.contact-item-text h4 { font-weight: 700; margin-bottom: 2px; }
.contact-item-text p, .contact-item-text a { color: var(--text-light); font-size: 0.92rem; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.92rem; transition: var(--transition); outline: none; color: var(--text); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,85,164,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-alert { padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; margin-bottom: 16px; }
.form-alert.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.form-alert.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 28px; box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 300px; border: none; }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 70px 0 50px; margin-bottom: 60px; text-align: center; }
.page-hero h1 { font-size: 2.2rem; font-weight: 800; color: var(--white); }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 12px; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }

/* FOOTER */
.footer { background: #0a1628; color: rgba(255,255,255,0.8); }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .logo-icon { background: linear-gradient(135deg,var(--primary),#1a6fd6); }
.footer-brand .logo-brand { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-col h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid rgba(255,255,255,0.08); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; }
.footer-col ul li a::before { content: '›'; color: var(--primary); font-size: 1rem; }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-list li { font-size: 0.87rem; color: rgba(255,255,255,0.6); display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-list li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list li a { color: rgba(255,255,255,0.6); }
.footer-contact-list li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* SCROLL TOP */
.scroll-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--primary); color: var(--white); border: none; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(20px); transition: var(--transition); z-index: 999; box-shadow: var(--shadow); }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); }

/* PAGINATION */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 600; font-size: 0.92rem; border: 2px solid var(--border); transition: var(--transition); }
.pagination a:hover, .pagination span.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* FLOATING ACTIONS */
.floating-actions {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
}
.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: var(--transition);
    animation: float-pulse 2s infinite;
}
.float-whatsapp { background: #25d366; }
.float-call { background: var(--primary); }
.float-btn:hover { transform: scale(1.1) translateY(-5px); }
@keyframes float-pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.25); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,0.25); }
}
@media (max-width: 768px) {
    .floating-actions { bottom: 20px; left: 20px; gap: 10px; }
    .float-btn { width: 48px; height: 48px; font-size: 1.2rem; }
}

/* ALERT */
.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 20px; font-size: 0.92rem; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger { background: #fee2e2; color: #991b1b; }

/* PRODUCT DETAIL */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-detail-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.product-detail-info h1 { font-size: 1.8rem; font-weight: 800; }
.product-detail-info .cat-tag { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-bottom: 16px; }
.product-detail-info p { color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }

/* RESPONSIVE */
@media (max-width: 1200px) {
  .nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); box-shadow: var(--shadow-lg); z-index: 1100; transition: var(--transition); padding: 80px 20px 40px; overflow-y: auto; }
  .nav.open { right: 0; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul li a { padding: 12px 16px; display: block; border-radius: 8px; font-size: 1rem; text-align: left; background: var(--bg); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
  .nav ul li a:hover, .nav ul li a.active { background: var(--primary); color: var(--white); }
  .hamburger { display: flex; z-index: 1200; order: 10; }
  .header-actions { order: 5; }
  .logo { order: 1; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-img-wrap { display: block; max-width: 500px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .header-inner { padding: 10px 0; }
  .btn-whatsapp span, .btn-quote-header span, .btn-catalog-header span { display: none; }
  .btn-whatsapp, .btn-quote-header, .btn-catalog-header { padding: 9px; min-width: 40px; height: 40px; display: flex; justify-content: center; }
  
  .hero-slider { height: 450px; }
  .slide-content h1 { font-size: 1.8rem; }
  .slide-content p { font-size: 0.95rem; margin-bottom: 20px; }
  .slide-btns { flex-direction: row; justify-content: center; width: 100%; }
  .slide-content { text-align: center; }
  .slide-content h1, .slide-content p { margin-left: auto; margin-right: auto; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(even)::after { display: none; }
  .section-title { font-size: 1.5rem; }
  section { padding: 40px 0; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-col ul li a { justify-content: center; }
  .footer-contact-list li { justify-content: center; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo-brand { font-size: 1.1rem; }
  .logo-sub { font-size: 0.45rem; }
  .logo-icon { width: 36px; height: 36px; font-size: 1rem; }
  .hero-slider { height: 400px; }
  .slide-content h1 { font-size: 1.5rem; line-height: 1.2; }
  .slide-content p { font-size: 0.85rem; line-height: 1.5; }
  .slide-btns { gap: 8px; }
  .slide-btns .btn { width: 100%; padding: 10px; font-size: 0.8rem; justify-content: center; }
  
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.75rem; }
  
  .section-title { font-size: 1.4rem; }
  .section-header { margin-bottom: 1.5rem; }
  
  .services-grid, .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card, .product-card { padding: 20px; }
  
  .container { padding: 0 15px; }
}

/* Zorunlu sığdırma kuralı */


/* PREMIUM PRODUCT DETAIL LAYOUT */
.product-page-layout { 
    display: grid; 
    grid-template-columns: 1fr 320px; 
    gap: 40px; 
    align-items: start; 
    margin-top: 40px;
}

@media (max-width: 1024px) { 
    .product-page-layout { grid-template-columns: 1fr; } 
}

.product-view-card { 
    background: #fff; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-view-img { 
    padding: 40px; 
    text-align: center; 
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
}

.product-view-img img { 
    max-height: 450px; 
    width: auto; 
    margin: 0 auto; 
    transition: var(--transition);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.product-view-img img:hover {
    transform: scale(1.03);
}

.product-view-title { 
    padding: 25px 40px; 
    background: var(--primary); 
    color: #fff; 
    box-shadow: inset 0 -5px 15px rgba(0,0,0,0.1);
}

.product-view-title h2 { 
    font-size: 1.5rem; 
    font-weight: 700; 
    margin: 0; 
    letter-spacing: -0.5px;
}

/* TABS */
.product-tabs { 
    padding: 0; 
}

.tab-buttons { 
    display: flex; 
    background: #f1f5f9; 
    border-bottom: 2px solid var(--border);
}

.tab-btn { 
    flex: 1; 
    padding: 18px 10px; 
    border: none; 
    background: transparent; 
    cursor: pointer; 
    font-size: 0.8rem; 
    font-weight: 700; 
    color: var(--text-light); 
    transition: var(--transition); 
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}

.tab-btn.active { 
    background: #fff; 
    color: var(--primary); 
    border-bottom: 3px solid var(--primary);
}

.tab-btn:hover:not(.active) { 
    background: rgba(255,255,255,0.5); 
    color: var(--text);
}

.tab-content { 
    display: none; 
    padding: 40px; 
    line-height: 1.8; 
    color: var(--text); 
    font-size: 1rem;
    background: #fff;
}

.tab-content.active { 
    display: block; 
}

/* SIDEBAR STICKY */
.product-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card { 
    background: #fff; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-title { 
    background: var(--primary); 
    color: #fff;
    padding: 20px; 
    font-size: 1rem; 
    font-weight: 800; 
    text-align: center; 
    letter-spacing: 1px;
}

.sidebar-product-list { 
    list-style: none; 
    padding: 15px; 
    max-height: 600px;
    overflow-y: auto;
}

/* Custom Scrollbar for Sidebar */
.sidebar-product-list::-webkit-scrollbar { width: 4px; }
.sidebar-product-list::-webkit-scrollbar-track { background: #f1f1f1; }
.sidebar-product-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

.sidebar-product-list li { 
    margin-bottom: 10px; 
}

.sidebar-product-list li a { 
    display: block; 
    padding: 14px 18px; 
    background: #f8fafc; 
    color: var(--text); 
    font-size: 0.85rem; 
    font-weight: 600; 
    border-radius: 12px; 
    text-decoration: none; 
    transition: var(--transition); 
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.sidebar-product-list li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transition: var(--transition);
    z-index: -1;
}

.sidebar-product-list li a:hover, 
.sidebar-product-list li a.active { 
    color: #fff; 
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,85,164,0.2);
}

.sidebar-product-list li a:hover::before,
.sidebar-product-list li a.active::before {
    left: 0;
}

.sidebar-contact .btn {
    border-radius: 15px;
    padding: 15px;
    font-size: 1rem;
}

/* =====================================================
   MOBİL UYUMLU İYİLEŞTİRMELER
   ===================================================== */

/* Ürün görseli placeholder */
.no-img-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--border);
    border-radius: var(--radius);
}

/* Tab içi görseller taşmasın */
.tab-inner img { max-width: 100%; height: auto; }
.tab-inner table { width: 100%; border-collapse: collapse; overflow-x: auto; display: block; }
.tab-inner table td, .tab-inner table th { padding: 8px 12px; border: 1px solid var(--border); font-size: 0.9rem; }

/* ===== TABLET (max 1024px) ===== */
@media (max-width: 1024px) {
    .product-sidebar { position: static; top: auto; }
    .sidebar-product-list { max-height: 300px; }
}

/* ===== MOBİL (max 768px) ===== */
@media (max-width: 768px) {
    /* Slide içerik */
    .slide-content { padding-top: 50px; }

    /* Blog grid - tek kolon */
    .blog-grid { grid-template-columns: 1fr; gap: 18px; }

    /* Sayfa başlığı */
    .page-hero { padding: 48px 0 32px; margin-bottom: 36px; }
    .page-hero h1 { font-size: 1.6rem; }
    .breadcrumb { font-size: 0.82rem; flex-wrap: wrap; justify-content: center; gap: 6px; }

    /* Tab butonları - yatay kaydır */
    .tab-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .tab-buttons::-webkit-scrollbar { display: none; }
    .tab-btn {
        flex-shrink: 0;
        min-width: 100px;
        padding: 14px 8px;
        font-size: 0.72rem;
    }

    /* Ürün detay kart padding */
    .product-view-img { padding: 20px; }
    .product-view-title { padding: 16px 20px; }
    .product-view-title h2 { font-size: 1.2rem; }
    .tab-content { padding: 24px 20px; font-size: 0.95rem; }
    .product-page-layout { margin-top: 20px; gap: 24px; }

    /* İletişim formu */
    .contact-form { padding: 24px 18px; }

    /* Referanslar testimonial */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* About badge float */
    .about-badge-float { bottom: -10px; right: 0; padding: 14px 20px; }

    /* Footer alt */
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 4px; }

    /* Scroll top */
    .scroll-top { bottom: 80px; right: 16px; }

    /* No-img placeholder */
    .no-img-placeholder { height: 220px; font-size: 2.2rem; }
}

/* ===== KÜÇÜK MOBİL (max 480px) ===== */
@media (max-width: 480px) {
    /* Slider */
    .hero-slider { height: 360px; }
    .slide-content { padding-top: 36px; }
    .slide-content p { display: none; }
    .slide-btns .btn { padding: 10px 16px; font-size: 0.82rem; }

    /* Tab butonları */
    .tab-btn { min-width: 82px; padding: 12px 6px; font-size: 0.65rem; }

    /* Ürün detay kart */
    .product-view-img { padding: 16px; }
    .product-view-title { padding: 14px 16px; }
    .product-view-title h2 { font-size: 1.05rem; }
    .tab-content { padding: 16px; font-size: 0.9rem; }

    /* Sidebar butonları */
    .sidebar-contact .btn { padding: 12px; font-size: 0.9rem; }
    .sidebar-contact .btn i { font-size: 0.95rem; }

    /* Sayfa başlığı */
    .page-hero { padding: 36px 0 26px; margin-bottom: 24px; }
    .page-hero h1 { font-size: 1.25rem; line-height: 1.3; }
    .breadcrumb { font-size: 0.75rem; }

    /* About */
    .about-badge-float { position: relative; bottom: auto; right: auto; margin: 20px auto 0; width: fit-content; }

    /* İletişim formu */
    .contact-form { padding: 18px 14px; }
    .contact-item-icon { width: 40px; height: 40px; }

    /* Blog */
    .blog-body { padding: 16px; }
    .blog-img { height: 170px; }

    /* Filtre butonları */
    .products-filter { gap: 6px; }
    .filter-btn { padding: 7px 14px; font-size: 0.82rem; }

    /* Sayfalama */
    .pagination a, .pagination span { width: 36px; height: 36px; font-size: 0.85rem; }

    /* Footer */
    .footer-top { padding: 36px 0 20px; }

    /* Testimonial */
    .testimonial-card { padding: 20px; }

    /* Hizmetler */
    .service-card { padding: 24px 18px; }

    /* Scroll top */
    .scroll-top { width: 40px; height: 40px; bottom: 80px; right: 14px; }

    /* No-img placeholder */
    .no-img-placeholder { height: 180px; font-size: 2rem; }
}

/* ===== ÇOK KÜÇÜK (max 360px) ===== */
@media (max-width: 360px) {
    .hero-slider { height: 300px; }
    .slide-content { padding-top: 24px; }
    .slide-content h1 { font-size: 1.2rem; }
    .tab-btn { min-width: 72px; font-size: 0.6rem; }
    .header-inner { gap: 4px; }
    .btn-whatsapp, .btn-quote-header, .btn-catalog-header { padding: 7px; min-width: 34px; height: 34px; }
    .container { padding: 0 12px; }
}

/* ===== RTL (Arapça) MOBİL ===== */
body.rtl .nav { right: auto; left: -100%; }
body.rtl .nav.open { left: 0; right: auto; }
body.rtl .hamburger { order: 1; }
body.rtl .logo { order: 10; }
body.rtl .sidebar-product-list li a:hover,
body.rtl .sidebar-product-list li a.active { transform: translateX(-5px); }
body.rtl .footer-col ul li a::before { content: '‹'; }
body.rtl .footer-col ul li a:hover { padding-left: 0; padding-right: 4px; }
