/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

a {
    color: #9C5A1C;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #000;
}

/* ========== HEADER/NAVIGATION ========== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #9C5A1C;
    letter-spacing: 1px;
}

.logo-img {
    height: 92px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    color: #9C5A1C;
    border-bottom-color: #9C5A1C;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    text-align: center;
    position: relative;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ========== SLIDER STYLES ========== */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(156,90,28, 0.9);
    color: white;
    border: none;
    font-size: 2.5rem;
    padding: 20px 25px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
    border-radius: 4px;
}

.slider-btn:hover {
    background-color: #9C5A1C;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #9C5A1C;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-content {
    position: absolute;
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    padding: 60px 40px;
    border-radius: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #9C5A1C;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    background-color: #9C5A1C;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-white {
    background-color: white;
    color: #9C5A1C;
}

.btn-white:hover {
    background-color: #9C5A1C;
    color: white;
}

/* ========== STATS SECTION ========== */
.stats {
    background-color: white;
    padding: 60px 20px;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-left: 4px solid #9C5A1C;
}

.stat-item h3 {
    color: #9C5A1C;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.stat-item p {
    color: #666;
}

/* ========== SERVICES OVERVIEW ========== */
.services-overview {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 20px rgba(156,90,28, 0.2);
    transform: translateY(-5px);
}

.service-card h3 {
    color: #9C5A1C;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

.services-overview .btn {
    display: block;
    margin: 40px auto 0;
    width: fit-content;
}

/* ========== PRODUCTS PREVIEW ========== */
.products-preview {
    padding: 80px 20px;
    background-color: white;
}

.products-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #9C5A1C;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(156,90,28, 0.15);
}

.product-card h3 {
    color: #9C5A1C;
    margin-bottom: 15px;
}

.product-card p {
    color: #666;
    line-height: 1.8;
}

.products-preview .btn {
    display: block;
    margin: 40px auto 0;
    width: fit-content;
}

/* ========== CTA SECTION ========== */
.cta {
    background: linear-gradient(135deg, #9C5A1C 0%, #000 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 50px 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.cta-box h2 {
    color: #9C5A1C;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ========== PAGE CONTENT ========== */
.page-content {
    padding: 60px 20px;
    background-color: white;
    min-height: 60vh;
}

.page-content h1 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: #9C5A1C;
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #9C5A1C;
}

.content-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.content-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #9C5A1C;
    font-weight: bold;
    font-size: 1.2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #9C5A1C;
}

.feature h3 {
    color: #9C5A1C;
    margin-bottom: 10px;
}

.feature p {
    color: #666;
}

/* ========== PRODUCTS DETAIL PAGE ========== */
.products-detail h2 {
    color: #9C5A1C;
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #9C5A1C;
}

.product-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #9C5A1C;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.product-item:hover {
    box-shadow: 0 8px 20px rgba(156,90,28, 0.15);
    transform: translateY(-3px);
}

.product-item h3 {
    color: #9C5A1C;
    margin-bottom: 10px;
}

.product-item p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-item a {
    display: inline-block;
    background-color: #9C5A1C;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.product-item a:hover {
    background-color: #000;
    text-decoration: none;
}

/* ========== CONTACT PAGE ========== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info h2,
.contact-form h2 {
    color: #9C5A1C;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: #9C5A1C;
    margin-bottom: 10px;
}

.info-item p {
    color: #555;
    line-height: 1.8;
}

.info-item a {
    color: #9C5A1C;
    font-weight: bold;
}

.info-item a:hover {
    color: #000;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9C5A1C;
    box-shadow: 0 0 0 3px rgba(156,90,28, 0.1);
}

/* ========== FAQ ========== */
.faq {
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: 8px;
    margin-top: 50px;
}

.faq h2 {
    color: #9C5A1C;
    margin-bottom: 30px;
    font-size: 2rem;
}

.faq-item {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #9C5A1C;
}

.faq-item h3 {
    color: #9C5A1C;
    margin-bottom: 10px;
}

.faq-item p {
    color: #555;
    line-height: 1.8;
}

/* ========== FOOTER ========== */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: #9C5A1C;
    margin-bottom: 15px;
}

.footer-section p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #aaa;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #9C5A1C;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav a {
        padding: 10px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .page-content h1 {
        font-size: 1.8rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .logo-img { height: 64px; }
    .hero { height: 420px; }
}

/* ========== INTER FONT FOR EVERYTHING ========== */
button, input, textarea, select { font-family: inherit; }
.header .container { padding: 6px 20px; }

/* ========== DIVISIONS (HOME) ========== */
.divisions { padding: 80px 20px; background: #fff; }
.divisions h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: #000; }
.division { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 60px; }
.division.reverse .division-img { order: 2; }
.division-img { background: linear-gradient(135deg, #1a1a1a, #333); border-radius: 8px; overflow: hidden; min-height: 260px; }
.division-img img { width: 100%; height: 100%; min-height: 260px; max-height: 340px; object-fit: cover; display: block; }
.division-text h3 { color: #9C5A1C; font-size: 1.8rem; margin-bottom: 15px; }
.division-text p { color: #555; line-height: 1.8; margin-bottom: 20px; }

/* ========== PRODUCTS PAGE ========== */
.product-division { margin-bottom: 70px; scroll-margin-top: 120px; }
.division-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; margin-bottom: 30px; }
.division-head .division-text h2 { color: #9C5A1C; font-size: 2rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #9C5A1C; }
.product-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.product-group { background: #f8f9fa; padding: 25px; border-radius: 8px; border-top: 4px solid #9C5A1C; }
.product-group h3 { color: #9C5A1C; margin-bottom: 12px; }
.bullets { list-style: disc; margin-left: 20px; }
.bullets li { color: #444; padding: 3px 0; line-height: 1.5; }
.service-detail-item { background: #f8f9fa; padding: 25px 30px; border-left: 4px solid #9C5A1C; border-radius: 8px; margin-bottom: 20px; }
.service-detail-item h2 { color: #9C5A1C; font-size: 1.4rem; margin-bottom: 10px; }
.service-detail-item p { color: #555; line-height: 1.8; }

@media (max-width: 768px) {
    .division, .division-head { grid-template-columns: 1fr; }
    .division.reverse .division-img { order: 0; }
    .divisions h2 { font-size: 1.8rem; }
}

/* ========== INSTRUMENT DIVISION PAGE ========== */
.breadcrumb { font-size: .9rem; color: #777; margin-bottom: 10px; }
.inst-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 10px; padding: 10px 0; }
.inst-tabs a { padding: 9px 18px; border: 2px solid #9C5A1C; border-radius: 30px; font-weight: 600; font-size: .95rem; background: #fff; }
.inst-tabs a:hover { background: #9C5A1C; color: #fff; }
.inst-section { margin: 45px 0; scroll-margin-top: 90px; }
.inst-section h2 { color: #9C5A1C; font-size: 2rem; padding-bottom: 10px; border-bottom: 2px solid #9C5A1C; margin-bottom: 10px; }
.inst-intro { color: #555; margin-bottom: 25px; }
.inst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; }
.inst-card { background: #fff; border-radius: 8px; overflow: hidden; border-top: 4px solid #9C5A1C; box-shadow: 0 2px 8px rgba(0,0,0,.08); cursor: pointer; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.inst-card:hover, .inst-card:focus { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.15); outline: none; }
.inst-card:focus-visible { outline: 3px solid #9C5A1C; }
.inst-thumb { aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; }
.inst-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.inst-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.inst-body h3 { color: #000; font-size: 1.1rem; margin-bottom: 8px; }
.inst-body p { color: #555; font-size: .93rem; line-height: 1.6; flex: 1; }
.inst-more { margin-top: 12px; color: #9C5A1C; font-weight: 600; font-size: .92rem; }
.inst-modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.inst-modal[hidden] { display: none; }
.inst-modal-box { background: #fff; border-radius: 10px; max-width: 860px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 30px; position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px 30px; align-items: start; }
.inst-modal-box .btn { grid-column: 1 / -1; justify-self: start; }
.inst-modal-img { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.inst-modal-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.inst-modal-text h3 { color: #9C5A1C; font-size: 1.6rem; margin-bottom: 4px; }
.inst-modal-text h4 { margin: 16px 0 6px; color: #000; }
.inst-cat { color: #777; font-size: .9rem; margin-bottom: 10px; }
.inst-note { margin-top: 16px; color: #555; font-size: .92rem; background: #f8f9fa; padding: 12px 14px; border-left: 4px solid #9C5A1C; border-radius: 4px; }
.inst-close { position: absolute; top: 8px; right: 14px; background: none; border: none; font-size: 2rem; cursor: pointer; color: #333; line-height: 1; }
.inst-lock { overflow: hidden; }
.view-all { margin-top: 18px; display: inline-block; }
@media (max-width: 700px) { .inst-modal-box { grid-template-columns: 1fr; padding: 22px; } .inst-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

.logo-fb{display:none;font-weight:800;font-size:1.5rem;letter-spacing:.5px;color:#111;text-decoration:none}.logo-fb b{color:#9C5A1C}
.logo.nologo .logo-img{display:none}.logo.nologo .logo-fb{display:inline-block}

.header .logo{display:flex;align-items:center;line-height:0}.header .nav{align-items:center}
