/* ==========================================================================
   Wovena Living — Toko Furniture & Interior
   Style: "Wovena Living" (Marketplace Mega-Menu & Rekomendasi archetype)
   Palette: "Warm Oak & Sage" — walnut brown (kehangatan kayu) + sage green
   (ketenangan rumah) + mustard gold (aksen hangat) di atas krem lembut.
   ========================================================================== */

:root {
  --primary: #6b4226;
  --primary-light: #8a5a37;
  --secondary: #7c9473;
  --secondary-light: #9db393;
  --accent: #d9a441;
  --accent-light: #e8c27a;
  --bg: #faf6f0;
  --surface: #ffffff;
  --border: #e7ddce;
  --text: #2c241d;
  --text-muted: #6c6154;
  --success: #4c8a5b;
  --warning: #c78a1f;
  --danger: #b3452f;
  --info: #3a7a8c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 20px rgba(107, 66, 38, 0.08);
  --shadow-lg: 0 18px 40px rgba(107, 66, 38, 0.16);
  --font-head: 'Bitter', Georgia, serif;
  --font-body: 'Inter', Arial, sans-serif;
}

:root[data-theme="dark"] {
  --primary: #d0996a;
  --primary-light: #e0b389;
  --secondary: #93ab88;
  --secondary-light: #aec3a3;
  --accent: #e8c27a;
  --accent-light: #f0d7a3;
  --bg: #171310;
  --surface: #201a15;
  --border: #362c22;
  --text: #f2ece3;
  --text-muted: #bfb3a3;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #d0996a;
    --primary-light: #e0b389;
    --secondary: #93ab88;
    --secondary-light: #aec3a3;
    --accent: #e8c27a;
    --accent-light: #f0d7a3;
    --bg: #171310;
    --surface: #201a15;
    --border: #362c22;
    --text: #f2ece3;
    --text-muted: #bfb3a3;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 68px 0; }
.section-tight { padding: 44px 0; }
.text-center { text-align: center; }
.eyebrow { display: inline-block; color: var(--secondary); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-desc { color: var(--text-muted); max-width: 640px; margin: 0 auto 36px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #2c241d; padding: 10px 16px; z-index: 2000; font-weight: 700; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---- Buttons (Rounded, warm) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; cursor: pointer;
  border: 2px solid transparent; font-size: 0.94rem; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  font-family: var(--font-body);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold { background: var(--accent); color: #2c241d; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-dark { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.84rem; }
.btn-block { width: 100%; }

/* ---- Topbar ---- */
.topbar { background: var(--primary); color: #f4e9dc; font-size: 0.8rem; padding: 6px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #f4e9dc; }
.topbar-links { display: flex; gap: 16px; }

/* ---- Navbar + permanent search ---- */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: var(--surface); border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.navbar.is-scrolled { box-shadow: var(--shadow); }
.navbar-inner { display: flex; align-items: center; gap: 18px; padding: 14px 20px; max-width: 1240px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.14rem; color: var(--primary); flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--primary); color: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.nav-search { flex: 1; display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); overflow: hidden; max-width: 620px; }
.nav-search select, .nav-search input { border: none; background: transparent; padding: 11px 14px; font-family: var(--font-body); font-size: 0.87rem; color: var(--text); }
.nav-search select { border-right: 1px solid var(--border); max-width: 130px; }
.nav-search input { flex: 1; min-width: 80px; }
.nav-search button { border: none; background: var(--primary); color: #fff; padding: 0 20px; cursor: pointer; font-size: 1rem; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-toggle { background: var(--bg); border: 1px solid var(--border); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1rem; }
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--primary); }

/* ---- Mega menu ---- */
.mega-nav { border-bottom: 1px solid var(--border); background: var(--surface); }
.mega-nav-inner { display: flex; gap: 4px; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.mega-nav-item { position: relative; }
.mega-nav-link { display: flex; align-items: center; gap: 6px; padding: 12px 16px; font-weight: 700; font-size: 0.9rem; color: var(--text); }
.mega-nav-link:hover, .mega-nav-item.open .mega-nav-link { color: var(--primary); background: var(--bg); }
.mega-panel {
  position: absolute; top: 100%; left: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; display: grid;
  grid-template-columns: repeat(5, 1fr); gap: 22px; width: min(880px, 90vw);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.18s ease; z-index: 800;
}
.mega-nav-item:hover .mega-panel, .mega-nav-item.open .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--secondary); margin-bottom: 10px; }
.mega-col a { display: block; padding: 5px 0; font-size: 0.88rem; color: var(--text); }
.mega-col a:hover { color: var(--primary); font-weight: 600; }

@media (max-width: 1080px) {
  .nav-search { display: none; }
  .mega-nav { display: none; }
}
@media (max-width: 960px) {
  .navbar-inner { flex-wrap: wrap; }
  .hamburger { display: block; }
}

/* ---- Mobile menu (collapsed) ---- */
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .mobile-menu {
    display: block; position: fixed; inset: 0 0 0 auto; width: min(320px, 88vw); height: 100vh;
    background: var(--surface); transform: translateX(100%); transition: transform 0.28s ease;
    overflow-y: auto; z-index: 950; box-shadow: var(--shadow-lg); padding: 90px 20px 20px;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); font-weight: 600; }
}

/* ---- Hero ---- */
.hero { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 60px 0; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.2; }
.hero-lead { color: #f1e5d6; max-width: 520px; font-size: 1.03rem; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 26px; }
.hero-badge { background: rgba(255,255,255,0.12); border: 1px solid rgba(217,164,65,0.5); padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.15); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 26px; }
.hero-stat b { display: block; font-size: 1.7rem; font-family: var(--font-head); color: var(--accent-light); }
.hero-stat span { color: #ead9c4; font-size: 0.83rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; padding: 36px 0; } .hero-stats { grid-template-columns: repeat(2,1fr); } }

/* ---- Badge row ---- */
.badge-row { background: var(--surface); border-bottom: 1px solid var(--border); padding: 22px 0; }
.badge-track { display: flex; gap: 32px; overflow-x: auto; align-items: center; scrollbar-width: none; }
.badge-track::-webkit-scrollbar { display: none; }
.badge-item { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text-muted); font-weight: 700; font-size: 0.84rem; white-space: nowrap; }
.badge-item i { color: var(--secondary); font-size: 1.2rem; }

/* ---- Horizontal scroll rows (rekomendasi) ---- */
.hscroll-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hscroll-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
.hscroll-row::-webkit-scrollbar { height: 8px; }
.hscroll-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
.hscroll-row .product-card { min-width: 250px; scroll-snap-align: start; }

/* ---- Product card ---- */
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; }
.pill-badge { background: var(--accent); color: #2c241d; font-size: 0.68rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.pill-badge.secondary { background: var(--secondary); color: #fff; }
.pill-badge.danger { background: var(--danger); color: #fff; }
.product-body { padding: 16px 18px 18px; }
.product-cat { font-size: 0.72rem; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.product-title { font-size: 1.02rem; margin: 4px 0 6px; }
.product-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.product-meta span { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; }
.product-colors { display: flex; gap: 6px; margin-bottom: 10px; }
.color-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); }
.product-price { font-weight: 800; color: var(--primary); font-size: 1.08rem; }
.product-price small { color: var(--text-muted); font-weight: 400; font-size: 0.78rem; text-decoration: line-through; margin-left: 6px; }

/* ---- Catalog layout: sticky facet sidebar + grid ---- */
.catalog-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.facet-sidebar { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.facet-group { margin-bottom: 22px; }
.facet-group:last-child { margin-bottom: 0; }
.facet-group h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text); margin-bottom: 10px; }
.facet-check { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 0.88rem; cursor: pointer; }
.facet-check input { accent-color: var(--primary); }
.facet-color-row { display: flex; gap: 8px; flex-wrap: wrap; }
.facet-color-row button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; }
.facet-color-row button.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--accent-light); }
.catalog-toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.search-box { flex: 1; min-width: 220px; position: relative; }
.search-box input { width: 100%; padding: 12px 16px 12px 42px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 0.95rem; }
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--surface); border: 1px solid var(--border); padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1080px) { .catalog-layout { grid-template-columns: 1fr; } .facet-sidebar { position: static; } }
@media (max-width: 780px) { .catalog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .catalog-grid { grid-template-columns: 1fr; } }
.no-result { text-align: center; padding: 40px 20px; color: var(--text-muted); display: none; }
.no-result.show { display: block; }

/* ---- Cards generic ---- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2, .grid-5 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-body { padding: 20px; }
.card-tag { display: inline-block; background: var(--bg); color: var(--primary); font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---- Room category grid ---- */
.room-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.room-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.room-card:hover img { transform: scale(1.06); }
.room-card-label { position: absolute; inset: auto 0 0 0; background: linear-gradient(0deg, rgba(44,36,29,0.85), transparent); color: #fff; padding: 18px 16px 14px; font-weight: 700; font-family: var(--font-head); }

/* ---- Room Fit Calculator (fitur khas) ---- */
.calc-band { background: linear-gradient(120deg, var(--primary), var(--primary-light)); border-radius: var(--radius); color: #fff; padding: 44px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .calc-band { grid-template-columns: 1fr; padding: 28px; } }
.calc-form .form-control { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: #fff; }
.calc-form label { color: #f4e9dc; }
.calc-form select.form-control option { color: #2c241d; }
.calc-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-style-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 6px; }
.calc-style-btn { border: 2px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); color: #fff; border-radius: var(--radius-sm); padding: 10px; font-weight: 700; cursor: pointer; font-size: 0.85rem; }
.calc-style-btn.selected { border-color: var(--accent-light); background: rgba(217,164,65,0.25); }
.calc-result { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 22px; }
.calc-result-empty { color: #ead9c4; font-size: 0.92rem; }
.calc-area-badge { display: inline-flex; gap: 8px; align-items: center; background: rgba(217,164,65,0.2); border: 1px solid var(--accent-light); padding: 8px 14px; border-radius: 999px; font-weight: 700; margin-bottom: 14px; }
.calc-set-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.calc-set-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.calc-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 2px solid rgba(255,255,255,0.25); font-weight: 800; font-size: 1.1rem; }

/* ---- Stat band ---- */
.stat-band { background: var(--secondary); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-grid b { font-size: 2rem; font-family: var(--font-head); display: block; color: #fff; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: repeat(2,1fr); } }

/* ---- FAQ Accordion ---- */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--surface); }
.accordion-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; font-weight: 700; }
.accordion-head i { transition: transform 0.25s ease; color: var(--primary); }
.accordion-item.open .accordion-head i { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted); }
.accordion-body-inner { padding: 0 20px 18px; }
.accordion-item.open .accordion-body { max-height: 400px; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; }
.gallery-grid img { transition: transform 0.3s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }

/* ---- Testimonials ---- */
.testi-single { max-width: 720px; margin: 0 auto; text-align: center; }
.testi-stars { color: var(--warning); margin-bottom: 14px; font-size: 1.1rem; }
.testi-quote { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.5; }
.testi-who { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.testi-who img { width: 48px; height: 48px; border-radius: 50%; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; }
.testi-dots button.active { background: var(--primary); width: 22px; border-radius: 6px; }

/* ---- Forms ---- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; }
.form-control { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); font-family: var(--font-body); font-size: 0.95rem; }
.form-control:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

/* ---- Breadcrumb / page header ---- */
.page-header { background: linear-gradient(120deg, var(--primary), var(--primary-light)); color: #fff; padding: 54px 0 44px; }
.breadcrumb { font-size: 0.85rem; color: #ead9c4; margin-bottom: 10px; }
.breadcrumb a { color: #fff; font-weight: 600; }

/* ---- Detail split (produk-detail) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.detail-gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg); margin-bottom: 12px; }
.detail-gallery-thumbs { display: flex; gap: 10px; }
.detail-gallery-thumbs button { border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; width: 70px; height: 70px; padding: 0; cursor: pointer; background: none; }
.detail-gallery-thumbs button.active { border-color: var(--primary); }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.spec-table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.spec-table td:first-child { color: var(--text-muted); width: 42%; }
.color-swatch-row { display: flex; gap: 10px; margin: 10px 0 20px; }
.color-swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--border); cursor: pointer; }
.color-swatch.active { box-shadow: 0 0 0 2px var(--primary); }

/* ---- Footer ---- */
footer { background: var(--primary); color: #f0e4d5; padding: 56px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h5 { color: #fff; font-family: var(--font-head); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 36px; padding-top: 18px; text-align: center; font-size: 0.82rem; color: #d9c7ae; }
.social-icons { display: flex; gap: 10px; margin-top: 14px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Floating elements ---- */
.float-wa { position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: var(--shadow-lg); z-index: 500; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5);} 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
.back-to-top { position: fixed; bottom: 24px; right: 92px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 500; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; cursor: pointer; border: none; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

/* ---- Modal ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(28,20,12,0.6); display: flex; align-items: center; justify-content: center; z-index: 1200; opacity: 0; visibility: hidden; transition: all 0.2s ease; padding: 20px; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box { background: var(--surface); border-radius: var(--radius); max-width: 640px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 30px; transform: translateY(20px); transition: transform 0.25s ease; position: relative; }
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--bg); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.modal-box img { border-radius: var(--radius-sm); margin-bottom: 16px; }

/* ---- Toast ---- */
.toast-wrap { position: fixed; top: 20px; right: 20px; z-index: 1500; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--surface); border-left: 4px solid var(--success); box-shadow: var(--shadow-lg); border-radius: var(--radius-sm); padding: 14px 18px; min-width: 260px; max-width: 340px; display: flex; gap: 10px; align-items: flex-start; transform: translateX(120%); transition: transform 0.3s ease; }
.toast.show { transform: translateX(0); }
.toast i { color: var(--success); margin-top: 2px; }
.toast.error { border-left-color: var(--danger); }
.toast.error i { color: var(--danger); }

/* ---- Skeleton loading ---- */
.skeleton { background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0;} 100% { background-position: -200% 0;} }
.skeleton-card { height: 320px; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-accent { color: var(--primary); }
.bg-surface { background: var(--surface); }
.border-top { border-top: 1px solid var(--border); }
.tag-pill { display: inline-block; background: var(--bg); border: 1px solid var(--border); padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; margin: 2px 4px 2px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
