/* ============================================================
   SERAI HOME — furniture & lighting export site
   Clean B2B trade-site style: warm neutrals, brass accent
   ============================================================ */

:root {
  --ink: #21201d;
  --ink-soft: #57534c;
  --paper: #faf8f4;
  --card: #ffffff;
  --line: #e7e2d8;
  --line-dark: #d8d1c4;
  --accent: #a67c45;
  --accent-dark: #8a6638;
  --accent-soft: #efe6d8;
  --wa: #25d366;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(33, 32, 29, 0.08);
  --shadow-lg: 0 18px 45px rgba(33, 32, 29, 0.14);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb857; color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { display: block; width: 100%; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink); color: #cfc9bd; font-size: 13px; }
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #e8e2d6; }
.topbar .dot { margin: 0 8px; color: #6f6a60; }
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 74px; gap: 24px;
}
.brand {
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand.light { color: #fff; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: var(--ink-soft); font-size: 14.5px; font-weight: 500;
  padding: 6px 0; position: relative;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark);
  border-radius: 8px; width: 42px; height: 42px; font-size: 18px;
  cursor: pointer; color: var(--ink);
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(20,19,17,0.82) 0%, rgba(20,19,17,0.55) 45%, rgba(20,19,17,0.15) 100%);
}
.hero-content { position: relative; color: #fff; max-width: 640px; padding: 80px 24px; }
.eyebrow {
  font-family: var(--sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 14px;
}
.hero .eyebrow { color: #d9b98a; }
.hero-title { font-size: 52px; color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: 17px; color: #e7e0d4; margin-bottom: 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- stats ---------- */
.stats-band { background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 26px 0;
}
.stat { text-align: center; }
.stat b {
  display: block; font-family: var(--serif); font-size: 34px; font-weight: 600;
  color: var(--ink); line-height: 1.1;
}
.stat span { font-size: 13px; color: var(--ink-soft); }

/* ---------- generic sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 44px; }
.section-head.split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
}
.section-title { font-size: 36px; margin: 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); transition: all 0.25s ease; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px; color: var(--accent-dark);
}
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- product grid / cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all 0.25s ease;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f1ede4; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.card-name { font-family: var(--serif); font-size: 20px; margin: 0 0 8px; }
.card-name a { color: var(--ink); }
.card-name a:hover { color: var(--accent-dark); text-decoration: none; }
.card-short { font-size: 13.5px; color: var(--ink-soft); flex: 1; margin-bottom: 14px; }
.price { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.price strong { color: var(--ink); }
.card-actions { display: flex; gap: 10px; }
.card-actions .btn { flex: 1; padding: 10px 14px; font-size: 13px; }
.product-card.hide { display: none; }

/* ---------- page hero ---------- */
.page-hero {
  background: linear-gradient(160deg, #efe6d8 0%, #faf8f4 60%);
  border-bottom: 1px solid var(--line); padding: 72px 0 60px;
}
.page-title { font-size: 46px; margin: 0 0 14px; }
.page-sub { font-size: 16.5px; color: var(--ink-soft); max-width: 620px; margin: 0; }
.page-hero-narrow { padding: 56px 0 40px; }
.crumb { color: var(--ink-soft); }

/* ---------- filter chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip {
  border: 1px solid var(--line-dark); background: var(--card); color: var(--ink-soft);
  border-radius: 999px; padding: 8px 18px; font-family: var(--sans); font-size: 13.5px;
  font-weight: 500; cursor: pointer; transition: all 0.2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-count { opacity: 0.6; margin-left: 4px; font-size: 12px; }
.result-count { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 26px; }

/* ---------- product detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: start; }
.gallery-main {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; margin-bottom: 14px;
}
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-thumbs button {
  border: 1px solid var(--line); border-radius: 8px; padding: 0; overflow: hidden;
  cursor: pointer; background: #fff; aspect-ratio: 4 / 3;
}
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: all 0.2s ease; }
.gallery-thumbs button:hover img { opacity: 1; }
.gallery-thumbs button.active { border-color: var(--accent); }
.gallery-thumbs button.active img { opacity: 1; }
.detail-name { font-size: 34px; margin-bottom: 12px; }
.detail-short { font-size: 16px; color: var(--ink-soft); }
.price-block {
  background: var(--accent-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin: 22px 0;
  font-size: 15px;
}
.price-block strong { font-family: var(--serif); font-size: 22px; color: var(--accent-dark); }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-table td:first-child { color: var(--ink-soft); width: 34%; font-weight: 600; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.detail-note { font-size: 13px; color: var(--ink-soft); }
.detail-desc { max-width: 820px; }
.detail-desc-text { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; position: relative;
}
.process-step .num {
  font-family: var(--serif); font-size: 30px; color: var(--accent);
  display: block; margin-bottom: 12px;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 64px 24px; flex-wrap: wrap; }
.cta-title { font-size: 32px; color: #fff; margin-bottom: 8px; }
.cta-text { color: #cfc9bd; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center; }
.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 9px 0 9px 30px; position: relative; border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  color: var(--accent); font-weight: 700;
}
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cap-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
}
.cap-card h3 { font-size: 20px; }
.cap-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.inquiry-form {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 34px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.form-field input, .form-field textarea {
  width: 100%; border: 1px solid var(--line-dark); border-radius: 8px;
  padding: 12px 14px; font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  background: #fff; transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(166,124,69,0.15);
}
.form-done { background: #e8f5ec; border: 1px solid #bfe3cb; border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer { background: #191817; color: #b9b3a6; font-size: 14.5px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding: 64px 24px 48px;
}
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #cfc9bd; }
.footer-col a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #2b2a27; }
.footer-bottom .container { padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #7d786e; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .features-grid, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 38px; }
  .page-title { font-size: 34px; }
  .section-title { font-size: 28px; }
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--card); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 24px; border-top: 1px solid var(--line); }
  .topbar-contact .dot, .topbar-contact a:first-child { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .cta-inner { padding: 48px 24px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 460px) {
  .products-grid { grid-template-columns: 1fr; }
}
