/* === HEXUSBAG DESIGN SYSTEM === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --ink: #1e293b;
    --charcoal: #0f172a;
    --gold: #d97706;
    --gold-light: #f59e0b;
    --gold-pale: #fef3c7;
    --cream: #f8fafc;
    --stone: #e2e8f0;
    --sand: #94a3b8;
    --muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --radius: 6px;
    --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h4, h5, .serif {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* === TOP BAR === */
.top-bar {
    background: var(--ink);
    padding: 8px 0;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar a {
    color: var(--sand);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
    transition: var(--transition);
}
.top-bar a:hover { color: var(--white); }
.top-bar-socials { display: inline-flex; align-items: center; gap: 16px; }
.top-bar-socials a { color: var(--sand); opacity: 0.7; padding: 0; }
.top-bar-socials a:hover { color: var(--white); opacity: 1; }
.top-bar-socials svg { display: block; vertical-align: middle; }

/* === HEADER === */
.header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 35px;
    z-index: 999;
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}
.logo span { color: var(--gold); font-weight: 700; }

/* === NAVIGATION === */
.nav { display: flex; gap: 0; align-items: center; }
.nav > a {
    color: var(--ink);
    text-decoration: none;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border-radius: var(--radius);
    white-space: nowrap;
}
.nav > a:hover, .nav > a.active { color: var(--gold); }
.dropdown > a {
    color: var(--ink);
    text-decoration: none;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border-radius: var(--radius);
    white-space: nowrap;
    display: inline-block;
}
.dropdown > a:hover { color: var(--gold); }

.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--border);
    min-width: 260px;
    padding: 8px 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
    display: block;
    padding: 8px 24px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    white-space: nowrap;
}
.dropdown-content a:hover { background: var(--gold-pale); color: var(--gold); }
.dropdown-content a.cat {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    color: var(--gold);
    padding-top: 12px;
}
.dropdown-content a.cat:first-child { padding-top: 8px; }

.hamburger { display: none; background: none; border: none; color: var(--ink); font-size: 1.4rem; cursor: pointer; }

/* === HERO === */
.hero {
    background: var(--ink);
    padding: 120px 40px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-badge {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 8px 24px;
    border-radius: 999px;
    margin-bottom: 30px;
}
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.8rem;
    font-weight: 500;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 24px;
    letter-spacing: -0.01em;
    color: var(--white);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 640px;
    margin: 0 auto 40px;
    color: var(--sand);
    line-height: 1.7;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--gold);
    text-decoration: none;
    border: 1.5px solid var(--gold);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border-radius: var(--radius);
}
.btn:hover { background: var(--gold); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--muted); border-color: var(--stone); }
.btn-outline:hover { background: var(--cream); color: var(--ink); border-color: var(--gold); }

/* === SECTIONS === */
.section { max-width: 1400px; margin: 0 auto; padding: 100px 40px; }
.section-tight { padding: 60px 40px; }
.section-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 600;
}
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--ink);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-subtitle { color: var(--muted); font-size: 1.05rem; font-weight: 400; max-width: 600px; margin-bottom: 50px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.divider { width: 48px; height: 2px; background: var(--gold); margin: 0 auto 30px; border-radius: 1px; }

/* === TWO COLUMN === */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col img { width: 100%; border-radius: var(--radius); }

/* === FEATURE LIST === */
.feature-list { list-style: none; }
.feature-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink);
}
.feature-list li .icon { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

/* === PRODUCTS GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card img { width: 100%; height: 300px; object-fit: cover; display: block; }
.product-card-body { padding: 24px; }
.product-card-body h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
    color: var(--ink);
}
.product-card-body .btn-sm {
    display: inline-block;
    padding: 10px 24px;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: var(--radius);
    font-weight: 500;
}
.product-card-body .btn-sm:hover { background: var(--ink); color: var(--white); }

/* === DARK SECTION === */
.section-dark {
    background: var(--ink);
    padding: 100px 40px;
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: var(--sand); }
.section-dark .section-label { color: var(--gold); }

/* === INDUSTRY GRID === */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}
.industry-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 36px;
    transition: var(--transition);
    border-radius: var(--radius);
}
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry-card .icon-box { color: var(--gold); font-size: 1.5rem; margin-bottom: 16px; }
.industry-card h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--ink);
}
.industry-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; line-height: 1.7; font-weight: 400; }
.industry-card a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    transition: var(--transition);
}
.industry-card a:hover { border-bottom-color: var(--gold); }

/* === STEPS === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.step-card {
    background: var(--white);
    text-align: center;
    padding: 50px 30px;
    transition: var(--transition);
}
.step-card:hover { background: var(--cream); }
.step-card .step-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 2.6rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 10px;
}
.step-card img { width: 100px; height: 130px; object-fit: cover; margin: 0 auto 20px; display: block; border-radius: var(--radius); }
.step-card h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 600;
}
.step-card p { color: var(--muted); font-size: 0.88rem; font-weight: 400; }

/* === GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
    border-radius: var(--radius);
}
.gallery-grid img:hover { opacity: 0.85; }
.gallery-grid figcaption { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 10px; text-transform: uppercase; letter-spacing: 0.06em; }

/* === FAQ === */
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
    padding: 22px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    color: var(--ink);
}
.faq-question:hover { color: var(--gold); }
.faq-answer { padding: 0 0 22px; color: var(--muted); font-size: 0.92rem; display: none; font-weight: 400; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { color: var(--gold); }

/* === CONTACT FORM === */
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border);
    color: var(--ink);
    font-size: 0.92rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 24px;
    transition: var(--transition);
    border-radius: 0;
    outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-color: var(--gold); }
.contact-form .btn-submit {
    padding: 14px 40px;
    background: var(--ink);
    color: var(--white);
    border: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius);
    margin-top: 10px;
}
.contact-form .btn-submit:hover { background: var(--gold); }

/* === PAGE BANNER === */
.page-banner {
    background: var(--ink);
    padding: 80px 40px;
    text-align: center;
}
.page-banner h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 12px;
}
.page-banner .breadcrumb { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.page-banner .breadcrumb a { color: var(--sand); text-decoration: none; }
.page-banner .breadcrumb a:hover { color: var(--gold); }
.page-banner::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 24px auto 0;
    border-radius: 1px;
}

/* === CATEGORY INTRO === */
.cat-intro { max-width: 1400px; margin: 0 auto; padding: 80px 40px 40px; }
.cat-intro .two-col { gap: 60px; }
.cat-intro h2 { font-size: 2.2rem; margin-bottom: 20px; }

/* === PAGE CONTENT (legal, about text) === */
.page-content { max-width: 1000px; margin: 0 auto; padding: 60px 40px 100px; }
.page-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 500; margin: 50px 0 16px; color: var(--ink); }
.page-content h2:first-child { margin-top: 0; }
.page-content p { color: var(--muted); margin-bottom: 20px; font-weight: 400; line-height: 1.9; }
.page-content ul { color: var(--muted); margin-bottom: 20px; padding-left: 20px; font-weight: 400; }
.page-content ul li { margin-bottom: 8px; }

/* === STATS === */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .stat-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 2.8rem;
    color: var(--gold);
    font-weight: 700;
}
.stat-item .stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 8px; font-weight: 500; }

/* === FOOTER === */
.footer {
    background: var(--charcoal);
    padding: 80px 40px 30px;
}
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.footer h4 {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--white);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer p, .footer a { color: var(--sand); font-size: 0.85rem; text-decoration: none; display: block; padding: 5px 0; font-weight: 400; transition: var(--transition); }
.footer a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: var(--sand);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}
.footer-bottom a { color: var(--gold); text-decoration: none; display: inline; padding: 0; }
.footer-contact i { color: var(--gold); width: 20px; margin-right: 8px; }

/* === MOBILE === */
@media (max-width: 900px) {
    .nav { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.4rem; }
    .two-col, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .industry-grid { grid-template-columns: 1fr; }
    .section, .section-dark { padding: 60px 24px; }
    .header-inner { padding: 16px 24px; }
    .top-bar { flex-direction: column; gap: 6px; padding: 8px 0; }
    .hero { padding: 80px 24px 60px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
}

/* === FAQ SECTION (details/summary variant) === */
.faq-section { font-family: inherit; }
.faq-list { margin-top: 24px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: flex-start; }
.faq-item summary h3 { display: inline; font-size: 18px; font-weight: 500; margin: 0; flex: 1; padding-right: 24px; }
.faq-item summary::after { content: " +"; font-size: 20px; color: var(--gold); flex-shrink: 0; }
.faq-item[open] summary::after { content: " −"; }
.faq-item p { padding-top: 12px; color: var(--muted); line-height: 1.7; max-width: 780px; }
