/* =========================================================
   Nội Thất Đức Ngọc – Design system
   Tông: ngà (ivory) · đỏ đô (burgundy) · vàng đồng (gold) · nâu óc chó
   ========================================================= */
:root {
  --ivory: #fbf7ef;
  --cream: #f3ebdc;
  --sand: #e7dac3;
  --line: #e2d4bb;
  --ink: #221812;
  --walnut: #3d2b20;
  --muted: #6f5f52;
  --burgundy: #7b1e2b;
  --burgundy-d: #5a1420;
  --gold: #b48a45;
  --gold-l: #d8b876;
  --gold-grad: linear-gradient(135deg, #e4c98f 0%, #b48a45 45%, #8e6a2f 100%);
  --dark: #1b130e;

  --ff-head: 'Playfair Display', 'Times New Roman', serif;
  --ff-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 6px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(61, 43, 32, .25);
  --shadow-lg: 0 30px 60px -25px rgba(61, 43, 32, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-body); font-size: 16px; line-height: 1.65;
  color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--walnut); }
p { margin: 0 0 1em; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Ornament & headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.sec { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 14px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.orn { display: block; width: 120px; height: 14px; margin: 18px auto 0; color: var(--gold); stroke: currentColor; fill: none; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec.alt { background: var(--cream); }
.sec.dark { background: var(--dark); color: #eadfcd; }
.sec.dark h2, .sec.dark h3 { color: #f6ecd9; }
.sec.dark .sec-head p { color: #bfae96; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--burgundy); color: #fff8ec; box-shadow: 0 12px 26px -10px rgba(123, 30, 43, .7); }
.btn-primary:hover { background: var(--burgundy-d); box-shadow: 0 18px 34px -12px rgba(123, 30, 43, .8); }
.btn-gold { background: var(--gold-grad); color: #2a1c10; box-shadow: 0 12px 26px -12px rgba(180, 138, 69, .9); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-line { border-color: var(--walnut); color: var(--walnut); }
.btn-line:hover { background: var(--walnut); color: var(--ivory); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn svg.i { transition: transform .35s var(--ease); }
.btn:hover svg.i.arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; transition: background .4s, box-shadow .4s, height .4s;
}
.header.scrolled { background: rgba(251, 247, 239, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); --header-h: 66px; height: 66px; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; transition: color .4s; }
.header.scrolled .brand { color: var(--walnut); }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--gold-l); object-fit: cover; }
.brand b { display: block; font-family: var(--ff-head); font-size: 1.22rem; letter-spacing: .02em; line-height: 1.1; }
.brand small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 12px; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .9); transition: color .3s;
}
.header.scrolled .nav a { color: var(--walnut); }
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; color: #fff8ec; }
.header.scrolled .nav .btn { color: #fff8ec; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after {
  content: ''; position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s, opacity .35s, background .3s;
}
.header.scrolled .burger span, .header.scrolled .burger::before, .header.scrolled .burger::after { background: var(--walnut); }
.burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(27, 19, 14, .92) 0%, rgba(27, 19, 14, .72) 38%, rgba(27, 19, 14, .15) 75%),
    linear-gradient(0deg, rgba(27, 19, 14, .6) 0%, transparent 35%);
}
.hero-inner { padding: calc(var(--header-h) + 40px) 0 90px; max-width: 660px; }
.hero .eyebrow { color: var(--gold-l); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.2rem); margin: 18px 0 20px; font-weight: 600; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255, 248, 236, .86); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 26px; border-top: 1px solid rgba(216, 184, 118, .3); }
.hero-meta div { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255, 248, 236, .9); }
.hero-meta svg.i { color: var(--gold-l); width: 1.3em; height: 1.3em; }
.img-note {
  position: absolute; right: 16px; bottom: 14px; font-size: .68rem; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .42); color: rgba(255, 255, 255, .85); backdrop-filter: blur(4px); z-index: 2; pointer-events: none;
}
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--gold-l); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Trust bar ---------- */
.trust { background: var(--walnut); color: #f1e6d3; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-right: 1px solid rgba(216, 184, 118, .16); }
.trust-item:last-child { border-right: 0; }
.trust-item svg.i { width: 34px; height: 34px; color: var(--gold-l); stroke-width: 1.3; }
.trust-item b { display: block; font-family: var(--ff-head); font-size: 1.05rem; color: #fff6e6; font-weight: 600; }
.trust-item span { font-size: .84rem; color: #c8b8a0; }

/* ---------- Two lines (Tân cổ điển / MDF) ---------- */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.line-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; box-shadow: var(--shadow-lg);
}
.line-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.line-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(27, 19, 14, .95) 0%, rgba(27, 19, 14, .7) 50%, rgba(27, 19, 14, .15) 85%); }
.line-card:hover > img { transform: scale(1.06); }
.line-body { padding: 40px; }
.line-tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); background: rgba(27, 19, 14, .55); backdrop-filter: blur(6px); border: 1px solid rgba(216, 184, 118, .5); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.line-card h3 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.line-card p { color: rgba(255, 248, 236, .82); max-width: 460px; }
.line-list { list-style: none; padding: 0; margin: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.line-list li { font-size: .84rem; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(4px); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.p-card {
  background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-l); }
.p-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.07); }
.p-badge { position: absolute; left: 14px; top: 14px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(251, 247, 239, .94); color: var(--burgundy); }
.p-badge.mdf { color: #2f5a52; }
.p-note { position: absolute; right: 10px; bottom: 10px; font-size: .64rem; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; }
.p-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.p-body h3 { font-size: 1.32rem; margin-bottom: 8px; }
.p-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.p-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--burgundy); margin-top: 6px; }
.p-link svg.i { transition: transform .35s var(--ease); }
.p-link:hover svg.i { transform: translateX(5px); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: .9rem; font-weight: 500; color: var(--walnut); transition: all .3s;
}
.filter:hover { border-color: var(--gold); }
.filter.active { background: var(--walnut); border-color: var(--walnut); color: var(--ivory); }
.f-count { display: inline-block; min-width: 1.6em; margin-left: 4px; padding: 1px 6px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: var(--sand); color: var(--muted); }
.f-count:empty { display: none; }
.filter.active .f-count { background: rgba(255, 255, 255, .16); color: var(--gold-l); }
.gallery-more { display: flex; justify-content: center; margin-top: 26px; }
.gallery-more .btn[hidden] { display: none; }
.btn-ghost-dark { border-color: var(--walnut); color: var(--walnut); background: transparent; }
.btn-ghost-dark:hover { background: var(--walnut); color: var(--ivory); }
.gallery { columns: 4 240px; column-gap: 18px; }
.g-item {
  break-inside: avoid; margin: 0 0 18px; position: relative; border-radius: var(--r); overflow: hidden; cursor: zoom-in;
  background: var(--sand); animation: gIn .6s var(--ease) both; outline-offset: 3px;
}
@keyframes gIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.g-item img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s; }
.g-item:hover img { transform: scale(1.05); filter: brightness(.85); }
.g-cap {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff;
  background: linear-gradient(0deg, rgba(27, 19, 14, .85), transparent); transform: translateY(8px); opacity: .0; transition: all .45s var(--ease);
}
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-cap b { display: block; font-family: var(--ff-head); font-size: 1.02rem; font-weight: 600; }
.g-cap span { font-size: .78rem; color: var(--gold-l); letter-spacing: .08em; text-transform: uppercase; }
.g-tag { position: absolute; top: 10px; left: 10px; font-size: .64rem; padding: 3px 9px; border-radius: 999px; background: rgba(251, 247, 239, .92); color: var(--walnut); font-weight: 600; }
.gallery-foot { text-align: center; margin-top: 30px; color: var(--muted); }
.gallery-foot a { color: var(--burgundy); font-weight: 600; border-bottom: 1px solid currentColor; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 10, 7, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; animation: fade .3s; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 78vh; max-width: min(92vw, 1100px); width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: #e9dcc6; margin-top: 14px; font-size: .95rem; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 16px; top: 50%; translate: 0 -50%; } .lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- Workshop / about ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.about-media .main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .float {
  position: absolute; right: -26px; bottom: -30px; width: 46%; border-radius: var(--r); overflow: hidden;
  border: 6px solid var(--ivory); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3;
}
.about-media .float img { width: 100%; height: 100%; object-fit: cover; }
.about-media::before { content: ''; position: absolute; left: -18px; top: -18px; width: 120px; height: 120px; border-left: 2px solid var(--gold); border-top: 2px solid var(--gold); border-radius: 6px 0 0 0; }
.about-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top: 14px; }
.about-body > p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.stat { padding: 20px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-family: var(--ff-head); font-size: 1.9rem; line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--muted); }
.addr { display: grid; gap: 12px; margin-bottom: 28px; }
.addr div { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.addr svg.i { color: var(--burgundy); margin-top: 4px; }
.addr b { color: var(--walnut); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step {
  position: relative; padding: 34px 28px 30px; border-radius: var(--r); border: 1px solid rgba(216, 184, 118, .2);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)); transition: border-color .4s, transform .4s var(--ease), background .4s;
}
.step:hover { border-color: rgba(216, 184, 118, .6); transform: translateY(-4px); background: linear-gradient(160deg, rgba(216, 184, 118, .1), rgba(255, 255, 255, .01)); }
.step::before {
  counter-increment: s; content: '0' counter(s); font-family: var(--ff-head); font-size: 2.6rem; font-weight: 600; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 16px;
}
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: #bfae96; margin: 0; }

/* ---------- Materials ---------- */
.materials { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 26px; align-items: stretch; }
.mat-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px 30px; }
.mat-col h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.mat-col h3 .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--burgundy); box-shadow: 0 0 0 4px rgba(123, 30, 43, .12); }
.mat-col.mdf h3 .dot { background: #2f5a52; box-shadow: 0 0 0 4px rgba(47, 90, 82, .14); }
.mat-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.mat-col li { display: flex; gap: 12px; font-size: .94rem; color: var(--muted); }
.mat-col li b { color: var(--walnut); display: block; font-weight: 600; }
.mat-col li svg.i { color: var(--gold); margin-top: 4px; }
.mat-photo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 320px; margin: 0; }
.mat-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mat-photo figcaption { position: absolute; inset: auto 0 0; padding: 40px 20px 18px; color: #fff; font-size: .9rem; background: linear-gradient(0deg, rgba(27, 19, 14, .85), transparent); }

/* ---------- Area + recent orders ---------- */
.area { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.chip { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; }
.chip.main { background: var(--burgundy); color: #fff8ec; border-color: var(--burgundy); }
.chip svg.i { color: var(--gold); }
.chip.main svg.i { color: var(--gold-l); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; box-shadow: var(--shadow); background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: sepia(.18) saturate(.9); }
.orders { display: grid; gap: 12px; }
.order { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; }
.order svg.i { color: var(--burgundy); margin-top: 4px; }
.order b { display: block; color: var(--walnut); font-size: .96rem; }
.order span { font-size: .86rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--gold-l); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--walnut); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--ff-head); font-size: 1.6rem; color: var(--gold); line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contact / form ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; inset: 0; background: url('../images/cat/sofa.jpg') center/cover; opacity: .14; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top: 14px; }
.contact-info > p { color: #cdbda4; }
.c-list { display: grid; gap: 14px; margin: 30px 0; }
.c-item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r); border: 1px solid rgba(216, 184, 118, .22); background: rgba(255, 255, 255, .04); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.c-item:hover { border-color: var(--gold-l); background: rgba(216, 184, 118, .08); transform: translateX(4px); }
.c-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #2a1c10; flex: none; }
.c-item small { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #a8977f; }
.c-item b { color: #fff6e6; font-weight: 600; }
.form { background: var(--ivory); color: var(--ink); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 42px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); position: relative; }
.form::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line); border-radius: calc(var(--r-lg) - 6px); pointer-events: none; }
.form h3, .sec.dark .form h3 { font-size: 1.6rem; margin-bottom: 4px; color: var(--walnut); }
.form > p { color: var(--muted); font-size: .92rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { display: grid; gap: 6px; margin-bottom: 16px; position: relative; }
.f-field label, .f-legend { font-size: .82rem; font-weight: 600; color: var(--walnut); letter-spacing: .02em; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line); background: #fff; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.f-field textarea { resize: vertical; min-height: 96px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(180, 138, 69, .15); }
.f-field input.invalid { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }
.f-group { border: 0; padding: 0; margin: 0 0 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; cursor: pointer; transition: all .25s; user-select: none; }
.pill input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: #fff8ec; }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.zalo-preview { margin: 4px 0 14px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; background: rgba(0, 104, 255, .04); }
.zp-label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #0068ff; margin-bottom: 6px; }
.zalo-preview pre { margin: 0; font: inherit; font-size: .86rem; line-height: 1.55; color: var(--walnut); white-space: pre-wrap; word-break: break-word; max-height: 9.5em; overflow: auto; }
.btn-zalo { background: #0068ff; color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 104, 255, .65); }
.btn-zalo:hover { background: #0052cc; box-shadow: 0 18px 34px -12px rgba(0, 104, 255, .75); }
.form .btn { width: 100%; margin-top: 4px; padding: 17px; }
.form-msg { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; }
.form-msg.ok { color: #2f6b3a; }
.form-msg.err { color: #b0322a; }
.form-msg a { font-weight: 600; text-decoration: underline; }
.form-note { font-size: .78rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #120c08; color: #a8977f; padding: 60px 0 100px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #f3e7d2; margin-bottom: 16px; }
.footer h4 { color: #f3e7d2; font-family: var(--ff-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-l); }
.footer-bottom { border-top: 1px solid rgba(216, 184, 118, .12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Floating contact ---------- */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 60; display: grid; gap: 12px; }
.fab a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); position: relative;
}
.fab a:hover { transform: scale(1.08); }
.fab .zalo { background: #0068ff; font-weight: 800; font-size: .8rem; letter-spacing: .02em; }
.fab .call { background: var(--burgundy); }
.fab .call::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--burgundy); animation: ring 2s infinite; }
.fab .mess { background: linear-gradient(135deg, #00b2ff, #a033ff); }
.fab svg.i { width: 24px; height: 24px; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.fab .tip { position: absolute; right: 66px; white-space: nowrap; background: var(--walnut); color: #fff; font-size: .8rem; padding: 6px 12px; border-radius: 8px; opacity: 0; transform: translateX(6px); transition: all .3s; pointer-events: none; }
.fab a:hover .tip { opacity: 1; transform: none; }

/* Mobile dock */
.dock { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav a { padding: 8px 8px; font-size: .86rem; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .materials { grid-template-columns: 1fr 1fr; }
  .mat-photo { grid-column: 1 / -1; min-height: 260px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--ivory); flex-direction: column; align-items: stretch;
    padding: 90px 24px 30px; gap: 4px; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 50px rgba(0, 0, 0, .2);
  }
  .nav.open { transform: none; }
  .nav a, .header.scrolled .nav a { color: var(--walnut); padding: 14px 6px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin: 18px 0 0; border-bottom: 0; }
  .burger { z-index: 2; }
  .nav.open ~ .burger span, .nav.open ~ .burger::before, .nav.open ~ .burger::after { background: var(--walnut); }
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(216, 184, 118, .16); }
  .lines, .about, .area, .contact-grid { grid-template-columns: 1fr; }
  .line-card { min-height: 480px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-media { margin-right: 20px; margin-bottom: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero::before { background: linear-gradient(180deg, rgba(27, 19, 14, .55) 0%, rgba(27, 19, 14, .78) 40%, rgba(27, 19, 14, .9) 100%); }
  .hero-inner { padding-bottom: 110px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .products, .materials, .steps { grid-template-columns: 1fr; }
  .line-body { padding: 28px 24px; }
  .trust-item { padding: 18px 12px; gap: 10px; }
  .trust-item svg.i { width: 28px; height: 28px; }
  .trust-item b { font-size: .95rem; }
  .trust-item span { font-size: .76rem; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 14px 6px; }
  .stat b { font-size: 1.45rem; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .g-cap { opacity: 1; transform: none; padding: 26px 9px 8px; }
  .g-cap b { font-family: var(--ff-body); font-size: .74rem; font-weight: 500; line-height: 1.35; }
  .g-cap span { display: none; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 24px; padding: 2px 20px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: 9px 15px; font-size: .86rem; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
  .fab { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    padding: 8px; border-radius: 18px; background: rgba(27, 19, 14, .92); backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .dock.show { transform: none; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 6px; border-radius: 12px; color: #fff; font-size: .88rem; font-weight: 600; }
  .dock .d-call { background: rgba(255, 255, 255, .1); }
  .dock .d-zalo { background: #0068ff; }
  .dock .d-form { background: var(--gold-grad); color: #2a1c10; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
