/* ==========================================================================
   Brush Hardwoods — brand styles
   Luxury hardwood palette (walnut + amber gold). Display: Cormorant Garamond,
   body: Poppins.
   ========================================================================== */
:root {
    --wood:        #7a4e2d;   /* walnut */
    --wood-dark:   #563620;
    --wood-darker: #2e1e12;   /* espresso — deep ink */
    --gold:        #c79a54;   /* luxury accent */
    --gold-dark:   #a97f3d;
    --ink:         #241a12;
    --muted:       #6b5d50;
    --bg-alt:      #f7f1e8;
    --line:        #e9ddcc;
    --radius:      16px;
    --shadow:      0 18px 40px -20px rgba(46, 30, 18, .45);
}

* { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ink);
    padding-top: 104px;
    overflow-x: hidden;
    background: #fffdfa;
}
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.01em; }
.display-serif, .hero-title, .page-banner h1, .section-head h2, .detail-title, .cta-band h2 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}
p { color: var(--muted); }
a { text-decoration: none; }

.shadow-soft { box-shadow: var(--shadow); }

/* ---------- Buttons ---------- */
.btn-accent { background: var(--gold); border-color: var(--gold); color: var(--wood-darker); font-weight: 600; }
.btn-accent:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline-dark { border-color: var(--wood); color: var(--wood); font-weight: 600; }
.btn-outline-dark:hover { background: var(--wood); color: #fff; }
.btn-light { color: var(--wood-darker); font-weight: 600; }

/* ---------- Top bar ---------- */
.topbar { background: var(--wood-darker); color: #e6d3b8; font-size: .85rem; padding: 7px 0; }

/* ---------- Nav ---------- */
.site-nav { top: 34px; background: #fffdfa; box-shadow: 0 4px 24px -18px rgba(0,0,0,.4); padding: .6rem 0; }
.navbar-brand { font-size: 1.4rem; display: flex; align-items: center; gap: .45rem; color: var(--wood) !important; }
.brand-mark { color: var(--gold); font-size: 1.3rem; }
.brand-text { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 1.55rem; line-height: 1; color: var(--wood); }
.brand-text span { color: var(--ink); }
.footer-brand .brand-mark { color: var(--gold); }
.site-nav.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.45); }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .4rem .9rem; position: relative; }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--wood); }
.site-nav .nav-link.active::after {
    content: ''; position: absolute; left: .9rem; right: .9rem; bottom: -2px;
    height: 2px; background: var(--gold); border-radius: 2px;
}
.dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; }
.dropdown-item { border-radius: 8px; font-size: .92rem; font-weight: 500; padding: .5rem .8rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--bg-alt); color: var(--wood); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #f7efe2 0%, #fffdfa 60%); padding: 70px 0 80px; }
.eyebrow {
    display: inline-block; color: var(--gold-dark); font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; margin-bottom: .6rem;
}
.hero-title { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; margin-bottom: 1rem; }
.hero-title::after { content: ''; display: block; width: 70px; height: 4px; border-radius: 6px; background: var(--gold); margin-top: 18px; }
.hero-lead { font-size: 1.12rem; max-width: 540px; margin-bottom: 1.6rem; }
.hero-media { position: relative; }
.hero-media::before {
    content: ''; position: absolute; inset: -18px -18px auto auto; width: 78%; height: 78%;
    background: radial-gradient(circle at 70% 30%, rgba(199,154,84,.22), transparent 70%);
    border-radius: 30px; z-index: 0;
}
.hero-img { position: relative; z-index: 1; width: 100%; height: 460px; border-radius: 24px; box-shadow: var(--shadow); object-fit: cover; }
.hero-thumb {
    position: absolute; left: -22px; bottom: -22px; z-index: 2;
    width: 150px; height: 150px; object-fit: cover; border-radius: 18px;
    border: 5px solid #fff; box-shadow: var(--shadow);
}
.hero-badge {
    position: absolute; right: -10px; top: 22px; z-index: 2;
    background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow);
    font-size: .8rem; font-weight: 600;
}
.hero-badge span { display: block; color: var(--gold); letter-spacing: 2px; font-size: .8rem; }
.hero-stats { flex-wrap: wrap; }
.hero-stats > div { flex: 1 1 92px; min-width: 92px; }
.hero-stats .stat-num { display: block; font-size: 1.5rem; font-weight: 700; color: var(--wood); }
.hero-stats .stat-label { font-size: .82rem; color: var(--muted); line-height: 1.25; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-sub { font-size: 1.05rem; }

/* ---------- Trust bar ---------- */
.trust-bar { background: #fffdfa; padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust-item .trust-ico { font-size: 1.8rem; }
.trust-item h6 { margin: .6rem 0 .2rem; font-weight: 700; }
.trust-item p { font-size: .85rem; margin: 0; }

/* ---------- Product cards ---------- */
.product-card {
    display: block; height: 100%; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; color: var(--ink);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-body { padding: 20px; }
.product-cat {
    display: inline-block; background: #f0e4cf; color: var(--gold-dark);
    font-size: .72rem; font-weight: 600; letter-spacing: .05em;
    padding: 3px 10px; border-radius: 20px; text-transform: uppercase; margin-bottom: 8px;
}
.product-body h5 { font-size: 1.08rem; margin-bottom: .4rem; }
.product-body p { font-size: .9rem; margin-bottom: .6rem; }
.product-code { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; letter-spacing: .04em; margin-bottom: .5rem; }
.product-link { color: var(--wood); font-weight: 600; font-size: .9rem; }

/* ---------- Category cards ---------- */
.category-card {
    display: block; height: 100%; color: var(--ink); background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.thumb-tag {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    background: rgba(46,30,18,.78); color: #e6d3b8; font-size: .68rem; font-weight: 600;
    letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
}
.category-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.category-card:hover .category-thumb img { transform: scale(1.07); }
.category-body { padding: 20px 22px 24px; }
.category-count {
    display: inline-block; background: var(--wood); color: #fff;
    font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
}
.category-body h5 { margin-bottom: .35rem; font-family: 'Poppins', system-ui, sans-serif; font-size: 1.4rem; }
.category-body p { font-size: .9rem; margin-bottom: .7rem; }

/* ---------- Category quick-filter chips ---------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chip {
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    border-radius: 40px; padding: 8px 16px; font-size: .9rem; font-weight: 500; transition: .2s;
}
.cat-chip span { color: var(--muted); font-size: .8rem; margin-left: 4px; }
.cat-chip:hover { border-color: var(--gold); color: var(--wood); }
.cat-chip.active { background: var(--wood); border-color: var(--wood); color: #fff; }
.cat-chip.active span { color: #e6d3b8; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: var(--bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(46,30,18,.92));
    color: #fff; font-size: .82rem; font-weight: 500; padding: 24px 14px 10px;
    opacity: 0; transform: translateY(8px); transition: .3s;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item.g-0 { grid-row: span 2; }
.gallery-item.g-5 { grid-column: span 2; }
@media (max-width: 767px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-item.g-5 { grid-column: span 2; }
    .gallery-item.g-0 { grid-row: span 1; }
}

/* ---------- Page banner ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--wood-darker), var(--wood));
    color: #fff; padding: 66px 0; text-align: center;
}
.page-banner .eyebrow { color: var(--gold); }
.page-banner h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.page-banner p { color: #e6d3b8; margin: 0 auto; max-width: 640px; }

/* ---------- Feature list on category pages ---------- */
.check-list { list-style: none; padding: 0; margin: 1rem 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .7rem; color: var(--muted); }
.check-list li::before {
    content: '\2713'; position: absolute; left: 0; top: 0; color: var(--wood-darker);
    background: var(--gold); width: 20px; height: 20px; border-radius: 50%;
    font-size: .7rem; display: grid; place-items: center; font-weight: 700;
}
.lead-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-text p { font-size: 1.06rem; margin-bottom: 1rem; }

/* ---------- Video cards ---------- */
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
/* Fixed frame + object-fit:contain keeps the layout stable whether the clip is
   portrait or landscape (phone videos are often portrait). */
.video-card video {
    width: 100%; height: 380px; display: block;
    object-fit: contain; background: #111;
}
@media (max-width: 575px) { .video-card video { height: 300px; } }
.video-cap { margin: 0; padding: 14px 18px; font-weight: 600; color: var(--ink); font-size: .95rem; }

/* ---------- Product search / detail ---------- */
.product-search { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.results-note { color: var(--muted); }
.empty-state { border: 2px dashed var(--line); border-radius: var(--radius); }
.crumb { font-size: .85rem; color: var(--muted); }
.crumb a { color: var(--wood); }
.detail-img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.detail-title { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: .5rem 0 .2rem; }
.detail-code { color: var(--muted); font-size: .9rem; margin-bottom: .4rem; }
.detail-lead { font-size: 1.05rem; }

/* ---------- Cards / chips ---------- */
.audience-chip {
    background: #fff; border: 1px solid var(--line); border-radius: 40px;
    padding: 16px; text-align: center; font-weight: 600; color: var(--wood); box-shadow: var(--shadow);
}
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; box-shadow: var(--shadow); }
.value-card .value-ico { font-size: 2rem; }
.value-card h5 { margin: .6rem 0 .4rem; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin-top: 1.4rem; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 1.1rem; }
.contact-list li span { font-size: 1.3rem; }
.contact-list a { overflow-wrap: anywhere; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.enquiry-form .form-label { font-weight: 500; font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--wood-darker); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.cta-band p { color: #e6d3b8; max-width: 620px; margin: .6rem auto 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wood-darker); color: #cbb79c; padding: 60px 0 0; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.5rem; font-family: 'Poppins', system-ui, sans-serif; display: inline-flex; align-items: center; gap: .4rem; }
.footer-brand span { color: var(--gold); }
.footer-muted { color: #a2917a; font-size: .9rem; }
.footer-head { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; text-transform: uppercase; }
.footer-links a { color: #cbb79c; font-size: .9rem; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    margin-top: 44px;
    background: linear-gradient(90deg, var(--wood-darker), var(--wood), var(--gold-dark));
    color: #fff; padding: 15px 0; font-size: .9rem;
}

/* ---------- Floating WhatsApp ---------- */
.float-contacts { position: fixed; bottom: 24px; right: 24px; z-index: 1050; display: flex; flex-direction: column; gap: 14px; }
.chat-float {
    width: 56px; height: 56px; border-radius: 50%; border: none; color: #fff;
    font-size: 1.6rem; display: grid; place-items: center; cursor: pointer; transition: transform .2s;
}
.chat-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float { background: #7a4e2d; box-shadow: 0 10px 24px -6px rgba(37,211,102,.6); }

@media (max-width: 991px) {
    body { padding-top: 70px; }
    .site-nav { top: 0; }
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    .lead-img { height: 300px; }
}
