/* ============================================================
   LAB TESTING EQUIPMENT — HEXAPLAST INDUSTRIES
   Design language: industrial equipment DIRECTORY.
   Gray canvas + white cards + orange accent + near-black
   chrome. Mega-menu navigation, search-first hero, sidebar
   category browser, drag-scroll carousels, scroll-reveal.
============================================================ */

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

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --ink: #1C1D20;
    --panel: #17181B;
    --ink-soft: #45474C;
    --text: #63666C;
    --text-light: #9598A0;

    --orange: #FF7A1A;
    --orange-deep: #E05F00;
    --orange-pale: #FFEEDF;

    --canvas: #EEEEF0;
    --canvas-2: #E4E5E8;
    --white: #FFFFFF;
    --line: #DEDFE2;

    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 7px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 10px rgba(20,21,24,0.06);
    --shadow-md: 0 12px 30px rgba(20,21,24,0.10);
    --shadow-lg: 0 24px 55px rgba(20,21,24,0.16);

    --display: 'Manrope', Arial, sans-serif;
    --body: 'Inter', Arial, sans-serif;
}

body {
    font-family: var(--body);
    background: var(--canvas);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
svg { display: block; }

::selection { background: var(--orange); color: var(--white); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.container { width: 92%; max-width: 1380px; margin: 0 auto; position: relative; }
.icon { width: 20px; height: 20px; }

/* ==================================================
   SCROLL REVEAL
================================================== */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view .r-item:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.in-view .r-item:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in-view .r-item:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.in-view .r-item:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger .r-item { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.in-view .r-item { opacity: 1; transform: translateY(0); }

/* ==================================================
   EYEBROW + HEADINGS
================================================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--orange-pale);
    color: var(--orange-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.eyebrow .icon { width: 14px; height: 14px; }
.eyebrow.on-dark { background: rgba(255,255,255,0.1); color: var(--orange); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.section-head h2 span { color: var(--orange); }
.section-head p { margin-top: 10px; color: var(--text); font-size: 14.5px; line-height: 1.7; max-width: 560px; }
.section-head .side-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink); padding-bottom: 4px; border-bottom: 2px solid var(--orange); flex-shrink: 0; }
.section-head .side-link .icon { width: 15px; height: 15px; transition: transform 0.25s ease; }
.section-head .side-link:hover .icon { transform: translateX(4px); }

.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { max-width: 620px; }

/* ==================================================
   BUTTONS
================================================== */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 24px; border-radius: var(--radius-md);
    font-size: 13.5px; font-weight: 700; border: 1.5px solid transparent;
    transition: all 0.22s ease; white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; transition: transform 0.25s ease; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--orange); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-deep); }
.btn-ghost-light { background: rgba(255,255,255,0.06); color: var(--white); border-color: rgba(255,255,255,0.2); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn-pill { border-radius: var(--radius-pill); }

/* ==================================================
   TOP BAR
================================================== */

.topbar { background: var(--panel); color: #B7B9BF; }
.topbar-inner { width: 92%; max-width: 1380px; margin: 0 auto; min-height: 38px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item .icon { width: 13px; height: 13px; color: var(--orange); }
.topbar-item a { color: #B7B9BF; }
.topbar-item a:hover { color: var(--white); }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-social a { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.06); color: var(--white); transition: 0.22s ease; }
.topbar-social a:hover { background: var(--orange); }
.topbar-social .icon { width: 12px; height: 12px; }
@media (max-width: 900px) { .topbar-item.hide-sm { display: none; } }
@media (max-width: 650px) { .topbar { display: none; } }

/* ==================================================
   HEADER + MEGA MENU
================================================== */

.site-header { position: sticky; top: 0; z-index: 1000; background: var(--panel); }
.header-bar { width: 92%; max-width: 1380px; margin: 0 auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-logo { display: flex; align-items: center; }
.site-logo img { height: 38px; width: auto; }
.site-logo-text { margin-left: 10px; color: var(--white); min-width: 0; }
.site-logo-text strong { display: block; font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.site-logo-text span { display: block; font-size: 9.5px; color: var(--text-light); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .mega-trigger { position: relative; padding: 10px 16px; border-radius: var(--radius-md); font-size: 13.5px; font-weight: 600; color: #D5D7DB; transition: all 0.2s ease; display: flex; align-items: center; gap: 6px; background: none; border: none; }
.main-nav > a:hover, .mega-trigger:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.main-nav > a.active { background: var(--orange); color: var(--white); }
.mega-trigger .icon { width: 14px; height: 14px; transition: transform 0.22s ease; }
.mega-trigger.open .icon { transform: rotate(180deg); }

.mega-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(760px, 92vw);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 26px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1200;
}
.mega-panel.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-md); transition: background 0.18s ease; }
.mega-item:hover { background: var(--canvas); }
.mega-item .badge { width: 34px; height: 34px; border-radius: 10px; background: var(--orange-pale); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mega-item .badge .icon { width: 17px; height: 17px; }
.mega-item .t { min-width: 0; }
.mega-item .t strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.mega-item .t span { display: block; font-size: 10.5px; color: var(--text-light); margin-top: 2px; }
.mega-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.mega-footer span { font-size: 12px; color: var(--text); }
.mega-footer a { font-size: 12.5px; font-weight: 700; color: var(--orange-deep); display: inline-flex; align-items: center; gap: 6px; }

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

.mobile-menu-button { display: none; width: 42px; height: 42px; border-radius: var(--radius-md); border: 1.5px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); align-items: center; justify-content: center; flex-shrink: 0; color: var(--white); }
.mobile-menu-button .icon-close { display: none; }
.mobile-menu-button.active .icon-menu { display: none; }
.mobile-menu-button.active .icon-close { display: block; }

@media (max-width: 1080px) {
    .mobile-menu-button { display: flex; }
    .header-bar { flex-wrap: nowrap; }
    .site-logo-text span { display: none; }
    .site-logo-text strong { font-size: 12.5px; }
    .main-nav { position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 4% 20px; background: var(--panel); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: 0.25s ease; max-height: 80vh; overflow-y: auto; }
    .main-nav.mobile-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .main-nav > a, .mega-trigger { width: 100%; justify-content: space-between; padding: 13px 14px; }
    .mega-panel { position: static; left: auto; transform: none; width: 100%; box-shadow: none; border-radius: var(--radius-md); margin-top: 4px; background: rgba(255,255,255,0.04); display: none; opacity: 1; visibility: visible; }
    .mega-panel.open { display: block; transform: none; }
    .mega-grid { grid-template-columns: 1fr 1fr; }    .mega-item .t strong, .mega-item .t span { color: var(--white); }
    .mega-item .t span { color: var(--text-light); }
    .mega-footer span, .mega-footer a { color: var(--white); }
}
@media (max-width: 500px) { .mega-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
    .site-logo-text { display: none; }
    .header-actions .btn-primary { padding: 10px 14px; }
}

/* ==================================================
   SEARCH-FIRST HERO
================================================== */

.hero {
    position: relative;
    background: var(--panel);
    color: var(--white);
    padding: 70px 0 0;
    overflow: hidden;
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 100%);
}
.hero-glow {
    position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 500px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,122,26,0.22), rgba(255,122,26,0));
}

.hero-inner { position: relative; z-index: 1; text-align: center; padding-bottom: 60px; }
.hero-inner .eyebrow { background: rgba(255,255,255,0.08); color: var(--orange); }

.hero-inner h1 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.14;
    letter-spacing: -0.015em;
    max-width: 880px;
    margin: 0 auto;
}
.hero-inner h1 span { color: var(--orange); }
.hero-inner > p { max-width: 620px; margin: 20px auto 0; color: #B7B9BF; font-size: 15.5px; line-height: 1.8; }

/* search box */
.hero-search {
    max-width: 680px;
    margin: 36px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 22px;
    box-shadow: var(--shadow-lg);
}
.hero-search .icon { width: 19px; height: 19px; color: var(--text-light); flex-shrink: 0; }
.hero-search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 14.5px; color: var(--ink); background: none; }
.hero-search input::placeholder { color: var(--text-light); }
.hero-search button { flex-shrink: 0; }

.hero-search-results {
    max-width: 680px;
    margin: 10px auto 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
    text-align: left;
    max-height: 360px;
    overflow-y: auto;
}
.hero-search-results.active { display: block; }
.hsr-item { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
.hsr-item:last-child { border-bottom: none; }
.hsr-item:hover { background: var(--canvas); }
.hsr-item img { width: 44px; height: 44px; object-fit: contain; background: var(--canvas); border-radius: var(--radius-sm); flex-shrink: 0; }
.hsr-item .n { font-size: 13.5px; font-weight: 700; }
.hsr-item .c { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.hsr-empty { padding: 22px; text-align: center; color: var(--text-light); font-size: 13px; }

.hero-quick-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 22px; }
.hqc-pill { padding: 8px 16px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #D5D7DB; font-size: 12.5px; font-weight: 600; transition: all 0.2s ease; }
.hqc-pill:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* stat strip below hero */
.hero-stats-strip {
    position: relative; z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.02);
}
.hss-inner { width: 92%; max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.hss-item { padding: 26px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,0.09); }
.hss-item:last-child { border-right: none; }
.hss-item strong { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--white); }
.hss-item span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--text-light); }

@media (max-width: 700px) {
    .hss-inner { grid-template-columns: 1fr 1fr; }
    .hss-item { border-bottom: 1px solid rgba(255,255,255,0.09); }
    .hero-search { padding-left: 16px; }
    .hero-search input { font-size: 13.5px; }
}

/* ==================================================
   CATEGORY MEGA-GRID (16 categories)
================================================== */

.cat-section { padding: 80px 0; }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-card .top-row { display: flex; align-items: center; justify-content: space-between; }
.cat-card .badge { width: 46px; height: 46px; border-radius: 13px; background: var(--orange-pale); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; }
.cat-card:hover .badge { background: var(--orange); color: var(--white); }
.cat-card .badge .icon { width: 22px; height: 22px; }
.cat-card .cnt { font-size: 11px; font-weight: 800; color: var(--text-light); background: var(--canvas); padding: 4px 9px; border-radius: var(--radius-pill); }
.cat-card h3 { margin-top: 16px; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--ink); min-height: 40px; }
.cat-card p { margin-top: 8px; font-size: 12px; line-height: 1.65; color: var(--text); flex: 1; }
.cat-card .go { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--orange-deep); }
.cat-card .go .icon { width: 13px; height: 13px; transition: transform 0.25s ease; }
.cat-card:hover .go .icon { transform: translateX(4px); }

@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }

/* ==================================================
   DRAG-SCROLL CAROUSEL (featured machines)
================================================== */

.carousel-section { padding: 80px 0; background: var(--white); }

.carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 10px;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: all 0.2s ease; }
.carousel-nav button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.carousel-nav .icon { width: 18px; height: 18px; }
.carousel-nav .prev .icon { transform: rotate(180deg); }

/* ==================================================
   PRODUCT CARD (used in carousel, category pages, grids)
================================================== */

.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.product-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-4px); }

.carousel-track .product-card { width: 270px; }

.product-photo { position: relative; height: 190px; padding: 18px; display: flex; align-items: center; justify-content: center; background: var(--canvas); overflow: hidden; }
.product-photo img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product-card:hover .product-photo img { transform: scale(1.06); }
.product-photo .tag { position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 800; color: var(--white); background: var(--ink); padding: 4px 9px; border-radius: var(--radius-sm); }

.product-info { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-info h3 { font-family: var(--display); font-weight: 700; font-size: 14.5px; line-height: 1.35; color: var(--ink); min-height: 38px; }
.product-info p { margin-top: 8px; font-size: 12px; line-height: 1.65; color: var(--text); flex: 1; min-height: 56px; }
.product-info .view-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--orange-deep); padding-top: 12px; border-top: 1px dashed var(--line); }
.product-info .view-link .icon { width: 13px; height: 13px; transition: transform 0.25s ease; }
.product-card:hover .view-link .icon { transform: translateX(4px); }

/* grid variant (category pages) */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1150px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.empty-state { padding: 60px 0; text-align: center; color: var(--text); font-size: 14px; grid-column: 1 / -1; }

/* ==================================================
   PRODUCT MODAL
================================================== */

.product-modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(23,24,27,0.78); backdrop-filter: blur(3px); overflow-y: auto; }
.product-modal.active { display: flex; }
.modal-box { position: relative; width: min(980px, 100%); max-height: 90vh; overflow-y: auto; background: var(--white); border-radius: var(--radius-lg); display: grid; grid-template-columns: 42% 58%; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 10; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--canvas); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: 0.2s ease; }
.modal-close .icon { width: 17px; height: 17px; }
.modal-close:hover { background: var(--orange); color: var(--white); }
.modal-photo { background: var(--canvas); display: flex; align-items: center; justify-content: center; padding: 40px; min-height: 400px; }
.modal-photo img { max-width: 100%; max-height: 410px; object-fit: contain; }
.modal-body { padding: 48px 44px; }
.modal-cat { display: inline-block; font-size: 11px; font-weight: 800; color: var(--orange-deep); background: var(--orange-pale); padding: 6px 13px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.modal-body h2 { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.25; color: var(--ink); padding-right: 20px; }
.modal-body .desc { margin-top: 16px; color: var(--text); font-size: 14px; line-height: 1.85; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 820px) {
    .modal-box { grid-template-columns: 1fr; border-radius: var(--radius-md); }
    .modal-photo { min-height: 240px; padding: 26px; }
    .modal-body { padding: 30px 24px; }
}

/* ==================================================
   ABOUT
================================================== */

.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-visual img { width: 100%; height: 440px; object-fit: cover; display: block; }
.about-visual-tag { position: absolute; bottom: 18px; left: 18px; background: rgba(23,24,27,0.85); backdrop-filter: blur(4px); color: var(--white); padding: 12px 18px; border-radius: var(--radius-md); font-size: 12.5px; font-weight: 700; }
.about-copy p { color: var(--text); font-size: 14.5px; line-height: 1.9; margin-top: 16px; }
.stat-mini-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-mini { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.stat-mini strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--orange-deep); }
.stat-mini span { display: block; margin-top: 4px; font-size: 10.5px; color: var(--text-light); }
@media (max-width: 940px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-visual img { height: 320px; } }

/* ==================================================
   FACILITY
================================================== */

.facility-section { padding: 80px 0; background: var(--white); }
.facility-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.facility-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.facility-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.facility-photo:hover img { transform: scale(1.05); }
.facility-photo.tall { min-height: 440px; }
.facility-cap { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,0.92); padding: 8px 14px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 700; color: var(--ink); }
@media (max-width: 850px) { .facility-grid { grid-template-columns: 1fr; } .facility-photo.tall { min-height: 280px; } }

/* ==================================================
   CUSTOMERS TICKER
================================================== */

.customers-section { padding: 70px 0; }
.customers-track-wrap { overflow: hidden; margin-top: 10px; position: relative; }
.customers-track-wrap::before, .customers-track-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.customers-track-wrap::before { left: 0; background: linear-gradient(to right, var(--canvas), rgba(238,238,240,0)); }
.customers-track-wrap::after { right: 0; background: linear-gradient(to left, var(--canvas), rgba(238,238,240,0)); }
.customers-track { display: flex; gap: 14px; width: max-content; animation: tickerScroll 40s linear infinite; }
.customers-track:hover { animation-play-state: paused; }
.cust-chip { flex-shrink: 0; padding: 15px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink-soft); white-space: nowrap; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==================================================
   WHY CHOOSE US (zigzag)
================================================== */

.why-section { padding: 80px 0; }
.why-list { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.why-row { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why-row:first-child { border-top: 1px solid var(--line); }
.why-row .idx { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--line); line-height: 1; width: 60px; }
.why-row:hover .idx { color: var(--orange-pale); }
.why-row .badge { width: 46px; height: 46px; border-radius: 13px; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-row .badge .icon { width: 22px; height: 22px; }
.why-row .content { display: flex; gap: 18px; align-items: center; }
.why-row h3 { font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.why-row p { margin-top: 4px; font-size: 13px; color: var(--text); line-height: 1.7; max-width: 560px; }
@media (max-width: 700px) {
    .why-row { grid-template-columns: 1fr; gap: 10px; }
    .why-row .content { align-items: flex-start; }
}

/* ==================================================
   CTA BAND
================================================== */

.cta-band { margin: 0 auto 70px; width: 92%; max-width: 1380px; background: var(--panel); border-radius: var(--radius-lg); padding: 46px 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -70px; right: 40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,0.24), rgba(255,122,26,0)); }
.cta-band h2 { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.6vw, 28px); color: var(--white); max-width: 460px; }
.cta-band p { position: relative; margin-top: 6px; color: #B7B9BF; font-size: 13.5px; }
@media (max-width: 700px) { .cta-band { padding: 32px 26px; } }

/* ==================================================
   INQUIRY / CONTACT
================================================== */

.inquiry-section { padding: 80px 0; }
.inquiry-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; }
.inquiry-side h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.25; color: var(--ink); }
.inquiry-side > p { margin-top: 14px; color: var(--text); font-size: 14px; line-height: 1.85; max-width: 420px; }
.contact-card-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.contact-card .badge { width: 40px; height: 40px; border-radius: 12px; background: var(--orange-pale); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .badge .icon { width: 19px; height: 19px; }
.contact-card .txt small { display: block; font-size: 10.5px; color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.contact-card .txt span, .contact-card .txt a { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.5; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.form-card h3 { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--ink); }
.form-card > p { margin-top: 6px; color: var(--text); font-size: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { margin-top: 20px; }
.form-row .field { margin-top: 0; }
.field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: var(--canvas); font-family: inherit; font-size: 13.5px; color: var(--ink); transition: all 0.2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px var(--orange-pale); }
.field textarea { resize: vertical; min-height: 100px; }
.submit-row { margin-top: 26px; }
.submit-btn { width: 100%; padding: 15px 22px; border: none; border-radius: var(--radius-md); background: var(--orange); color: var(--white); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.25s ease; }
.submit-btn:hover { background: var(--orange-deep); }
.form-note { margin-top: 12px; font-size: 11px; color: var(--text-light); text-align: center; }
@media (max-width: 940px) { .inquiry-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .form-card { padding: 26px 20px; } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ==================================================
   MAP
================================================== */

.map-section { padding: 0 0 80px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(0.3) contrast(1.05); }
.map-address-card { position: absolute; top: 20px; left: 20px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 18px 22px; max-width: 290px; display: flex; gap: 12px; align-items: flex-start; }
.map-address-card .badge { width: 36px; height: 36px; border-radius: 11px; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-address-card .badge .icon { width: 17px; height: 17px; }
.map-address-card strong { display: block; font-size: 13px; color: var(--ink); margin-bottom: 3px; }
.map-address-card span { font-size: 11.5px; color: var(--text); line-height: 1.6; }
@media (max-width: 600px) { .map-frame iframe { height: 280px; } .map-address-card { position: static; margin-bottom: 12px; max-width: 100%; } }

/* ==================================================
   FOOTER
================================================== */

.site-footer { background: var(--panel); color: #B7B9BF; position: relative; }
.footer-grid { width: 92%; max-width: 1380px; margin: 0 auto; padding: 64px 0 40px; display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 1.1fr; gap: 40px; }
.footer-logo { display: inline-flex; align-items: center; background: var(--white); padding: 10px 16px; border-radius: var(--radius-md); margin-bottom: 20px; }
.footer-logo img { height: 30px; }
.footer-col p { font-size: 13px; line-height: 1.85; max-width: 320px; color: #9A9CA3; }
.footer-social { display: flex; gap: 9px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); color: var(--white); transition: all 0.22s ease; }
.footer-social a .icon { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--orange); }
.footer-col h4 { font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--white); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.03em; }
.footer-col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.footer-col ul.single { grid-template-columns: 1fr; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 12.5px; color: #9A9CA3; transition: 0.2s ease; }
.footer-col ul li a:hover { color: var(--orange); padding-left: 3px; }
.footer-contact-item { display: flex; gap: 11px; margin-bottom: 16px; font-size: 13px; line-height: 1.65; color: #9A9CA3; }
.footer-contact-item .badge { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,122,26,0.14); color: var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-contact-item .badge .icon { width: 14px; height: 14px; }
.footer-contact-item a { color: #9A9CA3; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner { width: 92%; max-width: 1380px; margin: 0 auto; min-height: 58px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #6E7078; font-size: 11.5px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } .footer-grid .footer-company { grid-column: 1 / -1; } }
@media (max-width: 650px) { .footer-grid { grid-template-columns: 1fr; width: 88%; padding: 50px 0 34px; gap: 34px; } .footer-bottom-inner { width: 88%; flex-direction: column; align-items: flex-start; padding: 16px 0; } .footer-col ul { grid-template-columns: 1fr 1fr; } }

/* ==================================================
   WHATSAPP WIDGET
================================================== */

.whatsapp-widget { position: fixed; right: 22px; bottom: 22px; z-index: 2000; }
.whatsapp-btn { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 50%; background: #25D366; color: var(--white); box-shadow: 0 12px 28px rgba(37,211,102,0.4); transition: transform 0.22s ease; position: relative; }
.whatsapp-btn .icon { width: 27px; height: 27px; }
.whatsapp-btn:hover { transform: scale(1.08); }
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2s infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.45); opacity: 0; } 100% { transform: scale(1.45); opacity: 0; } }
.whatsapp-popup { position: absolute; right: 0; bottom: 74px; width: 290px; padding: 20px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.96); transform-origin: bottom right; transition: all 0.3s ease; }
.whatsapp-popup.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.whatsapp-popup-close { position: absolute; top: 8px; right: 10px; width: 24px; height: 24px; border: none; background: transparent; color: var(--text-light); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.whatsapp-popup-close .icon { width: 14px; height: 14px; }
.whatsapp-popup strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 5px; }
.whatsapp-popup p { font-size: 12px; color: var(--text); line-height: 1.6; margin-bottom: 14px; }
.whatsapp-popup a { display: inline-flex; align-items: center; gap: 7px; background: #25D366; color: var(--white); padding: 10px 15px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; }
@media (max-width: 600px) { .whatsapp-widget { right: 14px; bottom: 14px; } .whatsapp-btn { width: 52px; height: 52px; } .whatsapp-btn .icon { width: 24px; height: 24px; } .whatsapp-popup { width: 260px; right: -4px; } }

/* ==================================================
   PAGE HERO (about/contact/categories)
================================================== */

.page-hero { position: relative; background: var(--panel); color: var(--white); padding: 50px 0 46px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 700px; height: 380px; background: radial-gradient(ellipse, rgba(255,122,26,0.18), rgba(255,122,26,0)); }
.page-hero .breadcrumb { position: relative; font-size: 12px; color: var(--text-light); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--text-light); }
.page-hero .breadcrumb a:hover { color: var(--orange); }
.page-hero h1 { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); color: var(--white); }
.page-hero p { position: relative; margin: 14px 0 0; max-width: 560px; color: #B7B9BF; font-size: 14px; line-height: 1.8; }

/* ==================================================
   CATEGORY PAGE LAYOUT (sidebar + content)
================================================== */

.category-layout { padding: 40px 0 80px; }
.category-grid-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }

.cat-sidebar { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; max-height: calc(100vh - 116px); overflow-y: auto; }
.cat-sidebar-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-light); padding: 12px 14px 8px; }
.cat-side-link { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600; color: var(--ink-soft); transition: all 0.18s ease; }
.cat-side-link:hover { background: var(--canvas); }
.cat-side-link.active { background: var(--orange-pale); color: var(--orange-deep); }
.cat-side-link .badge { width: 30px; height: 30px; border-radius: 9px; background: var(--canvas); color: var(--text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-side-link.active .badge { background: var(--orange); color: var(--white); }
.cat-side-link .badge .icon { width: 14px; height: 14px; }
.cat-side-link .lbl { flex: 1; line-height: 1.3; }
.cat-side-link .cnt { font-size: 10.5px; color: var(--text-light); font-weight: 700; }
.cat-side-link.active .cnt { color: var(--orange-deep); }

.cat-content-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.cat-content-head .titlewrap { display: flex; align-items: center; gap: 16px; }
.cat-content-head .badge-lg { width: 56px; height: 56px; border-radius: 16px; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-content-head .badge-lg .icon { width: 27px; height: 27px; }
.cat-content-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.6vw, 28px); color: var(--ink); }
.cat-content-head p { margin-top: 5px; font-size: 13px; color: var(--text); max-width: 460px; }

.cat-search-row { margin-bottom: 22px; }
.cat-search-input-wrap { position: relative; max-width: 400px; }
.cat-search-input-wrap .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-light); }
.cat-search-input-wrap input { width: 100%; padding: 12px 16px 12px 44px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--white); font-family: inherit; font-size: 13.5px; }
.cat-search-input-wrap input:focus { outline: none; border-color: var(--orange); }

.mobile-cat-select { display: none; margin-bottom: 20px; }
.mobile-cat-select select { width: 100%; padding: 13px 16px; border-radius: var(--radius-md); border: 1.5px solid var(--line); background: var(--white); font-family: inherit; font-size: 13.5px; font-weight: 600; }

@media (max-width: 980px) {
    .category-grid-layout { grid-template-columns: 1fr; }
    .cat-sidebar { display: none; }
    .mobile-cat-select { display: block; }
}

/* ==================================================
   CATEGORIES INDEX PAGE
================================================== */

.categories-index-hero { text-align: center; }
.categories-index-hero .cat-grid { margin-top: 40px; }

/* ==================================================
   UTIL
================================================== */

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
